/* ============================================
   ACTV — Premium Men's Fashion E-Commerce
   Design System & Global Styles
   ============================================ */

:root {
  --primary: #8BC53F;
  --primary-dark: #6FA032;
  --primary-light: #A8D94A;
  --accent-red: #E53935;
  --accent-red-dark: #C62828;
  --black: #1A1A1A;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 72px;
  --topbar-height: 38px;
  --sticky-header-height: calc(var(--topbar-height) + var(--header-height));
  --container-max: 1440px;
  --section-padding: 80px;
}

/* Dark Mode (Default) — :root fallback for production cache / FOUC */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg-body: #0A0A0A;
  --bg-surface: #141414;
  --bg-elevated: #1E1E1E;
  --bg-muted: #111111;
  --bg-input: #1A1A1A;
  --bg-overlay: rgba(10,10,10,0.98);
  --secondary-white: #FFFFFF;
  --secondary-grey: #111111;
  --secondary-grey-mid: #2A2A2A;
  --secondary-grey-dark: #666666;
  --black-soft: #2D2D2D;
  --text-primary: #F0F0F0;
  --text-secondary: #AAAAAA;
  --text-muted: #666666;
  --text-on-primary: #0A0A0A;
  --border: #2A2A2A;
  --header-scrolled-bg: rgba(10, 10, 10, 0.78);
  --header-glass-border: rgba(0, 0, 0, 0.35);
  --header-glass-blur: blur(20px) saturate(180%);
  --header-glass-shadow: 0 4px 28px rgba(0, 0, 0, 0.38);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --card-bg: #141414;
  --footer-bg: #050505;
  --hero-text: #FFFFFF;
  --badge-new-bg: #F0F0F0;
  --badge-new-text: #0A0A0A;
  --btn-outline-color: #F0F0F0;
  --loader-bg: #0A0A0A;
  --search-bg: rgba(10,10,10,0.98);
  --overlay-bg: rgba(0,0,0,0.6);
}

/* Light Mode */
[data-theme="light"] {
  color-scheme: light;
  --bg-body: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F5F5F5;
  --bg-muted: #F5F5F5;
  --bg-input: #FFFFFF;
  --bg-overlay: rgba(255,255,255,0.98);
  --secondary-white: #FFFFFF;
  --secondary-grey: #F5F5F5;
  --secondary-grey-mid: #E0E0E0;
  --secondary-grey-dark: #9E9E9E;
  --black-soft: #2D2D2D;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-on-primary: #1A1A1A;
  --border: #E8E8E8;
  --header-scrolled-bg: rgba(255, 255, 255, 0.78);
  --header-glass-border: rgba(0, 0, 0, 0.06);
  --header-glass-blur: blur(20px) saturate(180%);
  --header-glass-shadow: 0 4px 28px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --card-bg: #FFFFFF;
  --footer-bg: #1A1A1A;
  --hero-text: #FFFFFF;
  --badge-new-bg: #1A1A1A;
  --badge-new-text: #FFFFFF;
  --btn-outline-color: #1A1A1A;
  --loader-bg: #FFFFFF;
  --search-bg: rgba(255,255,255,0.98);
  --overlay-bg: rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--secondary-white);
}
.btn-add-cart.is-loading,
.btn-card-add-cart.is-loading,
.btn.is-loading,
.account-form-submit.is-loading,
.account-auth-submit.is-loading,
#place_order.is-loading,
.cart-page-coupon-btn.is-loading,
#checkoutApplyCoupon.is-loading,
#miniCartApplyCoupon.is-loading {
  pointer-events: none;
}
.btn-loading-dots,
.btn-add-cart-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 1em;
}
.btn-loading-dots span,
.btn-add-cart-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: btnAddCartDotBlink 1s ease-in-out infinite;
}
.btn-loading-dots span:nth-child(2),
.btn-add-cart-dots span:nth-child(2) {
  animation-delay: 0.15s;
}
.btn-loading-dots span:nth-child(3),
.btn-add-cart-dots span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes btnAddCartDotBlink {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.btn-outline {
  background: transparent;
  color: var(--btn-outline-color);
  border-color: var(--btn-outline-color);
}
.btn-outline:hover {
  background: var(--btn-outline-color);
  color: var(--bg-body);
}

.btn-outline-white {
  background: transparent;
  color: var(--secondary-white);
  border-color: var(--secondary-white);
}
.btn-outline-white:hover {
  background: var(--secondary-white);
  color: var(--black);
}

.btn-ghost {
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
}
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }

.btn-sm { padding: 10px 20px; font-size: 11px; }
.btn-block { width: 100%; }

/* ---- Campaign Topbar Marquee ---- */
.site-header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: visible;
}

.campaign-topbar {
  height: var(--topbar-height);
  background: var(--primary);
  color: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  animation: marqueeScroll 30s linear infinite;
  padding-left: 48px;
}

.marquee-track span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-track .marquee-dot {
  font-size: 8px;
  opacity: 0.6;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ---- Header ---- */
.header {
  position: relative;
  width: 100%;
  height: var(--header-height);
  transition: all var(--transition);
  overflow: visible;
}

.header.scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: var(--header-glass-blur);
  -webkit-backdrop-filter: var(--header-glass-blur);
  box-shadow: var(--header-glass-shadow);
  border-bottom: 1px solid var(--header-glass-border);
}

.site-header-sticky.is-scrolled .header.scrolled {
  isolation: isolate;
}

.header.transparent { background: transparent; }
.header.transparent .nav-link { color: var(--hero-text, #FFFFFF); }
.header.transparent .header-icon { color: var(--hero-text, #FFFFFF); }
.header.transparent.scrolled .nav-link { color: var(--text-primary); }
.header.transparent.scrolled .header-icon { color: var(--text-primary); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.logo img { height: 40px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 36px; }

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--primary); }

/* =============================================
   Mega Menu — Categories
   ============================================= */

.nav-item-has-mega {
  position: static;
  display: inline-flex;
  align-items: center;
}

.nav-item-has-mega > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-mega-chevron {
  font-size: 9px;
  transition: transform var(--transition);
}

.nav-item-has-mega.is-open > .nav-link .nav-mega-chevron {
  transform: rotate(180deg);
}

.nav-item-has-mega.is-open > .nav-link {
  color: var(--primary);
}

.nav-item-has-mega.is-open > .nav-link::after {
  width: 100%;
}

/* The dropdown panel — full width below sticky header */
.site-header-sticky > .nav-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 999;
  background: var(--bg-surface);
  border-top: 2px solid var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}

/* Light mode: explicit white background */
[data-theme="light"] .site-header-sticky > .nav-mega {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.site-header-sticky.is-mega-open > .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mega-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px 24px 28px;
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Category card inside mega menu */
.nav-mega-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  cursor: pointer;
  transition: box-shadow var(--transition);
}

.nav-mega-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nav-mega-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-elevated);
}

.nav-mega-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-mega-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-muted) 100%);
}

/* Default dark overlay */
.nav-mega-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  transition: background 0.35s ease;
  pointer-events: none;
}

/* Hover: green gradient overlay from bottom */
.nav-mega-card:hover .nav-mega-card-img::after {
  background: linear-gradient(to top,
    rgba(139,197,63,0.85) 0%,
    rgba(139,197,63,0.35) 45%,
    transparent 100%
  );
}

.nav-mega-card-num {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.nav-mega-card:hover .nav-mega-card-num { color: var(--primary); }

.nav-mega-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-mega-card-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.nav-mega-card-count {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* Footer with "View More" button */
.nav-mega-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.nav-mega-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--text-on-primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-mega-more:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: #0A0A0A;
}

.nav-mega-more i { font-size: 10px; transition: transform var(--transition); }
.nav-mega-more:hover i { transform: translateX(4px); }

/* Header gets the same solid background as the mega menu when open */
.site-header-sticky.is-mega-open .header,
.header.mega-open,
.header:has(.nav-item-has-mega.is-open) {
  background: var(--bg-surface) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none;
  box-shadow: none;
}

[data-theme="light"] .site-header-sticky.is-mega-open .header,
[data-theme="light"] .header.mega-open,
[data-theme="light"] .header:has(.nav-item-has-mega.is-open) {
  background: #ffffff !important;
}

.site-header-sticky.is-mega-open .header .nav-link,
.header.mega-open .nav-link,
.header:has(.nav-item-has-mega.is-open) .nav-link,
.site-header-sticky.is-mega-open .header .header-icon,
.header.mega-open .header-icon,
.header:has(.nav-item-has-mega.is-open) .header-icon,
.site-header-sticky.is-mega-open .header .theme-toggle,
.header.mega-open .theme-toggle,
.header:has(.nav-item-has-mega.is-open) .theme-toggle {
  color: var(--text-primary);
}

/* Transparent header state */
.header.transparent:not(.scrolled) .nav-item-has-mega > .nav-link {
  color: var(--hero-text, #fff);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-primary);
  font-size: 18px;
  transition: color var(--transition);
}
.header-icon:hover { color: var(--primary); }

.theme-toggle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 16px;
  border-radius: 50%;
  transition: all var(--transition);
}
.theme-toggle:hover {
  color: var(--primary);
  background: var(--bg-elevated);
}
.theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: block; }
.header.transparent .theme-toggle { color: var(--hero-text, #FFFFFF); }
.header.transparent.scrolled .theme-toggle { color: var(--text-primary); }
[data-theme="light"] .header.transparent:not(.scrolled) .nav-link,
[data-theme="light"] .header.transparent:not(.scrolled) .header-icon,
[data-theme="light"] .header.transparent:not(.scrolled) .theme-toggle,
[data-theme="light"] .header.transparent:not(.scrolled) .menu-toggle span {
  color: var(--hero-text, #FFFFFF);
}
[data-theme="light"] .header.transparent:not(.scrolled) .menu-toggle span {
  background: var(--hero-text, #FFFFFF);
}

.cart-toggle { position: relative; }
.cart-toggle i {
  font-size: 18px;
  line-height: 1;
  display: block;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: var(--text-on-primary);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}
.header.transparent .menu-toggle span { background: var(--hero-text, #FFFFFF); }
.header.transparent.scrolled .menu-toggle span { background: var(--text-primary); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 1001;
  padding: 100px 40px 40px;
  transition: right var(--transition);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }

.mobile-nav-link {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-link:hover { color: var(--primary); }
.mobile-nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* ---- Hero Slider ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}
.hero-slide.active .hero-tag { opacity: 1; transform: translateY(0); }

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: var(--secondary-white);
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
}
.hero-slide.active .hero-title { opacity: 1; transform: translateY(0); }

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.7s;
}
.hero-slide.active .hero-desc { opacity: 1; transform: translateY(0); }

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.9s;
}
.hero-slide.active .hero-cta { opacity: 1; transform: translateY(0); }

.hero-nav {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 40px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
}
.hero-dot.active { background: var(--primary); width: 60px; }

.hero-arrows {
  position: absolute;
  bottom: 40px;
  left: 48px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--secondary-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}

/* ---- Campaign Banners ---- */
.campaign-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
  display: block;
}

.campaign-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.campaign-banner:hover img { transform: scale(1.03); }

.campaign-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 48px;
}

.campaign-content { color: var(--secondary-white); }
.campaign-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.campaign-title {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* ---- Campaign Triple (3-Column Banner) ---- */
.campaign-triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  min-height: 480px;
}

.campaign-triple-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  background: var(--bg-elevated);
}

.campaign-triple-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.campaign-triple-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.campaign-triple-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 320px;
}

.btn-campaign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 14px 36px;
  background: var(--text-primary);
  color: var(--bg-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all var(--transition);
}
.btn-campaign:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}

.campaign-triple-image {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 320px;
}
.campaign-triple-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.campaign-triple-image:hover img {
  transform: scale(1.04);
}

/* ---- Category Cards ---- */
.section { padding: var(--section-padding) 0; }
.section-grey { background: var(--bg-muted); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img { transform: scale(1.06); }

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background var(--transition);
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(139,197,63,0.85) 0%, rgba(0,0,0,0.3) 60%);
}

.category-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-white);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.category-count {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ---- Product Cards ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.shop-main .product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card.is-filtered-out { display: none !important; }

.product-grid.is-list-view {
  grid-template-columns: 1fr;
}
.product-grid.is-list-view .product-card {
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
}
.product-grid.is-list-view .product-image-wrap {
  width: 220px;
  flex-shrink: 0;
  margin-bottom: 0;
  aspect-ratio: 3/4;
}
.product-grid.is-list-view .product-card-info {
  justify-content: center;
  padding: 20px 0;
  min-height: 100%;
}
.product-grid.is-list-view .product-info-link {
  flex: 0;
}
.product-grid.is-list-view .btn-card-add-cart,
.product-grid.is-list-view .btn-card-view-product {
  max-width: 300px;
  margin-top: auto;
}

.product-excerpt {
  display: none;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 10px 0 16px;
}
.product-grid.is-list-view .product-excerpt {
  display: block;
}

.filter-empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}
.filter-empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  color: var(--text-muted);
}
.filter-empty-state p { margin-bottom: 20px; font-size: 16px; }

.subcategory-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-elevated);
  margin-bottom: 16px;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}
.badge-new { background: var(--badge-new-bg); color: var(--badge-new-text); }
.badge-sale { background: var(--accent-red); color: #FFFFFF; }
.badge-bestseller { background: var(--primary); color: var(--text-on-primary); }

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.product-card:hover .product-wishlist { opacity: 1; transform: translateY(0); }
.product-wishlist:hover { color: var(--accent-red); }
.product-wishlist.active { color: var(--accent-red); opacity: 1; transform: translateY(0); }
.product-wishlist.active i { animation: heartPop 0.4s ease; }

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.product-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: rgba(26,26,26,0.92);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--transition);
  z-index: 3;
  width: 100%;
}
.product-card:hover .product-quick-view { transform: translateY(0); }
.product-quick-view:hover { background: var(--primary); color: var(--text-on-primary); }

.product-img-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info-link {
  display: block;
  color: inherit;
  flex: 1;
}

.btn-card-add-cart,
.btn-card-view-product {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-card-add-cart:hover,
.btn-card-view-product:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}
[data-theme="light"] .btn-card-add-cart,
[data-theme="light"] .btn-card-view-product {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #FFFFFF;
}
[data-theme="light"] .btn-card-add-cart:hover,
[data-theme="light"] .btn-card-view-product:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}

