/* =============================================
   La Plume Magique  — By Rcode Vision
   ============================================= */

:root {
  --theme-primary: #2563FF;
  --theme-secondary: #06B6D4;
  --theme-dark: #0B132B;
  --theme-background: #F5F7FB;
  --theme-white: #FFFFFF;
  --theme-muted: #94A3B8;

  --primary: var(--theme-primary);
  --secondary: var(--theme-secondary);
  --dark: var(--theme-dark);
  --navy: var(--theme-dark);
  --accent: var(--theme-dark);
  --bg: var(--theme-background);
  --background: var(--theme-background);
  --white: var(--theme-white);
  --muted: var(--theme-muted);
  --surface: var(--white);
  --text: var(--dark);
  --text-secondary: color-mix(in srgb, var(--dark) 68%, var(--white));
  --on-primary: var(--white);
  --on-secondary: var(--dark);
  --on-dark: var(--white);
  --primary-hover: color-mix(in srgb, var(--primary) 82%, var(--dark));
  --primary-active: color-mix(in srgb, var(--primary) 70%, var(--dark));
  --primary-dark: var(--primary-hover);
  --primary-light: color-mix(in srgb, var(--primary) 75%, var(--white));
  --primary-soft: color-mix(in srgb, var(--primary) 8%, var(--white));
  --secondary-hover: color-mix(in srgb, var(--secondary) 80%, var(--dark));
  --secondary-soft: color-mix(in srgb, var(--secondary) 10%, var(--white));
  --accent-light: color-mix(in srgb, var(--dark) 82%, var(--secondary));
  --border: color-mix(in srgb, var(--muted) 30%, var(--white));
  --field-border: color-mix(in srgb, var(--muted) 50%, var(--white));
  --border-strong: color-mix(in srgb, var(--muted) 55%, var(--white));
  --focus-color: color-mix(in srgb, var(--primary) 24%, transparent);
  --focus-ring: 0 0 0 .25rem var(--focus-color);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));

  /* Semantic colors remain independent of the brand palette. */
  --success: #16A34A;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: var(--secondary);
  --success-soft: color-mix(in srgb, var(--success) 10%, var(--white));
  --warning-soft: color-mix(in srgb, var(--warning) 12%, var(--white));
  --danger-soft: color-mix(in srgb, var(--danger) 10%, var(--white));
  --delivery-rate-none: var(--gray-200);
  --delivery-rate-low: var(--danger);
  --delivery-rate-mid: var(--warning);
  --delivery-rate-high: color-mix(in srgb, var(--success) 60%, var(--warning));
  --delivery-rate-top: var(--success);

  --gray-50: var(--bg);
  --gray-100: color-mix(in srgb, var(--muted) 10%, var(--white));
  --gray-200: var(--border);
  --gray-300: var(--border-strong);
  --gray-400: var(--muted);
  --gray-500: var(--text-secondary);
  --gray-600: color-mix(in srgb, var(--dark) 75%, var(--white));
  --gray-700: color-mix(in srgb, var(--dark) 82%, var(--white));
  --gray-800: color-mix(in srgb, var(--dark) 90%, var(--white));
  --gray-900: var(--dark);
  --shadow-sm: 0 1px 3px color-mix(in srgb, var(--dark) 6%, transparent);
  --shadow-md: 0 4px 16px color-mix(in srgb, var(--dark) 8%, transparent);
  --shadow-lg: 0 10px 40px color-mix(in srgb, var(--dark) 10%, transparent);
  --shadow-xl: 0 20px 60px color-mix(in srgb, var(--dark) 12%, transparent);
  --shadow-primary: 0 8px 24px color-mix(in srgb, var(--primary) 25%, transparent);

  /* Bootstrap's semantic values and component variables use the same source. */
  --bs-primary: var(--primary);
  --bs-secondary: var(--secondary);
  --bs-dark: var(--dark);
  --bs-light: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-secondary-color: var(--text-secondary);
  --bs-tertiary-bg: var(--bg);
  --bs-border-color: var(--border);
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--primary-hover);
  --bs-primary-text-emphasis: var(--primary-hover);
  --bs-primary-bg-subtle: var(--primary-soft);
  --bs-primary-border-subtle: var(--border-strong);
  --bs-secondary-text-emphasis: var(--secondary-hover);
  --bs-secondary-bg-subtle: var(--secondary-soft);
  --bs-secondary-border-subtle: var(--border-strong);
  --bs-focus-ring-color: var(--focus-color);
--font-body: 'Cairo', sans-serif;
  --font-display: 'Cairo', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .4s cubic-bezier(.4, 0, .2, 1);
}

/* ─── CSS Custom Properties ─────────────────── */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/cairo-arabic.woff2") format("woff2");

}

.site-announcement {
  background: linear-gradient(90deg, var(--primary), var(--primary));
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  min-height: 34px;
  display: flex;
  align-items: center
}

.site-announcement-inner {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  align-items: center
}

.site-navbar-wrap {
  top: 0
}

.shop-navbar {
  box-shadow: 0 5px 18px color-mix(in srgb, var(--dark) 6%, transparent)
}

.shop-navbar-top {
  background: var(--white)
}

.shop-navbar-search {
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--muted) 15%, var(--white));
  border-radius: 999px
}

.shop-navbar-search input {
  background: transparent
}

.shop-navbar-nav .nav-link-smart {
  color: var(--dark);
  font-weight: 700
}

.shop-navbar-nav .nav-link-smart:hover,
.shop-navbar-nav .nav-link-smart.active {
  color: var(--primary-dark)
}

.page-home {
  background: var(--white)
}

.page-home #hero .swiper-slide img {
  height: 520px;
  object-fit: cover
}

.page-home #hero {
  position: relative;
  background: var(--dark)
}

.page-home #hero:after {
  content: "Bienvenue à\A La Plume Magique\A\A Tout pour l’école, le bureau et vos loisirs créatifs";
  white-space: pre;
  position: absolute;
  z-index: 2;
  left: max(5vw, calc((100vw - 1320px)/2));
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.45;
  text-shadow: 0 2px 18px color-mix(in srgb, var(--dark) 45%, transparent);
  pointer-events: none
}

.page-home #hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 70%, transparent), color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 8%, transparent) 58%, transparent);
  pointer-events: none
}

.page-home .features-section {
  position: relative;
  z-index: 3;
  margin-top: -34px !important
}

.page-home .features-strip {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 32px color-mix(in srgb, var(--dark) 12%, transparent);
  padding: 20px 28px
}

.page-home .feature-title {
  color: var(--dark);
  font-weight: 800
}

.page-home .category-gallery-section {
  padding: 38px 0;
  background: var(--white)
}

.page-home .category-gallery-card {
  border-radius: 14px;
  background: var(--bg);
  box-shadow: none;
  overflow: hidden
}

.page-home .featured-section {
  padding: 38px 0 !important
}

.page-home .section-title {
  color: var(--dark);
  text-align: left;
  font-weight: 800
}

/* .page-home #latestProducts,
.page-home #bestSellers,
.page-home .faq-section {
  display: none !important
} */

/* Daily offer card */
.page-home .daily-offer {
  background: var(--white);
  padding: 28px 0 36px;
}
.page-home .daily-offer .promo-banner {
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--dark) 74%, var(--white)) 0%, transparent 65%), var(--dark);
  border: 0;
  border-radius: 28px;
  padding: 48px 52px;
  color: var(--white);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--dark) 12%, transparent);
}
.daily-offer .promo-banner::before { display: none; }
.daily-offer .promo-tag {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  color: var(--primary);
  padding: 8px 14px;
  margin-bottom: 20px;
}
.page-home .daily-offer .promo-headline {
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 14px;
}
.daily-offer-name {
  color: var(--white);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  max-width: 540px;
  margin-bottom: 14px;
}
.page-home .daily-offer .promo-sub {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 22px;
}
.daily-offer-deadline { color: var(--muted); font-size: .8rem; margin-bottom: 10px; }
.daily-offer .timer-row { gap: 10px; margin-bottom: 24px; flex-wrap: nowrap; }
.daily-offer .timer-box {
  background: color-mix(in srgb, var(--white) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  border-radius: 12px;
  min-width: 72px;
  padding: 10px 14px;
  box-shadow: none;
}
.daily-offer .timer-num { color: var(--white); font-variant-numeric: tabular-nums; font-size: 1.6rem; }
.daily-offer .timer-lbl { color: var(--muted); }
.daily-offer-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.daily-offer-price { display: flex; flex-direction: column; }
.daily-offer-price strong { font-size: 1.8rem; line-height: 1.2; color: var(--white); }
.daily-offer-price small { font-size: .9rem; }
.daily-offer-price del { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.daily-offer .daily-offer-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--primary);color:var(--on-primary);
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 700;
  box-shadow: none;
}
.daily-offer .daily-offer-shop-btn:hover { background: var(--primary); }
.daily-offer .daily-offer-shop-btn:focus-visible,
.daily-offer-product:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.daily-offer-visual { display: flex; justify-content: center; }
.daily-offer-slider { width:100%; max-width:380px; min-width:0; }
.daily-offer-name { min-height:2.8em; }
.daily-offer-price { min-height:3.5rem; }
.daily-offer-price [hidden] { display:none; }
.daily-offer-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  padding: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--dark) 15%, transparent);
}
.daily-offer-product img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.daily-offer-discount {
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--primary);color:var(--on-primary);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 10px;
  padding: 7px 12px;
}
@media (max-width: 991px) {
  .page-home .daily-offer .promo-banner { padding: 32px; }
  .daily-offer .row { flex-direction: column-reverse; }
  .daily-offer-product { max-width: 300px; }
  .daily-offer-slider { max-width:300px; }
}
@media (max-width: 575px) {
  .page-home .daily-offer { padding: 16px 0 24px; }
  .page-home .daily-offer .promo-banner { padding: 24px 20px; border-radius: 20px; }
  .daily-offer-product { max-width: 240px; border-radius: 18px; }
  .daily-offer-slider { max-width:240px; }
  .daily-offer-actions { gap: 16px; }
  .daily-offer .daily-offer-shop-btn { flex: 1; padding: 14px 16px; }
  .daily-offer .timer-box { min-width: 64px; }
}

/* Daily deals: independently selectable campaign layouts. */
.deals-layout { position:relative; padding:40px 0; overflow:hidden; background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--primary) 14%,var(--white)),transparent 65%),var(--white); }
.deals-layout::before { content:""; position:absolute; width:650px; height:650px; border-radius:50%; background:color-mix(in srgb,var(--primary) 9%,transparent); left:-460px; bottom:-280px; pointer-events:none; }
.deals-composition { position:relative; display:grid; grid-template-columns:1.08fr 1fr; gap:20px; align-items:stretch; }
.deals-composition > * { min-width:0; }
.deals-campaign { position:relative; isolation:isolate; overflow:hidden; min-height:620px; padding:40px; border-radius:30px; border:1px solid color-mix(in srgb,var(--primary) 18%,var(--white)); background:linear-gradient(130deg,var(--white),color-mix(in srgb,var(--primary) 42%,var(--white))); color:var(--dark); }
.deals-campaign-copy { position:relative; z-index:1; }
.deals-eyebrow { display:inline-flex; align-items:center; gap:8px; padding:10px 17px; margin-bottom:28px; border-radius:30px; background:var(--primary); color:var(--on-primary); font-size:.85rem; font-weight:750; }
.deals-campaign h2 { max-width:90%; margin:0 0 24px; color:inherit; font-size:clamp(2rem,3.2vw,3.4rem); font-weight:850; line-height:1.12; overflow-wrap:anywhere; }
.deals-campaign p { max-width:72%; margin:0 0 32px; color:color-mix(in srgb,var(--dark) 70%,var(--white)); font-size:1rem; line-height:1.65; }
.deals-campaign-art { position:absolute; z-index:0; right:-18px; bottom:5px; width:54%; height:auto; max-height:70%; object-fit:contain; pointer-events:none; }
.deals-countdown { position:relative; width:max-content; max-width:100%; margin:0 0 32px; }
.deals-deadline { font-size:.8rem; margin-bottom:10px; }
.deals-campaign .timer-row { gap:9px; margin:0; }
.deals-campaign .timer-box { min-width:62px; padding:12px 10px; border:1px solid color-mix(in srgb,var(--primary) 18%,var(--white)); border-radius:13px; background:color-mix(in srgb,var(--white) 80%,transparent); box-shadow:none; }
.deals-campaign .timer-num { color:var(--dark); font-size:1.75rem; font-variant-numeric:tabular-nums; }
.deals-campaign .timer-lbl { color:var(--text-secondary); font-size:.7rem; }
.deals-discover { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:20px; padding:15px 24px; border-radius:22px; font-size:1rem; font-weight:750; text-decoration:none; background:var(--primary); color:var(--on-primary); }
.deals-discover:hover { background:var(--primary-hover); color:var(--on-primary); }
.deals-layout .deals-discover { width:max-content; max-width:100%; }
.deals-discover:focus-visible,.deals-product-cart:focus-visible,.deals-product-card a:focus-visible { outline:3px solid var(--primary); outline-offset:3px; }
.deals-products-slider { width:100%; min-width:0; border-radius:24px; }
.deals-products-slider .swiper-slide { height:auto; }
.deals-product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:16px; height:100%; }
.deals-product-card { min-width:0; display:flex; flex-direction:column; padding:12px; border-radius:23px; border:1px solid color-mix(in srgb,var(--primary) 13%,var(--white)); background:var(--white); box-shadow:0 8px 22px color-mix(in srgb,var(--primary) 6%,transparent); overflow:hidden; }
.deals-product-image { position:relative; display:block; aspect-ratio:1.5; overflow:hidden; border-radius:15px; background:var(--bg); }
.deals-product-image img { display:block; width:100%; height:100%; object-fit:cover; }
.deals-product-discount { position:absolute; top:8px; left:8px; padding:5px 10px; border-radius:11px; background:var(--primary); color:var(--on-primary); font-size:.85rem; font-weight:800; }
.deals-product-details { display:flex; flex:1; flex-direction:column; min-width:0; padding:12px 3px 0; }
.deals-product-category { font-size:.7rem; color:var(--text-secondary); margin-bottom:5px; }
.deals-product-name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--dark); font-size:.95rem; font-weight:750; line-height:1.35; margin-bottom:12px; }
.deals-product-name:hover { color:var(--primary); }
.deals-product-purchase { margin-top:auto; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; }
.deals-product-prices { display:flex; flex-wrap:wrap; align-items:baseline; gap:7px; }
.deals-product-prices strong { font-size:1.1rem; color:var(--dark); }
.deals-product-prices small { font-size:.7rem; }
.deals-product-prices del { font-size:.75rem; color:var(--muted); }
.deals-product-cart { flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:12px; padding:11px; background:var(--primary); color:var(--on-primary); cursor:pointer; }
.deals-product-cart:hover { background:var(--primary-hover); }
.deals-product-cart span { display:none; }
.deals-product-unavailable { color:var(--text-secondary); font-size:.75rem; }
.deals-layout--flash .deals-campaign { background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--primary) 85%,var(--dark)),transparent 75%),var(--dark); color:var(--white); }
.deals-layout--flash .deals-campaign p { color:color-mix(in srgb,var(--white) 72%,var(--primary)); }
.deals-layout--flash .deals-campaign .timer-box { background:color-mix(in srgb,var(--white) 7%,transparent); border-color:color-mix(in srgb,var(--white) 25%,transparent); }
.deals-layout--flash .deals-campaign .timer-num { color:var(--white); }
.deals-layout--flash .deals-campaign .timer-lbl { color:var(--muted); }
.deals-layout--flash .deals-product-cart { width:100%; }
.deals-layout--flash .deals-product-cart span { display:inline; font-size:.75rem; font-weight:700; }
.deals-layout--showcase .deals-composition { grid-template-columns:.72fr 1.28fr; gap:28px; }
.deals-layout--showcase .deals-campaign { border:0; background:transparent; padding:0 20px; min-height:0; overflow:visible; border-radius:0; }
.deals-layout--showcase .deals-eyebrow { margin-bottom:22px; }
.deals-layout--showcase .deals-campaign h2,.deals-layout--showcase .deals-campaign p { max-width:100%; }
.deals-layout--showcase .deals-campaign-art { width:40%; top:45%; bottom:auto; right:-5px; }
.deals-layout--showcase .deals-countdown { padding:20px; border-radius:22px; border:1px solid var(--border); background:color-mix(in srgb,var(--white) 78%,transparent); }
.deals-layout--showcase .deals-product-card { display:grid; grid-template-columns:46% minmax(0,1fr); align-items:center; gap:10px; padding:16px; }
.deals-layout--showcase .deals-products-slider { align-self:start; }
.deals-layout--showcase .deals-product-grid { height:auto; grid-template-rows:none; align-content:start; align-items:start; }
.deals-layout--showcase .deals-product-image { aspect-ratio:1; }
.deals-layout--showcase .deals-product-details { height:100%; padding:4px 0; }
.deals-layout--showcase .deals-product-category { min-height:1.5em; }
.deals-layout--showcase .deals-product-name { min-height:2.7em; }
.deals-layout--showcase .deals-product-prices { flex-direction:column; gap:2px; min-height:2.6rem; }
.deals-layout--showcase .deals-product-purchase { align-items:center; margin-top:8px; }
.deals-layout--showcase .deals-eyebrow { border:1px solid color-mix(in srgb,var(--primary) 16%,var(--white)); border-radius:8px; background:var(--primary-soft); color:var(--primary); }
.deals-layout--showcase .deals-eyebrow svg { width:14px; height:14px; }
.deals-layout--showcase .deals-product-discount { border-radius:6px; font-weight:700; }
@media(min-width:1600px) { .deals-campaign { min-height:680px; } }
@media(max-width:1199px) {
  .deals-campaign { padding:28px; min-height:580px; }
  .deals-campaign h2 { font-size:2.4rem; }
  .deals-campaign p { font-size:.9rem; max-width:85%; }
  .deals-campaign-art { width:48%; }
  .deals-layout--showcase .deals-composition { grid-template-columns:.8fr 1.2fr; gap:16px; }
  .deals-layout--showcase .deals-product-card { display:flex; padding:12px; }
  .deals-layout--showcase .deals-product-image { width:100%; aspect-ratio:1.4; }
  .deals-layout--showcase .deals-product-details { width:100%; padding:12px 0 0; }
}
@media(max-width:991px) {
  .deals-composition,.deals-layout--showcase .deals-composition { grid-template-columns:1fr; }
  .deals-campaign,.deals-layout--showcase .deals-campaign { min-height:460px; padding:32px; }
  .deals-campaign h2 { max-width:65%; font-size:2.8rem; }
  .deals-campaign p { max-width:60%; }
  .deals-campaign-art { width:40%; max-height:90%; }
  .deals-layout--showcase .deals-campaign h2,.deals-layout--showcase .deals-campaign p { max-width:70%; }
  .deals-layout--showcase .deals-campaign-art { top:auto; bottom:30px; width:32%; }
  .deals-product-grid { min-height:0; }
}
@media(max-width:575px) {
  .deals-layout { padding:24px 0; }
  .deals-campaign,.deals-layout--showcase .deals-campaign { padding:26px 22px; min-height:500px; border-radius:23px; }
  .deals-campaign h2 { font-size:2rem; max-width:100%; }
  .deals-campaign p { max-width:100%; font-size:.87rem; margin-bottom:24px; }
  .deals-campaign-art { width:36%; max-height:38%; right:-8px; bottom:16px; }
  .deals-eyebrow { font-size:.75rem; margin-bottom:20px; }
  .deals-campaign .timer-box { min-width:55px; padding:10px 7px; }
  .deals-campaign .timer-num { font-size:1.45rem; }
  .deals-countdown { margin-bottom:22px; }
  .deals-discover { font-size:.82rem; padding:13px 18px; gap:12px; }
  .deals-product-grid { gap:10px; }
  .deals-product-card { padding:8px; border-radius:17px; }
  .deals-product-image { border-radius:11px; aspect-ratio:1.1; }
  .deals-product-name { font-size:.8rem; }
  .deals-product-prices strong { font-size:.95rem; }
  .deals-product-discount { top:6px; left:6px; font-size:.72rem; padding:4px 7px; }
  .deals-layout--flash .deals-product-cart span { font-size:.65rem; }
  .deals-product-cart { padding:9px; }
  .deals-layout--showcase .deals-campaign h2,.deals-layout--showcase .deals-campaign p { max-width:100%; }
  .deals-layout--showcase .deals-countdown { padding:14px; }
  .deals-layout--showcase .deals-campaign-art { bottom:10px; width:30%; }
}

