﻿@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #000000;
  --secondary: #ffffff;
  --accent: #333333;
  --text-color: #212529;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
  --font-main: "Outfit", sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--secondary);
  overflow-x: hidden;
}

/* ============================
   TOP MARQUEE HEADER
============================ */
.top-header {
  background: var(--primary);
  color: var(--secondary);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1030;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

/* ============================
   NAVBAR
============================ */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 15px 0;
  transition: all 0.3s;
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }
    .navbar-brand {
        font-size: 1.25rem;
    }
    .navbar-toggler {
        border: none;
        padding: 0;
        color: var(--primary);
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 10px 18px !important;
  position: relative;
  color: #000;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: black;
  bottom: 5px;
  left: 18px;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: calc(100% - 36px);
}

/* Mega Dropdown - DESKTOP ONLY Strict Hover */
@media (min-width: 992px) {
    .mega-dropdown {
        position: static !important;
    }

    .mega-menu {
        width: 100%;
        left: 0;
        right: 0;
        padding: 30px;
        border-radius: 0 0 12px 12px;
        border: none;
        border-top: 1px solid #f0f0f0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
        margin-top: 0;
        display: none; /* Hidden by default */
        position: absolute;
        top: 100%;
        z-index: 1000;
    }

    /* ONLY show when hovering the specific LI item */
    .nav-item.dropdown:hover > .mega-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

/* Mobile Dropdown Logic - Click specific (Bootstrap handles this via data-bs-toggle) */
@media (max-width: 991px) {
    .mega-menu {
        border: none;
        box-shadow: none;
        padding-left: 15px;
        background: #f9f9f9;
    }
}

.mega-menu h6 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.mega-menu a {
  display: block;
  color: #555;
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s;
}

.mega-menu a:hover {
  color: black;
  padding-left: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Offcanvas */
.offcanvas-body .nav-link {
  font-size: 1.2rem;
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 0 !important;
}

.offcanvas-body .nav-link::after {
  content: none;
}

/* ============================
   HERO SLIDER
============================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.swiper-slide {
  height: 85vh; /* Desktop Default */
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 0 5%;
  z-index: 10;
}

.hero-image-wrapper {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive Typography (Clamp) */
.hero-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  margin-left: -3px; /* Visual correction for bold font side-bearing */
  padding-left: 0;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 600;
  margin-left: 0;
  padding-left: 0;
}

.btn-hero {
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-hero-dark {
  background: black;
  color: white;
  border: 2px solid black;
}

.btn-hero-dark:hover {
  background: transparent;
  color: black;
}

/* Animation Utilities */
.animate-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}
.swiper-slide-active .animate-text {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.3s;
}
.delay-300 {
  transition-delay: 0.5s;
}

/* ============================
   RESPONSIVENESS RULES
============================ */
@media (max-width: 991px) {
  .swiper-slide {
    height: 75vh;
    min-height: 500px;
    display: block; /* Use block to allow absolute positioning context */
    padding-bottom: 0;
    height: auto !important; /* Allow auto height for content */
    min-height: 80vh; /* Minimum height ensures it covers screen */
  }

  /* Image takes full height of the slide */
  .hero-image-wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0; /* Behind content */
  }

  /* Ensure image covers area correctly on mobile */
  .hero-image {
    object-fit: cover;
    object-position: center top; 
  }
  
  /* Add dark overlay to image for text readability */
  .hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* Dark overlay */
  }

  /* Content Overlay */
  .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex; /* Flex to center content */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white; /* Force white text */
    padding: 0 20px;
  }

  /* Override text colors for mobile overly */
  .hero-title, .hero-subtitle {
     color: white !important;
     text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  .hero-subtitle {
     margin-bottom: 0.5rem;
  }
  
  .btn-hero {
      margin: 5px;
      display: inline-block !important; /* Side by side buttons on mobile too if possible, or stacked */
      min-width: 140px;
      font-size: 0.9rem;
      padding: 10px 24px;
  }
  
  .btn-hero-dark {
      background: white;
      color: black;
      border-color: white;
  }
  
  .btn-hero-dark:hover {
      background: transparent;
      color: white;
  }
  
  .btn-outline-dark {
      border-color: white;
      color: white;
  }
  
  .btn-outline-dark:hover {
      background: white;
      color: black;
  }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem; /* Reduce strictly for small screens */
    }
    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .btn-hero {
        display: inline-block !important; /* Keep inline even on small screens */
        width: auto !important; /* Remove full width */
        margin: 5px 3px;
        padding: 8px 16px; /* Smaller padding */
        font-size: 0.8rem; /* Smaller font */
        min-width: 110px;
    }
}

