body {
  background-color: #ffffff;  /* Ya jo bhi background chahiye */
  margin: 0;
  padding: 0;
}

/* ✅ Reset */
a {
  text-decoration: none !important;
}

/* ✅ Top Info Navbar */
.top-info-navbar {
  background-color: #2DA06D;
  color: white;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
}

.top-info-navbar a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.top-info-navbar a:hover {
  text-decoration: underline;
}

.top-info-navbar .info-left i {
  font-size: 16px;
}

/* ✅ Top Navbar */
.top-navbar {
  background-color: #ffffff;
  padding: 16px 32px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* flex-wrap: wrap; */
}

.logo-img {
  height: 40px;
  width:auto;
  object-fit: contain;
}

.top-right-group {
  display: flex;
  align-items: center;
  gap: 48px;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.top-nav-links a {
  color: #2E3A43;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s ease;
}

.top-nav-links a:hover {
  color: #2DA06D;
}

/* ✅ Bottom Navbar */
.bottom-navbar {
  background-color: #F4F8F7;
  padding: 10px 24px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.bottom-nav-link {
  font-weight: 500;
  color: #333;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.bottom-nav-link:hover {
  background-color: #eaeaea;
  color: #000;
}

.dropdown-menu {
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 6px;
  margin-top: 8px;
}

.dropdown-item:hover {
  background-color: #f1f1f1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  margin-left: auto;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  /* Hide bottom navbar on mobile */
  #bottomMenu { display: none !important; }

  /* Center header contents on mobile */
  .top-navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .top-right-group {
    display: none; /* hidden by default, opened via menu toggle */
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 16px;
    margin-top: 10px;
    padding-left: 0;
    text-align: center;
  }
  .top-right-group.open { display: flex !important; }
  .search-form, .search-container { width: 100%; }
  .search-container { max-width: 600px; margin: 0 auto; }
  .top-nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly; /* equal spacing between login, wishlist, cart */
    gap: 0;
    width: 100%;
  }
  .bottom-navbar .d-flex {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
}

/* Landing Page */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 60px;
  background-color: #000; /* fallback */
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: background-image 1s ease-in-out;
  animation: fadeSlider 20s infinite;
}

.blur-bg {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0; /* remove padding */
  border-radius: 0;
  background-color: transparent !important;
  box-shadow: none;
  display: inline-block; /* so it only wraps the content size */
}

.hero-text {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  padding: 30px;
  isolation: isolate;
}

.hero-text::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  background-color: rgba(255, 255, 255, 0); /* fully transparent */
  box-shadow: none;
  border-radius: 8px;
  outline: none;
}