/* Keep the horizontal deal cards and campaign within one compact desktop row. */
@media(min-width:992px) {
  .deals-layout--showcase .deals-composition { align-items:stretch; gap:24px; }
  .deals-layout--showcase .deals-campaign { display:flex; padding:0 16px 0 0; min-height:0; }
  .deals-layout--showcase .deals-campaign-copy { flex:1; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:repeat(4,auto); align-content:start; gap:12px; }
  .deals-layout--showcase .deals-eyebrow { grid-column:1 / -1; justify-self:start; margin:0; padding:7px 12px; font-size:.75rem; }
  .deals-layout--showcase .deals-campaign h2 { grid-column:1 / -1; max-width:100%; margin:0; font-size:clamp(1.7rem,2.1vw,2.2rem); line-height:1.15; }
  .deals-layout--showcase .deals-campaign p { grid-column:1 / -1; margin:0; font-size:.82rem; line-height:1.55; }
  .deals-layout--showcase .deals-countdown { margin:0; padding:10px; border-radius:16px; }
  .deals-layout--showcase .deals-deadline { margin-bottom:6px; font-size:.7rem; }
  .deals-layout--showcase .timer-row { gap:6px; }
  .deals-layout--showcase .timer-box { min-width:46px; padding:5px 7px; border-radius:9px; }
  .deals-layout--showcase .timer-num { font-size:1.2rem; }
  .deals-layout--showcase .timer-lbl { font-size:.58rem; }
  .deals-layout--showcase .deals-discover { align-self:end; padding:11px 14px; gap:9px; font-size:.78rem; border-radius:12px; }
  .deals-layout--showcase .deals-campaign-art { top:0; bottom:auto; right:5px; width:65px; max-height:65px; }
  .deals-layout--showcase .deals-products-slider { align-self:stretch; }
  .deals-layout--showcase .deals-product-grid { height:100%; grid-template-rows:repeat(2,minmax(0,1fr)); gap:12px; align-items:stretch; }
  .deals-layout--showcase .deals-product-card { display:grid; grid-template-columns:30% minmax(0,1fr); align-items:stretch; padding:12px; gap:10px; border-radius:18px; }
  .deals-layout--showcase .deals-product-image { width:100%; aspect-ratio:auto; min-height:90px; align-self:stretch; border-radius:12px; }
  .deals-layout--showcase .deals-product-image img { position:absolute; inset:0; }
  .deals-layout--showcase .deals-product-details { height:auto; padding:0; }
  .deals-layout--showcase .deals-product-category { font-size:.62rem; margin-bottom:4px; }
  .deals-layout--showcase .deals-product-name { font-size:.82rem; min-height:0; -webkit-line-clamp:1; margin-bottom:0; }
  .deals-layout--showcase .deals-product-purchase { margin-top:6px; gap:6px; }
  .deals-layout--showcase .deals-product-prices { min-height:2.2rem; gap:1px; }
  .deals-layout--showcase .deals-product-prices strong { font-size:.95rem; }
  .deals-layout--showcase .deals-product-prices del { font-size:.65rem; }
  .deals-layout--showcase .deals-product-cart { padding:8px; border-radius:10px; }
  .deals-layout--showcase .deals-product-cart svg { width:18px; height:18px; }
  .deals-layout--showcase .deals-product-discount { font-size:.7rem; padding:4px 7px; }
}

.product-card {
  border: 1px solid var(--bg);
  border-radius: 14px;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--dark) 6%, transparent);
  overflow: hidden
}

.product-card:hover {
  box-shadow: 0 12px 28px color-mix(in srgb, var(--dark) 12%, transparent);
  transform: translateY(-3px)
}

.product-card-img {
  background: linear-gradient(145deg, var(--bg), var(--bg))
}

.btn-primary-custom,
.footer-newsletter button {
  background: var(--primary) !important;color:var(--on-primary) !important
}

.footer {
  background: var(--dark);
  color: var(--white)
}

.footer .footer-title,
.footer a,
.footer-desc,
.footer-bottom p {
  color: var(--white)
}

.page-products .shop-page {
  padding-top: 0;
  background: var(--bg)
}

.products-hero {
  min-height: 220px;
  background: linear-gradient(90deg, color-mix(in srgb, color-mix(in srgb, var(--primary) 7%, var(--white)) 96%, transparent), color-mix(in srgb, color-mix(in srgb, var(--primary) 8%, var(--white)) 72%, transparent)), url('/assets/img/hero/hero_523ce61114ed045535ff8ae3.webp') center 42%/cover;
  display: flex;
  align-items: center;
  margin-bottom: 30px
}

.products-hero-inner {
  display: flex;
  align-items: center;
  min-height: 220px
}

.products-hero h1 {
  font-size: 2.2rem;
  color: var(--dark);
  font-weight: 900;
  margin: 12px 0 4px
}

.products-hero p {
  color: color-mix(in srgb, var(--dark) 67%, var(--white));
  margin: 0
}

.products-breadcrumb {
  font-size: .78rem;
  margin: 0
}

.products-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none
}

.legacy-shop-heading {
  display: none !important
}

.page-products .shop-sidebar {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--muted) 15%, var(--white));
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--dark) 6%, transparent)
}

.page-products .filter-title {
  color: var(--dark);
  font-weight: 800
}

.page-products .category-filter-item {
  padding: 2px 0;
  border-bottom: 1px solid var(--bg)
}

.page-products .category-filter-item:last-child {
  border-bottom: 0
}

.page-products .category-filter-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px
}

.page-products .category-filter-head>.filter-item {
  min-width: 0;
  flex: 1
}

.page-products .category-collapse-toggle {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  font-size: .68rem;
  transition: background .2s, color .2s, transform .2s
}

.page-products .category-collapse-toggle:hover {
  background: color-mix(in srgb, var(--primary) 9%, var(--white));
  color: color-mix(in srgb, var(--primary) 65%, var(--dark))
}

.page-products .category-collapse-toggle svg {
  transition: transform .2s
}

.page-products .category-collapse-toggle[aria-expanded=true] svg {
  transform: rotate(180deg)
}

.page-products .category-filter-children {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 2px 0 9px 12px;
  padding: 4px 0 2px 14px;
  border-left: 1px solid color-mix(in srgb, var(--muted) 19%, var(--white))
}

.page-products .category-filter-children[hidden] {
  display: none
}

.page-products .category-filter-children .filter-label {
  font-size: .81rem
}

.school-promo {
  min-height: 150px;
  margin-bottom: 24px;
  padding: 28px 34px;
  border-radius: 16px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--primary) 6%, var(--white)) 0%, color-mix(in srgb, var(--primary) 9%, var(--white)) 55%, color-mix(in srgb, var(--danger) 16%, var(--white)) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  color: var(--dark);
  text-decoration: none;
  position: relative;
  overflow: hidden
}

.school-promo:after {
  content: "✎  ✐  ✏";
  position: absolute;
  right: 5%;
  bottom: 10%;
  font-size: 4rem;
  color: color-mix(in srgb, var(--dark) 16%, transparent);
  transform: rotate(-8deg)
}

.school-promo strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 900
}

.school-promo span {
  display: block;
  font-size: .86rem
}

.school-promo-btn {
  margin-top: 14px !important;
  background: var(--dark);
  color: var(--white) !important;
  border-radius: 999px;
  padding: 9px 18px;
  width: max-content;
  font-weight: 700
}

.page-products .shop-controls {
  background: transparent;
  padding-top: 0
}

.page-products .sort-select {
  border-radius: 10px;
  border-color: color-mix(in srgb, var(--muted) 16%, var(--white))
}

.shop-pagination .page-item.active .page-link {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white)
}

@media(max-width:991px) {
  .site-announcement-inner {
    justify-content: center
  }

  .site-announcement-inner span:nth-child(2) {
    display: none
  }

  .page-home #hero .swiper-slide img {
    height: 360px
  }

  .page-home #hero:after {
    left: 24px;
    font-size: 1rem
  }

  .page-home .features-section {
    margin-top: 0 !important
  }

  .products-hero,
  .products-hero-inner {
    min-height: 170px
  }

  .school-promo {
    margin-top: 18px
  }

  .page-products .shop-sidebar {
    border-radius: 0
  }
}

@media(max-width:575px) {
  .site-announcement {
    font-size: .62rem
  }

  .site-announcement-inner {
    gap: 12px
  }

  .page-home #hero .swiper-slide img {
    height: 300px
  }

  .page-home #hero:after {
    font-size: .78rem;
    max-width: 70%
  }

  .products-hero h1 {
    font-size: 1.7rem
  }

  .school-promo {
    padding: 22px
  }

  .school-promo strong {
    font-size: 1.3rem
  }

  .school-promo:after {
    font-size: 2.5rem
  }
}

/* Header and hero structure matching the supplied reference */
.site-announcement {
  height: 32px;
  min-height: 32px
}

.site-announcement-inner {
  height: 100%;
  justify-content: center;
  gap: 32px;
  font-size: .7rem
}

.site-navbar-wrap {
  position: sticky !important;
  top: 0;
  z-index: 1030;
  background: var(--white)
}

.shop-navbar {
  display: block;
  padding: 0;
  background: var(--white);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--dark) 7%, transparent)
}

.shop-navbar-top {
  height: 92px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--bg)
}

.shop-navbar-top-inner {
  display: grid !important;
  grid-template-columns: 190px minmax(320px, 560px) 190px;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  height: 100%
}

.shop-navbar-brand {
  height: 100%
}

.shop-navbar-logo {
  margin: 0;
  padding: 0
}

.shop-navbar-logo img {
  width: 150px !important;
  height: 76px !important;
  object-fit: contain
}

.shop-navbar-search {
  width: 100%;
  height: 44px;
  padding: 0 6px 0 18px;
  border: 1px solid color-mix(in srgb, var(--muted) 17%, var(--white));
  background: var(--bg);
  box-shadow: none
}

.shop-navbar-search input {
  height: 42px;
  font-size: .82rem
}

.shop-navbar-search button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary)
}

.shop-navbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px
}

.header-action,
.shop-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  text-decoration: none
}

.header-action svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round
}

.header-account {
  flex-direction: column;
  gap: 1px;
  font-size: .64rem;
  white-space: nowrap
}

.header-wishlist .action-dot {
  position: absolute;
  right: -2px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary)
}

.shop-cart-link svg {
  width: 34px !important;
  height: 34px !important
}