.product-category {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.product-card:hover .product-name { color: var(--primary-dark); }

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-current {
  font-size: 15px;
  font-weight: 700;
}
.price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-sale { color: var(--accent-red); }

.product-colors {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition);
}
.color-dot:hover { transform: scale(1.2); }

/* ---- Brand Story ---- */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.brand-story-image {
  position: relative;
  overflow: hidden;
}
.brand-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  background: var(--footer-bg);
  color: var(--hero-text);
}

.brand-story-content .section-label { color: var(--primary); }
.brand-story-content .section-title { color: var(--hero-text); }
.brand-story-text {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}
[data-theme="light"] .brand-story-content {
  background: var(--bg-muted);
  color: var(--text-primary);
}
[data-theme="light"] .brand-story-content .section-title { color: var(--text-primary); }
[data-theme="light"] .brand-story-text { color: var(--text-secondary); }

/* ---- News Cards ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  display: block;
  overflow: hidden;
  background: var(--card-bg);
  transition: box-shadow var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); }

.news-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-image img { transform: scale(1.05); }

.news-body { padding: 24px; }
.news-date {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.news-card:hover .news-title { color: var(--primary-dark); }
.news-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Instagram Feed ---- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.insta-item:hover img { transform: scale(1.1); }
.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139,197,63,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--black);
  font-size: 24px;
}
.insta-item:hover .insta-overlay { opacity: 1; }

/* ---- Newsletter ---- */
.newsletter {
  background: var(--bg-muted);
  padding: 80px 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 32px auto 0;
  gap: 0;
}
.newsletter-input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-right: none;
  font-size: 14px;
  outline: none;
  background: var(--bg-input);
  color: var(--text-primary);
  transition: border-color var(--transition);
}
.newsletter-input:focus { border-color: var(--primary); }
.newsletter-btn {
  padding: 16px 32px;
  background: var(--text-primary);
  color: var(--bg-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background var(--transition);
}
.newsletter-btn:hover { background: var(--primary); color: var(--text-on-primary); }

/* ---- Footer ---- */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo img { height: 48px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-white);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--black);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-white);
  margin-bottom: 24px;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact i { color: var(--primary); margin-top: 3px; }

/* Footer accordion — mobile */
.footer-accordion-trigger {
  display: none;
}

.footer-accordion-panel {
  overflow: hidden;
}

@media (max-width: 768px) {
  .footer-grid {
    gap: 0;
    margin-bottom: 32px;
  }

  .footer-grid > div:first-child {
    margin-bottom: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-accordion-item .footer-heading {
    display: none;
  }

  .footer-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-white);
    text-align: left;
  }

  .footer-accordion-trigger i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    transition: transform var(--transition);
  }

  .footer-accordion-item.is-open .footer-accordion-trigger i {
    transform: rotate(180deg);
    color: var(--primary);
  }

  .footer-accordion-item:not(.is-open) .footer-accordion-panel {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.35s;
  }

  .footer-accordion-item.is-open .footer-accordion-panel {
    max-height: 240px;
    opacity: 1;
    visibility: visible;
    padding-bottom: 8px;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.35s;
  }

  .footer-accordion-panel .footer-links li {
    margin-bottom: 8px;
  }

  .footer-accordion-panel .footer-links li:last-child {
    margin-bottom: 0;
  }

  .footer-accordion-panel .footer-contact p {
    margin-bottom: 6px;
  }

  .footer-accordion-panel .footer-contact p:last-child {
    margin-bottom: 0;
  }

  .footer-bottom {
    padding-top: 20px;
  }
}

@media (min-width: 769px) {
  .footer-accordion-trigger {
    display: block;
    pointer-events: none;
    padding: 0;
    margin-bottom: 24px;
    cursor: default;
    width: auto;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-white);
    background: none;
    border: none;
    text-align: left;
  }

  .footer-accordion-trigger i {
    display: none;
  }

  .footer-accordion-item .footer-accordion-panel {
    max-height: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
  }
}



.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.payment-icons i {
  font-size: 24px;
  color: rgba(255,255,255,0.5);
}

/* ---- Page Header ---- */
.page-header {
  padding: calc(var(--sticky-header-height) + 60px) 0 60px;
  background: var(--bg-muted);
  text-align: center;
}

.page-header-dark {
  background: var(--footer-bg);
  color: var(--hero-text);
}
.page-header-dark .section-title { color: var(--hero-text); }
.page-header-dark .section-subtitle { color: rgba(255, 255, 255, 0.7); }
.page-header-dark .breadcrumb { color: rgba(255, 255, 255, 0.55); }
.page-header-dark .breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.page-header-dark .breadcrumb a:hover { color: var(--primary); }
.page-header-dark .breadcrumb span { color: rgba(255, 255, 255, 0.55); }
[data-theme="light"] .page-header-dark {
  background: var(--bg-muted);
  color: var(--text-primary);
}
[data-theme="light"] .page-header-dark .section-title { color: var(--text-primary); }
[data-theme="light"] .page-header-dark .section-subtitle { color: var(--text-secondary); }
[data-theme="light"] .page-header-dark .breadcrumb { color: var(--text-muted); }
[data-theme="light"] .page-header-dark .breadcrumb a { color: var(--text-secondary); }
[data-theme="light"] .page-header-dark .breadcrumb a:hover { color: var(--primary); }
[data-theme="light"] .page-header-dark .breadcrumb span { color: var(--text-muted); }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-secondary); }

/* ---- Categories Page ---- */

.cat-page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--sticky-header-height);
  background: var(--footer-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cat-page-hero--has-image .cat-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.65) 100%
  );
  pointer-events: none;
}

.cat-page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 48px 24px 100px;
}

.cat-page-hero-label {
  color: var(--primary) !important;
  margin-bottom: 10px;
}

.cat-page-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cat-page-hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.breadcrumb--hero {
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.breadcrumb--hero a { color: rgba(255,255,255,0.75); }
.breadcrumb--hero a:hover { color: var(--primary); }
.breadcrumb--hero span { color: rgba(255,255,255,0.55); }

.cat-page-section { padding: 60px 0 80px; }

.cat-page-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.cat-page-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cat-page-grid .cat-page-card {
  width: calc((100% - 60px) / 4);
  flex-shrink: 0;
}

.cat-page-card { transition: box-shadow var(--transition); }

.cat-page-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.cat-page-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .cat-page-grid .cat-page-card { width: calc((100% - 40px) / 3); }
}

@media (max-width: 640px) {
  .cat-page-grid { gap: 12px; }
  .cat-page-grid .cat-page-card { width: calc((100% - 12px) / 2); }
  .cat-page-hero { min-height: 240px; }
  .cat-page-hero-title { font-size: 28px; }
}

/* ---- Shop Page ---- */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 60px 0 80px;
}

.filter-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.filter-toggle-btn {
  display: none;
  width: 100%;
  padding: 14px;
  background: var(--text-primary);
  color: var(--bg-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.filter-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.filter-group:last-child { border-bottom: none; }

.filter-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  cursor: pointer;
  transition: color var(--transition);
}
.filter-options label:hover { color: var(--text-primary); }
.filter-options input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.price-range {
  display: flex;
  gap: 12px;
  align-items: center;
}
.price-range input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  outline: none;
  background: var(--bg-input);
  color: var(--text-primary);
}
.price-range input:focus { border-color: var(--primary); }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.shop-count { font-size: 14px; color: var(--text-secondary); }

.shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-sort {
  flex: 1;
  min-width: 0;
}

.shop-sort select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  font-size: 13px;
  outline: none;
  background: var(--bg-input);
  color: var(--text-primary);
  cursor: pointer;
}
.shop-sort select:focus { border-color: var(--primary); }

.view-toggle {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.view-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  background: var(--bg-input);
}
.view-btn.active,
.view-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}
.view-btn.active {
  background: var(--bg-elevated);
}

.product-card.is-paginated-out { display: none !important; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pagination-btn,
.pagination-page {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.pagination-btn:hover:not(:disabled),
.pagination-page:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pagination-page.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}

/* Mobile Filter Panel */
.filter-panel-mobile {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 1002;
  padding: 24px;
  overflow-y: auto;
  transition: left var(--transition);
  box-shadow: var(--shadow-lg);
}
.filter-panel-mobile.open { left: 0; }

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ---- Category Page Banner ---- */
.category-hero {
  position: relative;
  height: 40vh;
  min-height: 320px;
  overflow: hidden;
}
.category-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--secondary-white);
}

/* ---- Product Detail ---- */
.product-detail {
  padding-top: calc(var(--sticky-header-height) + 0px);
  padding-bottom: 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-gallery { position: sticky; top: calc(var(--header-height) + 24px); }

.gallery-main {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-elevated);
  margin-bottom: 12px;
  cursor: zoom-in;
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-main:hover img { transform: scale(1.5); transform-origin: var(--x, 50%) var(--y, 50%); }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.gallery-thumbs-wrap {
  overflow: hidden;
}
.gallery-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-sku {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-info-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}

.product-info-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.product-info-price .price-current { font-size: 24px; }

.product-info-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.option-group { margin-bottom: 24px; }
.option-group.option-error .option-label {
  color: var(--accent-red);
}
.option-group.option-error .color-options,
.option-group.option-error .size-options {
  outline: 1px solid var(--accent-red);
  outline-offset: 4px;
}
.variant-placeholder {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}
.option-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.option-label span { color: var(--text-muted); font-weight: 400; text-transform: none; }

.size-chart-trigger {
  margin-left: auto;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.size-chart-trigger:hover {
  color: var(--primary-dark);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.size-btn:hover { border-color: var(--text-primary); }
.size-btn.active {
  background: var(--text-primary);
  color: var(--bg-body);
  border-color: var(--text-primary);
}
.size-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

.color-options {
  display: flex;
  gap: 10px;
}
.color-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.color-btn.active { border-color: var(--text-primary); box-shadow: 0 0 0 2px var(--bg-body), 0 0 0 4px var(--text-primary); }

.stock-status {
  font-size: 13px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stock-status.in-stock { color: #2E7D32; }
.stock-status.low-stock { color: #F57C00; }

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  width: fit-content;
  margin-bottom: 24px;
}
.qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--bg-elevated); }
.qty-value {
  width: 48px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 44px;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.product-actions .btn { flex: 1; }

.wishlist-detail-btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.wishlist-detail-btn:hover,
.wishlist-detail-btn.active { color: var(--accent-red); border-color: var(--accent-red); }

.product-meta {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.product-meta-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.product-meta-item strong {
  min-width: 120px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-meta-item span { color: var(--text-secondary); }

.product-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.product-share span {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.share-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.share-btn:hover { background: var(--primary); border-color: var(--primary); }

.product-tabs {
  margin-top: 80px;
  border-top: 1px solid var(--border);
}
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.tab-btn {
  padding: 20px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.tab-btn.active,
.tab-btn:hover { color: var(--text-primary); border-bottom-color: var(--primary); }

.tab-content { padding: 40px 0; display: none; }
.tab-content.active { display: block; }

.spec-table { width: 100%; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table td {
  padding: 14px 0;
  font-size: 14px;
}
.spec-table td:first-child {
  font-weight: 600;
  width: 200px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.spec-table td:last-child { color: var(--text-secondary); }

/* ---- History Page ---- */
.timeline {
  position: relative;
  padding: 60px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  position: relative;
}
.timeline-item:nth-child(even) .timeline-content { order: 2; }
.timeline-item:nth-child(even) .timeline-image { order: 1; }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid var(--bg-body);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px var(--primary);
  z-index: 2;
}

.timeline-year {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.timeline-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.timeline-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-elevated);
  transition: all var(--transition);
}
.value-card:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  transform: translateY(-4px);
}
.value-icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}
.value-card:hover .value-icon { color: var(--primary-light); }
.value-card h3 {
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.value-card:hover p { color: var(--text-on-primary); opacity: 0.85; }

/* ---- News Page ---- */
.news-listing {
  padding: 60px 0 80px;
}

.news-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.news-filter-btn {
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.news-filter-btn.active,
.news-filter-btn:hover {
  background: var(--text-primary);
  color: var(--bg-body);
  border-color: var(--text-primary);
}

/* ---- Gallery Page ---- */
.gallery-listing {
  padding: 60px 0 80px;
}
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.gallery-filter-btn {
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--bg-body);
  color: var(--text-primary);
  border-radius: 0;
  transition: all var(--transition);
  cursor: pointer;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--text-primary);
  color: var(--bg-body);
  border-color: var(--text-primary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.gallery-card {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.gallery-card.is-filtered-out {
  display: none;
}
.gallery-card-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.gallery-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-muted);
}
.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-card:hover .gallery-card-media img {
  transform: scale(1.04);
}
.gallery-card-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: 0;
}
.gallery-card-body {
  padding: 20px 20px 22px;
  background: var(--card-bg);
}
.gallery-card-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.gallery-card-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.gallery-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}
.gallery-card-plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-primary);
}
.gallery-empty {
  padding: 80px 20px;
  text-align: center;
  color: var(--text-muted);
}
.gallery-empty i {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}
.gallery-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  background: var(--bg-surface);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gallery-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--bg-body);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 3;
  border-radius: 0;
}
.gallery-lightbox-close:hover {
  color: var(--primary);
}
.gallery-lightbox-title {
  margin: 0;
  padding: 24px 56px 16px 24px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.gallery-lightbox-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.gallery-lightbox-image-wrap {
  aspect-ratio: 4 / 3;
  background: #111;
  overflow: hidden;
}
.gallery-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #111;
}
.gallery-lightbox-nav {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--bg-body);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0;
  transition: all var(--transition);
}
.gallery-lightbox-nav:hover {
  background: var(--text-primary);
  color: var(--bg-body);
  border-color: var(--text-primary);
}
.gallery-lightbox-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.gallery-lightbox-counter {
  margin: 12px 24px 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.gallery-lightbox-thumbs {
  display: flex;
  gap: 10px;
  padding: 16px 24px 24px;
  overflow-x: auto;
}
.gallery-lightbox-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 66px;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  border-radius: 0;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity var(--transition), border-color var(--transition);
}
.gallery-lightbox-thumb.is-active,
.gallery-lightbox-thumb:hover {
  opacity: 1;
  border-color: var(--primary);
}
.gallery-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-detail {
  padding: calc(var(--sticky-header-height) + 48px) 0 80px;
}
.news-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
}
.news-detail-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 32px;
}
.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-detail-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.news-detail-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 32px;
}
.news-detail-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.news-detail-body p { margin-bottom: 20px; }
.news-detail-body h3 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 32px 0 16px;
}

