/* ==========================================================================
   Kouhsan (عصاره کوهسان) — honey & beekeeping storefront theme
   RTL, mobile-first. Logical properties used throughout.
   ========================================================================== */
:root {
  --honey: #E39A0B;
  --honey-dark: #B97705;
  --honey-light: #F7C95B;
  --honey-soft: #FFF1CC;
  --cream: #FFF9EC;
  --cream-2: #FBF1DA;
  --brown: #3B2412;
  --brown-2: #5A3A20;
  --leaf: #4E7A3C;
  --leaf-soft: #E6F0DE;
  --danger: #B3261E;
  --danger-soft: #FCE8E6;
  --text: #2E2014;
  --text-muted: #7A6652;
  --border: #EADBC0;
  --surface: #FFFFFF;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 2px 10px rgba(59, 36, 18, .08);
  --shadow-lg: 0 10px 30px rgba(59, 36, 18, .16);
  --gap: 16px;
  --font: 'Vazirmatn', 'Vazir', Tahoma, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bottom-bar-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.8;
  color: var(--text); background: var(--cream); overflow-x: hidden;
  padding-block-end: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--honey-dark); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.5; color: var(--brown); }
h1 { font-size: 20px; } h2 { font-size: 18px; } h3 { font-size: 15px; }
p { margin: 0 0 .8em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp-field { position: absolute; left: 0; top: 0; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 14px; }
.hint { color: var(--text-muted); font-size: 12.5px; }
.center { text-align: center; }
.h2 { font-size: 18px; }
.err-text { color: var(--danger); font-size: 12.5px; }
.js .no-js-only { display: none; }
.plain li { padding-block: 2px; }
main.container { min-height: 50vh; padding-block-end: 30px; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 8px 20px; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 13.5px; cursor: pointer; transition: background .2s, color .2s, transform .1s, box-shadow .2s;
  text-align: center; line-height: 1.4;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brown); color: #fff; }
.btn-primary:hover { background: var(--brown-2); color: #fff; }
.btn-amber { background: var(--honey); color: #2a1a05; }
.btn-amber:hover { background: var(--honey-light); color: #2a1a05; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--brown); }
.btn-ghost:hover { border-color: var(--honey); color: var(--honey-dark); }
.btn-light { background: rgba(255,255,255,.92); color: var(--brown); }
.btn-light:hover { background: #fff; color: var(--brown); }
.btn-sm { min-height: 36px; padding: 5px 14px; font-size: 12.5px; }
.btn-block { display: flex; width: 100%; }

label { display: block; font-size: 12.5px; font-weight: 600; margin-block-end: 4px; color: var(--brown-2); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=search], input[type=password], select, textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px rgba(227, 154, 11, .2); }
input[type=checkbox], input[type=radio] { accent-color: var(--honey-dark); width: 17px; height: 17px; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; margin: 0; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-block-end: 16px; box-shadow: var(--shadow); }
.form-card.narrow, .narrow { max-width: 640px; margin-inline: auto; }
.form-card h3 { padding-block-end: 8px; margin-block-end: 12px; border-block-end: 1px dashed var(--border); }
.field-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field-grid .full { grid-column: 1 / -1; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-block: 12px; font-weight: 600; border: 1px solid transparent; }
.flash.success { background: var(--leaf-soft); color: #2F5A22; border-color: #C9DDBA; }
.flash.error { background: var(--danger-soft); color: var(--danger); border-color: #F3C4C0; }
.flash a { text-decoration: underline; }
.empty-state { background: var(--surface); border: 2px dashed var(--border); border-radius: var(--radius); padding: 36px 18px; text-align: center; color: var(--text-muted); margin-block: 16px; }
.empty-ico { width: 56px; height: 56px; margin: 0 auto 10px; color: var(--honey); }
.breadcrumb { font-size: 12px; color: var(--text-muted); margin-block: 14px 8px; }
.breadcrumb a:hover { text-decoration: underline; }
.pill { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--cream-2); color: var(--brown-2); font-size: 11.5px; font-weight: 700; }
.pill.paid, .pill.delivered { background: var(--leaf-soft); color: #2F5A22; }
.pill.cancelled, .pill.returned { background: var(--danger-soft); color: var(--danger); }
.pill.shipping { background: var(--honey-soft); color: var(--honey-dark); }
.pill.pending_payment { background: #FFE9B8; color: #8A5A00; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--brown); color: #F3DDB0; font-size: 12px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 34px; }
.topbar a { color: var(--honey-light); display: inline-flex; align-items: center; gap: 5px; }
.topbar svg { width: 14px; height: 14px; }
.site-header { background: var(--surface); border-block-end: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.header-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; color: var(--brown); font-size: 17px; }
.brand img { height: 42px; width: auto; max-width: 150px; object-fit: contain; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--honey-light), var(--honey)); color: var(--brown); display: grid; place-items: center; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-name { letter-spacing: -.2px; }
.header-search { grid-column: 1 / -1; position: relative; display: flex; order: 3; }
.header-search input { padding-inline-end: 48px; border-radius: 999px; background: var(--cream); }
.header-search button { position: absolute; inset-inline-end: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--honey); color: var(--brown); cursor: pointer; display: grid; place-items: center; }
.header-search button svg { width: 18px; height: 18px; }
.suggest-box { position: absolute; inset-inline: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden; max-height: 70vh; overflow-y: auto; }
.suggest-box[hidden] { display: none; }
.sg-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-block-end: 1px solid var(--cream-2); }
.sg-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.sg-item span { flex: 1; font-size: 13px; }
.sg-item b { font-size: 12px; color: var(--honey-dark); }
.sg-item:hover, .sg-cat:hover { background: var(--cream); }
.sg-cat { display: block; padding: 8px 12px; font-size: 12.5px; color: var(--text-muted); }
.header-actions { display: flex; justify-content: flex-end; gap: 6px; }
.hbtn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; color: var(--brown); border: 1.5px solid transparent; }
.hbtn:hover { background: var(--cream); color: var(--brown); }
.hbtn svg { width: 20px; height: 20px; }
.hbtn-cart { background: var(--brown); color: #fff; }
.hbtn-cart:hover { background: var(--brown-2); color: #fff; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: var(--honey); color: var(--brown); font-size: 11px; font-weight: 800; font-style: normal; }
.hide-m { display: none; }

/* desktop nav (hidden on mobile; mobile uses the bottom sheet) */
.main-nav { display: none; background: var(--brown); }
.nav-list { display: flex; flex-wrap: wrap; align-items: stretch; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: flex; align-items: center; gap: 4px; padding: 12px 16px; color: #F6E6C4; font-weight: 600; font-size: 13.5px; }
.nav-list > li > a:hover, .nav-list > li:hover > a { background: rgba(255,255,255,.08); color: var(--honey-light); }
.nav-extra { margin-inline-start: auto; }
.caret { font-size: 10px; font-style: normal; opacity: .8; }
.nav-badge { font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 999px; background: var(--honey); color: var(--brown); }
.nav-badge.tone-danger { background: #E5534B; color: #fff; }
.nav-badge.tone-success { background: var(--leaf); color: #fff; }
.nav-badge.tone-info { background: #3E8CC0; color: #fff; }
.nav-badge.tone-muted { background: #B8A98F; color: #fff; }
.drop, .mega { position: absolute; inset-inline-start: 0; top: 100%; background: #fff; border: 1px solid var(--border); border-block-start: 3px solid var(--honey); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); z-index: 70; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.drop { min-width: 210px; padding: 6px 0; }
.nav-list li:hover > .drop, .nav-list li:hover > .mega, .nav-list li:focus-within > .drop, .nav-list li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.drop li { position: relative; }
.drop a { display: block; padding: 8px 16px; font-size: 13px; }
.drop a:hover { background: var(--cream); }
.drop-3 { position: absolute; inset-inline-start: 100%; top: 0; min-width: 190px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); display: none; padding: 6px 0; }
.drop li:hover > .drop-3 { display: block; }
.is-mega { position: static; }
.main-nav .container { position: relative; }
.mega { inset-inline: 0; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; padding: 20px; }
.mega-col h5 { font-size: 13.5px; color: var(--honey-dark); border-block-end: 1px solid var(--border); padding-block-end: 6px; margin-block-end: 8px; }
.mega-col li a { display: block; padding: 3px 0; font-size: 13px; }
.mega-col li a:hover { color: var(--honey-dark); padding-inline-start: 4px; }

/* ---------- Mobile bottom bar & sheet ---------- */
.bottom-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom)); padding-block-end: env(safe-area-inset-bottom); background: #fff; border-block-start: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(59,36,18,.08); }
.bottom-bar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--text-muted); }
.bottom-bar a svg { width: 22px; height: 22px; }
.bottom-bar a.on { color: var(--honey-dark); }
.bottom-bar a.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--honey); }
.bottom-bar .cart-count { position: absolute; top: 6px; inset-inline-start: calc(50% + 4px); min-width: 18px; height: 18px; font-size: 10px; }
.cats-sheet { position: fixed; inset: 0; z-index: 90; display: none; }
.cats-sheet:target { display: block; }
.cats-sheet .ov { position: absolute; inset: 0; background: rgba(30, 16, 5, .55); }
.cats-sheet .panel { position: absolute; inset-inline: 0; bottom: 0; max-height: 82vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); animation: sheetUp .25s ease; }
.cats-sheet .grab { width: 44px; height: 5px; border-radius: 4px; background: var(--border); margin: 4px auto 12px; }
.cats-sheet .panel > a, .cats-sheet summary { display: block; padding: 12px 4px; font-weight: 700; border-block-end: 1px solid var(--cream-2); cursor: pointer; }
.cats-sheet details a { display: block; padding: 9px 12px; font-size: 13px; color: var(--text-muted); }
.cats-sheet .m-l3 { padding-inline-start: 28px; font-size: 12.5px; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Features strip & footer ---------- */
.features-strip { background: var(--honey-soft); border-block: 1px solid var(--border); margin-block-start: 10px; }
.features-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-block: 18px; }
.feature { display: flex; align-items: center; gap: 10px; }
.feature-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; color: var(--honey-dark); display: inline-grid; place-items: center; }
.feature-ico svg { width: 22px; height: 22px; }
.feature b { display: block; font-size: 13px; }
.feature span:not(.feature-ico) { font-size: 11.5px; color: var(--text-muted); }
.site-footer { background: var(--brown); color: #E9D6B4; margin-block-start: 0; position: relative; }
.site-footer::before { content: ""; display: block; height: 10px; background: repeating-linear-gradient(90deg, var(--honey) 0 14px, var(--honey-light) 14px 28px); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding-block: 30px; }
.site-footer h4 { color: var(--honey-light); font-size: 15px; margin-block-end: 10px; }
.site-footer h4 a { color: inherit; }
.site-footer p { font-size: 13px; opacity: .9; }
.site-footer li { padding-block: 3px; }
.site-footer a:hover { color: var(--honey-light); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-block-start: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.socials a:hover { background: var(--honey); color: var(--brown); }
.socials svg { width: 19px; height: 19px; }
.newsletter-form { display: flex; gap: 6px; }
.newsletter-form input { background: rgba(255,255,255,.95); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 14px; align-items: center; }
.trust-row img { height: 56px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.trust-row .pay-badge { height: 34px; }
.footer-bottom { text-align: center; padding: 14px; font-size: 12px; border-block-start: 1px solid rgba(255,255,255,.1); opacity: .85; }

/* ---------- Sections ---------- */
.section { margin-block: 30px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block: 20px 14px; }
.section-head h1, .section-head h2 { margin: 0; position: relative; padding-inline-start: 14px; }
.section-head h1::before, .section-head h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 18%; bottom: 18%; width: 5px; border-radius: 4px; background: linear-gradient(var(--honey-light), var(--honey)); }
.section-head .more { font-size: 12.5px; color: var(--honey-dark); font-weight: 700; }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--honey-dark); background: var(--honey-soft); padding: 2px 12px; border-radius: 999px; margin-block-end: 8px; }

/* hero */
.hero-wrap { position: relative; margin-block-start: 14px; }
.hero-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-slider::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 260px; background: linear-gradient(135deg, var(--brown), var(--brown-2)); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.hero-slide picture, .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,16,5,.82), rgba(30,16,5,.15) 70%); }
.hero-caption { position: relative; z-index: 2; padding: 22px 20px 34px; max-width: 640px; }
.hero-slide.center { justify-content: center; text-align: center; }
.hero-caption h2 { color: #fff; font-size: 22px; margin-block-end: 6px; }
.hero-caption p { font-size: 13.5px; opacity: .95; }
.hero-caption .eyebrow { background: var(--honey); color: var(--brown); }
.hero-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-block-start: 10px; }
.hero-slide.center .hero-btns { justify-content: center; }
.hero-dots { position: absolute; inset-inline: 0; bottom: 10px; display: flex; justify-content: center; gap: 7px; z-index: 3; }
.hero-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s, background .25s; }
.hero-dots span.active { width: 26px; border-radius: 6px; background: var(--honey); }