/* ============================
   MOBILE BOTTOM NAVIGATION
============================ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08); /* Smoother shadow */
    z-index: 10000; /* Highest priority */
    border-top: 1px solid #f1f1f1;
}

.mobile-bottom-nav .nav-item {
    color: #999;
    font-size: 0.7rem; /* Label size */
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background: none;
    border: none;
    transition: color 0.3s;
    font-weight: 500;
    width: 20%; /* Equal width */
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.mobile-bottom-nav .nav-item.active {
    color: #000;
    font-weight: 700;
}

.mobile-bottom-nav .nav-item.active i {
    color: #000;
    /* transform: scale(1.1); REMOVED scale to prevent layout shift per requirements */
    font-weight: bold; /* Or fill icon if available */
}

/* ========================================
   CATEGORY SECTION - PREMIUM WITH BORDERS
======================================== */

.category-section {
    background: #f8f9fa;
    padding: 70px 0;
}

/* Header */
.category-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.category-subheading {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    margin: 0;
}

/* Horizontal Scroll Container */
.categories-horizontal-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Card Wrapper */
.cat-card-wrapper {
    flex: 0 0 calc(50% - 10px); /* Mobile: 2 per row */
    max-width: calc(50% - 10px);
}

/* Tablet: 3 per row */
@media (min-width: 768px) {
    .cat-card-wrapper {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}

/* Desktop: Single row (6 items) */
@media (min-width: 1200px) {
    .categories-horizontal-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: center;
        padding-bottom: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .categories-horizontal-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .cat-card-wrapper {
        flex: 0 0 220px;
        max-width: 220px;
        min-width: 180px;
    }
}

/* Category Card - Premium with Border */
.cat-card {
    display: block;
    position: relative;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cat-card:hover {
    border-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Image - 4:3 Ratio */
.cat-card-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 */
    overflow: hidden;
    background: #f0f0f0;
}

.cat-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-card-image img {
    transform: scale(1.08);
}

/* Text Overlay */
.cat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    transition: all 0.3s ease;
}

.cat-card:hover .cat-card-content {
    padding-bottom: 24px;
}

.cat-card-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 4px 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.cat-card-count {
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .category-section {
        padding: 50px 0;
    }
    
    .category-heading {
        font-size: 1.6rem;
    }
    
    .category-subheading {
        font-size: 0.9rem;
    }
    
    .categories-horizontal-scroll {
        gap: 12px;
    }
    
    .cat-card-wrapper {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
    
    .cat-card {
        border-radius: 10px;
        border-width: 1.5px;
    }
    
    .cat-card-content {
        padding: 14px;
    }
    
    .cat-card-title {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .cat-card-count {
        font-size: 0.7rem;
    }
}

/* --- Mobile Bottom Nav (Fixed) --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item.active {
    color: #000;
}

/* Adjust Body Padding for Bottom Nav */
@media (max-width: 991px) {
    body {
        padding-bottom: 70px; /* Height of bottom nav */
    }
}

/* PREMIUM PRODUCT CARDS */
.product-card {
    border: none;
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
    position: relative;
    border-radius: 8px; /* Slight rounding for modern feel */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* Soft shadow on hover */
}

/* Image Wrapper Fixed Ratio */
.product-card .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio (Square) */
    overflow: hidden;
    background-color: #f8f9fa; /* Light grey placeholder bg */
}

.product-card .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ESSENTIAL: Covers box without stretching */
    object-position: center;
    transition: transform 0.6s ease;
}

/* Hover Zoom Effect */
.product-card:hover .image-wrapper img {
    transform: scale(1.08);
}

/* Add to Cart Overlay Button (Desktop) */
.product-card .add-to-cart-overlay {
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 2;
    border-radius: 0 0 8px 8px; /* Match card rounding at bottom */
}

.product-card:hover .add-to-cart-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
.product-card .card-body {
    padding: 1rem;
    text-align: left; /* Or center based on pref */
}

.product-card .card-category {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card .card-title a {
    color: #111;
    transition: color 0.2s;
}

.product-card .card-title a:hover {
    color: #555;
    text-decoration: none;
}

.product-card .price {
    font-size: 1.1rem;
    color: #111;
    font-weight: 700;
}

.product-card .price .old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 400;
}

/* Badges */
.product-card .badge {
    z-index: 2;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Wishlist Button */
.product-card .add-to-wishlist {
    z-index: 2;
    background: rgba(255,255,255,0.9);
    border: none;
    transition: all 0.2s;
}

.product-card .add-to-wishlist:hover {
    background: #ff4757;
    color: white;
}

/* Utility: Small Text on Mobile */
@media (max-width: 576px) {
    .small-mobile {
        font-size: 0.75rem !important;
        letter-spacing: 0.5px;
    }
}
.highlights-section {
    padding: 80px 0;
    background: #fff;
}

/* Header - Centered Layout */
.section-header-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    gap: 25px;
}

.highlights-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.highlights-subtitle {
    font-size: 1rem;
    color: #777;
    margin: 0;
    font-weight: 400;
}

/* Premium Tabs - Centered */
.highlights-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    border: none;
    margin-bottom: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .highlights-tabs {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        margin-left: -15px; /* Negative margin to counter container padding */
        margin-right: -15px;
        padding-left: 15px; /* Add padding to start content correctly */
        padding-right: 15px;
        width: calc(100% + 30px); /* Ensure it spans full width */
    }
    
    .highlights-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .tab-btn, .tab-btn-top {
        flex: 0 0 auto !important; /* Prevent shrinking */
        white-space: nowrap !important;
        margin-bottom: 0 !important;
    }
}

.tab-btn, .tab-btn-top {
    background: transparent;
    border: 1.5px solid #e0e0e0;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover, .tab-btn-top:hover {
    border-color: #000;
    color: #000;
    background: #f8f8f8;
}

.tab-btn.active, .tab-btn-top.active {
    background: #000;
    border-color: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Tab Content */
.tab-content-wrapper, .tab-content-wrapper-top {
    position: relative;
}

/* Swiper Container */
.products-swiper, [class^="products-swiper-"] {
    padding: 20px 10px 40px 10px !important;
    overflow: hidden;
}

/* Product Card */
/* Fixed Product Card */
.product-card {
    width: 100%; /* Responsive base */
    max-width: 260px; /* Fixed Desktop Width */
    min-width: 260px; /* Prevent shrinking */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: visible; /* Allow shadow */
    box-sizing: border-box; 
    margin: 0 auto; /* Center in slide if needed */
}

@media (max-width: 768px) {
    .product-card {
        max-width: 100%; /* Mobile full width */
        min-width: 200px; 
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #d1d1d1;
    z-index: 5;
}

/* Image */
/* Image */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Fixed Image Height */
    background: #f8f8f8;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Box (Flex Container) */
.product-image-box {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex; /* Centers content */
    align-items: center;
    justify-content: center;
}

.primary-img, .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    margin: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-img {
    opacity: 1;
    z-index: 2;
}

.hover-img {
    opacity: 0;
    z-index: 3; /* On top when visible */
}

/* Hover Effect */
.product-card:hover .primary-img {
    opacity: 0;
}

.product-card:hover .hover-img {
    opacity: 1;
}

/* Quick View Button */
.quick-view-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: #000;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s ease;
    opacity: 0;
    z-index: 15;
    white-space: nowrap;
    border: 1.5px solid #000; /* Outline style */
    background: rgba(255,255,255,0.9);
}

.product-card:hover .quick-view-btn {
    bottom: 20px;
    opacity: 1;
}

.quick-view-btn:hover {
    background: #000;
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
}

/* Premium Badges */
.badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-custom {
    padding: 5px 10px;
    border-radius: 30px; /* Pill shape */
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Badge Colors */
.badge-sale {
    background: linear-gradient(135deg, #ff3b30, #ff2d55);
}
.badge-hot {
    background: linear-gradient(135deg, #ff9500, #ffcc00);
}
.badge-new {
    background: linear-gradient(135deg, #007aff, #5ac8fa);
}
.badge-limited {
    background: linear-gradient(135deg, #5856d6, #af52de);
}
.badge-out {
    background: #8e8e93;
}
.badge-trending {
    background: linear-gradient(135deg, #34c759, #30d158);
}
.badge-combo {
    background: linear-gradient(135deg, #ff2d55, #ff375f);
}

/* Action Buttons */
.card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .card-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none; /* Removed default shadow for cleaner look */
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.8);
}

.action-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Details */
.product-details {
    padding: 16px;
    text-align: center; /* Center aligned */
}

/* Star Rating */
.product-rating {
    display: flex;
    align-items: center;
    justify-content: center; /* Center aligned */
    gap: 2px;
    margin-bottom: 6px;
    color: #000;
    font-size: 0.8rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
}

.product-cat-label {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

/* Price */
/* Highlights Section */
.highlights-section {
    padding: 60px 0;
    background: #fff;
}

.section-header-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin-bottom: 40px;
}

.highlights-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
    letter-spacing: -0.5px;
}

.highlights-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* Tab Filters (Pill Style) */
.highlights-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    background: transparent;
}

.tab-btn {
    border: 1px solid #e0e0e0;
    background: transparent;
    color: #555;
    padding: 10px 24px;
    border-radius: 50px; /* Pill */
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.tab-btn:hover {
    border-color: #000;
    color: #000;
}

.tab-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Swiper Arrows (Minimal) */
.slider-arrow {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    color: #000;
    z-index: 20;
    opacity: 0; /* Hidden by default */
}

.tab-content-wrapper:hover .slider-arrow {
    opacity: 1; /* Show on hover */
}

.slider-arrow:hover {
    background: #000;
    color: #fff;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Price */
.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.product-price .current-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}

.product-price .old-price {
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Swiper Navigation */
.slider-arrow {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #000;
    transition: all 0.3s ease;
    z-index: 20;
    cursor: pointer;
    border: 1px solid #eee;
}

.slider-arrow:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.slider-arrow i {
    font-size: 1.2rem;
}

/* Responsive */

@media (max-width: 767px) {
    .highlights-section {
        padding: 50px 0;
    }
    
    .highlights-title {
        font-size: 1.8rem;
    }
    
    .highlights-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .highlights-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .card-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    .slider-arrow {
        display: none;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .badge-custom {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
    
    .quick-view-btn {
        display: none; /* Hide on mobile - hover doesn't work */
    }
}

/* Why Choose Urbanstep Section */
.why-choose-section {
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.feature-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #e5e5e5;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: #000;
}

.feature-icon i {
    transition: transform 0.4s ease;
    display: inline-block;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.15);
}



/* ========================================
   BRAND STORY / LIFESTYLE SECTION
======================================== */
.brand-story-section {
    position: relative;
    overflow: hidden;
}

.brand-media-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* Height is set inline for responsiveness, but can be forced here */
    min-height: 400px;
    background: #f0f0f0;
}

.brand-media-wrapper video,
.brand-media-wrapper img {
    transition: transform 0.7s ease;
}

.brand-section:hover .brand-media-wrapper img {
    transform: scale(1.03);
}

.brand-content {
    position: relative;
    z-index: 2;
}

.icon-box {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.icon-box:hover {
    background: #000 !important;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon-box:hover i {
    color: #fff !important;
}

/* Tracking Typography */
.tracking-wider {
    letter-spacing: 2px;
}
.tracking-wide {
    letter-spacing: 1px;
}

/* Button Hover Override */
.btn-outline-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsiveness */
@media (max-width: 991px) {
    .brand-content {
        text-align: center;
        padding-left: 0 !important;
    }
    
    .brand-media-wrapper {
        height: 350px !important;
    }
    
    .col-lg-6.ps-lg-5 {
        padding-left: 12px !important; /* Reset padding override */
    }
    
    .brand-content .d-flex {
        justify-content: center; /* Center icons on mobile */
    }

    .brand-content .row.g-3 {
        text-align: left; /* Keep points left aligned if needed, or center */
    }

    .brand-content .row.g-3 .col-6 {
        display: flex;
        justify-content: center;
    }

    .brand-content h2 {
        font-size: 2rem;
    }
}


/* ========================================
   LIMITED TIME OFFER SECTION
======================================== */
.offer-section {
    background: #f8f9fa;
}

/* Time Box (Number Only) */
.time-box {
    background: #111;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.time-box span {
    font-size: 1.8rem;
    line-height: 1;
}

/* Responsiveness */
@media (max-width: 767px) {
    .offer-section .row {
        text-align: center;
    }
    
    .countdown-wrapper {
        justify-content: center;
    }
    
    .col-lg-6.text-center {
        margin-top: 20px;
    }
}


/* =========================================
   Parallax Marquee Section
   ========================================= */
.parallax-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: #000; /* Fallback */
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
}

.parallax-fixed {
    background-attachment: fixed;
}

.parallax-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--overlay-opacity, 0.4));
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Marquee Styling */
.marquee-wrapper {
    width: 100%;
    position: relative;
}

.marquee-row {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    gap: 20px;
}

.marquee-track {
    display: flex;
    gap: 20px;
}

/* Row 1 & 3: Left to Right (Actually Track moves LEFT to simulate movement?)
   Wait: Standard marquee moves Right-to-Left (Track moves negative).
   To move Left-to-Right: Track starts negative and moves to 0.
*/

.marquee-left .marquee-track {
    animation: marquee-left var(--duration, 20s) linear infinite;
    animation-play-state: var(--play-state, running);
}

.marquee-right .marquee-track {
    animation: marquee-right var(--duration, 20s) linear infinite;
    animation-play-state: var(--play-state, running);
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Marquee Items */
.marquee-item {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    cursor: default;
}

.marquee-item.transparent {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.8);
}

.marquee-item:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
    border-color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .parallax-fixed {
        background-attachment: scroll; /* Disable fixed on mobile for performance */
    }
    
    .parallax-section {
        min-height: 400px;
        padding: 60px 0;
    }

    .parallax-content h2 {
        font-size: 2.5rem;
    }

    .marquee-item {
        font-size: 1rem;
        padding: 8px 20px;
    }
}

/* =========================================
   Premium Materials Section
   ========================================= */
.materials-section {
    background: #fff;
    position: relative;
    z-index: 1;
}

.materials-image-container {
    perspective: 1000px;
}

.material-main-img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    object-fit: cover;
    min-height: 450px;
}



.material-img-blob {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: linear-gradient(45deg, rgba(82, 113, 255, 0.05), rgba(0, 0, 0, 0.02));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    filter: blur(40px);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: #000;
    color: #fff;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    z-index: 2;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    transition: all 0.3s ease;
}

.material-feature-item {
    transition: transform 0.3s ease;
}

.material-feature-item:hover {
    transform: translateX(10px);
}

.material-feature-item:hover .feature-icon-box {
    background: #000;
    color: #fff;
}

.tracking-wider {
    letter-spacing: 2px;
}

@media (max-width: 991px) {
    .experience-badge {
        right: 20px;
        padding: 15px;
    }
    .material-main-img {
        min-height: auto;
    }
    .materials-content {
        text-align: center;
    }
    .material-feature-item {
        text-align: left;
    }
}


/* Premium Materials Slider Styles */
.materials-slider {
    width: 100%;
    height: 100%;
}

.materials-slider .material-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
}

.materials-next, .materials-prev {
    color: #fff !important;
    background: rgba(0,0,0,0.3);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.materials-next::after, .materials-prev::after {
    font-size: 1.2rem !important;
}

.materials-pagination .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
}

.materials-pagination .swiper-pagination-bullet-active {
    background: #fff !important;
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}


/* Reels Showcase Styles */
.reels-section {
    background-color: #fdfdfd !important;
}

.reel-card {
    aspect-ratio: 9/16;
    background: #000;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reel-card:hover {
    transform: scale(1.02);
}

.reel-video {
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.reel-card:hover .reel-video {
    opacity: 1;
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.reel-content {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.reel-card:hover .reel-content {
    transform: translateY(0);
    opacity: 1;
}

.shop-btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.shop-btn:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.reel-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.mute-toggle {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.mute-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.reel-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255,255,255,0.5);
    z-index: 1;
    pointer-events: none;
    transition: 0.3s;
}

.reel-card:hover .reel-play-icon {
    opacity: 0;
}

.reels-slider .swiper-slide {
    height: auto;
}





/* Product Image Fix - Premium Full Cover Display */
.product-card .product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Square container */
    background: #fff;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.product-card .primary-img,
.product-card .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Fill entire container */
    object-position: center !important;
    padding: 0 !important; /* Remove all padding */
    transform: none !important; /* Remove centering transform */
}


/* Hide play icon since videos autoplay */
.reel-play-icon {
    display: none !important;
}



/* Testimonials Section */
.testimonial-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Footer Styles */
footer .hover-link:hover {
    color: #fff !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* Accordion Custom Styling */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #000;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #dee2e6;
}



/* New Homepage Sections Styling - Consolidate Testimonials below */
.top-products-swiper {
    padding: 20px 10px 40px 10px !important;
    overflow: visible;
}

.top-products-swiper .swiper-slide {
    height: auto;
}

/* FAQ Section */
.faq-section .accordion-button {
    background: white;
    font-size: 1rem;
    padding: 1.25rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #000;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.faq-section .accordion-item {
    border-radius: 12px;
    overflow: hidden;
}

/* Footer */
.footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

.footer .social-icons a:hover {
    opacity: 0.7;
    text-decoration: none !important;
}

/* ========================================
   TESTIMONIALS SECTION - PREMIUM MINIMAL
   ======================================== */
/* ========================================
   TESTIMONIALS SECTION - PREMIUM MINIMAL (STRICT FIX)
   ======================================== */
.testimonials-section {
  background-color: #fff;
  padding: 60px 0;
  position: relative;
}

/* Section Header */
.testimonials-section .display-6 {
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
  color: #111;
}

.testimonials-section p.text-muted {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #666 !important;
}

/* Swiper Container */
.testimonials-slider {
  padding: 20px 20px 50px 20px !important;
  overflow: hidden;
}

/* 
   CARD STRUCTURE & HEIGHT RULES 
   -----------------------------
*/
.testimonial-card-premium {
  background: #fff;
  border-radius: 16px; /* Rule: 14px-16px */
  padding: 24px;       /* Rule: 20px-24px */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
  border: 1px solid #f0f0f0; /* Light border */
  
  /* STRICT HEIGHT & LAYOUT */
  display: flex !important;
  flex-direction: column !important; /* Top to Bottom */
  align-items: center !important;    /* Center align */
  justify-content: flex-start;       /* Content from top */
  text-align: center !important;
  
  width: 100%;
  margin: 0 auto;
  transition: all 0.3s ease;
  overflow: hidden; /* Ensure no spill */
  
  /* Desktop Max Height Strict */
  max-height: 320px;
  height: 320px; /* Force equal height visuals */
}

/* Hover Effect */
.testimonial-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Premium shadow */
  border-color: transparent;
}

/* 1. Rating (Top) */
.testi-rating {
    font-size: 12px;
    color: #ffb800;
    margin-bottom: 12px !important;
}

/* 2. Testimonial Text (Strict Limit) */
.testimonial-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 20px !important;
  
  /* CLAMPING - Max 3-4 lines */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 6.4em; /* Fallback for height limits roughly 4 lines */
}

/* 3. Avatar (Circle, Centered) */
.testimonial-avatar {
  width: 50px !important;  /* Rule: 48px-56px */
  height: 50px !important;
  border-radius: 50%;
  overflow: hidden;
  margin: auto auto 10px auto !important; /* Push to bottom (first auto) */
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0; /* Prevent shrinking */
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

/* 4. Name */
.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  margin-bottom: 4px !important;
}

/* 5. Role/Location */
.testimonial-role {
  font-size: 0.8rem;
  color: #888 !important;
  font-weight: 500;
  display: block !important; /* Ensure visible */
  margin-top: 0; /* Removed auto, adjacent to name */
}

/* Swiper Pagination - Centered below */
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ddd;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #000;
  width: 20px;
  border-radius: 4px;
}

