/* ============================================
   MANFARE - Main Stylesheet
   Luxury Men's Fashion E-Commerce
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #2c1810;
  --color-secondary: #8b6914;
  --color-gold: #c9a227;
  --color-gold-light: #e8c96a;
  --color-dark: #1a0f0a;
  --color-dark-2: #2a1a12;
  --color-brown-mid: #5c3d2e;
  --color-bg: #faf8f5;
  --color-bg-2: #f5f0e8;
  --color-white: #ffffff;
  --color-text: #1a0f0a;
  --color-text-muted: #7a6555;
  --color-text-light: #b5a090;
  --color-border: #e8ddd2;
  --color-card-bg: #ffffff;
  --color-success: #4caf50;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
  --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.12);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.18);
  --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 110px;
  --container-max: 1300px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input {
  font-family: var(--font-body);
  outline: none;
  border: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: 12px auto 0;
  border-radius: 2px;
}

.view-all-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-gold-light);
  padding-bottom: 2px;
}

.view-all-link:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ---------- TOPBAR ---------- */
.topbar {
  background: var(--color-dark);
  color: var(--color-text-light);
  font-size: 0.78rem;
  padding: 8px 0;
  letter-spacing: 0.04em;
  text-align: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left, .topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar a {
  color: var(--color-text-light);
}

.topbar a:hover {
  color: var(--color-gold);
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 20px;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* header-left wraps the hamburger + search bar */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Search */
.header-search {
  display: flex;
  align-items: center;
  background: var(--color-bg-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 9px 16px;
  gap: 10px;
  transition: var(--transition);
  max-width: 320px;
}

.header-search:focus-within {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}

.header-search input {
  background: none;
  font-size: 0.85rem;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
}

.header-search input::placeholder {
  color: var(--color-text-light);
}

.header-search button {
  color: var(--color-text-muted);
  font-size: 1rem;
  padding: 0;
  transition: var(--transition);
}

.header-search button:hover {
  color: var(--color-gold);
}

/* Logo */
.site-logo {
  text-align: center;
  justify-self: center;
}

.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 1rem;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-primary);
  transition: var(--transition);
  background: transparent;
}

.icon-btn:hover {
  background: var(--color-bg-2);
  color: var(--color-gold);
}

.icon-btn .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  padding: 0 8px;
  border-left: 1px solid var(--color-border);
  margin-left: 4px;
}

.header-phone i {
  color: var(--color-gold);
}

/* ---------- NAVIGATION ---------- */
.site-nav {
  background: var(--color-primary);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link i {
  font-size: 0.65rem;
  transition: var(--transition);
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* ============================================
   DROPDOWN — clean list style
   ============================================ */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(26,15,10,0.14), 0 2px 8px rgba(26,15,10,0.06);
  border: 1px solid rgba(0,0,0,0.07);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 600;
  overflow: hidden;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Section label inside dropdown */
.dropdown-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold, #c9a227);
  padding: 14px 20px 8px;
  border-bottom: 1px solid #f3ede5;
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 0.83rem;
  color: var(--color-text, #333);
  font-weight: 500;
  transition: background 0.15s, color 0.15s, padding-left 0.18s;
  border-bottom: 1px solid #f8f5f0;
  text-decoration: none;
}

.dropdown-item:last-child a {
  border-bottom: none;
}

.dropdown-item a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold, #c9a227);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.18s;
}

.dropdown-item a:hover {
  color: var(--color-primary);
  background: #faf7f2;
  padding-left: 24px;
}

.dropdown-item a:hover::before {
  opacity: 1;
}

/* ============================================
   MEGA MENU — two-column: links + featured
   ============================================ */
.mega-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  width: min(860px, 92vw);
  border-radius: 18px;
  box-shadow: 0 16px 64px rgba(26,15,10,0.16), 0 2px 12px rgba(26,15,10,0.06);
  border: 1px solid rgba(0,0,0,0.07);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  z-index: 600;
  overflow: hidden;
  display: flex;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Left: link list */
.mega-links {
  flex: 0 0 220px;
  padding: 28px 0 24px;
  border-right: 1px solid #f3ede5;
}

.mega-links-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold, #c9a227);
  padding: 0 24px 12px;
  border-bottom: 1px solid #f3ede5;
  margin-bottom: 6px;
}

.mega-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-links ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-text, #333);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.18s;
  border-bottom: 1px solid #faf7f2;
}

.mega-links ul li:last-child a {
  border-bottom: none;
}

.mega-links ul li a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold, #c9a227);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.18s;
}

.mega-links ul li a:hover {
  color: var(--color-primary);
  background: #faf7f2;
  padding-left: 30px;
}

.mega-links ul li a:hover::before {
  opacity: 1;
}

/* Right: featured cards grid */
.mega-featured {
  flex: 1;
  padding: 28px 24px 24px;
}

.mega-featured-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted, #888);
  padding-bottom: 14px;
  border-bottom: 1px solid #f3ede5;
  margin-bottom: 18px;
}

.mega-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Compact icon+text card */
.mega-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f0ebe2;
  background: #fdfbf8;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
}

.mega-card-item:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(26,15,10,0.10);
  transform: translateY(-2px);
}

.mega-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3ede5;
}

.mega-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-card-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.mega-card-text span {
  font-size: 0.72rem;
  color: var(--color-text-muted, #888);
  display: block;
}

/* Legacy .mega-menu-grid / .mega-menu-card kept as fallback */
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mega-menu-card { text-align: center; cursor: pointer; transition: var(--transition); }
.mega-menu-card:hover { transform: translateY(-3px); }
.mega-menu-card-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; }
.mega-menu-card h4 { font-size: 0.78rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.mega-menu-card p { font-size: 0.7rem; color: var(--color-text-muted); }

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO SLIDER ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 560px;
}

.hero-slide {
  position: relative;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 15, 10, 0.75) 0%,
    rgba(26, 15, 10, 0.35) 55%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero-content {
  max-width: 520px;
  animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), #b8860b);
  color: var(--color-dark);
  padding: 13px 32px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201,162,39,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  padding: 12px 30px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.6);
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}

/* Swiper customization */
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
  color: var(--color-white);
  background: rgba(44, 24, 16, 0.55);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.hero-section .swiper-button-next::after,
.hero-section .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 700;
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
  background: var(--color-gold);
  color: var(--color-dark);
}

.hero-section .swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  width: 8px;
  height: 8px;
  opacity: 1;
  transition: var(--transition);
}

.hero-section .swiper-pagination-bullet-active {
  background: var(--color-gold);
  width: 24px;
  border-radius: 4px;
}

/* ---------- FEATURES STRIP ---------- */
.features-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--color-border);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-item:last-child {
  border-right: none;
}

.feature-item:hover {
  background: var(--color-bg-2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-bg-2), var(--color-border));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, var(--color-gold), var(--color-secondary));
  color: var(--color-white);
}

.feature-text h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.feature-text p {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* ---------- CATEGORIES ---------- */
.categories-section {
  padding: 70px 0 60px;
  background: var(--color-bg);
}

.categories-swiper {
  padding: 10px 4px 20px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 3/4;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,15,10,0.82) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: var(--transition);
}

.category-label {
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- PRODUCT CARD ---------- */
.product-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-bg-2);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.badge-sale,
.badge-new {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-sale {
  background: #c0392b;
  color: var(--color-white);
}

.badge-new {
  background: var(--color-gold);
  color: var(--color-dark);
}

.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 34px;
  height: 34px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-action-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.product-body {
  padding: 14px 14px 16px;
}

.product-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-title:hover {
  color: var(--color-gold);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stars {
  color: var(--color-gold);
  font-size: 0.72rem;
  display: flex;
  gap: 1px;
}

.rating-count {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}

.price-old {
  font-size: 0.78rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}

.add-to-cart-btn {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, var(--color-gold), #b8860b);
  color: var(--color-dark);
}

/* ---------- BEST SELLERS ---------- */
.best-sellers-section {
  padding: 70px 0;
  background: var(--color-white);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-header .section-title {
  margin-bottom: 0;
  text-align: left;
}

.section-header .section-title::after {
  margin: 12px 0 0;
}

.products-swiper {
  padding: 6px 4px 20px;
}

/* ---------- NEW ARRIVALS ---------- */
.new-arrivals-section {
  padding: 70px 0;
  background: var(--color-bg);
}

/* ---------- VIDEO SECTION ---------- */
.video-section {
  padding: 70px 0;
  background: var(--color-white);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.4rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,0,0,0.4);
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(26,15,10,0.85) 0%, transparent 100%);
}

.video-card-label h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-card-label span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}