.shop-cart-link .nav-badge {
  background: var(--primary);color:var(--on-primary);
  border: 2px solid var(--white);
  top: -5px;
  right: -7px
}

.shop-navbar-menu {
  height: 46px;
  background: var(--white);
  border: 0
}

.shop-navbar-menu>.container,
.shop-navbar-menu .offcanvas,
.shop-navbar-menu .offcanvas-body {
  height: 100%
}

.shop-navbar-menu .offcanvas-body {
  padding: 0;
  justify-content: center
}

.shop-navbar-nav {
  width: 100%;
  height: 100%;
  justify-content: center !important;
  gap: 6px
}

.shop-navbar-nav .nav-link-smart {
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 12px !important;
  font-size: .72rem;
  border: 0 !important;
  white-space: nowrap
}

.shop-navbar-nav .nav-link-smart.active,
.shop-navbar-nav .nav-link-smart:hover {
  color: var(--primary-dark);
  background: transparent
}

.page-home #hero:before,
.page-home #hero:after {
  display: none !important
}

.page-home #hero .swiper-slide>a {
  position: relative;
  display: block
}

.page-home #hero .swiper-slide img {
  height: 510px;
  object-fit: cover
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 72%, transparent) 0%, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 38%, transparent) 37%, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 5%, transparent) 70%);
  z-index: 1
}

.home-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
  text-decoration: none
}

.home-hero-content strong {
  font-size: clamp(2.25rem, 3.2vw, 3.7rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.04em;
  max-width: 620px
}

.home-hero-content small {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px
}

.home-hero-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--primary);color:var(--on-primary);
  font-size: .82rem;
  font-weight: 800
}

.home-hero-button b {
  font-size: 1.1rem
}

.page-home .features-section {
  margin-top: -42px !important
}

.page-home .features-strip {
  min-height: 96px;
  padding: 17px 34px;
  border-radius: 14px
}

.page-home .feature-card {
  justify-content: center;
  border-right: 1px solid color-mix(in srgb, var(--muted) 18%, var(--white))
}

.page-home .feature-card:last-child {
  border-right: 0
}

.page-home .feature-title {
  font-size: .78rem
}

.page-home .feature-desc {
  font-size: .7rem
}

@media(max-width:1100px) {
  .shop-navbar-top-inner {
    grid-template-columns: 150px minmax(260px, 1fr) 160px;
    gap: 20px
  }

  .shop-navbar-nav .nav-link-smart {
    padding: 0 7px !important;
    font-size: .65rem
  }

  .shop-navbar-logo img {
    width: 130px !important
  }
}

@media(max-width:991px) {
  .shop-navbar-top {
    height: 72px
  }

  .shop-navbar-top-inner {
    display: flex !important;
    justify-content: space-between
  }

  .shop-navbar-top-inner>.shop-navbar-search {
    display: none
  }

  .shop-navbar-menu {
    height: 0
  }

  .shop-navbar-actions {
    gap: 12px
  }

  .header-account span {
    display: none
  }

  .home-hero-content {
    padding-left: 24px;
    padding-right: 24px
  }

  .home-hero-content strong {
    font-size: 2rem
  }

  .page-home #hero .swiper-slide img {
    height: 390px
  }

  .page-home .features-section {
    margin-top: 0 !important
  }

  .page-home .feature-card {
    border-right: 0
  }
}

@media(max-width:575px) {
  .site-announcement-inner span:nth-child(3) {
    display: none
  }

  .shop-navbar-logo img {
    width: 112px !important;
    height: 58px !important
  }

  .header-wishlist {
    display: none
  }

  .page-home #hero .swiper-slide img {
    height: 330px
  }

  .home-hero-content strong {
    font-size: 1.75rem
  }

  .home-hero-content small {
    font-size: .78rem;
    max-width: 260px
  }

  .home-hero-button {
    padding: 10px 17px;
    font-size: .72rem
  }
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/cairo.woff2") format("woff2");

}



/* Bootstrap RGB utilities otherwise retain their compiled default palette. */
.text-primary, .link-primary { color: var(--primary) !important; }
.link-primary:hover, .link-primary:focus { color: var(--primary-hover) !important; }
.text-secondary, .link-secondary { color: var(--secondary) !important; }
.link-secondary:hover, .link-secondary:focus { color: var(--secondary-hover) !important; }
.text-dark { color: var(--dark) !important; }
.text-muted { color: var(--text-secondary) !important; }
.text-white { color: var(--white) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-light, .bg-body { background-color: var(--bg) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-primary[class*="bg-opacity-"] { background-color: color-mix(in srgb, var(--primary) calc(var(--bs-bg-opacity, 1) * 100%), transparent) !important; }
.bg-secondary[class*="bg-opacity-"] { background-color: color-mix(in srgb, var(--secondary) calc(var(--bs-bg-opacity, 1) * 100%), transparent) !important; }
.text-primary[class*="text-opacity-"] { color: color-mix(in srgb, var(--primary) calc(var(--bs-text-opacity, 1) * 100%), transparent) !important; }
.border-primary { border-color: var(--primary) !important; }
.border-secondary { border-color: var(--secondary) !important; }
.text-bg-primary { background-color: var(--primary) !important; color: var(--on-primary) !important; }
.text-bg-secondary { background-color: var(--secondary) !important; color: var(--on-secondary) !important; }
.btn-primary, .btn-warning {
  --bs-btn-color: var(--on-primary);
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: var(--on-primary);
  --bs-btn-hover-bg: var(--primary-hover);
  --bs-btn-hover-border-color: var(--primary-hover);
  --bs-btn-active-color: var(--on-primary);
  --bs-btn-active-bg: var(--primary-active);
  --bs-btn-active-border-color: var(--primary-active);
  --bs-btn-disabled-color: var(--on-primary);
  --bs-btn-disabled-bg: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
  --bs-btn-focus-box-shadow: var(--focus-ring);
}
.btn-secondary {
  --bs-btn-color: var(--on-secondary);
  --bs-btn-bg: var(--secondary);
  --bs-btn-border-color: var(--secondary);
  --bs-btn-hover-color: var(--on-dark);
  --bs-btn-hover-bg: var(--secondary-hover);
  --bs-btn-hover-border-color: var(--secondary-hover);
  --bs-btn-active-bg: var(--secondary-hover);
  --bs-btn-active-border-color: var(--secondary-hover);
  --bs-btn-disabled-bg: var(--secondary);
  --bs-btn-disabled-border-color: var(--secondary);
  --bs-btn-disabled-color: var(--on-secondary);
  --bs-btn-active-color: var(--on-dark);
  --bs-btn-focus-box-shadow: var(--focus-ring);
}
.btn-dark {
  --bs-btn-color: var(--on-dark);
  --bs-btn-bg: var(--dark);
  --bs-btn-border-color: var(--dark);
  --bs-btn-hover-color: var(--on-dark);
  --bs-btn-hover-bg: var(--accent-light);
  --bs-btn-hover-border-color: var(--accent-light);
  --bs-btn-active-bg: var(--accent-light);
  --bs-btn-active-border-color: var(--accent-light);
  --bs-btn-disabled-bg: var(--dark);
  --bs-btn-disabled-border-color: var(--dark);
}
.btn-outline-secondary {
  --bs-btn-color: var(--secondary-hover);
  --bs-btn-border-color: var(--secondary);
  --bs-btn-hover-color: var(--on-secondary);
  --bs-btn-hover-bg: var(--secondary);
  --bs-btn-hover-border-color: var(--secondary);
  --bs-btn-active-color: var(--on-secondary);
  --bs-btn-active-bg: var(--secondary);
  --bs-btn-active-border-color: var(--secondary);
  --bs-btn-disabled-color: var(--secondary-hover);
  --bs-btn-disabled-border-color: var(--secondary);
  --bs-btn-focus-box-shadow: var(--focus-ring);
}
.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: var(--on-primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-active-color: var(--on-primary);
  --bs-btn-active-bg: var(--primary-active);
  --bs-btn-active-border-color: var(--primary-active);
  --bs-btn-disabled-color: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
  --bs-btn-focus-box-shadow: var(--focus-ring);
}
.form-control:focus, .form-select:focus, .form-check-input:focus {
  border-color: var(--primary);
  box-shadow:none;
}
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
/* Shared checkbox appearance; switches and radio buttons retain their shapes. */
.form-check-input[type="checkbox"] { cursor: pointer; }
.form-check-input[type="checkbox"]:not([role="switch"]):not(.form-switch *) {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--muted);
  border-radius: 5px;
  background-color: var(--white);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.form-check-input[type="checkbox"]:not([role="switch"]):not(.form-switch *):enabled:hover { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent); }
.form-check-input[type="checkbox"]:not([role="switch"]):not(.form-switch *):is(:checked, :indeterminate) { border-color: var(--primary); background-color: var(--primary); }
.form-check-input[type="checkbox"]:not([role="switch"]):not(.form-switch *):focus-visible { border-color: var(--primary); box-shadow: var(--focus-ring); }
.form-check-label { cursor: pointer; }
.form-check-input:disabled, .form-check-input:disabled ~ .form-check-label { cursor: not-allowed; }
.progress { --bs-progress-bar-bg: var(--primary); }
.pagination { --bs-pagination-color: var(--primary); --bs-pagination-active-bg: var(--primary); --bs-pagination-active-border-color: var(--primary); --bs-pagination-hover-color: var(--primary-hover); --bs-pagination-focus-box-shadow: var(--focus-ring); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--primary); }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--primary); }
/* Component surfaces are white; the page background uses --bg separately. */
.card { --bs-card-bg: var(--white); }
.modal { --bs-modal-bg: var(--white); }
.offcanvas,.offcanvas-sm,.offcanvas-md,.offcanvas-lg,.offcanvas-xl,.offcanvas-xxl { --bs-offcanvas-bg: var(--white); }
.dropdown-menu { --bs-dropdown-bg: var(--white); }
.popover { --bs-popover-bg: var(--white); }
.accordion { --bs-accordion-bg: var(--white); }
.list-group { --bs-list-group-bg: var(--white); }
::selection { background: var(--primary); color: var(--on-primary); }


/* ─── Reset & Base ───────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--gray-800);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── Typography ─────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.text-primary {
  color: var(--primary) !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gray-900);
  margin-bottom: 8px;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 520px;
}

/* ─── Buttons ────────────────────────────────── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--primary) 35%, transparent);
  color: var(--white);
}

.btn-primary-custom:active {
  transform: translateY(0);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-ghost:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}

/* ─── Navbar ─────────────────────────────────── */
.navbar-smart {
  background: color-mix(in srgb, var(--white) 95%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, color-mix(in srgb, var(--muted) 17%, var(--white)) 60%, transparent);
  padding: 12px 0;
  transition: all var(--transition);
}

.navbar-smart.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  text-decoration: none;
}

.navbar-logo img {
  width: 130px;
  height: 45px;
}

.filter-for-white {
  filter: invert(100%) sepia(100%) grayscale(100%) brightness(150%);
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .9rem;
}

.nav-link-smart {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gray-600) !important;
  padding: 10px 16px !important;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link-smart:hover,
.nav-link-smart.active,
.nav-link-smart.show {
  color: var(--primary) !important;
  /* background: color-mix(in srgb, var(--primary) 6%, transparent); */
}

.nav-link-smart :is(svg.app-icon,span.legend-mark) {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Rich Dropdown Overrides */
.dropdown-menu-rich {
  min-width: 320px;
  background: color-mix(in srgb, var(--white) 96%, transparent);
  backdrop-filter: blur(24px);
  border: 1px solid color-mix(in srgb, color-mix(in srgb, var(--muted) 17%, var(--white)) 70%, transparent);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 8px;

  /* Shared transition */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop-Only Rigid Positioning */
@media (min-width: 992px) {
  .nav-item.dropdown {
    position: relative !important;
  }

  .dropdown-menu-rich {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) !important;
    pointer-events: none;
  }

  /* Unified Show State (Hover & Click) */
  .dropdown:hover>.dropdown-menu-rich,
  .dropdown-menu-rich.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* "Bridge" to prevent menu closing */
  .dropdown-menu-rich::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    z-index: -1;
  }
}

/* Mobile behavior (Accordion/Collapsible style) */
@media (max-width: 991.98px) {
  .dropdown-menu-rich {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: color-mix(in srgb, var(--dark) 2%, transparent) !important;
    padding: 0 !important;
    margin: 0 !important;
    display: none;
    /* Let Bootstrap toggle this with .show */
    overflow: hidden;
    border-left: 2px solid var(--gray-200) !important;
    margin-left: 20px !important;
    margin-top: 5px !important;
    border-radius: 0 !important;
  }

  .dropdown-menu-rich.show {
    display: flex !important;
  }

  .nav-link-smart.dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  /* Add collapsible chevron for mobile */
  .nav-link-smart.dropdown-toggle::after {
    display: inline-block !important;
    content: "" !important;
    border-right: 2px solid currentColor !important; border-bottom: 2px solid currentColor !important; transform: rotate(45deg);
    font-weight: 900 !important;
    border: none !important;
    width: .75rem !important; height: .75rem !important;
    margin-left: auto !important;
    font-size: 0.75rem !important;
    transition: transform 0.3s ease !important;
    opacity: 0.5 !important;
  }

  .nav-link-smart.dropdown-toggle.show::after {
    transform: rotate(180deg) !important;
  }

  .rich-item {
    padding: 10px 15px !important;
    gap: 12px !important;
    border-radius: 0 !important;
  }

  .rich-icon-box {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }

  .rich-desc {
    display: none !important;
    /* Hide descriptions on mobile to keep it compact */
  }
}

.rich-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  color: var(--gray-700);
  text-decoration: none;
}

.rich-item:hover {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  color: var(--primary);
  transform: translateX(4px);
}

.rich-icon-box {
  width: 44px;
  height: 44px;
  background: var(--gray-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--gray-500);
  transition: var(--transition);
  flex-shrink: 0;
}

.rich-item:hover .rich-icon-box {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.rich-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rich-title {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
}

.rich-desc {
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 400;
}

/* Navbar Actions Right */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  color: var(--gray-600);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.nav-action-btn:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
}

.nav-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 17px;
  height: 17px;
  background: var(--primary);
  color: var(--white);
  font-size: .62rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.site-navbar-wrap {
  z-index: 1030;
}

.shop-navbar {
  display: block;
  background: var(--white);
  border-bottom: none;
  padding: 0;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--dark) 8%, transparent);
}

.shop-navbar.scrolled {
  padding: 0;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--dark) 14%, transparent);
}

.shop-navbar-top {
  background: var(--white);
}

.shop-navbar-top-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 150px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.shop-navbar-logo {
  margin: 0;
  padding: 0;
}

/* .shop-navbar-logo img {
  width: 130px;
  height: 58px;
  object-fit: contain;
} */
.shop-navbar-logo img {
  width: 200px;
  height: 55px;
  /* object-fit: contain; */
}

.shop-navbar-search {
  width: min(100%, 490px);
  height: 46px;
  display: flex;
  justify-self: center;
  border: 2px solid var(--primary);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.shop-navbar-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 24px;
  color: var(--gray-800);
  font-size: .95rem;
  font-weight: 600;
  background: transparent;
}

.shop-navbar-search input::placeholder {
  color: var(--text-secondary);
}

