﻿/* ============================================================
   KIVA STORE · DESIGN SYSTEM
   ============================================================ */
:root {
  --green: #74b62e;
  --green-dark: #4d8a1c;
  --green-deep: #28480e;
  --green-soft: #edf6e3;
  --ink: #11120f;
  --ink-2: #32342d;
  --muted: #73776c;
  --line: #e8e7df;
  --cream: #f7f6f0;
  --cream-dark: #efece2;
  --paper: #ffffff;
  --pink: #f6b6c8;
  --pink-soft: #fdf0f4;
  --amber: #f4c95d;
  --blue-soft: #dceef7;
  --red: #b42318;
  --shadow-sm: 0 2px 10px rgba(20, 24, 14, 0.05);
  --shadow-md: 0 16px 50px rgba(20, 24, 14, 0.09);
  --radius: 18px;
  --radius-lg: 28px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
code { font-size: 12px; }

.container { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
.store-main { min-height: 60vh; }
.mobile-only { display: none !important; }
.desktop-only { display: initial; }
.w-full { width: 100%; }
.text-green { color: var(--green-dark) !important; }
.d-block { display: block; }
.nowrap { white-space: nowrap; }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.eyebrow.light { color: #d6f0b9; }
.section { padding: 72px 0; }
.section.tight { padding: 34px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -1.2px; line-height: 1.05; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }
.link-arrow:hover { color: var(--green-dark); border-color: var(--green-dark); }
.link-arrow.small { font-size: 12px; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; padding: 26px 0 18px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span:last-child { color: var(--ink); font-weight: 600; }
.page-heading { padding: 30px 0 36px; }
.page-heading h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -1.8px; }
.muted-text { color: var(--muted); font-size: 13px; }
.muted-cell { color: var(--muted); max-width: 280px; font-size: 13px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 999px; padding: 14px 26px;
  font-size: 14px; font-weight: 700; line-height: 1; transition: 0.2s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #30322a; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: #83c73b; }
.btn-outline { border-color: #cdccc2; background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--cream); }
.btn-danger-ghost { border-color: #f1c0bb; background: #fff; color: var(--red); }
.btn-danger-ghost:hover { background: #fff5f4; }
.btn-sm { padding: 10px 16px; font-size: 12.5px; }
.btn-xs { padding: 7px 11px; font-size: 11px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent; border: 1px solid transparent; border-radius: 50%;
  width: 40px; height: 40px; transition: 0.18s; flex-shrink: 0;
}
.icon-btn:hover { background: var(--cream); border-color: var(--line); }
.icon-btn.danger { color: var(--red); }
.icon-btn.danger:hover { background: #fff2f1; border-color: #f1c0bb; }
.link-button { background: none; border: 0; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.link-button:hover { color: var(--ink); }
.link-button.danger { color: var(--red); }

/* Fields */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field > span { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea, .inline-field select {
  width: 100%; border: 1px solid #d8d7cd; border-radius: 12px;
  padding: 12px 14px; background: #fff; font-size: 13.5px; transition: 0.18s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(116, 182, 46, 0.14); }
.field textarea { resize: vertical; min-height: 90px; }
.field input:disabled, .field select:disabled { background: #f3f2ec; color: #999; }
.field-error { color: var(--red); font-size: 11.5px; font-weight: 600; }
.field-hint { color: var(--muted); font-size: 11px; }
.form-grid { display: grid; gap: 0 16px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.check-line { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.check-line input { width: 16px; height: 16px; accent-color: var(--green-dark); margin-top: 2px; flex-shrink: 0; }
.self-end { align-self: end; padding-bottom: 14px; }
.alert-box { background: #fff5f4; border: 1px solid #f1c0bb; color: var(--red); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; margin-bottom: 14px; line-height: 1.5; }
.alert-box.info { background: #f1f8e9; border-color: #d7e9bf; color: #42651f; }
.success-box { background: #f1f8e9; border: 1px solid #d7e9bf; color: #42651f; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; margin-bottom: 14px; line-height: 1.5; }
.hint-text { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

/* Pills & badges */
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 10px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.3px; }
.pill-green { background: var(--green-soft); color: var(--green-deep); }
.pill-sale { background: var(--ink); color: #fff; }
.pill-muted { background: var(--cream-dark); color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 10px; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.badge-success, .badge-paid, .badge-delivered { background: #eaf5dc; color: #3f6b19; }
.badge-muted, .badge-cancelled, .badge-refunded { background: #eeede7; color: #73756b; }
.badge-warning, .badge-pending { background: #fff4d6; color: #8a6200; }
.badge-danger, .badge-failed { background: #ffe9e7; color: #a42a1f; }
.badge-processing { background: #e6f2fb; color: #2b6380; }
.badge-shipped { background: #eee9fb; color: #5b4194; }
.gallery-badge { background: var(--ink); color: #fff; }

/* ============================================================
   STOREFRONT HEADER
   ============================================================ */
.promo-bar { background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0.2px; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 34px; flex-wrap: wrap; }
.promo-sep { color: var(--green); }
.promo-link { color: #d6f0b9; text-decoration: underline; text-underline-offset: 2px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 0.82; color: var(--ink); }
.brand-word { font-family: var(--font-display); font-size: 34px; letter-spacing: -2px; line-height: 0.9; }
.brand-country { font-size: 8px; font-weight: 800; letter-spacing: 4px; margin-top: 3px; padding-left: 2px; }
.brand-light { color: #fff; }
.brand-logo { display: block; width: auto; height: 50px; max-width: 100%; object-fit: contain; }
.footer-logo { height: 44px; margin-bottom: 16px; }
.auth-logo { height: 42px; }
.admin-logo { height: 28px; }
.admin-login-logo { height: 38px; }
.mobile-menu-logo { height: 38px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 12.5px; font-weight: 700; letter-spacing: 0.2px; position: relative; padding: 9px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green); transform: scaleX(0); transition: 0.2s; transform-origin: left; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.nav-sale { color: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 1px; right: 0; background: var(--green); color: var(--ink); font-size: 9px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
.search-panel { max-height: 0; overflow: hidden; border-top: 0 solid var(--line); transition: max-height 0.28s ease, border 0.28s; background: #fff; }
.search-panel.open { max-height: 100px; border-top: 1px solid var(--line); }
.search-form { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.search-form input { flex: 1; border: 0; background: var(--cream); border-radius: 999px; padding: 13px 20px; font-size: 14px; outline: none; }
.search-submit { border: 0; background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.mobile-menu { position: fixed; top: 0; left: 0; width: min(340px, 88vw); height: 100%; background: #fff; z-index: 100; transform: translateX(-100%); transition: 0.3s ease; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: flex-start; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.mobile-nav a.nav-sale { color: var(--green-dark); }
.mobile-nav hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; width: 100%; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(10, 12, 7, 0.45); z-index: 90; backdrop-filter: blur(2px); }
.mobile-menu + .drawer-overlay { z-index: 95; }

/* ============================================================
   HERO / HOME
   ============================================================ */
.hero { background: #f1eee4; position: relative; overflow: hidden; }
.hero-grain { position: absolute; inset: 0; opacity: 0.35; background-image: radial-gradient(rgba(0,0,0,.06) .7px, transparent .7px); background-size: 5px 5px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 30px; min-height: 610px; padding: 56px 0; position: relative; z-index: 1; }
.hero-copy h1 { font-family: var(--font-display); font-size: clamp(48px, 6.2vw, 86px); line-height: 0.93; letter-spacing: -3px; margin-bottom: 22px; }
.hero-copy h1 em { font-family: var(--font); font-style: normal; font-weight: 500; color: var(--green-dark); }
.hero-copy > p { font-size: 16px; line-height: 1.7; color: #4d4f45; max-width: 440px; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-perks { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-perks span { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: #5b5d52; }
.hero-visual { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.hero-blob { position: absolute; width: 480px; height: 480px; background: var(--green); border-radius: 46% 54% 55% 45% / 45% 47% 53% 55%; transform: rotate(-8deg); opacity: .92; }
.hero-ring { position: absolute; width: 520px; height: 520px; border: 1px solid rgba(17,18,15,.18); border-radius: 50%; }
.hero-img { position: relative; width: 500px; max-width: 100%; filter: contrast(1.03); transform: rotate(-4deg); animation: float 5s ease-in-out infinite; }
.hero-img[src$='.jpg'] { mix-blend-mode: multiply; }
@keyframes float { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }
.hero-sticker { position: absolute; top: 26px; right: 0; width: 118px; height: 118px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(9deg); box-shadow: var(--shadow-md); }
.hero-sticker span { font-size: 8px; letter-spacing: 2px; color: var(--green); }
.hero-sticker strong { font-size: 15px; line-height: 1.15; letter-spacing: 0.5px; }
.hero-price-card { position: absolute; bottom: 30px; left: 0; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 2px; transform: rotate(-3deg); }
.hero-price-card span { font-size: 8px; font-weight: 800; letter-spacing: 2px; color: var(--muted); }
.hero-price-card strong { font-size: 21px; letter-spacing: -0.5px; }
.hero-price-card small { font-size: 10px; color: var(--green-dark); font-weight: 700; }
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; white-space: nowrap; }
.marquee-track b { color: var(--green); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.categories-section { padding-top: 68px; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.category-card { position: relative; background: var(--cream); border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; transition: 0.25s; border: 1px solid transparent; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.category-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.category-img img { width: 92%; height: 78%; object-fit: contain; transition: 0.35s; }
.category-img img[src$='.jpg'] { mix-blend-mode: multiply; }
.category-card:hover .category-img img { transform: scale(1.05) rotate(-2deg); }
.category-info { position: relative; z-index: 1; padding: 18px; background: linear-gradient(transparent, rgba(247,246,240,.96) 45%); }
.category-info h3 { font-size: 17px; letter-spacing: -0.4px; }
.category-info span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10.5px; font-weight: 600; margin-top: 3px; }
.category-sale { background: var(--green); }
.category-sale .sale-content { padding: 22px; color: var(--ink); display: flex; flex-direction: column; height: 100%; justify-content: center; align-items: flex-start; gap: 5px; }
.category-sale h3 { font-family: var(--font-display); font-size: 28px; letter-spacing: -1px; }
.category-sale span { font-size: 12px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 18px; }
.product-card { position: relative; border-radius: var(--radius); background: #fff; transition: 0.25s; }
.product-card:hover { transform: translateY(-3px); }
.product-media { display: block; aspect-ratio: 1 / 1.06; background: var(--cream); border-radius: var(--radius); overflow: hidden; position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.45s ease; }
.product-media img[src$='.jpg'] { mix-blend-mode: multiply; }
.product-card:hover .product-media img { transform: scale(1.05) rotate(-1.5deg); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.wish-btn { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); display: grid; place-items: center; backdrop-filter: blur(4px); transition: 0.2s; }
.wish-btn:hover, .wish-btn.active { color: #d43f56; background: #fff; }
.product-info { padding: 13px 4px 4px; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.product-meta .rating { display: inline-flex; align-items: center; gap: 3px; text-transform: none; letter-spacing: 0; color: #777; }
.product-meta .rating .icon { color: #e5a900; }
.product-name { display: block; font-weight: 700; font-size: 14.5px; margin: 6px 0 8px; letter-spacing: -0.2px; }
.product-name:hover { color: var(--green-dark); }
.swatches { display: flex; align-items: center; gap: 5px; min-height: 14px; }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); display: inline-block; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.swatch-more { font-size: 9px; color: var(--muted); font-weight: 700; margin-left: 2px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.price-wrap { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 15.5px; letter-spacing: -0.3px; }
.price-old { color: #a3a49a; font-size: 11.5px; text-decoration: line-through; }
.quick-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: 0.2s; flex-shrink: 0; }
.quick-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.promo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo-visual { position: relative; min-height: 420px; border-radius: var(--radius-lg); padding: 44px; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.promo-green { background: var(--green); }
.promo-pink { background: var(--pink); }
.promo-eyebrow { font-size: 9px; font-weight: 800; letter-spacing: 2.5px; margin-bottom: 12px; }
.promo-visual h2 { font-family: var(--font-display); font-size: clamp(38px, 4vw, 58px); line-height: 0.93; letter-spacing: -2px; margin-bottom: 14px; }
.promo-visual p { font-size: 13px; line-height: 1.65; max-width: 280px; margin-bottom: 22px; color: rgba(17,18,15,.75); }
.promo-img { position: absolute; right: -80px; bottom: -60px; width: 380px; transform: rotate(-8deg); filter: contrast(1.03); }
.promo-img[src$='.jpg'] { mix-blend-mode: multiply; }
.promo-pink .promo-img { right: -40px; width: 330px; }
.store-locator { display:grid; grid-template-columns:0.88fr 1.12fr; background:var(--cream); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.store-locator-copy { padding:44px; display:flex; flex-direction:column; justify-content:center; }
.store-locator-copy h2 { font-size:clamp(28px, 3vw, 40px); line-height:1.03; letter-spacing:-1.4px; margin-bottom:12px; }
.store-locator-copy > p { font-size:13px; line-height:1.7; color:var(--muted); max-width:380px; margin-bottom:18px; }
.store-detail { display:flex; gap:12px; align-items:center; padding:9px 0; }
.store-detail-icon { width:38px; height:38px; border-radius:50%; background:#fff; border:1px solid var(--line); display:grid; place-items:center; flex-shrink:0; color:var(--green-dark); }
.store-detail div { display:flex; flex-direction:column; gap:2px; }
.store-detail strong { font-size:11.5px; }
.store-detail span { font-size:11px; color:var(--muted); }
.store-locator-actions { display:flex; align-items:center; gap:14px; margin-top:22px; flex-wrap:wrap; }
.store-socials { margin-top:0; }
.store-socials a { border-color:#d9d7cc; color:var(--ink); background:#fff; }
.store-socials a:hover { background:var(--green); color:var(--ink); border-color:var(--green); }
.store-map { min-height:430px; background:#e8e6dc; }
.store-map iframe { display:block; width:100%; height:100%; min-height:430px; border:0; filter:grayscale(.12) contrast(.96); }
.benefits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits-grid article { display: flex; gap: 14px; padding: 28px 26px; border-right: 1px solid var(--line); align-items: flex-start; }
.benefits-grid article:first-child { border-left: 1px solid var(--line); }
.benefit-icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); }
.benefits-grid h3 { font-size: 13px; margin-bottom: 4px; }
.benefits-grid p { font-size: 11px; line-height: 1.55; color: var(--muted); }
.quote-banner { background: var(--green); border-radius: var(--radius-lg); padding: 58px; position: relative; overflow: hidden; text-align: center; }
.quote-banner::before, .quote-banner::after { content: ''; position: absolute; border: 1px solid rgba(17,18,15,.18); border-radius: 50%; width: 340px; height: 340px; }
.quote-banner::before { left: -150px; top: -160px; }
.quote-banner::after { right: -160px; bottom: -180px; width: 420px; height: 420px; }
.quote-banner blockquote { font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); line-height: 1.15; letter-spacing: -1.5px; max-width: 800px; margin: 0 auto 14px; position: relative; z-index: 1; }
.quote-banner p { font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.quote-mark { font-family: var(--font-display); font-size: 110px; line-height: 0.6; opacity: .25; position: absolute; top: 38px; left: 42px; }
.quote-banner.small { background: var(--cream); padding: 42px; }

/* ============================================================
   FOOTER / NEWSLETTER
   ============================================================ */
.newsletter { background: var(--ink); color: #fff; padding: 54px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -1px; margin-bottom: 8px; }
.newsletter p { font-size: 13px; color: #b9bbaf; max-width: 460px; line-height: 1.65; }
.newsletter-form { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 7px 8px 7px 18px; justify-self: end; width: min(100%, 500px); }
.newsletter-form .icon { color: #8b8d82; flex-shrink: 0; }
.newsletter-form input { border: 0; outline: none; flex: 1; min-width: 0; font-size: 13px; padding: 10px 0; }
.newsletter-form .btn { padding: 12px 20px; }
.site-footer { background: #0c0e09; color: #d8d9d0; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { margin-bottom: 16px; color: #fff; }
.footer-brand p { font-size: 12px; line-height: 1.7; color: #97998e; max-width: 280px; }
.social-row { display: flex; gap: 8px; margin-top: 20px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: .2s; }
.social-row a:hover { background: var(--green); color: var(--ink); border-color: var(--green); }
.site-footer h3 { color: #fff; font-size: 12px; letter-spacing: 0.5px; margin-bottom: 16px; }
.site-footer a, .footer-muted { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #a9aba1; padding: 5px 0; transition: .15s; }
.site-footer a:hover { color: #fff; }
.footer-muted { cursor: default; }
.payment-badges { display: flex; gap: 5px; margin-top: 14px; flex-wrap: wrap; }
.payment-badges span { border: 1px solid rgba(255,255,255,.18); border-radius: 5px; padding: 4px 7px; font-size: 8px; font-weight: 800; letter-spacing: .4px; }
.payment-badges .izipay { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: 10.5px; color: #777a6f; flex-wrap: wrap; }
.footer-bottom div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { padding: 0; font-size: 10.5px; color: #777a6f; display: inline; }
.footer-bottom a:hover { color: #fff; }
.admin-link { color: var(--green) !important; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 92vw); background: #fff; z-index: 100; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.14); transform: translateX(100%); transition: transform 0.28s ease; }
.cart-drawer.open { transform: translateX(0); }
@keyframes slideIn { from { transform: translateX(100%); } }
.cart-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 21px; letter-spacing: -.5px; }
.cart-head p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.cart-empty { padding: 60px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cart-empty-icon, .empty-icon { width: 68px; height: 68px; background: var(--cream); border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.cart-empty h3 { font-size: 19px; }
.cart-empty p { font-size: 12.5px; color: var(--muted); max-width: 260px; line-height: 1.6; }
.cart-empty .btn { margin-top: 10px; }
.cart-progress { padding: 16px 24px; background: var(--green-soft); border-bottom: 1px solid #dcebc9; }
.cart-progress p { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #3f5c24; }
.progress-track { height: 5px; background: rgba(40,72,14,.14); border-radius: 999px; overflow: hidden; margin-top: 9px; }
.progress-track span { display: block; height: 100%; background: var(--green-dark); border-radius: 999px; transition: width .3s; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item-img { width: 78px; height: 78px; background: var(--cream); border-radius: 12px; flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item-img img[src$='.jpg'] { mix-blend-mode: multiply; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 700; display: block; margin-bottom: 2px; }
.cart-item-meta { font-size: 10.5px; color: var(--muted); margin-bottom: 8px; }
.cart-item-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 12.5px; font-weight: 700; }
.remove-btn { border: 0; background: none; color: #a5a79d; padding: 4px; }
.remove-btn:hover { color: var(--red); }
.qty-control { display: inline-flex; align-items: center; border: 1px solid #d8d7cd; border-radius: 999px; height: 40px; overflow: hidden; background: #fff; }
.qty-control button { width: 34px; height: 100%; border: 0; background: transparent; font-size: 17px; line-height: 1; }
.qty-control button:hover { background: var(--cream); }
.qty-control span { min-width: 28px; text-align: center; font-size: 12.5px; font-weight: 700; }
.qty-control.small { height: 29px; }
.qty-control.small button { width: 25px; font-size: 14px; }
.qty-control.small span { min-width: 20px; font-size: 11px; }
.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; background: #fff; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 5px; }
.cart-subtotal strong { font-size: 20px; letter-spacing: -.5px; }
.cart-note { font-size: 10.5px; color: var(--muted); margin-bottom: 14px; }
.cart-foot .btn { width: 100%; margin-top: 8px; }

/* ============================================================
   CATALOG
   ============================================================ */
.catalog-page { padding-bottom: 80px; }
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 18px 0 34px; }
.catalog-head h1 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -2px; line-height: 1; }
.catalog-head p { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.catalog-layout { display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 120px; padding-right: 10px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-size: 16px; }
.filter-block { border-top: 1px solid var(--line); padding: 18px 0; }
.filter-block h3 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.filter-link { display: flex; width: 100%; justify-content: space-between; background: none; border: 0; padding: 6px 0; font-size: 12.5px; color: var(--muted); text-align: left; }
.filter-link span { font-size: 10px; color: #aaa; }
.filter-link:hover, .filter-link.active { color: var(--ink); font-weight: 700; }
.size-options { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip { min-width: 40px; height: 34px; padding: 0 10px; border: 1px solid #d8d7cd; border-radius: 8px; background: #fff; font-size: 11.5px; font-weight: 600; transition: .15s; }
.size-chip:hover { border-color: var(--ink); }
.size-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-chip.disabled { opacity: .35; cursor: not-allowed; }
.color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-option { width: 30px; height: 30px; padding: 4px; border: 1px solid transparent; border-radius: 50%; background: transparent; }
.color-option span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,.16); }
.color-option.active { border-color: var(--ink); }
.color-options.large { gap: 9px; }
.color-options.large .color-option { width: 34px; height: 34px; }
.price-inputs { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.price-inputs input { width: 100%; border: 1px solid #d8d7cd; border-radius: 8px; padding: 9px; font-size: 11.5px; min-width: 0; }
.price-inputs span { color: var(--muted); }
.clear-filters { background: none; border: 0; padding: 0; color: var(--muted); font-size: 11.5px; text-decoration: underline; margin-top: 6px; }
.catalog-results { min-width: 0; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; min-height: 42px; }
.active-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--cream); border-radius: 999px; padding: 6px 11px; font-size: 11px; font-weight: 600; }
.filter-tag button { border: 0; background: none; font-size: 14px; line-height: 1; padding: 0; color: var(--muted); }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.sort-select select { border: 1px solid #d8d7cd; border-radius: 999px; padding: 9px 13px; font-size: 11.5px; background: #fff; }
.catalog-results .product-grid { grid-template-columns: repeat(3, 1fr); }
.product-skeleton { aspect-ratio: 1/1.2; background: linear-gradient(100deg, var(--cream) 30%, #fff 50%, var(--cream) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { padding: 70px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state.large { padding: 100px 20px; }
.empty-state.small { padding: 36px 16px; }
.empty-state h2, .empty-state h3 { font-size: 21px; letter-spacing: -.5px; }
.empty-state p { color: var(--muted); font-size: 12.5px; max-width: 380px; line-height: 1.7; }
.empty-state .btn { margin-top: 8px; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-page { padding-bottom: 70px; }
.product-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 54px; padding-top: 6px; }
.gallery-main { background: var(--cream); border-radius: var(--radius-lg); aspect-ratio: 1/1; position: relative; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.gallery-main img[src$='.jpg'] { mix-blend-mode: multiply; }
.gallery-badge { position: absolute; top: 18px; left: 18px; border-radius: 999px; padding: 6px 11px; font-size: 11px; font-weight: 800; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { width: 80px; height: 80px; border-radius: 12px; border: 1px solid transparent; background: var(--cream); overflow: hidden; padding: 2px; }
.gallery-thumbs button.active { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs img[src$='.jpg'] { mix-blend-mode: multiply; }
.product-info-panel { padding-top: 6px; }
.product-info-panel h1 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -1.5px; line-height: 1.05; margin: 8px 0 10px; }
.product-rating { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); margin-bottom: 16px; }
.product-rating .stars { color: #e5a900; }
.product-rating strong { color: var(--ink); }
.product-short { font-size: 13.5px; line-height: 1.7; color: #55574c; margin-bottom: 20px; }
.product-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.product-price strong { font-size: 30px; letter-spacing: -1px; }
.product-price .old { color: #a2a398; font-size: 15px; text-decoration: line-through; }
.product-price .save { background: #ffeaf0; color: #b22c4f; padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.price-note { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.option-block { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.option-label { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; margin-bottom: 12px; }
.option-label strong { font-weight: 700; }
.stock-note { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--green-dark); font-weight: 600; margin: 20px 0 12px; }
.stock-note.out { color: var(--red); }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .qty-control { height: 52px; }
.buy-row .qty-control button { width: 40px; }
.btn-buy { flex: 1; height: 52px; }
.btn-buy-now { margin-top: 9px; height: 50px; width: 100%; }
.product-perks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 22px 0 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.product-perks span { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: #55574c; font-weight: 600; line-height: 1.35; }
.accordions { margin-top: 16px; }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions details[open] summary .icon { transform: rotate(180deg); }
.accordions summary .icon { transition: .2s; color: var(--muted); }
.accordion-body { padding: 0 0 18px; font-size: 12.5px; line-height: 1.75; color: #5b5d52; }
.accordion-body ul { list-style: disc; padding-left: 20px; margin: 8px 0; }
.accordion-body li { margin: 4px 0; }
.related-section { border-top: 1px solid var(--line); margin-top: 54px; padding-bottom: 0; }
.product-loading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 30px 0; }
.skeleton { background: linear-gradient(100deg, var(--cream) 30%, #fff 50%, var(--cream) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; }
.skeleton-img { aspect-ratio: 1; border-radius: var(--radius-lg); }
.skeleton-copy { padding-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.skeleton.line-sm { height: 14px; width: 30%; }
.skeleton.line-lg { height: 44px; width: 80%; }
.skeleton.line-md { height: 16px; width: 100%; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page { padding-bottom: 80px; }
.cart-layout { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 42px; align-items: start; }
.cart-list-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; font-size: 12px; color: var(--muted); }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-line-img { width: 110px; height: 110px; background: var(--cream); border-radius: 14px; overflow: hidden; }
.cart-line-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-line-img img[src$='.jpg'] { mix-blend-mode: multiply; }
.cart-line-info { display: flex; flex-direction: column; align-items: flex-start; }
.cart-line-name { font-weight: 700; font-size: 15px; }
.cart-line-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.cart-line-sku { font-size: 10px; color: #aaa; margin-top: 2px; }
.cart-line-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.cart-line-price { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 15px; }
.cart-line-price span { font-size: 10px; color: var(--muted); }
.cart-continue { padding-top: 20px; }
.order-summary, .checkout-summary { background: var(--cream); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 110px; }
.order-summary h2, .checkout-summary h2 { font-size: 20px; letter-spacing: -.5px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #5c5e53; padding: 7px 0; }
.summary-row.total { border-top: 1px solid #d9d7cc; margin-top: 10px; padding-top: 15px; font-size: 15px; color: var(--ink); }
.summary-row.total strong { font-size: 22px; letter-spacing: -.7px; }
.summary-hint { font-size: 10.5px; color: var(--green-dark); background: #fff; border-radius: 8px; padding: 8px 10px; margin: 8px 0 2px; }
.order-summary .btn { margin-top: 16px; }
.summary-trust { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-size: 10px; color: var(--muted); }
.summary-trust span { display: inline-flex; align-items: center; gap: 4px; }
.summary-payments { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
.summary-payments span { border: 1px solid #d9d7cc; border-radius: 4px; padding: 3px 6px; font-size: 7.5px; font-weight: 800; color: #777; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-page { padding-bottom: 80px; }
.checkout-steps { display: flex; align-items: center; gap: 10px; padding: 10px 0 34px; max-width: 560px; margin: 0 auto; }
.step { display: flex; align-items: center; gap: 8px; color: #a4a69b; }
.step span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #d6d4c9; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.step p { font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.step.done, .step.active { color: var(--ink); }
.step.done span { background: var(--green); border-color: var(--green); }
.step.active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-line { height: 1px; flex: 1; background: #d6d4c9; min-width: 25px; }
.step-line.done { background: var(--green); }
.checkout-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 38px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 18px; }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card-title { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.card-title span { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.card-title h2 { font-size: 18px; letter-spacing: -.4px; }
.card-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.card-hint a { color: var(--green-dark); font-weight: 700; text-decoration: underline; }
.delivery-options { display: grid; gap: 9px; margin-bottom: 15px; }
.delivery-option { display: flex; align-items: center; gap: 12px; border: 1px solid #dcdad0; border-radius: 14px; padding: 15px; cursor: pointer; transition: .18s; }
.delivery-option.selected { border-color: var(--ink); background: #fbfaf5; }
.delivery-option input { accent-color: var(--green-dark); }
.delivery-option div { flex: 1; }
.delivery-option strong { font-size: 12.5px; display: block; }
.delivery-option small { font-size: 10.5px; color: var(--muted); }
.delivery-price { font-size: 12px; font-weight: 700; white-space: nowrap; }
.payment-option { display: flex; align-items: center; gap: 13px; border: 1px solid #dcdad0; border-radius: 14px; padding: 15px; margin-bottom: 9px; cursor: pointer; }
.payment-option.selected { border-color: var(--ink); background: #fbfaf5; }
.payment-option input { accent-color: var(--green-dark); }
.payment-option div { flex: 1; }
.payment-option strong { display: block; font-size: 12.5px; }
.payment-option small { color: var(--muted); font-size: 10.5px; }
.pay-logo { font-weight: 800; font-size: 11px; color: var(--green-dark); border: 1px solid #d7e9bf; background: #f1f8e9; border-radius: 6px; padding: 5px 7px; letter-spacing: .5px; }
.pay-logo.demo { color: #7a5a08; background: #fff8e6; border-color: #f3e0a8; }
.terms { margin-top: 10px; }
.checkout-summary { padding: 26px; }
.checkout-items { border-bottom: 1px solid #d9d7cc; margin-bottom: 10px; padding-bottom: 9px; max-height: 310px; overflow-y: auto; }
.checkout-item { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.checkout-item-img { width: 52px; height: 52px; border-radius: 10px; background: #fff; position: relative; flex-shrink: 0; }
.checkout-item-img img { width: 100%; height: 100%; object-fit: contain; }
.checkout-item-img img[src$='.jpg'] { mix-blend-mode: multiply; }
.checkout-item-img span { position: absolute; top: -5px; right: -5px; background: var(--ink); color: #fff; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.checkout-item div:nth-child(2) { flex: 1; min-width: 0; }
.checkout-item p { font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-item small { font-size: 9.5px; color: var(--muted); }
.checkout-item > strong { font-size: 11.5px; }
.checkout-summary .btn { margin-top: 14px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 9.5px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   PAYMENT RESULT
   ============================================================ */
.payment-result-page { padding: 60px 0 90px; display: flex; justify-content: center; }
.result-card { max-width: 660px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: var(--shadow-md); }
.result-icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green-dark); margin-bottom: 4px; }
.result-card.error .result-icon { background: #ffe9e7; color: var(--red); }
.result-card.pending .result-icon { background: #fff4d6; color: #8a6200; }
.result-icon.loading { background: var(--cream); }
.result-card h1 { font-size: clamp(25px, 3vw, 34px); letter-spacing: -1px; }
.result-card > p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 520px; }
.result-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; width: 100%; margin: 16px 0 8px; }
.result-summary div { background: #fff; padding: 14px; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.result-summary span { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.result-summary strong { font-size: 13px; }
.result-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.result-note { font-size: 10.5px; color: var(--muted); }

/* ============================================================
   AUTH
   ============================================================ */
.auth-page { padding: 46px 0 74px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); max-width: 1050px; }
.auth-art { background: var(--green); padding: 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 650px; }
.auth-art.green-dark { background: var(--green-deep); color: #fff; }
.auth-art.green-dark .eyebrow { color: #b7e18b; }
.auth-art h1 { font-family: var(--font-display); font-size: clamp(38px, 4vw, 54px); line-height: .96; letter-spacing: -2px; margin-bottom: 16px; }
.auth-art > p { font-size: 13px; line-height: 1.7; max-width: 320px; color: rgba(17,18,15,.72); }
.auth-art.green-dark > p { color: #c3d9b0; }
.auth-art img { width: 290px; margin: 20px auto 10px; filter: drop-shadow(0 22px 30px rgba(0,0,0,.2)); }
.auth-art ul { display: flex; flex-direction: column; gap: 8px; }
.auth-art li { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; }
.auth-art.green-dark li { color: #d6e9c4; }
.auth-form-card { background: #fff; padding: 48px 54px; display: flex; flex-direction: column; justify-content: center; }
.auth-brand { margin-bottom: 30px; }
.auth-form-card h2 { font-size: 28px; letter-spacing: -1px; margin-bottom: 6px; }
.auth-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.auth-form-card .btn { margin-top: 4px; }
.auth-switch { font-size: 12px; text-align: center; color: var(--muted); margin-top: 18px; }
.auth-switch a { font-weight: 700; color: var(--green-dark); text-decoration: underline; }
.input-password { position: relative; }
.input-password input { padding-right: 46px; }
.input-password .icon-btn { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; }
.demo-box { background: var(--cream); border-radius: 12px; padding: 12px 14px; margin-top: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 10.5px; color: var(--muted); }
.demo-box strong { color: var(--ink); font-size: 11px; }
.demo-box a { color: var(--green-dark); font-weight: 700; text-decoration: underline; margin-top: 5px; }

/* ============================================================
   INFO PAGES
   ============================================================ */
.info-page { padding-bottom: 80px; }
.info-head { background: var(--cream); border-radius: var(--radius-lg); padding: 42px; margin-bottom: 32px; }
.info-head h1 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -2px; }
.info-head p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.info-layout { display: grid; grid-template-columns: 230px 1fr; gap: 50px; align-items: start; }
.info-nav { display: flex; flex-direction: column; position: sticky; top: 120px; }
.info-nav a { padding: 11px 14px; font-size: 12px; color: var(--muted); border-left: 2px solid var(--line); }
.info-nav a.active, .info-nav a:hover { color: var(--ink); border-color: var(--ink); font-weight: 700; }
.info-content { max-width: 760px; font-size: 13.5px; line-height: 1.8; color: #4f5147; }
.info-content h2 { font-size: 27px; letter-spacing: -1px; color: var(--ink); margin-bottom: 12px; }
.info-content h3 { font-size: 16px; color: var(--ink); margin: 26px 0 8px; }
.info-content p { margin-bottom: 12px; }
.info-content a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.info-content ul { list-style: disc; padding-left: 22px; margin: 8px 0 16px; }
.info-content li { margin: 5px 0; }
.info-cards, .contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 26px; }
.info-cards div, .contact-cards a { background: var(--cream); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 7px; transition: .2s; }
.contact-socials { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0; }
.contact-socials a { display:inline-flex; align-items:center; gap:7px; padding:9px 14px; border:1px solid var(--line); border-radius:999px; font-size:11px; font-weight:600; background:#fff; transition:.18s; }
.contact-socials a:hover { background:var(--green-soft); border-color:#cfe3b5; }
.contact-map { margin:18px 0; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:var(--cream); }
.contact-map iframe { display:block; width:100%; height:380px; border:0; }
.contact-cards a:hover { background: var(--green-soft); transform: translateY(-2px); }
.info-cards h3, .contact-cards h3 { margin: 0; font-size: 13px; }
.info-cards p, .contact-cards p { font-size: 11.5px; margin: 0; line-height: 1.6; }
.contact-cards span { font-size: 10px; color: var(--muted); }
.size-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 12px; }
.size-table th, .size-table td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.size-table th { background: var(--cream); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   ACCOUNT
   ============================================================ */
.account-page { padding: 30px 0 80px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 34px; }
.account-head h1 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -1.8px; }
.account-head p { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.account-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: 22px; font-weight: 800; flex-shrink: 0; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.account-nav { background: var(--cream); border-radius: var(--radius); padding: 14px; position: sticky; top: 110px; display: flex; flex-direction: column; }
.account-nav-user { padding: 12px 12px 16px; border-bottom: 1px solid #ddd9cc; margin-bottom: 8px; display: flex; flex-direction: column; }
.account-nav-user strong { font-size: 12.5px; }
.account-nav-user span { font-size: 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 9px; font-size: 12px; color: #4f5147; background: none; border: 0; text-align: left; width: 100%; }
.account-nav a:hover, .account-nav button:hover { background: #fff; }
.account-nav a.active { background: var(--ink); color: #fff; }
.account-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.panel-head h2 { font-size: 19px; letter-spacing: -.5px; }
.panel-head p { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.profile-stack { display: flex; flex-direction: column; gap: 18px; }
.account-form { max-width: 720px; }
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--cream); border-bottom: 1px solid var(--line); }
.order-code { font-weight: 800; font-size: 12.5px; margin-right: 12px; }
.order-date { font-size: 10.5px; color: var(--muted); }
.order-card-body { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 18px; align-items: center; padding: 15px 18px; }
.order-card-body div { display: flex; flex-direction: column; gap: 2px; }
.order-card-body span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.order-card-body strong { font-size: 12.5px; }
.order-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.order-detail-head h2 { font-size: 28px; letter-spacing: -1px; }
.order-detail-head p { font-size: 11.5px; color: var(--muted); }
.order-tracker { display: flex; align-items: center; gap: 8px; background: var(--cream); border-radius: 14px; padding: 18px; margin-bottom: 22px; }
.tracker-step { display: flex; align-items: center; gap: 7px; color: #a4a69b; }
.tracker-step span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #ccc9bb; display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.tracker-step p { font-size: 10px; font-weight: 700; white-space: nowrap; }
.tracker-step.done { color: var(--ink); }
.tracker-step.done span { background: var(--green); border-color: var(--green); }
.tracker-step.current span { background: var(--ink); border-color: var(--ink); color: #fff; }
.tracker-line { flex: 1; height: 1px; background: #d3d0c4; min-width: 12px; }
.tracker-line.done { background: var(--green); }
.order-detail-grid { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 30px; }
.order-detail-grid h3 { font-size: 14px; margin-bottom: 10px; }
.detail-items { border-top: 1px solid var(--line); }
.detail-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-item img { width: 58px; height: 58px; border-radius: 10px; background: var(--cream); object-fit: contain; }
.detail-item div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.detail-item strong { font-size: 12.5px; }
.detail-item span, .detail-item small { font-size: 10.5px; color: var(--muted); }
.detail-item b { font-size: 12.5px; }
.info-box { background: var(--cream); border-radius: 12px; padding: 15px; font-size: 11.5px; line-height: 1.7; color: #55574c; }
.info-box p { margin: 0; }
.detail-summary { background: var(--cream); border-radius: 16px; padding: 20px; align-self: start; }
.detail-summary h3 { margin-bottom: 8px; }
.payment-info { border-top: 1px solid #d9d7cc; margin-top: 12px; padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.payment-info span { font-size: 9px; text-transform: uppercase; color: var(--muted); letter-spacing: .8px; }
.payment-info strong { font-size: 12.5px; }
.payment-info small { font-size: 10.5px; color: var(--muted); }
.detail-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.back-link { margin-bottom: 18px; border-bottom: 0; }
.address-form { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 18px; }
.form-actions { display: flex; gap: 9px; }
.address-list { display: flex; flex-direction: column; gap: 9px; }
.address-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.address-card strong { font-size: 12.5px; display: flex; align-items: center; gap: 7px; }
.address-card p { font-size: 11.5px; color: #55574c; margin-top: 3px; }
.address-card small { font-size: 10px; color: var(--muted); }
.loading-block { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 36px; color: var(--muted); font-size: 12.5px; }

/* ============================================================
   ADMIN LOGIN
   ============================================================ */
.admin-login-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }
.admin-login-art { background: var(--green-deep); color: #fff; padding: 44px 54px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.admin-login-copy { margin: auto 0; position: relative; z-index: 2; }
.admin-login-copy h1 { font-family: var(--font-display); font-size: clamp(42px, 5vw, 70px); line-height: .93; letter-spacing: -3px; margin-bottom: 20px; }
.admin-login-copy h1 em { font-family: var(--font); font-style: normal; color: var(--green); font-weight: 500; }
.admin-login-copy p { font-size: 13.5px; line-height: 1.7; color: #b7cfa4; max-width: 430px; }
.admin-login-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.admin-login-stats div { display: flex; flex-direction: column; gap: 3px; }
.admin-login-stats strong { font-size: 24px; letter-spacing: -1px; }
.admin-login-stats span { font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.2px; color: #91a97e; }
.admin-login-orbit { position: absolute; right: -110px; bottom: -120px; width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.admin-login-orbit::before { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.admin-login-orbit img { width: 300px; opacity: .28; transform: rotate(-10deg); }
.admin-login-foot { font-size: 9.5px; color: #789060; position: relative; z-index: 2; }
.admin-login-form-wrap { display: flex; align-items: center; justify-content: center; padding: 32px; }
.admin-login-card { width: min(100%, 390px); }
.admin-login-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 20px; }
.admin-login-card h2 { font-size: 27px; letter-spacing: -1px; }
.admin-login-card > p { font-size: 12.5px; color: var(--muted); margin: 5px 0 24px; }
.admin-login-card .btn { margin-top: 6px; }
.admin-demo { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; display: flex; flex-direction: column; gap: 5px; }
.admin-demo > span { font-size: 9px; text-transform: uppercase; letter-spacing: 1.3px; color: var(--muted); margin-bottom: 4px; }
.admin-demo button { display: flex; justify-content: space-between; align-items: center; background: var(--cream); border: 1px solid transparent; border-radius: 8px; padding: 8px 11px; text-align: left; }
.admin-demo button:hover { border-color: var(--line); background: #fff; }
.admin-demo strong { font-size: 10.5px; }
.admin-demo small { font-size: 9.5px; color: var(--muted); }
.back-store { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 22px; }
.back-store:hover { color: var(--ink); }

/* ============================================================
   ADMIN SHELL
   ============================================================ */
.admin-shell { min-height: 100vh; background: #f4f3ed; }
.admin-sidebar { position: fixed; top: 0; left: 0; width: 252px; height: 100%; background: #0d1508; color: #dfe6d6; display: flex; flex-direction: column; z-index: 80; padding: 22px 14px 16px; }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.09); margin-bottom: 14px; }
.admin-brand .brand-word { font-size: 30px; }
.admin-brand .brand-country { font-size: 7px; color: #9db18b; }
.admin-badge { margin-left: auto; font-size: 7.5px; letter-spacing: 1.4px; font-weight: 800; border: 1px solid var(--green); color: var(--green); border-radius: 4px; padding: 3px 5px; }
.admin-menu-search { display:flex; align-items:center; gap:7px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.09); border-radius:9px; padding:0 10px; margin:0 2px 12px; color:#819174; }
.admin-menu-search:focus-within { border-color:var(--green); background:rgba(255,255,255,.1); }
.admin-menu-search input { width:100%; min-width:0; border:0; outline:0; background:transparent; color:#f1f5eb; font-size:10.5px; padding:9px 0; }
.admin-menu-search input::placeholder { color:#758568; }
.admin-menu-search input::-webkit-search-cancel-button { display:none; }
.admin-search-clear { border:0; background:rgba(255,255,255,.08); color:#b6c3aa; border-radius:50%; width:19px; height:19px; display:grid; place-items:center; flex-shrink:0; padding:0; }
.admin-search-clear:hover { color:#fff; background:rgba(255,255,255,.16); }
.admin-nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding-right: 2px; }
.admin-nav::-webkit-scrollbar { width: 4px; }
.admin-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }
.admin-nav-label { font-size: 8px; letter-spacing: 1.8px; color: #6d7c5e; padding: 8px 12px 6px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 11.5px; color: #aab8a0; font-weight: 600; transition: .15s; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--green); color: var(--ink); }
.admin-nav a em { margin-left: auto; font-style: normal; background: var(--amber); color: var(--ink); border-radius: 999px; font-size: 8px; font-weight: 800; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.admin-nav a.active em { background: var(--ink); color: #fff; }
.admin-nav-group { display:flex; flex-direction:column; gap:2px; border-radius:9px; }
.admin-nav-parent { display:flex; align-items:center; gap:10px; width:100%; border:0; background:transparent; color:#aab8a0; font-size:11.5px; font-weight:600; padding:10px 12px; border-radius:9px; text-align:left; transition:.15s; }
.admin-nav-parent:hover { background:rgba(255,255,255,.06); color:#fff; }
.admin-nav-group.active > .admin-nav-parent { color:#fff; background:rgba(116,182,46,.12); }
.admin-nav-parent > span { flex:1; }
.group-count { font-style:normal; font-size:8px; font-weight:800; min-width:17px; height:17px; border-radius:999px; display:grid; place-items:center; padding:0 5px; background:rgba(255,255,255,.09); color:#9aac8c; }
.admin-nav-group.active .group-count { background:rgba(116,182,46,.25); color:#c9e8a9; }
.group-chevron { color:#758568; transition:transform .2s ease; flex-shrink:0; }
.admin-nav-group.open .group-chevron { transform:rotate(180deg); }
.admin-subnav { display:flex; flex-direction:column; gap:1px; margin:1px 0 3px 19px; padding-left:9px; border-left:1px solid rgba(255,255,255,.11); }
.admin-nav .admin-subnav a { padding:8px 10px; font-size:10.5px; border-radius:7px; color:#96a78a; }
.admin-nav .admin-subnav a:hover { color:#fff; background:rgba(255,255,255,.06); }
.admin-nav .admin-subnav a.active { background:var(--green); color:var(--ink); font-weight:700; }
.admin-nav .admin-subnav a.active em { background:var(--ink); color:#fff; }
.admin-nav-empty { display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; padding:24px 12px; color:#819174; }
.admin-nav-empty p { font-size:9.5px; line-height:1.6; margin:0; }
.admin-sidebar-foot { border-top: 1px solid rgba(255,255,255,.09); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.view-store { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #8c9d7e; padding: 4px 10px; }
.view-store:hover { color: #fff; }
.admin-user { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.05); border-radius: 11px; padding: 9px; }
.admin-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; font-size: 10.5px; font-weight: 800; flex-shrink: 0; }
.admin-user > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-user strong { font-size: 10.5px; color: #f1f5eb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-user small { font-size: 8.5px; color: #8c9d7e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-user .icon-btn { color: #8c9d7e; width: 30px; height: 30px; }
.admin-user .icon-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-main { margin-left: 252px; min-height: 100vh; display: flex; flex-direction: column; }
.admin-topbar { height: 68px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 40; }
.admin-topbar-left { display: flex; align-items: center; gap: 10px; }
.admin-topbar-left > div { display: flex; flex-direction: column; gap: 1px; }
.admin-topbar-left span { font-size: 8.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); }
.admin-topbar-left strong { font-size: 13px; letter-spacing: -.2px; }
.admin-topbar-right { display: flex; align-items: center; gap: 18px; }
.admin-date { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); text-transform: capitalize; }
.admin-profile-chip { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; background: var(--cream); border-radius: 999px; padding: 4px 10px 4px 5px; }
.admin-avatar.small { width: 25px; height: 25px; font-size: 8.5px; }
.admin-content { padding: 28px; flex: 1; }
.admin-overlay { display: none; }
.admin-page { max-width: 1500px; margin: 0 auto; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }

/* Admin page head */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 27px; letter-spacing: -1px; line-height: 1.1; }
.page-head p { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.page-head .eyebrow { font-size: 8.5px; margin-bottom: 5px; }
.page-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Panels & stats */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 1px 2px rgba(20,24,14,.03); }
.panel + .panel { margin-top: 18px; }
.panel .panel-head { margin-bottom: 14px; }
.panel .panel-head h2 { font-size: 14px; }
.panel .panel-head p { font-size: 10.5px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; gap: 13px; align-items: flex-start; }
.stat-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.stat-icon.green { background: var(--green-soft); color: var(--green-dark); }
.stat-icon.blue { background: var(--blue-soft); color: #346780; }
.stat-icon.amber { background: #fff4d6; color: #8a6200; }
.stat-icon.pink { background: var(--pink-soft); color: #a94060; }
.stat-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat-copy > span { font-size: 9.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 700; }
.stat-copy strong { font-size: 23px; letter-spacing: -1px; line-height: 1.15; }
.stat-copy small { font-size: 9.5px; color: var(--muted); }
.skeleton-card { height: 94px; background: linear-gradient(100deg, #fff 30%, var(--cream) 50%, #fff 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.dashboard-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 16px; margin-bottom: 16px; }
.dashboard-grid.lower { grid-template-columns: 1.65fr 1fr; }
.chart-panel { min-height: 290px; }
.bar-chart { display: flex; align-items: flex-end; gap: 12px; height: 210px; padding: 8px 6px 0; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0; }
.bar-value { font-size: 8px; color: var(--muted); white-space: nowrap; height: 12px; }
.bar-track { flex: 1; width: 100%; max-width: 40px; display: flex; align-items: flex-end; }
.bar-fill { width: 100%; background: var(--green); border-radius: 6px 6px 3px 3px; min-height: 3px; transition: height .5s ease; }
.bar-col:nth-child(2n) .bar-fill { background: #a8d379; }
.bar-label { font-size: 8.5px; text-transform: capitalize; color: var(--muted); white-space: nowrap; }
.mini-list { display: flex; flex-direction: column; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0efe8; }
.mini-row:last-child { border-bottom: 0; }
.mini-row img { width: 36px; height: 36px; border-radius: 8px; background: var(--cream); object-fit: contain; flex-shrink: 0; }
.mini-row img[src$='.jpg'] { mix-blend-mode: multiply; }
.mini-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-row strong { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row span { font-size: 9px; color: var(--muted); }
.mini-row .badge { font-size: 8.5px; padding: 4px 7px; }
.mini-amount { font-size: 10.5px; white-space: nowrap; }
.rank { width: 18px; height: 18px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 8px; font-weight: 800; color: var(--muted); flex-shrink: 0; }
.top-product .rank { margin-right: -2px; }

/* Tables */
.table-scroll { overflow-x: auto; margin: 0 -4px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11.5px; min-width: 720px; }
.data-table th { text-align: left; font-size: 8.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 800; padding: 9px 10px; border-bottom: 1px solid var(--line); background: #fcfbf7; white-space: nowrap; }
.data-table td { padding: 11px 10px; border-bottom: 1px solid #f0efe8; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fbfaf5; }
.data-table.compact { min-width: 520px; }
.data-table.compact td { padding: 8px 9px; }
.actions-col { width: 110px; }
.row-actions { display: flex; gap: 2px; }
.row-actions .icon-btn { width: 30px; height: 30px; }
.client-cell, .product-cell, .module-cell { display: flex; flex-direction: column; gap: 1px; }
.client-cell span, .product-cell span, .module-cell span { font-size: 9.5px; color: var(--muted); }
.product-cell { flex-direction: row; align-items: center; gap: 9px; }
.product-cell img { width: 38px; height: 38px; border-radius: 8px; background: var(--cream); object-fit: contain; flex-shrink: 0; }
.product-cell img[src$='.jpg'] { mix-blend-mode: multiply; }
.product-cell > div { display: flex; flex-direction: column; gap: 1px; }
.product-cell strong { font-size: 11px; }
.module-cell { flex-direction: row; align-items: center; gap: 9px; }
.module-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; flex-shrink: 0; }
.module-icon.group-icon { background: var(--ink); color: var(--green); }
.module-cell > div { display: flex; flex-direction: column; }
.module-cell strong { font-size: 11px; }
.code-cell { font-size: 10.5px; }
.code-chip { background: var(--cream); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; font-size: 8.5px; font-family: ui-monospace, 'Cascadia Code', monospace; }
.chip-list { display: flex; gap: 3px; flex-wrap: wrap; max-width: 240px; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar-search { display: flex; align-items: center; gap: 8px; border: 1px solid #d8d7cd; border-radius: 9px; padding: 0 11px; flex: 1; min-width: 200px; max-width: 390px; background: #fff; }
.toolbar-search .icon { color: var(--muted); }
.toolbar-search input { border: 0; outline: none; padding: 10px 0; font-size: 11.5px; width: 100%; background: transparent; }
.toolbar select, .toolbar input[type="date"] { border: 1px solid #d8d7cd; border-radius: 9px; padding: 9px 11px; font-size: 10.5px; background: #fff; }
.toolbar .link-button { margin-left: 2px; }

/* Admin modals / forms */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(10,12,7,.5); backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; animation: fadeIn .15s ease; }
.modal-panel { background: #fff; border-radius: 18px; width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,.22); margin: auto; }
.modal-sm { max-width: 440px; }
.modal-md { max-width: 640px; }
.modal-lg { max-width: 900px; }
.modal-xl { max-width: 1060px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 18px; letter-spacing: -.4px; }
.modal-head p { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.modal-head .icon-btn { width: 34px; height: 34px; }
.modal-body { padding: 22px 24px; }
.modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 18px; flex-wrap: wrap; }
.modal-actions .inline-field { margin-right: auto; display: flex; align-items: center; gap: 8px; }
.inline-field span { font-size: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.admin-form .form-section { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.admin-form .form-section:last-of-type { border-bottom: 0; }
.admin-form .form-section > h3 { font-size: 13px; margin-bottom: 14px; }
.form-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.form-section-head h3 { font-size: 13px; }
.form-section-head p { font-size: 10px; color: var(--muted); margin-top: 3px; }
.check-row { display: flex; gap: 24px; flex-wrap: wrap; padding-bottom: 6px; }
.variant-list { display: flex; flex-direction: column; gap: 8px; }
.variant-row { display: grid; grid-template-columns: 20px 1.2fr 0.9fr 0.8fr 1.1fr 0.9fr 32px; gap: 7px; align-items: end; background: #fbfaf5; border: 1px solid #eeede5; border-radius: 10px; padding: 8px 10px; }
.variant-row .field { margin-bottom: 0; gap: 4px; }
.variant-row .field > span { font-size: 8.5px; }
.variant-row .field input, .variant-row .field select { padding: 8px 9px; font-size: 10.5px; border-radius: 7px; }
.variant-index { width: 18px; height: 18px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 8px; font-weight: 800; color: var(--muted); align-self: center; }
.form-grid .field { margin-bottom: 12px; }
.image-manager { display: flex; flex-direction: column; gap: 16px; }
.upload-drop { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px dashed #cfcdc1; border-radius: 12px; padding: 22px; background: var(--cream); cursor: pointer; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.upload-drop:hover { border-color: var(--green-dark); color: var(--ink); }
.upload-drop input { display: none; }
.image-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.image-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.image-card.primary { border-color: var(--green); }
.image-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--cream); }
.image-card-actions { display: flex; align-items: center; justify-content: space-between; padding: 6px; gap: 4px; }
.image-card-actions .icon-btn { width: 26px; height: 26px; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.options-grid h3 { font-size: 13px; margin-bottom: 10px; }
.inline-form { display: flex; gap: 6px; margin-bottom: 12px; }
.inline-form input:not([type="color"]) { flex: 1; min-width: 0; border: 1px solid #d8d7cd; border-radius: 8px; padding: 8px 10px; font-size: 11px; }
.color-picker { width: 40px; height: 36px; border: 1px solid #d8d7cd; border-radius: 8px; padding: 3px; background: #fff; }
.option-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.option-list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0efe8; font-size: 11px; }
.option-list li > span:nth-child(2) { font-weight: 600; }
.option-list small { color: var(--muted); font-size: 9px; margin-left: auto; }
.option-list .icon-btn { width: 26px; height: 26px; }
.size-pill { min-width: 30px; height: 26px; border: 1px solid #d8d7cd; border-radius: 6px; display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.confirm-banner { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 220; background: var(--ink); color: #fff; border-radius: 14px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md); font-size: 11.5px; max-width: calc(100vw - 32px); }
.confirm-banner .btn-danger-ghost { background: transparent; color: #ff9e95; border-color: #7a2b23; }
.confirm-banner .btn-ghost { color: #fff; }
.confirm-banner .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Access matrix */
.access-info { display: flex; gap: 11px; align-items: flex-start; background: #f1f8e9; border: 1px solid #d7e9bf; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; color: #42651f; font-size: 11px; line-height: 1.6; }
.access-info .icon { flex-shrink: 0; margin-top: 1px; }
.access-summary { display: flex; gap: 20px; align-items: center; background: var(--cream); border-radius: 10px; padding: 11px 14px; margin-bottom: 14px; font-size: 10.5px; color: var(--muted); flex-wrap: wrap; }
.access-summary strong { color: var(--ink); }
.access-matrix { display: flex; flex-direction: column; gap: 8px; max-height: 58vh; overflow-y: auto; padding-right: 4px; }
.access-module { border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; opacity: .68; transition: .2s; }
.access-module.enabled { opacity: 1; border-color: #d7e9bf; background: #fdfefb; }
.access-module header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.access-module header .check-line span { display: flex; flex-direction: column; }
.access-module header strong { font-size: 11.5px; }
.access-module header small { font-size: 9px; color: var(--muted); font-weight: 400; }
.access-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e5e3d8; }
.access-buttons.disabled { opacity: .35; pointer-events: none; }
.access-button { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; background: #fff; cursor: pointer; }
.access-button.granted { background: var(--green-soft); border-color: #cfe3b5; }
.access-button input { width: 13px; height: 13px; accent-color: var(--green-dark); }
.access-button span { display: flex; flex-direction: column; }
.access-button strong { font-size: 9.5px; font-weight: 700; }
.access-button small { font-size: 7.5px; color: var(--muted); font-family: ui-monospace, monospace; }
.access-denied-page { display: flex; align-items: center; justify-content: center; min-height: 65vh; }
.access-denied-card { max-width: 560px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.access-denied-icon { width: 66px; height: 66px; border-radius: 50%; background: #fff4d6; color: #8a6200; display: grid; place-items: center; }
.access-denied-card h1 { font-size: 26px; letter-spacing: -1px; }
.access-denied-card p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.access-denied-card .btn { margin-top: 10px; }

/* Settings */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.settings-card.full { grid-column: 1 / -1; }
.settings-card h2 { font-size: 15px; }
.settings-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; color: var(--ink); }
.settings-icon.green { background: var(--green-soft); }
.settings-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.settings-divider { border-top:1px solid var(--line); padding-top:14px; margin-top:2px; margin-bottom:4px; }
.settings-divider span { font-size:9.5px; font-weight:800; text-transform:uppercase; letter-spacing:1.2px; color:var(--green-dark); }
.webhook-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--cream); border-radius: 10px; padding: 12px 14px; margin-top: 6px; flex-wrap: wrap; }
.webhook-box > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.webhook-box span { font-size: 8.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
.webhook-box code { font-size: 9.5px; color: var(--ink); word-break: break-all; }

/* Detail modal bits */
.order-detail-modal .detail-topline { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.detail-date { font-size: 9.5px; color: var(--muted); margin-left: auto; }
.detail-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.detail-box { background: var(--cream); border-radius: 10px; padding: 13px; }
.detail-box h4 { font-size: 8.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.detail-box p { font-size: 10.5px; line-height: 1.6; color: #4f5147; margin: 0; }
.detail-box.notes { margin-top: 14px; }
.section-subtitle { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin: 14px 0 8px; color: var(--muted); }
.detail-totals { margin-left: auto; width: 260px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.detail-totals > div { display: flex; justify-content: space-between; font-size: 11px; padding: 4px 0; color: #55574c; }
.detail-totals .total { font-size: 14px; color: var(--ink); border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.customer-detail .detail-columns { margin-bottom: 14px; }
.icon-preview { display: flex; align-items: center; gap: 9px; background: var(--cream); border-radius: 8px; padding: 10px 12px; font-size: 10px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-stack { position: fixed; bottom: 20px; right: 20px; z-index: 500; display: flex; flex-direction: column; gap: 8px; width: min(360px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 13px; box-shadow: var(--shadow-md); animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }
.toast p { flex: 1; font-size: 11.5px; line-height: 1.5; }
.toast-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.toast-error .toast-icon { background: #ff9e95; }
.toast-info .toast-icon { background: var(--amber); }
.toast-close { background: none; border: 0; color: #8d9083; padding: 4px; }
.toast-close:hover { color: #fff; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 34px 0 0; }
.page-btn { min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid #d8d7cd; background: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; padding: 0 8px; }
.page-btn:hover:not(:disabled) { border-color: var(--ink); }
.page-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-dots { color: var(--muted); font-size: 11px; padding: 0 4px; }
.pagination-info { text-align: center; font-size: 10px; color: var(--muted); margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .main-nav { gap: 18px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-results .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-blob { width: 400px; height: 400px; }
  .hero-ring { width: 440px; height: 440px; }
  .hero-img { width: 410px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .dashboard-grid.lower { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-card.full { grid-column: auto; }
  .variant-row { grid-template-columns: 20px 1.2fr 0.9fr 0.8fr 1fr 0.9fr 32px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid article:nth-child(2) { border-right: 1px solid var(--line); }
}

@media (max-width: 980px) {
  .container { width: calc(100% - 36px); }
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex !important; }
  .header-main { min-height: 66px; gap: 8px; }
  .brand-word { font-size: 30px; }
  .header-main .brand-logo { height: 40px; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 40px 0 50px; gap: 10px; }
  .hero-copy h1 { font-size: clamp(46px, 11vw, 70px); }
  .hero-visual { min-height: 380px; }
  .hero-blob { width: min(360px, 82vw); height: min(360px, 82vw); }
  .hero-ring { width: min(400px, 90vw); height: min(400px, 90vw); }
  .hero-img { width: min(350px, 78vw); }
  .hero-sticker { right: 4%; top: 0; width: 94px; height: 94px; }
  .hero-price-card { bottom: 5px; left: 3%; }
  .promo-split { grid-template-columns: 1fr; }
  .store-locator { grid-template-columns:1fr; }
  .store-locator-copy { padding:30px; }
  .store-map, .store-map iframe { min-height:320px; }
  .promo-visual { min-height: 330px; padding: 32px; }
  .promo-img { width: 300px; right: -60px; opacity: .9; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-form { justify-self: stretch; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: 0; height: 100%; width: min(340px, 88vw); background: #fff; z-index: 100; padding: 22px; overflow-y: auto; transform: translateX(-100%); transition: .3s; }
  .filters.mobile-open { transform: translateX(0); }
  .filters-head { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .filters .clear-filters { margin-top: 14px; }
  .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .gallery { max-width: 620px; margin: 0 auto; width: 100%; }
  .product-info-panel { padding-top: 0; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary, .checkout-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-steps { max-width: 100%; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-art { min-height: 320px; padding: 30px; }
  .auth-art img { width: 180px; margin: 0; position: absolute; right: -20px; bottom: -20px; opacity: .55; }
  .auth-art ul { display: none; }
  .auth-art > p { display: none; }
  .auth-form-card { padding: 34px; }
  .info-layout { grid-template-columns: 1fr; gap: 18px; }
  .info-nav { flex-direction: row; overflow-x: auto; position: static; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
  .info-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .info-nav a.active { border-color: var(--ink); }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; flex-direction: row; overflow-x: auto; align-items: center; padding: 8px; }
  .account-nav-user { display: none; }
  .account-nav a, .account-nav button { white-space: nowrap; width: auto; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .admin-login-page { grid-template-columns: 1fr; }
  .admin-login-art { min-height: 320px; padding: 30px; }
  .admin-login-copy h1 { font-size: 40px; }
  .admin-login-stats, .admin-login-foot { display: none; }
  .admin-login-orbit { width: 300px; height: 300px; right: -80px; bottom: -80px; }
  .admin-login-orbit img { width: 200px; }
  .admin-login-form-wrap { padding: 34px 20px 50px; }
  .admin-sidebar { transform: translateX(-100%); transition: .25s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-overlay.show { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 70; }
  .admin-content { padding: 20px; }
  .admin-topbar { padding: 0 20px; }
  .admin-close { margin-left: auto; color: #fff; }
  .detail-columns { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 16px 10px; }
  .modal-body { padding: 18px; }
  .modal-head { padding: 16px 18px; }
  .variant-row { grid-template-columns: 18px 1fr 1fr 32px; }
  .variant-row .field:nth-of-type(4), .variant-row .field:nth-of-type(5), .variant-row .field:nth-of-type(6) { grid-column: span 1; }
  .options-grid { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: repeat(3, 1fr); }
  .order-card-body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 28px); }
  .promo-inner { gap: 7px; font-size: 9.5px; text-align: center; }
  .promo-inner .promo-link, .promo-sep, .promo-inner span:nth-child(3) { display: none; }
  .promo-inner span:first-child { display: inline; }
  .hero-copy h1 { letter-spacing: -2px; }
  .hero-copy > p { font-size: 13.5px; }
  .hero-perks { gap: 12px; }
  .hero-perks span { font-size: 10px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 22px; align-items: flex-start; }
  .section-head h2 { font-size: 27px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { min-height: 210px; }
  .category-info { padding: 14px; }
  .category-info h3 { font-size: 14px; }
  .product-grid, .catalog-results .product-grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .product-name { font-size: 13px; }
  .price { font-size: 14px; }
  .product-media { border-radius: 14px; }
  .product-meta { font-size: 8.5px; }
  .product-meta .rating { display: none; }
  .promo-visual { padding: 24px; min-height: 300px; }
  .promo-visual h2 { font-size: 38px; }
  .promo-img { width: 240px; opacity: .7; right: -80px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid article { border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .benefits-grid article:first-child { border-left: 0; }
  .quote-banner { padding: 38px 24px; }
  .quote-mark { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom div { gap: 10px; }
  .catalog-head { padding-bottom: 22px; }
  .catalog-results .product-grid { grid-template-columns: 1fr 1fr; }
  .results-toolbar { flex-direction: column; align-items: flex-start; }
  .sort-select { width: 100%; justify-content: space-between; }
  .cart-line { grid-template-columns: 82px 1fr; }
  .cart-line-img { width: 82px; height: 82px; }
  .cart-line-price { grid-column: 2; align-items: flex-start; flex-direction: row; gap: 10px; }
  .cart-line-price span { display: none; }
  .checkout-card { padding: 20px; border-radius: 18px; }
  .checkout-steps { gap: 4px; }
  .step p { font-size: 8.5px; }
  .step span { width: 22px; height: 22px; font-size: 8px; }
  .checkout-item-img { width: 42px; height: 42px; }
  .auth-form-card { padding: 26px 20px; }
  .auth-art { padding: 24px; min-height: 260px; }
  .auth-art h1 { font-size: 32px; }
  .result-card { padding: 28px 20px; }
  .result-summary { grid-template-columns: 1fr; }
  .info-head { padding: 26px 22px; }
  .info-cards, .contact-cards { grid-template-columns: 1fr; }
  .account-head { align-items: flex-start; }
  .account-avatar { width: 52px; height: 52px; font-size: 18px; }
  .order-card-body { grid-template-columns: 1fr 1fr; gap: 10px; }
  .order-card-body .btn { grid-column: 1 / -1; }
  .order-tracker { overflow-x: auto; }
  .tracker-step p { font-size: 8px; }
  .tracker-line { min-width: 8px; }
  .form-grid.two, .doc-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1; }
  .toolbar { gap: 6px; }
  .toolbar-search { max-width: none; width: 100%; }
  .toolbar select, .toolbar input[type="date"] { flex: 1; min-width: 120px; }
  .admin-topbar-right .admin-date, .admin-profile-chip span:last-child { display: none; }
  .admin-content { padding: 14px; }
  .admin-topbar { height: 60px; padding: 0 14px; }
  .admin-page .page-head h1 { font-size: 22px; }
  .panel { padding: 14px; }
  .variant-row { grid-template-columns: 18px 1fr 1fr; }
  .variant-row button { grid-column: 3; justify-self: end; }
  .variant-row .field:nth-of-type(4), .variant-row .field:nth-of-type(5), .variant-row .field:nth-of-type(6) { grid-column: 2 / -1; }
  .image-grid { grid-template-columns: repeat(2, 1fr); }
  .access-module header { align-items: flex-start; flex-direction: column; gap: 6px; }
  .admin-login-card h2 { font-size: 24px; }
  .confirm-banner { flex-wrap: wrap; bottom: 12px; }
  .confirm-banner span { width: 100%; }
  .product-perks { grid-template-columns: 1fr; gap: 8px; }
  .order-summary { padding: 20px; }
}

/* Punto de venta */
.pos-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 18px; align-items: start; }
.pos-catalog { min-height: 560px; }
.pos-toolbar { margin-bottom: 14px; }
.pos-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pos-product { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; text-align: left; font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.pos-product:hover { border-color: var(--green); box-shadow: 0 6px 18px rgba(20, 24, 14, .07); }
.pos-product img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream); }
.pos-product > div { padding: 9px 11px 11px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pos-product strong { font-size: 11.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-product span { font-size: 9px; color: var(--muted); }
.pos-product-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 6px; }
.pos-product-foot b { font-size: 12px; }
.pos-product-foot em { font-style: normal; font-size: 8.5px; color: var(--muted); }
.pos-ticket { position: sticky; top: 82px; max-height: calc(100vh - 104px); overflow: auto; display: flex; flex-direction: column; gap: 13px; }
.pos-ticket-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.pos-ticket-head h2 { font-size: 15px; }
.pos-customer { display: flex; flex-direction: column; gap: 8px; }
.pos-customer-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.pos-customer-results { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pos-customer-results button { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 0; border-bottom: 1px solid #f0efe8; background: #fff; text-align: left; cursor: pointer; font-family: inherit; }
.pos-customer-results button:last-child { border-bottom: 0; }
.pos-customer-results button:hover { background: var(--cream); }
.pos-customer-results span { font-size: 9.5px; color: var(--muted); }
.pos-lines { display: flex; flex-direction: column; gap: 2px; max-height: 270px; overflow: auto; border-top: 1px solid var(--line); padding-top: 6px; }
.pos-line { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto 22px; align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid #f0efe8; }
.pos-line img { width: 36px; height: 36px; object-fit: cover; border-radius: 7px; background: var(--cream); }
.pos-line-info { min-width: 0; display: flex; flex-direction: column; }
.pos-line-info strong { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-line-info span { font-size: 9px; color: var(--muted); }
.pos-qty { display: flex; align-items: center; gap: 2px; }
.pos-qty button { width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 5px; background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.pos-qty b { min-width: 18px; text-align: center; font-size: 10.5px; }
.pos-line-total { font-size: 10.5px; white-space: nowrap; }
.pos-line-remove { color: #a42a1f; }
.pos-empty-cart { text-align: center; padding: 24px 10px; color: var(--muted); font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pos-summary { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; }
.pos-summary > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pos-summary input { width: 85px; padding: 5px 7px; border: 1px solid #d8d7cd; border-radius: 6px; text-align: right; font-size: 11px; }
.pos-summary .total { border-top: 1px solid var(--line); margin-top: 3px; padding-top: 8px; font-size: 15px; }
.pos-label { font-size: 8.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 800; }
.pos-payment { display: flex; flex-direction: column; gap: 7px; }
.pos-payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pos-payment-grid button { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 4px; border: 1px solid #d8d7cd; border-radius: 8px; background: #fff; font-size: 9.5px; font-family: inherit; cursor: pointer; }
.pos-payment-grid button.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.pos-cash { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.pos-cash > div { display: flex; flex-direction: column; gap: 2px; font-size: 9.5px; color: var(--muted); }
.pos-cash > div strong { font-size: 13px; color: var(--ink); }
.pos-invoice-info { display: flex; gap: 10px; align-items: center; background: var(--cream); border-radius: 10px; padding: 9px 11px; }
.pos-invoice-info div { display: flex; flex-direction: column; }
.pos-invoice-info span { font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pos-invoice-info strong { font-size: 11px; }
.pos-submit { margin-top: 2px; }
.pos-variant-list { display: flex; flex-direction: column; gap: 8px; }
.pos-variant { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; text-align: left; font-family: inherit; }
.pos-variant:hover { border-color: var(--green); }
.pos-variant div { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pos-variant span { font-size: 9.5px; color: var(--muted); }
.pos-recent { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.pos-recent h3 { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 8px; }
.pos-recent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.pos-recent-item { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 10px; }
.pos-recent-item div { display: flex; flex-direction: column; gap: 1px; }
.pos-recent-item span, .pos-recent-item small { color: var(--muted); font-size: 9px; }
.receipt-frame { width: 100%; height: min(72vh, 760px); border: 1px solid var(--line); border-radius: 10px; background: #f3f2ec; }
.certificate-box { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border: 1px dashed #d8d7cd; border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.certificate-box > div:first-child { display: flex; flex-direction: column; gap: 3px; font-size: 11px; max-width: 420px; }
.certificate-box small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.certificate-actions { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.certificate-actions input[type="file"] { font-size: 10px; max-width: 220px; }
.sunat-checks { margin: 10px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.sunat-checks li { display: flex; align-items: center; gap: 6px; }
.sunat-checks li.ok { color: #3f6b19; }
.cell-sub { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-red { color: #a42a1f !important; }

@media (max-width: 1100px) {
  .pos-layout { grid-template-columns: 1fr; }
  .pos-ticket { position: static; max-height: none; }
}

@media (max-width: 680px) {
  .pos-product-grid { grid-template-columns: 1fr 1fr; }
  .pos-customer-search { grid-template-columns: 1fr 1fr; }
  .pos-customer-search .btn { grid-column: 1 / -1; }
  .pos-payment-grid { grid-template-columns: 1fr 1fr; }
  .certificate-actions { width: 100%; }
}