/* ---------- PROMO BANNER ---------- */
.promo-banner-section {
  padding: 60px 0;
  background: var(--color-bg-2);
}

.promo-banner-full {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 340px;
  box-shadow: var(--shadow-lg);
}

.promo-banner-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner-full .promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26,15,10,0.8) 0%, rgba(26,15,10,0.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.promo-text-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  max-width: 450px;
  text-align: center;
}

.promo-text-box .logo-small {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.promo-text-box p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ---------- ABOUT/BRAND SECTION ---------- */
.brand-section {
  padding: 80px 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.brand-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
}

.brand-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.brand-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.brand-content h2 span {
  color: var(--color-gold);
}

.brand-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 14px;
}

.brand-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

.brand-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.brand-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.brand-img-wrap:first-child {
  grid-row: 1 / 3;
}

.brand-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- LUXURY PANJABI SECTION ---------- */
.luxury-section {
  padding: 70px 0;
  background: var(--color-bg);
}

.luxury-layout {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
}

/* The swiper column must have min-width:0 so Swiper can measure slide widths correctly */
.luxury-layout .swiper-outer {
  min-width: 0;
  flex: 1 1 0;
}

.luxury-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex: 0 0 280px;   /* never grow, never shrink, always 280px */
  width: 280px;
  align-self: stretch;
}

.luxury-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.luxury-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,15,10,0.85) 0%, rgba(26,15,10,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.luxury-banner-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.btn-view-all {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.btn-view-all:hover {
  background: var(--color-gold);
  color: var(--color-dark);
}

/* ---------- T-SHIRTS SECTION ---------- */
.tshirts-section {
  padding: 70px 0;
  background: var(--color-white);
}

/* ---------- POLO SECTION ---------- */
.polo-section {
  padding: 70px 0;
  background: var(--color-bg);
}

/* ---------- CUSTOMER REVIEWS ---------- */
.reviews-section {
  padding: 80px 0;
  background: var(--color-white);
}

.reviews-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-top: -28px;
  margin-bottom: 44px;
}

.review-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold-light);
}

.reviewer-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
}

.review-stars {
  color: var(--color-gold);
  font-size: 0.72rem;
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.reviews-swiper {
  padding: 6px 4px 20px;
}

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
  padding: 60px 0;
  background: var(--color-bg-2);
}

.newsletter-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--color-border);
}

.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.newsletter-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  min-width: 360px;
}

.newsletter-input {
  flex: 1;
  background: var(--color-bg-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 13px 20px;
  font-size: 0.85rem;
  color: var(--color-text);
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}

.newsletter-input::placeholder {
  color: var(--color-text-light);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand .logo-text .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-gold);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 0.9rem;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.footer-contact-item i {
  color: var(--color-gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-phone-big {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.footer-worktime {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.12);
}

.social-link:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--color-gold);
  font-size: 1rem;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.78rem;
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pay-icon {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ---------- SWIPER CUSTOM NAV ---------- */
.swiper-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition);
}

.swiper-nav-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.swiper-nav-prev { left: -16px; }
.swiper-nav-next { right: -16px; }

.swiper-outer {
  position: relative;
  padding: 0 10px;
}

/* ---------- MISC ---------- */
.py-section { padding: 70px 0; }

.text-gold { color: var(--color-gold); }

.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--color-bg-2); }
::-webkit-scrollbar-thumb { background: var(--color-brown-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;

  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  /* Gold gradient matching luxury theme */
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-secondary) 100%);
  color: var(--color-white);

  display: flex;
  align-items: center;
  justify-content: center;

  /* Shadow for elevation */
  box-shadow:
    0 4px 16px rgba(201, 162, 39, 0.40),
    0 2px 6px rgba(44, 24, 16, 0.20);

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);

  /* Smooth transitions */
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.2s ease;
}

/* Visible state */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Hover state */
.back-to-top:hover {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  box-shadow:
    0 8px 24px rgba(201, 162, 39, 0.55),
    0 3px 8px rgba(44, 24, 16, 0.25);
  transform: translateY(-3px) scale(1.08);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Active / click press */
.back-to-top:active {
  transform: translateY(0) scale(0.96);
  box-shadow:
    0 3px 10px rgba(201, 162, 39, 0.35),
    0 1px 4px rgba(44, 24, 16, 0.20);
}

/* Focus for keyboard accessibility */
.back-to-top:focus-visible {
  outline: 3px solid var(--color-gold-light);
  outline-offset: 3px;
}

/* Subtle inner highlight ring */
.back-to-top::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.back-to-top:hover::before {
  opacity: 0.6;
}

@media (max-width: 576px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   MOBILE SIDEBAR DRAWER
   ============================================ */

/* Overlay backdrop */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 3, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Drawer panel */
.sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  max-width: 360px;
  height: 100%;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 40px rgba(0,0,0,0.18);
  will-change: transform;
}

.sidebar-drawer.open {
  transform: translateX(0);
}

/* Header */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f0ece6;
  flex-shrink: 0;
  background: #fff;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.sidebar-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sidebar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sidebar-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.06em;
}

.sidebar-tagline {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e8e2d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.sidebar-close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Scrollable Nav area */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 0;
  /* leave space for footer */
  padding-bottom: 0;
}

.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: #e0d8cc; border-radius: 2px; }

/* Nav list */
.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each nav row */
.sidebar-item {
  border-bottom: 1px solid #f3ede5;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, color 0.18s;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.sidebar-link:hover,
.sidebar-link:active {
  background: #faf7f2;
  color: var(--color-gold-dark, #a07820);
}

/* Accordion arrow */
.sidebar-arrow {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.sidebar-item.open .sidebar-arrow {
  transform: rotate(180deg);
  color: var(--color-gold);
}

/* Submenu */
.sidebar-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: #faf7f2;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-item.open .sidebar-sub {
  max-height: 400px;
}

.sidebar-sub li {
  border-top: 1px solid #f0ebe1;
}

.sidebar-sub li:first-child {
  border-top: none;
}

.sidebar-sub a {
  display: block;
  padding: 12px 20px 12px 36px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s, padding-left 0.2s;
}

.sidebar-sub a:hover {
  color: var(--color-gold);
  padding-left: 42px;
}

/* Fixed Footer with Auth Buttons */
.sidebar-footer {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #f0ece6;
  background: #fff;
  flex-shrink: 0;
}

.sidebar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.sidebar-btn-login {
  background: #f3ede5;
  color: var(--color-primary);
  border: 1.5px solid #e0d5c4;
}

.sidebar-btn-login:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.sidebar-btn-register {
  background: var(--color-primary);
  color: #fff;
  border: 1.5px solid var(--color-primary);
}

.sidebar-btn-register:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-primary);
}

/* Body scroll lock now handled by html.body-locked via body-lock.js */
body.sidebar-open { /* scroll lock delegated to BodyLock utility */ }

/* ============================================
   MEGA MENU — Feature Image Variant
   (Left: wide text list | Right: tall image)
   ============================================ */

/* Wider panel for this variant */
.mega-menu--feature {
  width: min(760px, 92vw);
  align-items: stretch;
}

/* Wider left link list (no fixed 220px) */
.mega-links--wide {
  flex: 1;
  min-width: 220px;
}

.mega-links--wide ul li a {
  font-size: 0.9rem;
  font-weight: 400;
  color: #3a3a3a;
  padding: 11px 28px;
  border-bottom: 1px solid #f5f1eb;
  background: transparent;
  letter-spacing: 0.01em;
}

.mega-links--wide ul li a:hover {
  color: var(--color-primary);
  background: #faf7f2;
  padding-left: 36px;
  font-weight: 500;
}

/* Right: featured image column */
.mega-feature-img-wrap {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  background: #faf7f2;
  border-left: 1px solid #f0ebe2;
}

.mega-feature-img-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted, #888);
  padding-bottom: 14px;
  border-bottom: 1px solid #ece7de;
  margin-bottom: 18px;
}

.mega-feature-img-box {
  position: relative;
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  min-height: 280px;
}

.mega-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.mega-feature-img-box:hover .mega-feature-img {
  transform: scale(1.04);
}