.shop-navbar-search button {
  width: 66px;
  border: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.shop-navbar-search button:hover {
  background: var(--primary-dark);
}

.shop-navbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.shop-login-link,
.shop-cart-link {
  color: var(--dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
  transition: var(--transition);
}

.shop-login-link :is(svg.app-icon,span.legend-mark) {
  color: var(--primary);
  font-size: 1.35rem;
}

.shop-login-link:hover,
.shop-cart-link:hover {
  color: var(--primary);
}

.shop-cart-link {
  position: relative;
  width: 34px;
  height: 42px;
  justify-content: center;
  font-size: 1.35rem;
}

.shop-cart-link .nav-badge {
  top: 0;
  right: -6px;
  width: 18px;
  height: 18px;
  border: 0;
  font-size: .68rem;
}

.shop-navbar-toggler {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--dark) 12%, transparent);
  border-radius: 8px;
  color: var(--dark);
}

.shop-navbar-menu {
  background: var(--dark);
  border-bottom: 3px solid var(--primary);
}

.shop-navbar-menu .container {
  display: flex;
  justify-content: center;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.shop-navbar-menu .offcanvas {
  width: 100%;
  max-width: none;
  flex-grow: 1;
}

.shop-navbar-menu .offcanvas-body {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.shop-navbar-nav {
  min-height: 56px;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 0;
  margin-left: auto !important;
  margin-right: auto !important;
}

.shop-navbar-nav .nav-item {
  display: flex;
}

.shop-navbar-nav .nav-link-smart {
  min-width: 92px;
  height: 56px;
  justify-content: center;
  border-radius: 0;
  color: var(--white) !important;
  padding: 0 18px !important;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
}

.shop-navbar-nav .nav-link-smart:hover,
.shop-navbar-nav .nav-link-smart.active,
.shop-navbar-nav .nav-link-smart.show {
  color: var(--primary) !important;
  /* background: color-mix(in srgb, var(--primary) 6%, transparent); */
}

/* .shop-navbar-nav .nav-link-smart.active {
  border-bottom: 3px solid var(--primary);
} */

.shop-navbar-nav .dropdown-menu-rich {
  text-align: left;
}

.shop-navbar-search-mobile {
  display: none;
}

@media (max-width: 991.98px) {
  .shop-navbar-top-inner {
    min-height: 74px;
    grid-template-columns: 132px 1fr;
    gap: 16px;
  }

  .shop-navbar-top-inner>.shop-navbar-search {
    display: none;
  }

  .shop-navbar-actions {
    gap: 12px;
  }

  .shop-login-link span {
    display: none;
  }

  .shop-navbar-menu {
    border-bottom-width: 0;
  }

  .shop-navbar-menu .container {
    display: block;
    max-width: 100%;
    padding-left: var(--bs-gutter-x, .75rem);
    padding-right: var(--bs-gutter-x, .75rem);
  }

  .shop-navbar-menu .offcanvas {
    flex-grow: 1;
  }

  .shop-navbar-menu .offcanvas-body {
    display: flex;
    justify-content: flex-start;
    padding: 24px;
  }

  .shop-navbar-search-mobile {
    width: 100%;
    display: flex;
    margin-bottom: 18px;
    justify-self: stretch;
  }

  .shop-navbar-nav {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .shop-navbar-nav .nav-item {
    display: block;
  }

  .shop-navbar-nav .nav-link-smart {
    min-width: 0;
    height: auto;
    color: var(--gray-700) !important;
    justify-content: flex-start;
    text-align: left;
    border-bottom: 0;
  }

  .shop-navbar-nav .nav-link-smart.active {
    border-bottom: 0;
  }
}

/* Login Accent Button */
.btn-login-accent {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: var(--transition);
  margin-left: 8px;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--primary) 25%, transparent);
}

.btn-login-accent:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--primary) 35%, transparent);
  color: var(--white);
}

/* Custom Hamburger */
.navbar-toggler-smart {
  border: none;
  padding: 8px;
  font-size: 1.25rem;
  color: var(--gray-700);
}

.navbar-toggler-smart:focus {
  box-shadow: none;
}

/* ─── Hero ───────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--bg) 0%, color-mix(in srgb, var(--primary) 5%, var(--white)) 50%, color-mix(in srgb, var(--primary) 5%, var(--white)) 100%);
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 80px 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 50%, color-mix(in srgb, var(--primary) 6%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 10% 20%, color-mix(in srgb, var(--secondary) 5%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .7;
    transform: scale(1.3)
  }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-headline .accent-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.stat-lbl {
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-main {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
}

.hero-card-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-card-info {
  padding: 20px;
  border-top: 1px solid var(--gray-100);
}

.hero-card-info .product-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
}

.hero-card-info .product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 4px;
}

.hero-floating {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  z-index: 3;
  animation: float var(--dur, 3s) ease-in-out infinite alternate;
}

@keyframes float {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-10px)
  }
}

.hero-float-1 {
  top: -20px;
  right: -30px;
  --dur: 3.5s;
}

.hero-float-2 {
  bottom: 30px;
  left: -40px;
  --dur: 2.8s;
}

.float-badge-label {
  font-size: .7rem;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.float-badge-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.stars-sm {
  color: var(--warning);
  font-size: .75rem;
  letter-spacing: 1px;
}

/* ─── Categories ─────────────────────────────── */
.categories-section {
  padding: 36px 0 58px;
  background: var(--white);
}

.categories-section .section-header {
  margin-bottom: 20px;
}

.category-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: visible;
  text-decoration: none;
}

.category-card::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 82px;
  left: calc(50% + 30px);
  background: var(--primary);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-radius: 3px 0 0 3px;
  opacity: .9;
  transition: var(--transition);
  z-index: 2;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.category-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 40%, transparent);
  outline-offset: 5px;
  border-radius: 8px;
}

.category-card:hover::before {
  transform: translate(2px, 2px) rotate(8deg);
  opacity: 1;
}

.category-card .cat-icon {
  color: var(--dark);
}

.category-card:hover .cat-icon,
.category-card:hover .cat-name {
  color: var(--primary);
}

.cat-icon-wrap {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--muted) 20%, var(--white));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 2.55rem;
  box-shadow: inset 0 4px 14px color-mix(in srgb, var(--dark) 6%, transparent), 0 2px 8px color-mix(in srgb, var(--dark) 6%, transparent);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.swiper-categories .swiper-pagination {
  margin-top: 10px !important;
}

.category-card:hover .cat-icon-wrap {
  background: var(--white);
  border-color: color-mix(in srgb, var(--primary) 32%, transparent);
  box-shadow: inset 0 4px 14px color-mix(in srgb, var(--dark) 4%, transparent), 0 8px 20px color-mix(in srgb, var(--primary) 14%, transparent);
}

.cat-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  line-height: 1.25;
}

.cat-count {
  display: none;
}

/* ─── Product Cards ──────────────────────────── */
.swiper-categories {
  padding: 4px 0 18px;
}

.swiper-categories .swiper-wrapper {
  align-items: flex-start;
}

.swiper-categories .swiper-slide {
  height: auto;
}

/* Image-only category gallery below best sellers */
.category-gallery-section {
  background: var(--white);
  padding: 4px 0 56px;
}

.category-gallery-wrap {
  position: relative;
  padding: 0 36px;
}

.category-gallery-swiper {
  padding: 8px 4px 16px;
}

.category-gallery-swiper .swiper-slide {
  height: auto;
}

.category-gallery-card {
  display: block;
  height: 190px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--dark) 8%, transparent);
  border-radius: 22px;
  background: var(--bg);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--dark) 8%, transparent);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.category-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.category-gallery-card:hover,
.category-gallery-card:focus-visible {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--dark) 15%, transparent);
}

.category-gallery-card:hover img,
.category-gallery-card:focus-visible img {
  transform: scale(1.06);
}

.category-gallery-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 28%, transparent);
  outline-offset: 3px;
}

.category-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--dark) 10%, transparent);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--dark) 12%, transparent);
}

.category-gallery-prev {
  left: 0;
}

.category-gallery-next {
  right: 0;
}

.category-gallery-nav.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .category-gallery-nav {
    display: none !important;
  }

  .category-gallery-wrap {
    padding-inline: 0;
  }
}

@media (max-width: 991.98px) {
  .cat-icon-wrap {
    width: 96px;
    height: 96px;
    font-size: 2.2rem;
  }

  .category-card::before {
    top: 70px;
    left: calc(50% + 25px);
  }

  .cat-name {
    font-size: .98rem;
  }
}

@media (max-width: 575.98px) {
  .categories-section {
    padding: 26px 0 44px;
  }

  .cat-icon-wrap {
    width: 84px;
    height: 84px;
    font-size: 1.9rem;
  }

  .category-card::before {
    width: 15px;
    height: 15px;
    top: 61px;
    left: calc(50% + 22px);
  }

  .category-gallery-section {
    padding: 0 0 38px;
  }

  .category-gallery-wrap {
    padding: 0;
  }

  .category-gallery-card {
    height: 145px;
    border-radius: 16px;
  }

}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-50);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card--out-of-stock .product-card-img img {
  filter: grayscale(1);
  opacity: .78;
}

.product-card--out-of-stock:hover .product-card-img img {
  transform: scale(1.025);
}

.product-card--out-of-stock .badge-sold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--dark) 90%, transparent);
  box-shadow: 0 5px 16px color-mix(in srgb, var(--dark) 18%, transparent);
  backdrop-filter: blur(5px);
}

.product-card--out-of-stock .badge-sold svg {
  flex: 0 0 auto;
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}

.product-badge {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  line-height: 1.35;
  white-space: nowrap;
}

.badge-new {
  background: var(--primary);
  color: var(--white);
}

.badge-sold {
  margin-right: auto;
  background: var(--gray-800);
  color: var(--white);
}

.badge-sale {
  background: var(--danger);
  color: var(--white);
}

.badge-hot {
  background: var(--warning);
  color: var(--white);
}

.product-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(12px);
  transition: var(--transition);
  z-index: 2;
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  box-shadow: var(--shadow-sm);
  font-size: .875rem;
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.product-card-body {
  padding: 16px 18px 20px;
}

.product-category-tag {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.stars {
  color: var(--warning);
  font-size: .8rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: .75rem;
  color: var(--gray-400);
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.price-current.price-current-whole {
  font-size: 1.42rem;
}

@media (max-width: 575.98px) {
  .price-current {
    font-size: .85rem;
  }

  .price-current.price-current-whole {
    font-size: 1.26rem;
  }

  .price-original {
    font-size: .75rem;
  }

  .product-name {
    font-size: .75rem;
    -webkit-line-clamp: 2;
  }
}

/*.price-original {*/
/*  font-size: .85rem;*/
/*  color: var(--gray-400);*/
/*  font-weight: 800;*/
/*  text-decoration: line-through;*/
/*  margin-left: 6px;*/
/*}*/
.price-original {
  position: relative;
  display: inline-block;
  font-size: .75rem;
  color: var(--gray-400);
  font-weight: 600;
  /*margin-left: 6px;*/
}

.price-original::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--gray-400);
  transform: translateY(-50%);
}

.single-product-price-row .price-current {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
}

.single-product-price-row .price-original {
  font-size: 1.5rem;
  color: var(--gray-400);
  /*text-decoration: line-through;*/
  margin-left: 6px;
}

.btn-add-cart {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .875rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 30%, transparent);
}

.btn-add-cart:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

/* Modern storefront product card */
.product-card-image-link {
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 7px 24px color-mix(in srgb, var(--dark) 9%, transparent);
}

/* Keep every product card stretched to the height of its Bootstrap grid row. */
.products-result-row > [class*="col-"] {
  display: flex;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--dark) 15%, transparent);
}

.product-card-img {
  border-radius: 0;
  background: transparent;
}

.product-card-img img {
  object-fit: cover;
  padding: 0;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 16px 16px;
}

.product-card .product-name {
  min-height: 2.7em;
  color: var(--dark);
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  -webkit-line-clamp: 2;
}

.product-card .product-name:hover {
  color: var(--primary-dark);
}

.product-card-image-link:focus-visible,
.product-card .product-name:focus-visible,
.product-card .btn-add-cart:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary-dark) 30%, transparent);
  outline-offset: 2px;
}

.product-card-purchase {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 9px;
  margin-top: auto !important;
  padding-top: 4px;
}

.product-card-prices {
  display: flex;
  flex: 1;
  min-height: 24px;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  text-align: left;
}

.product-card .price-current {
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 900;
}

.product-card .price-original {
  font-size: .68rem;
}

.product-card .btn-add-cart {
  flex: 0 0 auto;
  width: 100%;
  min-height: 40px;
  gap: 8px;
  border-radius: 9px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 5px 12px color-mix(in srgb, var(--dark) 14%, transparent);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
}

.product-card .btn-add-cart span {
  display: inline;
}

.product-card .btn-add-cart svg {
  width: 17px;
  height: 17px;
}

.product-card .btn-add-cart:hover {
  background: var(--primary-dark);
  transform: none;
}

.product-card-unavailable {
  display: grid;
  flex: 0 0 auto;
  width: 100%;
  min-height: 40px;
  place-items: center;
  color: var(--text-secondary);
  border-radius: 9px;
  background: var(--bg);
  font-size: .75rem;
  font-weight: 800;
}

@media (max-width: 575.98px) {
  .product-card {
    padding: 0;
  }

  .product-card-body {
    padding: 11px 10px 10px;
  }

  .product-card .product-name {
    font-size: .78rem;
  }

  .product-card .price-current {
    font-size: .9rem;
  }

  .product-card .price-original {
    font-size: .62rem;
  }

  .product-card-purchase {
    gap: 7px;
    margin-top: auto !important;
    padding-top: 4px;
  }

  .product-card .btn-add-cart,
  .product-card-unavailable {
    width: 100%;
    min-height: 36px;
    border-radius: 8px;
  }

  .product-card .btn-add-cart svg {
    width: 17px;
    height: 17px;
  }
}

/* ─── Featured Swiper ────────────────────────── */
.featured-section {
  padding: 80px 0;
  background: var(--bg);
}

.swiper-featured {
  padding-bottom: 48px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.swiper-featured .swiper-slide {
  display: flex;
  height: auto;
}

.swiper-featured .swiper-wrapper {
  align-items: stretch;
}

.swiper-featured .swiper-slide > .product-card {
  width: 100%;
}

.featured-swiper-wrap {
  position: relative;
}

.swiper-pagination-custom .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--gray-300);
  opacity: 1;
  transition: var(--transition);
}

.swiper-pagination-custom .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--primary);
}

.swiper-btn {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

.swiper-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.featured-swiper-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
}

.featured-swiper-prev {
  left: -56px;
}

.featured-swiper-next {
  right: -56px;
}

/* ─── Promo Banner ───────────────────────────── */
.promo-section {
  padding: 60px 0;
  background: var(--white);
}

.promo-banner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 5%, var(--white)) 0%, color-mix(in srgb, var(--primary) 5%, var(--white)) 50%, color-mix(in srgb, var(--success) 5%, var(--white)) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 56px 60px;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: radial-gradient(ellipse at right, color-mix(in srgb, var(--primary) 8%, transparent) 0%, transparent 70%);
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.promo-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.promo-sub {
  color: var(--gray-500);
  max-width: 440px;
  margin-bottom: 28px;
}

.timer-row {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.timer-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 70px;
}

.timer-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.timer-lbl {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
}

/* ─── Best Sellers ───────────────────────────── */
.bestsellers-section {
  padding: 80px 0;
  background: var(--bg);
}

.bs-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bs-item-lg {
  grid-column: span 4;
}

.bs-item-sm {
  grid-column: span 3;
}

