@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:wght@300;400;500;600;700&display=swap');

:root {
  --brand: #1a5c45;
  --brand-dark: #0e3b2c;
  --brand-light: #2f8a62;
  --accent: #c4a15a;
  --accent-hover: #a6843c;
  --paper: #f4f7f2;
  --ink: #1c2a24;
  --muted: #5c6b63;
  --border: #d5e3d8;
  --success: #1a7f4b;
  --danger: #b42318;
  --warning: #b54708;
  --admin-rail: #1a5c45;
  --admin-header: #1a5c45;
  --grid-header: #1a5c45;
  --font: "Fira Sans Condensed", sans-serif;
  --surface: #ffffff;
  --mist: #e7f0ea;
}

*, *::before, *::after { box-sizing: border-box; }

.route-focus {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.route-focus:focus, .route-focus:focus-visible { outline: none; }
.hero-copy h1:focus, .hero-copy h1:focus-visible,
.page-hero-copy h1:focus, .page-hero-copy h1:focus-visible { outline: none; box-shadow: none; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
.tabular { font-variant-numeric: tabular-nums; }

/* ========== Storefront ========== */
.store-shell {
  min-height: 100vh;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow-x: clip;
}
.store-main { width: 100%; max-width: none; flex: 1; }

.store-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(215,224,230,.75);
  box-shadow: 0 8px 28px rgba(26,92,69,.05);
}
.store-header-top {
  background: linear-gradient(90deg, #0e3b2c 0%, #1a5c45 45%, #c4a15a 160%);
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.store-header-top-inner {
  width: 100%;
  padding: .4rem clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-promo { opacity: .95; }
.header-top-links {
  display: flex; align-items: center; gap: .55rem;
}
.header-top-links a {
  color: rgba(255,255,255,.88);
  font-weight: 700;
}
.header-top-links a:hover { color: var(--accent); }
.header-top-links .dot { opacity: .45; }

.store-header-inner {
  width: 100%;
  margin: 0;
  padding: .85rem clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.store-header .brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 52px;
  flex-shrink: 0;
  color: #1a5c45;
}
.store-header .brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1a5c45 0%, #2f8a62 58%, #c4a15a 150%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  box-shadow: 0 8px 18px rgba(26, 92, 69, .22);
  overflow: hidden;
  flex-shrink: 0;
}
.store-header .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.store-header .brand-name {
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .01em;
  color: #1a5c45;
}
.store-header .brand-tag {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2f8a62;
  margin-top: .2rem;
}
.brand-mark-glow {
  position: absolute;
  inset: -40% auto auto -30%;
  width: 70%; height: 70%;
  background: rgba(255,255,255,.28);
  border-radius: 50%;
  filter: blur(2px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .01em;
}
.brand-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-top: .15rem;
}

.store-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  flex: 1;
}
.store-nav a {
  position: relative;
  color: #3a4a55;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: .55rem .9rem;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.store-nav a::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), #c4a15a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.store-nav a:hover { color: var(--brand); background: rgba(26,92,69,.04); }
.store-nav a:hover::after,
.store-nav a.active::after { transform: scaleX(1); }
.store-nav a.active { color: var(--brand); }

.store-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
  flex-shrink: 0;
}
.search-box,
.search-mega {
  display: flex; align-items: center; gap: .45rem;
  border: 1px solid rgba(26,92,69,.14);
  border-radius: 12px;
  padding: .28rem .28rem .28rem .75rem;
  background: #fff;
  min-width: 280px;
  max-width: 420px;
  width: min(40vw, 420px);
  box-shadow: 0 6px 18px rgba(26,92,69,.06);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-mega:focus-within,
.search-box:focus-within {
  border-color: rgba(196,92,26,.55);
  box-shadow: 0 0 0 3px rgba(196,92,26,.12);
}
.search-icon { color: var(--brand-light); display: grid; place-items: center; flex-shrink: 0; }
.search-mega input,
.search-box input {
  border: 0; outline: 0; width: 100%;
  font-size: .9rem; background: transparent; color: var(--ink); font-weight: 600;
}
.search-mega input::placeholder,
.search-box input::placeholder { color: #8a9aa5; font-weight: 500; }
.search-go {
  flex-shrink: 0;
  border: 0;
  border-radius: 9px;
  padding: .55rem .95rem;
  background: linear-gradient(135deg, #6d7c62, #b8956a);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  cursor: pointer;
  letter-spacing: .02em;
}
.search-go:hover { filter: brightness(1.05); }

.store-channel-bar {
  border-top: 1px solid rgba(215,224,230,.8);
  background: #fff;
}
.store-channel-inner {
  width: 100%;
  padding: .55rem clamp(1rem, 3vw, 2.5rem);
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.channel-pill {
  flex-shrink: 0;
  padding: .4rem .75rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--brand);
  background: #f0f5f8;
  border: 1px solid transparent;
  white-space: nowrap;
}
.channel-pill:hover { border-color: rgba(26,92,69,.2); background: #e7f0ea; }
.channel-pill.channel-hot {
  background: linear-gradient(135deg, #fff3e6, #ffe0c2);
  color: #9a3d00;
}

.icon-btn {
  position: relative;
  border: 1px solid rgba(26,92,69,.12);
  background: linear-gradient(180deg, #fff, #f5f8fa);
  border-radius: 12px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--brand);
  transition: .15s ease;
}
.icon-btn:hover {
  border-color: rgba(26,92,69,.3);
  background: #fff;
  transform: translateY(-1px);
}
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: linear-gradient(135deg, var(--accent), #ff8a2a);
  color: #111;
  font-size: .65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
  box-shadow: 0 4px 10px rgba(196,92,26,.35);
}
.cart-btn:has(.cart-badge) {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #ffb020, #ff6a00 55%, #e23d12);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, .45), 0 8px 18px rgba(226, 61, 18, .4);
}
.cart-btn:has(.cart-badge):hover {
  background: linear-gradient(145deg, #ffc24a, #ff7a18 55%, #f04a16);
  border-color: transparent;
}
.cart-btn:has(.cart-badge) .cart-badge {
  background: #fff;
  color: #c2410c;
  box-shadow: 0 4px 10px rgba(26, 92, 69, .18);
}

.header-login {
  background: linear-gradient(135deg, #1a5c45, #2f8a62);
  color: #fff;
  border-radius: 12px;
  padding: .6rem 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(26,92,69,.18);
}
.header-login:hover { filter: brightness(1.06); color: #fff; }

.header-account {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .28rem .7rem .28rem .28rem;
  border-radius: 12px;
  border: 1px solid rgba(26,92,69,.12);
  background: linear-gradient(180deg, #fff, #f5f8fa);
  color: var(--brand);
  font-weight: 700;
  font-size: .85rem;
  max-width: 180px;
}
.header-account:hover { border-color: rgba(26,92,69,.3); }
.account-avatar {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #1a5c45, #c4a15a);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.account-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(26,92,69,.12);
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.header-menu-btn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 8px; padding: .55rem 1rem; font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: .15s ease;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #111; }
.btn-accent:hover:not(:disabled) { background: var(--accent-hover); }
.btn-outline { background: #fff; border: 1px solid var(--border); color: var(--ink); }
.btn-outline:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: .35rem .7rem; font-size: .8125rem; }
.btn-block { width: 100%; }

.store-footer {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-top: 3rem;
  padding: 3.1rem 0 2.6rem;
  color: #f7faf8;
  text-align: center;
  background:
    url('/images/products/16.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
}
.store-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 14, .88) 0%, rgba(8, 24, 18, .92) 48%, rgba(5, 16, 12, .95) 100%),
    linear-gradient(135deg, rgba(14, 59, 44, .62) 0%, rgba(28, 42, 40, .42) 55%, rgba(12, 24, 20, .58) 100%);
}
.store-footer-inner {
  position: relative;
  z-index: 1;
  width: min(42rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.7rem 1.55rem 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .78rem;
  text-align: center;
  border-radius: 1.35rem;
  background: rgba(6, 18, 14, .88);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 40px rgba(4, 12, 10, .4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.store-footer strong,
.store-footer-brand {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: .05em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.store-footer-tagline {
  max-width: 28rem;
  margin: 0;
  font-size: .98rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(247, 250, 248, .92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.store-footer-contact {
  display: flex;
  flex-direction: column;
  gap: .32rem;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.store-footer-links {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: .2rem;
}
.store-footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: .4rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.store-footer-links a:hover {
  background: #c4a15a;
  border-color: #c4a15a;
  color: #1c2a24;
}
.store-footer-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .85rem;
  flex-wrap: wrap;
  margin: .45rem 0 .1rem;
}
.footer-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  min-width: 9.5rem;
  padding: .72rem 1.35rem .68rem;
  border-radius: 1.15rem;
  background: #fff;
  color: #1c2a28;
  box-shadow: 0 12px 28px rgba(12, 22, 20, .28);
  text-align: center;
}
.footer-badge-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6d7c62;
  line-height: 1;
}
.footer-badge-num {
  margin-top: .08rem;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: #1c2a28;
}
.footer-badge-online {
  background: #16332c;
  color: #fff;
}
.footer-badge-online .footer-badge-kicker { color: #b7e3cf; }
.footer-badge-online .footer-badge-num { color: #fff; }
.footer-badge-live {
  width: .78rem;
  height: .78rem;
  border-radius: 50%;
  background: #3dcb8a;
  box-shadow: 0 0 0 0 rgba(61, 203, 138, .65);
  animation: footer-live 1.6s ease-out infinite;
  flex: none;
  margin-bottom: .28rem;
}
@keyframes footer-live {
  70% { box-shadow: 0 0 0 .55rem rgba(61, 203, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 203, 138, 0); }
}
.store-footer a { color: #fff; font-weight: 700; }
.store-footer-contact a {
  color: #ffe6a8;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 230, 168, .55);
}
.store-footer-contact a:hover { color: #fff; border-bottom-color: #fff; }
.store-footer-copy {
  margin: .2rem 0 0;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(247, 250, 248, .86);
}

/* ===== Cinematic hero slider ===== */
.hero-slider {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: 0;
  min-height: min(78vh, 680px);
  overflow: hidden;
  color: #fff;
  background: var(--brand-dark);
}
.hero-slide {
  position: absolute; inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-visual {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 5.5s ease-out;
}
.hero-slide.is-active .hero-photo {
  transform: none;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,40,54,.88) 0%, rgba(6,40,54,.55) 42%, rgba(6,40,54,.2) 100%),
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 100%);
}
.hero-slider-tech .hero-shade {
  background: linear-gradient(180deg, rgba(14,59,44,0) 0%, rgba(14,59,44,0) 52%, rgba(14,59,44,.88) 100%);
}
.hero-slider-tech {
  color: #f7f4ee;
  background: #0e3b2c;
}
.hero-slider-tech .hero-copy {
  justify-content: flex-end;
  width: min(100%, 520px);
  padding-bottom: 4.4rem;
}
.hero-slider-tech .hero-copy h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.hero-slider-tech .brand-hero { color: #f3e6c4; }
.hero-slider-tech .hero-kicker { color: #f3e6c4; }
.hero-slider-tech .btn-ghost {
  color: #f7f4ee;
  border-color: rgba(247,244,238,.45);
  background: transparent;
}
.hero-slider-tech .btn-ghost:hover:not(:disabled) {
  background: rgba(255,255,255,.12);
  border-color: #f7f4ee;
}
.hero-slider-tech .hero-nav {
  color: #f7f4ee;
  border-color: rgba(247,244,238,.35);
  background: rgba(14,59,44,.35);
}
.hero-slider-tech .hero-nav:hover { background: rgba(14,59,44,.55); }
.hero-slider-tech .hero-dot { background: rgba(247,244,238,.35); }
.hero-kicker {
  margin: 0 0 .4rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-light);
  opacity: .9;
  animation: slideIn .7s .04s ease both;
}
.hero-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  width: min(100%, 720px);
  min-height: inherit;
  height: 100%;
}
.hero-copy .brand-hero {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
  animation: slideIn .7s ease both;
}
.hero-slide.is-active .brand-hero { animation-name: slideIn; }
.hero-copy h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 .9rem;
  font-weight: 700;
  letter-spacing: -.02em;
  max-width: min(16ch, 100%);
  animation: slideIn .75s .08s ease both;
}
.hero-copy p {
  margin: 0 0 1.6rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .9;
  max-width: min(48ch, 100%);
  font-weight: 400;
  animation: slideIn .75s .14s ease both;
}
.hero-cta {
  display: flex; gap: .7rem; flex-wrap: wrap;
  animation: slideIn .75s .2s ease both;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.hero-controls {
  position: absolute; z-index: 5;
  left: clamp(1rem, 3vw, 2.5rem);
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 1.4rem;
  display: flex; align-items: center; gap: .75rem;
}
.hero-nav {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center;
  transition: .15s ease;
}
.hero-nav:hover { background: rgba(255,255,255,.18); }
.hero-dots { display: flex; gap: .35rem; align-items: center; flex: 1; min-width: 0; }
.hero-dot {
  width: 28px; height: 3px; padding: 0; border: 0; border-radius: 2px; flex: 0 0 auto;
  background: rgba(255,255,255,.28); cursor: pointer; overflow: hidden; position: relative;
}
.hero-dot-fill {
  display: block; height: 100%; width: 0; background: var(--accent);
}
.hero-dot.is-active .hero-dot-fill {
  animation: progressFill linear forwards;
}

@media (max-width: 900px) {
  .hero-slider { min-height: min(78vh, 640px); }
  .hero-copy {
    width: 100%;
    padding-bottom: 4.5rem;
    justify-content: flex-end;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6,40,54,.25) 0%, rgba(6,40,54,.82) 70%),
      linear-gradient(90deg, rgba(6,40,54,.55), transparent 80%);
  }
  .hero-slider-tech .hero-shade {
    background:
      linear-gradient(180deg, rgba(14,59,44,.25) 0%, rgba(14,59,44,.92) 62%);
  }
  .hero-copy h1 { max-width: none; }
}

/* Promise strip */
.strip-promise {
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.strip-promise-inner {
  width: 100%;
  margin: 0;
  padding: .95rem clamp(1rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.promise {
  display: flex; align-items: center; gap: .65rem;
  font-weight: 600; color: var(--brand); font-size: .95rem;
}
.promise span {
  font-size: .72rem; letter-spacing: .08em; color: var(--accent-hover);
  font-weight: 700;
}
@media (max-width: 700px) {
  .strip-promise-inner { grid-template-columns: 1fr; }
}

.section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2.75rem clamp(1rem, 3vw, 2.5rem);
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2rem); color: var(--brand); letter-spacing: -.01em; }
.section-head p { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.eyebrow {
  margin: 0 0 .35rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-light);
}
.eyebrow.light { color: var(--accent); }

/* Spotlight horizontal rail */
.spotlight-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, calc((100% - 3.3rem) / 4));
  gap: 1.1rem;
  overflow-x: auto;
  width: 100%;
  padding: .25rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 1100px) {
  .spotlight-rail { grid-auto-columns: minmax(240px, 280px); }
}
.spotlight-rail::-webkit-scrollbar { height: 6px; }
.spotlight-rail::-webkit-scrollbar-thumb { background: #b7c6d0; border-radius: 4px; }
.spotlight-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 420px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26,92,69,.1);
}
.spotlight-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: #fff;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
}
.spotlight-media img {
  width: 100%; height: 100%; object-fit: contain;
  background: #fff;
}
.spotlight-card:hover .spotlight-media img { transform: none; }
.spotlight-tag {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--accent); color: #1a1a1a;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .25rem .45rem; border-radius: 4px;
}
.spotlight-body {
  padding: .95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.spotlight-meta { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.spotlight-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spotlight-body .price { font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.spotlight-body .price s { color: var(--muted); font-weight: 500; font-size: .85rem; margin-left: .35rem; }
.spotlight-body .btn { margin-top: auto; width: 100%; }

/* Category rooms */
.room-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.room-tile {
  position: relative; overflow: hidden;
  min-height: 190px;
  border-radius: 16px;
  display: block;
  color: #fff;
  transition: transform .25s ease;
  background: #1a5c45;
}
.room-tile:hover { transform: translateY(-3px); }
.room-1 { grid-row: span 2; min-height: 400px; }
.room-2, .room-3, .room-4 { min-height: 190px; }
.room-art {
  position: absolute; inset: 0;
  z-index: 0;
}
.room-art img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.room-tile:hover .room-art img { transform: scale(1.05); }
.room-copy {
  position: relative; z-index: 1;
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex; flex-direction: column; justify-content: end;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.62) 100%);
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  min-height: inherit;
}
.room-copy h3 { margin: 0 0 .35rem; font-size: 1.35rem; }
.room-copy p { margin: 0; opacity: .85; font-size: .9rem; }
.room-link { margin-top: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
@media (max-width: 800px) {
  .room-grid { grid-template-columns: 1fr; }
  .room-1 { grid-row: auto; min-height: 260px; }
  .room-tile { min-height: 170px; }
}

/* Closing moment band */
.moment-band {
  width: 100%;
  margin: 1rem 0 0;
  background:
    linear-gradient(115deg, rgba(18,28,26,.55), rgba(28,42,40,.28)),
    url('/images/products/8.jpg') center/cover;
  color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.moment-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  text-align: center;
}
.moment-inner h2 {
  margin: .35rem 0 .75rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -.02em;
}
.moment-inner p { margin: 0 auto 1.4rem; max-width: 54ch; opacity: .9; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .75rem;
}
.product-card-media {
  position: relative;
  aspect-ratio: 1; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  display: block;
  flex-shrink: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card-media > a,
.pc-photo { display: block; width: 100%; height: 100%; color: inherit; }
.pc-photo {
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}
.wish-btn {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  z-index: 3;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1a5c45;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(26, 92, 69, .18);
}
.share-wrap {
  position: absolute;
  right: 3.05rem;
  bottom: .55rem;
  z-index: 4;
}
.share-btn {
  position: static;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1a5c45;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(26, 92, 69, .18);
  padding: 0;
  font: inherit;
  transition: transform .2s ease;
}
.share-btn:hover { transform: scale(1.08); }
.share-btn.ok { color: #166534; }
.share-btn:disabled { opacity: .7; cursor: wait; }
.share-btn-label {
  width: auto;
  height: auto;
  min-height: 2.4rem;
  padding: .45rem .85rem;
  border-radius: .45rem;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  box-shadow: none;
}
.share-toast {
  position: absolute;
  right: 0;
  bottom: calc(100% + .35rem);
  white-space: nowrap;
  padding: .35rem .55rem;
  border-radius: .4rem;
  background: #1a5c45;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(26, 92, 69, .22);
  animation: share-toast-in .2s ease both;
}
@keyframes share-toast-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.detail-buy .share-wrap { position: relative; right: auto; bottom: auto; }
.wish-btn.is-on,
.wish-save.is-on {
  background: linear-gradient(145deg, #ff5a7a, #e11d48);
  color: #fff;
  border-color: transparent;
}
.pc-shot { width: 100%; height: 100%; }
.pc-shot.slide-left { animation: card-slide-left .38s cubic-bezier(.2, .7, .2, 1) both; }
.pc-shot.slide-right { animation: card-slide-right .38s cubic-bezier(.2, .7, .2, 1) both; }
.card-nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 2rem; height: 2rem; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: #1a5c45; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(26, 92, 69, .16);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.product-card:hover .card-nav,
.product-card:focus-within .card-nav { opacity: 1; pointer-events: auto; }
.card-nav.prev { left: .55rem; }
.card-nav.next { right: .55rem; }
.card-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.card-dots {
  position: absolute; left: 50%; bottom: .55rem; z-index: 3; transform: translateX(-50%);
  display: flex; gap: .28rem; padding: .2rem .35rem; border-radius: 999px;
  background: rgba(26, 92, 69, .28); opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.product-card:hover .card-dots,
.product-card:focus-within .card-dots { opacity: 1; }
.card-dots span {
  width: .38rem; height: .38rem; border-radius: 50%; background: rgba(255, 255, 255, .55);
}
.card-dots span.on { background: #fff; transform: scale(1.15); }
@keyframes card-slide-left {
  from { opacity: .35; transform: translateX(18%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes card-slide-right {
  from { opacity: .35; transform: translateX(-18%); }
  to { opacity: 1; transform: translateX(0); }
}
@media (hover: none), (max-width: 900px) {
  .card-nav, .card-dots { opacity: 1; pointer-events: auto; }
}
.wish-nav:has(.cart-badge) {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #ff8aa2, #e11d48);
  box-shadow: 0 0 0 3px rgba(255, 90, 122, .35), 0 8px 18px rgba(225, 29, 72, .35);
}
.pc-badge {
  position: absolute;
  z-index: 2;
  font-size: .68rem;
  font-weight: 800;
  padding: .28rem .45rem;
  border-radius: 6px;
  letter-spacing: .02em;
}
.pc-sale {
  top: .65rem; left: .65rem;
  background: linear-gradient(135deg, #e11d48, #fb7185);
  color: #fff;
}
.pc-choice {
  top: .65rem; right: .65rem;
  background: linear-gradient(135deg, #1a5c45, #2f8a62);
  color: #fff;
}
.price-now { color: #c2410c; font-size: 1.12rem; }
.pc-extra {
  display: flex; justify-content: space-between; gap: .5rem;
  font-size: .75rem; font-weight: 700;
}
.pc-sold { color: var(--muted); }
.pc-stock { color: var(--success); }
.pc-stock.low { color: var(--warning); }
.eyebrow.hot { color: #c2410c; }

.promo-coupons {
  width: 100%;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
}
.promo-coupons-inner {
  width: 100%;
  padding: .85rem clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.promo-coupon {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed #fb923c;
  color: var(--ink);
}
.promo-coupon strong { color: #c2410c; font-size: 1.05rem; }
.promo-coupon span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.promo-coupon span b { color: var(--brand); }
.promo-coupon.accent {
  background: linear-gradient(135deg, #1a5c45, #2f8a62);
  border-style: solid;
  border-color: transparent;
  color: #fff;
}
.promo-coupon.accent strong,
.promo-coupon.accent span { color: #fff; }
.promo-coupon.accent span b { color: var(--accent); }

.trust-strip {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.trust-strip-inner {
  width: 100%;
  padding: .85rem clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
.trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .88rem; font-weight: 700; color: var(--brand);
}
.trust-item span {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 6px;
  background: #ecfdf3; color: var(--success); font-size: .75rem;
}
@media (max-width: 900px) {
  .promo-coupons-inner,
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .promo-coupons-inner,
  .trust-strip-inner { grid-template-columns: 1fr; }
}
.product-card:hover .product-card-media {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26,92,69,.1);
}
.product-card-media img {
  width: 100%; height: 100%; object-fit: contain;
  background: #fff;
}
.product-card:hover .product-card-media img { transform: none; }
.product-card-body {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1 1 auto;
  min-height: 5.75rem;
}
.product-card-title { display: block; }
.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-spec {
  font-size: .78rem;
  font-weight: 700;
  color: #0c6b5c;
  min-height: 1.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-kicker {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6d7c84;
  margin-bottom: .45rem;
}
.detail-sizes, .detail-features { margin: 0 0 1rem; }
.size-picks { display: flex; flex-wrap: wrap; gap: .4rem; }
.size-picks button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: .32rem .75rem;
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  color: #1a5c45;
}
.size-picks button.is-on {
  border-color: var(--brand);
  background: #1a5c45;
  color: #fff;
}
.detail-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.detail-features li {
  margin: 0;
  font-size: .82rem;
  font-weight: 700;
  color: #0c6b5c;
  background: #e7f4ef;
  border-radius: 999px;
  padding: .32rem .72rem;
}
.product-card-meta {
  font-size: .8rem;
  color: var(--muted);
  min-height: 1.2em;
}
.product-card .price { font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.product-card .price s { color: var(--muted); font-weight: 500; font-size: .85rem; margin-left: .35rem; }
.product-card-actions {
  margin-top: auto;
  display: grid;
  gap: .4rem;
}
.product-card-actions .btn { width: 100%; }
.category-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.category-tile {
  border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem;
  background: linear-gradient(160deg, #fff, #f0f5f8); transition: .15s ease;
}
.category-tile:hover { border-color: var(--brand-light); transform: translateY(-2px); }
.category-tile h3 { margin: .5rem 0 .25rem; font-size: 1.1rem; }
.category-tile p { margin: 0; color: var(--muted); font-size: .85rem; }

.detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.gallery-main {
  aspect-ratio: 1; border: 1px solid var(--border); border-radius: 14px;
  background: #fff; overflow: hidden; padding: 0;
}
.gallery-open {
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: #fff; cursor: zoom-in;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: contain; background: #fff;
}
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 72px; height: 72px; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 0; cursor: pointer; overflow: hidden;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-thumbs button.active { border-color: var(--brand); }
.detail-buy {
  background: #fff;
  border: 1px solid #e6dfd6;
  border-radius: 22px;
  padding: 1.45rem 1.5rem 1.3rem;
  box-shadow: 0 18px 44px rgba(20, 32, 40, .07);
}
.detail-buy,
.detail-buy button,
.detail-buy input {
  font-weight: 700;
}
.detail-cat {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a07d52;
}
.detail-buy h1 {
  margin: 0 0 .55rem;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.08;
  font-weight: 700;
  color: #1a5c45;
}
.detail-price {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin-bottom: .85rem;
}
.detail-now {
  font-size: 1.85rem;
  font-weight: 700;
  color: #c2410c;
  letter-spacing: -.03em;
}
.detail-price s {
  font-size: 1rem;
  font-weight: 700;
  color: #8b98a1;
}
.detail-copy {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: #2a3c46;
}
.detail-stock { margin: 0 0 1rem; }
.stock-ok { color: #0c6b5c; font-weight: 700; font-size: .95rem; }
.stock-out { color: var(--danger); font-weight: 700; font-size: .95rem; }
.qty-row { display: flex; align-items: center; gap: .5rem; }
.qty-row button {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 1.1rem; font-weight: 700; font-family: inherit;
}
.qty-row input {
  width: 56px; text-align: center; border: 1px solid var(--border); border-radius: 8px; height: 36px; font-weight: 700;
}
.qty-stepper {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}
.qty-label {
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .92rem;
  color: var(--ink);
}
.qty-control {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--brand);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty-control button {
  width: 2.75rem;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.qty-control button:hover { background: var(--brand-dark); }
.qty-control input {
  width: 3.6rem;
  border: 0;
  text-align: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: #fff;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control input { -moz-appearance: textfield; appearance: textfield; }
.qty-amount {
  font-weight: 700;
  font-size: 1.25rem;
  color: #c2410c;
  letter-spacing: -.02em;
}

/* Cart drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 50;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: #f6f3ee; z-index: 51; box-shadow: -12px 0 40px rgba(16, 28, 32, .18);
  display: flex; flex-direction: column;
}
.cart-drawer header, .cart-drawer footer { padding: 1rem 1.15rem; background: #fff; }
.cart-drawer header { border-bottom: 1px solid #e6dfd6; }
.cart-drawer footer { border-top: 1px solid #e6dfd6; margin-top: auto; }
.cart-drawer header strong { font-size: 1.15rem; color: #1a5c45; }
.cart-drawer .body { padding: .85rem 1rem 1rem; overflow: auto; flex: 1; }
.bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr);
  gap: 1.15rem;
  align-items: start;
}
.bag-list { display: flex; flex-direction: column; gap: .75rem; }
.bag-line {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid #e6dfd6;
  border-radius: 18px;
  padding: .85rem;
  box-shadow: 0 12px 30px rgba(20, 32, 40, .05);
}
.bag-photo {
  display: block;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}
.bag-photo img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid #e6dfd6;
  background: #f4f7fa;
}
.bag-main { display: flex; flex-direction: column; align-items: flex-start; gap: .28rem; min-width: 0; }
.bag-name {
  font-weight: 700;
  font-size: 1.08rem;
  color: #1a5c45;
  line-height: 1.2;
}
.bag-size {
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a07d52;
}
.bag-unit { font-weight: 700; font-size: .9rem; color: #5f6f7a; }
.bag-side { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.bag-total { font-weight: 700; font-size: 1.2rem; color: #c2410c; }
.bag-remove {
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 10px;
  background: #fdecec;
  color: #b42318;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.bag-remove:hover { background: #b42318; color: #fff; }
.bag-qty { height: 2.15rem; }
.bag-qty button { width: 2.15rem; font-size: 1.15rem; }
.qty-control .qty-num {
  min-width: 2.3rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: #142028;
}
.bag-summary {
  position: sticky;
  top: 1rem;
  background: #fff;
  border: 1px solid #e6dfd6;
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 12px 30px rgba(20, 32, 40, .05);
}
.bag-summary h2 { margin: 0 0 .85rem; font-size: 1.2rem; color: #1a5c45; font-weight: 700; }
.bag-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .45rem;
  font-weight: 700;
}
.bag-row span { color: #5f6f7a; font-size: .92rem; }
.bag-row strong { color: #142028; }
.bag-grand {
  margin-top: .55rem;
  padding-top: .7rem;
  border-top: 1px solid #e6dfd6;
}
.bag-grand strong { color: #c2410c; font-size: 1.35rem; }
.bag-summary .btn, .cart-drawer footer .btn { width: 100%; border-radius: 999px; font-weight: 700; min-height: 2.7rem; }
.cart-drawer .bag-list { gap: 0; }
.cart-drawer .bag-line {
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid #e6dfd6;
  border-radius: 0;
  padding: .8rem .15rem;
  background: transparent;
  grid-template-columns: 76px minmax(0, 1fr) auto;
}
.cart-drawer .bag-photo img { width: 76px; height: 76px; border-radius: 12px; }
.cart-drawer .bag-name { font-size: .98rem; }
.cart-drawer .bag-total { font-size: 1rem; }
@media (max-width: 860px) {
  .bag-layout { grid-template-columns: 1fr; }
  .bag-summary { position: static; }
}
.add-row { display: flex; gap: .85rem; align-items: center; flex-wrap: wrap; }
.add-row .btn { font-weight: 700; min-height: 2.7rem; padding: .6rem 1.15rem; border-radius: 999px; }
.add-photo { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.cart-added {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.cart-added img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.size-stock-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .55rem; }
.image-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.image-strip figure { margin: 0; display: grid; gap: .25rem; justify-items: start; }
.image-strip img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line, var(--border)); }
.image-strip .image-open {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

/* Forms */
.form-grid { display: grid; gap: .85rem; }
.product-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem .7rem;
  align-items: end;
}
.product-form .pf-name { grid-column: span 2; }
.product-form .pf-figures,
.product-form .pf-split { display: contents; }
.product-form .pf-sizes,
.product-form .pf-split > div { grid-column: span 2; }
.product-form .pf-check .pf-box {
  min-height: 1.65rem;
  display: flex;
  align-items: center;
  padding: 0 .45rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: #fff;
}
.product-form .pf-hint,
.product-form .pf-images,
.product-form .pf-wide { grid-column: 1 / -1; }
.product-form .pf-hint { margin: 0; }
@media (max-width: 800px) {
  .product-form { grid-template-columns: 1fr 1fr; }
  .product-form .pf-name,
  .product-form .pf-sizes,
  .product-form .pf-split > div,
  .product-form .pf-hint,
  .product-form .pf-images,
  .product-form .pf-wide { grid-column: 1 / -1; }
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-label { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .25rem; }
.form-control {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: .5rem .7rem;
  font-size: .875rem; background: #fff;
}
.form-control:focus { outline: 2px solid rgba(11,61,92,.25); border-color: var(--brand); }
.alert { padding: .75rem 1rem; border-radius: 8px; font-size: .9rem; margin-bottom: 1rem; }
.alert-error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.alert-success { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }
.alert-info { background: #eff8ff; color: var(--brand); border: 1px solid #b2ddff; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.loading {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 6rem;
}
.loading::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  border: 2.5px solid rgba(14, 143, 120, .22);
  border-top-color: #0e8f78;
  border-radius: 50%;
  animation: shop-spin .75s linear infinite;
}
.work-pulse {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}
.work-pulse > span {
  position: absolute;
  inset: 0;
  border: 2px solid #0e8f78;
  border-radius: 50%;
  animation: shop-work-pulse 1.45s cubic-bezier(0, .2, .8, 1) infinite;
}
.work-pulse > span:nth-child(2) {
  border-color: #b8956a;
  animation-delay: -.48s;
}
@keyframes shop-spin {
  to { transform: rotate(360deg); }
}
@keyframes shop-work-pulse {
  0% { transform: scale(.15); opacity: 0; }
  5% { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
.btn.is-working,
.btn:disabled.is-working {
  position: relative;
  padding-inline-start: 1.55rem;
}
.btn.is-working::before {
  content: "";
  position: absolute;
  left: .45rem;
  top: 50%;
  width: .72rem;
  height: .72rem;
  margin-top: -.36rem;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: shop-spin .7s linear infinite;
}
.btn-download.is-working::before,
.btn-import.is-working::before,
.btn-edit.is-working::before,
.btn-refresh.is-working::before,
.btn-clear.is-working::before,
.btn-cancel.is-working::before {
  border-color: rgba(16, 36, 63, .2);
  border-top-color: currentColor;
}
.page-working {
  position: relative;
  pointer-events: none;
}
.page-working::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(243, 246, 245, .55);
  backdrop-filter: blur(1px);
}
.admin-shell .loading::before {
  border-color: rgba(14, 143, 120, .2);
  border-top-color: var(--teal, #0e8f78);
}

.checkout-page,
.checkout-page button,
.checkout-page input,
.checkout-page label,
.checkout-page h2,
.checkout-page h3,
.checkout-page p,
.checkout-page span,
.checkout-page strong {
  font-weight: 700;
}
.checkout-hero {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid #e6dfd6;
  border-radius: 20px;
  overflow: hidden;
}
.checkout-hero img { width: 100%; height: 150px; object-fit: cover; }
.checkout-hero h2 { margin: .15rem 0 .3rem; color: #1a5c45; font-size: 1.8rem; }
.checkout-hero p { margin: 0; color: #2a3c46; max-width: 46ch; }
.checkout-hero > div { padding: .2rem 1.1rem .2rem 0; }
.checkout-steps { display: flex; gap: .5rem; margin-bottom: 1.15rem; flex-wrap: wrap; }
.checkout-steps span {
  padding: .4rem .85rem; border-radius: 999px; background: #fff; border: 1px solid #e6dfd6; font-size: .82rem; font-weight: 700; color: #5f6f7a;
}
.checkout-steps span.active { background: #1a5c45; color: #fff; border-color: #1a5c45; }
.checkout-steps span.done { background: #e7f4ef; color: #0c6b5c; border-color: #cfe6dc; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 1.15rem;
  align-items: start;
}
.checkout-panel,
.checkout-summary {
  background: #fff;
  border: 1px solid #e6dfd6;
  border-radius: 20px;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 12px 30px rgba(20, 32, 40, .05);
}
.checkout-panel { max-width: none; }
.checkout-panel h3,
.checkout-summary h3 {
  margin: 0 0 1rem;
  color: #1a5c45;
  font-size: 1.2rem;
  font-weight: 700;
}
.checkout-step-photo,
.checkout-done-photo {
  width: calc(100% + 2.4rem);
  max-width: none;
  height: 160px;
  object-fit: cover;
  margin: -1.15rem -1.2rem 1rem;
  border-radius: 20px 20px 0 0;
}
.checkout-done { text-align: center; max-width: 720px; margin: 0 auto; }
.checkout-done-photo { height: 220px; }
.checkout-pay-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin: .15rem 0 .35rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: #fbfaf7;
  border: 1px solid #e6dfd6;
  color: #1a5c45;
  font-weight: 700;
}
.checkout-pay-box strong { font-size: 1.2rem; color: #c2410c; }
.checkout-pay-lock {
  display: grid;
  gap: .55rem;
  margin-top: .35rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #f3d7b0;
  color: #1a5c45;
  font-weight: 700;
}
.checkout-pay-lock p { margin: 0; color: #3d4f59; line-height: 1.45; }
.checkout-pay-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .35rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: #1a5c45;
  color: #fff;
}
.checkout-pay-total span { font-size: 1rem; }
.checkout-pay-total strong { font-size: 1.7rem; color: #f3d7b0; }
.checkout-account-bar {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: #eff8ff;
  border: 1px solid #b2ddff;
  font-size: .9rem;
  font-weight: 600;
}
.checkout-account-bar a { color: var(--brand); font-weight: 700; text-decoration: underline; }
.checkout-account-bar .muted { color: var(--muted); font-weight: 500; }
.checkout-register-box {
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(26,92,69,.25);
  background: #f7fafc;
}
.checkout-check {
  display: flex; align-items: center; gap: .55rem;
  font-size: .9rem; font-weight: 600;
  cursor: pointer;
}
.ship-picks { display: grid; gap: .35rem; margin: .65rem 0; }
.ship-picks label { display: flex; align-items: center; gap: .45rem; font-size: .9rem; }
.ship-picks strong { margin-left: auto; }
.coupon-row { margin: .75rem 0 .35rem; }
.coupon-apply { display: flex; gap: .4rem; align-items: center; }
.coupon-apply .form-control { flex: 1; }
.checkout-hint {
  margin: .45rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}
.checkout-page .form-label { font-weight: 700; color: #5f6f7a; letter-spacing: .08em; }
.checkout-page .form-control {
  font-weight: 700;
  min-height: 2.65rem;
  border-radius: 12px;
  background: #fbfaf7;
  border-color: #e6dfd6;
}
.checkout-page .btn { border-radius: 999px; font-weight: 700; min-height: 2.65rem; }
.checkout-summary { position: sticky; top: 6.5rem; }
.checkout-sum-line {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px solid #efe8df;
  font-size: .9rem;
  font-weight: 700;
  color: #2a3c46;
}
.checkout-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e6dfd6;
  flex: none;
}
.checkout-item span { flex: 1; }
.checkout-sum-line.is-sub {
  margin-top: .55rem;
  padding: .8rem .85rem;
  border: 0;
  border-radius: 14px;
  background: #eef5f3;
  color: #1a5c45;
  font-size: 1.05rem;
}
.checkout-sum-line.is-sub strong { font-size: 1.35rem; }
.checkout-sum-line.total {
  margin-top: .55rem;
  padding: .9rem 1rem;
  border: 0;
  border-radius: 16px;
  background: #1a5c45;
  color: #fff;
  font-size: 1.05rem;
}
.checkout-sum-line.total strong {
  font-size: 1.7rem;
  color: #f3d7b0;
  letter-spacing: -.03em;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .checkout-hero { grid-template-columns: 1fr; }
  .checkout-hero > div { padding: 0 1rem 1rem; }
}

.auth-panel {
  width: min(440px, calc(100% - 2rem));
  margin: 2.5rem auto; padding: 1.75rem;
  border: 1px solid var(--border); border-radius: 14px; background: #fff;
}
.auth-panel h1 { margin: 0 0 .35rem; font-size: 1.6rem; color: var(--brand); }
.auth-stage {
  width: min(980px, calc(100% - 2rem));
  margin: 1.5rem auto 2.5rem;
}
.auth-stage-full {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 2.5rem 1rem;
  background:
    linear-gradient(115deg, rgba(10, 28, 32, .55), rgba(184, 149, 106, .18)),
    url('/images/products/8.jpg') center/cover;
}
.auth-card {
  display: grid;
  grid-template-columns: minmax(240px, .86fr) 1.14fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 28px 70px rgba(16, 28, 32, .18);
}
.auth-aside {
  position: relative;
  min-height: 100%;
  padding: 2rem 1.7rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(10, 28, 32, .15) 10%, rgba(10, 28, 32, .72) 100%),
    url('/images/products/7.jpg') center/cover;
}
.auth-stage-admin .auth-aside {
  background:
    linear-gradient(180deg, rgba(10, 28, 32, .2) 0%, rgba(10, 28, 32, .78) 100%),
    url('/images/products/16.jpg') center/cover;
}
.auth-mark {
  position: absolute;
  top: 1.35rem;
  left: 1.5rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .02em;
}
.auth-aside h1 {
  margin: .35rem 0 .45rem;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.auth-aside p { margin: 0; max-width: 28ch; color: rgba(255, 255, 255, .9); }
.auth-body { padding: 1.85rem 1.7rem 1.5rem; }
.auth-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-hover);
}
.auth-body h2 {
  margin: .25rem 0 .35rem;
  font-size: 1.45rem;
  color: var(--brand);
}
.auth-lead { margin: 0 0 1.15rem; color: var(--muted); }
.auth-fields { display: flex; flex-direction: column; gap: .8rem; }
.auth-fields .form-control {
  min-height: 2.9rem;
  border-radius: 12px;
  padding: .7rem .95rem;
  background: #fbfaf7;
  border: 1px solid #e6dfd6;
}
.auth-fields .form-control:focus {
  background: #fff;
  outline: none;
  border-color: #c4a27a;
  box-shadow: 0 0 0 4px rgba(184, 149, 106, .18);
}
.auth-submit {
  min-height: 2.95rem;
  margin-top: .25rem;
  border-radius: 999px;
  letter-spacing: .03em;
}
.auth-foot { margin: 1.1rem 0 0; text-align: center; color: var(--muted); }
.auth-foot a { color: var(--brand); font-weight: 700; }
.auth-demo {
  margin: .85rem 0 0;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}
@media (max-width: 760px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-aside { min-height: 190px; }
}
.social-auth { margin: 0 0 .35rem; }
.social-divider,
.social-divider-email {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 .85rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.social-divider-email { margin: 1rem 0 .85rem; }
.social-divider::before,
.social-divider::after,
.social-divider-email::before,
.social-divider-email::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .55rem .85rem;
  border: 1px solid #e6dfd6;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(28, 42, 40, .04);
}
.btn-social:hover:not(:disabled) {
  border-color: #b7c4b0;
  background: #fbfaf7;
}
.btn-google:hover:not(:disabled) { border-color: #c5d4f5; }
.btn-facebook:hover:not(:disabled) { border-color: #b7c8ef; }
.social-icon { width: 1.15rem; height: 1.15rem; flex: none; }
@media (max-width: 420px) {
  .social-buttons { grid-template-columns: 1fr; }
}

/* ========== Admin shell ========== */
.admin-shell {
  --ink: #10243f;
  --muted: #5d6e80;
  --navy: #0d2137;
  --navy-2: #16324d;
  --teal: #0e8f78;
  --paper: #f3f6f5;
  --card: #ffffff;
  --line: #d5e3de;
  --shadow: 0 10px 28px rgba(16, 36, 63, 0.08);
  height: 100vh;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Fira Sans Condensed", sans-serif;
  font-size: 16.5px;
  font-weight: 700;
}
.admin-shell,
.admin-shell * {
  font-family: "Fira Sans Condensed", sans-serif;
  font-weight: 700;
}
.admin-shell .tabular { font-variant-numeric: tabular-nums; }
.admin-shell a { color: var(--teal); }
.admin-header {
  height: 3rem;
  flex-shrink: 0;
  width: 100%;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 0 .75rem;
}
.admin-header .hamburger {
  background: transparent;
  border: 0;
  color: var(--ink);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.25rem;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  min-width: 0;
}
.admin-shell .brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: .35rem;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.admin-shell .brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.admin-shell .brand-name { font-size: .95rem; color: var(--ink); }
.brand-sub { font-size: .68rem; color: var(--muted); font-weight: 700; }
.ctx-switch {
  height: 1.65rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: #fff;
  color: var(--ink);
  padding: 0 .4rem;
  font-size: .78rem;
}
.admin-header .spacer { flex: 1; }
.admin-user { font-size: .85rem; color: var(--ink); white-space: nowrap; }
.header-link { font-size: .85rem; white-space: nowrap; }
.admin-body { display: flex; flex: 1; min-height: 0; width: 100%; }
.admin-sidebar {
  width: 15.2rem;
  flex-shrink: 0;
  background: linear-gradient(180deg, #10283f 0%, #0b1c2e 100%);
  color: rgba(255,255,255,.92);
  overflow: auto;
  transition: width .18s ease;
}
.admin-sidebar.is-collapsed { width: 3.5rem; }
.admin-sidebar nav { display: flex; flex-direction: column; padding: .45rem .4rem; gap: .15rem; }
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .48rem .65rem;
  border-radius: .4rem;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  white-space: nowrap;
}
.admin-sidebar a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar a.active {
  background: rgba(14,143,120,.22);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--teal);
}
.admin-sidebar .nav-icon { width: 1.15rem; text-align: center; flex-shrink: 0; font-size: 1rem; }
.admin-sidebar.is-collapsed .nav-label { display: none; }
.admin-sidebar.is-collapsed a { justify-content: center; padding-left: 0; padding-right: 0; }
.admin-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
}
.fill-page {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.fill-page.sam-dash,
.fill-page.is-scroll {
  overflow: auto;
  overscroll-behavior: contain;
}
.fill-page.is-scroll > .panel:last-child {
  flex: 0 0 auto;
}
.fill-page.is-scroll > .panel:last-child .grid-wrap {
  flex: 0 0 auto;
  max-height: none;
}
.dash-banner {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: #0c6b5c;
  color: #fff;
  border-radius: .7rem;
  padding: .45rem .75rem;
  min-height: 2.5rem;
}
.dash-banner h1 { margin: 0; font-size: 1.05rem; color: #fff; }
.admin-shell .dash-banner .btn-teal,
.admin-shell .dash-banner .btn-refresh {
  background: #fff; color: #0c6b5c; border-color: #fff;
}
.admin-shell .dash-banner .btn-refresh:hover:not(:disabled) {
  background: #e8f7f2; border-color: #fff; color: #0a5a4d;
}
.provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin: .35rem 0 .9rem;
}
.provider-links a { font-weight: 700; color: var(--teal); }
.provider-uri {
  display: inline-block;
  margin-top: .35rem;
  padding: .45rem .7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .9rem;
}

.master-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.2rem;
}
.master-bar h1 { margin: 0; font-size: 1.15rem; color: var(--ink); }
.master-bar .meta { color: var(--muted); font-size: .85rem; margin-right: auto; }
.master-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.page-title { margin: 0; font-size: 1.15rem; color: var(--ink); font-weight: 700; }
.page-toolbar { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }

.admin-shell .btn {
  border-radius: .4rem;
  font-weight: 700;
  cursor: pointer;
}
.admin-shell .btn-sm { min-height: 1.65rem; padding: .12rem .55rem; font-size: .78rem; }
.admin-shell .btn-teal,
.admin-shell .btn-primary,
.admin-shell .btn-save,
.admin-shell .btn-new { background: var(--teal); color: #fff; border: 1px solid var(--teal); }
.admin-shell .btn-teal:hover:not(:disabled),
.admin-shell .btn-primary:hover:not(:disabled),
.admin-shell .btn-save:hover:not(:disabled),
.admin-shell .btn-new:hover:not(:disabled) { background: #0b7a67; }
.admin-shell .btn-ghost,
.admin-shell .btn-outline,
.admin-shell .btn-cancel { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.admin-shell .btn-ghost:hover:not(:disabled),
.admin-shell .btn-outline:hover:not(:disabled),
.admin-shell .btn-cancel:hover:not(:disabled) { border-color: var(--muted); color: var(--ink); background: #f7f9f8; }
.admin-shell .btn-refresh {
  background: #e8f1fb;
  color: #1e4f8a;
  border: 1px solid #b7d0ef;
}
.admin-shell .btn-refresh:hover:not(:disabled) { background: #d7e7f8; border-color: #8fb6e3; }
.admin-shell .btn-clear {
  background: #fff7e8;
  color: #9a6700;
  border: 1px solid #f0d9a8;
}
.admin-shell .btn-clear:hover:not(:disabled) { background: #ffefd0; border-color: #e4c482; }
.admin-shell .btn-download {
  background: #e9f7ef;
  color: #0f6b3c;
  border: 1px solid #b6e0c8;
}
.admin-shell .btn-download:hover:not(:disabled) { background: #d8f1e3; border-color: #8fceb0; }
.admin-shell .btn-import {
  background: #efe9fb;
  color: #5b2f9b;
  border: 1px solid #d2c2f0;
}
.admin-shell .btn-import:hover:not(:disabled) { background: #e4daf8; border-color: #b9a3e4; }
.admin-shell .btn-edit {
  background: #eaf2ff;
  color: #1d4ed8;
  border: 1px solid #bfd0f7;
}
.admin-shell .btn-edit:hover:not(:disabled) { background: #dbe8ff; border-color: #9bb6f0; }
.admin-shell .btn-danger-soft,
.admin-shell .btn-delete {
  background: #fdecec;
  color: #b42318;
  border: 1px solid #f3c7c7;
}
.admin-shell .btn-danger-soft:hover:not(:disabled),
.admin-shell .btn-delete:hover:not(:disabled) { background: #f9dede; border-color: #e8a9a9; }
.admin-shell .btn-signout {
  background: #f4f1ee;
  color: #5c4a3d;
  border: 1px solid #ddd2c8;
}
.admin-shell .btn-signout:hover:not(:disabled) { background: #ebe5df; border-color: #cbbfb0; }
.admin-shell .form-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: .2rem;
}
.admin-shell .form-control,
.admin-shell select.form-control,
.admin-shell textarea.form-control {
  min-height: 1.65rem;
  padding: .15rem .45rem;
  font-size: .8125rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: #fff;
  color: var(--ink);
}
.edit-card {
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .7rem;
  box-shadow: var(--shadow);
  padding: .75rem .85rem;
}
.edit-card h2 { margin: 0 0 .65rem; font-size: 1rem; color: var(--ink); }
.edit-card .help { font-size: .82rem; color: var(--muted); margin: 0 0 .65rem; font-weight: 700; line-height: 1.35; }
.edit-card .help code {
  font-family: "Fira Sans Condensed", sans-serif;
  font-weight: 700;
  background: #eef4f1;
  padding: .05rem .28rem;
  border-radius: .25rem;
}
.import-log {
  list-style: none; margin: .75rem 0 0; padding: .55rem .65rem;
  max-height: 12rem; overflow: auto; background: #f7faf8; border: 1px solid var(--line);
  font-size: .8rem; color: var(--ink);
}
.import-log li { padding: .18rem 0; border-bottom: 1px solid #e4ece8; }
.import-log li:last-child { border-bottom: 0; }

.kpi-grid {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .7rem;
}
.kpi-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: .7rem;
  padding: .55rem .7rem .6rem .85rem;
  color: var(--ink);
  overflow: hidden;
  font: inherit;
}
button.kpi-card { cursor: pointer; }
button.kpi-card.is-on { outline: 2px solid var(--teal); outline-offset: 1px; }
.kpi-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.kpi-card .label {
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.kpi-card .value { font-size: 1.28rem; line-height: 1.15; margin-top: .12rem; }
.kpi-card .note { font-size: .72rem; color: var(--muted); margin-top: .1rem; }
.tone-created { background: #e8eefc; }
.tone-created::before { background: #3d5fbf; }
.tone-success { background: #e5f7f1; }
.tone-success::before { background: #0e8f78; }
.tone-pending { background: #fff4e2; }
.tone-pending::before { background: #d0891f; }
.tone-failed { background: #fdecec; }
.tone-failed::before { background: #c45252; }
.tone-total { background: #e7f3f1; }
.tone-total::before { background: #1d7a72; }
.tone-sales { background: #e8f1fb; }
.tone-sales::before { background: #2f6fad; }
.tone-today { background: #e7f6fb; }
.tone-today::before { background: #1a8aab; }
.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: .7rem; padding: .7rem .85rem;
}
.kpi .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.kpi .value { font-size: 1.35rem; margin-top: .15rem; color: var(--ink); }

.chart-split {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: .7rem;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .7rem;
  padding: .7rem .8rem;
  box-shadow: none;
}
.chart-panel h3, .panel h3 { margin: 0 0 .55rem; font-size: .9rem; color: var(--ink); }
.fill-page > .panel:last-child {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.fill-page > .panel:last-child .grid-wrap { flex: 1; min-height: 0; }
.donut {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: .15rem auto .45rem;
  position: relative;
}
.donut::after {
  content: "";
  position: absolute;
  inset: 34px;
  background: #fff;
  border-radius: 50%;
}
.donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.donut-legend li { display: flex; align-items: center; gap: .35rem; font-size: .72rem; }
.donut-legend .swatch { width: .55rem; height: .55rem; border-radius: 2px; flex-shrink: 0; }
.donut-legend strong { margin-left: auto; }

.chart-bars { display: flex; align-items: flex-end; gap: .35rem; height: 148px; padding-top: .35rem; }
.chart-bars .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem; height: 100%; justify-content: flex-end; min-width: 0; }
.chart-bars .bar {
  width: 100%; max-width: 22px; background: var(--teal);
  border-radius: 3px 3px 0 0; min-height: 2px;
}
.chart-bars .lbl { font-size: .62rem; color: var(--muted); text-align: center; white-space: nowrap; }

.grid-wrap {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .7rem;
}
.dxg {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
  font-size: .72rem;
}
.dxg th, .dxg td {
  padding: .28rem .4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .72rem;
}
.dxg thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #0b1f6b;
  color: #fff;
  text-align: left;
  cursor: pointer;
  user-select: none;
}
.dxg th.num, .dxg td.num { text-align: right; }
.dxg th .sort { opacity: .75; margin-left: .2rem; }
.dxg .filter-row th {
  position: sticky;
  top: 1.55rem;
  z-index: 3;
  background: #f4f7f6;
  color: var(--ink);
  cursor: default;
  font-weight: 700;
}
.dxg .filter-row input, .dxg .filter-row select {
  width: 100%;
  min-height: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .05rem .3rem;
  font-size: .68rem;
  font-weight: 700;
  background: #fff;
  color: var(--ink);
}
.dxg td { border-bottom: 1px solid #e6eeea; vertical-align: middle; }
.dxg tbody tr.row-ok td { background: #e7f6ef; }
.dxg tbody tr.row-open td { background: #eef4fc; }
.dxg tbody tr.row-bad td { background: #fdeeee; }
.dxg tbody tr:hover td { filter: saturate(1.05); }
.dxg th.actions, .dxg td.actions {
  position: sticky;
  right: 0;
  z-index: 2;
  width: 6.5rem;
  min-width: 6.5rem;
  max-width: 6.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  padding-left: .35rem;
  padding-right: .4rem;
  text-align: right;
  vertical-align: middle;
  background: #fff;
  box-shadow: -8px 0 10px rgba(14, 59, 44, .08);
}
.dxg:has(td.actions select) th.actions,
.dxg:has(td.actions select) td.actions {
  width: 8.25rem;
  min-width: 8.25rem;
  max-width: 8.25rem;
}
.dxg thead tr:first-child th.actions {
  z-index: 5;
  background: #0b1f6b;
  overflow: hidden;
  text-overflow: clip;
}
.dxg .filter-row th.actions {
  z-index: 5;
  background: #f4f7f6;
}
.dxg td.actions { overflow: hidden; }
.dxg col.c-actions { width: 6.5rem; }
.dxg:has(td.actions select) col.c-actions { width: 8.25rem; }
.dxg .cell-clip {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  max-width: 100%;
}
.dxg .cell-clip img { flex-shrink: 0; }
.dxg .cell-clip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.dxg td.actions .btn {
  margin: 0 0 0 .22rem;
  padding-left: .4rem;
  padding-right: .4rem;
}
.dxg td.actions .btn:first-child { margin-left: 0; }
.dxg td.actions select.form-control {
  width: auto;
  min-width: 6.5rem;
  max-width: 8rem;
  display: inline-block;
  vertical-align: middle;
}
.dxg tfoot td {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #f7faf9;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
table.product-grid { display: table; width: 100%; max-width: 100%; }
.product-grid col.c-code { width: 4.2rem; }
.product-grid col.c-cat { width: 7.6rem; }
.product-grid col.c-price { width: 5.2rem; }
.product-grid col.c-stock { width: 3.6rem; }
.product-grid col.c-flag { width: 4.8rem; }
.product-grid col.c-actions { width: 6.5rem; }
.product-grid th.actions,
.product-grid td.actions {
  width: 6.5rem;
  min-width: 6.5rem;
  max-width: 6.5rem;
  overflow: hidden;
}
.stock-page { overflow: auto; }
.stock-head,
.stock-line-entry {
  display: grid;
  gap: .7rem;
  align-items: end;
  margin-bottom: .7rem;
}
.stock-head { grid-template-columns: 9.5rem 12rem minmax(0, 1fr); }
.stock-line-entry { grid-template-columns: minmax(0, 1fr) 5.5rem 6.5rem auto; }
.stock-line-entry .btn { margin-bottom: .05rem; }
.stock-page .stock-lines { margin: 0 0 .7rem; }
.stock-grid { width: 100%; max-width: 100%; }
.stock-grid col.c-date { width: 6.6rem; }
.stock-grid col.c-no { width: 9.8rem; }
.stock-grid col.c-supplier { width: 10.5rem; }
.stock-grid col.c-qty { width: 3.6rem; }
.stock-grid col.c-money { width: 5.2rem; }
.stock-grid tbody tr { cursor: pointer; }
.stock-grid tbody tr.is-open td { background: #e7f6ef; }
.stock-grid tr.stock-detail { cursor: default; }
.stock-grid tr.stock-detail > td { overflow: visible; background: #f7faf9; padding: .4rem .5rem .55rem; }
.stock-lines { width: 100%; }
.stock-lines col.c-qty { width: 3.4rem; }
.stock-lines col.c-money { width: 4.6rem; }
.stock-lines col.c-cost { width: 8.2rem; }
.stock-lines th.actions,
.stock-lines td.actions {
  width: 8.2rem;
  min-width: 8.2rem;
  max-width: 8.2rem;
  overflow: hidden;
}
@media (max-width: 800px) {
  .stock-head, .stock-line-entry { grid-template-columns: 1fr; }
}
.stock-lines td.actions .stock-cost {
  width: 3.5rem;
  max-width: 3.5rem;
  min-width: 0;
  display: inline-block;
  vertical-align: middle;
  padding: .05rem .25rem;
  min-height: 1.45rem;
}
.dxg .empty-cell { text-align: center; color: var(--muted); padding: .8rem; }
.admin-backdrop {
  position: fixed;
  inset: 3rem 0 0 0;
  background: rgba(16, 36, 63, .35);
  z-index: 25;
}
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-sidebar.is-overlay {
    position: fixed;
    top: 3rem;
    left: 0;
    bottom: 0;
    z-index: 30;
    width: 15.2rem;
  }
  .admin-sidebar.is-overlay.is-hidden { display: none; }
  .brand-sub, .ctx-switch { display: none; }
}
@media (max-width: 560px) {
  .kpi-grid { grid-template-columns: 1fr; }
}

/* Samray-style admin dashboard */
.sam-dash .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 0.8rem; }
.sam-dash .kpi {
  position: relative; overflow: hidden; min-height: 5.4rem; border: 0; padding: 0.7rem 0.8rem;
  background: #fff right center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(12, 47, 122, 0.06);
  font-weight: 700;
}
.sam-dash .kpi::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 42%, rgba(255,255,255,.28) 68%, rgba(255,255,255,0) 100%);
}
.sam-dash .kpi > * { position: relative; z-index: 1; }
.sam-dash .kpi span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.sam-dash .kpi strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.sam-dash .kpi-today { background-image: url("/brand/dash/kpi-today.jpg?v=1"); color: #a16207; }
.sam-dash .kpi-month { background-image: url("/brand/dash/kpi-month.jpg?v=1"); color: #9f1239; }
.sam-dash .kpi-open { background-image: url("/brand/dash/kpi-open.jpg?v=1"); color: #1e3a5f; }
.sam-dash .kpi-feedback { background-image: url("/brand/dash/kpi-feedback.jpg?v=1"); color: #a16207; }
.sam-dash .kpi-ship { background-image: url("/brand/dash/kpi-delivery.jpg?v=1"); color: #1e3a5f; }
.sam-dash .kpi-done { background-image: url("/brand/dash/kpi-delivered.jpg?v=1"); color: #3f6212; }
.sam-dash .kpi-no { background-image: url("/brand/dash/kpi-rejected.jpg?v=1"); color: #9f1239; }
.sam-dash .kpi-back { background-image: url("/brand/dash/kpi-returned.jpg?v=1"); color: #92400e; }
.sam-dash .kpi-styles { background-image: url("/brand/dash/kpi-styles.jpg?v=1"); color: #9f1239; }
.sam-dash .kpi-stock { background-image: url("/brand/dash/kpi-instock.jpg?v=1"); color: #3f6212; }
.sam-dash .kpi-empty { background-image: url("/brand/dash/kpi-out.jpg?v=1"); color: #44403c; }
.sam-dash .kpi-units { background-image: url("/brand/dash/kpi-units.jpg?v=1"); color: #1e3a5f; }
.sam-dash .help { font-size: 0.78rem; color: #52606d; margin: 0.2rem 0 0.55rem; font-weight: 700; }
.sam-dash .chart-range { display: flex; align-items: center; gap: 0.35rem; margin: 0.2rem 0 0.65rem; flex-wrap: wrap; }
.sam-dash .chart-range button {
  border: 1px solid #c5d7f2; background: #fff; color: #0b2460; border-radius: 999px;
  padding: 0.28rem 0.75rem; cursor: pointer; font-weight: 700; font-family: inherit;
}
.sam-dash .chart-range button.on { background: #0c2f7a; color: #fff; border-color: #0c2f7a; }
.sam-dash .chart-range span { color: #52606d; font-size: 0.78rem; margin-left: 0.25rem; font-weight: 700; }
.sam-dash .chart-card { background: #fff; border: 1px solid #d5e3f7; padding: 0.6rem 0.7rem 0.4rem; margin-bottom: 0.7rem; }
.sam-dash .chart-card h2 { font-size: 0.92rem; margin: 0 0 0.35rem; font-weight: 700; color: #0b2460; }
.sam-dash .vbars { display: flex; align-items: flex-end; gap: 0.55rem; min-height: 240px; overflow-x: auto; padding-top: 0.35rem; }
.sam-dash .vbar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.7rem; min-width: 2.6rem; flex: 1; }
.sam-dash .vbar-col { display: block; width: 100%; max-width: 2.6rem; min-height: 2px; background: #1857d4; }
.sam-dash .vbar-col.alt { background: #c6a15b; }
.sam-dash .vbar-col.bad { background: #9a3b3b; }
.sam-dash .vbar-col.up { background: #166534; }
.sam-dash .vbar-col.down { background: #c2410c; }
.sam-dash .vbar-col.drop { background: #9f1239; }
.sam-dash .vbar-amt, .sam-dash .vbar-lbl { font-size: 0.68rem; color: #52606d; text-align: center; line-height: 1.25; font-weight: 700; }
.sam-dash .vbar-amt { min-height: 2rem; display: flex; align-items: flex-end; justify-content: center; }
.sam-dash .vbar-lbl { min-height: 1.7rem; }
.sam-dash .charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.7rem; }
.sam-dash .line-chart { width: 100%; height: auto; display: block; }
.sam-dash .line-labels { display: grid; font-size: 0.68rem; color: #52606d; text-align: center; font-weight: 700; }
.sam-dash .line-key { display: flex; gap: 1rem; margin: 0 0 0.25rem; font-size: 0.75rem; color: #52606d; font-weight: 700; }
.sam-dash .line-key i { display: inline-block; width: 1.1rem; height: 3px; margin-right: 0.35rem; vertical-align: middle; }
.sam-dash .line-key .sales { background: #1857d4; }
.sam-dash .line-key .visits { background: #c6a15b; }
.sam-dash .funnel { display: flex; flex-direction: column; gap: 0.35rem; }
.sam-dash .funnel-step { display: grid; grid-template-columns: 8.4rem 1fr 2.2rem; gap: 0.4rem; align-items: center; font-size: 0.78rem; font-weight: 700; }
.sam-dash .funnel-track { background: #e8eef6; height: 16px; }
.sam-dash .funnel-fill { display: block; height: 100%; }
.sam-dash .donut-row { display: flex; gap: 1rem; align-items: center; }
.sam-dash .donut { width: 9rem; height: 9rem; border-radius: 50%; display: grid; place-items: center; flex: none; }
.sam-dash .donut::after { display: none; }
.sam-dash .donut span { width: 5.2rem; height: 5.2rem; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.15rem; font-weight: 700; }
.sam-dash .donut-key { list-style: none; margin: 0; padding: 0; font-size: 0.75rem; color: #52606d; font-weight: 700; }
.sam-dash .donut-key li { display: flex; gap: 0.4rem; align-items: center; margin: 0.22rem 0; }
.sam-dash .swatch { width: 0.7rem; height: 0.7rem; display: inline-block; }
.sam-dash .price-chart { display: flex; flex-direction: column; gap: 0.38rem; }
.sam-dash .price-row { display: grid; grid-template-columns: minmax(7.5rem, 1.15fr) minmax(5.5rem, 1.3fr) 5.4rem 3.2rem; gap: 0.45rem; align-items: center; font-size: 0.78rem; font-weight: 700; }
.sam-dash .price-head { color: #52606d; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; }
.sam-dash .price-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sam-dash .price-track { background: #e8eef6; height: 12px; }
.sam-dash .price-fill { display: block; height: 100%; background: #1857d4; min-width: 2px; }
.sam-dash .price-row span:nth-child(3), .sam-dash .price-row span:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.sam-dash .heat { width: 100%; border-collapse: collapse; font-size: 0.72rem; }
.sam-dash .heat th, .sam-dash .heat td { text-align: center; padding: 0.32rem 0.2rem; font-weight: 700; }
.sam-dash .heat th { color: #52606d; }
.sam-dash .gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.sam-dash .gauge { display: flex; gap: 0.7rem; align-items: center; }
.sam-dash .gauge svg { width: 8.6rem; flex: none; }
.sam-dash .gauge strong { display: block; font-size: 1.35rem; line-height: 1.1; }
.sam-dash .trend.up { color: #166534; }
.sam-dash .trend.down { color: #9f1239; }
.sam-dash .trend.flat { color: #52606d; }
@media (max-width: 900px) {
  .sam-dash .kpis, .sam-dash .charts, .sam-dash .gauges { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sam-dash .kpis, .sam-dash .charts, .sam-dash .gauges { grid-template-columns: 1fr; }
}

.status {
  display: inline-block; padding: .15rem .45rem; border-radius: 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
}
.status-pending { background: #fff4e5; color: #b54708; }
.status-processing { background: #eff8ff; color: #175cd3; }
.status-shipped { background: #f4f3ff; color: #5925dc; }
.status-delivered { background: #ecfdf3; color: #027a48; }
.status-cancelled { background: #fef3f2; color: #b42318; }

.chart-bars { display: flex; align-items: flex-end; gap: .35rem; height: 180px; padding-top: .5rem; }
.chart-bars .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .25rem; height: 100%; justify-content: flex-end; }
.chart-bars .bar {
  width: 100%; max-width: 28px; background: linear-gradient(180deg, var(--brand-light), var(--brand));
  border-radius: 4px 4px 0 0; min-height: 2px; transition: height .3s ease;
}
.chart-bars .lbl { font-size: .65rem; color: var(--muted); writing-mode: horizontal-tb; text-align: center; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; display: grid; place-items: center; padding: 1rem; }
.modal {
  background: #fff; border-radius: 12px; width: min(640px, 100%); max-height: 90vh; overflow: auto;
  padding: 1.25rem; box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.modal h2 { margin: 0 0 1rem; font-size: 1.2rem; color: var(--brand); }
.modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.wish-cart-modal { width: min(420px, 100%); font-weight: 700; }
.wish-cart-copy { margin: 0; color: #3d4f59; line-height: 1.45; }
.wish-cart-copy strong { color: #1a5c45; }

.lookup {
  position: relative;
}
.lookup-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 2px); z-index: 20;
  background: #fff; border: 1px solid var(--border); border-radius: 8px; max-height: 220px; overflow: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.lookup-drop button {
  display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: .45rem .65rem;
  font-size: .85rem; cursor: pointer;
}
.lookup-drop button:hover, .lookup-drop button.active, .lookup-drop button.is-active { background: #e7f3f1; }
.admin-shell .lookup-drop button.is-active { background: #e5f7f1; }

@media (max-width: 960px) {
  .store-nav { display: none; }
  .store-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 20;
    gap: .15rem;
    padding: .75rem 0 .25rem;
    border-top: 1px solid var(--border);
    margin-top: .35rem;
  }
  .store-nav.open a { padding: .75rem .85rem; }
  .store-nav.open a::after { display: none; }
  .header-menu-btn { display: inline-flex; }
  .store-header-inner { flex-wrap: wrap; }
  .store-actions { gap: .4rem; }
  .search-mega, .search-box { min-width: 160px; max-width: 220px; width: auto; }
  .account-label { display: none; }
  .brand-tag { display: none; }
  .header-promo { font-size: .72rem; }
  .store-channel-inner { padding-top: .45rem; padding-bottom: .55rem; }
}
@media (max-width: 640px) {
  .search-mega, .search-box { display: none; }
  .store-header-top-inner { justify-content: center; }
  .header-top-links { display: none; }
}

/* Motion */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes kenZoom {
  from { transform: translateY(10px) scale(.94); }
  to { transform: translateY(0) scale(1.04); }
}
@keyframes meshDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}
@keyframes floatY {
  from { transform: translateY(0); }
  to { transform: translateY(-18px); }
}
@keyframes progressFill {
  from { width: 0; }
  to { width: 100%; }
}
.fade-up { animation: fadeUp .45s ease both; }
.fade-up-delay-1 { animation-delay: .08s; }
.fade-up-delay-2 { animation-delay: .16s; }
.fade-up-delay-3 { animation-delay: .24s; }

/* ===== Page heroes (Categories / Contact) ===== */
.page-hero {
  position: relative;
  width: 100%;
  min-height: min(42vh, 360px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero-categories {
  background-image:
    linear-gradient(120deg, rgba(28,42,40,.55), rgba(246,243,238,.15)),
    url('/images/products/16.jpg');
}
.page-hero-contact {
  background-image:
    linear-gradient(120deg, rgba(28,42,40,.5), rgba(246,243,238,.12)),
    url('/images/products/22.jpg');
}
.page-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.35) 100%);
}
.page-hero-copy {
  position: relative; z-index: 1;
  width: 100%;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 3vw, 2.5rem);
}
.page-hero-copy .brand-hero {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.page-hero-copy h1 {
  margin: 0 0 .55rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 16ch;
}
.page-hero-copy p {
  margin: 0;
  max-width: 42ch;
  opacity: .92;
  font-size: 1.05rem;
}

.section-flush { padding-top: 1.75rem; }

/* Categories showcase */
.cat-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  width: 100%;
}
.cat-feature {
  position: relative;
  display: grid;
  grid-template-rows: 220px auto;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  min-height: 380px;
  box-shadow: 0 14px 36px rgba(26,92,69,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(26,92,69,.18);
}
.cat-feature:nth-child(1),
.cat-feature:nth-child(4) {
  grid-row: span 1;
}
.cat-feature-media {
  position: relative;
  overflow: hidden;
}
.cat-feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cat-feature:hover .cat-feature-media img { transform: scale(1.07); }
.cat-feature-badge {
  position: absolute;
  top: .9rem; left: .9rem;
  background: var(--accent);
  color: #111;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .55rem;
  border-radius: 6px;
}
.cat-feature-body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.cat-tone-1 .cat-feature-body { background: linear-gradient(160deg, #1a5c45, #2f8a62); }
.cat-tone-2 .cat-feature-body { background: linear-gradient(160deg, #8a3d55, #c46b86); }
.cat-tone-3 .cat-feature-body { background: linear-gradient(160deg, #1f4a3a, #2f8a62); }
.cat-tone-4 .cat-feature-body { background: linear-gradient(160deg, #0f4c5c, #1a8a9a); }
.cat-feature-body h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -.01em;
}
.cat-feature-body p { margin: 0; opacity: .9; font-size: .95rem; }
.cat-feature-cta {
  margin-top: auto;
  padding-top: .75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .03em;
}

.cat-banner {
  width: 100%;
  margin-top: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 3vw, 2.5rem);
  text-align: center;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(28,42,40,.55), rgba(109,124,98,.35)),
    url('/images/products/25.jpg') center/cover;
}
.cat-banner-inner { max-width: 640px; margin: 0 auto; }
.cat-banner h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
.cat-banner p { margin: 0 0 1.25rem; opacity: .92; }

@media (max-width: 800px) {
  .cat-showcase { grid-template-columns: 1fr; }
  .cat-feature { min-height: 340px; grid-template-rows: 180px auto; }
}

/* Contact page */
.contact-section { padding-top: 2rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 1.25rem;
  align-items: start;
  width: 100%;
}
.contact-form-card {
  background: #fff;
  border: 1px solid #e6dfd6;
  border-radius: 20px;
  padding: 0 1.2rem 1.25rem;
  box-shadow: 0 16px 40px rgba(26,92,69,.08);
  overflow: hidden;
}
.contact-form-card,
.contact-form-card h2,
.contact-form-card p,
.contact-form-card label,
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea,
.contact-form-card button,
.contact-form-card .alert {
  font-weight: 700;
}
.contact-form-photo {
  display: block;
  width: calc(100% + 2.4rem);
  height: 190px;
  margin: 0 -1.2rem 1.15rem;
  object-fit: cover;
}
.contact-form-card .eyebrow {
  color: #a07d52;
  letter-spacing: .08em;
}
.contact-form-card h2 {
  margin: .15rem 0 .35rem;
  color: #1a5c45;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.contact-lead {
  margin: 0 0 1.15rem;
  color: #3d4f59;
  font-size: 1.05rem;
}
.contact-form-card .form-label {
  color: #5f6f7a;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-form-card .form-control {
  min-height: 2.7rem;
  border-radius: 12px;
  background: #fbfaf7;
  border: 1px solid #e6dfd6;
  color: #1c2b33;
  font-size: 1rem;
}
.contact-form-card .btn-accent {
  min-height: 2.75rem;
  border-radius: 999px;
  font-size: 1.02rem;
}
.contact-textarea { min-height: 140px; resize: vertical; padding-top: .75rem; }
.contact-side {
  display: grid;
  gap: 1rem;
}
.contact-info-card {
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.contact-info-primary {
  background:
    linear-gradient(145deg, rgba(26,92,69,.92), rgba(47,138,98,.85)),
    url('/images/products/22.jpg') center/cover;
}
.contact-info-map {
  background:
    linear-gradient(145deg, rgba(122,59,24,.9), rgba(196,92,26,.8)),
    url('/images/products/1.jpg') center/cover;
}
.contact-info-card h3 {
  margin: .2rem 0 .85rem;
  font-size: 1.35rem;
}
.contact-info-card > p {
  margin: 0;
  opacity: .92;
  line-height: 1.45;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.contact-list li {
  display: grid;
  gap: .15rem;
}
.contact-list span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .8;
  font-weight: 700;
}
.contact-list a,
.contact-list strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}
.contact-list a:hover { color: var(--accent); }
.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.contact-chips span {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  padding: .3rem .55rem;
  font-size: .78rem;
  font-weight: 700;
}
.contact-promo {
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  background:
    linear-gradient(135deg, #1a5c45, #2f8a62 55%, #c4a15a);
  color: #fff;
}
.contact-promo h3 { margin: 0 0 .35rem; }
.contact-promo p { margin: 0 0 .9rem; opacity: .92; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-map-section {
  width: 100%;
  padding: 0 clamp(1rem, 3vw, 2.5rem) 2.75rem;
}
.contact-map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.contact-map-head h2 {
  margin: .15rem 0 .25rem;
  color: var(--brand);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}
.contact-map-head p:last-child {
  margin: 0;
  color: var(--muted);
}
.contact-map-frame {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(26,92,69,.1);
  background: #dfeaf0;
  min-height: 380px;
}
.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: min(48vh, 460px);
  min-height: 380px;
  border: 0;
}

.photo-view {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.25rem 1.5rem;
  background: rgba(14, 28, 22, .86);
}
.photo-view:focus,
.photo-view:focus-visible {
  outline: none;
}
.photo-view-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
}
.photo-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -1.25rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.photo-nav:disabled { opacity: .35; cursor: default; }
.photo-prev { left: 1rem; }
.photo-next { right: 1rem; }
.photo-count { display: block; margin-top: .15rem; font-size: .85rem; opacity: .85; }
.photo-view-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  max-width: min(920px, 100%);
}
.photo-view-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
}
.photo-view-frame figcaption {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  line-height: 1.3;
}

.pl-page {
  overflow: auto;
  overscroll-behavior: contain;
  padding-bottom: .5rem;
}
.pl-head p {
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: .88rem;
}
.pl-period {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: end;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .8rem .9rem;
}
.pl-period label {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  min-width: 0;
}
.pl-period label span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pl-period .form-control,
.pl-period input[type="date"] { width: 100%; min-width: 0; max-width: 100%; }
.pl-period .btn { min-height: 2.2rem; padding: 0 1.15rem; }
.pl-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}
.pl-kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .75rem .9rem;
  min-width: 0;
}
.pl-kpi span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pl-kpi strong {
  display: block;
  margin-top: .25rem;
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.pl-kpi-net {
  background: #1a5c45;
  border-color: #1a5c45;
}
.pl-kpi-net span,
.pl-kpi-net strong { color: #fff; }
.pl-sheet {
  width: 100%;
  max-width: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .9rem 1rem 1rem;
}
.pl-sheet h2,
.pl-products h2 {
  margin: 0 0 .55rem;
  font-size: 1rem;
  color: var(--brand);
}
.pl-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem 1rem;
  align-items: baseline;
  padding: .55rem 0;
  border-top: 1px solid #e7f0ea;
}
.pl-line span { min-width: 0; }
.pl-line strong { white-space: nowrap; }
.pl-sub {
  background: #f4f7f2;
  margin: 0 -.35rem;
  padding: .6rem .35rem;
  border-radius: 8px;
  border-top: 0;
  font-weight: 700;
}
.pl-net {
  background: #1a5c45;
  color: #fff;
  margin: .45rem -.35rem 0;
  padding: .75rem .7rem;
  border-radius: 10px;
  border-top: 0;
}
.pl-net strong { color: #fff; }
.pl-products { min-width: 0; }
.pl-products .grid-wrap { max-height: min(52vh, 520px); }
@media (max-width: 900px) {
  .pl-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pl-period { grid-template-columns: 1fr; }
  .pl-period .btn { width: 100%; }
  .pl-kpis { grid-template-columns: 1fr; }
  .pl-line strong { font-size: .92rem; }
}
