/* ============================================================
   Malfufa — Storefront (Hawa-inspired layout, Malfufa identity)
   ============================================================ */
:root {
  --primary: #1E5243;
  --primary-dark: #153b30;
  --primary-light: #2a6e58;
  --gold: #C6A15B;
  --gold-lt: #E0C08A;
  --cream: #FAF8F3;
  --offwhite: #f9f9f9;
  --ink: #2d2d2d;
  --muted: #7a7a72;
  --border: #ececec;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(46,41,28,.06), 0 8px 24px rgba(46,41,28,.06);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  background: #fff;
  color: var(--ink);
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Announcement Bar ---------- */
.announce-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 16px;
  letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap;
  background-size: cover; background-position: center;
}
#announceTxt { transition: opacity .25s ease; }
.announce-offer {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: 4px 14px;
  font-size: .92em; font-weight: 800; white-space: nowrap;
}
.announce-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); animation: annPulse 1.6s ease-in-out infinite; }
@keyframes annPulse { 50% { opacity: .35; box-shadow: 0 0 0 5px rgba(74,222,128,.12); } }
.announce-offer b { font-variant-numeric: tabular-nums; letter-spacing: .03em; display: inline-flex; align-items: center; gap: 4px; }
.ann-seg { background: rgba(0,0,0,.32); color: #FFE9A8; border-radius: 7px; padding: 1px 7px; font-variant-numeric: tabular-nums; }
.ann-colon { color: rgba(255,255,255,.75); font-weight: 800; }
.ann-days { color: #FFE9A8; font-weight: 800; white-space: nowrap; }
.announce-offer code { font-family: inherit; background: var(--gold); color: #3A2A00; border-radius: 6px; padding: 1px 8px; font-weight: 800; letter-spacing: .05em; }
@media (prefers-reduced-motion: reduce) { .announce-dot { animation: none; } }
@media (max-width: 600px) { .announce-bar { font-size: 13px; padding: 10px 12px; } }
.announce-bar span { opacity: .95; }
.announce-bar .announce-tools {
  margin-inline-start: 10px;
  opacity: 1;
  white-space: nowrap;
  position: relative;
  top: 2px;
}
.announce-tools a {
  display: inline-block;
  margin-inline-start: 6px;
  background: rgba(255, 255, 255, .16);
  border-radius: 6px;
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
}
.announce-tools a:hover { background: rgba(255, 255, 255, .32); }

/* ---------- Header (Hawa style: centered brand) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.main-nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.nav-start { display: flex; align-items: center; gap: 6px; width: 33%; }
.nav-center { display: flex; align-items: center; justify-content: center; }
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 4px; width: 33%; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px; color: var(--ink); font-size: 14px;
}
.menu-toggle:hover { background: var(--offwhite); }
.menu-toggle i { font-style: normal; }

.brand-logo img { height: 48px; width: auto; max-width: 60vw; object-fit: contain; }
.brand-logo h1 { font-size: 0; }

.header-btn {
  position: relative;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink); transition: background .2s;
}
.header-btn:hover { background: var(--offwhite); }
.header-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: 2px; left: 2px;
  background: var(--gold); color: #fff;
  min-width: 18px; height: 18px; border-radius: 9px;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Desktop category menu */
.cat-nav { border-top: 1px solid var(--border); background: #fff; }
.cat-nav .container { display: flex; align-items: center; justify-content: center; gap: 26px; height: 46px; }
.cat-nav a { font-size: 14px; color: #555; transition: color .2s; padding: 4px 2px; border-bottom: 2px solid transparent; }
.cat-nav a:hover, .cat-nav a.active { color: var(--primary); border-bottom-color: var(--gold); font-weight: 600; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(20,20,18,.5); z-index: 200; opacity: 0; visibility: hidden; transition: .25s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: -300px; width: 300px; height: 100%;
  background: #fff; z-index: 210; transition: right .3s ease; padding: 24px;
  overflow-y: auto;
}
.drawer.open { right: 0; }
.drawer h4 { font-size: 15px; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.drawer-nav li { margin-bottom: 4px; }
.drawer-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 10px; font-size: 15px; }
.drawer-nav a:hover { background: var(--offwhite); color: var(--primary); }
.drawer-nav .d-ico { font-size: 18px; width: 26px; text-align: center; flex-shrink: 0; }
.drawer-nav .d-ico img { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; border-radius: 6px; }
.drawer-logout { all: unset; display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 12px 10px; border-radius: 10px; font-size: 15px; font-weight: 700; color: #b3261e; cursor: pointer; font-family: inherit; }
.drawer-logout:hover { background: #fdeceb; }
.drawer-close { margin-bottom: 16px; width: 38px; height: 38px; border-radius: 10px; background: var(--offwhite); display: flex; align-items: center; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; font-size: 15px; font-weight: 600;
  transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(30,82,67,.25); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-lt)); color: #fff; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink); border: none; }
.btn-light:hover { background: #f2f2f2; transform: translateY(-1px); }
.banner-copy code { font-family: inherit; background: rgba(0,0,0,.08); padding: 2px 8px; border-radius: 6px; font-weight: 800; letter-spacing: .04em; }

/* ---------- Promo banners (admin-managed) ---------- */
.markers { padding: 8px 0 40px; }
.banner-row { display: grid; gap: 18px; }
.banner-card {
  display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 22px;
  border-radius: 22px; padding: 22px; position: relative; overflow: hidden;
  box-shadow: 0 18px 40px rgba(14,58,43,.22);
}
.banner-card::after {
  content: ''; position: absolute; inset: auto -40% -120% auto; width: 70%; height: 70%;
  background: rgba(255,255,255,.08); border-radius: 50%; pointer-events: none;
}
.banner-img img { width: 220px; height: 130px; object-fit: cover; border-radius: 16px; }
.banner-body { position: relative; z-index: 1; }
.banner-badge {
  display: inline-block; border-radius: 999px; padding: 4px 14px; font-size: 12px; font-weight: 800;
  margin-bottom: 10px; backdrop-filter: blur(4px);
}
.banner-title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; line-height: 1.25; }
.banner-sub { margin-top: 6px; font-size: 14.5px; opacity: .9; max-width: 520px; }
.banner-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.banner-actions .btn { padding: 9px 18px; font-size: 13.5px; border-radius: 10px; }
@media (max-width: 720px) {
  .banner-card { grid-template-columns: 1fr; text-align: center; }
  .banner-img img { width: 100%; height: 150px; }
  .banner-actions { justify-content: center; }
  .banner-sub { margin-inline: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #fbf8f1 0%, #f7f1e3 55%, #f2ead7 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 480px; gap: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(198,161,91,.16); color: var(--gold);
  border: 1px solid rgba(198,161,91,.4);
  font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero h2 { font-size: clamp(32px, 5vw, 54px); line-height: 1.15; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.hero h2 em { color: var(--primary); font-style: normal; }
.hero p.sub { font-size: 17px; color: #666; max-width: 480px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { display: flex; align-items: center; justify-content: center; }
.hero-image img { max-height: 420px; border-radius: 24px; box-shadow: var(--shadow); object-fit: cover; width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .08em; margin-bottom: 10px; display: block; }
.section-head h3 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.section-head p { color: #777; font-size: 16px; }

/* ---------- Product Grid ---------- */
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.cat-tab {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--border); color: #555; transition: all .2s; background: #fff;
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.cat-tab.has-offer, .cat-nav a.has-offer { position: relative; }
.tab-flag {
  position: absolute; top: -10px; inset-inline-start: 10px;
  background: #D32F2F; color: #fff; font-size: 10px; font-weight: 800; line-height: 1.7;
  padding: 0 9px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(211,47,47,.45);
}
.cat-nav a .tab-flag { top: -13px; inset-inline-start: -8px; font-size: 9px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }

.product-card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #e2e2dd; }
.pc-img { position: relative; aspect-ratio: 1 / .92; overflow: hidden; background: var(--offwhite); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 11px; font-weight: 700; color: #fff;
  padding: 5px 12px; border-radius: 999px;
}
.pc-badge.bestseller { background: var(--primary); }
.pc-badge.new { background: #3a7d44; }
.pc-badge.offer { background: #b5554a; }
.pc-add {
  position: absolute; bottom: 12px; left: 12px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  opacity: 0; transform: translateY(10px); transition: all .25s;
}
.product-card:hover .pc-add { opacity: 1; transform: translateY(0); }
.pc-add:hover { background: var(--primary); color: #fff; }
.pc-wish-form { position: absolute; top: 12px; left: 12px; z-index: 3; margin: 0; }
.pc-wish { width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,.94); color: #b9b9b9; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.pc-wish.active { color: #d61f2c; }
.pc-wish.active svg { fill: currentColor; }
.pdp-wish .pc-wish-form { position: static; }
.pdp-wish .pc-wish { border: 1.5px solid var(--border); box-shadow: none; width: 46px; height: 46px; }
/* ---------- Reviews (professional cards + star picker) ---------- */
.rev-sec .rev-summary { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--shadow); }
.rev-score { display: flex; flex-direction: column; align-items: center; min-width: 110px; background: var(--offwhite); border-radius: 14px; padding: 14px 10px; }
.rev-score b { font-size: 34px; font-weight: 900; line-height: 1; }
.rev-score small { color: var(--muted); font-size: 12px; margin-top: 6px; }
.rev-stars { color: #E8A100; font-size: 18px; letter-spacing: 2px; }
.rev-stars.sm { font-size: 14px; }
.rev-summary-tx { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rev-summary-tx h3 { margin: 0; font-size: 20px; }
.rev-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 6px; }
.rev-card { display: flex; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.rev-avatar { width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rev-main { flex: 1; min-width: 0; }
.rev-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rev-top time { font-size: 11.5px; color: var(--muted); }
.rev-main p { margin: 6px 0 0; font-size: 14px; line-height: 1.8; }
.rev-form-card { background: #fff; border: 1.5px dashed var(--border); border-radius: 18px; padding: 20px 22px; margin-top: 16px; }
.rev-form-card h4 { margin: 0 0 12px; font-size: 17px; }
.rev-form-card .field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.rev-form-card .field input[type=text], .rev-form-card .field textarea, .rev-form-card .field select { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 14px; }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rev-picker { display: flex; gap: 6px; }
.rev-picker button { border: 1px solid var(--border); background: #fff; border-radius: 10px; width: 44px; height: 44px; font-size: 22px; color: #d8d8d8; cursor: pointer; transition: all .15s; }
.rev-picker button.on { color: #E8A100; border-color: #E8A100; background: #fff8e6; transform: scale(1.05); }
@media (max-width: 640px) { .rev-grid { grid-template-columns: 1fr; } .rev-summary { flex-direction: column; text-align: center; } .rev-summary-tx { align-items: center; } }
.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pc-name {
  font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  text-overflow: ellipsis; min-height: 1.4em;
}
.pc-desc {
  font-size: 13px; color: var(--muted); margin-bottom: 10px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.pc-price { font-weight: 800; font-size: 17px; color: var(--ink); }
.pc-price small { font-weight: 400; font-size: 12px; color: var(--muted); }
.pc-kcal { font-size: 12px; color: var(--muted); }
.pc-kcal b { color: var(--primary); }

/* ---------- Feature strips (Hawa USP) ---------- */
.feature-strip { background: var(--offwhite); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--primary); box-shadow: var(--shadow); }
.feature-item h5 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.feature-item p { font-size: 12.5px; color: var(--muted); }

/* ---------- Guarantee (Hawa style) ---------- */
.guarantee { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; }
.guarantee .container { display: flex; align-items: center; gap: 28px; justify-content: center; text-align: center; flex-direction: column; padding: 56px 20px; }
.guarantee-ico { font-size: 44px; }
.guarantee h3 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.guarantee p { color: rgba(255,255,255,.85); max-width: 520px; }
.guarantee .guar-lead { font-size: 21px; line-height: 1.9; font-weight: 600; max-width: 760px; color: rgba(255,255,255,.95); }
@media (max-width: 600px) { .guarantee .guar-lead { font-size: 18px; line-height: 1.85; } }

/* ---------- Comparison table ---------- */
/* ---------- Comparison (feature cards) ---------- */
.compare { background: #fff; }
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 16px; }
.cmp-card {
  position: relative; background: #fff; border: 1px solid #ece5d7; border-radius: 20px;
  padding: 20px 20px 18px; box-shadow: 0 10px 26px rgba(24,44,36,.06);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cmp-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(24,44,36,.12); border-color: color-mix(in srgb, var(--primary) 28%, #ece5d7); }
.cmp-card::before {
  content: ''; position: absolute; inset-inline-start: 20px; inset-inline-end: 20px; top: 0; height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold, var(--primary)));
  opacity: .85;
}
.cmp-card-top { display: flex; align-items: flex-start; gap: 11px; }
.cmp-num {
  flex: none; width: 28px; height: 28px; border-radius: 9px;
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--primary); font-weight: 800; font-size: 13.5px;
  display: flex; align-items: center; justify-content: center;
}
.cmp-feat { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink, #2d2d2d); line-height: 1.5; }
.cmp-card-btns { display: flex; gap: 10px; margin-top: auto; }
.cmp-claim {
  flex: 1; display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; border-radius: 13px; min-width: 0;
}
.cmp-claim-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-claim-tx strong { font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-claim-tx small { font-size: 11.5px; font-weight: 500; line-height: 1.5; opacity: .85; }
.cmp-verdict {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: color-mix(in srgb, var(--primary) 7%, #fff);
  border: 1.5px solid color-mix(in srgb, var(--primary) 25%, transparent);
  border-radius: 18px; padding: 16px 20px;
}
.cmp-verdict-tx { font-size: 16px; font-weight: 800; color: var(--primary); }
.cmp-badge-ic {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cmp-badge-ic svg { width: 13px; height: 13px; }
.cmp-claim-y { background: #e7f6ec; color: #14713a; }
.cmp-claim-n { background: #fdeeed; color: #b03a2e; }
.cmp-claim-p { background: #fdf4e3; color: #a9741a; }
/* Our column gets a brand-coloured frame so ملفوفة reads as the winner */
.cmp-claim:not(.cmp-claim-other) { border: 1.5px solid color-mix(in srgb, var(--primary) 32%, transparent); }
.cmp-claim-other { background: #f6f4ef; color: #6c6a63; }
.cmp-claim-other .cmp-badge-ic { opacity: .82; }
@media (max-width: 600px) {
  .cmp-grid { grid-template-columns: 1fr; gap: 13px; }
  .cmp-card { padding: 17px 16px 15px; border-radius: 17px; }
  .cmp-feat { font-size: 15px; }
  .cmp-claim { padding: 9px 10px; }
  .cmp-claim-tx strong { font-size: 12px; }
  .cmp-claim-tx small { font-size: 11px; }
  .cmp-verdict { flex-direction: column; text-align: center; padding: 16px; }
  .cmp-verdict-tx { font-size: 15px; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--offwhite); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.testi-stars { color: #FBBC04; letter-spacing: 3px; margin-bottom: 12px; font-size: 17px; text-shadow: 0 1px 2px rgba(217,140,0,.35); }
.testi-card blockquote { font-size: 14.5px; color: #444; margin-bottom: 14px; line-height: 1.8; }
.testi-author { font-weight: 700; font-size: 14px; }
.testi-verified { color: #2e9347; font-size: 12px; font-weight: 600; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font-size: 15px; font-weight: 700; color: var(--ink); text-align: right; }
.faq-q .chev { transition: transform .25s; color: var(--primary); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 20px 18px; color: #666; font-size: 14px; }

/* ---------- CTA banner ---------- */
/* ---------- Instagram social showcase ---------- */
.ig-sec { background: #fff; }
.ig-head { display: flex; align-items: center; gap: 16px; max-width: 660px; margin: 0 auto 26px; }
.ig-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); padding: 2px; background: #fff; flex: none; }
.ig-id b { font-size: 16px; }
.ig-stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #555; margin-top: 4px; }
.ig-follow { margin-inline-start: auto; background: #1c2b6b; color: #fff; font-weight: 700; font-size: 14px; border-radius: 8px; padding: 9px 26px; flex: none; }
.ig-follow:hover { background: #162257; color: #fff; }
.ig-carousel { position: relative; }
.ig-carousel-inner { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 4px 4px 14px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; cursor: grab; }
.ig-carousel-inner.dragging { scroll-behavior: auto; scroll-snap-type: none; cursor: grabbing; }
.ig-carousel-inner::-webkit-scrollbar { height: 6px; }
.ig-carousel-inner::-webkit-scrollbar-track { background: rgba(0,0,0,.06); border-radius: 99px; }
.ig-carousel-inner::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }
.ig-carousel-inner::-webkit-scrollbar-thumb:hover { background: #d48b1a; }
.ig-card { flex: 0 0 calc((100% - 48px) / 4); max-width: 320px; min-width: 0; scroll-snap-align: start; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; position: relative; }
.ig-card.ig-new { border-color: var(--gold); animation: igPop .6s ease; }
.ig-newbadge { position: absolute; top: 8px; right: 8px; z-index: 2; background: #e11d48; color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
@keyframes igPop { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
.ig-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.ig-meta { display: flex; align-items: center; gap: 12px; padding: 10px 12px 2px; font-size: 12.5px; color: #333; }
.ig-meta button { margin-inline-start: auto; background: none; border: none; color: #333; font-size: 12.5px; cursor: pointer; font-family: inherit; padding: 0; }
.ig-meta button:hover { color: var(--primary); }
.ig-cap { padding: 4px 12px 12px; font-size: 12px; color: #555; line-height: 1.9; margin: 0; }
.ig-prev, .ig-next { position: absolute; top: 42%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.95); border: 1.5px solid var(--border); color: var(--ink); font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.12); transition: opacity .2s, background .2s, color .2s, border-color .2s; }
.ig-prev:hover, .ig-next:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.ig-prev:disabled, .ig-next:disabled { opacity: .3; cursor: default; background: rgba(255,255,255,.9); color: var(--ink); border-color: var(--border); }
.ig-prev[hidden], .ig-next[hidden] { display: none; }
.ig-prev { inset-inline-start: 10px; }
.ig-next { inset-inline-end: 10px; }
@media (max-width: 1100px) { .ig-card { flex-basis: calc((100% - 32px) / 3); } .ig-prev, .ig-next { width: 40px; height: 40px; } }
@media (max-width: 760px) { .ig-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 520px) { .ig-carousel-inner { gap: 12px; } .ig-card { flex-basis: calc((100% - 12px) / 1.45); max-width: none; } .ig-prev, .ig-next { width: 36px; height: 36px; font-size: 18px; top: 38%; } }
.cta-banner { position: relative; border-radius: 22px; overflow: hidden; min-height: 260px; background: linear-gradient(120deg, #1a4a3b, #2a6e58); color: #fff; display: flex; align-items: center; }
.cta-banner .content { padding: 48px; position: relative; z-index: 2; max-width: 540px; }
.cta-banner h3 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.cta-banner img { position: absolute; left: 0; top: 0; height: 100%; width: 45%; object-fit: cover; }
@media (max-width: 720px) { .cta-banner img { opacity: .3; width: 100%; } .cta-banner .content { padding: 34px 26px; } }

/* ---------- Footer ---------- */
/* ---------- Footer (light) ---------- */
.fn-footer { background: #fff; color: var(--ink); border-top: 1px solid var(--border); }
.fn-top { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 40px; padding: 54px 0 38px; align-items: start; }
.fn-links h5 { font-size: 16px; font-weight: 800; margin-bottom: 20px; }
.fn-links a { display: block; font-size: 14px; color: #2b2b2b; margin-bottom: 15px; transition: color .2s; }
.fn-links a:hover { color: var(--primary); }
.fn-center { text-align: center; min-width: 0; }
.fn-logolink { display: inline-block; }
.fn-logo { display: block; height: 100px; width: auto; max-width: 100%; margin: 0 auto 8px; filter: grayscale(1); opacity: .55; }
@media (min-width: 961px) { .fn-center { margin-top: -45px; } }
.fn-desc { font-size: 14px; color: #333; line-height: 2.1; max-width: 600px; margin: 8px auto 20px; }
.fn-docs { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-bottom: 16px; }
.fn-doc { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 13.5px; color: #333; }
.fn-doc-val { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 14px; }
.fn-doc-val a { color: inherit; text-decoration: none; cursor: zoom-in; }
.fn-doc-val a:hover bdi { text-decoration: underline; }
.fn-docmodal { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.78); display: flex; align-items: center; justify-content: center; padding: 20px; }
.fn-docmodal[hidden] { display: none; }
.fn-docmodal-box { position: relative; background: #fff; border-radius: 14px; padding: 12px; max-width: min(92vw, 720px); max-height: 90vh; }
.fn-docmodal-box img { display: block; max-width: 100%; max-height: calc(90vh - 70px); width: auto; height: auto; border-radius: 8px; }
.fn-docmodal-x { position: absolute; top: -15px; inset-inline-end: -11px; width: 34px; height: 34px; border-radius: 50%; border: none; background: #1E5243; color: #fff; font-size: 16px; cursor: pointer; line-height: 1; }
.fn-crimg, .fn-vatimg { display: block; height: 56px; width: auto; border-radius: 8px; }
.fn-lang { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: #333; font-weight: 700; }
.fn-verify { text-align: center; font-size: 14px; color: #333; }
.fn-sbclink img { width: 112px; height: auto; display: block; margin: 0 auto 14px; }
.fn-verify p { margin: 0 0 8px; }
.fn-contact { border-top: 1px dashed #d9d9d9; border-bottom: 1px dashed #d9d9d9; padding: 24px 0 20px; }
.fn-contact-in { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.fn-pill { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); background: #fff; color: var(--ink); border-radius: 12px; padding: 9px 24px; font-size: 13.5px; font-weight: 700; transition: .2s; }
.fn-pill:hover { border-color: var(--primary); color: var(--primary); }
.fn-socials { display: flex; justify-content: center; gap: 12px; }
.fn-socials a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: .2s; }
.fn-socials a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.fn-bottom { background: #fafafa; }
.fn-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 15px 0; font-size: 13px; color: #666; }
.fn-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.fn-pay span { background: #fff; border: 1px solid var(--border); color: #444; border-radius: 8px; padding: 5px 11px; display: inline-flex; align-items: center; }
.fn-pay img { height: 22px; width: auto; display: block; }
/* Language toggle + LTR adjustments */
.header-btn.lang-btn { text-decoration: none; }
[dir="ltr"] .faq-q, [dir="ltr"] .pc-name, [dir="ltr"] .testi-card blockquote,
[dir="ltr"] .section-head, [dir="ltr"] .hero-copy { text-align: left; }
[dir="ltr"] .faq-a p { text-align: left; }
.fn-cod { font-size: 11.5px; font-weight: 700; gap: 6px; }
/* ---------- Static info pages ---------- */
.page-prose { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 34px 30px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow); }
.page-prose h3 { font-size: 17px; margin: 24px 0 10px; color: var(--primary); }
.page-prose h3:first-child { margin-top: 0; }
.page-prose p, .page-prose li { font-size: 14.5px; line-height: 2; color: #444; }
.page-prose ul { padding-right: 20px; margin: 6px 0; }
/* ---------- Delivery time slots (pill cards) ---------- */
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot-chip { position: relative; display: block; }
.slot-chip input { position: absolute; opacity: 0; pointer-events: none; }
.slot-chip span { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 6px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: .2s; background: #fff; white-space: nowrap; }
.slot-chip span:hover { border-color: var(--primary); }
.slot-chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(30,82,67,.25); }
.slot-chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 600px) { .slot-grid { grid-template-columns: repeat(2, 1fr); } }
.closed-hint { font-size: 12.5px; color: #b3261e; margin: 6px 0 0; }
/* ---------- Welcome discount popup ---------- */
/* ---------- Welcome discount side tab (vertical, as per reference) ---------- */
.popup-tab {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%);
  z-index: 120; border: none; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--primary); color: #fff;
  font-weight: 800; font-family: inherit;
  width: 50px; min-height: 158px;
  padding: 18px 0 20px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  -webkit-tap-highlight-color: transparent;
  transition: width .2s ease, background .2s ease;
  animation: popupTabPulse 2.2s ease-in-out infinite;
}
.popup-tab-ico { flex: none; width: 26px; height: 26px; display: block; }
.popup-tab-tx {
  writing-mode: vertical-rl; text-orientation: mixed;
  display: inline-block;
  transform: skewY(-7deg);
  font-size: clamp(14px, .6vw + 13.5px, 16.5px); line-height: 1.2; letter-spacing: .06em;
  font-weight: 800;
  max-height: 46vh; overflow: hidden; white-space: nowrap;
}
.popup-tab:active { transform: translateY(-50%) scale(.95); }
.popup-tab:hover { background: var(--primary-dark, var(--primary)); width: 54px; }
@keyframes popupTabPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  50% { box-shadow: 0 12px 36px rgba(0,0,0,.36), 0 0 0 9px color-mix(in srgb, var(--primary) 22%, transparent); }
}
@media (max-width: 600px) {
  .popup-tab { width: 46px; min-height: 146px; padding: 15px 0 17px; gap: 10px; }
  .popup-tab-ico { width: 23px; height: 23px; }
  .popup-tab-tx { max-height: 40vh; }
}
@media (max-width: 380px) {
  .popup-tab { width: 43px; min-height: 136px; }
  .popup-tab-ico { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) { .popup-tab { animation: none; } }
/* ---------- Customer account ---------- */
.acc-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; margin-bottom: 18px; }
.acc-card > h3 { margin: 0 0 16px; font-size: 18px; font-weight: 800; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.acc-addr { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.acc-addr.is-def { border-color: var(--primary); background: #f4faf6; }
.acc-addr-info { flex: 1; min-width: 0; }
.acc-addr-info b { font-size: 14.5px; font-weight: 800; }
.acc-addr-info small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.6; }
.acc-def-tag { display: inline-block; background: #e7f6ec; color: #14713a; border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 800; margin-inline-start: 6px; }
.acc-new { background: var(--offwhite); border-radius: 14px; padding: 16px; margin-top: 12px; }
@media (max-width: 600px) {
  .acc-card { padding: 16px; border-radius: 15px; }
  .acc-addr { flex-wrap: wrap; }
}
/* ---------- Checkout saved addresses ---------- */
.co-addrpick { display: grid; gap: 10px; margin-bottom: 14px; }
.co-addr { display: flex; align-items: flex-start; gap: 10px; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.co-addr.sel { border-color: var(--primary); background: #f4faf6; }
.co-addr input[type="radio"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.co-addr-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.co-addr-body b { font-size: 14px; font-weight: 800; color: var(--ink); }
.co-addr-body small { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.co-addr-def { font-size: 11px; font-weight: 800; color: var(--primary); }
/* ---------- Customer auth popup ---------- */
.auth-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.auth-btn-in { padding: 0 6px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.auth-tab { flex: 1; border: 1.5px solid var(--border); background: #fff; border-radius: 12px; padding: 10px; font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer; color: var(--ink); }
.auth-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.auth-err { display: block; background: #fdeceb; color: #b03a2e; border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 700; margin-top: 10px; }
.auth-err[hidden] { display: none; }
.auth-link { background: none; border: none; color: var(--primary); font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; margin-top: 10px; }
.auth-step[hidden] { display: none; }
.auth-wa { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; border-radius: 12px; padding: 12px; font-weight: 800; text-decoration: none; margin-top: 12px; }
.popup-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(20,25,20,.55); display: flex; align-items: center; justify-content: center; padding: 18px; }
@keyframes ppFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ppSlide { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes ppPop { 0% { opacity: 0; transform: scale(.85); } 60% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
.pp-anim-fade { animation: ppFade .35s ease; }
.pp-anim-slide { animation: ppSlide .4s ease; }
.pp-anim-pop { animation: ppPop .45s ease; }
@media (prefers-reduced-motion: reduce) { .pp-anim-fade, .pp-anim-slide, .pp-anim-pop { animation: none; } }
.popup-overlay[hidden] { display: none; }
.popup-card { position: relative; background: #fbf7ec; border-radius: 22px; padding: 30px 26px 24px; max-width: 400px; width: 100%; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.3); max-height: 92vh; overflow-y: auto; }
.popup-x { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0,0,0,.07); color: #333; font-size: 15px; cursor: pointer; }
.popup-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 18px; border-radius: 999px; margin-bottom: 10px; }
.popup-card h3 { font-size: 24px; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.popup-sub { font-size: 13.5px; color: #555; margin: 0 0 8px; }
.popup-card label { display: block; text-align: right; font-size: 12.5px; font-weight: 700; margin: 12px 0 6px; color: var(--ink); }
.popup-phonerow { display: flex; gap: 8px; }
.popup-cc { flex: none; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 0 12px; font-size: 13px; font-weight: 700; color: #555; }
.popup-hint { display: block; font-size: 11.5px; color: #888; margin-top: 4px; }
.popup-card input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 12px; font-family: inherit; font-size: 14px; background: #fff; }
.popup-card input:focus { outline: none; border-color: var(--primary); }
#popupSubmit { margin-top: 14px; }
.popup-err { color: #b3261e; font-size: 12.5px; margin: 8px 0 0; }
#popupDone code { display: block; font-size: 26px; font-weight: 800; letter-spacing: .08em; background: #fff; border: 2px dashed var(--primary); color: var(--primary); border-radius: 14px; padding: 12px; margin: 8px 0 14px; direction: ltr; }
.popup-actions { display: flex; gap: 10px; }
.popup-actions .btn { flex: 1; }
.popup-note { font-size: 12.5px; color: #8a6d1e; background: #faf3e3; border-radius: 10px; padding: 8px 12px; margin: 12px 0 0; }
.cert-links { display: flex; gap: 18px; }
.cert-links a { color: #999; }
.cert-links a:hover { color: var(--gold); }

/* ---------- Add-to-cart popup ---------- */
.add-modal-overlay {
  position: fixed; inset: 0; z-index: 900; padding: 20px;
  background: rgba(12,32,26,.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
}
.add-modal-overlay.open { opacity: 1; visibility: visible; }
.add-modal {
  background: #fff; border-radius: 22px; width: 100%; max-width: 430px;
  max-height: 92vh; overflow-y: auto; box-shadow: 0 30px 70px rgba(0,0,0,.32);
  transform: translateY(16px) scale(.97); transition: transform .22s ease;
}
.add-modal-overlay.open .add-modal { transform: none; }
.am-imgwrap { position: relative; }
.am-img { width: 100%; height: 200px; object-fit: cover; border-radius: 22px 22px 0 0; background: var(--offwhite); }
.am-close {
  position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border: none;
  border-radius: 50%; background: rgba(10,10,10,.55); color: #fff; font-size: 15px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.am-close:hover { background: rgba(10,10,10,.8); }
.am-body { padding: 20px 22px 24px; }
.am-title { font-size: 20px; font-weight: 800; margin: 8px 0 2px; color: var(--ink); }
.am-desc { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.am-label { font-size: 14px; font-weight: 700; margin: 16px 0 10px; color: var(--ink); }
.am-variants { display: grid; gap: 9px; }
.am-var {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 14px;
  background: #fff; cursor: pointer; transition: all .15s; text-align: right; font-family: inherit;
}
.am-var:hover { border-color: var(--primary); }
.am-var.active { border-color: var(--primary); background: rgba(30,82,67,.07); }
.am-var.disabled { opacity: .45; cursor: not-allowed; }
.am-var-name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.am-var-name small { display: block; font-size: 11.5px; color: #c0392b; font-weight: 500; }
.am-low { color: #b45309; font-weight: 700; }
.am-low-note { flex-basis: 100%; font-size: 12px; color: #b45309; font-weight: 700; text-align: end; margin-top: -6px; }
.am-var-price { font-weight: 800; color: var(--primary); font-size: 14.5px; }
.am-var-price small { font-size: 11px; font-weight: 500; color: var(--muted); }
.am-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.am-total {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed var(--border); margin-top: 18px; padding-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink);
}
.am-total b { color: var(--primary); font-size: 19px; }
.am-total small { font-size: 12px; color: var(--muted); font-weight: 500; }
.am-add {
  width: 100%; margin-top: 16px; padding: 14px; border: none; border-radius: 13px;
  background: var(--primary); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer;
  transition: background .15s, transform .15s;
}
.am-add:hover { background: var(--primary-dark); transform: translateY(-1px); }
.am-add:disabled { background: #c9cfcc; cursor: not-allowed; transform: none; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--offwhite); border-bottom: 1px solid var(--border); padding: 42px 0; }
.page-hero h1 { font-size: 30px; font-weight: 800; }
.page-hero p { color: var(--muted); margin-top: 6px; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 50px 0; align-items: start; }
.pdp-img { border-radius: 18px; overflow: hidden; position: sticky; top: 120px; background: var(--offwhite); }
.pdp-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-info h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.pdp-info .pdp-price { font-size: 26px; font-weight: 800; color: var(--primary); margin: 12px 0 4px; }
.pdp-info .pdp-kcal { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.pdp-desc { color: #555; font-size: 15px; margin-bottom: 24px; line-height: 1.8; }
.pdp-vars { margin-bottom: 20px; }
.pdp-vars label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.var-options { display: flex; gap: 10px; flex-wrap: wrap; }
.var-option {
  border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 18px;
  text-align: center; cursor: pointer; transition: .2s; font-size: 14px; background: #fff;
}
.var-option small { display: block; color: var(--muted); font-size: 12.5px; }
.var-option.active { border-color: var(--primary); background: rgba(30,82,67,.06); color: var(--primary); font-weight: 700; }
.var-option:disabled { opacity: .5; cursor: not-allowed; }
.var-option .oos-note { color: #b3261e; font-weight: 700; }
/* Sold-out watermark covering the whole card / product image */
.pc-soldout { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(28,38,34,.45); border-radius: inherit; pointer-events: none; }
.pc-soldout > span { transform: rotate(-12deg); font-size: 24px; font-weight: 900; color: #fff; border: 3px solid rgba(255,255,255,.92); background: rgba(0,0,0,.35); padding: 10px 26px; border-radius: 16px; text-shadow: 0 2px 10px rgba(0,0,0,.5); white-space: nowrap; }
.product-card.is-oos .pc-img img { filter: grayscale(.45); }
.pdp-oos-note { background: #fdeceb; color: #a33a2f; font-weight: 700; font-size: 14px; border-radius: 12px; padding: 10px 16px; margin: 0 0 14px; text-align: center; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-label { font-weight: 700; font-size: 14px; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; }
.qty-stepper button { width: 40px; height: 42px; font-size: 20px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.qty-stepper button:hover { background: var(--offwhite); }
.qty-stepper button:disabled { opacity: .32; cursor: not-allowed; background: transparent; }
.qty-stepper .qty-val { width: 48px; text-align: center; font-weight: 700; }
.pdp-actions { display: flex; gap: 12px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; padding: 44px 0; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.cart-item img { width: 78px; height: 78px; border-radius: 12px; object-fit: cover; }
.ci-info { flex: 1; }
.ci-name { font-weight: 700; font-size: 15px; }
.ci-price { color: var(--primary); font-weight: 700; margin-top: 3px; }
.cart-summary { background: var(--offwhite); border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: sticky; top: 120px; }
.cart-summary h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.sum-line { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: #555; }
.sum-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; border-top: 1px solid var(--border); padding-top: 14px; margin: 14px 0 18px; }

/* ---------- Forms / checkout ---------- */
.checkout-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 30px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: 14.5px; transition: border .2s;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-option { display: flex; gap: 12px; align-items: center; }
.pay-option { border: 1.5px solid var(--border); border-radius: 14px; padding: 16px; cursor: pointer; margin-bottom: 12px; transition: .2s; }
.pay-option.active { border-color: var(--primary); background: rgba(30,82,67,.05); }
.pay-option input { accent-color: var(--primary); width: 18px; height: 18px; }
.pay-option b { display: block; font-size: 15px; }
.pay-option span { font-size: 13px; color: var(--muted); }

/* ---------- Alerts ---------- */
.alert { border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 18px; }
.alert-success { background: #eaf6ec; color: #256e38; border: 1px solid #cfe8d4; }
.alert-error { background: #fdeceb; color: #a33a2f; border: 1px solid #f5d0cd; }
.alert-info { background: #eef4fb; color: #2b5a8a; border: 1px solid #d6e5f5; }

/* ---------- Orders ---------- */
.order-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.order-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.order-num { font-weight: 800; font-size: 16px; }
.order-status { font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.status-pending { background: #fdeee0; color: #a35a1e; }
.status-confirmed { background: #e8f0fd; color: #2b5a8a; }
.status-preparing { background: #fdf3d7; color: #8a6d1e; }
.status-out_for_delivery { background: #f0e9fb; color: #6a44ad; }
.status-delivered { background: #eaf6ec; color: #256e38; }
.status-cancelled { background: #fdeceb; color: #a33a2f; }

.driver-contact {
  display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px;
  background: #f7f4fd; border: 1.5px solid #e2d8f5; border-radius: 14px;
}
.driver-contact-ico { width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid #e2d8f5; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.driver-contact b { display: block; font-size: 14.5px; color: #4b2e83; }
.driver-contact span { font-size: 13px; color: var(--muted); }
.driver-contact a { text-decoration: none; font-weight: 800; }
.order-body p, .order-meta { font-size: 14px; color: #555; }
.order-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Order tracking timeline ---------- */
.track-steps { display: flex; align-items: flex-start; margin: 18px 0 10px; }
.ts-step { flex: 1; min-width: 0; text-align: center; padding-top: 46px; position: relative; }
.ts-step::before {
  content: ""; position: absolute; top: 16px; inset-inline-start: -50%; inset-inline-end: 50%; height: 3px; background: #dfe3e7; z-index: 0;
}
.ts-step:first-child::before { display: none; }
.ts-step.done::before, .ts-step.now::before { background: var(--primary); }
.ts-node {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; color: #9aa2aa; font-size: 13px; font-weight: 800; border: 2px solid #dfe3e7; transition: all .25s ease;
}
.ts-step.done .ts-node { background: var(--primary); border-color: var(--primary); color: #fff; }
.ts-step.now .ts-node { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 0 0 5px var(--gold-lt); }
.ts-body b { display: block; font-size: 12.5px; font-weight: 800; }
.ts-body span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) {
  .ts-body span { display: none; }
}

/* ---------- Toast (Starbucks-like) ---------- */
.fab-cart {
  position: fixed; bottom: calc(22px + env(safe-area-inset-bottom)); left: 16px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.fab-cart:active { transform: scale(.94); }
.fab-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 999px;
  background: #D32F2F; color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; padding: 0 6px;
  border: 2px solid #fff;
}
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 500; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border: 1px solid var(--border); border-right: 4px solid var(--primary);
  border-radius: 12px; padding: 14px 18px; box-shadow: 0 12px 32px rgba(0,0,0,.14);
  font-size: 14px; font-weight: 600; animation: toastIn .3s ease; max-width: 320px;
}
.toast-success { border-right-color: #2e9347; }
.toast-error { border-right-color: #c0392b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Categories badge ---------- */
.cat-badge { display: inline-block; background: var(--offwhite); color: var(--muted); font-size: 12px; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; min-height: auto; padding: 48px 0; }
  .hero p.sub { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .feature-strip .container { grid-template-columns: repeat(2, 1fr); }
  .fn-top { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .fn-links a { margin-inline: auto; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-img { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cat-nav { display: none; }
}
@media (max-width: 600px) {
  .fn-bottom-in { justify-content: center; text-align: center; }
  .fn-pay { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .nav-center .lang-lbl { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pc-name { font-size: 13.5px; }
  .pc-add { opacity: 1; transform: none; }
}

/* Utilities */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.fw-700 { font-weight: 700; }
.d-none { display: none; }
@media (min-width: 601px) { .d-md-none { display: none; } }

/* ---------- Hero slider: auto-rotate + arrows + dots ---------- */
.hero-slider {
  padding: 26px 0 10px;
  background-color: #f7f1e3;
  background-image: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,0) 60%);
  transition: background-color .6s ease;
}
.hero-viewport {
  position: relative; min-height: 500px; overflow: hidden;
  border-radius: 28px; box-shadow: var(--shadow);
  display: grid;
}
.hero-slide {
  position: relative; grid-area: 1 / 1; align-self: stretch; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px;
  padding: 44px 48px;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.985); pointer-events: none;
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.hero-slide.active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; z-index: 2; transition: opacity .6s ease, transform .6s ease, visibility 0s; }
.hero-slide.no-img { grid-template-columns: 1fr; }
.hero-slide.no-img .hero-copy { max-width: 680px; margin-inline: auto; text-align: center; }
.hero-slide.no-img .hero-actions { justify-content: center; }
.hero-slide .bgvid, .banner-card .bgvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero-slide .bgdim, .banner-card .bgdim { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-slide > :not(.bgvid) { position: relative; z-index: 1; }
.banner-card > :not(.bgvid) { position: relative; z-index: 1; }
.banner-card.no-img { grid-template-columns: 1fr; text-align: center; }
.banner-card.no-img .banner-body { align-items: center; }
.hero-slide p.sub { color: inherit; opacity: .75; }
.hero-image { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-seal {
  position: absolute; top: 16px; right: 16px;
  background: linear-gradient(135deg, #C9A227, #EFD47E); color: #3A2A00;
  font-weight: 800; font-size: 15px; padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25); transform: rotate(-6deg); white-space: nowrap;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9); color: #1F2A1E;
  box-shadow: 0 8px 22px rgba(0,0,0,.18); backdrop-filter: blur(4px);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.hero-arrow:hover { transform: translateY(-50%) scale(1.1); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.26); }
.hero-arrow:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.hero-prev { right: 16px; }
.hero-next { left: 16px; }
.hero-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(0,0,0,.28); backdrop-filter: blur(4px);
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 999px; border: none; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.65); transition: all .3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,.9); }
.hero-dot.active { width: 26px; background: #fff; }
@media (max-width: 860px) {
  .hero-viewport { min-height: 0; }
  .hero-slide {
    grid-template-columns: 1fr; text-align: center; padding: 30px 24px 64px;
    align-content: center;
  }
  .hero-slide .hero-actions { justify-content: center; }
  .hero-slide p.sub { margin-inline: auto; }
  .hero-slide .hero-image { margin-top: 10px; }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-prev { right: 8px; } .hero-next { left: 8px; }
  .hero-image img { max-height: 230px; }
}
@media (max-width: 480px) {
  .hero-slide { padding: 24px 16px 58px; }
  .hero-slide .hero-image { margin-top: 6px; }
  .hero-seal { font-size: 13px; padding: 8px 16px; top: 10px; right: 10px; }
  .hero-arrow { width: 34px; height: 34px; }
  .hero-prev { right: 6px; } .hero-next { left: 6px; }
  .hero-dots { bottom: 10px; padding: 6px 12px; }
}

/* ---------- Offers v2: discount pill, countdown, coupon box ---------- */
.off-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.off-top .banner-badge { margin-bottom: 0; }
.off-disc {
  display: inline-block; background: linear-gradient(135deg, #C9A227, #EFD47E);
  color: #3A2A00; font-weight: 800; font-size: 15px;
  padding: 7px 22px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.22);
  white-space: nowrap;
}
.off-count {
  display: inline-block; background: rgba(0,0,0,.35); color: #FFE9A8;
  font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.off-coupon {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px;
  background: rgba(0,0,0,.16); border: 1.5px dashed rgba(255,255,255,.55);
  border-radius: 14px; padding: 10px 14px;
}
.off-coupon code {
  font-size: 18px; font-weight: 800; letter-spacing: .06em;
  background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 8px;
}
.off-coupon .btn { padding: 8px 16px; font-size: 13px; border-radius: 10px; }

/* ---------- Map address picker (checkout, inline) ---------- */
.map-inline { margin: 6px 0 20px; padding: 14px; border: 1.5px dashed var(--border); border-radius: 14px; background: #fbfaf6; }
.map-inline-head b { display:block; font-size: 15px; }
.map-inline-sub { display:block; color: #7a786f; font-size: 12.5px; margin: 4px 0 12px; }
.map-box { height: 300px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); z-index: 0; background: #e9e7e0; }
.map-inline-addr { background: #f7f5ee; border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #33302a; min-height: 42px; line-height: 1.6; margin: 10px 0; }
.map-inline-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.map-inline-actions .btn { margin: 0; }
.map-inline-link { border: 1.5px solid var(--border); color: var(--primary); background: #fff; }

/* ---------- Live chat widget ---------- */
.chat-fab {
  position: fixed; bottom: calc(90px + env(safe-area-inset-bottom)); left: 16px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: #C6A15B; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.chat-fab:active { transform: scale(.94); }
.chat-unread {
  position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: #D32F2F; border: 2px solid #fff;
}
.chat-panel {
  position: fixed; bottom: calc(158px + env(safe-area-inset-bottom)); left: 12px; z-index: 300;
  width: min(350px, calc(100vw - 24px)); height: min(480px, 62vh);
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  display: flex; flex-direction: column;
}
.chat-panel[hidden] { display: none; }
.chat-panel [hidden] { display: none !important; }
.chat-head {
  background: var(--primary); color: #fff; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; font-size: 14px;
}
.chat-head button { border: 0; background: rgba(255,255,255,.15); color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.chat-start { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.chat-start input {
  padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px;
}
.chat-err { color: #b3261e; font-size: 12.5px; margin: 0; }
.chat-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #f6f4ee; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.7; word-break: break-word; }
.msg.me { align-self: flex-start; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-end; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.sys { align-self: center; background: #eee9db; color: #6b675c; font-size: 12.5px; max-width: 95%; text-align: center; }
.msg-name { display: block; font-size: 11px; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.chat-chips { display: flex; gap: 6px; padding: 8px 10px 2px; background: #fff; overflow-x: auto; }
.chat-chips[hidden] { display: none; }
.chat-chip { flex: none; border: 1.5px solid var(--primary); background: #fff; color: var(--primary); border-radius: 999px; padding: 6px 14px; font-family: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.chat-chip:active { background: var(--primary); color: #fff; }
.chat-foot { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); background: #fff; }
.chat-foot input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 999px; font-family: inherit; font-size: 14px; }
.chat-foot button {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; flex-shrink: 0;
  background: var(--primary); color: #fff; font-size: 16px;
  transform: scaleX(-1);
}

/* ---------- Uploaded media (video/audio via open upload mode) ---------- */
.hero-image video { max-height: 420px; border-radius: 24px; box-shadow: var(--shadow); object-fit: cover; width: 100%; }
.banner-img video { width: 220px; height: 130px; object-fit: cover; border-radius: 16px; }
.cmp-media video { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.pc-img video, .pdp-img video, .ig-img video, .am-imgwrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-img video { aspect-ratio: 1; }
.ig-img video { aspect-ratio: 3/4; }
.cart-item video { width: 78px; height: 78px; border-radius: 12px; object-fit: cover; flex: none; }
.brand-logo video { width: auto; object-fit: contain; }
@media (max-width: 860px) { .hero-image video { max-height: 230px; } }
@media (max-width: 720px) { .banner-img video { width: 100%; height: 150px; } }