/* Gradient overlay at bottom */
.mega-feature-img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 12, 6, 0.60) 0%,
    rgba(20, 12, 6, 0.15) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* "Shop Now" pill button */
.mega-feature-shop-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: background 0.22s, color 0.22s, transform 0.22s;
}

.mega-feature-shop-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
}

.mega-feature-shop-btn i {
  font-size: 0.72rem;
}


/* ============================================================
   QUICK VIEW SIDEBAR — v2
   ============================================================ */

/* Overlay */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 3, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.qv-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Sidebar Panel */
.qv-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(60vw, 1080px);
  height: 100vh;
  background: var(--color-bg);
  z-index: 8100;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  box-shadow: -12px 0 60px rgba(10, 5, 3, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.qv-sidebar.open {
  transform: translateX(0);
}

/* Breadcrumb strip at top */
.qv-breadcrumb {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: 52px;
  background: var(--color-dark);
  color: var(--color-gold-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 66px 12px 26px;
  margin: 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}
.qv-breadcrumb a { color: var(--color-gold-light); text-decoration: none; }
.qv-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.qv-crumb-sep { opacity: 0.55; margin: 0 2px; }
/* quick-view highlight heading / sub-heading (items 3 + 4) */
.qv-kicker { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg,#f7ecc8,#efdca0); color: #7a5c12; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 11px; border-radius: 20px; margin: 0 0 8px; }
.qv-subtitle { font-size: 0.9rem; color: #6b6456; font-weight: 500; line-height: 1.5; margin: 4px 0 2px; }
/* quick-view check-availability button (item 6) */
.qv-checkavail { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; background: #fff; border: 1.5px solid #d8c9a0; color: #8a6d1f; border-radius: 10px; padding: 12px; font-size: 0.82rem; font-weight: 700; cursor: pointer; margin: 4px 0 12px; transition: 0.15s; font-family: inherit; }
.qv-checkavail:hover { background: #faf5e8; border-color: var(--color-gold); color: #7a5c12; }

/* Close button — highlighted, top-right */
.qv-close {
  position: absolute;
  top: 8px;
  right: 16px;
  left: auto;
  width: 38px;
  height: 38px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--color-gold-light);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  border-radius: 50%;
}
.qv-close:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
  transform: rotate(90deg);
}

/* ── INNER: two-column grid ── */
.qv-inner {
  flex: 1;
  min-height: 0; /* allow the grid to shrink to the flex space so .qv-details can scroll instead of overflowing (fixes bottom crop) */
  display: grid;
  /* image column keeps its width; the product-details column takes the extra space */
  grid-template-columns: minmax(400px, 460px) 1fr;
  gap: 0;
  overflow: hidden;
}

/* ── GALLERY (left col) ── */
.qv-gallery {
  background: var(--color-bg-2);
  border-right: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ─── DESKTOP: vertical stack of images, scrollable ─── */
.qv-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 16px 12px 16px 16px;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
}
.qv-stack::-webkit-scrollbar { width: 3px; }
.qv-stack::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 3px; }

.qv-stack-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  cursor: zoom-in;
}
.qv-stack-img img {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.qv-stack-img:hover img {
  transform: scale(1.03);
}
.qv-stack-img .qv-stack-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,15,10,0.55) 0%, transparent 100%);
  padding: 28px 12px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.qv-stack-img:hover .qv-stack-label {
  opacity: 1;
}

/* MOBILE gallery – hidden on desktop */
.qv-mobile-gallery {
  display: none;
}

/* ── DETAILS (right col) ── */
.qv-details {
  overflow-y: auto;
  padding: 22px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
}
.qv-details::-webkit-scrollbar { width: 3px; }
.qv-details::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 3px; }

.qv-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.qv-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qv-stars {
  display: flex;
  gap: 2px;
}
.qv-stars i {
  color: var(--color-gold);
  font-size: 0.85rem;
}
.qv-reviews {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.qv-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.qv-price-current {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.qv-price-old {
  font-size: 0.95rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}
/* container for the discount % + status chips (mirrors the product-card badges) */
.qv-badge-sale {
  display: none;
  gap: 6px;
  background: none;
  padding: 0;
}
.qv-badge-sale.visible { display: inline-flex; flex-wrap: wrap; align-items: center; }

.qv-sku-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.79rem;
}
.qv-sku-label { color: var(--color-text-muted); }
.qv-sku-value { font-weight: 700; color: var(--color-primary); }

.qv-divider {
  height: 1px;
  background: var(--color-border);
  margin: 1px 0;
}

/* Option groups */
.qv-option-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.qv-option-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qv-option-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
}
.qv-option-selected {
  font-size: 0.79rem;
  color: var(--color-text-muted);
}
.qv-size-guide {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: rgba(139, 105, 20, 0.08);
  border: 1px solid rgba(139, 105, 20, 0.25);
  border-radius: 20px;
  padding: 3px 10px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.qv-size-guide:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

/* Color Swatches */
.qv-color-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.qv-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: var(--transition);
}
.qv-swatch:hover { transform: scale(1.15); }
.qv-swatch.active {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.4), 0 2px 10px rgba(0,0,0,0.2);
}