/* promo banners */
.promo-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-block: 18px; }
.promo-banner { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--brown); min-height: 120px; }
.promo-banner img { width: 100%; height: 100%; object-fit: cover; }
.promo-cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 20px; color: #fff; background: linear-gradient(to left, rgba(30,16,5,.7), transparent 75%); }
.promo-cap b { font-size: 16px; } .promo-cap em { font-style: normal; font-size: 11px; background: var(--honey); color: var(--brown); padding: 1px 10px; border-radius: 999px; align-self: flex-start; }
.promo-cap span { font-size: 12.5px; }

.club-banner { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, var(--honey-soft), #fff); border: 1px solid var(--honey-light); border-radius: var(--radius); padding: 12px 16px; margin-block: 14px; font-size: 13px; }
.club-banner .ico { width: 36px; height: 36px; flex: none; color: var(--honey); }
.club-banner .ico svg { width: 100%; height: 100%; }
.club-banner b { display: block; color: var(--brown); }

/* category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--honey); }
.cat-img { width: 64px; height: 64px; border-radius: 50%; background: var(--honey-soft); color: var(--honey-dark); display: grid; place-items: center; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; } .cat-img svg { width: 32px; height: 32px; }
.cat-tile b { font-size: 12.5px; } .cat-tile small { color: var(--text-muted); font-size: 11px; }
.cat-chip-row, .chip-nav { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px 8px; scrollbar-width: thin; }
.cat-chip, .chip-nav a { flex: none; padding: 7px 18px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--border); font-weight: 600; font-size: 13px; }
.cat-chip:hover, .chip-nav a:hover, .chip-nav a.on { background: var(--honey); border-color: var(--honey); color: var(--brown); }

/* campaign */
.campaign-section { background: linear-gradient(135deg, var(--brown), var(--brown-2)); border-radius: var(--radius); padding: 18px 14px; color: #fff; }
.campaign-section h2 { color: #fff; }
.campaign-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-block-end: 14px; }
.countdown { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; background: rgba(255,255,255,.14); padding: 3px 14px; border-radius: 999px; }
.countdown b { font-variant-numeric: tabular-nums; color: var(--honey-light); }
.campaign-hero { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--brown), var(--brown-2)); color: #fff; min-height: 150px; margin-block-end: 10px; }
.campaign-hero img { width: 100%; max-height: 320px; object-fit: cover; opacity: .55; }
.campaign-hero-cap { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.campaign-hero h1 { color: #fff; }

/* story / beekeeper */
.story-in { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.story-text { padding: 22px 20px; }
.story-text p { color: var(--text-muted); }
.story-img img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; }
.beekeeper-cta { margin-block: 30px; }
.bk-in { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: linear-gradient(120deg, var(--brown) 0%, var(--brown-2) 100%); color: #fff; border-radius: var(--radius); padding: 24px 22px; position: relative; overflow: hidden; }
.bk-in::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 180px; height: 180px; background: var(--honey); opacity: .18; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.bk-in h2 { color: var(--honey-light); } .bk-in p { opacity: .92; max-width: 620px; }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--honey-light); }
.product-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--cream-2); overflow: hidden; }
.thumb-link { display: block; height: 100%; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .4s; }
.product-card:hover .img-main { transform: scale(1.04); }
.img-alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .img-alt { opacity: 1; }
.thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--honey); }
.thumb-ph svg { width: 40%; height: 40%; }
.badges { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.product-badge, .product-badge-off, .product-badge-low { font-size: 10.5px; font-weight: 800; padding: 1px 9px; border-radius: 999px; line-height: 1.8; }
.product-badge { background: var(--leaf); color: #fff; }
.product-badge-off { background: #D9372B; color: #fff; }
.product-badge-low { background: var(--honey-light); color: var(--brown); }
.wish-form { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; margin: 0; }
.wish-btn { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--text-muted); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.wish-btn svg { width: 18px; height: 18px; }
.wish-btn:hover, .wish-btn.on { color: #D9372B; }
.product-info { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 12px; flex: 1; }
.product-cat { font-size: 10.5px; color: var(--leaf); font-weight: 700; }
.product-title { font-weight: 700; font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.product-rate { font-size: 11.5px; color: var(--text-muted); } .star { color: var(--honey); }
.swatch-row { display: flex; align-items: center; gap: 4px; } .swatch { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); vertical-align: middle; }
.product-price { margin-block-start: auto; padding-block: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.product-price .now { font-weight: 900; color: var(--brown); font-size: 14px; }
.product-price .old, .pd-price .old { color: var(--text-muted); text-decoration: line-through; font-size: 11.5px; }
.add-to-cart-btn { width: 100%; min-height: 38px; border: 0; border-radius: 999px; background: var(--honey); color: #2a1a05; font-weight: 800; font-size: 12.5px; cursor: pointer; transition: background .2s; }
.add-to-cart-btn:hover { background: var(--honey-light); }
.add-to-cart-btn:disabled { background: var(--cream-2); color: var(--text-muted); cursor: not-allowed; }
.add-to-cart-btn.is-link { display: flex; align-items: center; justify-content: center; background: var(--brown); color: #fff; }
.add-to-cart-btn.is-link:hover { background: var(--brown-2); color: #fff; }

/* ---------- Shop / filters ---------- */
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
.shop-side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; align-self: start; }
.shop-cats summary { font-weight: 800; cursor: pointer; padding-block: 4px; }
.shop-cats ul ul { padding-inline-start: 14px; border-inline-start: 2px solid var(--honey-soft); margin-inline-start: 4px; }
.shop-cats li a { display: block; padding: 5px 0; font-size: 13px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; margin-block-end: 14px; }
.filter-bar select { width: auto; min-width: 150px; flex: 1 1 140px; }
.filter-bar input[type=number], .filter-bar input[type=search] { flex: 1 1 110px; width: auto; }
.facets { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.facet { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 12px; background: var(--cream); }
.facet summary { cursor: pointer; font-weight: 700; font-size: 12.5px; }
.facet-vals { display: flex; flex-direction: column; gap: 2px; padding-block: 6px; max-height: 200px; overflow-y: auto; }
.facet-val { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 12.5px; margin: 0; }
.cat-banner img { width: 100%; border-radius: var(--radius); max-height: 260px; object-fit: cover; }
.cat-desc { color: var(--text-muted); max-width: 800px; }
.cat-body { margin-block-start: 10px; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-block: 24px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding-inline: 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; }
.pager a:hover { border-color: var(--honey); color: var(--honey-dark); }
.pager .active { background: var(--honey); border-color: var(--honey); color: var(--brown); }

/* ---------- Product page ---------- */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pd-gallery-main { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-gallery-main .product-badge-off { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; }
.pd-thumbs { display: flex; gap: 8px; margin-block-start: 8px; overflow-x: auto; }
.pd-thumbs img { width: 64px; height: 64px; flex: none; object-fit: cover; border-radius: 10px; border: 2px solid var(--border); cursor: pointer; background: #fff; }
.pd-thumbs img:hover, .pd-thumbs img.on { border-color: var(--honey); }
.pd-title { font-size: 20px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--text-muted); margin-block-end: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 10px; }
.tag-row a { font-size: 12px; background: var(--honey-soft); padding: 1px 12px; border-radius: 999px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; margin-block: 10px; }
.pd-price .now { font-size: 24px; font-weight: 900; color: var(--brown); }
.low-stock { color: var(--danger); font-weight: 700; font-size: 12.5px; }
.variant-group { margin-block-end: 14px; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { margin: 0; cursor: pointer; }
.opt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 16px; border: 1.5px solid var(--border); border-radius: 999px; background: #fff; font-weight: 600; font-size: 13px; transition: border-color .15s, background .15s; }
.opt-chip input:checked + span { border-color: var(--honey); background: var(--honey-soft); color: var(--brown); box-shadow: 0 0 0 2px rgba(227,154,11,.25); }
.opt-chip input:focus-visible + span { outline: 2px solid var(--honey); outline-offset: 2px; }
.opt-chips.is-swatch .swatch { width: 20px; height: 20px; }
.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; background: #fff; overflow: hidden; }
.qty-box button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--brown); }
.qty-box button:hover { background: var(--honey-soft); }
.qty-box input { width: 54px; min-height: 42px; border: 0; text-align: center; font-weight: 800; padding: 0; border-radius: 0; }
.qty-box input:focus { box-shadow: none; }
.pd-cta { margin-block: 14px 8px; }
.pd-wish .btn { min-height: 40px; }
.pd-desc { color: var(--text-muted); }
.promise-list { display: grid; gap: 8px; margin-block: 14px; }
.promise-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; background: var(--leaf-soft); padding: 8px 12px; border-radius: var(--radius-sm); }
.promise-list svg { width: 20px; height: 20px; color: var(--leaf); flex: none; }
.spec-table { width: 100%; border-collapse: collapse; margin-block-start: 14px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.spec-table td { padding: 9px 12px; border-block-end: 1px solid var(--cream-2); font-size: 13px; }
.spec-table td:first-child { background: var(--cream); width: 38%; font-weight: 700; color: var(--brown-2); }
.rating-box { display: grid; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-block-end: 16px; }
.rating-avg { display: flex; align-items: baseline; gap: 6px; } .rating-avg b { font-size: 34px; color: var(--brown); } .rating-avg .star { font-size: 22px; }
.rb { display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 8px; font-size: 12px; }
.rb i { height: 8px; border-radius: 6px; background: var(--cream-2); overflow: hidden; } .rb u { display: block; height: 100%; background: var(--honey); }
.review-item, .comment { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-block-end: 10px; }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-block-end: 4px; }
.stars { color: var(--honey); letter-spacing: 2px; } .name { font-weight: 800; } .date { color: var(--text-muted); font-size: 11.5px; margin-inline-start: auto; }
.verified { font-size: 11px; background: var(--leaf-soft); color: var(--leaf); padding: 0 10px; border-radius: 999px; font-weight: 700; }
.review-reply { background: var(--cream); border-inline-start: 3px solid var(--honey); padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.comment.reply { margin-inline-start: 22px; background: var(--cream); } .comment.staff { border-color: var(--honey); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 28px; line-height: 1; color: #D8C9AC; cursor: pointer; margin: 0; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--honey); }
.faq-list { display: grid; gap: 8px; }
.faq { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 2px 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding-block: 11px; }
.sticky-buy { position: fixed; inset-inline: 0; bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-block-start: 1px solid var(--border); padding: 8px 14px; box-shadow: 0 -4px 14px rgba(59,36,18,.1); }
.sb-price small { display: block; font-size: 10.5px; color: var(--text-muted); line-height: 1.3; } .sb-price b { font-size: 15px; }
.sticky-buy .btn { flex: 1; max-width: 240px; }

/* ---------- Cart / checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.table-wrap { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.cart-table th { background: var(--cream-2); padding: 10px 12px; font-size: 12.5px; text-align: start; }
.cart-table td { padding: 12px; border-block-end: 1px solid var(--cream-2); vertical-align: middle; font-size: 13px; }
.cart-item-cell { display: flex; align-items: center; gap: 10px; }
.cart-row-thumb { width: 58px; height: 58px; flex: none; border-radius: 10px; overflow: hidden; background: var(--cream-2); }
.cart-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qty-form { display: flex; gap: 6px; align-items: center; }
.qty-form input { width: 68px; min-height: 38px; }
.summary-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.summary-box h3 { margin-block-end: 12px; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding-block: 7px; font-size: 13px; border-block-end: 1px dashed var(--cream-2); }
.summary-row.discount { color: var(--leaf); font-weight: 700; }
.summary-row.total { font-weight: 900; font-size: 15px; border: 0; border-block-start: 2px solid var(--border); margin-block-start: 6px; padding-block-start: 12px; color: var(--brown); }
.coupon-box { display: flex; gap: 6px; margin-block-start: 14px; }
.back-link { display: block; text-align: center; font-size: 12.5px; color: var(--text-muted); margin-block-start: 10px; }
.free-ship-note { background: var(--honey-soft); border: 1px dashed var(--honey); border-radius: var(--radius-sm); padding: 10px 14px; margin-block-end: 14px; font-size: 13px; }
.radio-card { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); margin-block-end: 8px; cursor: pointer; background: #fff; font-weight: 500; transition: border-color .15s, background .15s; }
.radio-card.selected { border-color: var(--honey); background: var(--honey-soft); }
.rc-body { flex: 1; display: block; } .rc-body b { display: block; font-size: 13px; }
.addr-list { display: grid; gap: 8px; }
.addr-pick { text-align: start; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; cursor: pointer; }
.addr-pick span { display: block; font-size: 12px; color: var(--text-muted); }
.addr-pick:hover, .addr-pick.on { border-color: var(--honey); background: var(--honey-soft); }
.confirm-head { text-align: center; max-width: 640px; margin: 30px auto 18px; }
.confirm-ico { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; background: var(--leaf-soft); color: var(--leaf); display: grid; place-items: center; font-size: 32px; font-weight: 900; }
.confirm-ico.bad { background: var(--danger-soft); color: var(--danger); }
.line-row { display: flex; justify-content: space-between; gap: 10px; padding-block: 9px; border-block-end: 1px solid var(--cream-2); font-size: 13px; }
.line-row.total { font-weight: 900; font-size: 15px; border: 0; padding-block-start: 14px; }
.notice-amber { background: var(--honey-soft); border-color: var(--honey); } .notice-green { background: var(--leaf-soft); border-color: #BBD5A8; }
.meta-list { margin-block-start: 10px; font-size: 12.5px; color: var(--text-muted); }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-block: 20px; }
.timeline { position: relative; padding-inline-start: 22px; }
.timeline li { position: relative; padding-block-end: 16px; color: var(--text-muted); }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--border); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.timeline li::after { content: ""; position: absolute; inset-inline-start: -17px; top: 20px; bottom: -4px; width: 2px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--text); } .timeline li.done::before { background: var(--leaf); box-shadow: 0 0 0 1px var(--leaf); }
.timeline li.current::before { background: var(--honey); box-shadow: 0 0 0 4px rgba(227,154,11,.3); }
.timeline small { display: block; font-size: 11.5px; }

/* ---------- Account ---------- */
.login-wrap { display: grid; place-items: center; padding-block: 24px; }
.login-card { width: 100%; max-width: 440px; }
.login-ico { width: 56px; height: 56px; margin: 0 auto 8px; color: var(--honey); } .login-ico svg { width: 100%; height: 100%; }
.login-card .h2 { text-align: center; }
.otp-input { text-align: center; letter-spacing: 10px; font-size: 22px; font-weight: 800; }
.acc-tabs { display: flex; gap: 6px; overflow-x: auto; margin-block-end: 14px; border-block-end: 2px solid var(--border); }
.acc-tabs a { flex: none; padding: 10px 16px; font-weight: 700; font-size: 13px; border-block-end: 3px solid transparent; margin-block-end: -2px; color: var(--text-muted); }
.acc-tabs a.on { color: var(--brown); border-color: var(--honey); }
.acc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.order-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-block-end: 12px; }
.order-card header { display: flex; justify-content: space-between; align-items: center; margin-block-end: 4px; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-block-start: 8px; }
.return-form { display: flex; gap: 6px; margin-block-start: 10px; }
.progress { height: 10px; background: var(--cream-2); border-radius: 8px; overflow: hidden; } .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--honey-light)); }
.quick-links li a { display: block; padding: 6px 0; }

/* ---------- Contact / pages / blog ---------- */
.contact-list li { padding-block: 7px; border-block-end: 1px dashed var(--cream-2); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 12px; }
.static-page { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; }
.sec-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-block: 18px; text-align: center; }
.sec-stats div { background: var(--honey-soft); border-radius: var(--radius); padding: 14px; } .sec-stats b { display: block; font-size: 22px; color: var(--brown); }
.sec-features, .sec-team, .sec-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-block: 18px; }
.team-card { text-align: center; } .team-card img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; }
.sec-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.rte-content { line-height: 2; }
.rte-content img { border-radius: var(--radius-sm); }
.post-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card .cover { aspect-ratio: 16 / 10; background: var(--cream-2); overflow: hidden; } .post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 12px 14px 16px; } .post-card h3 { font-size: 14.5px; } .post-card p { font-size: 13px; color: var(--text-muted); margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--text-muted); margin-block-start: 8px; }
.blog-layout { display: grid; grid-template-columns: 1fr; gap: 18px; }
.post-article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-block-end: 14px; }
.author-box { display: flex; gap: 12px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 12px; margin-block-start: 16px; }
.author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.state-404 { text-align: center; padding: 50px 10px; }
.state-404 h1 { font-size: 80px; color: var(--honey); margin: 0; line-height: 1.2; }
.state-404 p { color: var(--text-muted); margin-block-end: 20px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 560px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .features-in { grid-template-columns: repeat(4, 1fr); }
  .promo-2, .promo-3 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide { min-height: 340px; } .hero-caption h2 { font-size: 28px; }
  .sec-stats { grid-template-columns: repeat(4, 1fr); } .sec-features, .sec-team, .sec-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  body { padding-block-end: 0; font-size: 14.5px; }
  .bottom-bar, .cats-sheet, .sticky-buy { display: none !important; }
  .container { padding-inline: 20px; }
  .header-top { grid-template-columns: auto minmax(260px, 1fr) auto; }
  .header-search { grid-column: auto; order: 0; max-width: 620px; justify-self: center; width: 100%; }
  .hide-m { display: flex; }
  .main-nav { display: block; }
  .hero-slide { min-height: 420px; } .hero-caption { padding: 40px 48px 56px; } .hero-caption h2 { font-size: 36px; }
  .promo-3 { grid-template-columns: repeat(3, 1fr); }
  .cat-tiles { grid-template-columns: repeat(6, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .shop-layout { grid-template-columns: 250px 1fr; } .shop-side { position: sticky; top: 100px; }
  .product-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .pd-gallery { position: sticky; top: 100px; align-self: start; }
  .checkout-grid { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 22px; }
  .acc-grid { grid-template-columns: 280px 1fr; }
  .rating-box { grid-template-columns: 160px 1fr; align-items: center; }
  .story-in { grid-template-columns: 1fr 1fr; } .story-text { padding: 36px; }
  .bk-in { flex-direction: row; align-items: center; justify-content: space-between; padding: 30px 36px; }
  .footer-grid { grid-template-columns: 1.6fr repeat(2, 1fr) 1.4fr; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-layout { grid-template-columns: 1fr 280px; }
  .section-head h1 { font-size: 24px; }
  .campaign-section { padding: 26px; }
}
/* stacked cart table on small screens */
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-block-end: 8px solid var(--cream); padding-block: 6px; }
  .cart-table td { border: 0; padding: 6px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .cart-table td[data-label]::before { content: attr(data-label); font-size: 11.5px; color: var(--text-muted); }
  .cart-table td:first-child { display: block; }
  .cart-table td:first-child::before { display: none; }
  .return-form { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .topbar-in span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Captcha (CRM markup: .cap-box) ---------- */
.cap-box { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-block-start: 12px; padding: 12px; background: var(--cream); border: 1px dashed var(--border); border-radius: var(--radius-sm); }
.cap-code { flex: none; }
.cap-img { border-radius: 8px; border: 1px solid var(--border); background: #fff; }
.cap-in { flex: 1 1 160px; }
.cap-in input { letter-spacing: 6px; text-align: center; font-weight: 800; }

/* fixes from browser QA */
.promo-cap .btn { align-self: flex-start; margin-block-start: 6px; }
.trust-row .pay-badge { height: 34px; width: auto; padding: 0; background: none; border-radius: 8px; }