.news-sidebar-widget {
  background: var(--bg-elevated);
  padding: 32px;
  margin-bottom: 32px;
}
.news-sidebar-widget h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.related-article {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.related-article:last-child { border-bottom: none; }
.related-article img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}
.related-article h5 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: color var(--transition);
}
.related-article:hover h5 { color: var(--primary-dark); }

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 60px 0 80px;
}

.contact-info-card {
  padding: 32px;
  background: var(--bg-elevated);
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  transition: all var(--transition);
}
.contact-info-card:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-on-primary);
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 14px;
  color: var(--text-secondary);
}
.contact-info-card:hover p { color: var(--text-secondary); }

.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg-input);
  color: var(--text-primary);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--primary); }
.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-container {
  width: 100%;
  height: 400px;
  background: var(--bg-elevated);
  margin-top: 0;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%);
}

/* ---- Sale Page ---- */
.sale-hero {
  position: relative;
  min-height: 420px;
  padding: calc(var(--sticky-header-height) + 48px) 24px 64px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.sale-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sale-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}
.sale-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.sale-hero-content {
  position: relative;
  z-index: 2;
  color: var(--secondary-white);
  max-width: 720px;
  width: 100%;
}
.sale-hero-content .section-label {
  margin-bottom: 12px;
}
.sale-hero-content .section-title {
  margin-bottom: 12px;
}
.sale-discount {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  color: var(--accent-red);
  line-height: 1.05;
  margin-bottom: 12px;
}

#sale-products .sale-products-header {
  justify-content: center;
  text-align: center;
  margin-bottom: 32px;
}

#sale-products .sale-products-header-inner {
  width: 100%;
  max-width: 720px;
}

#sale-products .sale-products-header .shop-count {
  margin-left: auto;
  margin-right: auto;
}

.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.promo-card {
  padding: 40px 32px;
  background: var(--bg-elevated);
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.promo-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-4px);
}
.promo-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.promo-card p {
  font-size: 14px;
  color: var(--text-secondary);
}
.promo-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-red);
  color: var(--secondary-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* ---- Cart Sidebar ---- */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 1003;
  display: flex;
  flex-direction: column;
  transition: right var(--transition);
  box-shadow: var(--shadow-lg);
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  background: var(--bg-elevated);
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.cart-item-variant {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.variant-detail {
  display: inline-block;
  font-size: 11px;
  line-height: 1.4;
}
.cart-item-qty-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}
.cart-item-price {
  font-size: 14px;
  font-weight: 700;
}
.cart-item-remove {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--accent-red); }

.cart-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cart-sidebar-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--bg-input);
}
.cart-sidebar-qty-minus,
.cart-sidebar-qty-plus {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition);
}
.cart-sidebar-qty-minus:hover,
.cart-sidebar-qty-plus:hover {
  color: var(--primary);
}
.cart-sidebar-qty-value {
  min-width: 28px;
  padding: 0 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.cart-item-price-inner {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-item-price .price-original {
  font-size: 12px;
}
.cart-item-price .price-current {
  font-size: 14px;
  font-weight: 700;
}
.cart-item-remove {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.cart-sidebar-coupon {
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cart-sidebar .applied-coupons {
  margin: 0 0 16px;
}
.cart-sidebar .applied-coupon-remove {
  font-size: 10px;
}
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cart-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.cart-empty i { font-size: 48px; margin-bottom: 16px; display: block; }

/* ---- Search Overlay ---- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: var(--search-bg);
  z-index: 1004;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.search-overlay.open { opacity: 1; visibility: visible; }

.search-close {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 24px;
  color: var(--text-primary);
}

.search-form {
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
}
.search-input {
  width: 100%;
  padding: 20px 0;
  font-size: 32px;
  font-weight: 300;
  border: none;
  border-bottom: 2px solid var(--text-primary);
  outline: none;
  text-align: center;
  background: transparent;
  color: var(--text-primary);
}
.search-suggestions {
  margin-top: 32px;
  text-align: center;
}
.search-suggestions p {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.search-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.search-tag {
  padding: 8px 16px;
  border: 1px solid var(--border);
  font-size: 13px;
  transition: all var(--transition);
}
.search-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ---- Loading & Skeleton ---- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--loader-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader.is-exiting .loader-inner {
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.page-loader.is-exiting .loader-curtain-top {
  transform: translateY(0);
}
.page-loader.is-exiting .loader-curtain-bottom {
  transform: translateY(0);
}

/* Patterns */
.loader-pattern {
  position: absolute;
  pointer-events: none;
}
.loader-pattern-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 197, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 197, 63, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 75%);
  animation: loaderGridPulse 4s ease-in-out infinite;
}
.loader-pattern-diagonal {
  inset: -60%;
  background: repeating-linear-gradient(
    -42deg,
    transparent,
    transparent 36px,
    rgba(139, 197, 63, 0.025) 36px,
    rgba(139, 197, 63, 0.025) 37px
  );
  animation: loaderDiagonal 24s linear infinite;
}
.loader-pattern-dots {
  inset: 0;
  background-image: radial-gradient(rgba(139, 197, 63, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 68%);
  animation: loaderDotsDrift 8s ease-in-out infinite alternate;
}
.loader-pattern-glow {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 197, 63, 0.14) 0%, transparent 68%);
  animation: loaderGlow 3.5s ease-in-out infinite;
}
.loader-pattern-ring {
  width: min(90vw, 640px);
  height: min(90vw, 640px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(139, 197, 63, 0.08);
  border-radius: 50%;
  animation: loaderRingExpand 3s ease-in-out infinite;
}
.loader-pattern-ring::before,
.loader-pattern-ring::after {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(139, 197, 63, 0.05);
  border-radius: 50%;
}
.loader-pattern-ring::after {
  inset: 48px;
  border-color: rgba(139, 197, 63, 0.03);
}

/* Corner accents */
.loader-corner {
  position: absolute;
  width: 56px;
  height: 56px;
  border-color: var(--primary);
  border-style: solid;
  opacity: 0;
  z-index: 1;
}
.loader-corner-tl {
  top: 28px;
  left: 28px;
  border-width: 2px 0 0 2px;
  animation: loaderCornerIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}
.loader-corner-tr {
  top: 28px;
  right: 28px;
  border-width: 2px 2px 0 0;
  animation: loaderCornerIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}
.loader-corner-bl {
  bottom: 28px;
  left: 28px;
  border-width: 0 0 2px 2px;
  animation: loaderCornerIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
}
.loader-corner-br {
  bottom: 28px;
  right: 28px;
  border-width: 0 2px 2px 0;
  animation: loaderCornerIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.35s forwards;
}

/* Exit curtains */
.loader-curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--loader-bg);
  z-index: 3;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}
.loader-curtain-top {
  top: 0;
  transform: translateY(-100%);
}
.loader-curtain-bottom {
  bottom: 0;
  transform: translateY(100%);
}

/* Center content */
.loader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.loader-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-logo {
  width: 58px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: loaderLogoIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}
.loader-logo-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(139, 197, 63, 0.25);
  border-radius: 50%;
  animation: loaderOrbitSpin 2.4s linear infinite;
}
.loader-logo-orbit::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(139, 197, 63, 0.6);
}
.loader-logo-pulse {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(139, 197, 63, 0.15);
  animation: loaderLogoPulse 2s ease-in-out infinite;
}
.loader-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
  animation: loaderFadeUp 0.8s ease 0.35s forwards;
  opacity: 0;
}
.loader-progress {
  width: 180px;
  height: 2px;
  background: var(--border);
  overflow: hidden;
  position: relative;
  animation: loaderFadeUp 0.8s ease 0.5s forwards;
  opacity: 0;
}
.loader-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
  box-shadow: 0 0 12px rgba(139, 197, 63, 0.45);
  transition: width 0.25s ease;
}
.loader-percent {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  animation: loaderFadeUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

[data-theme="light"] .loader-pattern-grid {
  background-image:
    linear-gradient(rgba(111, 160, 50, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 160, 50, 0.06) 1px, transparent 1px);
}
[data-theme="light"] .loader-pattern-diagonal {
  background: repeating-linear-gradient(
    -42deg,
    transparent,
    transparent 36px,
    rgba(111, 160, 50, 0.04) 36px,
    rgba(111, 160, 50, 0.04) 37px
  );
}
[data-theme="light"] .loader-pattern-glow {
  background: radial-gradient(circle, rgba(111, 160, 50, 0.1) 0%, transparent 68%);
}

@keyframes loaderGridPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes loaderDiagonal {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes loaderDotsDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(14px, -10px); }
}
@keyframes loaderGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes loaderRingExpand {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes loaderCornerIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 0.55; transform: scale(1); }
}
@keyframes loaderLogoIn {
  from { opacity: 0; transform: scale(0.7) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes loaderOrbitSpin {
  to { transform: rotate(360deg); }
}
@keyframes loaderLogoPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.06); opacity: 0.8; }
}
@keyframes loaderFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--secondary-grey-mid) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---- Toast Notification ---- */
.wc-notice-source,
.woocommerce-notices-wrapper:not(.wc-toast-stack),
.woocommerce-NoticeGroup,
.cart-page-notices,
.checkout-page-notices {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.wc-toast-stack {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 10050;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  max-width: min(380px, calc(100vw - 40px));
  pointer-events: none;
}
.wc-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #222222;
  color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 1.45;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}
.wc-toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.wc-toast.is-leaving {
  transform: translateY(8px) scale(0.98);
  opacity: 0;
}
.wc-toast > i {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 16px;
}
.wc-toast--success > i { color: var(--primary); }
.wc-toast--error > i { color: #ef4444; }
.wc-toast--info > i { color: #60a5fa; }
.wc-toast-text a {
  color: var(--primary);
  text-decoration: underline;
}
.wc-toast-text a:hover {
  color: var(--primary-light);
}
[data-theme="light"] .wc-toast {
  background: #1a1a1a;
  color: #ffffff;
}
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 24px;
  background: #222222;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--primary); }

/* ---- Quick View Modal ---- */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.qv-overlay.open { opacity: 1; visibility: visible; }

.quick-view-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: calc(100% - 48px);
  max-width: 960px;
  max-height: calc(100vh - 48px);
  background: var(--bg-surface);
  z-index: 1006;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.quick-view-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.qv-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
  z-index: 10;
  background: var(--bg-surface);
  border-radius: 50%;
  transition: all var(--transition);
}
.qv-close:hover { color: var(--primary); }

.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 560px;
  max-height: calc(100vh - 48px);
}

.qv-gallery {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 560px;
  height: 100%;
}

.qv-slider {
  display: flex;
  height: 100%;
  min-height: 560px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.qv-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 560px;
  height: 100%;
}

.qv-slide img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.qv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.45);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 14px;
  z-index: 5;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.qv-nav:hover { background: var(--primary); color: var(--text-on-primary); }
.qv-prev { left: 12px; }
.qv-next { right: 12px; }

.qv-gallery.is-single .qv-nav,
.qv-gallery.is-single .qv-dots { display: none; }

.qv-dots {
  position: absolute;
  bottom: 20px;
  left: 24px;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.qv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
}
.qv-dot.active { background: var(--primary); transform: scale(1.2); }

.qv-info {
  padding: 40px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.qv-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  padding-right: 40px;
}

.qv-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.qv-price .price-current {
  font-size: 18px;
}

.qv-price .price-original {
  font-size: 15px;
}

.qv-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.qv-option-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.qv-option-label span { font-weight: 400; color: var(--text-muted); }

.qv-clear {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}
.qv-clear:hover { color: var(--accent-red); }
.qv-clear[hidden] { display: none; }

.qv-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.qv-size-btn {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  background: transparent;
  color: var(--text-primary);
}
.qv-size-btn:hover { border-color: var(--text-primary); }
.qv-size-btn.active {
  background: var(--text-primary);
  color: var(--bg-body);
  border-color: var(--text-primary);
}
.qv-size-btn.disabled,
.qv-size-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.qv-option-group {
  margin-bottom: 18px;
}

.qv-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qv-color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.qv-color-btn:hover {
  transform: scale(1.05);
}

.qv-color-btn.active {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px var(--bg-body), 0 0 0 4px var(--text-primary);
}

.qv-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-qv-cart,
.btn-qv-view {
  width: 100%;
  flex: 1;
  padding: 14px 24px;
  background: var(--text-primary);
  color: var(--bg-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-qv-cart:hover,
.btn-qv-view:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}

.qv-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.qv-share > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.qv-share-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}
.qv-share-btn:hover { color: var(--primary); }

