/* خالد كمال ستور — storefront styles */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/cairo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #241f38;
  --ink-2: #5f5a72;
  --ink-3: #918da3;
  --navy: #28243b;
  --navy-2: #3b3554;
  --accent: #e04a3f;
  --accent-soft: #fbe3e0;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --page: #f8f7fb;
  --card: #ffffff;
  --line: #e7e4ef;
  --line-2: #d6d2e1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(46, 35, 33, .05), 0 6px 16px rgba(46, 35, 33, .04);
  --shadow-2: 0 2px 6px rgba(46, 35, 33, .07), 0 18px 40px rgba(46, 35, 33, .08);
  --wrap: 1180px;
  --font: 'Cairo', 'Segoe UI', Tahoma, system-ui, -apple-system, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.2px; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top strip ---------- */
.topbar { background: var(--navy); color: #f2f1f7; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar p { margin: 0; opacity: .95; }
.topbar a { color: #fff; font-weight: 700; letter-spacing: .3px; border-bottom: 1px solid rgba(255,255,255,.35); }
.topbar-note { opacity: .7; }

/* ---------- header ---------- */
.head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.head-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 12px; display: block; flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(40,36,59,.22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text b { font-size: 19px; font-weight: 800; }
.brand-text i { font-style: normal; font-size: 12px; color: var(--ink-2); }

.head-search { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.head-search input {
  width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #f4f1ee; padding: 0 46px 0 18px; font: inherit; font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .15s, background .15s, box-shadow .15s;
}
.head-search input::placeholder { color: var(--ink-3); }
.head-search input:focus { background: #fff; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(63,139,122,.12); }
.head-search svg { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  border: 0; cursor: pointer; white-space: nowrap; transition: background .15s;
}
.cart-btn:hover { background: #41302d; }
.cart-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn b { background: var(--accent); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.cart-btn em { font-style: normal; font-size: 13px; opacity: .85; }

.nav { border-top: 1px solid var(--line); background: #fff; }
.nav-in { display: flex; align-items: center; gap: 26px; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.nav-in a { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 12px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-in a:hover, .nav-in a.is-on { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(120% 140% at 85% 10%, #3b3554 0%, #28243b 55%, #1f1c30 100%);
  color: #fbf6f1; padding: 44px 0 48px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset-inline-start: -120px; bottom: -140px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(224,74,63,.22), transparent 65%);
}
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  color: var(--accent-soft); background: rgba(224,74,63,.14); border: 1px solid rgba(224,74,63,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.1vw, 46px); font-weight: 800; line-height: 1.2; }
.hero h1 span { color: #ffb3ac; }
.hero-sub { margin-top: 14px; font-size: 16px; color: rgba(251,246,241,.78); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 13px; color: rgba(251,246,241,.72); }
.hero-facts b { color: #fff; font-size: 15px; }
.hero-art { position: relative; }
.hero-art img {
  width: 100%; height: auto; border-radius: 20px; border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(31,168,85,.25); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink-3); background: #fbf9f7; }
.btn-add { background: var(--ink); color: #fff; }
.btn-add:hover { background: #41302d; }
.btn-add.is-in { background: var(--navy-2); }

/* ---------- sections ---------- */
.section { padding: 46px 0 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; position: relative; padding-bottom: 10px; }
.sec-head h2::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 44px; height: 3px;
  background: var(--accent); border-radius: 3px;
}
.sec-sub { font-size: 13px; color: var(--ink-2); }

/* ---------- trust band ---------- */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 46px; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 22px 20px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 0 6px; }
.trust-item svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: var(--navy-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item b { display: block; font-size: 14px; font-weight: 700; }
.trust-item span { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  display: flex; align-items: center; gap: 16px; padding: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.cat-shot { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 12px; background: #eceaf4; overflow: hidden; }
.cat-shot img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cat-body h3 { font-size: 16px; font-weight: 800; }
.cat-body p { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .15s;
}
.tab:hover { border-color: var(--ink-3); color: var(--ink); }
.tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-n { font-size: 12px; font-weight: 700; opacity: .7; }
.tab.is-on .tab-n { opacity: .9; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.sort select {
  height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  padding: 0 14px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer;
}

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card-shot { aspect-ratio: 1 / 1; background: #eceaf4; overflow: hidden; box-shadow: inset 0 0 0 1px #e2dff0; }
.card-shot img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s; }
.card:hover .card-shot img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1 1 auto; }
.card-name { font-size: 14.5px; font-weight: 700; line-height: 1.45; min-height: 42px; }
.card-chips { font-size: 12px; color: var(--ink-2); }
.card-price { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 2px; }
.card-price span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.card-price.card-price-ask { font-size: 16px; font-weight: 700; color: var(--ink-2); }
.card-specs { border-top: 1px solid var(--line); margin-top: 6px; }
.card-specs > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 36px; padding: 4px 0; cursor: pointer; list-style: none;
  font-size: 12.5px; color: var(--ink-2);
}
.card-specs > summary::-webkit-details-marker { display: none; }
.card-specs > summary::after { content: '+'; font-size: 15px; color: var(--ink-3); }
.card-specs[open] > summary::after { content: '−'; }
.card-specs > summary:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; border-radius: 6px; }
.spec-list { margin: 0 0 8px; display: flex; flex-direction: column; gap: 4px; }
.spec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.spec-row dt { font-size: 12px; color: var(--ink-2); }
.spec-row dd { margin: 0; font-size: 12px; font-weight: 700; text-align: end; }
.card-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 10px; }
.card-actions .btn { height: 40px; font-size: 13px; padding: 0 14px; width: 100%; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; color: var(--ink-2); }

/* ---------- basket ---------- */
.basket { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 6px 20px; }
.basket-empty { padding: 18px 0; color: var(--ink-2); font-size: 14px; }
.basket-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.basket-line:last-child { border-bottom: 0; }
.basket-line-main { flex: 1 1 auto; min-width: 0; }
.basket-line-name { font-size: 14px; font-weight: 700; }
.basket-line-price { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.basket-line-price b { color: var(--ink); }
.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; }
.qty button:hover { background: #f2eeea; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; font-weight: 700; }
.basket-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.basket-total b { font-size: 22px; font-weight: 800; }
.basket-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 18px; }

/* ---------- steps / note / contact ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li {
  counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 16px 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6;
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px;
  border-radius: 50%; background: var(--accent-soft); color: #7a5a1c; font-weight: 800; font-size: 14px;
}
.note { background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; }
.note h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.note p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact p { font-size: 14px; color: var(--ink-2); max-width: 60ch; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: rgba(244,243,249,.76); margin-top: 56px; padding: 40px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.15fr .7fr 1.15fr 1.15fr; gap: 28px; align-items: start; }
.foot-brand b { color: #fff; font-size: 18px; font-weight: 800; }
.foot-brand p { font-size: 13px; margin-top: 8px; max-width: 34ch; line-height: 1.7; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.foot-nav a:hover { color: #fff; }
.foot-note { font-size: 12px; line-height: 1.8; color: rgba(251,246,241,.6); }
.foot-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #fff; font-weight: 700; font-size: 14px; }
.foot-wa span { border-bottom: 1px solid rgba(255,255,255,.35); }

/* ---------- sticky cart ---------- */
.sticky-cart {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(46,35,33,.1);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.sticky-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-in > span { font-size: 13px; color: var(--ink-2); }
.sticky-in b { color: var(--ink); font-size: 15px; }
.sticky-in .btn { height: 42px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-in { gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-in { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* payment + pickup */
.pay-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 16px; align-items: stretch; }
.pay-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.pay-list { list-style: none; margin: 0; padding: 0; }
.pay-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pay-row:last-child { border-bottom: 0; }
.pay-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: #f2f0f7; display: grid; place-items: center; }
.pay-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-row p { font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.pay-row b { color: var(--ink); font-weight: 800; }
.pickup { background: linear-gradient(180deg,#ffffff,#fdf4f2); border: 1px solid var(--accent-soft); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.pickup-tag { align-self: flex-start; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pickup h3 { font-size: 17px; font-weight: 800; }
.pickup p { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.pickup b { color: var(--ink); font-weight: 800; }
.pickup .btn { margin-top: 8px; align-self: flex-start; }
/* credibility */
.cred { display: flex; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; flex-wrap: wrap; }
.cred-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: #1877f2; display: grid; place-items: center; }
.cred-ico svg { width: 24px; height: 24px; fill: #fff; }
.cred-txt { flex: 1 1 240px; }
.cred-txt h2 { font-size: 19px; font-weight: 800; }
.cred-txt p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.btn-fb { background: #1877f2; color: #fff; box-shadow: 0 6px 16px rgba(24,119,242,.25); }
.btn-fb:hover { background: #0f65d8; }
.btn-fb svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 860px) {
  .pay-grid { grid-template-columns: 1fr; }
  .cred { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
  .cred-txt { flex: 0 0 auto; }
  .cred .btn { width: 100%; }
  .pickup .btn { width: 100%; }
}

@media (max-width: 860px) {
  .head { position: static; }
  .head-in { grid-template-columns: 1fr auto; gap: 12px; padding-top: 18px; padding-bottom: 12px; }
  .head-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .hero { padding: 32px 0 36px; }
  .hero-in { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; }
  .hero-art img { border-radius: 16px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 14.5px; }
  .cat-grid { grid-template-columns: 1fr; gap: 10px; }
  .cat { padding: 12px; gap: 12px; }
  .cat-shot { flex-basis: 64px; width: 64px; height: 64px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 12px 12px 14px; gap: 5px; }
  .card-name { font-size: 13.5px; min-height: 40px; }
  .card-price { font-size: 18px; }
  .card-actions .btn { height: 38px; font-size: 12.5px; }
  .foot-in { grid-template-columns: 1fr; gap: 20px; }
  .foot { padding-bottom: 84px; }
  .section { padding: 36px 0 0; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .topbar-in { min-height: 38px; font-size: 12px; }
  .topbar-note { display: none; }
  .brand-text i { display: block; font-size: 11px; margin-top: 1px; }
  .brand-mark { width: 38px; height: 38px; font-size: 13px; }
  .brand-text b { font-size: 17px; }
  .cart-btn { padding: 0 12px; gap: 6px; }
  .cart-btn em { display: none; }
  .hero-facts { gap: 8px 18px; font-size: 12px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .toolbar { gap: 10px; }
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { height: 38px; padding: 0 14px; font-size: 13px; }
  .sort { width: 100%; justify-content: space-between; }
  .sort select { flex: 1 1 auto; }
  .steps { grid-template-columns: 1fr; }
  .trust-in { grid-template-columns: 1fr; }
  .basket { padding: 4px 14px; }
  .basket-line { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .card:hover { transform: none; }
}

/* ---------- brand mark ---------- */
.hero-mark {
  position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(620px, 70%); height: auto; opacity: .07; pointer-events: none; user-select: none;
}
.foot-logo { width: 64px; height: 64px; border-radius: 14px; display: block; margin-bottom: 12px; }
.foot-latin { display: block; font-size: 12.5px; letter-spacing: 2.4px; text-transform: uppercase; color: rgba(244,243,249,.62); margin-top: 2px; }
@media (max-width: 860px) {
  .hero-mark { width: 92%; opacity: .06; }
  .brand-logo { width: 42px; height: 42px; }
  .foot-logo { width: 56px; height: 56px; }
}

/* ================= v5 ================= */

/* ---------- hero slider ---------- */
.hero-in { align-items: center; }
.hero-slider {
  position: relative; display: grid; grid-template-columns: 1fr; align-items: stretch;
  min-height: 348px; padding: 22px 22px 46px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  overflow: hidden;
}
.hero-slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .7s ease, transform .7s ease;
}
.hero-slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.slide-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: rgba(244,243,249,.6); }
.hero-slide h2 { font-size: clamp(20px, 2.1vw, 25px); font-weight: 800; line-height: 1.35; color: #fff; }
.slide-text { font-size: 13.5px; line-height: 1.75; color: rgba(251,246,241,.76); max-width: 34ch; }
.hero-slide .btn { align-self: flex-start; height: 42px; font-size: 13px; margin-top: 6px; }
.slide-prod { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: center; }
.slide-prod img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; padding: 8px;
  background: #eceaf4; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.slide-prod-body h2 { font-size: 17px; font-weight: 800; line-height: 1.45; color: #fff; }
.slide-price { font-size: 25px; font-weight: 800; color: #fff; margin: 6px 0 10px; letter-spacing: .01em; }
.slide-price span { font-size: 13px; font-weight: 600; color: rgba(244,243,249,.7); }
.hero-dots { position: absolute; inset-inline-start: 22px; bottom: 18px; display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.34); cursor: pointer; transition: width .25s ease, background .25s ease;
}
.dot.is-on { width: 22px; border-radius: 999px; background: #fff; }
.dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* whatsapp number beside its logo, under the copy */
.hero-wa {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  margin-top: 20px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(31,168,85,.16); border: 1px solid rgba(31,168,85,.42);
  color: #fff; transition: background .15s, border-color .15s;
}
.hero-wa:hover { background: rgba(31,168,85,.26); border-color: rgba(31,168,85,.7); }
.hero-wa-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--wa); flex: 0 0 auto; }
.hero-wa-ico svg { width: 20px; height: 20px; fill: #fff; }
.hero-wa-txt { display: flex; flex-direction: column; line-height: 1.25; }
.hero-wa-txt i { font-style: normal; font-size: 11px; color: rgba(244,243,249,.72); }
.hero-wa-txt bdi { font-size: 15px; font-weight: 800; letter-spacing: .03em; direction: ltr; }

/* ---------- card v5 ---------- */
.card-shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #eceaf4; cursor: pointer; }
.card-shot img { display: block; }
.chip-stock {
  position: absolute; top: 10px; inset-inline-start: 10px;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(31,168,85,.14); color: #106b3c; border: 1px solid rgba(31,168,85,.3);
}
.card-name { min-height: 0; font-size: 15.5px; }
.card-name-btn {
  padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: inherit;
  text-align: start; line-height: 1.42; cursor: pointer;
}
.card-name-btn:hover { color: var(--navy-2); }
.card-specs-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  margin-top: 2px; padding: 8px 0 0; border: 0; border-top: 1px solid var(--line); background: none;
  font: inherit; font-size: 12.5px; color: var(--ink-2); text-align: start; cursor: pointer;
}
.card-specs-row:hover .spec-more { text-decoration: underline; }
.spec-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
.spec-more { flex: 0 0 auto; font-weight: 700; color: var(--navy-2); }
.card-price { font-size: 22px; }
.card-order-link {
  font-size: 12.5px; color: var(--ink-2); text-align: center;
  text-decoration: underline; text-underline-offset: 3px;
}
.card-order-link:hover { color: var(--wa-dark); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.chips { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap; cursor: pointer; transition: all .15s;
}
.chip span { font-size: 11.5px; opacity: .55; }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-on { background: var(--accent-soft); border-color: rgba(224,74,63,.35); color: #8a2f27; }
.band { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.band select {
  height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.grid-note { font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }

/* ---------- three payment steps ---------- */
.pay-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pay-steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.pay-n { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.pay-steps b { display: block; font-size: 14px; line-height: 1.5; }
.pay-steps p { margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.pay-num { font-size: 15px !important; font-weight: 800; color: var(--ink) !important; letter-spacing: .06em; }

/* ---------- bottom tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(46,35,33,.1);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    backdrop-filter: blur(10px);
  }
  .tabbar-item {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 5px 2px; font-size: 11px; font-weight: 700; color: var(--ink-2);
  }
  .tabbar-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar-item.is-on { color: var(--navy-2); }
  .tabbar-item.is-on svg { stroke-width: 2.1; }
  .tabbar-badge {
    position: absolute; top: 2px; inset-inline-start: calc(50% + 8px);
    display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
  }
}

/* ---------- spec sheet ---------- */
.sheet {
  width: 100%; max-width: min(680px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 22px;
  background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.sheet::backdrop { background: rgba(24,20,36,.55); }
.sheet-in {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  max-height: min(86vh, 760px); overflow: auto; padding: 20px 22px 22px;
}
.sheet-x {
  position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px;
  display: grid; place-items: center; padding: 0 0 2px; border-radius: 50%;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  font-size: 21px; line-height: 1; cursor: pointer;
}
.sheet-head { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding-top: 6px; }
.sheet-head img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #eceaf4; border-radius: 14px; }
.sheet-head-txt h2 { font-size: 17.5px; font-weight: 800; line-height: 1.4; padding-inline-end: 28px; }
.sheet-price { margin: 6px 0 8px; font-size: 22px; font-weight: 800; }
.sheet-head-txt .chip-stock { position: static; display: inline-block; }
.sheet-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.sheet-thumbs button { width: 58px; height: 58px; padding: 0; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.sheet-thumbs button.on { border-color: var(--navy); }
.sheet-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sheet h3 { margin-top: 12px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.sheet-specs { margin: 0; display: flex; flex-direction: column; }
.sheet-spec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sheet-spec-row dt { font-size: 13px; color: var(--ink-2); }
.sheet-spec-row dd { margin: 0; font-size: 13px; font-weight: 700; text-align: end; }
.sheet-note { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.sheet-actions .btn { width: 100%; }

@media (max-width: 860px) {
  .hero-slider { min-height: 300px; padding: 18px 18px 42px; }
  .slide-prod { grid-template-columns: 104px 1fr; gap: 12px; }
  .slide-prod-body h2 { font-size: 15.5px; }
  .slide-price { font-size: 21px; }
  .pay-steps { grid-template-columns: 1fr; }
  .filters { gap: 8px; }
  .band { width: 100%; justify-content: space-between; }
  .band select { flex: 1 1 auto; }
  .sheet-head { grid-template-columns: 96px 1fr; gap: 12px; }
  .sheet-in { padding: 16px 16px 18px; }
  .sheet-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; transform: none; }
  .dot { transition: none; }
}
.sheet-hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin-top: 8px; }

@media (max-width: 520px) {
  .hero { padding: 24px 0 30px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { margin-top: 10px; }
  .hero-wa { margin-top: 14px; }
  .hero-facts { margin-top: 16px; }
}

/* v5 polish */
.hero-slider { background: linear-gradient(160deg, #35304f 0%, #28243b 100%); }
.hero-mark { inset-inline-start: 6%; top: 50%; width: min(430px, 28%); opacity: .06; }
@media (max-width: 860px) {
  .hero-mark { inset-inline-start: 50%; width: 82%; opacity: .05; }
}
.card-name { text-align: start; }

/* pay flow strip: one connected band, not another row of cards */
.pay-steps {
  grid-template-columns: repeat(3, 1fr); gap: 0; padding: 2px 0;
  background: var(--accent-soft); border: 1px solid rgba(224,74,63,.26); border-radius: var(--radius);
}
.pay-steps li { background: none; border: 0; border-inline-start: 1px solid rgba(224,74,63,.22); border-radius: 0; padding: 14px 16px; }
.pay-steps li:first-child { border-inline-start: 0; }
.pay-n { background: var(--accent); color: #fff; }
@media (max-width: 860px) {
  .pay-steps { grid-template-columns: 1fr; }
  .pay-steps li { border-inline-start: 0; border-top: 1px solid rgba(224,74,63,.22); }
  .pay-steps li:first-child { border-top: 0; }
}

/* keep the two actions reachable while the sheet scrolls */
.sheet-actions {
  position: sticky; bottom: -22px; margin-top: 14px; padding: 10px 0 4px;
  background: var(--card); box-shadow: 0 -10px 14px -6px rgba(255,255,255,.95);
}
@media (max-width: 860px) {
  .sheet-actions { bottom: -18px; padding: 8px 0 2px; }
}

/* ================= v6 ================= */

/* live search suggestions */
.search-wrap { position: relative; }
.suggest {
  position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 70;
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(46,35,33,.16); padding: 6px;
  max-height: 62vh; overflow: auto;
}
.sg-row {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; width: 100%;
  padding: 8px; border: 0; background: none; border-radius: 10px; cursor: pointer; text-align: start;
}
.sg-row:hover, .sg-row:focus-visible { background: #f6f4fb; }
.sg-row img { width: 44px; height: 44px; object-fit: contain; background: #eceaf4; border-radius: 8px; padding: 3px; }
.sg-name { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.sg-price { font-size: 13px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.sg-more { display: block; padding: 10px 8px; font-size: 12.5px; font-weight: 700; color: var(--navy-2); text-align: center; }

/* sticky search bar inside the products section (in flow, never covers a card) */
.minibar { display: none; }
@media (max-width: 860px) {
  .minibar {
    display: flex; align-items: center; gap: 8px;
    position: sticky; top: 0; z-index: 45;
    margin: 0 0 12px; padding: 8px 0;
    background: var(--page); border-bottom: 1px solid var(--line);
  }
  .minibar svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; }
  .minibar input {
    flex: 1 1 auto; height: 38px; padding: 0 14px; border: 1px solid var(--line-2);
    border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 13.5px;
  }
}

/* add-to-basket toast with one next action */
.toast {
  position: fixed; inset-inline: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 460px; margin: 0 auto; padding: 12px 16px; border-radius: 16px;
  background: #1f8f4c; color: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.28);
  font-size: 13.5px; font-weight: 700; opacity: 0; transform: translateY(10px);
  transition: opacity .22s, transform .22s;
}
.toast.is-on { opacity: 1; transform: none; }
.toast a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 861px) { .toast { inset-inline: 0; bottom: 20px; } }

/* spec sheet opens with a small, calm motion */
.sheet[open] { animation: sheetPop .2s ease-out; }
.sheet[open]::backdrop { animation: fadeIn .2s ease-out; }
@keyframes sheetPop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sheet[open], .sheet[open]::backdrop { animation: none; }
  .toast { transition: none; }
}

/* mobile nav: wrap instead of slicing a word at the screen edge */
@media (max-width: 520px) {
  .nav-in {
    display: grid; grid-template-columns: repeat(3, auto); justify-content: center;
    gap: 0 22px; min-height: 0; padding: 2px 0 6px; overflow: visible;
  }
  .nav-in a { padding: 8px 0; font-size: 13.5px; border-bottom: 0; }
}

/* ================= social row ================= */
.social-strip { background: #fff; border-top: 1px solid var(--line); }
.social-strip-in { display: flex; align-items: center; gap: 14px; padding: 12px 20px; flex-wrap: wrap; }
.social-strip-label { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px;
  border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  font-size: 13px; font-weight: 700; color: var(--ink); transition: border-color .15s, background .15s, color .15s;
}
.social-btn:hover { border-color: var(--wa); color: var(--wa-dark); background: #f2fbf5; }
.social-ico { display: grid; place-items: center; width: 22px; height: 22px; color: var(--wa); }
.social-ico svg { width: 22px; height: 22px; }
.social-row-foot { margin-top: 14px; }
.social-row-foot .social-btn {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff;
}
.social-row-foot .social-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; }
@media (max-width: 520px) {
  .social-strip-in { gap: 10px; padding: 10px 14px; }
  .social-btn { height: 36px; font-size: 12.5px; }
}

/* ================= seven brand categories ================= */
.cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 520px) {
  .cat { flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
  .cat-shot { flex: 0 0 auto; width: 100%; height: 78px; }
  .cat-body h3 { font-size: 14.5px; }
  .cat-body p { font-size: 12px; }
}

.cat-soon { border-style: dashed; background: #fbfaff; box-shadow: none; }
.cat-soon:hover { transform: none; box-shadow: var(--shadow-1); border-color: var(--line-2); }
.cat-shot-soon { display: grid; place-items: center; background: #f1eef8; }
.cat-shot-soon .soon-ico { display: grid; place-items: center; color: var(--ink-3); }
.cat-shot-soon svg { width: 26px; height: 26px; }
.soon-pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: var(--accent-soft); color: #8a2f27; font-size: 11.5px; font-weight: 700;
}

/* tabs: all seven visible, no clipping, no sideways scroll */
@media (max-width: 520px) {
  .tabs { flex-wrap: wrap; width: 100%; overflow: visible; }
  .tab { flex: 0 0 auto; height: 34px; padding: 0 12px; font-size: 12.5px; }
  .tab-n { font-size: 11px; }
}
.tab.is-soon { border-style: dashed; color: var(--ink-3); }
.tab.is-soon .tab-n { color: var(--accent); font-weight: 700; opacity: 1; }
.tab.is-soon.is-on { background: var(--accent-soft); border-color: rgba(224,74,63,.4); color: #8a2f27; }

/* shipping note under the basket total */
.basket-ship { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; padding: 0 0 12px; }

/* ---------------------------------------------------------------- address block */
.addr { display: grid; grid-template-columns: 1.2fr .8fr; align-items: stretch; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.addr-main { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; }
.addr-pin { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.addr-pin svg { width: 22px; height: 22px; }
.addr-txt { min-width: 0; }
.addr-street { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.6; }
.addr-lines { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.addr-lines li { position: relative; padding-inline-start: 15px; }
.addr-lines li::before { content: ""; position: absolute; inset-inline-start: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.addr-actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 20px; border-inline-start: 1px solid var(--line); }
.addr-map { align-self: flex-start; gap: 8px; }
.addr-map svg { width: 18px; height: 18px; }
.addr-note { font-size: 13px; line-height: 1.8; color: var(--ink-2); }

.pickup .pickup-addr { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 14px; color: var(--ink); line-height: 1.7; margin-top: 4px; }
.pickup-pin { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.pickup-pin svg { width: 16px; height: 16px; }
.pickup-sub { color: var(--ink-2); font-size: 13px; }
.pickup-map { gap: 8px; }
.pickup-map svg { width: 16px; height: 16px; }
.pickup .pickup-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin-top: 2px; }

.foot-addr { font-size: 13px; line-height: 1.9; color: rgba(244,243,249,.76); }
.foot-addr-street { color: #fff; font-weight: 700; display: flex; gap: 8px; align-items: flex-start; }
.foot-pin { flex: 0 0 auto; width: 20px; height: 20px; color: #fff; display: inline-grid; place-items: center; margin-top: 2px; }
.foot-pin svg { width: 18px; height: 18px; }
.foot-addr-line { font-size: 12.5px; color: rgba(244,243,249,.62); }
.foot-addr-map { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #7fe0a5; border-bottom: 1px solid rgba(127,224,165,.4); }

@media (max-width: 1024px) { .foot-in { grid-template-columns: 1.2fr 1fr; } }
@media (max-width: 860px) {
  .addr { grid-template-columns: 1fr; padding: 4px 18px; }
  .addr-actions { border-inline-start: 0; border-top: 1px solid var(--line); padding: 18px 0; }
  .addr-actions .addr-map { align-self: stretch; justify-content: center; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .addr-main { padding: 16px 0; gap: 12px; }
  .addr-street { font-size: 17px; }
  .addr-actions { padding: 16px 0; }
}

/* ---------------------------------------------------------------- reviews */
.rev-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; align-items: start; }
.rev-side { min-width: 0; }
.rev-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rev-empty { grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 26px 20px; text-align: center; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.rev-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.rev-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev-name { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.rev-stars-ro { display: inline-flex; gap: 2px; color: var(--line-2); }
.rev-star-ro svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.rev-star-ro.is-on { color: var(--accent); }
.rev-text { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.rev-date { font-size: 12px; color: var(--ink-3); }
.rev-fallback { font-size: 13px; color: var(--ink-2); margin-top: 12px; }

.rev-form { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.rev-form h3 { font-size: 17px; font-weight: 800; color: var(--ink); }
.rev-form-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin-bottom: 6px; }
.rev-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 8px; }
.rev-input { width: 100%; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fbfafc; padding: 11px 13px; font: inherit; font-size: 14px; color: var(--ink); }
.rev-input:focus { outline: none; background: #fff; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(63,139,122,.12); }
.rev-input::placeholder { color: var(--ink-3); }
.rev-area { resize: vertical; min-height: 96px; line-height: 1.8; }
.rev-stars { display: flex; gap: 4px; direction: ltr; justify-content: flex-end; }
.rev-star { width: 38px; height: 38px; border: 0; background: none; padding: 4px; cursor: pointer; color: var(--line-2); border-radius: 8px; }
.rev-star svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.rev-star.is-on { color: var(--accent); }
.rev-star:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.rev-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.rev-send { margin-top: 14px; width: 100%; }
.rev-msg { font-size: 12.5px; line-height: 1.7; color: var(--ink-2); min-height: 0; }
.rev-msg:empty { display: none; }
.rev-msg.is-bad { color: #b3342b; }
.rev-done { text-align: center; padding: 18px 6px; }
.rev-done-ico { width: 48px; height: 48px; border-radius: 50%; background: rgba(31,168,85,.12); color: var(--wa); display: inline-grid; place-items: center; margin-bottom: 10px; }
.rev-done-ico svg { width: 26px; height: 26px; }
.rev-done h3 { font-size: 16px; font-weight: 800; color: var(--ink); }
.rev-done p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin-top: 6px; }

@media (max-width: 1024px) { .rev-wrap { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .rev-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .rev-form { padding: 16px; }
  .rev-star { width: 34px; height: 34px; }
}

/* ---------------------------------------------------------------- whatsapp channel band */
.wa-band-wrap { margin-top: 4px; }
.wa-band { display: flex; align-items: center; gap: 16px; background: linear-gradient(115deg, #241f38 0%, #332c4c 55%, #46283a 100%); color: #fff; border-radius: 18px; padding: 18px 20px; position: relative; overflow: hidden; box-shadow: 0 14px 32px rgba(36,31,56,.18); }
.wa-band::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.wa-band-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.wa-band-ico svg { width: 24px; height: 24px; }
.wa-band-txt { min-width: 0; flex: 1 1 auto; }
.wa-band-txt h2 { font-size: 17px; font-weight: 800; }
.wa-band-txt p { font-size: 13.5px; color: rgba(255,255,255,.78); line-height: 1.7; margin-top: 4px; }
.wa-band-btn { flex: 0 0 auto; background: var(--accent); color: #fff; height: 44px; box-shadow: 0 8px 18px rgba(224,74,63,.28); }
.wa-band-btn:hover { background: #c93f35; }
@media (max-width: 720px) {
  .wa-band { flex-direction: column; align-items: stretch; text-align: center; padding: 20px 18px; gap: 12px; }
  .wa-band-ico { margin: 0 auto; }
  .wa-band-btn { width: 100%; }
}

/* ---------------------------------------------------------------- product video slot */
.pd-video { width: 100%; margin: 14px 0 18px; }
.pd-video-box { max-width: 216px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #241f38; display: grid; place-items: center; }
.pd-video-box[hidden] { display: none; }
.pd-video-el { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.pd-video-cap { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: 8px; }
.pd-video-cap[hidden] { display: none; }
.pd-video-ph { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 14px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: #fbfaff; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.pd-video-ph[hidden] { display: none; }
.pd-video-ph svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------------------------------------------------------------- payment copy (Khalid's own words) */
.pay-card.pay-say { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.pay-say p { font-size: 15.5px; line-height: 2.1; color: var(--ink); white-space: pre-wrap; }
.pay-say p:first-child { font-weight: 800; }
.cred-ask { flex: 1 1 100%; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); max-width: 70ch; }
