:root {
  /* Brand from ACOMODE logo */
  --navy: #223f73;
  --navy-deep: #172e55;
  --navy-soft: #2f4f8a;
  --gold: #c59e49;
  --gold-bright: #d4b05a;
  --gold-deep: #a78432;
  --gold-light: #f6edd9;
  --ink: #1b2740;
  --muted: #667084;
  --line: #e4e8ef;
  --canvas: #f5f6f9;
  --surface: #fff;
  --glow-gold: rgba(197, 158, 73, .22);
  --bs-body-font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--canvas);
  --bs-body-bg-rgb: 245, 246, 249;
  --bs-primary: #223f73;
  --bs-primary-rgb: 34, 63, 115;
  --bs-link-color: #223f73;
  --bs-link-hover-color: #172e55;
  --bs-border-color: #e4e8ef;
  --bs-border-radius: .55rem;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; min-width: 280px; max-width: 100%; font-size: 15px; line-height: 1.85; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.aco-bot-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}
.aco-bot-trap input { width: 1px !important; height: 1px !important; }
.co-form, form.co-form, .ac-access-form-panel { position: relative; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a, button, input, select, textarea { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .2s ease; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
main:focus { outline: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.6; }
h1 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
h2 { font-size: clamp(1.2rem, 1.65vw, 1.55rem); }
h3 { font-size: 1.12rem; }
p { margin-bottom: 1rem; }
img, svg { max-width: 100%; }
.container-xl { max-width: 1360px; --bs-gutter-x: 3rem; }
.app-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 1; vertical-align: -.12em; }
.btn { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .65rem 1.15rem; font-weight: 600; border-radius: 7px; line-height: 1.6; }
.btn-primary { --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--navy-soft); --bs-btn-hover-border-color: var(--navy-soft); --bs-btn-active-bg: #142745; --bs-btn-active-border-color: #142745; --bs-btn-disabled-bg: #7b899e; --bs-btn-disabled-border-color: #7b899e; --bs-btn-focus-shadow-rgb: 197,158,73; }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(34, 63, 115, .22); }
.btn-outline-primary { --bs-btn-color: var(--navy); --bs-btn-border-color: #bcc7d9; --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--navy); --bs-btn-active-border-color: var(--navy); }
.btn-gold {
  color: var(--navy-deep);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  border-color: var(--gold);
  box-shadow: 0 6px 18px var(--glow-gold);
}
.btn-gold:hover {
  color: var(--navy-deep);
  background: linear-gradient(180deg, #e0c376 0%, var(--gold-bright) 100%);
  border-color: var(--gold-bright);
  box-shadow: 0 10px 26px rgba(197, 158, 73, .32);
  transform: translateY(-1px);
}
.btn-light { border-color: var(--line); background: #fff; }
.form-control, .form-select { min-height: 45px; border-color: #d8dde5; border-radius: 7px; }
.form-control::placeholder { color: #838997; }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(34,63,115,.1); }
.form-label { font-weight: 600; margin-bottom: .45rem; }
.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.form-check-input:focus { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(34,63,115,.1); }
input[type='number'], input[type='tel'] { direction: ltr; text-align: right; }
.text-navy { color: var(--navy) !important; }
.text-gold { color: #967224 !important; }
.text-muted { color: var(--muted) !important; }
.bg-soft { background: var(--canvas); }
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 7px; background: transparent; color: inherit; }
.icon-button:hover { background: rgba(34,63,115,.075); }
.skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 16px; z-index: 20000; padding: .6rem 1rem; border-radius: 5px; background: #fff; color: var(--navy); }
.skip-link:focus { inset-block-start: 12px; }
.site-header { color: var(--ink); background: #fff; border-bottom: 1px solid #eceef2; padding-bottom: 0; max-width: 100%; }
.site-header-jw { box-shadow: 0 8px 24px rgba(23,46,85,.05); }
.header-promo {
  position: relative;
  background: var(--navy);
  color: #f4f0e6;
  text-align: center;
  font-size: .8rem;
  font-weight: 500;
  min-height: 36px;
  padding: .45rem clamp(12px, 2vw, 28px);
  letter-spacing: .01em;
}
.header-promo-ship {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.header-promo-support {
  position: absolute;
  inset-inline-end: clamp(12px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  color: inherit;
}
.header-promo-support:hover { color: #fff; }
.header-promo i { color: var(--gold); font-size: .95rem; }
.header-shell {
  width: 100%;
  max-width: none;
  padding-inline: clamp(12px, 2vw, 28px);
  padding-bottom: 0;
}
.header-main {
  position: relative;
  min-height: 72px;
  display: grid;
  /* RTL: col1=right logo, col2=center categories, col3=left tools */
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1.25rem;
  padding-block: .55rem;
}
.brand {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: auto;
  max-width: 188px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
}
.brand img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 44px;
  max-width: 188px;
  object-fit: contain;
  filter: none;
}
.header-tools {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  justify-self: end;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.header-icon-link {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; min-width: 42px; padding: 8px;
  color: var(--navy); border-radius: 8px; font-weight: 600; white-space: nowrap;
}
.header-icon-link i { font-size: 1.2rem; line-height: 1; }
.header-icon-link:hover { color: var(--navy-deep); background: rgba(34,63,115,.06); }
.header-icon-label { display: none; }
.header-cart.cart-highlight { background: var(--gold-light); box-shadow: 0 0 0 1px var(--gold); }
.cart-count {
  position: absolute; top: 2px; left: 2px;
  display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center;
  padding-inline: 4px; border-radius: 20px; background: var(--gold); color: var(--navy-deep); font-size: .68rem; font-weight: 700;
}
.header-search {
  position: relative;
  width: min(220px, 28vw);
  flex: 0 1 220px;
}
.header-search input {
  display: block; width: 100%; height: 40px; padding-block: 7px; padding-inline: 40px 14px;
  border: 1px solid #e1e5ec; border-radius: 999px; background: #f7f8fa; color: var(--ink); font-size: .88rem; direction: rtl;
}
.header-search input::placeholder { color: #7a818e; }
.header-search input:focus { outline: 0; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(197,158,73,.28); }
.search-submit {
  position: absolute; inset-inline-start: 2px; top: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; color: var(--navy); background: transparent; border: 0; border-radius: 50%;
}
.search-submit:hover { background: rgba(34,63,115,.08); }
.header-catnav {
  grid-column: 2;
  grid-row: 1;
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: .15rem 1.35rem; padding: 0; border-top: 0; overflow-x: auto; scrollbar-width: none;
}
.header-catnav::-webkit-scrollbar { display: none; }
.header-catnav a {
  position: relative; color: #4d5666; font-weight: 600; font-size: .95rem;
  padding: .4rem 0 .55rem; display: inline-flex; align-items: baseline; gap: .35rem; white-space: nowrap;
}
.header-catnav a small { display: none; }
.header-catnav a::after {
  content: ''; position: absolute; inset-inline: 8%; bottom: 0; height: 2px;
  background: var(--navy);
  transform: scaleX(0); transform-origin: center; transition: transform .18s ease;
}
.header-catnav a:hover { color: var(--navy); }
.header-catnav a:hover::after { transform: scaleX(1); }
.header-catnav a.is-active {
  color: var(--navy);
  font-weight: 800;
}
.header-catnav a.is-active::after { transform: scaleX(1); }
.header-offer-strip { display: none; }
.header-offer-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem .75rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.mobile-menu-button, .mobile-navigation { display: none; }
.mobile-menu-button { color: var(--navy); }
.topbar { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; direction: ltr; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.desktop-nav { display: flex; align-items: center; gap: 25px; }
.desktop-nav a, .header-account { color: var(--navy); font-weight: 500; white-space: nowrap; }
.header-account { display: inline-flex; align-items: center; gap: 7px; }
.checkout-header { padding-bottom: 0; background: var(--navy); color: #fff; }
.checkout-header .topbar { min-height: 85px; }
.checkout-back { color: #fff; display: flex; align-items: center; gap: 9px; font-size: .95rem; }
.checkout-back .app-icon { color: var(--gold); }
.storage-alert { display: flex; gap: 10px; align-items: center; padding-block: 12px; margin-top: 14px; border-radius: 8px; color: #74591c; background: #fff5db; font-size: .9rem; }
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100%;
  background: transparent;
  color: #fff;
  padding-block: .85rem 0;
}
.home-hero-shell {
  width: 100%;
  padding-inline: clamp(14px, 3.2vw, 48px);
  box-sizing: border-box;
}
.home-hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #15233a;
  box-shadow: 0 16px 40px rgba(23, 46, 85, .14);
}
.home-hero-slides {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(560px, 62vh);
  min-height: 280px;
  line-height: 0;
  background: #15233a;
  overflow: hidden;
}
.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.home-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.home-hero-photo {
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 30%;
  vertical-align: top;
}
.home-hero-dots {
  position: absolute;
  z-index: 3;
  left: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 24px);
  display: flex; align-items: center; gap: .45rem; margin: 0;
}
.home-hero-dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.55); transition: transform .2s, background .2s, box-shadow .2s;
}
.home-hero-dot:hover { background: #fff; }
.home-hero-dot.is-active { background: var(--gold); transform: scale(1.15); box-shadow: 0 0 0 4px rgba(197,158,73,.25); }
.home-hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(18,32,58,.58) 0%, rgba(18,32,58,.2) 46%, transparent 76%),
    linear-gradient(0deg, rgba(18,32,58,.28) 0%, transparent 48%);
}
.home-hero-content {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  inset-inline-end: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: clamp(18px, 4vw, 56px);
  padding-block: 2rem;
  max-width: min(520px, 88%);
  width: 100%;
  box-sizing: border-box;
  text-align: right;
}
.home-hero-kicker {
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 0 .7rem; color: var(--gold); font-weight: 700; font-size: .92rem;
}
.home-hero-kicker i { animation: aco-icon-twinkle 2.8s ease-in-out infinite; }
.home-hero-brand { display: none; }
.home-hero h1 {
  margin: 0 0 .85rem; color: #fff; max-width: 12ch;
  font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.28; font-weight: 800;
}
.home-hero-lead { margin: 0 0 1.45rem; max-width: 28ch; color: #eef2f8; font-size: clamp(1rem, 1.7vw, 1.15rem); font-weight: 500; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.1rem; }
.home-hero-actions .btn-gold {
  min-width: 0;
  border-radius: 10px;
  padding: .85rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.home-hero-actions .btn-gold:hover { transform: translateY(-2px); }
.home-hero-secondary { display: none; }
.home-page { padding-top: 36px; padding-bottom: 48px; }
.home-categories { margin-bottom: 42px; }
.home-category-slider {
  margin-inline: -4px;
  padding-block: 6px 4px;
}
.home-category-slider::before,
.home-category-slider::after {
  width: clamp(24px, 5vw, 56px);
}
.home-category-item {
  flex: 0 0 clamp(148px, 16vw, 188px);
  min-width: 0;
}
.home-category-slider .home-slide-set { gap: 18px; padding-inline-end: 18px; }
.category-dome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  width: 100%;
  color: var(--ink);
  text-decoration: none;
  transition: transform .28s ease;
}
.category-dome:hover { color: var(--navy); transform: translateY(-6px); }
.category-dome-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.15;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  background:
    linear-gradient(#edf1f6, #edf1f6) padding-box,
    linear-gradient(180deg, rgba(197,158,73,.55), rgba(34,63,115,.18)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 12px 30px rgba(23, 46, 85, .11);
  transition: box-shadow .28s ease, transform .28s ease;
}
.category-dome:hover .category-dome-media {
  box-shadow: 0 18px 38px rgba(23, 46, 85, .17);
}
.category-dome-media .asset-image,
.category-dome-media .category-fallback {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4.15;
}
.category-dome-media .asset-image > img,
.category-dome-media .asset-image > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease;
}
.category-dome:hover .category-dome-media .asset-image > img,
.category-dome:hover .category-dome-media .asset-image > svg {
  transform: scale(1.06);
}
.category-dome-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 42px;
  max-width: 100%;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6eaf1;
  box-shadow: 0 6px 16px rgba(23, 46, 85, .07);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  white-space: nowrap;
  transition: border-color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}
.category-dome:hover .category-dome-label {
  border-color: var(--gold);
  background: var(--gold-light);
  box-shadow: 0 8px 18px rgba(197, 158, 73, .18);
}
.category-dome-label > i:first-child { color: var(--gold); font-size: 1rem; }
.category-dome-arrow { font-size: .85rem; transition: transform .22s ease; }
.category-dome:hover .category-dome-arrow { transform: translateX(-3px); }
.home-intro { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 1rem; }
.home-intro h1 { margin: 0 0 1px; }
.home-intro p { margin: 0; color: var(--muted); font-size: .99rem; }
.category-showcase { --category-gap: 14px; display: flex; flex-wrap: wrap; gap: var(--category-gap); }
.category-showcase > .category-card { flex: 1 1 calc((100% - (var(--category-columns, 3) - 1) * var(--category-gap)) / var(--category-columns, 3) - 1px); min-width: calc((100% - (var(--category-columns, 3) - 1) * var(--category-gap)) / var(--category-columns, 3) - 1px); max-width: 100%; }
.category-fallback { display: block; width: 100%; aspect-ratio: 1.7 / 1; background: #e8edf5; }
.category-card { overflow: hidden; border-radius: 0; display: block; color: #fff; background: #e8edf5; }
.category-card:hover { color: #fff; }
.category-card .asset-image { transition: transform .45s ease; }
.category-caption {
  height: 48px; display: flex; align-items: center; justify-content: center;
  padding: 6px 46px; position: relative;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  border-top: 2px solid var(--gold);
}
.category-caption strong { font-size: 1.02rem; font-weight: 600; white-space: nowrap; }
.category-caption .app-icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--gold); transition: left .2s, transform .2s; }
.category-card:hover .category-caption { background: linear-gradient(90deg, #132747, var(--navy-soft)); }
.category-card:hover .category-caption .app-icon { left: 13px; transform: translateY(-50%) translateX(-2px); }
.category-card:hover .asset-image { transform: scale(1.04); }
.asset-image { display: block; width: 100%; position: relative; overflow: hidden; background: #f4f6f9; flex: 0 0 auto; }
.asset-image > svg, .asset-image > img { display: block; width: 100%; height: 100%; }
.asset-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #9ba6b7; font-size: 1.4rem; }
.home-products { margin-top: 8px; }
.home-bestsellers { margin-top: 48px; padding-top: 28px; border-top: 1px solid #eceef2; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 800; color: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-size: .88rem; font-weight: 600; }
.text-link:hover { color: #132b53; }
.home-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px 18px; }
.product-photo-wrap { position: relative; }
.favorite-button {
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}
.favorite-button:hover {
  transform: scale(1.08);
  color: #a4485e;
  background: #fff;
  box-shadow: 0 8px 18px rgba(23, 46, 85, .12);
}
.product-color-dot { transition: transform .18s ease; }
.product-card:hover .product-color-dot { transform: scale(1.08); }
.product-color-dots {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; min-height: 14px;
}
.product-color-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid rgba(23,46,85,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
/* Collapsed: fill one complete row for the current breakpoint. */
.home-products:not(.is-expanded) [data-expand-panel] > :nth-child(n+6) { display: none; }
.home-expand-actions { display: flex; justify-content: center; margin-top: 1.1rem; }
.home-expand-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 42px; padding: .45rem 1.15rem;
  border: 1px solid #d9dee7; border-radius: 999px;
  background: #fff; color: var(--navy); font-weight: 700; font-size: .9rem;
}
.home-expand-toggle:hover {
  border-color: var(--gold);
  background: var(--gold-light);
  box-shadow: 0 6px 16px var(--glow-gold);
}
.home-expand-toggle i { font-size: .95rem; transition: transform .2s; }
.home-product-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  direction: ltr; /* marquee math is LTR; cards stay RTL */
}
.home-product-slider::before,
.home-product-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 6vw, 72px);
  z-index: 2;
  pointer-events: none;
}
.home-product-slider::before {
  left: 0;
  background: linear-gradient(90deg, #fff 8%, rgba(255,255,255,0));
}
.home-product-slider::after {
  right: 0;
  background: linear-gradient(270deg, #fff 8%, rgba(255,255,255,0));
}
.home-product-track {
  --home-loop-duration: 40s;
  --home-loop-distance: 50%;
  --home-loop-direction: normal;
  display: flex;
  align-items: stretch;
  gap: 0; /* no gap between copies — avoids empty seam at loop */
  width: max-content;
  will-change: transform;
}
.home-product-slider.is-looping .home-product-track {
  animation: home-product-loop var(--home-loop-duration) linear infinite var(--home-loop-direction);
}
.home-product-slider.is-looping.is-paused .home-product-track {
  animation-play-state: paused;
}
.home-slide-set {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex: 0 0 auto;
  padding-inline-end: 14px; /* same spacing between last of copy A and first of copy B */
}
.home-slide-item {
  flex: 0 0 clamp(168px, 18vw, 220px);
  min-width: 0;
}
.home-product-slider.is-static {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.home-product-slider.is-static .home-product-track {
  animation: none !important;
  transform: none !important;
  will-change: auto;
}
@keyframes home-product-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--home-loop-distance)), 0, 0); }
}
.product-card {
  background: #fff; border: 0; border-radius: 0; position: relative; overflow: hidden; min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease, opacity .2s;
}
.product-card:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(23, 46, 85, .1);
}
.product-card:hover .product-name { color: var(--navy); }
.product-card-jw { border: 0; box-shadow: none; }
.product-photo-link { display: block; position: relative; background: #f4f6f9; aspect-ratio: 1 / 1; overflow: hidden; }
.product-photo-link .asset-image { background: #f4f6f9; height: 100%; }
.product-card-body { padding: 12px 4px 8px; text-align: center; }
.product-name { display: block; color: var(--ink); font-size: .9rem; font-weight: 500; line-height: 1.65; min-height: 3em; }
.product-name:hover { color: var(--navy); }
.product-price { color: var(--ink); font-size: .94rem; margin-top: 4px; font-weight: 500; white-space: nowrap; }
.product-card .product-price {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 2.6em; margin-top: 6px; color: var(--navy); font-weight: 700; line-height: 1.4; white-space: normal;
}
.product-card .product-price strong { font-size: .95rem; color: var(--navy); }
.product-card .co-sale-list { font-size: .78rem; font-weight: 500; color: #8a93a1; }
.product-new-badge {
  position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 2px;
  background: var(--gold); color: var(--navy-deep); font-size: .72rem; font-weight: 700;
}
.product-detail-link { display: none; }
.favorite-button { position: absolute; top: 9px; left: 9px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.96); color: var(--navy); border: 1px solid #e4e5e8; border-radius: 50%; box-shadow: 0 1px 4px #00000005; }
.favorite-button.selected { color: #a4485e; border-color: #efd5dc; }
.stock-label { position: absolute; right: 10px; bottom: 10px; background: #fff; border-radius: 2px; color: #6d727a; padding: 2px 8px; font-size: .78rem; }
.site-footer { padding-top: 12px; }
.service-links { background: #f6f5f3; border: 1px solid #f0eeeb; border-radius: 9px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 17px 0; }
.service-links a { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--navy); font-weight: 600; }
.service-links a + a { border-inline-start: 1px solid #dcdde0; }
.service-links .app-icon { color: var(--navy); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 28px 0 24px; }
.footer-brand strong { font-size: 1.4rem; color: var(--navy); }
.footer-brand p { color: var(--muted); font-size: .78rem; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { color: #5d6675; font-size: .85rem; }
.footer-links a:hover { color: var(--navy); }
.admin-entry { display: inline-flex; align-items: center; gap: 7px; color: #69788f; font-size: .78rem; white-space: nowrap; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 16px; font-size: .73rem; color: #7c828c; }
.page-heading { margin-bottom: 25px; }
.page-heading h1 { margin-bottom: 4px; }
.page-heading p { color: var(--muted); }
.eyebrow { font-size: .72rem; color: #8b7753; letter-spacing: .08em; font-weight: 600; }
.empty-page, .empty-state { text-align: center; padding: 60px 20px; }
.empty-page { min-height: 55vh; }
.empty-page p, .empty-state p { color: var(--muted); }
.empty-illustration { width: 96px; height: 96px; background: var(--canvas); border-radius: 50%; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.aco-dialog { border: 1px solid var(--line); padding: 0; width: min(880px, calc(100% - 24px)); max-height: 90dvh; margin: auto; color: var(--ink); background: #fff; border-radius: 13px; box-shadow: 0 22px 80px rgba(10,25,50,.25); }
.aco-dialog::backdrop { background: rgba(17,31,54,.48); backdrop-filter: blur(2px); }
.dialog-inner { display: flex; flex-direction: column; max-height: 89dvh; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 22px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.dialog-header h2 { font-size: 1.1rem; margin: 0; }
.dialog-body { padding: 22px; overflow-y: auto; overscroll-behavior: contain; }
.dialog-footer { border-top: 1px solid var(--line); padding: 15px 22px; display: flex; gap: 10px; justify-content: flex-end; }
body:has(dialog[open]) { overflow: hidden; }
.toast-stack { position: fixed; left: 20px; bottom: 22px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; max-width: min(430px, calc(100vw - 32px)); pointer-events: none; }
.aco-toast { direction: rtl; pointer-events: auto; background: #fff; border: 1px solid #dce4dd; border-right: 4px solid #44876c; box-shadow: 0 8px 28px #1d36551c; border-radius: 8px; padding: 12px 13px; display: flex; align-items: center; gap: 11px; font-size: .88rem; }
.aco-toast > .app-icon { color: #44876c; }
.aco-toast-error { border-right-color: #b44f58; }
.aco-toast-error > .app-icon { color: #b44f58; }
.aco-toast-info { border-right-color: var(--navy); }
.aco-toast-info > .app-icon { color: var(--navy); }
.aco-toast .icon-button { width: 30px; height: 30px; margin-inline-start: auto; }
.toast-enter-active, .toast-leave-active { transition: opacity .2s, transform .2s; }
.toast-enter-from, .toast-leave-to { transform: translateY(10px); opacity: 0; }
@media (max-width: 1199.98px) {
  .brand { width: auto; max-width: min(168px, 34vw); height: 40px; }
  .header-catnav { gap: .15rem 1rem; }
  .header-catnav a { font-size: .88rem; }
  .home-product-grid { gap: 14px; }
  .footer-main { flex-wrap: wrap; }
  .product-card-body { padding-inline: 2px; }
  .product-name, .product-price { font-size: .87rem; }
}
@media (max-width: 991.98px) {
  .header-promo-support { display: none; }
  .header-main {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    row-gap: .55rem;
    column-gap: .75rem;
    min-height: 0;
  }
  .brand { grid-column: 1; grid-row: 1; width: auto; max-width: 148px; height: 38px; justify-self: start; }
  .header-tools { grid-column: 2; grid-row: 1; justify-self: end; gap: .35rem; }
  .header-search { width: min(160px, 36vw); flex-basis: min(160px, 36vw); }
  .header-catnav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: .2rem 1rem;
    padding: .15rem 0 .35rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 100%);
    mask-image: linear-gradient(90deg, transparent, #000 18px, #000 100%);
  }
  .header-catnav a { flex: 0 0 auto; font-size: .86rem; }
  .mobile-menu-button { display: inline-flex; }
  .mobile-menu-button:hover { background: rgba(34,63,115,.08); }
  .mobile-navigation { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 8px 0 12px; gap: 8px; }
  .mobile-navigation a {
    color: var(--navy); background: #f5f7fb; border: 1px solid #e4e8ef; border-radius: 6px;
    text-align: center; padding: 10px 8px; font-size: .85rem; font-weight: 600;
  }
  .home-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-hero-shell { padding-inline: 12px; }
  .home-hero-slides { max-height: none; min-height: 240px; aspect-ratio: 16 / 10; }
  .home-hero-content { max-width: min(480px, 92%); padding-inline: 1.1rem; }
  .home-slide-item { flex-basis: clamp(150px, 28vw, 190px); }
  .home-category-item { flex-basis: clamp(132px, 26vw, 168px); }
  .service-links a { gap: 11px; }
}
@media (max-width: 767.98px) {
  body { font-size: 14px; }
  .container-xl { --bs-gutter-x: 2rem; }
  .header-promo { font-size: .74rem; padding: .48rem .75rem; }
  .header-shell { padding-inline: .75rem; }
  .brand { width: auto; max-width: 128px; height: 34px; }
  .header-search { display: none; }
  .header-actions { gap: 2px; }
  .home-page { padding-top: 22px; }
  .home-hero { padding-block: .55rem 0; }
  .home-hero-shell { padding-inline: .75rem; }
  .home-hero-frame { border-radius: 14px; }
  .home-hero-content { padding-block: 1.2rem; }
  .home-hero h1 { max-width: 11ch; }
  .home-intro { margin-bottom: 16px; }
  .home-intro h1 { font-size: 1.38rem; }
  .home-intro p { font-size: .87rem; }
  .category-showcase > .category-card { flex-basis: calc(50% - 12px); min-width: calc(50% - 12px); }
  .category-showcase .asset-image, .category-fallback { aspect-ratio: 1.35 / 1 !important; }
  .category-caption { height: 45px; padding-inline: 28px; }
  .category-caption strong { font-size: .94rem; }
  .home-category-item { flex-basis: clamp(128px, 38vw, 156px); }
  .home-category-slider .home-slide-set { gap: 14px; padding-inline-end: 14px; }
  .home-products { margin-top: 28px; }
  .section-heading { gap: 12px; margin-bottom: 14px; }
  .section-heading h2 { font-size: 1.15rem; }
  .text-link { font-size: .77rem; gap: 4px; }
  .home-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; }
  .home-slide-item { flex-basis: clamp(140px, 42vw, 170px); }
  .home-product-grid .product-card:last-child:nth-child(odd) { grid-column: auto; display: block; }
  .home-slide-item { flex-basis: clamp(140px, 42vw, 170px); }
  .home-slide-set { gap: 10px; padding-inline-end: 10px; }
  .product-name { min-height: auto; }
  .product-card-body { padding: 10px 2px; }
  .favorite-button { width: 40px; height: 40px; }
  .service-links { padding: 12px 0; }
  .service-links a { flex-direction: column; gap: 7px; font-size: .79rem; }
  .service-links .app-icon { font-size: 23px !important; }
  .footer-main { gap: 20px; padding-top: 25px; }
  .footer-brand { flex: 1 0 auto; }
  .footer-links { order: 3; width: 100%; gap: 12px 19px; }
  .footer-bottom { flex-direction: column; gap: 3px; padding-top: 13px; }
  .checkout-header .topbar { min-height: 75px; }
  .checkout-back { font-size: .81rem; gap: 5px; }
  .dialog-header { padding: 12px 16px; }
  .dialog-body { padding: 16px; }
  .dialog-footer { padding: 12px 16px; flex-wrap: wrap; }
  .toast-stack { bottom: 88px; left: 12px; max-width: calc(100vw - 24px); }
}
@media (max-width: 399.98px) {
  .container-xl { --bs-gutter-x: 1.5rem; }
  .brand { width: auto; max-width: 122px; height: 34px; }
  .header-search input { font-size: .79rem; }
  .category-showcase { --category-gap: 8px; }
  .category-showcase > .category-card { flex-basis: calc(50% - 8px); min-width: calc(50% - 8px); }
  .category-caption strong { font-size: .87rem; }
  .category-caption .app-icon { left: 10px; font-size: 14px !important; }
  .home-intro h1 { font-size: 1.25rem; }
  .product-name, .product-price { font-size: .82rem; }
  .section-heading .text-link { max-width: 118px; text-align: left; }
  .service-links a { font-size: .72rem; }
  .checkout-back { max-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .home-product-slider.is-looping .home-product-track { animation: none !important; }
  .home-product-slider { overflow-x: auto; }
}
@media print {
  .site-header, .site-footer, .toast-stack, .skip-link, .favorite-button, .btn, button { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000 !important; }
  main { max-width: 100% !important; }
}