.qv-detail-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  width: fit-content;
}
.qv-detail-link:hover { color: var(--primary-dark); }

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  :root { --section-padding: 60px; }

  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-main .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-story { grid-template-columns: 1fr; }
  .brand-story-content { padding: 48px 32px; }

  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .filter-toggle-btn { display: block; }

  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }

  .contact-grid { grid-template-columns: 1fr; }
  .news-detail-grid { grid-template-columns: 1fr; }

  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 56px; }
  .timeline-item:nth-child(even) .timeline-content { order: 0; }
  .timeline-item:nth-child(even) .timeline-image { order: 0; }
  .timeline-dot { left: 24px; }

  .promo-cards { grid-template-columns: 1fr; }
  .campaign-grid:not(.home-campaign-grid) { grid-template-columns: 1fr; }
  .home-campaign-grid { grid-template-columns: 1fr 1fr; }
  .campaign-triple {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  .campaign-triple-text {
    grid-column: 1 / -1;
    padding: 40px 32px;
    text-align: center;
    align-items: center;
  }
  .campaign-triple-desc { max-width: 480px; }
  .campaign-triple-image { min-height: 360px; }

  .hero-content { padding: 0 24px; }
  .hero-nav, .hero-arrows { bottom: 24px; }
  .hero-arrows { left: 24px; }
  .hero-nav { right: 24px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 40px; --header-height: 64px; --topbar-height: 34px; }
  .qv-grid { grid-template-columns: 1fr; min-height: auto; }
  .qv-gallery { min-height: 420px; }
  .qv-slider { min-height: 420px; }
  .qv-slide { min-height: 420px; }
  .qv-slide img { min-height: 420px; }
  .qv-info { padding: 28px 24px; }
  .qv-title { font-size: 22px; }
  .qv-actions { flex-direction: column; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .shop-main .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .news-grid:not(.home-news-grid) { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid:not([data-footer-accordion]) { gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }

  .section-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid var(--border); }

  .contact-form .form-row { grid-template-columns: 1fr; }

  .hero { min-height: 500px; }
  .campaign-banner { min-height: 300px; }
  .campaign-triple {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  .campaign-triple-text {
    grid-column: 1 / -1;
    padding: 24px 16px;
    text-align: center;
    align-items: center;
  }
  .campaign-triple-desc { max-width: 480px; }
  .campaign-triple-image { min-height: 240px; }

  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .tab-nav { overflow-x: auto; }
  .tab-btn { padding: 16px 20px; white-space: nowrap; }
}

@media (max-width: 480px) {
  .product-grid,
  .shop-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card-info {
    padding: 0 2px;
  }

  .product-name {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .product-category {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .price-current {
    font-size: 13px;
  }

  .price-original {
    font-size: 11px;
  }

  .product-price {
    flex-wrap: wrap;
    gap: 4px;
  }

  .btn-card-add-cart,
  .btn-card-view-product {
    margin-top: 8px;
    padding: 9px 8px;
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .product-badge {
    font-size: 9px;
    padding: 4px 6px;
  }

  .product-wishlist {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .hero-title { font-size: 32px; }
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.vision-card {
  padding: 48px;
  background: var(--bg-elevated);
}
.vision-card-dark {
  padding: 48px;
  background: var(--footer-bg);
  color: var(--hero-text);
}
.vision-card-dark .section-label { color: var(--primary); }
.vision-card-dark .section-title { color: var(--hero-text); }
.vision-card-dark p { color: rgba(255, 255, 255, 0.75); }
[data-theme="light"] .vision-card-dark {
  background: var(--bg-muted);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
[data-theme="light"] .vision-card-dark .section-title { color: var(--text-primary); }
[data-theme="light"] .vision-card-dark p { color: var(--text-secondary); }
@media (max-width: 768px) {
  .vision-mission-grid { grid-template-columns: 1fr; }
}

/* ---- Info / Legal Pages ---- */
.info-section { padding: 60px 0 80px; }
.info-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.8;
}
.info-content h2 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 32px 0 12px;
}
.info-content h2:first-child { margin-top: 0; }
.info-content p { margin-bottom: 16px; }
.info-content ul, .info-content ol {
  margin: 0 0 16px 20px;
  list-style: disc;
}
.info-content ol { list-style: decimal; }
.info-content li { margin-bottom: 8px; }
.info-content a { color: var(--primary); }
.info-content a:hover { text-decoration: underline; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}
.faq-question i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.size-table-wrap { overflow-x: auto; margin: 24px 0; }
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.size-table th,
.size-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: center;
}
.size-table th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
}
.size-table td { color: var(--text-secondary); }

/* ---- Size Chart Modal ---- */
.sc-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 1007;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.sc-overlay.open { opacity: 1; visibility: visible; }

.size-chart-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: calc(100% - 32px);
  max-width: 640px;
  max-height: calc(100vh - 48px);
  background: var(--bg-surface);
  z-index: 1008;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.size-chart-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.sc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-primary);
  z-index: 2;
  border-radius: 50%;
  transition: background var(--transition);
}
.sc-close:hover { background: var(--bg-elevated); }

.size-chart-modal-head {
  padding: 28px 28px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.size-chart-modal-head .section-label {
  margin-bottom: 8px;
}
.size-chart-modal-title {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}
.size-chart-modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.size-chart-modal-body {
  padding: 20px 28px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.size-chart-section-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.size-chart-modal-body .size-table-wrap {
  margin: 0 0 20px;
}
.size-chart-modal-body .size-table {
  font-size: 13px;
}
.size-chart-modal-body .size-table th,
.size-chart-modal-body .size-table td {
  padding: 10px 12px;
}
.size-chart-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 4px 0 0;
}

@media (max-width: 768px) {
  .size-chart-modal-head {
    padding: 24px 20px 14px;
    text-align: center;
  }
  .size-chart-modal-body {
    padding: 16px 16px 24px;
  }
  .size-chart-modal-body .size-table {
    font-size: 12px;
  }
  .size-chart-modal-body .size-table th,
  .size-chart-modal-body .size-table td {
    padding: 8px 10px;
  }
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.store-card {
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.store-card h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.store-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.store-card p i {
  width: 20px;
  color: var(--primary);
  margin-right: 8px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 620px);
  gap: 48px;
  padding: 60px 0 80px;
  align-items: start;
}
.checkout-form {
  position: sticky;
  top: calc(var(--sticky-header-height) + 24px);
  align-self: start;
}
.checkout-form .form-group { margin-bottom: 20px; }
.checkout-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 14px;
}
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus { border-color: var(--primary); outline: none; }
.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkout-summary {
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  position: sticky;
  top: calc(var(--sticky-header-height) + 24px);
  align-self: start;
}
.checkout-summary h3 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.checkout-items {
  margin-bottom: 16px;
  max-height: 320px;
  overflow-y: auto;
}
.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.checkout-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
}
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.checkout-item-variant {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.checkout-item-qty {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.checkout-item-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  text-align: right;
}
.checkout-item-price .cart-item-price-inner {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.checkout-item-price .price-original {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.checkout-item-price .price-current {
  font-size: 14px;
  font-weight: 700;
}
.checkout-item-price .price-sale {
  color: var(--accent-red);
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.checkout-line.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: none;
  padding-top: 16px;
  margin-top: 8px;
}
.checkout-line.total .cart-total-inner {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.checkout-line.total .price-current {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.checkout-line.total .price-original {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}
.checkout-empty-msg {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* ---- Cart Page ---- */
.cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}
.cart-page-items-col,
.cart-page-summary-col {
  min-width: 0;
  align-self: start;
}
.cart-page-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px;
  line-height: 1.3;
}
.cart-page-section-title--summary {
  margin-bottom: 24px;
}
.cart-page-suggestions {
  margin-top: 40px;
  
}
.cart-page-suggestions-grid.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.cart-page-suggestions .product-card-info {
  padding: 12px 0 0;
}
.cart-page-suggestions .product-name {
  font-size: 14px;
}
.cart-page-items-list {
  border-top: 1px solid var(--border);
}
.cart-page-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.cart-page-item-media {
  flex-shrink: 0;
  width: 120px;
}
.cart-page-item-media img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}
.cart-page-item-body {
  flex: 1;
  min-width: 0;
}
.cart-page-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.cart-page-item-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.35;
}
.cart-page-item-name a {
  color: inherit;
  text-decoration: none;
}
.cart-page-item-name a:hover {
  color: var(--primary);
}
.cart-page-item-variant {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.cart-page-variant-sep {
  color: var(--text-muted);
}
.cart-page-item-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-page-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-block;
  vertical-align: middle;
}
.cart-page-item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.cart-page-item-price .cart-item-price-inner {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cart-page-item-price .price-original {
  font-size: 13px;
}
.cart-page-item-price .price-current {
  font-size: 16px;
  font-weight: 700;
}
.cart-page-item-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cart-page-item-actions .qty-selector {
  margin-bottom: 0;
}
.cart-page-remove {
  font-size: 13px;
  font-weight: 500;
  color: #EF4444;
  text-decoration: none;
  transition: opacity var(--transition);
}
.cart-page-remove:hover {
  opacity: 0.8;
  color: #EF4444;
}
.cart-page-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.cart-page-continue:hover {
  color: var(--primary);
}
.cart-page-summary {
  position: sticky !important;
  top: calc(var(--sticky-header-height) + 24px);
  margin-top: 0;
}
.cart-page-summary.is-updating .cart-page-totals-lines {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.cart-page-summary.is-updating::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(139, 197, 63, 0.06), transparent);
  animation: cartSummaryShimmer 1s ease-in-out infinite;
}
@keyframes cartSummaryShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.cart-page-summary-col .cart_totals {
  position: relative;
  margin-top: 0;
}
.cart-page-summary h3 {
  margin: 0;
}
.cart-page-coupon {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.cart-page-coupon-input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid #fff;
  color: var(--text-primary);
  font-size: 13px;
}
.cart-page-coupon-input:focus {
  border-color: var(--primary);
  outline: none;
}
.cart-page-coupon-input::placeholder {
  color: var(--text-muted);
}
.cart-page-coupon-btn {
  flex-shrink: 0;
  padding: 14px 24px;
  border: 1px solid #fff;
}
.checkout-page-coupon {
  margin: 16px 0 20px;
  flex-wrap: wrap;
}
.checkout-page-coupon .cart-page-coupon-input.has-error {
  border-color: #ef4444;
}
.checkout-page-coupon .coupon-error-notice {
  width: 100%;
  margin: 8px 0 0;
  font-size: 12px;
  color: #ef4444;
}
.checkout-page-coupon.is-processing {
  pointer-events: none;
}
.checkout-page-coupon.is-processing .cart-page-coupon-btn:not(.is-loading) {
  opacity: 0.75;
}
.checkout-summary-body {
  position: relative;
}
.checkout-summary-content {
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.checkout-summary.is-updating .checkout-summary-content {
  opacity: 0.92;
  filter: none;
  pointer-events: auto;
  user-select: auto;
}
.checkout-summary.is-updating .checkout-items,
.checkout-summary.is-updating .cart-page-totals-lines,
.checkout-summary.is-updating .checkout-options-row,
.checkout-summary.is-updating .checkout-page-coupon,
.checkout-summary.is-updating .applied-coupons,
.checkout-summary.is-updating .checkout-line:not(.total) {
  opacity: 0.55;
  filter: blur(1px);
  transition: opacity 0.35s ease, filter 0.35s ease;
}
.checkout-summary.is-updating .bloodsactv-checkout-payment,
.checkout-summary.is-updating .checkout-continue {
  opacity: 1;
  filter: none;
}
.checkout-summary-loader {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}
.checkout-summary.is-updating .checkout-summary-loader {
  opacity: 1;
  visibility: visible;
}
.checkout-summary-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 30px;
  background: rgba(16, 16, 16, 0.94);
  border: 1px solid rgba(139, 197, 63, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(6px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}
.checkout-summary.is-updating .checkout-summary-loader-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.checkout-summary-spinner {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(139, 197, 63, 0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: checkoutSummarySpin 0.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.checkout-summary-loader-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.checkout-form-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 6, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}
.checkout-form-loader.is-active,
.checkout-form-loader[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.checkout-place-order-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(92vw, 360px);
  padding: 36px 32px 32px;
  background: rgba(14, 14, 14, 0.96);
  border: 1px solid rgba(139, 197, 63, 0.35);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(139, 197, 63, 0.08) inset,
    0 0 40px rgba(139, 197, 63, 0.12);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.checkout-form-loader.is-active .checkout-place-order-loader,
.checkout-form-loader[aria-hidden="false"] .checkout-place-order-loader {
  opacity: 1;
}
.checkout-place-order-loader-visual {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 4px;
}
.checkout-place-order-loader-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(139, 197, 63, 0.18);
  border-top-color: var(--primary);
  animation: checkoutPlaceOrderSpin 0.85s linear infinite;
  will-change: transform;
}
.checkout-place-order-loader-core {
  position: absolute;
  inset: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(139, 197, 63, 0.12);
  border: 1px solid rgba(139, 197, 63, 0.4);
  color: var(--primary);
  font-size: 22px;
  pointer-events: none;
}
.checkout-place-order-loader-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  text-align: center;
}
.checkout-place-order-loader-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}
.checkout-place-order-loader-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.checkout-place-order-loader-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.35;
  animation: checkoutPlaceOrderDot 1.2s ease-in-out infinite;
}
.checkout-place-order-loader-dots span:nth-child(2) {
  animation-delay: 0.15s;
}
.checkout-place-order-loader-dots span:nth-child(3) {
  animation-delay: 0.3s;
}
body.is-checkout-placing-order form.checkout.processing {
  pointer-events: none;
}
body.woocommerce-checkout form.checkout .blockUI.blockOverlay,
body.woocommerce-checkout form.checkout.processing .blockUI.blockOverlay {
  display: none !important;
  opacity: 0 !important;
  background: transparent !important;
}
body.woocommerce-checkout .blockUI.blockOverlay {
  background: rgba(8, 8, 8, 0.45) !important;
  opacity: 1 !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}
body.woocommerce-checkout .blockUI.blockMsg {
  display: none !important;
}
@keyframes checkoutPlaceOrderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes checkoutPlaceOrderDot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}
@keyframes checkoutSummarySpin {
  to { transform: rotate(360deg); }
}
[data-theme="light"] .checkout-place-order-loader {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .checkout-form-loader {
  background: rgba(255, 255, 255, 0.82);
}
[data-theme="light"] .checkout-summary-loader-card,
[data-theme="light"] .checkout-form-loader-card {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] body.woocommerce-checkout .blockUI.blockOverlay {
  background: rgba(255, 255, 255, 0.55) !important;
}
@media (prefers-reduced-motion: reduce) {
  .checkout-summary-content,
  .checkout-summary-loader,
  .checkout-summary-loader-card,
  .checkout-form-loader,
  .checkout-place-order-loader {
    transition: none;
  }
  .checkout-summary.is-updating .checkout-summary-content {
    filter: none;
    opacity: 0.6;
  }
  .checkout-summary-spinner,
  .checkout-place-order-loader-spinner,
  .checkout-place-order-loader-dots span {
    animation-duration: 1.4s;
  }
}
.applied-coupons {
  margin: 0 0 24px;
}
.applied-coupons-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.applied-coupon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--primary);
  background: var(--bg-body);
}
.applied-coupon-card + .applied-coupon-card {
  margin-top: 10px;
}
.applied-coupon-main {
  min-width: 0;
  flex: 1;
}
.applied-coupon-code {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.3;
}
.applied-coupon-desc {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.applied-coupon-value {
  margin: 0;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ef4444;
  line-height: 1;
}
.applied-coupon-remove {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.applied-coupon-remove {
  padding: 0px 10px;
  background-color: red;
  color: #fff;
  text-decoration: none;
}
.applied-coupon-remove:hover {
  color: var(--text-primary);
}
.cart-page-totals-lines .checkout-line {
  border-bottom: 1px solid var(--border);
}
.cart-page-totals-lines .checkout-line.total {
  border-bottom: none;
}
.cart-page-proceed {
  margin-top: 24px;
}
.cart-page-proceed .btn {
  width: 100%;
  justify-content: center;
}
.cart-page-secure-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.cart-page-empty-state {
  padding: 40px 0 80px;
  text-align: center;
}
.cart-page-empty-state .cart-empty {
  margin-bottom: 24px;
}
.cart-page-main .page-header {
  padding-bottom: 0;
}
.cart-page-wrap .page-header {
  padding-bottom: 120px;
}
.woocommerce-cart .woocommerce {
  max-width: none;
}
.woocommerce-cart .woocommerce-notices-wrapper,
.cart-page-notices {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px var(--container-padding) 0;
}
.woocommerce-cart .woocommerce-notices-wrapper:empty,
.cart-page-notices:empty {
  display: none;
}
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar-layout {
  display: none !important;
}
.woocommerce-cart-main {
  background: var(--bg-body);
  min-height: auto;
}
.woocommerce-cart-form .shop_table,
.woocommerce-cart-form table.cart {
  display: none !important;
}

/* ---- WooCommerce Checkout field mapping ---- */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-direction: column;
}
.woocommerce-checkout .form-row {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  width: 100%;
  float: none;
  clear: both;
}
.woocommerce-checkout .form-row label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}
.woocommerce-checkout .form-row label .optional {
  display: none;
}
.woocommerce-checkout .form-row label abbr.required {
  color: var(--text-muted);
  text-decoration: none;
  border: 0;
  margin-left: 2px;
}
.woocommerce-checkout .form-row .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
}
.woocommerce-checkout .form-row input.input-text::placeholder,
.woocommerce-checkout .form-row textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: var(--primary);
  outline: none;
}
.woocommerce-checkout .form-row textarea {
  min-height: 110px;
  resize: vertical;
}
.woocommerce-checkout .form-row select.account-native-select {
  cursor: pointer;
  appearance: auto;
}
.checkout-form-row .form-row {
  margin-bottom: 0;
}
.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.checkout-form-row .form-row-first,
.checkout-form-row .form-row-last {
  width: 100%;
}
.woocommerce-checkout .form-row-wide {
  width: 100%;
  float: none;
}
#customer_details.checkout-form > .section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px;
  letter-spacing: 0;
  text-transform: none;
}
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  display: none !important;
}
.woocommerce-checkout-review-order-table,
.woocommerce-checkout .shop_table {
  display: none !important;
}
.bloodsactv-payment-methods .payment_box {
  margin: 0 0 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  border: 1px solid var(--border);
  background: var(--bg-body);
}
.bloodsactv-payment-methods .payment_box p {
  margin: 0;
}
.bloodsactv-checkout-payment {
  background: transparent;
  border: 0;
  padding: 0;
}
.bloodsactv-checkout-payment .place-order {
  margin: 0;
  padding: 0;
  display: block;
}
.bloodsactv-checkout-payment .place-order::before,
.bloodsactv-checkout-payment .place-order::after {
  display: none;
}
.bloodsactv-checkout-payment #place_order {
  width: 100%;
  float: none;
  display: block;
}
.bloodsactv-checkout-payment #place_order.is-loading {
  min-height: 48px;
}
.bloodsactv-checkout-payment .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.bloodsactv-checkout-payment .woocommerce-privacy-policy-text {
  display: none;
}
.woocommerce-checkout-main {
  background: var(--bg-body);
}
.woocommerce-checkout-main .page-header {
  padding-bottom: 120px;
}