/* Banner Blocks */
.banner-section {
  padding: 20px 0 40px;
  background: var(--white);
}

.banner-grid {
  --banner-columns: 3;
  display: grid;
  grid-template-columns: repeat(var(--banner-columns), minmax(0, 1fr));
  gap: 20px;
}

.banner-grid-count-1,
.banner-grid.banner-grid-single {
  --banner-columns: 1;
}

.banner-grid-count-2 {
  --banner-columns: 2;
}

.banner-grid-count-3 {
  --banner-columns: 3;
}

.banner-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 7.7;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.banner-tile-full {
  width: 100%;
  aspect-ratio: 16 / 4.2;
}

.banner-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, color-mix(in srgb, var(--white) 28%, transparent) 50%, transparent 70%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity var(--transition), transform var(--transition-slow);
  pointer-events: none;
  z-index: 2;
}

.banner-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-slow), filter var(--transition-slow);
  will-change: transform, filter;
}

.banner-tile:hover img,
.banner-tile:focus-visible img {
  transform: scale(1.07);
  filter: brightness(.92);
}

.banner-tile:hover::after,
.banner-tile:focus-visible::after {
  opacity: 1;
  transform: translateX(35%);
}

.banner-tile:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent);
  outline-offset: 3px;
}

/* ─── Features ───────────────────────────────── */
.features-section {
  padding: 30px 0;
  padding-bottom: 10px;
  background: var(--white);
}

.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: var(--white);
  border: 1px solid color-mix(in srgb, color-mix(in srgb, var(--muted) 17%, var(--white)) 90%, transparent);
  border-radius: 8px;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--dark) 8%, transparent);
  overflow: hidden;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 18px 28px;
  background: var(--white);
  border: 0;
  border-right: 1px solid color-mix(in srgb, color-mix(in srgb, var(--muted) 17%, var(--white)) 90%, transparent);
  border-radius: 0;
  transition: var(--transition);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card:hover {
  background: color-mix(in srgb, var(--primary) 5%, var(--white));
  box-shadow: none;
  transform: none;
}

.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
  color: var(--primary);
}

.fi-purple {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
}

.fi-cyan {
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
  color: var(--accent);
}

.fi-green {
  background: color-mix(in srgb, var(--success) 10%, transparent);
  color: var(--success);
}

.fi-amber {
  background: color-mix(in srgb, var(--warning) 10%, transparent);
  color: var(--warning);
}

.feature-title {
  font-size: .98rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
  line-height: 1.2;
}

.feature-desc {
  font-size: .82rem;
  color: var(--gray-700);
  font-weight: 600;
  line-height: 1.35;
}

/* ─── Testimonials ───────────────────────────── */
@media (max-width: 991.98px) {
  .features-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:nth-child(2n) {
    border-right: 0;
  }

  .feature-card:nth-child(-n + 2) {
    border-bottom: 1px solid color-mix(in srgb, color-mix(in srgb, var(--muted) 17%, var(--white)) 90%, transparent);
  }
}

@media (max-width: 575.98px) {
  .features-section {
    padding: 20px 0;
  }

  .features-strip {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(2n) {
    border-right: 0;
  }

  .feature-card {
    min-height: 74px;
    padding: 16px 18px;
    border-bottom: 1px solid color-mix(in srgb, color-mix(in srgb, var(--muted) 17%, var(--white)) 90%, transparent);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }
}

.testimonials-section {
  padding: 80px 0;
  background: var(--bg);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: var(--warning);
  font-size: .875rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: .925rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
}

.author-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-900);
}

.author-role {
  font-size: .75rem;
  color: var(--gray-500);
}

/* ─── FAQ Section ────────────────────────────── */
.faq-section {
  padding: 80px 0;
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: var(--transition);
  text-align: left;
  font-family: var(--font-body);
}

.faq-question:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.faq-question[aria-expanded="true"] {
  background: var(--gradient-primary);
  color: var(--white);
}

.faq-q-text {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  font-size: .85rem;
  transition: transform var(--transition);
  display: inline-flex;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition);
  background: var(--white);
}

.faq-item .faq-question[aria-expanded="true"]+.faq-answer {
  max-height: 500px;
  padding: 0 20px 20px 20px;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: .9rem;
}

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 64px 0 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo img {
  width: 118px;
}

.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--white);
}

.footer-desc {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
  font-size: .875rem;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-title {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: -35px;
}

.footer-links a {
  font-size: .875rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-newsletter {
  display: flex;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
  background: color-mix(in srgb, var(--white) 5%, transparent);
  margin-top: 16px;
}

.footer-newsletter input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: .875rem;
  color: var(--white);
}

.footer-newsletter input::placeholder {
  color: var(--gray-600);
}

.footer-newsletter button {
  background: var(--primary);
  border: none;
  padding: 12px 18px;
  color: var(--white);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background: var(--primary-dark);
}

.footer-contact-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--white) 6%, transparent);
  color: var(--primary);
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-list strong,
.footer-contact-list a {
  display: block;
  font-size: .875rem;
  line-height: 1.5;
}

.footer-contact-list strong { color: var(--white); font-weight: 600; }
.footer-contact-list a { color: var(--gray-400); overflow-wrap: anywhere; }
.footer-contact-list a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--white) 8%, transparent);
  padding: 20px 0;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--gray-600);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ─── Section header row ──────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Utility & Override ─────────────────────── */
.bg-white-section {
  background: var(--white);
}

.swiper-slide {
  cursor: grab;
}

.swiper-slide:active {
  cursor: grabbing;
}

/* ─── Product Page Specific ──────────────────── */

.gallery-wrapper {
  position: sticky;
  top: 86px;
}

.main-img-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-xl);
  background: var(--gray-50);
}

.thumb-swiper {
  margin-top: 12px;
}

.thumb-swiper .swiper-slide {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color var(--transition);
  background: var(--gray-50);
}

.thumb-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.thumb-swiper .swiper-slide-thumb-active {
  border-color: var(--primary);
}

.thumb-swiper .swiper-slide:hover {
  border-color: var(--gray-300);
}

.thumb-swiper {
  margin-top: 12px;
  overflow: hidden;
}

.thumb-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  gap: 12px;
}

.thumb-swiper:not(.swiper-initialized) .swiper-slide {
  width: calc((100% - 36px) / 4);
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
}

.thumb-swiper:not(.swiper-initialized) .swiper-slide:nth-child(n+5) {
  display: none;
}

.thumb-swiper .swiper-slide {
  box-sizing: border-box;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color var(--transition);
  background: var(--gray-50);
}

.thumb-swiper .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.thumb-swiper .swiper-slide-thumb-active {
  border-color: var(--primary);
}

.product-info-panel {
  padding-left: 20px;
}

@media(max-width:991px) {
  .product-info-panel {
    padding-left: 0;
    margin-top: 32px;
  }

  .gallery-wrapper {
    position: relative;
    top: 0;
  }
}

/* ─── Cart Page Specific ────────────────────── */
.cart-page {
  background: var(--bg);
  min-height: 100vh;
  padding: 48px 0 80px;
}

.cart-panel {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
  gap: 16px;
}

.cart-panel-header span {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item:hover {
  background: var(--gray-50);
}

.cart-item-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-cat {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 4px;
}

.cart-item-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: .8rem;
  color: var(--gray-500);
}

.cart-item-price-unit {
  font-size: .875rem;
  color: var(--gray-500);
  text-align: center;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-qty-btn {
  width: 32px;
  height: 36px;
  background: var(--gray-50);
  border: none;
  cursor: pointer;
  font-size: .875rem;
  color: var(--gray-700);
  transition: var(--transition);
}

.cart-qty-btn:hover {
  background: var(--gray-200);
}

.cart-qty-val {
  width: 44px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-900);
  border-left: 1.5px solid var(--gray-200);
  border-right: 1.5px solid var(--gray-200);
}

.cart-item-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 80px;
  text-align: right;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  font-size: .8rem;
  cursor: pointer;
  transition: var(--transition);
}

.cart-item-remove:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 5%, var(--white));
}

.not-found-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 72px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.not-found-panel {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.not-found-animation {
  width: min(320px, 78vw);
  height: min(320px, 78vw);
  margin: 0 auto 12px;
}

.not-found-panel .section-sub {
  margin: 0 auto 28px;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.coupon-row {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}

.coupon-row input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: .875rem;
  background: var(--gray-50);
  color: var(--gray-800);
}

.coupon-row button {
  background: var(--gray-800);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.coupon-row button:hover {
  background: var(--primary);
}

.order-summary {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 86px;
}

.os-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.os-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: .875rem;
}

.os-row-label {
  color: var(--gray-600);
}

.os-row-value {
  font-weight: 600;
  color: var(--gray-900);
}

.os-row-discount {
  color: var(--success);
}

.os-shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--success) 8%, transparent);
  color: var(--success);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.os-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 16px 0;
}

.os-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.os-total-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.os-total-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.os-secure-note {
  text-align: center;
  font-size: .75rem;
  color: var(--gray-500);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cart-progress {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100% !important;
  margin-bottom: 32px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
}

.progress-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

.step-active .progress-step-num {
  background: var(--primary);
  color: var(--white);
}

.step-done .progress-step-num {
  background: var(--success);
  color: var(--white);
}

.step-pending .progress-step-num {
  background: var(--gray-200);
  color: var(--gray-500);
}

.step-active .step-label {
  color: var(--primary);
}

.step-done .step-label {
  color: var(--success);
}

.step-pending .step-label {
  color: var(--gray-400);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin: 0 12px;
  min-width: 10px;
}

.progress-line.done {
  background: var(--success);
}

@media (max-width: 767px) {
  .cart-item {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .cart-item-price-unit {
    display: none;
  }

  .cart-item-total {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .cart-item-qty {
    grid-column: 2;
    grid-row: 2;
    width: fit-content;
  }

  /* .cart-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
  } */

  .cart-item {
    position: relative;
  }
}

/* Final header overrides: keep after all legacy navbar rules */
.site-announcement {
  height: 31px !important;
  min-height: 31px !important;
  background: var(--primary) !important;color:var(--on-primary) !important
}

.site-announcement-inner {
  height: 31px !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 24px !important;
  font-size: .66rem !important;
  font-weight: 700 !important
}

.site-navbar-wrap {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background: var(--white) !important
}

.shop-navbar {
  display: block !important;
  padding: 0 !important;
  background: var(--white) !important;
  border: 0 !important;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--dark) 8%, transparent) !important
}

.shop-navbar-top {
  height: 91px !important;
  background: var(--white) !important;
  border-bottom: 1px solid var(--bg) !important
}

.shop-navbar-top-inner {
  height: 91px !important;
  min-height: 91px !important;
  display: grid !important;
  grid-template-columns: 240px minmax(360px, 560px) 240px !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 34px !important
}

.shop-navbar-logo {
  display: flex !important;
  align-items: center !important;
  width: 215px !important;
  height: 70px !important;
  margin: 0 !important;
  padding: 0 !important
}

.shop-navbar-logo img {
  width: 215px !important;
  height: auto !important;
  max-height: 70px !important;
  object-fit: contain !important
}

.shop-navbar-search {
  width: 100% !important;
  max-width: 560px !important;
  height: 43px !important;
  display: flex !important;
  justify-self: center !important;
  border: 1px solid color-mix(in srgb, var(--muted) 17%, var(--white)) !important;
  border-radius: 999px !important;
  background: var(--bg) !important;
  box-shadow: none !important;
  overflow: hidden !important
}

.shop-navbar-search input {
  height: 41px !important;
  padding: 0 18px !important;
  background: transparent !important;
  color: color-mix(in srgb, var(--dark) 78%, var(--white)) !important;
  font-size: .78rem !important;
  font-weight: 400 !important
}

.shop-navbar-search button {
  width: 46px !important;
  height: 41px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--text-secondary) !important
}

.shop-navbar-search button:hover {
  background: var(--bg) !important;
  color: var(--dark) !important
}

.shop-navbar-actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 22px !important
}

.header-action,
.shop-cart-link {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--dark) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important
}

.header-action svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: var(--dark) !important;
  stroke-width: 1.55 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important
}

.header-account {
  flex-direction: column !important;
  gap: 2px !important;
  font-size: .56rem !important;
  line-height: 1 !important;
  white-space: nowrap !important
}

.header-wishlist {
  width: 32px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 0 !important
}

.header-wishlist .action-dot {
  position: absolute !important;
  right: 1px !important;
  top: 2px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--primary) !important
}

.shop-cart-link {
  width: 35px !important;
  height: 42px !important
}

.shop-cart-link svg {
  width: 32px !important;
  height: 32px !important
}

.shop-cart-link .nav-badge {
  top: -1px !important;
  right: -5px !important;
  width: 18px !important;
  height: 18px !important;
  background: var(--primary) !important;color:var(--on-primary) !important;
  border: 2px solid var(--white) !important
}

.shop-navbar-menu {
  height: 46px !important;
  background: var(--white) !important;
  border: 0 !important
}

.shop-navbar-menu>.container {
  height: 46px !important;
  display: flex !important;
  justify-content: center !important;
  max-width: 1320px !important;
  padding-left: 12px !important;
  padding-right: 12px !important
}

.shop-navbar-menu .offcanvas,
.shop-navbar-menu .offcanvas-body {
  height: 46px !important;
  background: var(--white) !important
}

.shop-navbar-menu .offcanvas-body {
  display: flex !important;
  justify-content: center !important;
  padding: 0 !important
}

.shop-navbar-nav {
  width: 100% !important;
  min-height: 46px !important;
  height: 46px !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 2px !important;
  margin: 0 auto !important
}

.shop-navbar-nav .nav-item {
  display: flex !important
}

.shop-navbar-nav .nav-link-smart {
  min-width: auto !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--dark) !important;
  background: transparent !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important
}

.shop-navbar-nav .nav-link-smart:hover,
.shop-navbar-nav .nav-link-smart.active,
.shop-navbar-nav .nav-link-smart.show {
  color: var(--primary-dark) !important;
  background: transparent !important
}

.page-home #hero:before,
.page-home #hero:after {
  display: none !important
}

.page-home #hero .swiper-slide>a {
  position: relative !important;
  display: block !important
}

.page-home #hero .home-hero-slide {
  position: relative !important;
  display: block !important
}

.page-home #hero .swiper-slide img {
  height: 505px !important;
  object-fit: cover !important
}

.home-hero-shade {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(90deg, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 76%, transparent), color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 30%, transparent) 44%, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 3%, transparent) 72%) !important
}

.home-hero-content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  color: var(--white) !important
}

.home-hero-content strong {
  font-size: clamp(2.25rem, 3vw, 3.45rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important
}

.home-hero-content small {
  display: block !important;
  margin-top: 15px !important;
  color: var(--white) !important;
  font-size: .95rem !important;
  font-weight: 600 !important
}

.home-hero-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 22px !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background: var(--primary) !important;color:var(--on-primary) !important;
  font-size: .76rem !important;
  font-weight: 800 !important
}

@media(max-width:991px) {
  .site-announcement-inner {
    justify-content: center !important
  }

  .shop-navbar-top,
  .shop-navbar-top-inner {
    height: 72px !important;
    min-height: 72px !important
  }

  .shop-navbar-top-inner {
    display: flex !important
  }

  .shop-navbar-top-inner>.shop-navbar-search {
    display: none !important
  }

  .shop-navbar-logo {
    width: 150px !important
  }

  .shop-navbar-logo img {
    width: 150px !important
  }

  .shop-navbar-menu {
    height: 0 !important
  }

  .shop-navbar-menu .offcanvas {
    height: 100vh !important;
    background: var(--white) !important
  }

  .shop-navbar-menu .offcanvas-body {
    height: auto !important
  }

  .shop-navbar-nav {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important
  }

  .shop-navbar-nav .nav-link-smart {
    height: 46px !important;
    justify-content: flex-start !important;
    font-size: .85rem !important
  }

  .page-home #hero .swiper-slide img {
    height: 390px !important
  }
}

