/* ==========================================================================
   Uncle Dough — storefront styles · v2 "the counter"
   Brand: deep green · brass/mustard stripes · cream paper · stamp logo (ESTD 2026)
   ========================================================================== */
:root {
  --green-950: #0b1a14;
  --green-900: #0e1f19;
  --green-800: #12312a;
  --green-700: #0f4a33;
  --green-600: #1d6a46;
  --green-500: #2a8a5c;
  --ink: #10201a;
  --ink-2: #3d4a44;
  --muted: #6f7c75;
  --line: #e4dccb;
  --line-2: #efe8da;
  --cream: #f6f0e4;
  --cream-2: #fbf7ef;
  --paper: #fffdf8;
  --gold: #c9a45c;
  --gold-2: #b98f3f;
  --mustard: #e0b043;
  --mustard-soft: #f6e7bf;
  --red: #b3261e;
  --ok: #1d6a46;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 34px rgba(16, 32, 26, .10);
  --shadow-sm: 0 3px 12px rgba(16, 32, 26, .07);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ar: 'Tajawal', 'Manrope', system-ui, sans-serif;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --display-ar: 'Amiri', 'Tajawal', serif;
  --stripes: repeating-linear-gradient(90deg, var(--mustard) 0 12px, #fbf6ea 12px 24px);
  --stripes-dark: repeating-linear-gradient(90deg, #17281f 0 10px, #24362e 10px 20px);
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.rtl { font-family: var(--font-ar); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 800; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .75rem; }
.center { text-align: center; }
[hidden] { display: none !important; }
.display, .section-title, .hero-title, .story h2, .gallery-title { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
body.rtl .display, body.rtl .section-title, body.rtl .hero-title, body.rtl .story h2, body.rtl .gallery-title { font-family: var(--display-ar); letter-spacing: 0; }

/* ---------- announcement + header */
.announce { background: var(--green-950); color: var(--cream); text-align: center; padding: 8px 16px; font-size: .9rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green-900); color: var(--cream); box-shadow: 0 6px 24px rgba(11, 26, 20, .25); }
.site-header::before { content: ''; display: block; height: 6px; background: var(--stripes); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: calc(var(--header-h) - 6px); }
.brand { display: flex; align-items: center; gap: 12px; line-height: 1; }
.brand .wordmark { height: 30px; width: auto; }
.brand-tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-inline-start: 12px; border-inline-start: 1px solid rgba(255, 255, 255, .18); }
body.rtl .brand-tag { letter-spacing: 0; font-size: .8rem; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { font-weight: 700; padding: 8px 12px; border-radius: 999px; color: rgba(246, 240, 228, .85); }
.nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lang-btn {
  font-weight: 800; font-size: .78rem; letter-spacing: .08em; border: 1.5px solid rgba(246, 240, 228, .5); color: var(--cream);
  border-radius: 999px; padding: 6px 12px; transition: .15s;
}
.lang-btn:hover { background: var(--cream); color: var(--green-900); border-color: var(--cream); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--mustard); color: var(--ink); border: 0; border-radius: 999px; padding: 9px 14px; font-weight: 800;
  transition: transform .15s, background .15s;
}
.cart-btn:hover { transform: translateY(-1px); background: #ecbf55; }
.cart-count { background: var(--green-900); color: var(--cream); font-weight: 800; font-size: .74rem; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }
.cart-btn.bump { animation: bump .35s; }
@keyframes bump { 30% { transform: scale(1.12); } }

/* ---------- hero */
.hero { position: relative; overflow: hidden; background: var(--green-900); color: var(--cream); padding: 56px 0 64px; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--stripes-dark); opacity: .35; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 20%, rgba(224, 176, 67, .12), transparent 45%), linear-gradient(180deg, rgba(14, 31, 25, 0) 40%, var(--green-900) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
body.rtl .hero-kicker { letter-spacing: .2em; }
.hero-kicker i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; }
.stripe-badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--mustard); color: var(--ink); margin-bottom: 16px; }
body.rtl .stripe-badge { letter-spacing: 0; }
.hero-title { font-style: italic; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; color: #fff; text-wrap: balance; }
body.rtl .hero-title { font-style: normal; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.25; }
.hero-sub { font-size: 1.12rem; color: rgba(246, 240, 228, .78); max-width: 46ch; margin: 16px 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; font-weight: 600; font-size: .88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(246, 240, 228, .18); color: rgba(246, 240, 228, .85); border-radius: 999px; padding: 6px 12px; background: rgba(255, 255, 255, .04); }
.hero-art { display: flex; justify-content: center; }
.video-wrap { position: relative; width: min(340px, 100%); }
.video-card {
  position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: var(--green-800);
  border: 6px solid var(--cream); box-shadow: 0 34px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
}
.video-card video, .video-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(11, 26, 20, .35)); pointer-events: none; }
.hero-stamp { position: absolute; width: 118px; height: auto; bottom: -22px; inset-inline-start: -30px; transform: rotate(-7deg); filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }
body.rtl .hero-stamp { transform: rotate(7deg); }
.notice { border-radius: 14px; padding: 12px 16px; font-weight: 600; margin: 8px 0 16px; }
.notice.warn { background: var(--mustard-soft); border: 1px solid #e8cf85; }

/* ---------- brand promise strip */
.promise { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.promise-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; padding: 14px 0; font-family: var(--display); font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-800); }
body.rtl .promise-row { font-family: var(--display-ar); letter-spacing: 0; font-size: 1.15rem; }
.promise-row i { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); display: inline-block; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: 999px; padding: 12px 22px; font-weight: 800;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--mustard); color: var(--ink); box-shadow: 0 10px 24px rgba(224, 176, 67, .28); }
.btn.primary:hover { background: #ecbf55; }
.btn.dark { background: var(--green-800); color: var(--cream); }
.btn.dark:hover { background: var(--green-700); }
.btn.yellow { background: var(--mustard); color: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--green-800); color: var(--green-800); }
.hero .btn.ghost, .story .btn.ghost { border-color: rgba(246, 240, 228, .5); color: var(--cream); }
.hero .btn.ghost:hover, .story .btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.lg { padding: 15px 30px; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { background: transparent; border: 0; font-size: 1.2rem; padding: 6px 10px; border-radius: 10px; }
.icon-btn:hover { background: var(--mustard-soft); }

/* ---------- sections + grid */
.section-title { font-size: 1.75rem; margin: 30px 0 16px; display: flex; align-items: center; gap: 14px; color: var(--green-900); }
.section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); max-width: 160px; opacity: .9; }
body.rtl .section-title::after { background: linear-gradient(270deg, var(--gold), transparent); }
.featured-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.featured { padding-top: 8px; }
.menu { padding-bottom: 70px; }
.menu-toolbar {
  position: sticky; top: var(--header-h); z-index: 40; background: var(--cream);
  display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  white-space: nowrap; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px;
  font-weight: 700; color: var(--ink-2); transition: .15s;
}
.cat-tab:hover { border-color: var(--green-800); color: var(--green-800); }
.cat-tab.active { background: var(--green-800); border-color: var(--green-800); color: var(--mustard); }
.search { border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; min-width: 200px; background: var(--paper); outline: none; }
.search:focus { border-color: var(--green-700); }