/* ---- Thank You / Order Received ---- */
.woocommerce-thankyou-main {
  background: var(--bg-body);
}
.thankyou-page-wrap .page-header {
  padding-bottom: 48px;
  padding-top: 120px;
}
.thankyou-layout {
  padding-bottom: 80px;
  padding-top: 80px;
}
.thankyou-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 48px;
  align-items: start;
}
.thankyou-main-col {
  min-width: 0;
}
.thankyou-status-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  margin-bottom: 32px;
  background: rgba(139, 197, 63, 0.06);
  border: 1px solid rgba(139, 197, 63, 0.45);
}
.thankyou-status-card--success {
  border-color: rgba(139, 197, 63, 0.45);
  background: rgba(139, 197, 63, 0.06);
}
.thankyou-status-card--failed {
  border-color: rgba(220, 53, 69, 0.45);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.08) 0%, var(--bg-elevated) 55%);
}
.thankyou-status-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
}
.thankyou-status-card--success .thankyou-status-icon {
  color: var(--primary);
  background: rgba(139, 197, 63, 0.14);
  border: 1px solid rgba(139, 197, 63, 0.35);
}
.thankyou-status-card--failed .thankyou-status-icon {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.35);
}
.thankyou-status-body {
  flex: 1;
  min-width: 0;
}
.thankyou-status-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}
.thankyou-status-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.thankyou-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.thankyou-section {
  margin-bottom: 28px;
}
.thankyou-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.thankyou-panel {
  padding: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.thankyou-section--items .thankyou-panel {
  padding: 4px 20px;
}
.thankyou-items {
  max-height: none;
  margin-bottom: 0;
}
.thankyou-item {
  padding: 16px 0;
}
.thankyou-item:last-child {
  border-bottom: none;
}
.thankyou-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.thankyou-details-row .thankyou-section {
  margin-bottom: 0;
  min-width: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 20px 20px;
}
.thankyou-address-card,
.thankyou-bank-card {
  height: 100%;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.thankyou-section--shipping .thankyou-panel,
.thankyou-section--bank .thankyou-panel {
  border: none;
  padding: 0;
  background: transparent;
}
.thankyou-address-card address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.thankyou-address-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.thankyou-address-meta:last-child {
  margin-bottom: 0;
}
.thankyou-address-meta i {
  width: 16px;
  color: var(--primary);
  text-align: center;
}
.thankyou-bank-account-name {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
}
.thankyou-bank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.thankyou-bank-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.thankyou-bank-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.thankyou-bank-list li span {
  color: var(--text-muted);
}
.thankyou-bank-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}
.thankyou-bank-empty {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.thankyou-summary-col {
  position: sticky;
  top: calc(var(--sticky-header-height) + 24px);
}
.thankyou-summary-col h3 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.thankyou-overview {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  border-top: 1px solid var(--border);
}
.thankyou-overview li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.thankyou-overview li strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}
.thankyou-status-badge {
  color: var(--primary) !important;
  text-transform: capitalize;
}
.thankyou-totals {
  margin: 8px 0 0;
}
.thankyou-totals .checkout-line {
  border-bottom: 1px solid var(--border);
}
.thankyou-grand-total {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: none;
  padding-top: 18px;
  margin-top: 4px;
}
.thankyou-grand-total span:last-child {
  font-size: 20px;
  font-weight: 700;
}
.thankyou-payment-note {
  margin: 0 0 24px;
  padding-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}
.thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.thankyou-actions--center {
  justify-content: center;
  align-items: center;
  padding: 24px 0 0;
}
@media (max-width: 991px) {
  .thankyou-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .thankyou-summary-col {
    position: static;
  }
  .thankyou-details-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 767px) {
  .thankyou-status-card {
    padding: 18px 16px;
    gap: 14px;
  }
  .thankyou-page-wrap .page-header {
    padding-bottom: 32px;
  }
}

.checkout-page-notices {
  padding-top: 16px;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
  display: none !important;
}
.checkout-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.checkout-options-row .checkout-section {
  margin-top: 0;
  min-width: 0;
}
.checkout-section {
  margin-top: 24px;
}
.checkout-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.checkout-option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout-option {
  display: block;
  cursor: pointer;
}
.checkout-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkout-option-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-body);
  transition: border-color var(--transition), background var(--transition);
}
.checkout-option:hover .checkout-option-box {
  border-color: rgba(139, 197, 63, 0.45);
}
.checkout-option input:checked + .checkout-option-box {
  border-color: var(--primary);
  background: rgba(139, 197, 63, 0.06);
}
.checkout-option-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-muted);
  border-radius: 0;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition);
}
.checkout-option input:checked + .checkout-option-box .checkout-option-radio {
  border-color: var(--primary);
}
.checkout-option input:checked + .checkout-option-box .checkout-option-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--primary);
  border-radius: 0;
}
.checkout-option-body {
  flex: 1;
  min-width: 0;
}
.checkout-option-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.checkout-option-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}
.checkout-option-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
  padding-top: 2px;
}
.checkout-options-row .checkout-option-title {
  font-size: 13px;
}
.checkout-options-row .checkout-option-desc {
  font-size: 11px;
}
.checkout-option input:checked + .checkout-option-box .checkout-option-price,
.checkout-option-price.is-free {
  color: var(--primary);
}
.checkout-option--simple .checkout-option-box {
  min-height: 52px;
}
.checkout-submit { margin-top: 24px; }
.checkout-continue { margin-top: 8px; }
.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.payment-method-card {
  padding: 20px;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 28px;
  color: var(--text-secondary);
}
.payment-method-card span {
  display: block;
  font-size: 12px;
  margin-top: 8px;
  color: var(--text-muted);
}
.account-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  padding: 0 0 80px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: visible;
}
.bloodsactv-account-layout {
  min-height: 520px;
  padding-bottom: 0px;
  width: 80%;
  margin: auto;
  margin-top: 80px;
  margin-bottom: 80px;
}
.account-page-wrap .page-header {
  padding-bottom: 120px;
}
.woocommerce-account-main {
  background: var(--bg-body);
}
.account-sidebar {
  padding: 28px 0;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
}
.account-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-sidebar li {
  margin: 0;
}
.account-sidebar-link {
  display: block;
  width: 100%;
  padding: 16px 28px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: left;
  transition: color var(--transition), background var(--transition);
}
.account-sidebar-link:hover,
.account-sidebar-link.is-active,
.woocommerce-MyAccount-navigation li.is-active .account-sidebar-link {
  color: var(--text-primary);
  background: rgba(139, 197, 63, 0.14);
}
.account-sidebar-link.is-disabled {
  display: block;
  width: 100%;
  padding: 16px 28px;
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.55;
}
.account-sidebar--guest ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-sidebar-link--logout {
  margin-top: 12px;
  color: var(--text-muted);
}
.account-sidebar-link--logout:hover {
  color: var(--accent-red);
  background: rgba(229, 57, 53, 0.08);
  border-left-color: var(--accent-red);
}
.account-panel {
  padding: 0;
  background: var(--bg-elevated);
  border: 0;
  min-width: 0;
  overflow: visible;
}
.account-panel-title {
  margin: 0;
  padding: 28px 32px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.account-panel-body {
  padding: 28px 32px 32px;
}
.account-panel.is-loading .account-panel-body {
  opacity: 0.45;
  pointer-events: none;
}
.account-panel.is-loading {
  position: relative;
}
.account-panel.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid rgba(139, 197, 63, 0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: checkoutSummarySpin 0.8s linear infinite;
}
.account-orders-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.account-orders-table thead th,
.account-orders-table tbody td,
.account-orders-table tbody th {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: left;
  vertical-align: middle;
}
.account-orders-table thead th {
  padding-top: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.account-orders-table .woocommerce-orders-table__header-order-number,
.account-orders-table .woocommerce-orders-table__cell-order-number {
  width: 22%;
}
.account-orders-table .woocommerce-orders-table__header-order-date,
.account-orders-table .woocommerce-orders-table__cell-order-date {
  width: 18%;
}
.account-orders-table .woocommerce-orders-table__header-order-items,
.account-orders-table .woocommerce-orders-table__cell-order-items {
  width: 10%;
}
.account-orders-table .woocommerce-orders-table__header-order-total,
.account-orders-table .woocommerce-orders-table__cell-order-total {
  width: 22%;
}
.account-orders-table .woocommerce-orders-table__header-order-status,
.account-orders-table .woocommerce-orders-table__cell-order-status {
  width: 28%;
  text-align: right;
  padding-right: 0;
}
.account-orders-table tbody th {
  font-weight: 600;
  color: var(--text-primary);
}
.account-orders-table tbody tr:last-child td,
.account-orders-table tbody tr:last-child th {
  border-bottom: 0;
}
.woocommerce table.account-orders-table thead {
  display: table-header-group !important;
}
.woocommerce table.account-orders-table tbody {
  display: table-row-group !important;
}
.woocommerce table.account-orders-table tr {
  display: table-row !important;
}
.woocommerce table.account-orders-table th,
.woocommerce table.account-orders-table td {
  display: table-cell !important;
  text-align: left !important;
}
.woocommerce table.account-orders-table .woocommerce-orders-table__header-order-status,
.woocommerce table.account-orders-table .woocommerce-orders-table__cell-order-status {
  text-align: right !important;
}
.woocommerce table.account-orders-table td::before,
.woocommerce table.account-orders-table th::before {
  display: none !important;
  content: none !important;
}
.woocommerce table.account-orders-table tbody th {
  display: table-cell !important;
}
.account-order-number {
  color: var(--text-primary);
  font-weight: 600;
}
.account-order-number:hover {
  color: var(--primary);
}
.account-order-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.account-order-status.is-delivered {
  background: rgba(139, 197, 63, 0.18);
  border-color: rgba(139, 197, 63, 0.42);
  color: var(--primary-light);
}
.account-order-status.is-processing {
  background: rgba(139, 197, 63, 0.1);
  border-color: rgba(139, 197, 63, 0.22);
  color: var(--primary);
}
.account-empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
}
.account-empty-state p {
  margin: 0;
  color: var(--text-secondary);
}
.account-orders-pagination {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.account-orders-table-wrap {
  width: 100%;
  overflow-x: auto;
}
@media (max-width: 768px) {
  .account-orders-table {
    min-width: 640px;
  }
}
.account-auth {
  display: block;
  max-width: 100%;
}
.account-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.account-auth-tab {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.account-auth-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}
.account-auth-panels {
  display: block;
}
.account-auth-panel {
  display: none;
}
.account-auth-panel.is-active {
  display: block;
}
.account-auth-form .form-row {
  margin-bottom: 18px;
}
.account-auth-form .form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0;
}
.account-auth-form .input-text {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
}
.account-auth-form .input-text:focus {
  outline: none;
  border-color: var(--primary);
}
.account-forgot-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px;
}
.account-forgot-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}
.account-forgot-link:hover {
  color: var(--primary-light);
}
.account-auth-submit {
  width: 100%;
  margin-top: 4px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}