/* Size Buttons */
.qv-size-btns {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.qv-size-btn {
  min-width: 42px;
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qv-size-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.05);
}
.qv-size-btn.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* Quantity */
.qv-qty-row { display: flex; align-items: center; gap: 12px; }
.qv-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qv-qty-btn {
  width: 38px;
  height: 38px;
  background: var(--color-bg-2);
  border: none;
  font-size: 0.72rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.qv-qty-btn:hover { background: var(--color-gold); color: var(--color-dark); }
.qv-qty-val {
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  display: block;
  line-height: 38px;
}

/* Actions */
.qv-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.qv-add-to-cart {
  flex: 1;
  height: 50px;
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.qv-add-to-cart:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.qv-add-to-cart.added {
  background: linear-gradient(135deg, #4caf50, #388e3c) !important;
  color: #fff !important;
}

.qv-wishlist {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.qv-wishlist:hover,
.qv-wishlist.wishlisted {
  border-color: #e74c3c;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.06);
}

.qv-view-full {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  align-self: flex-start;
}
.qv-view-full:hover { color: var(--color-gold); gap: 8px; }

/* ─────────────────────────────────────────────
   SMART ZOOM BUTTON (replaces old zoom hint)
───────────────────────────────────────────── */
.qv-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  background: rgba(10, 5, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 30px;
  font-size: 0.68rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s, border-color 0.2s;
  pointer-events: none;
  z-index: 5;
  text-transform: uppercase;
}
.qv-zoom-btn i {
  font-size: 0.75rem;
  color: var(--color-gold);
}
.qv-img-main:hover .qv-zoom-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.qv-zoom-btn:hover {
  background: rgba(201, 162, 39, 0.85);
  border-color: var(--color-gold);
  color: var(--color-dark);
}
.qv-zoom-btn:hover i { color: var(--color-dark); }

/* Desktop stack zoom icon overlay */
.qv-stack-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 46px;
  height: 46px;
  background: rgba(10, 5, 0, 0.7);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(201, 162, 39, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.qv-stack-img:hover .qv-stack-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ─────────────────────────────────────────────
   CONTACT ACTION BUTTONS (Order / Call / WhatsApp / Messenger)
───────────────────────────────────────────── */
.qv-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.qv-contact-row {
  display: flex;
  gap: 8px;
}
.qv-contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  border: none;
  white-space: nowrap;
}
.qv-contact-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.qv-btn-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.qv-btn-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Order Now — dark + gold accent */
.qv-order-now {
  background: var(--color-dark);
  color: var(--color-gold-light);
  border: 1px solid rgba(201,162,39,0.4);
}
.qv-order-now .qv-btn-icon {
  background: rgba(201,162,39,0.15);
  color: var(--color-gold);
}
.qv-order-now:hover { box-shadow: 0 4px 16px rgba(201,162,39,0.25); color: var(--color-gold-light); }

/* Call Now — rich green */
.qv-call-now {
  background: #16422b;
  color: #a8f0c6;
  border: 1px solid rgba(50,180,100,0.3);
}
.qv-call-now .qv-btn-icon {
  background: rgba(50,180,100,0.18);
  color: #4ade80;
}
.qv-call-now:hover { box-shadow: 0 4px 16px rgba(30,130,60,0.35); color: #a8f0c6; }

/* WhatsApp */
.qv-whatsapp {
  background: #0d1f14;
  color: #86efac;
  border: 1px solid rgba(37,211,102,0.3);
}
.qv-whatsapp .qv-btn-icon {
  background: rgba(37,211,102,0.15);
  color: #25d366;
}
.qv-whatsapp:hover { box-shadow: 0 4px 16px rgba(37,211,102,0.2); color: #86efac; }

/* Messenger */
.qv-messenger {
  background: #0a1a3d;
  color: #93c5fd;
  border: 1px solid rgba(8,102,255,0.35);
}
.qv-messenger .qv-btn-icon {
  background: rgba(8,102,255,0.2);
  color: #60a5fa;
}
.qv-messenger:hover { box-shadow: 0 4px 16px rgba(8,102,255,0.3); color: #93c5fd; }


/* ─────────────────────────────────────────────
   DESKTOP TABS: Description / Delivery & Return
   (hidden on mobile via media query)
───────────────────────────────────────────── */
.qv-tabs-wrap {
  margin-top: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qv-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-2);
}
.qv-tab-btn {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.qv-tab-btn:hover {
  color: var(--color-primary);
}
.qv-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-gold);
  background: var(--color-white);
}

.qv-tab-panels {
  background: var(--color-white);
}
.qv-tab-panel {
  display: none;
  padding: 16px;
  animation: tabFadeIn 0.2s ease;
}
.qv-tab-panel.active {
  display: block;
  max-height: 240px;
  overflow-y: auto;
}
.qv-tab-panel.active::-webkit-scrollbar { width: 7px; }
.qv-tab-panel.active::-webkit-scrollbar-thumb { background: #d8ccbe; border-radius: 4px; }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.qv-tab-panel p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.qv-delivery-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qv-delivery-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.qv-delivery-list li > i {
  color: var(--color-gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}
.qv-delivery-list li > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.qv-delivery-list li strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
}
.qv-delivery-list li span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Body scroll lock now handled by html.body-locked via body-lock.js */
body.qv-open { /* scroll lock delegated to BodyLock utility */ }

/* ── MOBILE overrides ── */
@media (max-width: 768px) {
  .qv-sidebar {
    width: 100%;
    height: 92vh;
    top: auto;
    bottom: 0;
    right: 0;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }
  .qv-sidebar.open { transform: translateY(0); }
  .qv-breadcrumb { padding: 12px 60px 12px 20px; }

  /* Stack vertically on mobile */
  .qv-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) transparent;
  }

  /* Hide desktop stack; show mobile gallery */
  .qv-stack         { display: none; }
  .qv-mobile-gallery { display: flex; flex-direction: column; gap: 10px; }

  .qv-gallery {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    overflow: visible;
  }

  .qv-img-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e8ddd2;
  }
  .qv-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .qv-img-zoom-hint {
    display: none; /* replaced by qv-zoom-btn */
  }
  .qv-img-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .qv-thumb {
    width: 54px; height: 64px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
  }
  .qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .qv-thumb:hover, .qv-thumb.active {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(201,162,39,0.3);
  }

  .qv-details { padding: 16px 16px 28px; overflow: visible; }
  .qv-title { font-size: 1.05rem; }
  .qv-price-current { font-size: 1.35rem; }

  /* Hide desktop-only tabs on mobile */
  .qv-tabs-wrap { display: none !important; }
}

@media (max-width: 480px) {
  .qv-img-main { aspect-ratio: 16/10; }
}

/* ============================================================
   SIZE CHART POPUP MODAL
   ============================================================ */

.sc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 3, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sc-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.sc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  z-index: 9300;
  width: min(90vw, 720px);
  max-height: 85vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.sc-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.sc-modal-inner {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(10, 5, 3, 0.4);
  max-height: 85vh;
}

/* Header */
.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  background: var(--color-dark);
  border-bottom: 2px solid var(--color-gold);
  flex-shrink: 0;
}
.sc-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sc-header-left > i {
  font-size: 1.5rem;
  color: var(--color-gold);
}
.sc-header-left h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 2px;
}
.sc-header-left p {
  font-size: 0.73rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

.sc-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.sc-close:hover { background: var(--color-gold); color: var(--color-dark); border-color: var(--color-gold); }

/* Type tabs */
.sc-type-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-2);
  flex-shrink: 0;
}
.sc-type-btn {
  flex: 1;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.sc-type-btn:hover { color: var(--color-primary); }
.sc-type-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-gold);
  background: var(--color-white);
}

/* Table container */
.sc-table-wrap {
  display: none;
  overflow-x: auto;
  overflow-y: auto;
  flex: 1;
  padding: 20px 24px;
}
.sc-table-wrap.active { display: block; }

.sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.sc-table thead tr {
  background: var(--color-dark);
}
.sc-table thead th {
  padding: 11px 14px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  white-space: nowrap;
}
.sc-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s ease;
}
.sc-table tbody tr:last-child { border-bottom: none; }
.sc-table tbody tr:hover { background: rgba(201, 162, 39, 0.06); }
.sc-table td {
  padding: 11px 14px;
  color: var(--color-text);
  white-space: nowrap;
}
.sc-size-cell {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-primary) !important;
  background: rgba(201, 162, 39, 0.07);
  border-right: 2px solid rgba(201, 162, 39, 0.2);
}

/* Highlight selected size */
.sc-table tbody tr.sc-row-active {
  background: rgba(201, 162, 39, 0.12) !important;
}
.sc-table tbody tr.sc-row-active .sc-size-cell {
  color: var(--color-gold) !important;
}