.hero-text .highlight {
  background-color: red;
  color: white;
  display: inline-block;
  padding: 6px 12px;
  font-weight: bold;
  margin-bottom: 10px;
  border-radius: 4px;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-btn {
  background-color: #2DA06D;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #218b5a;
}

/* ✅ Slider animation keyframes */
@keyframes fadeSlider {
  0%, 100% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  55% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    justify-content: center; /* ✅ Center horizontally */
    padding-left: 0;
    text-align: center;
  }

  .hero-text {
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    display: flex;             /* ✅ Make flex */
    flex-direction: column;    /* ✅ Vertical layout */
    height: 70%;              /* ✅ Fill full hero section */
  }

  .hero-text::before {
    border-radius: 8px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Category Section */
.category-highlights-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.category-highlights-section .row {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.category-highlights-section .row::-webkit-scrollbar {
  display: none;
}

.category-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 140px;
  padding: 10px;
  margin: 0 5px;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-image-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 3px solid #2DA06D;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: all 0.3s ease;
}

.category-card:hover .category-image-wrapper {
  border-color: #218b5a;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

.category-name {
  font-size: 14px;
  font-weight: 600;
  color: #2E3A43;
  white-space: nowrap;
  transition: color 0.3s ease;
  margin-top: 5px;
}

.category-card:hover .category-name {
  color: #2DA06D;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-image-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .category-name {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .category-image-wrapper {
    width: 80px;
    height: 80px;
    border-width: 2px;
  }
  
  .category-name {
    font-size: 12px;
  }
}

/* Features Section Styling */
.features-section {
  padding: 60px 0;
  background-color: #F4F8F7;
}

.features-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.features-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.features-section .col-md-4 {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
}

.feature-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px 25px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.feature-card p {
  color: #7f8c8d;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .features-section .col-md-4 {
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .features-section .row {
    gap: 20px;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
}

@media (max-width: 576px) {
  .features-section .col-md-4 {
    min-width: 100%;
    max-width: 100%;
  }
}

/* Featured Products Section */
.featured-products-section {
  padding: 60px 20px;
  background-color: #F4F8F7;
}

.featured-products-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 10px;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.featured-products-scroll::-webkit-scrollbar {
  display: none;
}

.product-info {
  position: absolute;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  padding: 12px;
  text-align: center;
}

.product-info h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.product-info .price {
  color: #2DA06D;
  font-weight: bold;
  margin: 6px 0;
}

/* Responsive */
@media (max-width: 576px) {
  .product-image-wrapper {
    height: 240px;
  }

  .product-info h5 {
    font-size: 14px;
  }

  .add-to-cart-btn {
    font-size: 13px;
    padding: 6px 16px;
  }
}

/* Latest Product */
.latest-products-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.product-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image-wrapper {
  height: 220px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-box {
  padding: 16px;
  text-align: center;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0;
}

.product-price {
  font-size: 15px;
  font-weight: bold;
  color: #2DA06D;
  margin-bottom: 10px;
}

.add-to-cart-btn {
  background-color: #2DA06D;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
}

.add-to-cart-btn:hover {
  background-color: #218b5a;
}

/* Top Deals */
.top-deals-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.deal-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background-color: #fff;
  transition: transform 0.2s;
}

.deal-card:hover {
  transform: translateY(-4px);
}

.deal-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.deal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #ff4d4f;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.deal-info {
  padding: 16px;
  text-align: center;
}

.deal-info h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.deal-info .price {
  margin-bottom: 12px;
}

.discounted {
  color: #2DA06D;
  font-weight: bold;
  font-size: 16px;
}

.original {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-left: 8px;
}

/* Best Sellers */
.best-sellers-section {
  padding: 60px 20px;
  background-color: #F4F8F7;
}

.best-sellers-section .product-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  background-color: #fff;
  transition: transform 0.3s;
}

.best-sellers-section .product-card:hover {
  transform: translateY(-6px);
}

.best-sellers-section .product-image-wrapper {
  height: 250px;
  overflow: hidden;
}

.best-sellers-section .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.best-sellers-section .product-card:hover .product-image {
  transform: scale(1.05);
}

.best-sellers-section .product-info {
  padding: 16px;
}

.best-sellers-section .product-info h5 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.best-sellers-section .product-info .price {
  color: #2DA06D;
  font-weight: bold;
  margin-bottom: 12px;
}

.best-sellers-section .add-to-cart-btn {
  background-color: #2DA06D;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
}

.best-sellers-section .add-to-cart-btn:hover {
  background-color: #218b5a;
}

.newsletter-section {
  background: linear-gradient(to right, #2DA06D, #218b5a);
  padding: 60px 0;
  color: #fff;
  border-radius: 10px;
  margin: 60px 60px;
}

.newsletter-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.newsletter-subtitle {
  font-size: 18px;
  margin-bottom: 25px;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 30px 0 0 30px;
  border: none;
  outline: none;
  font-size: 16px;
  min-width: 200px;
}

.subscribe-btn {
  background-color: #fff;
  color: #2DA06D;
  padding: 12px 24px;
  border-radius: 0 30px 30px 0;
  font-weight: 600;
  border: none;
  transition: background 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #f1f1f1;
}

.testimonial-section {
  padding: 60px 20px;
  background-color: #F4F8F7;
}

.testimonial-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-message {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid #2DA06D;
}

.testimonial-author h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.testimonial-author span {
  font-size: 14px;
  color: #777;
}

/* ✅ Top Brands Section */
.top-brands-section {
  background-color: #ffffff;
}

.brand-logo img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.brand-logo img:hover {
  filter: grayscale(0%);
}

/* Search Bar Styles */
.search-container {
  position: relative;
  max-width: 750px;
  margin: 0 15px;
  box-shadow: none; /* remove outer shadow box */
  background: transparent; /* no extra white box */
}

.search-box {
  display: flex;
  width: 100%;
  border: 2px solid #2DA06D;
  border-radius: 8px;
  height: 46px;
}

/* Override when using the modern search variant: keep only one green box */
.search-box.modern-search {
  border: 2px solid #c6e6cf; /* light green border */
  border-radius: 10px;
  padding: 10px 12px;
  height: auto; /* let content define height */
  background: #fff;
}

.search-input-container {
  position: relative;
  align-items: center;
}

.search-input {
  width: 100%;
  font-size: 14px;
  height: 100%;
}

.search-button {
  background: #2DA06D;
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  min-width: 50px;
}

.search-button:hover {
  background: #248c5d;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  margin-top: -1px;
}

.suggestion-item {
  padding: 10px 16px;
  display: block;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.no-suggestions {
  padding: 12px 16px;
  color: #6c757d;
  font-style: italic;
  text-align: center;
}

.suggestion-icon {
  color: #6c757d;
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 768px) {
    .search-box {
        height: 40px;
    }
    
    .search-button span {
        display: none;
    }
    
    .search-input {
        font-size: 14px;
    }
}

/* Today's Special Section Styling */
.diagonal-hero-section {
  position: relative;
  height: 500px;
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
}

.diagonal-container {
  display: flex;
  height: 100%;
  position: relative;
}

.offer-content {
  position: absolute;
  width: 30%;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.offer-image {
  width: 70%;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer-tag {
  background: #ff4757;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2f3542;
  line-height: 1.2;
}

.discount-badge {
  color: #2DA06D;
  padding: 8px 0;
  font-size: 4.5rem;
  font-weight: 700;
  display: inline-block;
}

.discount-off {
  color: #333;
}

.product-description {
  font-size: 1.8rem;
  color: #2f3542;
  font-weight: 700;
  margin-bottom: 10px;
}

.availability {
  font-size: 0.9rem;
  color: #2f3542;
  margin-bottom: 25px;
  line-height: 1.6;
}

.shop-now-btn {
  display: inline-block;
  background: #3742fa;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.shop-now-btn:hover {
  background: #5352ed;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(55, 66, 250, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .diagonal-hero-section {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  
  .diagonal-container {
    clip-path: none;
    background: #f8f9fa;
  }
  
  .offer-content {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    transform: none;
    padding: 40px 20px;
    order: 2;
  }
  
  .offer-image {
    position: relative;
    width: 100%;
    height: 300px;
    order: 1;
  }
}

.help-center-section {
  position: relative;
  height: 500px;
  width: 100%;
  overflow: hidden;
  background-color: #000000;
}

.help-center-content {
  position: absolute;
  width: 30%;
  left: 5%;
  top: 50%;
  color: #ffffff;
  transform: translateY(-50%);
  z-index: 2;
}

.help-center-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.help-center-content p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 400px;
}

.help-btn {
  display: inline-block;
  background: #3742fa;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.help-btn:hover {
  background: #5352ed;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(55, 66, 250, 0.3);
}

/* Image Section */
.help-center-image {
  width: 60%;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.help-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive */
@media (max-width: 992px) {
  .help-center-section {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  
  .diagonal-container {
    clip-path: none;
    background: #f8f9fa;
  }
  
  .help-center-content {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    transform: none;
    padding: 40px 20px;
    order: 2;
  }
  
  .help-center-image {
    position: relative;
    width: 100%;
    height: 300px;
    order: 1;
  }
}

/* ---------------------------------
   Help Center Page Styling
   Only applies when .help-center-page is present
---------------------------------- */

.help-center-page {
  background-color: #f9fafa;
  padding: 60px 20px;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
}

.help-center-page h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #2c3e50;
}

.help-center-page .accordion-item {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #dee2e6;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.help-center-page .accordion-button {
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.help-center-page .accordion-button:not(.collapsed) {
  background-color: #2DA06D;
  color: #fff;
}

.help-center-page .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.help-center-page .accordion-body {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.footer {
  background: #f4f8f7;
  font-size: 14px;
  padding: 0 50px;
  position: relative;
  overflow: hidden;
}
.footer-container {
  padding-top: 50px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #2E3A43;
  font-size: 16px;
  color: #2E3A43;
  margin-right: 10px;
  transition: 0.3s;
}
.footer-social a:hover {
  color: #2DA06D;
  border-color: #2DA06D;
  text-decoration: none;
}
.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: #2DA06D;
  font-family: 'Courier New', Courier, monospace;
}
.footer .footer-links {
  margin-bottom: 30px;
}
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: #2E3A43;
}
.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.footer .footer-links ul li:first-child {
  padding-top: 0;
}
.footer .footer-links ul a {
  display: inline-block;
  color: #2E3A43;
  line-height: 1;
}
.footer .footer-links ul a:hover {
  color: #2DA06D;
  text-decoration: none !important;
}
.footer .footer-about img {
  height: 50px;
}
.footer .footer-logo {
  display: flex;
  align-items: center;
}
.footer .footer-contact p {
  margin-bottom: 5px;
}
.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid #2DA06D;
}
.footer .copyright p {
  margin-bottom: 0;
}
.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}

.category-sidebar {
  background-color: #f9f9f9;
  border-left: 5px solid #2DA06D;
}

.category-list li {
  margin-bottom: 8px;
}

.category-list a {
  color: #2E3A43;
  display: block;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s ease;
  text-decoration: none;
}

.category-list a:hover,
.category-list a.active {
  background-color: #2DA06D;
  color: #fff;
  font-weight: 600;
}

.product-list-card {
  display: block;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  background: white;
  height: 100%;
  text-decoration: none !important;
}

.product-list-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

/* Square image wrapper */
.product-list-image-wrapper {
  width: 100%;
  aspect-ratio: 1/1; /* Ensures square */
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-list-image-wrapper img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-list-card:hover .product-list-image-wrapper img {
  transform: scale(1.05);
}

.product-list-info {
  padding: 15px;
}

.product-list-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.product-list-price {
  font-size: 15px;
  color: #2DA06D;
}

form select.form-select-sm {
  min-width: 160px;
}

.pagination .page-item.active .page-link {
  background-color: #2DA06D;
  border-color: #2DA06D;
  color: #fff;
}
.pagination .page-link {
  color: #2E3A43;
}
.pagination .page-link:hover {
  background-color: #e8f6f1;
}

/* Single Product Details Page */
.product-tabs {
  padding-top: 20px;
}

.product-tabs .nav-tabs {
  justify-content: center;
  border-bottom: 1px solid #ddd;
  gap: 16px;
}

.product-tabs .nav-tabs .nav-link {
  color: #2E3A43;
  font-size: 22px;
  padding: 10px 20px;
  border: none;
  background-color: transparent;
  position: relative;
  transition: color 0.3s;
  font-family: monospace;
}

.product-tabs .nav-tabs .nav-link:hover {
  color: #2DA06D;
}

.product-tabs .nav-tabs .nav-link.active {
  color: #2DA06D;
  font-weight: 600;
}

.product-tabs .nav-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background-color: #2DA06D;
  transition: background-color 0.3s;
}

.product-tabs .tab-content {
  padding: 20px 15px;
  animation: fadeIn 0.3s ease-in-out;
}
@media (max-width: 576px) {
  /* Tabs: smaller font to keep in one line, center alignment */
  .product-tabs .nav-tabs { justify-content: center; flex-wrap: nowrap; overflow-x: auto; gap: 8px; }
  .product-tabs .nav-tabs .nav-link { font-size: 12px; padding: 6px 10px; white-space: nowrap; }
  .product-tabs .tab-content { padding: 12px 10px; }
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Product Detail Page Styling */
.product-detail-section {
  background-color: #ffffff;
}

.main-image-container {
  background: #f8f9fa;
  border: 1px solid #e9ecef !important;
  transition: all 0.3s ease;
}

.main-image-container:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.image-actions .btn {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.image-actions .btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.image-nav-btn {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.image-nav-btn:hover:not(:disabled) {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.image-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.thumbnail-img {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.thumbnail-img:hover {
  transform: scale(1.05);
  border-color: #2DA06D;
}

.thumbnail-img.active {
  border-color: #2DA06D;
  box-shadow: 0 0 10px rgba(45, 160, 109, 0.3);
}

/* Product Details Right Side */
.price-section h4 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sold-rating-section {
  text-align: right;
}

.sold-count {
  font-size: 0.9rem;
  color: #6c757d;
}

.rating-display {
  font-size: 1.1rem;
}

.rating-display .fa-star {
  font-size: 1.2rem;
  color: #ffc107;
}

.description-section h6 {
  color: #2E3A43;
  font-size: 1.1rem;
}

.description-section a {
  color: #2DA06D !important;
  font-size: 0.9rem;
}

.description-section a:hover {
  text-decoration: underline !important;
}

/* Color and Size Selection */
.color-box {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-box:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.size-btn {
  min-width: 45px;
  height: 40px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.size-btn:hover {
  border-color: #2DA06D;
  color: #2DA06D;
}

.size-btn.active {
  background-color: #2DA06D;
  border-color: #2DA06D;
  color: white;
}

/* Action Buttons */
.btn-lg {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-dark {
  background-color: #000;
  border-color: #000;
}

.btn-dark:hover {
  background-color: #333;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-outline-dark {
  border-color: #000;
  color: #000;
}

.btn-outline-dark:hover {
  background-color: #000;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-image-container {
    height: 300px !important;
  }
  
  .image-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .price-section h4 {
    font-size: 1.5rem;
  }
  
  .sold-rating-section {
    text-align: left;
    margin-top: 1rem;
  }
  
  .btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  /* Center product detail layout and adjust sizes on mobile */
  .product-detail-section .row { justify-content: center; }
  /* Center only left (images) column */
  .product-detail-section .row > .col-md-6:first-child { display: flex; flex-direction: column; align-items: center; }
  /* Keep right (details) column not centered */
  .product-detail-section .row > .col-md-6:last-child { display: block; text-align: left; margin: 0 auto; max-width: 600px; }
  .product-detail-section .main-image-container { width: 100% !important; max-width: 340px; height: 340px !important; margin: 0 auto; }
  .product-detail-section .d-flex.gap-2.mt-3 { justify-content: center; }
  .product-detail-section .sold-rating-section { text-align: left; }
  .product-detail-section .d-flex.justify-content-between { flex-direction: column; gap: 8px; align-items: flex-start !important; }
  .main-image-container {
    height: 250px !important;
  }
  
  .image-actions .btn {
    width: 35px;
    height: 35px;
  }
  
  .image-nav-btn {
    width: 35px;
    height: 35px;
  }
  
  .thumbnail-img {
    height: 60px !important;
    width: 60px !important;
  }
}

.related-products-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}
.related-products-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}
.related-products-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
.card {
  width: 18rem;
  height: 320px;
  flex-shrink: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-right: 16px;
  overflow: hidden;
  background: #fff;
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}
.related-product-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.next-day-product-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: #2DA06D;
}

.cart-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin: 40px 60px;
  font-family: 'Segoe UI', sans-serif;
}

.cart-heading {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  margin: 20px 60px;
}

.cart-left {
  flex: 1;
  min-width: 50%;
}

.cart-right {
    width: 450px;
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.cart-right h3 {
  font-size: 20px;
  font-weight: bold;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 8px;
    align-items: flex-start;
}

.cart-item img {
  width: 100px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}

.cart-item-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.cart-item-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.cart-item-price {
    font-weight: bold;
    font-size: 22px;
    margin-top: 6px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 30px;
  overflow: hidden;
  width: fit-content;
  background: #f9f9f9;
}

.qty-control .qty-btn {
    background: none;
    border: none;
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
}

.qty-control .qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 16px;
    background: transparent;
    pointer-events: none; /* prevents manual editing if desired */
}

.remove-btn {
    color: red;
    font-size: 18px;
    cursor: pointer;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-value.discount {
    color: red;
    font-weight: bold;
}

.summary-label {
  font-size: 16px;
  color: #555;
}

.summary-label.total {
  font-size: 16px;
  color: #000;
}

.summary-value {
  font-size: 16px;
  font-weight: bold;
}

.promo-code {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.promo-code input {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #ccc;
}

.promo-code button {
    background: black;
    color: white;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
}

.checkout-btn {
    width: 100%;
    background: black;
    color: white;
    padding: 15px;
    border-radius: 999px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* From Uiverse.io by Creatlydev */ 
.button {
  line-height: 1;
  width: 100%;
  text-decoration: none;
  display: inline-flex;
  border: none;
  cursor: pointer;
  align-items: center;
  gap: 0.75rem;
  background-color: #2DA06D;
  color: #fff;
  border-radius: 10rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  padding-left: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.3s;
}

.button__icon-wrapper {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  position: relative;
  color: var(--clr);
  background-color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.button:hover {
  background-color: #000;
}

.button:hover .button__icon-wrapper {
  color: #000;
}

.button__icon-svg--copy {
  position: absolute;
  transform: translate(-150%, 150%);
}

.button:hover .button__icon-svg:first-child {
  transition: transform 0.3s ease-in-out;
  transform: translate(150%, -150%);
}

.button:hover .button__icon-svg--copy {
  transition: transform 0.3s ease-in-out 0.1s;
  transform: translate(0);
}

.address-option {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  position: relative;
}

.address-option:hover {
  border-color: #6c757d;
}

.address-option.selected {
  border-color: #000;
  background-color: #fff;
}

.address-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  accent-color: #000;
}

.address-content {
  flex: 1;
}

.address-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-type-badge {
  background-color: #000;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.address-details {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.address-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
  font-size: 16px;
}

.action-btn:hover {
  color: #000;
}

/* Loading spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1055;
}

.toast {
  min-width: 300px;
}

.toast-success {
  border-left: 4px solid #28a745;
}

.toast-error {
  border-left: 4px solid #dc3545;
}

/* Related Products Strip */
.related-strip {
  scroll-behavior: smooth;
  overflow-x: auto;
  overflow-y: visible; /* allow hover ring to show fully on top */
}

.related-card {
  width: 200px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 14px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.related-card:hover {
  border-color: #0d6efd33;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

.related-img-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* remove inner box background */
  border-radius: 0; /* remove inner rounding so only outer box is visible */
}

.related-img-wrap img {
  max-height: 100%;
  object-fit: contain;
}

.related-name {
  font-weight: 600;
  color: #2E3A43;
}

.related-price {
  color: #6c757d;
  font-size: 14px;
}

/* Related item container */
.related-item {
  width: 200px;
}

.related-item .related-meta .related-name {
  white-space: nowrap;
}

/* Section header (Related Products) */
.section-header {
  border-bottom: 1px solid #e9ecef;
}
.section-header::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 180px;
  height: 3px;
  background: #0d6efd;
}
.section-title {
  color: #4a4a4a;
}
.view-all-link {
  color: #495057;
}
.view-all-link:hover {
  color: #0d6efd;
}
.view-all-link .chev {
  color: #0d6efd;
  margin-left: 4px;
}

/* Modern search bar */
.modern-search {
  border: 2px solid #c6e6cf; /* light green */
  border-radius: 10px;
  padding: 6px 10px; /* smaller height */
  background: #fff;
  min-width: 520px;
}
.search-category {
  padding: 2px 6px; /* tighter */
  border-radius: 8px;
  background: transparent;
  color: #253238;
}
.search-divider {
  width: 1px;
  height: 20px;
  background: #dfe6e1;
}
.modern-search .search-input {
  font-size: 13px; /* slightly smaller */
  padding-top: 0;
  padding-bottom: 0;
  height: 28px; /* compact input */
}
.modern-search-btn {
  background: transparent;
  border: 0;
  color: #98a2aa;
  padding: 0 6px; /* tighter */
}
.modern-search-btn:hover {
  color: #0d6efd;
}
@media (max-width: 768px) {
  .modern-search { min-width: 100%; }
} 