.account-panel-body--auth {
  padding: 32px;
}
.account-panel--auth .account-panel-body {
  padding: 32px;
}
.account-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.account-wishlist-grid .product-card {
  margin: 0;
}
.account-wishlist #accountWishlistEmpty[hidden] {
  display: none !important;
}
.btn-card-remove-wishlist {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-card-remove-wishlist:hover {
  background: rgba(229, 57, 53, 0.12);
  border-color: var(--accent-red);
  color: var(--accent-red);
}
.account-auth--split {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.account-auth-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}
.account-auth .form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.account-auth .input-text {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 14px;
}
.account-auth .input-text:focus {
  outline: none;
  border-color: var(--primary);
}
.account-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.account-auth-note,
.account-auth .lost_password {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.account-auth .lost_password a:hover {
  color: var(--primary);
}
.woocommerce-account .woocommerce-MyAccount-content form h3,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields h3,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset legend {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.account-details-form {
  max-width: 100%;
}
.account-form-intro {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.account-form-back {
  margin: 0 0 20px;
}
.account-form-back a {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}
.account-form-back a:hover {
  color: var(--primary-light);
}
.account-address-book--single {
  max-width: 100%;
}
.account-address-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.account-address-form-card,
.account-details-form .account-form-section {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.account-address-form-card + .account-address-form-card {
  margin-top: 0;
}
.account-form-section + .account-form-section,
.account-form-password {
  margin-top: 24px;
}
.account-form-section-title,
.account-form-password legend.account-form-section-title {
  margin: 0 0 20px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.account-form-password {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.account-form-password legend {
  float: left;
  width: 100%;
}
.account-form-grid {
  display: grid;
  gap: 0 20px;
}
.account-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-form-fields .form-row,
.account-details-form .form-row,
.account-address-form .form-row {
  margin: 0 0 20px;
  float: none;
  width: 100%;
  clear: none;
}
.account-form-fields .form-row:last-child,
.account-details-form .form-row:last-child,
.account-address-form .form-row:last-child {
  margin-bottom: 0;
}
.account-form-fields label,
.account-details-form label,
.account-address-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0;
}
.account-form-fields .input-text,
.account-form-fields select,
.account-form-fields textarea,
.account-details-form .input-text,
.account-details-form select,
.account-details-form textarea,
.account-address-form .input-text,
.account-address-form select,
.account-address-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
}
.account-form-fields textarea,
.account-address-form textarea {
  min-height: 96px;
  resize: vertical;
}
.account-form-fields .input-text:focus,
.account-form-fields select:focus,
.account-form-fields textarea:focus,
.account-details-form .input-text:focus,
.account-details-form select:focus,
.account-details-form textarea:focus,
.account-address-form .input-text:focus,
.account-address-form select:focus,
.account-address-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.account-address-form select,
.account-address-form .account-native-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
}
.account-address-form select:focus,
.account-address-form .account-native-select:focus {
  outline: none;
  border-color: var(--primary);
}
.account-form-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}
.account-form-note--section {
  margin: -8px 0 20px;
}
.account-form-actions {
  margin-top: 24px;
}
.account-form-submit {
  min-width: 180px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.account-details-form .clear,
.account-address-form .clear {
  display: none;
}
.woocommerce-account .woocommerce-MyAccount-content .form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.woocommerce-account .woocommerce-MyAccount-content .input-text,
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 14px;
}
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content .btn {
  margin-top: 0;
}
@media (max-width: 900px) {
  .account-address-forms,
  .account-form-grid--2 {
    grid-template-columns: 1fr;
  }
}
.woocommerce-account .woocommerce-Address {
  margin-bottom: 28px;
}
.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.woocommerce-account .woocommerce-Address address {
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-style: normal;
  line-height: 1.7;
  color: var(--text-secondary);
}
@media (max-width: 1100px) {
  .checkout-layout,
  .cart-page-layout {
    grid-template-columns: 1fr;
  }
  .cart-page-suggestions-grid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkout-options-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .checkout-layout,
  .account-grid,
  .cart-page-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 0;
  }
  .account-sidebar ul {
    display: flex;
    overflow-x: auto;
  }
  .account-sidebar-link {
    white-space: nowrap;
    padding: 16px 20px;
  }
  .account-sidebar-link.is-active,
  .woocommerce-MyAccount-navigation li.is-active .account-sidebar-link {
    background: rgba(139, 197, 63, 0.14);
  }
  .account-panel-title {
    font-size: 24px;
    padding: 24px 20px 0;
  }
  .account-panel-body {
    padding: 20px;
  }
  .account-auth--split {
    grid-template-columns: 1fr;
  }
  .account-wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .checkout-form-row { grid-template-columns: 1fr; }
  .checkout-form,
  .checkout-summary,
  .cart-page-summary { position: static; }
  .cart-page-item-top {
    flex-direction: column;
    gap: 12px;
  }
  .cart-page-item-price {
    align-self: flex-start;
  }
  .cart-page-suggestions-grid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 1200px) {
  .account-wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================
   History Page — Premium Layout
   ============================================ */
.history-page {
  background: var(--bg-body);
}

/* Hero */
.history-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--sticky-header-height) + 48px) 0 72px;
  overflow: hidden;
}
.history-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.history-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
}
.history-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.75) 100%
  );
}
.history-hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: var(--container-max);
}
.history-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}
.history-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.history-breadcrumb a:hover { color: var(--primary); }
.history-breadcrumb span { margin: 0 8px; opacity: 0.5; }
.history-hero .section-label { color: var(--primary); }
.history-hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.history-hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.history-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
}
.history-stat {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--transition), background var(--transition);
}
.history-stat:hover {
  border-color: rgba(139, 197, 63, 0.5);
  background: rgba(139, 197, 63, 0.08);
}
.history-stat-num {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.history-stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* Intro */
.history-intro {
  padding: var(--section-padding) 0;
  background: var(--bg-body);
}
.history-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.history-intro-media {
  position: relative;
}
.history-intro-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.history-intro-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 16px 28px;
  background: var(--primary);
  color: var(--text-on-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.history-intro-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.history-intro-title span {
  color: var(--primary);
}
.history-intro-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.history-intro-content .btn { margin-top: 12px; }

/* Section head */
.history-section-head {
  text-align: center;
  margin-bottom: 56px;
}
.history-section-head .section-title { margin-bottom: 0; }

/* Pillars */
.history-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.history-pillar {
  position: relative;
  padding: 48px 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.history-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height var(--transition);
}
.history-pillar:hover {
  border-color: rgba(139, 197, 63, 0.35);
  transform: translateY(-4px);
}
.history-pillar:hover::before { height: 100%; }
.history-pillar-accent {
  background: var(--black);
  border-color: var(--black-soft);
}
.history-pillar-accent .history-pillar-icon {
  background: rgba(139, 197, 63, 0.15);
  color: var(--primary);
}
.history-pillar-accent h3,
.history-pillar-accent p { color: #fff; }
.history-pillar-accent p { opacity: 0.75; }
.history-pillar-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 197, 63, 0.12);
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 24px;
}
.history-pillar h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}
.history-pillar p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Journey — compact interactive timeline */
.history-milestones {
  background: transparent;
  padding-top: 56px;
  padding-bottom: 56px;
}
.history-milestones .history-section-head {
  margin-bottom: 48px;
}
.history-journey {
  background: transparent;
  border: none;
}
.history-journey-rail {
  position: relative;
  padding: 0 0 8px;
  margin-bottom: 40px;
}
.history-journey-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.history-journey-line-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.history-journey-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.history-journey-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 8px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  color: var(--text-muted);
  transition: color var(--transition);
}
.history-journey-tab:hover { color: var(--text-secondary); }
.history-journey-tab.is-active { color: var(--text-primary); }
.history-journey-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-body);
  border: 2px solid var(--border);
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.history-journey-tab.is-active .history-journey-dot {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(139, 197, 63, 0.2);
}
.history-journey-year {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.history-journey-tab.is-active .history-journey-year { color: var(--primary); }
.history-journey-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--transition), max-height var(--transition);
}
.history-journey-tab.is-active .history-journey-label {
  opacity: 1;
  max-height: 20px;
  color: var(--text-secondary);
}
.history-journey-stage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 300px;
}
.history-journey-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.history-journey-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.history-journey-visual {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  max-height: 340px;
}
.history-journey-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.history-journey-panel.is-active .history-journey-visual img {
  transform: scale(1.03);
}
.history-journey-index {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.history-journey-copy {
  padding: 0 8px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.history-journey-meta {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}
.history-journey-copy h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.history-journey-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 420px;
}

/* Values */
.history-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.history-value {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}
.history-value:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
}
.history-value-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  transition: color var(--transition);
}
.history-value:hover .history-value-num { color: rgba(139, 197, 63, 0.2); }
.history-value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 20px;
}
.history-value h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.history-value p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* CTA */
.history-cta {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}
.history-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.history-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.history-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
}
.history-cta-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 24px;
}
.history-cta-content .section-label { color: var(--primary); }
.history-cta-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.history-cta-content > p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.history-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Light mode */
[data-theme="light"] .history-pillar-accent {
  background: var(--black);
}
[data-theme="light"] .history-journey-tab.is-active .history-journey-year {
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1100px) {
  .history-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .history-hero { min-height: 75vh; }
  .history-stats { grid-template-columns: repeat(2, 1fr); }
  .history-intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .history-intro-badge {
    right: 16px;
    bottom: -16px;
  }
  .history-pillars-grid { grid-template-columns: 1fr; }
  .history-journey-rail { padding: 0 0 8px; margin-bottom: 28px; }
  .history-journey-line { left: 0; right: 0; top: 14px; }
  .history-journey-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .history-journey-tabs::-webkit-scrollbar { display: none; }
  .history-journey-tab {
    flex: 0 0 25%;
    min-width: 88px;
    scroll-snap-align: center;
    padding-bottom: 16px;
  }
  .history-journey-label {
    opacity: 1;
    max-height: 20px;
    font-size: 10px;
  }
  .history-journey-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .history-journey-visual {
    min-height: 200px;
    max-height: 220px;
  }
  .history-journey-copy {
    padding: 0 4px;
  }
}
@media (max-width: 600px) {
  .history-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .history-stat { padding: 16px; }
  .history-values-grid { grid-template-columns: 1fr; }
  .history-pillar { padding: 32px 24px; }
  .history-cta-actions { flex-direction: column; align-items: center; }
  .history-cta-actions .btn { width: 100%; max-width: 280px; }
}

/* ============================================
   Home Page — Premium Interactive
   ============================================ */
.home-hero {
  isolation: isolate;
}
.home-hero .hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 197, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 197, 63, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}
.home-hero .hero-slide img {
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-hero .hero-slide.active img {
  animation: homeKenBurns 8s ease forwards;
}
.home-hero .hero-overlay {
  background: linear-gradient(
    115deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.home-hero .hero-slide-content {
  position: absolute;
  bottom: 18%;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 48px;
  max-width: var(--container-max);
  margin: 0 auto;
  pointer-events: none;
}
.home-hero .hero-slide.active .hero-slide-content {
  pointer-events: auto;
}
.home-hero .hero-slide .hero-tag,
.home-hero .hero-slide .hero-title,
.home-hero .hero-slide .hero-desc,
.home-hero .hero-slide .hero-cta {
  opacity: 0;
  transform: translateY(24px);
}
.home-hero .hero-slide.active .hero-tag {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}
.home-hero .hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}
.home-hero .hero-slide.active .hero-desc {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}
.home-hero .hero-slide.active .hero-cta {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.65s;
}
.home-hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-hero .hero-ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.home-hero .hero-arrows,
.home-hero .hero-bottom,
.home-hero .hero-scroll {
  pointer-events: auto;
}
.home-hero .hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 48px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.home-hero .hero-counter {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  min-width: 52px;
}
.home-hero .hero-counter-current { color: var(--primary); }
.home-hero .hero-counter-sep { opacity: 0.4; margin: 0 2px; }
.home-hero .hero-progress {
  flex: 1;
  max-width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.home-hero .hero-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  box-shadow: 0 0 10px rgba(139, 197, 63, 0.5);
}
.home-hero .hero-nav {
  position: static;
  margin-left: auto;
}
.home-hero .hero-arrows {
  bottom: auto;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  justify-content: space-between;
  padding: 0 24px;
}
.home-hero .hero-arrow {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.25);
}
.home-hero .hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.home-hero .hero-scroll i {
  animation: homeScrollBounce 1.8s ease-in-out infinite;
}
.home-hero .hero-scroll:hover { color: var(--primary); }

@keyframes homeKenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes homeScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes heroProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Stats strip */
.home-stats {
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.home-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.home-stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.home-stat:last-child { border-right: none; }
.home-stat:hover { background: rgba(139, 197, 63, 0.05); }
.home-stat-num {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.home-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Campaign triple */
.home-campaign-triple .campaign-triple-text {
  position: relative;
  overflow: hidden;
}
.home-campaign-triple .campaign-triple-text::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 197, 63, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.home-campaign-triple .campaign-triple-image {
  position: relative;
}
.home-campaign-triple .campaign-triple-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(139, 197, 63, 0.15);
  opacity: 0;
  transition: opacity var(--transition);
}
.home-campaign-triple .campaign-triple-image:hover::after { opacity: 1; }

/* Categories */
.home-category-card {
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow var(--transition);
  will-change: transform;
}
.home-category-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.home-category-card:hover .home-category-num { color: var(--primary); }
.home-category-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), border-color var(--transition);
}
.home-category-card:hover .home-category-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
}