/* ============================
   RESPONSIVE RULES
   ============================ */

/* TABLET (Max Height 300px) */
@media (max-width: 991px) {
    .testimonial-card-premium {
        max-height: 300px;
        height: 300px;
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        -webkit-line-clamp: 3; /* Reduce lines on smaller height */
        line-clamp: 3;
    }
}

/* MOBILE (Auto Height, Compact) */
@media (max-width: 576px) {
    .testimonial-card-premium {
        height: auto !important;
        max-height: none !important;
        padding: 20px 15px;
    }
    
    .testimonial-avatar {
        width: 48px !important;
        height: 48px !important;
    }
    
    .testimonial-text {
        -webkit-line-clamp: 4; /* Allow reading more on mobile scroll */
        line-clamp: 4;
    }
}

.swiper-slide {
  height: auto !important;
  display: flex; /* Ensure stretch */
  justify-content: center;
}

/* ========================================
   PREMIUM FOOTER - NIKE/ADIDAS STYLE
   ======================================== */
.main-footer {
    background-color: #000 !important; /* Pure Black */
    color: #888;
    padding: 80px 0 30px;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

.footer-logo {
    max-height: 40px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1); /* Ensure logo is white if it was dark */
}

.footer-brand-desc {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #999;
    max-width: 300px;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons-footer {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.social-icon-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-copyright {
    color: #666;
    font-size: 0.8rem;
}

/* Response: Accordion for Mobile */
@media (max-width: 767px) {
    .main-footer {
        padding: 50px 0 20px;
    }
    
    .footer-col {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .footer-heading {
        margin-bottom: 15px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #222;
        padding-bottom: 10px;
    }
    
    .footer-heading::after {
        content: '+';
        font-size: 1.2rem;
        transition: transform 0.3s;
    }
    
    .footer-heading.active::after {
        transform: rotate(45deg);
    }
    
    .footer-links-container {
        display: none;
        padding-top: 10px;
    }
    
    .footer-brand-desc {
        max-width: 100%;
        margin: 0 auto 20px;
    }
    
    .social-icons-footer {
        justify-content: center;
    }

    /* FIX: Prevent Mobile Bottom Nav Overlay */
    body {
        padding-bottom: 90px !important;
    }
}

/* =========================================
   BRAND STORY FEATURE ICONS - MOBILE LIST VIEW
   ========================================= */
@media (max-width: 767px) {
    /* Convert to full-width list layout */
    .brand-story-section .row.g-3 {
        padding: 0 10px;
    }
    
    .brand-story-section .row.g-3 .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .brand-story-section .material-feature-item {
        flex-direction: row !important;
        text-align: left;
        align-items: center;
        padding: 12px 16px;
        background: #f9f9f9;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .brand-story-section .feature-icon-box {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.1rem;
        margin-right: 14px !important;
        margin-bottom: 0 !important;
        background: #fff;
        border: 1px solid #eee;
    }
    
    .brand-story-section .material-feature-item h5 {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0;
    }
    
    .brand-story-section .col-lg-6.ps-lg-5 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .brand-story-section .display-5 {
        font-size: 1.5rem !important;
    }
    
    .brand-story-section .lead {
        font-size: 0.95rem !important;
    }
    
    .brand-story-section .brand-content {
        text-align: center;
    }
    
    .brand-story-section .btn-outline-dark {
        width: 100%;
    }
    
    .brand-story-section .brand-media-wrapper {
        height: 280px !important;
        min-height: 250px !important;
    }
}

/* =========================================
   FOOTER - REMOVE EXTRA WHITESPACE
   ========================================= */
@media (max-width: 767px) {
    footer.site-footer,
    .site-footer {
        margin-bottom: 0 !important;
        padding-bottom: 20px !important;
    }
    
    /* Remove body extra padding causing white space */
    body {
        padding-bottom: 70px !important; /* Just enough for mobile nav */
    }
    
    /* Fix footer bottom padding */
    .footer-bottom {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Remove any gaps after footer */
    footer + * {
        margin-top: 0 !important;
    }
}

/* =========================================
   TOP SELLING / CATEGORY TABS - MOBILE FIX
   ========================================= */
@media (max-width: 767px) {
    .top-selling-section .highlights-tabs,
    .highlights-section .highlights-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
        padding: 0 10px 12px;
        margin: 0 -10px;
        scrollbar-width: none;
    }
    
    .top-selling-section .highlights-tabs::-webkit-scrollbar,
    .highlights-section .highlights-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn, .tab-btn-top {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .top-selling-section .section-header-flex,
    .highlights-section .section-header-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 15px;
    }
    
    .highlights-title {
        font-size: 1.5rem !important;
    }
    
    .highlights-subtitle {
        font-size: 0.9rem !important;
    }
}

/* =========================================
   PRODUCT DETAIL PAGE - MOBILE FIXES
   ========================================= */
@media (max-width: 767px) {
    /* Why You'll Love It Section */
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .feature-card-mini {
        padding: 16px 10px !important;
    }
    
    .feature-card-mini h6 {
        font-size: 0.8rem !important;
    }
    
    .feature-card-mini p {
        font-size: 0.7rem !important;
        display: none; /* Hide description on mobile */
    }
    
    .feature-card-mini i {
        font-size: 1.5rem !important;
    }
    
    /* Related Products Section */
    .related-section {
        padding: 40px 0 !important;
    }
    
    .related-section .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }
    
    .related-section .swiper-slide {
        width: 160px !important;
    }
    
    .related-section .product-card-body {
        padding: 12px !important;
    }
    
    .related-section .product-card h6 {
        font-size: 0.85rem !important;
    }
    
    /* Accordion */
    .product-accordion .accordion-button {
        padding: 14px 16px !important;
        font-size: 0.9rem !important;
    }
    
    /* Description */
    .description-section {
        padding: 25px 15px !important;
        margin-bottom: 25px !important;
    }
    
    .description-section h4 {
        font-size: 1.1rem !important;
    }
    
    .description-content {
        font-size: 0.9rem !important;
    }
}

/* =========================================
   GENERAL MOBILE OVERLAPPING FIXES
   ========================================= */
@media (max-width: 767px) {
    /* Prevent horizontal scrolling */
    body, html {
        overflow-x: hidden;
    }
    
    /* Section spacing */
    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Fix any overlapping cards */
    .swiper-slide {
        overflow: visible;
    }
    
    /* Product cards in sliders */
    .product-card {
        margin: 0 !important;
    }
    
    /* Mobile bottom nav clearance */
    .mobile-bottom-nav {
        z-index: 9999 !important;
    }
}

/* =========================================
   CATEGORY SECTION - MOBILE FIX
   ========================================= */
@media (max-width: 767px) {
    .category-section .row.g-4 {
        gap: 12px !important;
    }
    
    .category-section .col-6 {
        padding: 0 6px;
    }
    
    .cat-card-image {
        aspect-ratio: 1/1 !important;
        border-radius: 12px !important;
    }
    
    .cat-card-title {
        font-size: 0.75rem !important;
    }
    
    .cat-card-count {
        font-size: 0.65rem !important;
    }
}

/* =========================================
   TOP SELLING SLIDER - MOBILE 1 CARD VIEW
   ========================================= */
@media (max-width: 575px) {
    .top-selling-section .top-selling-swiper {
        padding: 0 15px;
    }
    
    .top-selling-section .swiper-slide {
        width: 100% !important;
    }
    
    .top-selling-section .product-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .top-selling-section .product-image-wrapper {
        height: 280px;
    }
}

/* =========================================
   PRODUCT DETAIL - RELATED PRODUCTS FIX
   ========================================= */
@media (max-width: 767px) {
    .related-section .relatedSwiper {
        padding: 0 15px;
    }
    
    .related-section .swiper-slide {
        width: 160px !important;
    }
    
    .related-section .product-card {
        border-radius: 12px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    }
    
    .related-section .product-card-img {
        border-radius: 12px 12px 0 0 !important;
    }
    
    .related-section .product-card-body {
        padding: 12px !important;
    }
    
    .related-section .product-card h6 {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
    }
    
    .related-section .product-card .text-muted {
        display: none !important;
    }
    
    .related-section .product-card .price {
        font-size: 1rem !important;
    }
}

/* =========================================
   WHY CHOOSE US SECTION
   ========================================= */
.why-choose-section {
    background: #fff;
}

.section-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-subtext {
    color: #666;
    font-size: 1rem;
}

.choose-card {
    background: linear-gradient(145deg, #f8f9fa 0%, #fff 100%);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: transparent;
}

.choose-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.choose-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.choose-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.choose-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    background: #f8f9fa;
}

.faq-accordion .accordion-item {
    border: none;
    background: #fff;
    margin-bottom: 12px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: #1a1a1a;
    background: #fff;
    padding: 18px 24px;
    font-size: 1rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: #1a1a1a;
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-size: 14px;
}

.faq-accordion .accordion-body {
    padding: 0 24px 18px;
    color: #555;
    line-height: 1.7;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    background: #fff;
}

/* Refined Testimonial Card */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #eee;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Subtle initial shadow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.testimonial-stars {
    margin-bottom: 12px;
}

.testimonial-stars i {
    color: #ffc107; /* Golden Stars */
    font-size: 1rem;
    margin-right: 3px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto; /* Push to bottom if content varies */
}

.author-avatar {
    width: 42px;
    height: 42px;
    background: #222; /* Solid black/dark as per screenshot */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: #111;
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.author-location {
    color: #888;
    font-size: 0.75rem;
    font-weight: 400;
}

/* =========================================
   MOBILE RESPONSIVE - NEW SECTIONS
   ========================================= */
@media (max-width: 767px) {
    .section-heading {
        font-size: 1.5rem;
    }
    
    .section-subtext {
        font-size: 0.9rem;
    }
    
    .choose-card {
        padding: 20px 16px;
    }
    
    .choose-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 14px;
    }
    
    .choose-icon i {
        font-size: 1.4rem;
    }
    
    .choose-card h5 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .choose-card p {
        font-size: 0.8rem;
    }
    
    .faq-accordion .accordion-button {
        padding: 14px 18px;
        font-size: 0.9rem;
    }
    
    .faq-accordion .accordion-body {
        padding: 0 18px 14px;
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
    }
    
    .author-avatar {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }
}

/* =========================================
   TESTIMONIAL SWIPER SLIDER
   ========================================= */
.testimonialSwiper {
    padding-bottom: 50px;
}

.testimonialSwiper .swiper-slide {
    height: auto;
}

.testimonial-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 20px;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: #1a1a1a;
    width: 24px;
    border-radius: 5px;
}

/* =========================================
   TOP SELLING SWIPER MOBILE FIX
   ========================================= */
.top-selling-swiper .swiper-slide {
    height: auto;
}

.top-selling-swiper .product-card {
    height: 100%;
}

@media (max-width: 575px) {
    .top-selling-section .product-card {
        border-radius: 12px;
    }
    
    .top-selling-section .product-card-img {
        aspect-ratio: 1/1;
    }
    
    .top-selling-section .product-card-img img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    .top-selling-section h6.product-name {
        font-size: 0.85rem;
    }
    
    .top-selling-section .product-price {
        font-size: 0.95rem;
    }
}

/* Swiper container full width */
.product-swiper {
  width: 100%;
  padding: 0 16px;
}

/* Slide should not shrink */
.swiper-slide {
  display: flex;
  justify-content: center;
}

/* Card width control */
.product-card {
  width: 100%;
  max-width: 320px;   /* 🔥 ek card perfect size */
}