@media(max-width:575px) {
  .site-announcement-inner {
    gap: 12px !important
  }

  .site-announcement-inner span:nth-child(2) {
    display: none !important
  }

  .shop-navbar-logo {
    width: 125px !important
  }

  .shop-navbar-logo img {
    width: 125px !important
  }

  .header-account span,
  .header-wishlist {
    display: none !important
  }

  .page-home #hero .swiper-slide img {
    height: 330px !important
  }

  .home-hero-content {
    padding-left: 24px !important;
    padding-right: 24px !important
  }

  .home-hero-content strong {
    font-size: 1.75rem !important
  }

  .home-hero-content small {
    font-size: .76rem !important
  }

  .home-hero-button {
    padding: 10px 17px !important
  }
}

@media (max-width: 991px) {
  .d-small-none {
    display: none;
  }
}

/* ─── Checkout Page Specific ─────────────────── */
.checkout-page {
  padding: 40px 0 80px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.form-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-card-title .step-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
}

.field-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  display: block;
}

.field-label .req {
  color: var(--danger);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--gray-800);
  background: var(--gray-50);
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

select.form-input {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230F172A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-input:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent);
}

select.form-input:focus {
  background-color: var(--white);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 8%, transparent);
}

.form-select-custom {
  width: 100%;
  padding: 11px 40px 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--gray-800);
  background: var(--gray-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
  cursor: pointer;
}

.form-select-custom:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow:none;
}

.payment-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.payment-method-btn {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, transparent);
}

.payment-method-btn:hover:not(.active) {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.payment-method-btn :is(svg.app-icon,span.legend-mark) {
  font-size: 1rem;
}

.card-field-wrap {
  position: relative;
}

.card-field-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1.1rem;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}

.shipping-option:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.shipping-option.selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 4%, transparent);
}

.shipping-option input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.shipping-option-info {
  flex: 1;
}

.shipping-option-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-900);
}

.shipping-option-desc {
  font-size: .775rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.shipping-option-price {
  font-size: .9rem;
  font-weight: 800;
  color: var(--primary);
}

.os-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.os-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  /* overflow: hidden; */
  background: var(--gray-100);
  flex-shrink: 0;
  position: relative;
}

.os-item-img img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.os-item-img .os-item-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.os-item-name {
  font-size: .825rem;
  font-weight: 600;
  color: var(--gray-900);
  flex: 1;
}

.os-item-price {
  font-size: .875rem;
  font-weight: 700;
  color: var(--gray-800);
}

.btn-place-order {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
  margin-bottom: 14px;
}

.btn-place-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn-place-order:active {
  transform: translateY(0);
}

.secure-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  color: var(--gray-500);
}

.secure-badge :is(svg.app-icon,span.legend-mark) {
  color: var(--success);
}

.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--dark) 50%, transparent);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.success-overlay.show {
  display: flex;
}

.success-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  animation: modalPop .4s cubic-bezier(.4, 0, .2, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(.9)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), color-mix(in srgb, var(--success) 65%, var(--dark)));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--success) 30%, transparent);
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.success-sub {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.success-order-num {
  font-size: .875rem;
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 24px;
}

.success-order-num span {
  color: var(--primary);
}

.variant-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.variant-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}

.variant-btn.active,
.variant-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.color-swatch-wrap {
  position: relative;
  display: inline-flex;
}

.color-swatch-wrap.is-out-of-stock .color-swatch {
  cursor: not-allowed;
}

.color-swatch-wrap.is-out-of-stock::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--danger);
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.color-swatch-wrap.is-out-of-stock::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 20;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--gray-900);
  color: var(--white);
  font-size: .75rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .15s ease, transform .15s ease;
}

.color-swatch-wrap.is-out-of-stock:hover::after,
.color-swatch-wrap.is-out-of-stock:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.color-swatch.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 44px;
  background: var(--gray-50);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-700);
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--gray-100);
}

.qty-input {
  width: 60px;
  height: 44px;
  border: none;
  border-left: 1.5px solid var(--gray-200);
  border-right: 1.5px solid var(--gray-200);
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-900);
  outline: none;
}

.product-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quantity-cart-row {
  align-items: stretch;
  flex-wrap: nowrap;
}

.quantity-cart-row .btn-add-cart-full {
  width: auto;
}

.btn-buy-now {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
  color: var(--white);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-buy-now:hover {
  background: var(--gray-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-add-cart-full {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  /* box-shadow: var(--shadow-primary); */
}

.btn-add-cart-outline {
  background: var(--gray-900);
  color: var(--white);
  border: 1.5px solid var(--gray-900);
  box-shadow: none;
}

.btn-add-cart-outline:hover {
  background: var(--gray-800);
  color: var(--white);
  /*box-shadow: var(--shadow-gray);*/
}

.btn-add-cart-full:hover {
  transform: translateY(-2px);
  /* box-shadow: 0 12px 32px color-mix(in srgb, var(--primary) 35%, transparent); */
}

.btn-wishlist {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-500);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-wishlist:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 5%, var(--white));
}

.product-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: .75rem;
  color: var(--gray-600);
}

.meta-tag :is(svg.app-icon,span.legend-mark) {
  color: var(--primary);
}

/* Tabs */
.product-tabs {
  margin-top: 48px;
}

.tab-nav {
  display: flex;
  border-bottom: 1.5px solid var(--gray-100);
  gap: 0;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 14px 24px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.review-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 16px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--gray-100);
}

.spec-table tr:last-child {
  border: none;
}

.spec-table td {
  padding: 12px 16px;
  font-size: .875rem;
}

.spec-table td:first-child {
  color: var(--gray-500);
  font-weight: 500;
  width: 40%;
}

.spec-table td:last-child {
  color: var(--gray-800);
  font-weight: 600;
}

.spec-table tr:nth-child(even) td {
  background: var(--gray-50);
}

/* ─── Breadcrumb ─────────────────────────────── */
.breadcrumb-section {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
}

.breadcrumb-custom a {
  color: var(--gray-500);
  transition: var(--transition);
}

.breadcrumb-custom a:hover {
  color: var(--primary);
}

.breadcrumb-custom .sep {
  color: var(--gray-300);
}

.breadcrumb-custom .current {
  color: var(--gray-800);
  font-weight: 500;
}

/* ─── Related Products ───────────────────────── */
.related-section {
  padding: 64px 0 80px;
  background: var(--bg);
}

/* ─── Top Bar ────────────────────────────────── */
.top-bar {
  background: var(--primary);
  color: color-mix(in srgb, var(--white) 90%, transparent);
  font-size: .8rem;
  padding: 10px 0;
  text-align: center;
}

.top-bar a {
  color: color-mix(in srgb, var(--white) 90%, transparent);
  font-weight: 600;
  text-decoration: underline;
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }

  .navbar-search {
    flex: 0 0 200px;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .banner-grid {
    --banner-columns: 2;
  }

  .banner-grid-count-1,
  .banner-grid.banner-grid-single {
    --banner-columns: 1;
  }

  .banner-grid-count-2 {
    --banner-columns: 2;
  }

  .banner-grid-count-3 {
    --banner-columns: 3;
  }

  .bs-item-lg {
    grid-column: span 6;
  }

  .bs-item-sm {
    grid-column: span 6;
  }

  .promo-banner {
    padding: 40px 32px;
  }
}

@media (max-width: 767px) {
  .navbar-search {
    display: none;
  }

  .hero-stats {
    gap: 20px;
  }

  .bs-item-lg,
  .bs-item-sm {
    grid-column: span 6;
  }

  .promo-banner {
    padding: 32px 24px;
  }

  .product-action-row {
    flex-direction: column;
  }

  .quantity-cart-row {
    flex-direction: row;
  }

  .quantity-cart-row .btn-add-cart-full {
    flex: 1;
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  .btn-buy-now,
  .btn-add-cart-full {
    flex: unset;
    width: 100%;
  }
}

@media (max-width: 575px) {

  .banner-grid {
    --banner-columns: 1;
    gap: 14px;
  }

  .banner-section {
    padding: 14px 0 28px;
  }

  .banner-tile-full {
    aspect-ratio: 16 / 7;
  }

  .featured-swiper-prev {
    left: -22px;
  }

  .featured-swiper-next {
    right: -22px;
  }

  .featured-swiper-btn {
    display: none;
  }

  .bs-item-lg,
  .bs-item-sm {
    grid-column: span 12;
  }

  .hero-section {
    padding: 50px 0;
    min-height: unset;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── Shop Page / Products Listing ──────────────── */
.shop-page {
  padding: 48px 0 80px;
  background: var(--bg);
}

.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  padding: 24px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  margin-bottom: 32px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Category List */
.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-item:hover .filter-label {
  color: var(--primary);
}

.filter-check-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-label {
  font-size: .875rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.filter-count {
  font-size: .75rem;
  color: var(--gray-400);
  font-weight: 500;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-200);
  border-radius: 4px;
  display: grid;
  place-items: center;
  transition: var(--transition);
  color: var(--white);
  font-size: .65rem;
}

input[type="checkbox"]:checked+.custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

input[type="checkbox"]:checked+.custom-checkbox :is(svg.app-icon,span.legend-mark) {
  display: block;
}

input[type="checkbox"] {
  display: none;
}

/* Price Range Slider */
.price-range-slider {
  margin-top: 24px;
}

.range-track {
  height: 4px;
  background: var(--gray-100);
  border-radius: 2px;
  position: relative;
}

.range-fill {
  position: absolute;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  left: 20%;
  right: 20%;
}

.range-handle {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--dark) 10%, transparent);
}

.handle-min {
  left: 20%;
}

.handle-max {
  right: 20%;
}

.range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.range-inputs .form-input {
  text-align: center;
  padding: 8px;
  font-size: .8rem;
}

/* Price Range Slider */
.price-range-slider {
  margin-top: 24px;
}

.range-track {
  height: 4px;
  background: var(--gray-100);
  border-radius: 2px;
  position: relative;
}

.range-fill {
  position: absolute;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  left: 20%;
  right: 20%;
}

.range-handle {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--dark) 10%, transparent);
}

.handle-min {
  left: 20%;
}

.handle-max {
  right: 20%;
}

.range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.range-inputs .form-input {
  text-align: center;
  padding: 8px;
  font-size: .8rem;
}

.shop-controls {
  /* background: var(--white); */
  padding: 0 0 16px;
  border-radius: 0;
  border: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: none;
}

.results-info {
  font-size: .78rem;
  color: var(--gray-600);
}

.results-info strong {
  color: var(--gray-900);
}

.shop-control-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.sort-label {
  margin: 0;
  font-size: .68rem;
  font-weight: 700;
  color: var(--gray-500);
}

.sort-select {
  min-width: 150px;
  border: 1px solid var(--primary);
  border-radius: 5px;
  padding: 7px 30px 7px 10px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray-700);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23382A1F' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 13px;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
}

.sort-select:hover {
  border-color: var(--primary);
}

.mobile-filter-btn {
  display: none;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: .78rem;
  font-weight: 600;
  gap: 8px;
  align-items: center;
}

.shop-clear-filters {
  width: 100%;
  padding: 9px 12px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 800;
}

.shop-pagination {
  gap: 8px;
}

.shop-pagination .page-link {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border-color: var(--border);
  color: var(--gray-700);
  cursor: pointer;
}

.shop-pagination .active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  color: var(--primary);
}

/* Legacy Cleanup - Remove redundant classes */
.offcanvas-menu,
.offcanvas-overlay {
  display: none !important;
}

/* ─── Media Queries ──────────────────────────── */

@media (max-width: 1199.98px) {
  .hero-headline {
    font-size: 3.2rem;
  }
}

@media (max-width: 991.98px) {
  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  /* Premium Isolated Mobile Menu */
  .navbar .offcanvas {
    background-color: var(--white) !important;
    border-right: 1px solid var(--gray-100) !important;
    box-shadow: 20px 0 60px color-mix(in srgb, var(--dark) 10%, transparent) !important;
    height: 100vh !important;
  }

  .navbar .offcanvas-header {
    background-color: var(--white) !important;
    padding: 20px 24px !important;
    border-bottom: 1px solid var(--gray-50) !important;
  }

  .navbar .offcanvas-body {
    background-color: var(--white) !important;
    padding: 24px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Mobile Nav Links */
  .navbar .offcanvas .navbar-nav {
    gap: 8px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .navbar .offcanvas .nav-link-smart {
    padding: 14px 20px !important;
    border-radius: var(--radius-md) !important;
    justify-content: flex-start !important;
    width: 100% !important;
    font-size: 1rem !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Rotating Chevron for Mobile Accordion */
  .navbar .offcanvas .nav-link-smart.dropdown-toggle {
    justify-content: space-between !important;
  }

  .navbar .offcanvas .nav-link-smart.dropdown-toggle::after {
    display: inline-block !important;
    content: "" !important;
    border-right: 2px solid currentColor !important; border-bottom: 2px solid currentColor !important; transform: rotate(45deg);
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    border: none !important;
    width: .75rem !important; height: .75rem !important;
    transition: transform 0.3s ease !important;
    opacity: 0.6;
  }

  .navbar .offcanvas .nav-link-smart.dropdown-toggle.show::after {
    transform: rotate(180deg) !important;
    color: var(--primary);
    opacity: 1;
  }

  /* Mobile Rich Dropdown (Accordion) */
  .navbar .offcanvas .dropdown-menu-rich {
    position: static !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: color-mix(in srgb, var(--dark) 3%, transparent) !important;
    padding: 8px 0 !important;
    margin: 8px 0 12px 20px !important;
    border-left: 2px solid var(--gray-200) !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    flex-direction: column !important;
  }

  .navbar .offcanvas .dropdown-menu-rich.show {
    display: flex !important;
  }

  .navbar .offcanvas .rich-item {
    padding: 12px 20px !important;
    gap: 12px !important;
  }

  .navbar .offcanvas .rich-icon-box {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }

  .navbar .offcanvas .rich-desc {
    display: none !important;
  }

  .hero-section {
    padding: 60px 0;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-headline {
    font-size: 2.8rem;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    z-index: 1050;
    background: var(--white);
    overflow-y: auto;
    transition: left .4s cubic-bezier(.4, 0, .2, 1);
    border-radius: 0;
    padding: 24px;
    box-shadow: 20px 0 60px color-mix(in srgb, var(--dark) 15%, transparent);
  }

  .shop-sidebar.active {
    left: 0;
  }

  .mobile-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* margin-top: 16px; */
  }

  .footer-bottom .d-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .shop-control-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 767.98px) {
  .hero-headline {
    font-size: 2.2rem;
  }

  .shop-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .top-bar {
    font-size: .75rem;
    padding: 8px 12px;
  }

  .navbar-inner {
    height: 64px;
  }

  .navbar-logo {
    font-size: 1.15rem;
    margin-right: 0;
  }

  .navbar-logo img {
    width: 100%;
    height: 30px;
  }

  .shop-navbar-logo img {
    width: 118px;
    height: 48px;
  }

  .shop-navbar-top-inner {
    min-height: 66px;
    grid-template-columns: 122px 1fr;
  }

  .shop-cart-link {
    width: 30px;
    font-size: 1.15rem;
  }

  .shop-login-link :is(svg.app-icon,span.legend-mark) {
    font-size: 1.15rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .nav-action-btn {
    width: 36px;
    height: 36px;
    font-size: .9rem;
  }

  .cart-table th,
  .cart-table td {
    padding: 12px 8px;
    font-size: .85rem;
  }

  .item-thumb {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 575.98px) {
  .hero-headline {
    font-size: 1.9rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
    justify-content: center;
  }

  .testimonial-card {
    padding: 24px;
  }

  .footer-main {
    padding: 60px 0 40px;
  }
}



#notifications-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
}

.notification {
  min-width: 250px;
  padding: 12px 15px;
  border-radius: 10px;
  color: var(--white);
  font-size: 14px;
  box-shadow: 0 10px 25px color-mix(in srgb, var(--dark) 15%, transparent);
  animation: slideIn .3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notification.success {
  background: var(--success);
}

.notification.error {
  background: var(--danger);
}

.notification.info {
  background: var(--primary);
}

@keyframes slideIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.carousel-item img {
  width: 100%;
  height: 650px;
  overflow: hidden;
  object-fit: cover;
}

@media (max-width: 992px) {
  .carousel-item img {
    height: 200px;
    max-height: 400px;
  }

}

.contact-info {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  padding: 50px 0;
  width: 100%;
}

.contact-info.tmponhover::after {
  border-radius: 25px;
}

.contact-info .contact-icon {
  width: 70px;
  height: 70px;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 25px;
  font-size: 30px;
}

.dark-mode .contact-info .contact-icon {
  width: 70px;
  height: 70px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 25px;
  font-size: 30px;
}

.contact-info .title {
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 700;
  line-height: 130%;
  text-transform: capitalize;
  margin-bottom: 15px;
}

.contact-info .para {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  margin-bottom: 5px;
}

.contact-info .para:last-child {
  margin-bottom: 0;
}

.order-success-page {
  background: var(--bg);
  color: var(--dark);
  padding: 55px 0 70px;
}

.order-success-card {
  max-width: 980px;
  margin: auto;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--muted) 19%, var(--white));
  border-radius: 8px;
  padding: 48px 56px;
  box-shadow: 0 10px 35px color-mix(in srgb, color-mix(in srgb, var(--success) 65%, var(--dark)) 6%, transparent);
}

.success-heading {
  text-align: center;
  margin-bottom: 42px;
}

.success-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 4px solid var(--success);
  border-radius: 50%;
}

.success-icon :is(svg.app-icon,span.legend-mark) {
  font-size: 50px;
  color: var(--white);
}

.success-heading h1 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
}

.success-heading p {
  color: var(--text-secondary);
  font-size: 17px;
  margin: 0;
}

.success-section {
  padding: 29px 0;
  border-top: 1px dashed color-mix(in srgb, var(--muted) 29%, var(--white));
}

.success-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.success-section-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 20px;
}