/* ---- Category slider (active when > 4 categories) ---- */
.home-cat-slider-nav {
  display: flex;
  gap: 8px;
}

.home-cat-slider-nav .home-scroll-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

[data-home-cat-slider] .home-cat-slider-wrap {
  overflow: hidden;
}

[data-home-cat-slider] .home-category-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px;
  align-items: stretch;
}

[data-home-cat-slider] .home-category-grid .home-category-card {
  flex: 0 0 calc(25% - 12px);
  scroll-snap-align: start;
  width: calc(25% - 12px);
  flex-shrink: 0;
}

.home-categories-mobile-more {
  display: none;
  margin-top: 28px;
  text-align: center;
}

@media (max-width: 992px) {
  [data-home-cat-slider] .home-category-grid .home-category-card {
    flex: 0 0 calc(33.333% - 11px);
    width: calc(33.333% - 11px);
  }
}

@media (max-width: 768px) {
  .home-categories-section .home-cat-slider-nav {
    display: none;
  }

  .home-categories-section .home-cat-slider-wrap {
    overflow: visible;
  }

  .home-categories-section[data-home-cat-slider] .home-category-grid,
  .home-categories-section .home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    overflow: visible;
    flex-wrap: wrap;
    scroll-snap-type: none;
    margin: 0;
    padding: 0;
    touch-action: auto;
  }

  .home-categories-section[data-home-cat-slider] .home-category-grid .home-category-card,
  .home-categories-section .home-category-grid .home-category-card {
    flex: unset;
    width: auto;
    scroll-snap-align: unset;
  }

  .home-categories-section .home-category-grid .home-category-card:nth-child(n+5) {
    display: none;
  }

  .home-categories-mobile-more {
    display: block;
  }

  [data-home-cat-slider] .home-category-grid {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    scroll-padding-inline: 0;
  }
}

/* Campaign grid */
.home-campaign-grid .campaign-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(139, 197, 63, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.home-campaign-grid .campaign-banner:hover::before { opacity: 1; }
.home-campaign-grid .campaign-content { position: relative; z-index: 2; }

/* Home mobile sliders (campaign, why, news) */
.home-slider-wrap {
  width: 100%;
}

.home-slider-nav {
  display: none;
}

.home-slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.home-slider-dot {
  width: 32px;
  height: 3px;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition);
}

.home-slider-dot.is-active {
  background: var(--primary);
  width: 48px;
}

[data-home-slider] .reveal,
[data-home-slider] .reveal-left,
[data-home-slider] .reveal-right {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 768px) {
  [data-home-slider] .home-slider-track {
    overflow: hidden;
  }

  .container [data-home-slider] .home-slider-track {
    margin-left: -16px;
    margin-right: -16px;
  }

  [data-home-slider] .home-slider-track > * {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 0 16px;
    scroll-padding-inline: 16px;
  }

  [data-home-slider] .home-slider-track > *::-webkit-scrollbar {
    display: none;
  }

  /* Campaign — full-width slides */
  [data-home-slider] .home-campaign-grid.campaign-grid {
    gap: 0;
    padding: 0;
  }

  .home-campaign-slider-wrap .home-slider-track {
    margin-left: 0;
    margin-right: 0;
  }

  [data-home-slider] .home-campaign-grid .campaign-banner {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-height: 300px;
    height: 50vh;
  }

  [data-home-slider] .home-campaign-grid .campaign-overlay {
    padding: 32px 24px;
  }

  /* Why choose cards */
  [data-home-slider] .home-why-grid .home-why-card {
    flex: 0 0 calc(100% - 32px);
    scroll-snap-align: start;
    min-width: 0;
  }

  [data-home-slider] .home-why-grid .home-why-card:hover {
    transform: none;
  }

  /* News cards */
  [data-home-slider] .home-news-grid .news-card {
    flex: 0 0 calc(100% - 32px);
    scroll-snap-align: start;
    min-width: 0;
  }

  [data-home-slider] .home-news-grid .news-card:hover .news-image img {
    transform: none;
  }

  [data-home-slider] .home-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0 4px;
  }
}

/* Brand story */
.home-brand-story .brand-story-image {
  position: relative;
}
.home-story-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--text-on-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-story-stats {
  display: flex;
  gap: 32px;
  margin: 28px 0 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
[data-theme="light"] .home-story-stats {
  border-top-color: var(--border);
}
.home-story-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.home-story-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
[data-theme="light"] .home-brand-story .home-story-stat span { color: var(--text-secondary); }

/* Product cards on home */
.home-page .product-card {
  transition: transform var(--transition);
}
.home-page .product-card:hover {
  transform: translateY(-6px);
}

/* Instagram */
.home-insta-grid {
  gap: 6px;
  padding: 0 6px;
}
.home-insta-grid .insta-item {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s;
}
.home-insta-grid .insta-item:hover {
  transform: scale(1.04);
  z-index: 2;
}

/* Newsletter */
.home-newsletter {
  position: relative;
  overflow: hidden;
  background: var(--bg-muted);
}
.home-newsletter-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(139, 197, 63, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 80%);
}
.home-newsletter-inner {
  position: relative;
  z-index: 1;
}
.home-newsletter-form {
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.home-newsletter-form:focus-within {
  border-color: rgba(139, 197, 63, 0.5);
  box-shadow: 0 0 0 4px rgba(139, 197, 63, 0.1);
}

@media (max-width: 900px) {
  .home-hero .hero-slide-content { padding: 0 24px; bottom: 22%; }
  .home-hero .hero-bottom {
    left: 24px;
    right: 24px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .home-hero .hero-progress { max-width: none; flex: 1 1 100%; order: 3; }
  .home-hero .hero-nav { margin-left: 0; }
  .home-hero .hero-scroll { display: none; }
  .home-hero .hero-arrows { padding: 0 12px; }
  .home-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .home-stat:nth-child(2) { border-right: none; }
  .home-stat:nth-child(1),
  .home-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .home-story-stats { gap: 20px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .home-stats-inner { grid-template-columns: 1fr; }
  .home-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .home-stat:last-child { border-bottom: none; }
}

/* Trust bar */
.home-trust {
  border-bottom: 1px solid var(--border);
  background: var(--bg-body);
}
.home-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.home-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.home-trust-item:last-child { border-right: none; }
.home-trust-item:hover { background: rgba(139, 197, 63, 0.04); }
.home-trust-item i {
  font-size: 22px;
  color: var(--primary);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.home-trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.home-trust-item span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Collections scroll */
.home-collections { padding-bottom: 48px; }
.home-collections .section-header { align-items: flex-end; }
.home-collections-nav { display: flex; gap: 8px; }
.home-scroll-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.home-scroll-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(139, 197, 63, 0.08);
}
.home-collections-track-wrap {
  overflow: hidden;
  padding: 8px 0 0;
}
.home-collections-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  scrollbar-width: none;
}
.home-collections-track::-webkit-scrollbar { display: none; }
.home-collection-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
}
.home-collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-collection-card:hover img { transform: scale(1.08); }
.home-collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}
.home-collection-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.home-collection-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.home-collection-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.home-collection-card:hover .home-collection-link {
  opacity: 1;
  transform: translateY(0);
}

/* Tabbed shop */
.home-shop-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.home-shop-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-body);
  border: 1px solid var(--border);
}
.home-shop-tab {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
  position: relative;
}
.home-shop-tab.is-active {
  background: var(--primary);
  color: var(--text-on-primary);
}
.home-shop-tab:not(.is-active):hover { color: var(--text-primary); }
.home-shop-panels { position: relative; min-height: 200px; }
.home-shop-panel {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.home-shop-panel.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.home-shop-footer {
  text-align: center;
  margin-top: 40px;
}

/* Lookbook */
.home-lookbook {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 560px;
  background: var(--bg-muted);
}
.home-lookbook-visual {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.home-lookbook-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-lookbook-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 2;
}
.home-lookbook-hotspot span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(139, 197, 63, 0.35);
  border: 2px solid #fff;
  animation: homeHotspotPulse 2s ease infinite;
}
.home-lookbook-hotspot.is-active span {
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(139, 197, 63, 0.25);
}
.home-lookbook-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-lookbook-desc {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 420px;
}
.home-lookbook-product {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.home-lookbook-product.is-active { border-color: rgba(139, 197, 63, 0.4); }
.home-lookbook-product img {
  width: 100px;
  height: 120px;
  object-fit: cover;
}
.home-lookbook-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 4px;
}
.home-lookbook-product h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.home-lookbook-price {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Section head shared */
.home-section-head {
  text-align: center;
  margin-bottom: 48px;
}
.home-section-head .section-title { margin-bottom: 0; }

/* Why choose */
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-why-card {
  padding: 36px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}
.home-why-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
}
.home-why-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 197, 63, 0.1);
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 20px;
}
.home-why-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.home-why-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Testimonials */
.home-testimonial-stage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 220px;
  max-width: 720px;
  margin: 0 auto 32px;
}
.home-testimonial {
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.home-testimonial.is-active {
  opacity: 1;
  visibility: visible;
}
.home-testimonial-stars {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}
.home-testimonial blockquote {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.65;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 0 24px;
  font-style: italic;
}
.home-testimonial-author strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.home-testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.home-testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.home-testimonial-dots {
  display: flex;
  gap: 8px;
}
.home-testimonial-dot {
  width: 32px;
  height: 3px;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition);
}
.home-testimonial-dot.is-active {
  background: var(--primary);
  width: 48px;
}

/* FAQ & Payment */
.home-faq-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.home-faq-list .faq-item { margin-bottom: 0; }
.home-payment-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.home-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.home-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}
.home-payment-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}
.home-payment-item i { font-size: 24px; color: var(--text-secondary); }
.home-payment-item span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes homeHotspotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

@media (max-width: 1100px) {
  .home-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .home-trust-item:nth-child(2) { border-right: none; }
  .home-trust-item:nth-child(1),
  .home-trust-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .home-why-grid { grid-template-columns: repeat(2, 1fr); }
  .home-lookbook { grid-template-columns: 1fr; }
  .home-lookbook-content { padding: 48px 32px; }
}
@media (max-width: 900px) {
  .home-shop-head { flex-direction: column; align-items: flex-start; }
  .home-shop-tabs { width: 100%; overflow-x: auto; }
  .home-shop-tab { flex: 1; min-width: max-content; white-space: nowrap; }
  .home-faq-payment-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .home-trust-inner { grid-template-columns: 1fr; }
  .home-trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .home-trust-item:last-child { border-bottom: none; }
  .home-why-grid { grid-template-columns: 1fr; }
  .home-payment-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mobile Bottom Navigation ---- */
.bottom-nav {
  display: none;
}

.more-panel-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.more-panel-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.more-panel {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  z-index: 1095;
  background: var(--bg-surface);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 20px 12px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  border: 1px solid var(--border);
}

.more-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.more-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 0;
}

.more-panel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  text-align: center;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition);
}

.more-panel-item:hover {
  color: var(--primary);
}

.more-panel-item.is-active {
  color: var(--primary);
  font-weight: 700;
}

.more-panel-item:nth-child(-n+4) {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 4px;
}

.more-panel-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
}

.more-panel-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon-grid rect {
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.more-panel-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary-grey-mid);
  color: var(--text-primary);
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.more-panel-item.is-close {
  color: var(--text-primary);
  font-weight: 700;
}

.more-panel-icon-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--primary);
  font-size: 14px;
}

.bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  display: none;
  align-items: stretch;
  justify-content: space-around;
  background: var(--bg-surface);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 8px 4px 6px;
  font-family: var(--font);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:hover {
  color: var(--text-secondary);
}

.bottom-nav-item.is-active {
  color: var(--text-primary);
  font-weight: 700;
}

.bottom-nav-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background var(--transition);
}

.bottom-nav-item.is-active .bottom-nav-icon-wrap {
  background: var(--bg-elevated);
}

.bottom-nav-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav-icon.nav-icon-grid rect,
.nav-icon-grid rect {
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.bottom-nav-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-on-primary);
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bottom-nav-badge.is-sale {
  width: 14px;
  height: 14px;
  top: 2px;
  right: 2px;
  font-size: 7px;
  letter-spacing: -0.02em;
}

.bottom-nav-more-btn .bottom-nav-more-icon,
.bottom-nav-more-btn .bottom-nav-close-icon {
  font-size: 20px;
  width: auto;
  height: auto;
  stroke: none;
  fill: currentColor;
}

.bottom-nav-more-btn .bottom-nav-close-icon {
  display: none;
}

.bottom-nav-more-btn.is-open .bottom-nav-more-icon {
  display: none;
}

.bottom-nav-more-btn.is-open .bottom-nav-close-icon {
  display: block;
  font-size: 18px;
}

.bottom-nav-more-btn.is-open {
  color: var(--text-primary);
  font-weight: 700;
}

.bottom-nav-more-btn.is-open .bottom-nav-icon-wrap {
  background: var(--bg-elevated);
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
  }

  .menu-toggle {
    display: none !important;
  }

  .mobile-nav {
    display: none;
  }

  body.has-bottom-nav {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .cart-sidebar {
    top: 0;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    height: auto;
    max-width: 100%;
  }
}