/* ---------- product card */
.card {
  background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9cfb8; }
.card-img { position: relative; aspect-ratio: 1; background: #efe9dc; display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge.sale {
  position: absolute; top: 10px; inset-inline-start: 10px; background: var(--mustard); color: var(--ink);
  font-weight: 800; font-size: .75rem; padding: 4px 9px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}
.badge.sale.inline { position: static; align-self: flex-start; margin: 12px 14px 0; }
.card-body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font-size: 1.02rem; font-weight: 700; }
.card-title a { color: inherit; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.card-desc { margin: 0; color: var(--muted); font-size: .85rem; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price .now { font-weight: 800; font-size: 1.05rem; color: var(--green-700); font-variant-numeric: tabular-nums; }
.price .orig { color: var(--muted); font-size: .8rem; }
.add-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--green-800); color: var(--cream);
  font-size: 1.4rem; font-weight: 800; line-height: 1; box-shadow: 0 6px 14px rgba(18, 49, 42, .28); transition: .15s;
}
.add-btn:hover { background: var(--mustard); color: var(--ink); }
.card.addon { flex-direction: row; align-items: center; }
.card.addon .card-body { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
.card.addon .card-foot { margin: 0; padding: 0; gap: 14px; }

/* ---------- story + gallery */
.story { background: var(--green-900); color: var(--cream); padding: 72px 0 64px; position: relative; overflow: hidden; }
.story::before { content: ''; position: absolute; inset: 0; background: var(--stripes-dark); opacity: .28; }
.story > .container { position: relative; z-index: 1; }
.story-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.story-photo { position: relative; }
.story-photo img { border-radius: var(--radius-lg); border: 6px solid var(--cream); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.story-photo .estd { position: absolute; top: -18px; inset-inline-end: 22px; background: var(--cream); color: var(--green-800); font-family: var(--display); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.story-kicker { font-family: var(--display); font-style: italic; color: var(--mustard); font-size: 1.35rem; margin-bottom: 10px; }
.story h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff; line-height: 1.15; text-wrap: balance; }
.story p { color: rgba(246, 240, 228, .8); font-size: 1.05rem; margin: 18px 0 26px; max-width: 52ch; }
.story-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-title { font-size: 1.5rem; color: #fff; margin: 54px 0 16px; display: flex; align-items: center; gap: 14px; }
.gallery-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); max-width: 160px; }
body.rtl .gallery-title::after { background: linear-gradient(270deg, var(--gold), transparent); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--green-800); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tile:hover img { transform: scale(1.04); }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile .cap { position: absolute; inset-inline-start: 12px; bottom: 10px; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(11, 26, 20, .7); color: var(--cream); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
body.rtl .tile .cap { letter-spacing: 0; font-size: .8rem; }

/* ---------- cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11, 26, 20, .55); opacity: 0; pointer-events: none; transition: .2s; z-index: 90; }
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--cream-2); z-index: 100;
  transform: translateX(100%); transition: transform .25s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .18);
}
body.rtl .cart-drawer { transform: translateX(-100%); }
.cart-drawer.open, body.rtl .cart-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--green-900); color: var(--cream); }
.drawer-head h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
body.rtl .drawer-head h3 { font-family: var(--display-ar); }
.drawer-head .icon-btn { color: var(--cream); }
.drawer-head .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.drawer-head::after { display: none; }
.cart-drawer::before { content: ''; height: 6px; background: var(--stripes); order: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 18px; order: 2; }
.drawer-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--paper); order: 3; }
.empty-cart { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty-cart .big { font-size: 3rem; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.cart-item img, .cart-item .ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--mustard-soft); }
.cart-item .ttl { font-weight: 700; font-size: .95rem; }
.cart-item .sub { font-size: .78rem; color: var(--muted); }
.cart-item .rm { background: none; border: 0; color: var(--muted); font-size: .75rem; padding: 0; text-decoration: underline; }
.qty-ctl { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.qty-ctl button { width: 30px; height: 30px; border: 0; background: transparent; font-weight: 800; color: var(--green-800); }
.qty-ctl button:hover { background: var(--mustard-soft); }
.qty-ctl span { min-width: 26px; text-align: center; font-weight: 700; font-size: .9rem; }
.totals { display: grid; gap: 4px; font-size: .95rem; }
.totals .row { display: flex; justify-content: space-between; }
.totals .row.total { font-weight: 800; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; color: var(--green-800); }
.totals .warn { color: var(--red); font-size: .8rem; font-weight: 600; }

/* ---------- modal */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; background: rgba(11, 26, 20, .6); opacity: 0; pointer-events: none; transition: .2s; padding: 16px; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal-card { background: var(--paper); border-radius: 22px; width: min(460px, 100%); padding: 20px; box-shadow: var(--shadow); max-height: 90vh; overflow: auto; border-top: 6px solid; border-image: var(--stripes) 1; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { font-family: var(--display); font-weight: 700; }
body.rtl .modal-head h3 { font-family: var(--display-ar); }
.addon-list { display: grid; gap: 6px; margin: 12px 0 16px; }
.addon-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.addon-row:has(input:checked) { border-color: var(--green-700); background: var(--mustard-soft); }
.addon-row input { accent-color: var(--green-700); width: 18px; height: 18px; }
.addon-row .nm { flex: 1; font-weight: 600; }
.addon-row .pr { font-weight: 700; font-size: .9rem; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- toast */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px); background: var(--green-800); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-weight: 700; opacity: 0; transition: .25s; z-index: 200; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- checkout */
.checkout { padding: 30px 0 70px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.panel h3 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.panel h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--mustard); color: var(--ink); display: inline-grid; place-items: center; font-size: .85rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
label.f { display: grid; gap: 5px; font-weight: 600; font-size: .88rem; }
label.f input, label.f select, label.f textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; outline: none; width: 100%;
  transition: border .15s, box-shadow .15s;
}
label.f input:focus, label.f select:focus, label.f textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(15, 74, 51, .12); }
label.f .err { color: var(--red); font-size: .75rem; font-weight: 600; }
.field-error input, .field-error select { border-color: var(--red) !important; }
.choice { display: grid; gap: 8px; }
.choice-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; }
.choice-row:has(input:checked) { border-color: var(--green-700); background: var(--mustard-soft); }
.choice-row input { accent-color: var(--green-700); width: 18px; height: 18px; }
.choice-row .lbl { font-weight: 700; }
.choice-row .hint { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }
.choice-row.disabled { opacity: .5; pointer-events: none; }
.sched { margin-top: 10px; }
.summary-sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.sum-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.sum-item .nm { font-weight: 600; }
.sum-item .ad { display: block; font-size: .78rem; color: var(--muted); }
.coupon-row { display: flex; gap: 8px; margin: 12px 0; }
.coupon-row input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; text-transform: uppercase; }
.coupon-row button { border-radius: 12px; padding: 10px 16px; }
.coupon-msg { font-size: .82rem; font-weight: 600; margin-bottom: 8px; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.bad { color: var(--red); }
.secure { display: flex; align-items: center; gap: 6px; justify-content: center; color: var(--muted); font-size: .78rem; margin-top: 10px; }
.form-error { background: #fde8e6; border: 1px solid #f3b8b3; color: var(--red); border-radius: 12px; padding: 10px 14px; font-weight: 600; margin-bottom: 14px; }

/* ---------- order status page */
.order-page { padding: 40px 0 80px; }
.order-card { background: var(--paper); border-radius: 26px; border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; border-top: 6px solid; border-image: var(--stripes) 1; }
.order-card .check { width: 70px; height: 70px; border-radius: 50%; background: var(--mustard); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 14px; color: var(--ink); }
.order-card .check.bad { background: #fde8e6; color: var(--red); }
.order-card h1 { font-family: var(--display); font-weight: 700; }
body.rtl .order-card h1 { font-family: var(--display-ar); }
.ref-box { display: inline-block; background: var(--green-800); color: var(--mustard); font-weight: 800; letter-spacing: .1em; padding: 8px 18px; border-radius: 999px; margin: 8px 0; font-variant-numeric: tabular-nums; }
.status-line { display: flex; gap: 6px; margin: 20px 0; }
.status-line .s { flex: 1; height: 8px; border-radius: 6px; background: var(--line); }
.status-line .s.on { background: var(--mustard); }
.status-line .s.done { background: var(--green-500); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; font-size: .95rem; margin-top: 16px; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; }

/* ---------- footer */
.site-footer { background: var(--green-950); color: #d9d4c6; margin-top: 0; position: relative; }
.site-footer::before { content: ''; display: block; height: 8px; background: var(--stripes); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 40px 0 24px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-stamp { width: 110px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4)); }
.footer-brand .muted { color: #a9b3ac; font-family: var(--display); font-style: italic; font-size: 1.05rem; }
body.rtl .footer-brand .muted { font-family: var(--display-ar); font-style: normal; }
.site-footer h4 { color: var(--gold); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; font-family: var(--display); font-weight: 700; }
body.rtl .site-footer h4 { letter-spacing: 0; font-family: var(--display-ar); font-size: 1rem; }
.site-footer p { margin: 0; color: #cfcbc0; line-height: 1.8; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: #8f9a93; flex-wrap: wrap; }

/* ---------- responsive */
@media (max-width: 900px) {
  .hero { padding: 28px 0 46px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .hero-art { order: -1; }
  .video-wrap { width: min(330px, 84vw); }
  .video-card { aspect-ratio: 4 / 5; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story { padding: 48px 0 44px; }
  .story-inner { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 8px; }
}
@media (max-width: 600px) {
  :root { --header-h: 56px; }
  .brand .wordmark { height: 24px; }
  .brand-tag { display: none; }
  .nav-link { display: none; }
  .cart-btn { padding: 8px 12px; }
  .menu-toolbar { flex-wrap: wrap; }
  .search { width: 100%; }
  .grid, .featured-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px; }
  .card-title { font-size: .92rem; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .kv { grid-template-columns: 1fr; }
  .card.addon { grid-column: 1 / -1; }
  .promise-row { gap: 6px 14px; font-size: .78rem; }
  body.rtl .promise-row { font-size: 1rem; }
  .hero-stamp { width: 92px; bottom: -16px; inset-inline-start: -18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile img { transition: none; } }
@media print { .site-header, .site-footer, .cart-drawer, .drawer-backdrop, .btn, .float-cart, .hero, .promise, .story { display: none !important; } }

/* ---------- floating "Your order" bar (sticks to the bottom while scrolling) */
.float-cart {
  position: fixed; bottom: 18px; left: 50%; transform: translate(-50%, 90px); z-index: 80;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px;
  background: var(--green-800); color: var(--cream); border: 0; border-radius: 999px; box-shadow: 0 16px 38px rgba(11, 26, 20, .45);
  width: min(560px, calc(100% - 32px)); cursor: pointer; opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s;
  font-family: inherit; text-align: start;
}
.float-cart.show { transform: translate(-50%, 0); opacity: 1; }
.float-cart:hover .fc-btn { background: #ecbf55; }
.fc-info { display: flex; flex-direction: column; flex: 1; line-height: 1.2; min-width: 0; }
.fc-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; font-weight: 700; }
body.rtl .fc-label { letter-spacing: 0; }
.fc-sum { font-weight: 800; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-btn { background: var(--mustard); color: var(--ink); border-radius: 999px; padding: 12px 18px; font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; transition: .15s; }
.fc-arrow { font-size: 1.2rem; line-height: 1; }
body.rtl .fc-arrow { transform: scaleX(-1); display: inline-block; }
.cart-drawer.open ~ .float-cart, .modal.show ~ .float-cart { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .float-cart { bottom: 12px; padding-inline-start: 16px; } .fc-btn { padding: 10px 14px; font-size: .9rem; } .menu { padding-bottom: 110px; } }

/* ---------- product page */
.product-page { padding: 30px 0 60px; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.product-hero img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); border: 6px solid var(--paper); }
.product-hero h1 { font-family: var(--display); font-weight: 700; color: var(--green-900); }
body.rtl .product-hero h1 { font-family: var(--display-ar); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { text-decoration: underline; }
.related { margin-top: 40px; }
@media (max-width: 700px) { .product-hero { grid-template-columns: 1fr; } }

/* ---------- box flavour picker */
.flav-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.flav-row .nm { flex: 1; font-weight: 600; }
.flav-row.has { border-color: var(--green-700); background: var(--mustard-soft); }
.nudge { background: var(--mustard-soft); border: 1px dashed #dcbf6b; border-radius: 12px; padding: 8px 12px; font-size: .82rem; font-weight: 600; margin: 8px 0; }
.nudge.ok { background: #dcf3e6; border-color: #9fd8b6; color: var(--ok); }
.wa-btn { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 800; }
.wa-btn:hover { background: #1ebe5b; }
.saved-note { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