.customer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
}

.customer-details div {
  color: var(--text-secondary);
}

.customer-details strong {
  color: var(--dark);
  display: inline-block;
  min-width: 100px;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
}

.order-table th {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 20%, var(--white));
}

.order-table td {
  padding: 16px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 13%, var(--white));
  vertical-align: middle;
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
}

.product-cell img,
.product-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--muted) 20%, var(--white));
  object-fit: contain;
  background: var(--bg);
}

.product-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.summary {
  width: min(100%, 390px);
  margin-left: auto;
  padding-top: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.summary-total {
  margin-top: 8px;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--muted) 25%, var(--white));
  color: color-mix(in srgb, var(--danger) 65%, var(--dark));
  font-size: 21px;
  font-weight: 700;
}

.home-button {
  display: block;
  width: min(100%, 540px);
  margin: 34px auto 0;
  padding: 15px 25px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--success) 65%, var(--dark));
  color: var(--white) !important;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  transition: .2s;
}

.home-button:hover {
  background: color-mix(in srgb, var(--success) 65%, var(--dark));
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .order-success-page {
    padding: 20px 0 40px;
  }

  .order-success-card {
    padding: 30px 18px;
    border-radius: 0;
  }

  .success-icon {
    width: 88px;
    height: 88px;
  }

  .success-icon :is(svg.app-icon,span.legend-mark) {
    font-size: 40px;
  }

  .success-heading h1 {
    font-size: 27px;
  }

  .customer-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .order-table thead {
    display: none;
  }

  .order-table,
  .order-table tbody,
  .order-table tr,
  .order-table td {
    display: block;
    width: 100%;
  }

  .order-table tr {
    padding: 14px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--muted) 20%, var(--white));
  }

  .order-table td {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 6px 0;
    border: 0;
    text-align: right;
  }

  .order-table td::before {
    content: attr(data-label);
    color: var(--text-secondary);
    font-weight: 600;
    text-align: left;
  }

  .order-table td:first-child {
    display: block;
    text-align: left;
  }

  .order-table td:first-child::before {
    display: none;
  }
}

/* Header conflict fixes - intentionally last */
.site-navbar-wrap .shop-navbar-menu {
  height: 48px !important;
  background: var(--white) !important;
  border: 0 !important
}

.site-navbar-wrap .shop-navbar-menu>.container {
  height: 48px !important;
  max-width: 1320px !important;
  padding: 0 12px !important
}

.site-navbar-wrap .shop-navbar-menu .offcanvas,
.site-navbar-wrap .shop-navbar-menu .offcanvas-body {
  height: 48px !important;
  background: var(--white) !important
}

.site-navbar-wrap .shop-navbar-nav {
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 2px !important;
  margin: 0 auto !important
}

.site-navbar-wrap .shop-navbar-nav .nav-link-smart {
  min-width: auto !important;
  height: 48px !important;
  padding: 0 16px !important;
  color: var(--dark) !important;
  background: transparent !important;
  font-size: .82rem !important;
  font-weight: 700 !important
}

.site-navbar-wrap .shop-navbar-nav .nav-link-smart.active,
.site-navbar-wrap .shop-navbar-nav .nav-link-smart:hover {
  color: var(--primary-dark) !important
}

.site-navbar-wrap .shop-navbar-top,
.site-navbar-wrap .shop-navbar-top-inner {
  height: 91px !important;
  min-height: 91px !important;
  background: var(--white) !important
}

.site-navbar-wrap .shop-navbar-top {
  border: 0 !important;
  box-shadow: none !important
}

.site-navbar-wrap .shop-navbar-top-inner {
  grid-template-columns: 240px minmax(360px, 560px) 240px !important
}

.site-navbar-wrap .shop-navbar-logo,
.site-navbar-wrap .shop-navbar-logo img {
  width: 215px !important;
  height: auto !important;
  max-height: 70px !important;
  object-fit: contain !important
}

.site-navbar-wrap .shop-navbar-search {
  width: 100% !important;
  max-width: 560px !important;
  height: 43px !important;
  border: 1px solid color-mix(in srgb, var(--muted) 17%, var(--white)) !important;
  background: var(--bg) !important
}

.site-navbar-wrap .shop-navbar-search button {
  width: 46px !important;
  height: 41px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--text-secondary) !important
}

.site-navbar-wrap .header-wishlist {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important
}

.site-navbar-wrap .header-action svg {
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: var(--dark) !important
}

.page-home #hero:before,
.page-home #hero:after {
  display: none !important
}

.page-home #hero .swiper-slide>a {
  position: relative !important;
  display: block !important
}

.page-home #hero .swiper-slide img {
  height: 505px !important;
  object-fit: cover !important
}

.page-home .home-hero-shade {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(90deg, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 76%, transparent), color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 30%, transparent) 44%, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 3%, transparent) 72%) !important
}

.page-home .home-hero-content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  color: var(--white) !important
}

.page-home .home-hero-button {
  text-decoration: none !important
}

@media(max-width:991px) {

  .site-navbar-wrap .shop-navbar-top,
  .site-navbar-wrap .shop-navbar-top-inner {
    height: 72px !important;
    min-height: 72px !important
  }

  .site-navbar-wrap .shop-navbar-top-inner {
    display: flex !important
  }

  .site-navbar-wrap .shop-navbar-top-inner>.shop-navbar-search {
    display: none !important
  }

  .site-navbar-wrap .shop-navbar-logo,
  .site-navbar-wrap .shop-navbar-logo img {
    width: 150px !important
  }

  .site-navbar-wrap .shop-navbar-menu {
    height: 0 !important
  }

  .site-navbar-wrap .shop-navbar-menu .offcanvas {
    height: 100vh !important
  }

  .site-navbar-wrap .shop-navbar-menu .offcanvas-body,
  .site-navbar-wrap .shop-navbar-nav {
    height: auto !important
  }

  .site-navbar-wrap .shop-navbar-nav {
    flex-direction: column !important
  }

  .site-navbar-wrap .shop-navbar-nav .nav-link-smart {
    height: 46px !important;
    justify-content: flex-start !important;
    font-size: .85rem !important
  }

  .page-home #hero .swiper-slide img {
    height: 390px !important
  }
}

/* The second search belongs exclusively to the mobile off-canvas menu. */
.site-navbar-wrap .shop-navbar-search-mobile {
  display: none !important
}

@media(max-width:991px) {

  .site-navbar-wrap .offcanvas.show .shop-navbar-search-mobile,
  .site-navbar-wrap .offcanvas.showing .shop-navbar-search-mobile {
    display: flex !important;
    width: 100% !important;
    height: 43px !important;
    margin: 10px 0 20px !important;
    border: 1px solid color-mix(in srgb, var(--muted) 17%, var(--white)) !important;
    background: var(--bg) !important
  }
}

@media(max-width:991px) {
  .site-navbar-wrap .shop-navbar-menu .offcanvas-body {
    height: calc(100vh - 82px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 16px 18px 24px !important;
    overflow-y: auto !important;
  }

  .site-navbar-wrap .offcanvas.show .shop-navbar-search-mobile,
  .site-navbar-wrap .offcanvas.showing .shop-navbar-search-mobile {
    flex: 0 0 43px !important;
    margin: 0 0 10px !important;
  }

  .site-navbar-wrap .shop-navbar-nav {
    flex: 0 0 auto !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .site-navbar-wrap .shop-navbar-nav .nav-link-smart {
    padding: 10px 8px !important;
    height: 42px !important;
  }
}

/* Desktop subcategory dropdown: size to the content, up to 7 entries per column. */
@media(min-width:992px) {
  .site-navbar-wrap .dropdown-menu-subcategories {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(var(--submenu-rows, 7), minmax(42px, auto)) !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    width: min(calc(var(--submenu-columns, 3) * 240px), calc(100vw - 32px)) !important;
    min-width: 0 !important;
    gap: 4px 12px !important;
    padding: 14px !important;
  }

  .site-navbar-wrap .dropdown-menu-subcategories .rich-item {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 8px 12px !important;
    transform: none !important;
  }

  .site-navbar-wrap .dropdown-menu-subcategories .rich-content,
  .site-navbar-wrap .dropdown-menu-subcategories .rich-title {
    min-width: 0 !important;
  }

  .site-navbar-wrap .dropdown-menu-subcategories .rich-title {
    display: block !important;
    overflow: hidden !important;
    font-size: .78rem !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media(min-width:992px) {

  .site-navbar-wrap .shop-navbar-top,
  .site-navbar-wrap .shop-navbar-top-inner {
    height: 62px !important;
    min-height: 62px !important;
  }

  .site-navbar-wrap .shop-navbar-logo,
  .site-navbar-wrap .shop-navbar-logo img {
    max-height: 50px !important;
  }

  .site-navbar-wrap .shop-navbar-menu,
  .site-navbar-wrap .shop-navbar-menu>.container,
  .site-navbar-wrap .shop-navbar-menu .offcanvas,
  .site-navbar-wrap .shop-navbar-menu .offcanvas-body,
  .site-navbar-wrap .shop-navbar-nav {
    height: 40px !important;
    min-height: 40px !important;
  }

  .site-navbar-wrap .shop-navbar-nav .nav-link-smart {
    height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Final hero and benefit strip matching the supplied storefront model */
.page-home #hero .home-hero-prev,
.page-home #hero .home-hero-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--white) 65%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--white) 15%, transparent);
  color: var(--white);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--dark) 12%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-home #hero .home-hero-prev svg,
.page-home #hero .home-hero-next svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-home #hero .home-hero-prev { left: 24px; }
.page-home #hero .home-hero-next { right: 24px; }
.page-home #hero .home-hero-prev:hover,
.page-home #hero .home-hero-next:hover {
  background: color-mix(in srgb, var(--white) 28%, transparent);
  border-color: var(--white);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--dark) 18%, transparent);
}
.page-home #hero .home-hero-prev:focus-visible,
.page-home #hero .home-hero-next:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (max-width: 575px) {
  .page-home #hero .home-hero-prev,
  .page-home #hero .home-hero-next { width: 38px; height: 38px; }
  .page-home #hero .home-hero-prev { left: 12px; }
  .page-home #hero .home-hero-next { right: 12px; }
  .page-home #hero .home-hero-prev svg,
  .page-home #hero .home-hero-next svg { width: 16px; height: 16px; }
}

.page-home #hero {
  background: var(--dark) !important
}

.page-home #hero .swiper-slide img {
  height: 515px !important;
  object-position: center center !important
}

.page-home .home-hero-shade {
  background: linear-gradient(90deg, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 76%, transparent) 0%, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 48%, transparent) 30%, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 8%, transparent) 62%, transparent 78%) !important
}

.page-home .home-hero-content strong {
  max-width: 560px !important;
  font-size: clamp(2.4rem, 3.2vw, 3.75rem) !important;
  letter-spacing: -.035em !important
}

.page-home .features-section.d-none.d-lg-block {
  margin-top: -48px !important;
  padding: 0 !important;
  background: transparent !important
}

.page-home .features-section.d-none.d-lg-block .container {
  max-width: 1320px !important
}

.page-home .features-strip {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  min-height: 104px !important;
  padding: 18px 30px !important;
  background: var(--white) !important;
  border: 1px solid var(--bg) !important;
  border-radius: 14px !important;
  box-shadow: 0 13px 35px color-mix(in srgb, var(--dark) 12%, transparent) !important
}

.page-home .feature-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  min-height: 64px !important;
  padding: 0 22px !important;
  border-right: 1px solid color-mix(in srgb, var(--muted) 20%, var(--white)) !important
}

.page-home .feature-card:last-child {
  border-right: 0 !important
}

.page-home .feature-title {
  color: var(--dark) !important;
  font-size: .79rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important
}

.page-home .feature-desc {
  color: var(--text-secondary) !important;
  font-size: .69rem !important;
  line-height: 1.35 !important
}

.page-home .feature-card:hover,
.page-home .feature-card:focus-within {
  background: var(--white) !important;
  box-shadow: none !important;
  transform: none !important
}

@media(max-width:991px) {
  .page-home #hero .swiper-slide img {
    height: 400px !important
  }

  .page-home .features-section.d-block.d-lg-none {
    margin-top: 0 !important;
    padding: 20px 0 !important
  }

  .page-home .features-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important
  }

  .page-home .feature-card {
    border-right: 0 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--muted) 16%, var(--white)) !important;
    padding: 14px !important
  }

  .page-home .feature-card:nth-last-child(-n+2) {
    border-bottom: 0 !important
  }
}