/* ---- Mobile Overflow & Layout Fixes ---- */
@media (max-width: 768px) {
  main,
  .home-page,
  .site-header-sticky,
  .footer,
  .section,
  .hero,
  .campaign-triple,
  .campaign-grid,
  .campaign-banner,
  .brand-story,
  .page-header {
    max-width: 100%;
    overflow-x: clip;
  }

  .container,
  .container-narrow {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    padding: 0 12px;
    gap: 8px;
    min-width: 0;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .logo img {
    height: 32px;
    max-width: 72px;
    object-fit: contain;
    object-position: left center;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .header-icon,
  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .marquee-track {
    padding-left: 16px;
    gap: 32px;
  }

  .marquee-track span {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero-tag {
    letter-spacing: 2px;
  }

  .hero-title,
  .campaign-triple-title,
  .section-title,
  .campaign-title {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .home-hero .hero-slide-content {
    padding: 0 16px;
    bottom: 26%;
  }

  .home-hero .hero-bottom {
    left: 16px;
    right: 16px;
    gap: 10px;
  }

  .home-hero .hero-arrows {
    left: 12px;
    bottom: 128px;
    padding: 0;
  }

  .home-hero .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .home-hero .hero-cta {
    width: 100%;
  }

  .home-hero .hero-cta .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .campaign-triple-text {
    padding: 28px 20px;
  }

  .brand-story-content {
    padding: 32px 16px;
  }

  .section-header,
  .home-shop-head,
  .home-section-head {
    width: 100%;
    min-width: 0;
  }

  .section-header .btn-ghost,
  .home-shop-head .home-shop-tabs {
    max-width: 100%;
  }

  .home-shop-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-shop-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-collections-track {
    padding: 0 16px;
  }

  .home-collection-card {
    flex: 0 0 min(280px, calc(100vw - 48px));
  }

  .product-grid,
  .category-grid,
  .news-grid {
    width: 100%;
    min-width: 0;
  }

  .product-card,
  .category-card,
  .news-card {
    min-width: 0;
  }

  .product-name,
  .news-title,
  .product-price {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .price-current,
  .price-original {
    white-space: normal;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(24px);
  }

  .reveal-left.visible,
  .reveal-right.visible {
    transform: translateY(0);
  }

  .home-insta-grid .insta-item:hover {
    transform: none;
  }

  .home-category-card:hover {
    transform: none;
  }

  .newsletter-form {
    width: 100%;
    max-width: 100%;
  }

  .newsletter-input {
    min-width: 0;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact p {
    word-break: break-word;
  }

  .toast,
  .wc-toast-stack {
    left: 16px;
    right: 16px;
    bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    max-width: none;
    align-items: stretch;
  }

  .wc-toast {
    width: 100%;
  }

  .quick-view-modal {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 100px - env(safe-area-inset-bottom, 0px));
  }

  .qv-info {
    overflow-x: hidden;
  }

  .search-form {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .more-panel {
    left: 10px;
    right: 10px;
    width: auto;
    max-width: calc(100% - 20px);
    box-sizing: border-box;
  }

  .bottom-nav {
    left: 8px;
    right: 8px;
    width: auto;
    max-width: calc(100% - 16px);
    box-sizing: border-box;
  }

  .page-loader,
  .page-loader * {
    max-width: 100vw;
  }

  .breadcrumb {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    padding: 0 8px;
  }

  .tab-nav {
    max-width: 100%;
    scrollbar-width: none;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .shop-layout,
  .shop-main,
  .product-detail,
  .checkout-layout,
  .account-grid,
  .info-content {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .shop-sort select {
    max-width: calc(100vw - 48px);
  }

  .filter-panel-mobile {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-inner {
    padding: 0 10px;
    gap: 4px;
  }

  .logo img {
    height: 28px;
    max-width: 64px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-icon,
  .theme-toggle {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .home-hero .hero-slide-content {
    bottom: 30%;
  }

  .home-hero .hero-arrows {
    display: none;
  }

  .campaign-triple-text {
    padding: 24px 16px;
  }

  .campaign-triple-image {
    min-height: 200px;
  }

  .campaign-triple-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .more-panel {
    left: 8px;
    right: 8px;
    max-width: calc(100% - 16px);
    padding: 16px 8px 12px;
  }

  .bottom-nav {
    left: 6px;
    right: 6px;
    max-width: calc(100% - 12px);
    padding: 6px 2px 4px;
  }

  .bottom-nav-label {
    font-size: 10px;
  }
}

/* ---- Mobile centered typography ---- */
@media (max-width: 768px) {
  .section-header > div {
    width: 100%;
    text-align: center;
  }

  .section-label,
  .section-title,
  .section-subtitle {
    text-align: center;
  }

  .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .section-header .btn-ghost {
    margin-top: 4px;
  }

  .home-shop-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .home-shop-tabs {
    justify-content: center;
  }

  .home-shop-footer {
    text-align: center;
  }

  .home-shop-footer .btn {
    width: 100%;
    max-width: 300px;
  }

  .home-hero .hero-slide-content {
    text-align: center;
  }

  .home-hero .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero .hero-cta {
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .brand-story-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .brand-story-text {
    text-align: center;
  }

  .home-story-stats {
    justify-content: center;
    width: 100%;
  }

  .campaign-triple-desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .campaign-triple-text .btn-campaign {
    margin-left: auto;
    margin-right: auto;
  }

  [data-home-slider] .home-why-card {
    text-align: center;
  }

  [data-home-slider] .home-why-icon {
    margin-left: auto;
    margin-right: auto;
  }

  [data-home-slider] .news-card .news-body {
    text-align: center;
  }

  .home-section-head,
  .history-section-head {
    text-align: center;
  }

  .page-header,
  .page-header .section-title,
  .page-header .section-subtitle,
  .page-header .breadcrumb {
    text-align: center;
  }

  .footer-grid > div:first-child {
    text-align: center;
  }

  .footer-logo {
    display: inline-block;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .newsletter,
  .home-newsletter-inner {
    text-align: center;
  }

  .info-content h2 {
    text-align: center;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pagination {
    justify-content: center;
  }

  /* Keep dense UI readable left-aligned */
  .product-card-info,
  .product-info-link,
  .footer-accordion-panel,
  .footer-accordion-trigger,
  .checkout-form,
  .faq-question,
  .product-detail-info,
  .filter-sidebar,
  .cart-item,
  .checkout-item-info {
    text-align: left;
  }
}

/* ---- Mobile spacing polish ---- */
@media (max-width: 768px) {
  :root {
    --space-head: 28px;
    --space-stack: 16px;
    --space-gutter: 16px;
  }

  .section-header,
  .home-section-head,
  .home-shop-head {
    margin-bottom: var(--space-head);
  }

  .section-header {
    gap: 10px;
  }

  .section-label {
    margin-bottom: 8px;
  }

  .section-title {
    margin-bottom: 10px;
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-subtitle {
    margin-bottom: 0;
  }

  .home-shop-head {
    gap: 12px;
  }

  .home-shop-footer {
    margin-top: var(--space-head);
  }

  .home-shop-tab {
    padding: 10px 14px;
    font-size: 11px;
  }

  .hero-tag {
    margin-bottom: 10px;
  }

  .hero-title {
    margin-bottom: 12px;
  }

  .hero-desc {
    margin-bottom: 18px;
  }

  .home-hero .hero-slide-content {
    bottom: 24%;
  }

  .home-hero .hero-cta {
    gap: 10px;
  }

  .campaign-triple-desc {
    margin-bottom: 18px;
  }

  .brand-story-content {
    padding: 32px var(--space-gutter);
  }

  .brand-story-text {
    margin-bottom: 18px;
  }

  .home-story-stats {
    margin: 18px 0 22px;
    padding-top: 16px;
    gap: 16px;
  }

  [data-home-slider] .home-why-card {
    padding: 22px 18px;
  }

  [data-home-slider] .home-why-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin-bottom: 12px;
  }

  [data-home-slider] .home-why-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
  }

  [data-home-slider] .home-why-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  [data-home-slider] .news-card .news-body {
    padding: 14px 12px;
  }

  [data-home-slider] .news-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  [data-home-slider] .news-excerpt {
    font-size: 13px;
  }

  .home-testimonial-stage {
    min-height: 180px;
    margin-bottom: 20px;
  }

  .home-testimonial-stars {
    margin-bottom: 14px;
  }

  .home-testimonial blockquote {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .home-testimonial-nav {
    gap: 12px;
  }

  .newsletter,
  .home-newsletter {
    padding: var(--section-padding) 0;
  }

  .newsletter-form {
    margin-top: 20px;
  }

  .newsletter-input,
  .newsletter-btn {
    padding: 14px 16px;
  }

  .footer {
    padding: var(--section-padding) 0 16px;
  }

  .footer-grid {
    margin-bottom: 20px;
  }

  .footer-grid > div:first-child {
    padding-bottom: 12px;
    margin-bottom: 0;
  }

  .footer-logo img {
    margin-bottom: 12px;
    height: 40px;
  }

  .footer-desc {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .footer-bottom {
    padding-top: 16px;
    gap: 10px;
  }

  .page-header {
    padding: calc(var(--sticky-header-height) + 28px) 0 28px;
  }

  .info-section {
    padding: var(--section-padding) 0;
  }

  .product-grid {
    gap: 12px;
  }

  .category-grid {
    gap: 8px;
  }

  .shop-toolbar {
    margin-bottom: 20px;
    gap: 10px;
  }

  .pagination {
    margin-top: 28px;
    gap: 6px;
  }

  .campaign-banner {
    min-height: 260px;
  }

  .campaign-overlay {
    padding: 20px 16px;
  }

  .campaign-title {
    margin-bottom: 10px;
  }

  .campaign-label {
    margin-bottom: 6px;
  }

  .category-card-overlay {
    padding: 16px;
  }

  .home-insta-grid {
    padding: 0 4px;
    gap: 4px;
  }

  .btn {
    padding: 12px 22px;
  }

  .btn-sm {
    padding: 9px 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 32px;
    --space-head: 24px;
    --space-gutter: 12px;
  }

  .container,
  .container-narrow {
    padding-left: var(--space-gutter);
    padding-right: var(--space-gutter);
  }

  .campaign-triple-text {
    padding: 20px var(--space-gutter);
  }

  .brand-story-content {
    padding: 28px var(--space-gutter);
  }

  .container [data-home-slider] .home-slider-track {
    margin-left: calc(var(--space-gutter) * -1);
    margin-right: calc(var(--space-gutter) * -1);
  }

  [data-home-slider] .home-slider-track > * {
    padding: 0 var(--space-gutter);
    scroll-padding-inline: var(--space-gutter);
  }

  .section-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .product-grid {
    gap: 10px;
  }

  .footer {
    padding-bottom: 12px;
  }
}

/* ---- Shop toolbar & list view (mobile) ---- */
@media (max-width: 768px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .shop-count {
    text-align: center;
    width: 100%;
    font-size: 13px;
  }

  .shop-toolbar-actions {
    width: 100%;
    gap: 10px;
  }

  .shop-sort select {
    font-size: 12px;
    height: 40px;
    padding: 0 12px;
  }

  .view-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .shop-main .product-grid.is-list-view {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shop-main .product-grid.is-list-view .product-card {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
  }

  .shop-main .product-grid.is-list-view .product-image-wrap {
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    margin-bottom: 0;
    aspect-ratio: 3 / 4;
  }

  .shop-main .product-grid.is-list-view .product-card-info {
    flex: 1;
    min-width: 0;
    padding: 12px 12px 12px 0;
    justify-content: center;
  }

  .shop-main .product-grid.is-list-view .product-name {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .shop-main .product-grid.is-list-view .product-category {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .shop-main .product-grid.is-list-view .price-current {
    font-size: 13px;
  }

  .shop-main .product-grid.is-list-view .btn-card-add-cart,
  .shop-main .product-grid.is-list-view .btn-card-view-product {
    max-width: none;
    width: 100%;
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 9px;
  }

  .shop-main .product-grid.is-list-view .product-quick-view {
    display: none;
  }

  .shop-main .product-grid.is-list-view .product-wishlist {
    width: 28px;
    height: 28px;
    font-size: 11px;
    top: 6px;
    right: 6px;
  }

  .shop-main .product-grid.is-list-view .product-badge {
    font-size: 8px;
    padding: 3px 5px;
  }
}

/* ---- Product detail (mobile) ---- */
@media (max-width: 768px) {
  .product-detail {
    padding-top: calc(var(--sticky-header-height) + 12px);
    padding-bottom: 40px;
  }

  .product-detail-breadcrumb {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.5;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 4px;
  }

  .product-detail-grid {
    gap: 16px;
  }

  .gallery-main {
    margin-bottom: 8px;
    aspect-ratio: 4/5;
  }

  .gallery-main:hover img {
    transform: none;
  }

  .gallery-thumbs-wrap {
    overflow: hidden;
  }

  .gallery-thumbs:not(.is-scrollable) {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }

  .gallery-thumbs.is-scrollable {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    grid-template-columns: unset;
  }

  .gallery-thumbs.is-scrollable::-webkit-scrollbar {
    display: none;
  }

  .gallery-thumbs.is-scrollable .gallery-thumb {
    flex: 0 0 72px;
    min-width: 72px;
    scroll-snap-align: start;
  }

  .product-info-sku,
  .product-info-title {
    text-align: left;
  }

  .product-info-sku {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .product-info-title {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.25;
  }

  .product-info-price {
    margin-bottom: 12px;
  }

  .product-info-price .price-current {
    font-size: 20px;
  }

  .product-info-desc {
    margin-bottom: 18px;
    padding-bottom: 18px;
    font-size: 14px;
    line-height: 1.65;
  }

  .option-group {
    margin-bottom: 16px;
  }

  .option-label {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .stock-status {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .qty-selector {
    margin-bottom: 14px;
  }

  .product-actions {
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 20px;
    gap: 10px;
  }

  .wishlist-detail-btn {
    width: 48px;
    min-width: 48px;
    height: auto;
    font-size: 18px;
  }

  .product-meta {
    padding-top: 16px;
  }

  .product-meta-item {
    padding: 10px 0;
    font-size: 13px;
    flex-direction: column;
    gap: 4px;
  }

  .product-meta-item strong {
    min-width: 0;
    font-size: 11px;
  }

  .product-share {
    margin-top: 16px;
  }

  .product-tabs {
    margin-top: 28px;
  }

  .tab-btn {
    padding: 12px 14px;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .tab-content {
    padding: 20px 0;
  }

  .product-detail-related {
    padding-top: 32px;
    margin-top: 8px;
  }

  .product-detail-related .section-header {
    margin-bottom: 16px;
  }

  .product-related-slider-wrap {
    overflow: hidden;
  }

  .product-related-track {
    overflow: visible;
  }

  .product-related-grid.product-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    grid-template-columns: unset;
  }

  .product-related-grid.product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-related-grid .product-card {
    flex: 0 0 calc(50% - 5px);
    min-width: calc(50% - 5px);
    scroll-snap-align: start;
  }
}

@media (min-width: 769px) {
  .product-related-track {
    overflow: visible;
  }

  .product-related-grid.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 769px) {
  .shop-main .product-grid.is-list-view .product-image-wrap {
    width: 200px;
  }
}