/* Footer note */
.sc-note {
  flex-shrink: 0;
  padding: 14px 24px;
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sc-note i { color: var(--color-gold); margin-top: 2px; flex-shrink: 0; }
.sc-note strong { color: var(--color-primary); }

/* Mobile size chart */
@media (max-width: 600px) {
  .sc-modal { width: 96vw; }
  .sc-header { padding: 16px 18px; }
  .sc-table-wrap { padding: 14px 16px; }
  .sc-table { font-size: 0.76rem; }
  .sc-table th, .sc-table td { padding: 9px 10px; }
  .sc-note { padding: 12px 16px; }
}

/* QV + Cart sidebar transitions already set in base rules above */


/* ============================================================
   IMAGE LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 2, 0, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.24); }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-nav:hover { background: rgba(201,162,39,0.35); transform: translateY(-50%) scale(1.08); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 70px 100px 20px;
  box-sizing: border-box;
}
.lightbox-img-wrap {
  position: relative;
  max-width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.lightbox-loader.loading { opacity: 1; }
.lightbox-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(201,162,39,0.3);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: lbSpin 0.7s linear infinite;
}
@keyframes lbSpin { to { transform: rotate(360deg); } }
.lightbox-counter {
  margin-top: 14px;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
}
.lightbox-thumbs {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
  flex-shrink: 0;
}
.lightbox-thumbs::-webkit-scrollbar { height: 3px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 3px; }
.lb-thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  opacity: 0.65;
}
.lb-thumb:hover { opacity: 0.9; transform: scale(1.05); }
.lb-thumb.active { border-color: var(--color-gold); opacity: 1; }
.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@media (max-width: 600px) {
  .lightbox-main { padding: 60px 60px 10px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1rem; }
  .lb-thumb { width: 54px; height: 54px; }
}

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 3, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 8500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Cart Loader */
.cart-sidebar-loader {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cart-sidebar-loader.visible {
  opacity: 1;
  pointer-events: all;
}
.cart-loader-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid #f0e8d8;
  border-top-color: var(--color-primary, #5c2d0a);
  border-radius: 50%;
  animation: cartSpinner 0.7s linear infinite;
}
@keyframes cartSpinner {
  to { transform: rotate(360deg); }
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 100vw);
  height: 100dvh;
  height: 100vh;
  background: #fdfaf7;
  z-index: 8600;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 60px rgba(10,5,3,0.28);
  overflow: hidden;
  font-family: var(--font-body);
  opacity: 0;
}
.cart-sidebar.open {
  transform: translateX(0);
  opacity: 1;
}

/* Desktop: 60% width */
@media (min-width: 900px) {
  .cart-sidebar {
    width: 60%;
    max-width: 900px;
  }
}

/* Header */
.cart-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(92,45,10,0.1);
  background: var(--color-dark, #1a0a00);
  position: relative;
}
.cart-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary, #5c2d0a), var(--color-gold, #c9a227), var(--color-primary, #5c2d0a));
}
.cart-header-left { display: flex; align-items: baseline; gap: 10px; }
.cart-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
.cart-item-count {
  font-size: 0.75rem;
  color: var(--color-gold, #c9a227);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.cart-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #ccc;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cart-close:hover {
  background: var(--color-gold, #c9a227);
  color: #1a0a00;
  border-color: var(--color-gold, #c9a227);
}

/* Shipping progress bar */
.cart-shipping-bar {
  flex-shrink: 0;
  background: #f7f2ec;
  padding: 12px 20px 10px;
  border-bottom: 1px solid rgba(92,45,10,0.08);
}
.shipping-progress-wrap { margin-bottom: 6px; }
.shipping-progress-track {
  position: relative;
  height: 5px;
  background: #e8ddd0;
  border-radius: 99px;
  overflow: visible;
}
.shipping-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary, #5c2d0a), var(--color-gold, #c9a227));
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.shipping-truck {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  background: var(--color-primary, #5c2d0a);
  border-radius: 50%;
  border: 2px solid #fff;
  color: var(--color-gold, #c9a227);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(92,45,10,0.3);
}
.shipping-msg { font-size: 0.76rem; color: #7a5a3a; margin: 0; }
.shipping-msg strong { font-weight: 700; color: var(--color-primary, #5c2d0a); }

/* Cart body */
.cart-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d0b89a transparent;
  background: #fff;
}
.cart-body::-webkit-scrollbar { width: 3px; }
.cart-body::-webkit-scrollbar-thumb { background: #d0b89a; border-radius: 3px; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #bbb;
  text-align: center;
  gap: 12px;
}
.cart-empty i { font-size: 3.5rem; color: #e0d0bc; }
.cart-empty p { font-size: 1rem; font-weight: 700; color: #5c2d0a; margin: 0; font-family: var(--font-heading); letter-spacing: 0.05em; }
.cart-empty span { font-size: 0.8rem; color: #b0987a; }

/* Cart items list */
.cart-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #f0ece6;
  align-items: flex-start;
  animation: cartItemIn 0.3s ease;
  background: #fff;
  transition: background 0.2s;
}
.cart-item:hover { background: #fdf9f5; }
@keyframes cartItemIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cart-item-img {
  width: 82px;
  height: 98px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0ece8;
  box-shadow: 0 2px 8px rgba(10,5,3,0.1);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.87rem;
  font-weight: 600;
  color: #1a0a00;
  line-height: 1.4;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-variant {
  font-size: 0.72rem;
  color: #a08060;
  margin: 0 0 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid #e0d0bc;
  border-radius: 6px;
  overflow: hidden;
  background: #faf7f3;
}
.cart-item-qty button {
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  color: #5c2d0a;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.cart-item-qty button:hover { background: var(--color-primary, #5c2d0a); color: #fff; }
.cart-item-qty span {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a0a00;
}
.cart-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-primary, #5c2d0a);
}
.cart-item-remove {
  background: none;
  border: none;
  color: #c0a090;
  font-size: 0.7rem;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 0;
  margin-left: auto;
  align-self: flex-start;
  flex-shrink: 0;
  transition: color 0.2s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cart-item-remove:hover { color: #c0392b; }

/* Summary */
.cart-summary {
  flex-shrink: 0;
  padding: 18px 20px 12px;
  border-top: 2px solid #f0ece6;
  background: #fdfaf7;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.cart-subtotal-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cart-subtotal-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary, #5c2d0a);
  font-family: var(--font-heading);
}

/* CTA row */
.cart-cta-row {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  padding: 12px 20px 8px;
  background: #fdfaf7;
}
.cart-btn {
  flex: 1;
  height: 50px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: 2px solid #1a0a00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}
.cart-btn-view { background: #fff; color: #1a0a00; }
.cart-btn-view:hover { background: #1a0a00; color: #fff; }
.cart-btn-checkout {
  background: var(--color-primary, #5c2d0a);
  color: #fff;
  border-color: var(--color-primary, #5c2d0a);
}
.cart-btn-checkout:hover {
  background: var(--color-gold, #c9a227);
  border-color: var(--color-gold, #c9a227);
  color: #1a0a00;
}
.cart-btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; }

.cart-continue-btn {
  flex-shrink: 0;
  width: 100%;
  background: none;
  border: none;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: #a08060;
  cursor: pointer;
  padding: 2px 20px 16px;
  text-transform: uppercase;
  text-align: center;
  display: block;
  transition: color 0.2s;
  background: #fdfaf7;
}
.cart-continue-btn:hover { color: var(--color-primary, #5c2d0a); }

/* Recommendations */
.cart-recommendations {
  flex-shrink: 0;
  border-top: 1px solid #f0ece6;
  padding: 16px 20px;
  background: #faf5ef;
}
.cart-rec-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a08060;
  margin: 0 0 14px;
}
.cart-rec-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .cart-rec-list {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Hide 3rd item on mobile */
  .cart-rec-item:nth-child(n+3) {
    display: none;
  }
}
@media (min-width: 901px) {
  /* Show max 3 on desktop */
  .cart-rec-item:nth-child(n+4) {
    display: none;
  }
}
.cart-rec-item {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.cart-rec-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(92,45,10,0.15);
}
.cart-rec-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0ece8;
}
.cart-rec-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cart-rec-item:hover .cart-rec-img img { transform: scale(1.06); }
.cart-rec-info { padding: 8px 8px 10px; }
.cart-rec-name {
  font-size: 0.72rem;
  color: #3a1f0a;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-rec-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-primary, #5c2d0a);
}

/* Validation shake animation */
@keyframes cartShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.cart-shake { animation: cartShake 0.4s ease; }

/* QV add to cart validation error */
.qv-option-group.error .qv-option-label { color: #e74c3c; }
.qv-option-group.error .qv-size-btns,
.qv-option-group.error .qv-color-swatches {
  outline: 2px solid rgba(231,76,60,0.5);
  border-radius: 6px;
  padding: 4px;
  animation: cartShake 0.4s ease;
}


/* Zoom button on product card */
.product-action-btn[data-action="zoom"] { color: var(--color-primary); }


/* ── Cart sidebar mobile tweaks ── */
@media (max-width: 480px) {
  .cart-sidebar { width: 100vw; }
  .cart-cta-row { gap: 8px; }
  .cart-btn { font-size: 0.78rem; height: 46px; }
  .cart-item-img { width: 68px; height: 82px; }
}

/* ── QV add-to-cart error label style ── */
.qv-option-group.error .qv-option-label {
  color: #e74c3c !important;
  font-weight: 700;
}
.qv-option-group.error .qv-option-selected {
  color: #e74c3c;
}

/* ============================================================
   BODY LOCK — Jerk / Layout-shift prevention
   Uses padding-right to compensate for scrollbar width so the
   page content never shifts when the scrollbar disappears.
   ============================================================ */
:root {
  --scrollbar-width: 0px;
}

html.body-locked {
  overflow: hidden;
  /* Push content right by exactly the scrollbar width so nothing shifts */
  padding-right: var(--scrollbar-width);
  /* Prevent box-sizing from adding extra space */
  box-sizing: border-box;
}

/* Sticky header stays in flow so it adjusts automatically.
   Any truly position:fixed elements need this nudge: */
html.body-locked .qv-sidebar,
html.body-locked .cart-sidebar,
html.body-locked .qv-overlay,
html.body-locked .cart-overlay,
html.body-locked .lightbox-overlay,
html.body-locked #sidebarOverlay,
html.body-locked #sidebarDrawer {
  /* Fixed/absolute panels are NOT in flow — they must NOT get padding-right,
     they should stay full-width. No rule needed; they're outside the padding box. */
}

/* ============================================================
   PAGE LOADER — centre-screen spinner on initial page load
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-bg, #fdf8f3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-inner {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--color-gold, #c9a227);
  border-right-color: rgba(201,162,39,0.3);
  animation: loaderSpin 0.75s linear infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
.page-loader-logo {
  width: 32px;
  height: 32px;
  color: var(--color-primary, #5c2d0a);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
.page-loader-logo svg {
  width: 100%;
  height: 100%;
}
.page-loader-letter {
  font-family: var(--font-heading, inherit);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .5px;
  color: inherit;
  text-transform: uppercase;
}
.page-loader-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.92); }
}

/* ── Sidebar/QV transition centering aid: show a subtle loader while panel renders ── */
.qv-sidebar.loading::after,
.cart-sidebar.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--color-gold, #c9a227);
  animation: loaderSpin 0.65s linear infinite;
  pointer-events: none;
  z-index: 5;
}


/* ============================================================
   PRODUCT CARD — Redesigned Action Buttons (v4)
   ============================================================ */

/* Remove zoom button completely (already removed from HTML, but extra safety) */
.product-action-btn[data-action="zoom"] { display: none !important; }

/* Modern circular action buttons */
.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3;
}

.product-img-wrap:hover .product-actions,
.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(30,10,0,0.18);
  color: #5c2d0a;
  font-size: 0.9rem;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
  overflow: visible;
}

.product-action-btn:hover {
  background: var(--color-primary, #5c2d0a);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(92,45,10,0.35);
}

.product-action-btn[data-action="wishlist"].wishlisted {
  background: #e74c3c;
  color: #fff;
}

/* Staggered animation for individual buttons */
.product-action-btn:nth-child(1) { transition-delay: 0s; }
.product-action-btn:nth-child(2) { transition-delay: 0.04s; }

/* Tooltip */
.action-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a0a00;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translateY(-50%) translateX(4px);
}
.action-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a0a00;
}
.product-action-btn:hover .action-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


/* ============================================================
   AUTH MODAL — Premium Luxury Style
   ============================================================ */

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,5,2,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.auth-overlay.active { opacity: 1; pointer-events: all; }

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%) scale(0.96);
  width: min(480px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #fdfaf7;
  border-radius: 14px;
  z-index: 9900;
  padding: 32px 32px 28px;
  box-shadow: 0 32px 80px rgba(10,5,2,0.38);
  scrollbar-width: thin;
  scrollbar-color: #d0b89a transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.auth-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.auth-modal::-webkit-scrollbar { width: 3px; }
.auth-modal::-webkit-scrollbar-thumb { background: #d0b89a; border-radius: 3px; }

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0e8e0;
  border: none;
  color: #5c2d0a;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.auth-close:hover { background: #5c2d0a; color: #fff; }

.auth-brand {
  text-align: center;
  margin-bottom: 20px;
}
.auth-logo { height: 40px; width: auto; display: block; margin-left: auto; margin-right: auto; }

/* Tabs */
.auth-tabs {
  display: flex;
  border-bottom: 2px solid #e8ddd0;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a08060;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.auth-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-primary, #5c2d0a);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.auth-tab.active { color: var(--color-primary, #5c2d0a); }
.auth-tab.active::after { transform: scaleX(1); }

/* Panels */
.auth-panel { display: none; }
.auth-panel.active { display: block; }

/* Method toggle (email / mobile) */
.auth-method-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: #f0e8e0;
  border-radius: 8px;
  padding: 4px;
}
.auth-method-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #a08060;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.04em;
}
.auth-method-btn.active {
  background: var(--color-primary, #5c2d0a);
  color: #fff;
  box-shadow: 0 2px 8px rgba(92,45,10,0.25);
}

.auth-form-section { display: none; }
.auth-form-section.active { display: block; }

/* Fields */
.auth-field {
  margin-bottom: 16px;
}
.auth-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5a3a;
  margin-bottom: 6px;
}
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-wrap > i {
  position: absolute;
  left: 13px;
  color: #c0a080;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 1;
}
.auth-input-wrap input {
  width: 100%;
  height: 46px;
  border: 1.5px solid #e0d0bc;
  border-radius: 8px;
  padding: 0 42px 0 40px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: #1a0a00;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.auth-input-wrap input:focus {
  border-color: var(--color-primary, #5c2d0a);
  box-shadow: 0 0 0 3px rgba(92,45,10,0.1);
}
.auth-pw-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #c0a080;
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.auth-pw-toggle:hover { color: #5c2d0a; }

/* Extras row */
.auth-extras {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: #7a5a3a;
  cursor: pointer;
}
.auth-check input { accent-color: #5c2d0a; }
.auth-forgot-link {
  font-size: 0.8rem;
  color: var(--color-primary, #5c2d0a);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.auth-forgot-link:hover { opacity: 0.75; }

/* Submit button */
.auth-submit-btn {
  width: 100%;
  height: 50px;
  background: var(--color-primary, #5c2d0a);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s;
  font-family: var(--font-heading);
  margin-top: 4px;
}
.auth-submit-btn:hover {
  background: #1a0a00;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(92,45,10,0.3);
}

.auth-link-btn {
  display: block;
  text-align: center;
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--color-primary, #5c2d0a);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.auth-link-btn:hover { opacity: 0.7; }

/* Password strength */
.auth-pw-strength {
  height: 4px;
  background: #e8ddd0;
  border-radius: 99px;
  margin-top: 6px;
  overflow: hidden;
}
.auth-pw-bar {
  height: 100%;
  width: 0%;
  background: #e74c3c;
  border-radius: 99px;
  transition: width 0.3s ease, background 0.3s ease;
}

/* OTP inputs */
.auth-otp-section { margin-top: 20px; }
.auth-otp-hint { font-size: 0.82rem; color: #7a5a3a; margin-bottom: 16px; text-align: center; }
.auth-otp-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.otp-digit {
  width: 44px;
  height: 52px;
  border: 1.5px solid #e0d0bc;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a0a00;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-heading);
}
.otp-digit:focus {
  border-color: var(--color-primary, #5c2d0a);
  box-shadow: 0 0 0 3px rgba(92,45,10,0.12);
}

/* Forgot password panel */
.auth-forgot-header { margin-bottom: 22px; }
.auth-back-btn {
  background: none;
  border: none;
  color: var(--color-primary, #5c2d0a);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}
.auth-back-btn:hover { opacity: 0.7; }
.auth-forgot-header h3 { font-size: 1.1rem; color: #1a0a00; margin: 0 0 6px; font-family: var(--font-heading); }
.auth-forgot-header p { font-size: 0.82rem; color: #a08060; margin: 0; }

/* ============================================================
   RESPONSIVE: Cart + QV sidebar width on mobile
   ============================================================ */
@media (max-width: 900px) {
  .cart-sidebar { width: 90vw !important; max-width: none !important; }
  .qv-sidebar { width: 90vw !important; max-width: none !important; }
  .auth-modal { padding: 24px 20px 20px; }
}

/* ============================================================
   IMPROVED PRODUCT CARD — Spacing & Hover
   ============================================================ */
.product-card {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
  background: #fff;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(30,10,0,0.14);
  transform: translateY(-3px);
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f7f3ef;
}
.product-img-wrap img {
  transition: transform 0.42s cubic-bezier(0.22,1,0.36,1);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

/* ============================================================
   CART: Shipping bar moved AFTER subtotal (inside cart-summary)
   ============================================================ */
.cart-summary .cart-shipping-bar {
  flex-shrink: unset;
  background: transparent;
  border-bottom: none;
  padding: 12px 0 0;
  border-top: 1px solid #f0ece6;
  margin-top: 12px;
}
.cart-summary .cart-shipping-bar .shipping-msg {
  color: #7a5a3a;
  font-size: 0.74rem;
  margin-top: 6px;
}


/* ============================================================
   MOBILE BOTTOM NAVIGATION (v4)
   ============================================================ */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: #fff;
  border-top: 1px solid #e8ddd0;
  box-shadow: 0 -4px 20px rgba(30,10,0,0.12);
  height: 64px;
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 900px) {
  .mobile-bottom-nav { display: flex; }
  /* Add bottom padding to body so content isn't hidden behind nav */
  body { padding-bottom: 64px; }
}

.mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  color: #a08060;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  padding: 8px 4px;
  position: relative;
  font-family: var(--font-body);
}
.mbn-item.active, .mbn-item:hover { color: var(--color-primary, #5c2d0a); }
.mbn-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--color-primary, #5c2d0a);
  border-radius: 0 0 3px 3px;
}
.mbn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.mbn-item:hover .mbn-icon { transform: translateY(-2px); }

/* Search center button */
.mbn-search { position: relative; }
.mbn-search-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary, #5c2d0a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(92,45,10,0.35);
  position: absolute;
  top: -14px;
  border: 3px solid #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mbn-search-ring .mbn-icon { color: #fff; width: 20px; height: 20px; }
.mbn-search:hover .mbn-search-ring { transform: scale(1.08); box-shadow: 0 6px 18px rgba(92,45,10,0.42); }
.mbn-search > span:last-child { margin-top: 16px; }

/* Count badges on mbn */
.mbn-cart-count, .mbn-wishlist-count {
  position: absolute;
  top: 6px;
  right: calc(50% - 22px);
  background: #e74c3c;
  color: #fff;
  border-radius: 99px;
  font-size: 0.55rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  line-height: 1;
}

/* ── Mobile Search Overlay ── */
.mobile-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(10,5,2,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-search-overlay.active { opacity: 1; pointer-events: all; }
.mobile-search-box {
  width: 90vw;
  max-width: 480px;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(10,5,2,0.4);
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.mobile-search-overlay.active .mobile-search-box { transform: translateY(0); }
.mobile-search-close {
  background: none;
  border: none;
  color: #a08060;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.mobile-search-close:hover { color: var(--color-primary, #5c2d0a); }
.mobile-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #1a0a00;
  background: transparent;
}
.mobile-search-input::placeholder { color: #c0b0a0; }
.mobile-search-btn {
  background: var(--color-primary, #5c2d0a);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.mobile-search-btn:hover { background: #1a0a00; }

/* ============================================================
   TOPBAR — Mobile visibility
   ============================================================ */
@media (max-width: 900px) {
  .topbar-hide-mobile { display: none !important; }
  .topbar-inner { justify-content: space-between; }
  .topbar-left, .topbar-right { gap: 0; }
}

/* ============================================================
   WISHLIST SIDEBAR
   ============================================================ */

.wishlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,5,2,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.wishlist-overlay.active { opacity: 1; pointer-events: all; }

.wishlist-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 100vw);
  height: 100dvh;
  height: 100vh;
  background: #fdfaf7;
  z-index: 9300;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 60px rgba(10,5,3,0.28);
  overflow: hidden;
  font-family: var(--font-body);
}
.wishlist-sidebar.open { transform: translateX(0); opacity: 1; }
.wishlist-sidebar-loader {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.wishlist-sidebar-loader.visible { opacity: 1; pointer-events: all; }

@media (min-width: 900px) {
  .wishlist-sidebar { width: 60%; max-width: 900px; }
}
@media (max-width: 900px) {
  .wishlist-sidebar { width: 90vw !important; max-width: none !important; }
}

/* ============================================================
   Z-INDEX FIX — Cart above everything, header stays visible
   ============================================================ */

/* Header stays sticky at z-index 9000 */
/* Cart overlay: 9200, Cart sidebar: 9300 */
/* These are all BELOW the header z-index only when header is sticky */
/* Solution: header gets z-index > cart sidebar so it's always on top */

.site-header {
  z-index: 9500 !important; /* always above cart/wishlist sidebars */
}

.cart-overlay { z-index: 9200 !important; }
.cart-sidebar { z-index: 9300 !important; }
.wishlist-overlay { z-index: 9200 !important; }
.wishlist-sidebar { z-index: 9300 !important; }
.qv-overlay { z-index: 9100 !important; }
.qv-sidebar { z-index: 9150 !important; }
.lightbox-overlay { z-index: 99999 !important; }
.auth-overlay { z-index: 9800 !important; }
.auth-modal { z-index: 9900 !important; }

/* But when cart/wishlist/qv is open and body is locked, the sidebar
   slides in and header stays visually above the overlay backdrop */
html.body-locked .site-header { z-index: 9500 !important; }

/* QV sidebar — same width as cart sidebar */
.qv-sidebar {
  width: min(480px, 100vw) !important;
}
@media (min-width: 900px) {
  .qv-sidebar { width: 60% !important; max-width: 1080px !important; }
}
@media (max-width: 900px) {
  .qv-sidebar { width: 90vw !important; max-width: none !important; }
}

/* ============================================================
   MOBILE < 900px: Body bottom padding for bottom nav
   ============================================================ */
@media (max-width: 900px) {
  body.shop-page { padding-bottom: 64px; }
}


/* ============================================================
   V7 UPDATES
   ============================================================ */

/* ── TASK 1: Mobile Bottom Nav — 4 items (no Filter) ── */
/* Remove filter button styles — handled by removing from HTML */
/* Adjust 4-item layout */
@media (max-width: 900px) {
  .mobile-bottom-nav { display: flex; }
  /* 4 equal items; search ring stays centred */
  .mbn-item { flex: 1; }
}

/* ── TASK 3: Category cards — product count badge ── */
.category-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,0,0.72) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 14px;
  transition: background 0.3s;
}
.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(26,10,0,0.85) 0%, rgba(26,10,0,0.2) 100%);
}
.category-label {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
.category-count {
  display: inline-block;
  margin-top: 5px;
  background: var(--color-gold, #c9a227);
  color: #1a0a00;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── TASK 4: Sidebar widths — desktop 60%, mobile 100% ── */
/* Cart Sidebar */
.cart-sidebar {
  width: 100vw !important;
  transition: transform 0.42s cubic-bezier(0.22,1,0.36,1), opacity 0.42s ease !important;
}
.cart-sidebar.open { transform: translateX(0) !important; opacity: 1 !important; }

@media (min-width: 900px) {
  .cart-sidebar { width: 60% !important; max-width: 900px !important; }
}
@media (max-width: 899px) {
  .cart-sidebar { width: 100vw !important; }
}

/* QV Sidebar */
.qv-sidebar {
  transition: transform 0.42s cubic-bezier(0.22,1,0.36,1) !important;
}
@media (min-width: 900px) {
  .qv-sidebar { width: 60% !important; max-width: 1080px !important; }
}
@media (max-width: 899px) {
  .qv-sidebar { width: 100vw !important; max-width: none !important; }
}

/* Wishlist Sidebar */
@media (min-width: 900px) {
  .wishlist-sidebar { width: 60% !important; max-width: 900px !important; }
}
@media (max-width: 899px) {
  .wishlist-sidebar { width: 100vw !important; max-width: none !important; }
}

/* Loader visible on all sidebars */
.cart-sidebar-loader.visible,
.wishlist-sidebar-loader.visible { opacity: 1 !important; pointer-events: all !important; }

/* ── TASK 5: Remove search from mobile header ── */
@media (max-width: 900px) {
  .header-search { display: none !important; }
  /* Push hamburger + icons to edges cleanly */
  .header-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .header-left { flex: 0 0 auto !important; }
  .header-icons { flex: 0 0 auto !important; gap: 4px !important; }
  /* Center logo absolutely */
  .site-logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* ── TASK 6: Header z-index behind sidebar (mobile drawer) ── */
/* Mobile sidebar drawer goes OVER header when open */
.sidebar-drawer {
  z-index: 10500 !important;
}
.sidebar-overlay {
  z-index: 10400 !important;
}
/* Header is sticky at 9500, sidebars open OVER it on click */
/* Cart/QV/Wishlist should appear over header too */
.cart-overlay, .wishlist-overlay, .qv-overlay { z-index: 10100 !important; }
.cart-sidebar, .wishlist-sidebar { z-index: 10200 !important; }
.qv-sidebar { z-index: 10150 !important; }
.auth-overlay { z-index: 10800 !important; }
.auth-modal { z-index: 10900 !important; }
.track-overlay { z-index: 10800 !important; }
.track-modal { z-index: 10900 !important; }

/* Header stays visible but sidebars overlay it on mobile */
.site-header { z-index: 9500 !important; }

/* ── TASK 7: Track Order Modal ── */
.track-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,5,2,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.track-overlay.active { opacity: 1; pointer-events: all; }

.track-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%) scale(0.95);
  width: min(580px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #fdfaf7;
  border-radius: 20px;
  z-index: 10900;
  padding: 44px 40px 36px;
  box-shadow: 0 40px 100px rgba(10,5,2,0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  scrollbar-width: thin;
  scrollbar-color: #d0b89a transparent;
}
.track-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.track-modal::-webkit-scrollbar { width: 3px; }
.track-modal::-webkit-scrollbar-thumb { background: #d0b89a; border-radius: 3px; }

.track-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f0e8e0;
  border: none;
  color: #5c2d0a;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.track-close:hover { background: #5c2d0a; color: #fff; }

.track-modal-header { text-align: center; margin-bottom: 32px; }
.track-modal-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c2d0a, #c9a227);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  margin: 0 auto 16px;
  box-shadow: 0 8px 28px rgba(92,45,10,0.3);
}
.track-modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a0a00;
  margin: 0 0 8px;
}
.track-modal-header p { font-size: 0.85rem; color: #a08060; margin: 0; }

.track-search-wrap { margin-bottom: 28px; }
.track-input-group {
  display: flex;
  align-items: center;
  border: 2px solid #e0d0bc;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.track-input-group:focus-within {
  border-color: var(--color-primary, #5c2d0a);
  box-shadow: 0 0 0 4px rgba(92,45,10,0.1);
}
.track-input-group > i {
  padding: 0 14px;
  color: #c0a080;
  font-size: 1rem;
  flex-shrink: 0;
}
.track-input-group input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #1a0a00;
  background: transparent;
  min-width: 0;
}
.track-input-group input::placeholder { color: #c0b0a0; }
.track-search-btn {
  background: var(--color-primary, #5c2d0a);
  border: none;
  color: #fff;
  padding: 0 24px;
  height: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-heading);
  transition: background 0.2s;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.track-search-btn:hover { background: #1a0a00; }

.track-hint {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #a08060;
  text-align: center;
}
.track-sample {
  color: var(--color-primary, #5c2d0a);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.track-sample:hover { opacity: 0.7; }

/* Track Order Meta */
.track-order-meta {
  background: linear-gradient(135deg, #1a0a00, #3a1810);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.track-meta-item { }
.track-meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  display: block;
}
.track-meta-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.track-meta-value.status-delivered { color: var(--color-gold, #c9a227); }
.track-meta-value.status-transit { color: #7fbbff; }
.track-meta-value.status-processing { color: #ffbe5b; }

/* Track Timeline */
.track-timeline { padding: 0 4px; }
.track-timeline-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a08060;
  margin-bottom: 20px;
}
.timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  width: 2px;
  bottom: 0;
  background: #e8ddd0;
}
.timeline-item:last-child::before { display: none; }
.timeline-item.completed::before { background: linear-gradient(to bottom, var(--color-gold, #c9a227), #e8ddd0); }

.timeline-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f0e8e0;
  border: 2px solid #e0d0bc;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #c0b0a0;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.timeline-item.completed .timeline-dot {
  background: linear-gradient(135deg, #5c2d0a, #c9a227);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(92,45,10,0.3);
}
.timeline-item.active .timeline-dot {
  background: #1a0a00;
  border-color: var(--color-gold, #c9a227);
  color: var(--color-gold, #c9a227);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.2);
  animation: timelinePulse 2s ease-in-out infinite;
}
@keyframes timelinePulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(201,162,39,0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(201,162,39,0.08); }
}

.timeline-content { flex: 1; padding-top: 4px; }
.timeline-status {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a0a00;
  margin: 0 0 3px;
}
.timeline-item.completed .timeline-status { color: var(--color-primary, #5c2d0a); }
.timeline-item.active .timeline-status { color: var(--color-gold, #c9a227); }
.timeline-desc { font-size: 0.78rem; color: #888; margin: 0 0 4px; line-height: 1.45; }
.timeline-date { font-size: 0.72rem; color: #c0b0a0; font-weight: 600; }

.track-error {
  text-align: center;
  padding: 32px 20px;
  color: #c0392b;
}
.track-error i { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.track-error p { font-size: 0.88rem; color: #888; margin: 0; }

@media (max-width: 540px) {
  .track-modal { padding: 36px 20px 28px; }
  .track-modal-header h2 { font-size: 1.2rem; }
  .track-order-meta { grid-template-columns: 1fr; gap: 10px; }
  .track-search-btn { padding: 0 16px; font-size: 0.8rem; }
}

/* ── TASK 8: Brand Parallax Section ── */
.brand-parallax-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.brand-parallax-bg {
  position: absolute;
  inset: -60px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
  transition: transform 0s linear;
}
@media (max-width: 768px) {
  /* Fixed attachment can be buggy on mobile */
  .brand-parallax-bg { background-attachment: scroll; inset: 0; }
}
.brand-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,10,0,0.84) 0%,
    rgba(92,45,10,0.70) 50%,
    rgba(26,10,0,0.80) 100%
  );
}
.brand-parallax-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.brand-parallax-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold, #c9a227);
  border: 1px solid rgba(201,162,39,0.4);
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 24px;
}
.brand-parallax-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 20px;
}
.brand-parallax-title span {
  color: var(--color-gold, #c9a227);
  font-style: italic;
}
.brand-parallax-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.brand-parallax-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.bps-item { text-align: center; padding: 0 32px; }
.bps-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold, #c9a227);
  line-height: 1;
  margin-bottom: 4px;
}
.bps-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.bps-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.brand-parallax-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-gold, #c9a227);
  color: #1a0a00;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-heading);
  transition: all 0.25s;
  box-shadow: 0 8px 28px rgba(201,162,39,0.35);
}
.brand-parallax-cta:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(201,162,39,0.45);
}
@media (max-width: 600px) {
  .brand-parallax-section { padding: 70px 0 60px; min-height: 420px; }
  .bps-item { padding: 0 16px; }
  .bps-number { font-size: 1.5rem; }
  .bps-divider { height: 30px; }
  .brand-parallax-stats { gap: 10px 0; }
}

/* ── TASK 9: Footer Accordion (mobile only) ── */
.footer-acc-arrow {
  float: right;
  transition: transform 0.3s ease;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
}
.footer-accordion.open .footer-acc-arrow { transform: rotate(180deg); }

.footer-accordion-body {
  overflow: hidden;
  max-height: 400px; /* open by default on desktop */
  transition: max-height 0.35s ease;
}

@media (max-width: 768px) {
  .footer-accordion-toggle {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 0 !important;
  }
  .footer-accordion-body {
    max-height: 0; /* collapsed on mobile */
    overflow: hidden;
  }
  .footer-accordion.open .footer-accordion-body {
    max-height: 400px;
  }
  .footer-accordion .footer-links {
    padding: 10px 0 16px;
  }
  .footer-acc-arrow { display: inline-block; }
}
@media (min-width: 769px) {
  .footer-acc-arrow { display: none; }
  .footer-accordion-toggle { cursor: default; }
  .footer-accordion-body { max-height: none !important; }
}

/* ── Shop page: 5-item bottom nav (includes Filter) ── */
.shop-page .mobile-bottom-nav {
  /* show 5 items including filter on shop page */
}
/* Filter nav button - visible only on shop page */
.mbn-filter-shop { display: flex; }

/* On index page, mbnFilter is gone from HTML so no issue */
/* Ensure 4-item nav on index has even spacing */
.mobile-bottom-nav:not(.shop-nav) .mbn-search-ring {
  top: -18px;
}

/* Fix: ensure mbn-search ring is centred for 4-item nav */
@media (max-width: 900px) {
  .mobile-bottom-nav .mbn-search {
    position: relative;
    padding-top: 0;
  }
  .mobile-bottom-nav .mbn-search > span:last-child {
    margin-top: 18px;
  }
}


/* Carousel spacing + overlay navigation update */
.categories-swiper,
.products-swiper {
  padding: 6px 0 20px !important;
}
.swiper-outer {
  padding: 0 !important;
  overflow: visible;
}
.categories-swiper .swiper-slide,
.products-swiper .swiper-slide {
  height: auto;
}
.swiper-nav-btn {
  width: 54px !important;
  height: 54px !important;
  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(26,15,10,0.08) !important;
  box-shadow: 0 6px 18px rgba(26,15,10,0.14) !important;
  color: var(--color-primary) !important;
  z-index: 30 !important;
}
.swiper-nav-btn:hover {
  background: var(--color-gold) !important;
  color: var(--color-white) !important;
  border-color: var(--color-gold) !important;
}
.swiper-nav-prev { left: 12px !important; }
.swiper-nav-next { right: 12px !important; }
.products-swiper ~ .swiper-nav-btn { top: 38% !important; }
.categories-swiper ~ .swiper-nav-btn { top: 50% !important; }
.swiper-nav-btn.swiper-button-disabled,
.swiper-nav-btn.swiper-button-lock {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 767px) {
  .swiper-nav-btn {
    width: 44px !important;
    height: 44px !important;
  }
  .swiper-nav-prev { left: 6px !important; }
  .swiper-nav-next { right: 6px !important; }
}