@media(max-width:575px) {
  .page-home #hero .swiper-slide img {
    height: 345px !important
  }

  .page-home .home-hero-shade {
    background: linear-gradient(90deg, color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 80%, transparent), color-mix(in srgb, color-mix(in srgb, var(--primary) 65%, var(--dark)) 28%, transparent)) !important
  }

  .page-home .features-strip {
    grid-template-columns: 1fr !important
  }

  .page-home .feature-card {
    border-bottom: 1px solid color-mix(in srgb, var(--muted) 16%, var(--white)) !important
  }

  .page-home .feature-card:last-child {
    border-bottom: 0 !important
  }
}

/* Category cards matching the supplied model */
.page-home .category-gallery-section {
  padding: 46px 0 52px !important;
  background: var(--white) !important
}

.page-home .category-gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 38px 20px
}

.page-home .category-gallery-heading h2 {
  margin: 0;
  color: var(--dark);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -.025em
}

.page-home .category-gallery-heading a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 700
}

.page-home .category-gallery-heading a:hover {
  color: var(--primary-dark)
}

.page-home .category-gallery-wrap {
  padding: 0 38px !important
}

.page-home .category-gallery-swiper {
  padding: 0 4px 10px !important
}

.page-home .category-gallery-card {
  height: 220px !important;
  display: grid !important;
  grid-template-rows: 165px 55px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: var(--bg) !important;
  box-shadow: none !important;
  overflow: hidden !important;
  text-decoration: none !important;
  transform: none !important
}

.page-home .category-gallery-image {
  display: block !important;
  width: 100% !important;
  height: 165px !important;
  overflow: hidden !important;
  background: var(--bg) !important
}

.page-home .category-gallery-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .35s ease !important
}

.page-home .category-gallery-name {
  display: flex !important;
  align-items: center !important;
  padding: 8px 13px !important;
  color: var(--dark) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  background: linear-gradient(110deg, var(--bg), color-mix(in srgb, var(--danger) 5%, var(--white))) !important
}

.page-home .category-gallery-card:hover {
  box-shadow: 0 9px 22px color-mix(in srgb, var(--dark) 10%, transparent) !important;
  transform: translateY(-3px) !important
}

.page-home .category-gallery-card:hover img {
  transform: scale(1.04) !important
}

.page-home .category-gallery-nav {
  width: 32px !important;
  height: 32px !important;
  border: 1px solid color-mix(in srgb, var(--muted) 17%, var(--white)) !important;
  background: var(--white) !important;
  color: var(--dark) !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--dark) 8%, transparent) !important
}

@media(max-width:575px) {
  .page-home .category-gallery-heading {
    margin: 0 0 16px
  }

  .page-home .category-gallery-heading h2 {
    font-size: 1.35rem
  }

  .page-home .category-gallery-heading a {
    font-size: .65rem
  }

  .page-home .category-gallery-wrap {
    padding: 0 !important
  }

  .page-home .category-gallery-nav {
    display: none !important
  }

  .page-home .category-gallery-card {
    height: 190px !important;
    grid-template-rows: 140px 50px !important
  }

  .page-home .category-gallery-image {
    height: 140px !important
  }
}

/* Correct mobile category dropdown flow */
@media(max-width:991px) {
  .site-navbar-wrap .shop-navbar-nav .nav-item {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .site-navbar-wrap .shop-navbar-nav .nav-link-smart {
    width: 100% !important;
    min-height: 42px !important;
    height: auto !important;
    padding: 11px 8px !important;
    border-radius: 0 !important;
  }

  .site-navbar-wrap .shop-navbar-nav .dropdown-menu-rich {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 8px !important;
    padding: 5px 0 5px 12px !important;
    transform: none !important;
    border: 0 !important;
    border-left: 2px solid var(--bg) !important;
    border-radius: 0 !important;
    background: var(--bg) !important;
    box-shadow: none !important;
  }

  .site-navbar-wrap .shop-navbar-nav .dropdown-menu-rich.show {
    display: flex !important;
    flex-direction: column !important;
  }

  .site-navbar-wrap .shop-navbar-nav .dropdown-menu-rich:not(.show) {
    display: none !important
  }

  .site-navbar-wrap .shop-navbar-nav .rich-item {
    display: block !important;
    width: 100% !important;
    padding: 9px 12px !important;
    margin: 0 !important;
    border-radius: 7px !important;
    transform: none !important;
  }

  .site-navbar-wrap .shop-navbar-nav .rich-title {
    display: block !important;
    font-size: .78rem !important;
    line-height: 1.3 !important;
  }
}

/* Home product category carousel */
#latestProducts .latest-products-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
#latestProducts .section-title { margin:0; }
.latest-products-navigation { display:flex; gap:10px; }
#latestProducts .swiper-btn { position:static; transform:none; }
#latestProducts .swiper-button-disabled { opacity:.35; cursor:default; }
#latestProducts .swiper-button-lock { display:none; }
#latestProducts .latest-product-categories { display:flex; gap:30px; overflow-x:auto; padding:0; margin-bottom:26px; border-bottom:1px solid color-mix(in srgb, var(--muted) 16%, var(--white)); scrollbar-width:thin; }
#latestProducts .latest-category { position:relative; flex-shrink:0; padding:10px 0 16px; border:0; border-radius:0; background:transparent; color:var(--text-secondary); font-size:15px; font-weight:600; line-height:1.5; text-decoration:none; transition:color .2s; }
#latestProducts .latest-category::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--primary); transform:scaleX(0); transform-origin:center; transition:transform .2s; }
#latestProducts .latest-category:hover { color:var(--dark); background:transparent; }
#latestProducts .latest-category.active { color:var(--dark); background:transparent; }
#latestProducts .latest-category.active::after { transform:scaleX(1); }
.latest-category:focus-visible, #latestProducts .swiper-btn:focus-visible { outline:3px solid var(--primary); outline-offset:3px; }
.latest-products-status { font-size:14px; color:var(--text-secondary); margin:0; }
.latest-products-status:not(:empty) { margin-bottom:16px; }
#latestProducts[aria-busy="true"] .featured-swiper-wrap { opacity:.55; transition:opacity .2s; }
/* Reserve room for the card lift and shadow inside the clipped slider. */
#latestProductsSwiper { padding-top:16px; margin-top:-16px; }
#latestProducts .product-card-img { background:var(--white); }
#latestProducts .product-card { box-shadow:0 2px 8px color-mix(in srgb, var(--dark) 3.5%, transparent); border:1px solid color-mix(in srgb, var(--muted) 12%, var(--white)); }
#latestProducts .product-card:hover { box-shadow:0 4px 12px color-mix(in srgb, var(--dark) 6%, transparent); }
#latestProducts .product-card-img img { display:block; object-fit:cover; padding:0; }
.latest-products-empty { padding:64px 20px; text-align:center; background:var(--bg); border:1px dashed color-mix(in srgb, var(--muted) 23%, var(--white)); border-radius:18px; color:var(--text-secondary); }
@media(max-width:575px) {
  #latestProducts .section-title { font-size:28px; }
  #latestProducts .swiper-btn { width:36px; height:36px; }
  #latestProducts .latest-product-categories { gap:22px; margin-bottom:20px; }
  #latestProducts .latest-category { padding:8px 0 13px; font-size:13px; }
  #latestProducts .latest-products-heading { margin-bottom:18px; }
}

/* Empty cart: reusable storefront state. */
.cart-page:has(.cart-empty) { min-height:0; padding:28px 0 42px; background:var(--bg); }
.cart-empty { max-width:1040px; margin:0 auto; padding:0; }
.cart-empty-breadcrumb { display:flex; align-items:center; gap:9px; margin-bottom:22px; color:var(--text-secondary); font-size:.75rem; }
.cart-empty-breadcrumb a { color:var(--text-secondary); text-decoration:none; }
.cart-empty-breadcrumb a:hover { color:var(--primary); }
.cart-empty-breadcrumb svg { width:14px; height:14px; color:var(--muted); }
.cart-empty-breadcrumb [aria-current] { color:var(--dark); font-weight:600; }
.cart-empty-panel { position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:center; padding:32px 28px 28px; border:1px solid var(--border); border-radius:24px; background:radial-gradient(ellipse at 50% 0%,var(--primary-soft),transparent 62%),var(--white); text-align:center; box-shadow:0 12px 36px color-mix(in srgb,var(--dark) 3%,transparent); }
.cart-empty-count { position:absolute; top:22px; right:24px; padding:5px 11px; border:1px solid var(--border); border-radius:999px; color:var(--text-secondary); background:var(--white); font-size:.7rem; font-weight:600; }
.cart-empty-illustration { width:230px; max-width:65%; margin:0 0 15px; }
.cart-empty-illustration svg { display:block; width:100%; height:auto; }
.cart-empty-eyebrow { margin-bottom:11px; color:var(--primary); font-size:.65rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.cart-empty-panel h1 { margin:0 0 15px; color:var(--dark); font-size:clamp(28px,3vw,40px); font-weight:800; line-height:1.2; letter-spacing:-.04em; }
.cart-empty-panel h1 > span { color:var(--primary); }
.cart-empty-description { margin:0; max-width:500px; color:var(--text-secondary); font-size:.9rem; line-height:1.85; }
.cart-empty-actions { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; margin-top:26px; }
.cart-empty-shop,.cart-empty-back { display:inline-flex; justify-content:center; align-items:center; gap:18px; min-height:48px; padding:12px 22px; border:1px solid transparent; border-radius:10px; font-size:.85rem; font-weight:700; text-decoration:none; transition:background .18s,border-color .18s,box-shadow .18s; }
.cart-empty-shop { background:var(--primary); color:var(--on-primary); box-shadow:0 5px 14px color-mix(in srgb,var(--primary) 17%,transparent); }
.cart-empty-shop svg { width:18px; height:18px; transition:transform .18s; }
.cart-empty-shop:hover { background:var(--primary-hover); color:var(--on-primary); box-shadow:var(--shadow-primary); }
.cart-empty-shop:hover svg { transform:translateX(3px); }
.cart-empty-back { border-color:var(--border); background:var(--white); color:var(--dark); }
.cart-empty-back:hover { border-color:var(--border-strong); background:var(--bg); color:var(--dark); }
.cart-empty-note { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:20px; color:var(--text-secondary); font-size:.68rem; }
.cart-empty-note svg { width:16px; height:16px; color:var(--muted); }
.cart-empty-support { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:22px; }
.cart-empty-support-icon { display:grid; place-items:center; flex-shrink:0; width:34px; height:34px; border:1px solid var(--border); border-radius:50%; background:var(--white); color:var(--text-secondary); }
.cart-empty-support-icon svg { width:19px; height:19px; }
.cart-empty-support p { margin:0; color:var(--text-secondary); font-size:.75rem; line-height:1.8; }
.cart-empty-support a { display:inline-flex; align-items:center; gap:5px; margin-left:4px; color:var(--primary); font-weight:600; text-decoration:none; }
.cart-empty-support a:hover { text-decoration:underline; text-underline-offset:3px; }
.cart-empty-support a svg { width:14px; height:14px; }
.cart-empty a:focus-visible { outline:3px solid var(--primary); outline-offset:4px; }
@media(max-width:575.98px) {
  .cart-page:has(.cart-empty) { padding:20px 0 30px; }
  .cart-empty-breadcrumb { margin-bottom:16px; }
  .cart-empty-panel { padding:48px 20px 25px; border-radius:18px; }
  .cart-empty-count { top:16px; right:16px; font-size:.65rem; }
  .cart-empty-illustration { width:190px; margin-bottom:15px; }
  .cart-empty-eyebrow { font-size:.58rem; letter-spacing:.09em; }
  .cart-empty-panel h1 { max-width:300px; font-size:29px; }
  .cart-empty-description { font-size:.82rem; }
  .cart-empty-description br { display:none; }
  .cart-empty-actions { flex-direction:column; gap:10px; margin-top:23px; }
  .cart-empty-shop,.cart-empty-back { width:100%; }
  .cart-empty-support { align-items:flex-start; padding:0 4px; }
  .cart-empty-support p { font-size:.72rem; }
}
@media(prefers-reduced-motion:reduce) { .cart-empty-shop,.cart-empty-shop svg,.cart-empty-back { transition:none; } }

/* Inline SVG layout; artwork is supplied by the local SVG sprite. */
.app-icon{display:inline-block;width:1em;height:1em;flex-shrink:0;vertical-align:-.125em;overflow:visible}.app-icon.is-spinning{animation:app-icon-spin 1s linear infinite}.app-icon.is-pulsing{animation:app-icon-spin 1s steps(8) infinite}.icon-fixed{width:1.25em}.icon-xs{font-size:.75em}.icon-sm{font-size:.875em}.icon-lg{font-size:1.25em}@keyframes app-icon-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.app-icon.is-spinning,.app-icon.is-pulsing{animation-duration:3s}}

/* Standard fields match the About editor and inherit each installation's palette. */
.form-control {
  min-height:48px;
  padding:11px 13px;
  border:1px solid var(--field-border);
  border-radius:8px;
  background-color:var(--white);
  color:var(--dark);
  font-family:inherit;
  font-size:14px;
  font-weight:400;
  line-height:1.65;
  box-shadow:none;
  transition:border-color .15s,box-shadow .15s;
}
.form-control::placeholder { color:var(--text-secondary); opacity:1; }
.form-control:focus {
  color:var(--dark); background-color:var(--white);
  border-color:var(--primary)!important;
  box-shadow:none!important;
  outline:0;
}
textarea.form-control { min-height:100px; resize:vertical; }
.form-control-sm { min-height:36px; padding:6px 10px; font-size:12px; }
.form-control-lg { min-height:56px; padding:14px 16px; font-size:16px; }
.form-control-color { width:3rem; min-height:38px; padding:6px; }
.form-control:disabled { background-color:var(--bg); color:var(--text-secondary); opacity:1; }
.form-control.is-invalid,.was-validated .form-control:invalid { border-color:var(--danger); }
.form-control.is-valid,.was-validated .form-control:valid { border-color:var(--success); }
.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus {
  border-color:var(--danger)!important;
  box-shadow:none!important;
}
.form-control.is-valid:focus,.was-validated .form-control:valid:focus {
  border-color:var(--success)!important;
  box-shadow:none!important;
}
.form-control:is(.is-valid,.is-invalid),.was-validated .form-control:is(:valid,:invalid) { padding-right:calc(1.5em + .75rem); }
.form-label,.form-group>label { font-size:13px; font-weight:600; margin-bottom:8px; }
.form-text { display:block; margin-top:7px; font-size:11px; line-height:1.8; color:var(--text-secondary); }
@media(prefers-reduced-motion:reduce) { .form-control { transition:none; } }

.form-select {
  min-height:48px;
  padding:11px 36px 11px 13px;
  border:1px solid var(--field-border);
  border-radius:8px;
  background-color:var(--white);
  color:var(--dark);
  font-family:inherit;
  font-size:14px;
  font-weight:400;
  line-height:1.65;
}
.form-select-sm { min-height:36px; padding-top:6px; padding-bottom:6px; font-size:12px; }
.form-select-lg { min-height:56px; padding-top:14px; padding-bottom:14px; font-size:16px; }
.form-select:disabled { background-color:var(--bg); color:var(--text-secondary); }
.form-select.is-invalid,.was-validated .form-select:invalid { border-color:var(--danger); }
.form-select.is-valid,.was-validated .form-select:valid { border-color:var(--success); }
.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus { border-color:var(--danger)!important; }
.form-select.is-valid:focus,.was-validated .form-select:valid:focus { border-color:var(--success)!important; }
