/* Baby Brand — shared styles (converted from the "Baby Brand Homepage" design) */

/* The taka sign (৳, U+09F3) drawn like Bangladeshi price tags: the upright sign from Noto Sans Bengali (OFL), as
   tall and heavy as the digits. Only this one character uses it (unicode-range); each file is under 1 KB. */
@font-face { font-family: 'Baby Brand Taka'; font-weight: 100 550; font-display: block; unicode-range: U+09F3; src: url('../assets/fonts/taka-400.woff2') format('woff2'); }
@font-face { font-family: 'Baby Brand Taka'; font-weight: 551 900; font-display: block; unicode-range: U+09F3; src: url('../assets/fonts/taka-700.woff2') format('woff2'); }

:root {
  --primary: #0B2CB1;
  --primary-hover: #08297C;
  --navy: #0B1F4B;
  --navy-hover: #16306B;
  --navy-tint: #EEF0F8;
  --navy-wash: #F5F7FC;
  --deep: #08162F;
  --deep-line: #1C2B4D;
  --ink: #0F172A;
  --ink-2: #111827;
  --body-2: #374151;
  --muted: #6B7280;
  --slate: #475569;
  --gray-1: #4B5563;
  --line: #E5E7EB;
  --line-2: #D1D5DB;
  --line-soft: #F1F5F9;
  --bg: #FFFFFF;
  --sale: #D92626;
  --save: #16A34A;
  --save-bg: #DCFCE7;
  --save-ink: #15803D;
  --ok: #1E7B34;
  --err: #DC2626;
  --err-bg: #FEF2F2;
  --gold: #C9A465;
  --amber: #E0A03A;
  --cream: #FDF5EA;
  --footer-text: #C5C8CE;
  --wa: #25D366;
  --font-body: 'Baby Brand Taka', 'Hind Siliguri', system-ui, sans-serif;
  --font-head: 'Baby Brand Taka', 'Jost', 'Hind Siliguri', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* Seamless page-to-page: cross-document view transitions (Chrome 126+, Safari 18.2+) keep the header on screen and
   avoid a blank frame. No fade: the new page replaces the old one the moment it is ready, like an app. */
@view-transition { navigation: auto; }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
.hdr { view-transition-name: site-header; }

*, *::before, *::after { box-sizing: border-box; }

/* Page edges (matched to the reference site). Content: 14px side gutter up to 960px wide, then a fixed width that
   steps up with the screen. Header and footer: their own gutters, up to 1400px wide. */
:root { --page-w: 100%; --page-pad: 14px; --hdr-pad: 12px; --foot-pad: 20px; }
@media (min-width: 640px) { :root { --hdr-pad: 20px; --foot-pad: 32px; } }
@media (min-width: 961px) { :root { --page-w: 800px; --page-pad: 0px; } }
@media (min-width: 1024px) { :root { --hdr-pad: 32px; --foot-pad: 5%; } }
@media (min-width: 1025px) { :root { --page-w: 970px; } }
@media (min-width: 1281px) { :root { --page-w: 1100px; } }
@media (min-width: 1401px) { :root { --page-w: 1200px; } }
@media (min-width: 1601px) { :root { --page-w: 1400px; } }
html { scroll-behavior: smooth; touch-action: manipulation; } /* no double-tap zoom */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--primary-hover); }
button { font-family: inherit; cursor: pointer; }
select, input, textarea { font-family: inherit; }
img { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hd { font-family: var(--font-head); font-weight: 500; letter-spacing: -.005em; }
.price { font-family: var(--font-body); }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: 76px; background: rgba(10,147,209,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.hdr-in { max-width: 1400px; height: 100%; margin: 0 auto; padding: 0 var(--hdr-pad); display: flex; align-items: center; gap: 40px; }
/* Desktop: the header row lines up with the page content below it (same width as --page-w, no extra side padding),
   so the logo starts where the breadcrumbs, headings and product grid start, and Bag ends where the grid ends. */
@media (min-width: 1025px) { .hdr:not(.hdr-co) .hdr-in { max-width: var(--page-w); padding: 0; } }
.hdr-top { display: contents; }
.hdr-tag, .hdr-acts { display: contents; }
/* Desktop header, 96px in all: row 1 (56px) — logo centred, search pill + Track Order + Bag on the right, a hairline
   under it; row 2 (40px) — the categories on a slightly darker band. Phones keep their own header (.mob-bar). */
@media (min-width: 1025px) {
  .hdr:not(.hdr-co) { height: auto; }
  .hdr:not(.hdr-co) .hdr-in { display: block; height: auto; }
  .hdr-top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hdr-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
  .hdr-top .hdr-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .hdr-top .hdr-logo img { height: 28px; }
  .hdr-acts { display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-width: 0; margin-left: auto; }
  .hdr-acts .search { flex: 0 0 208px; min-width: 0; }
  .hdr-acts .srch { height: 36px; padding: 0 38px 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; transition: background .2s; }
  .hdr-acts .srch:hover { background: rgba(255,255,255,.15); }
  .hdr-acts .srch:focus { background: rgba(255,255,255,.2); outline: 2px solid rgba(255,255,255,.55); outline-offset: 0; }
  .hdr-acts .srch::placeholder { color: rgba(255,255,255,.6); }
  .hdr-acts .search-go { top: 2px; right: 2px; width: 32px; height: 32px; }
  .hdr-acts .search-go svg { width: 16px; height: 16px; }
  .hdr-acts .dd { top: 44px; left: auto; right: 0; width: 420px; }
  .hdr-acts .hdr-icons { margin-left: 0; gap: 24px; }
  /* Track Order: icon and words side by side; Bag: the icon and its count. */
  .hdr-acts .hdr-icon { flex-direction: row; gap: 6px; font-size: 12px; font-weight: 500; }
  .hdr-acts .hdr-icon svg { width: 20px; height: 20px; }
  .hdr-acts button.hdr-icon > span:not(.badge) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr-acts .badge { top: -6px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; font-weight: 700; color: #0A93D1; }
  .hdr:not(.hdr-co) .main-nav { position: relative; height: 40px; justify-content: center; gap: 32px; }
  /* The band runs edge to edge as a shadow (shadows don't widen the page, so no sideways scroll), clipped to the row. */
  .hdr:not(.hdr-co) .main-nav::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.05); box-shadow: 0 0 0 100vmax rgba(0,0,0,.05); clip-path: inset(0 -100vmax); pointer-events: none; }
  .hdr:not(.hdr-co) .nav-a { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .12em; padding: 4px 0; border-bottom: 0; transition: opacity .15s; }
  .hdr:not(.hdr-co) .nav-a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: .12em; bottom: -2px; height: 2px; border-radius: 2px; background: #fff; }
  .hdr-logo, .hdr-icon { transition: opacity .2s; }
  .hdr-logo:hover { opacity: .8; }
  .hdr:not(.hdr-co) .nav-a:hover, .hdr:not(.hdr-co) .hdr-icon:hover { opacity: .75; }
}
@media (min-width: 1025px) and (max-width: 1280px) { .hdr-acts .search { flex-basis: 180px; } .hdr-acts, .hdr-acts .hdr-icons { gap: 18px; } }
.hdr-logo { display: flex; align-items: center; flex-shrink: 0; }
.hdr-logo img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; flex-shrink: 0; }
.nav-a { color: #fff !important; font-family: var(--font-head); font-style: normal; font-weight: 600; font-size: 15px; letter-spacing: .13em; transition: opacity .2s; background: none; border: 0; padding: 6px 0; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; }
.nav-a:hover { opacity: .78; }
.nav-a[aria-current="page"] { border-bottom-color: #fff; }
.nav-a .chev { transition: transform .2s; }
.nav-a[aria-expanded="true"] .chev { transform: rotate(180deg); }

.search { flex: 1; min-width: 200px; position: relative; margin: 0; }
.srch { width: 100%; height: 44px; border-radius: 3px; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.12); color: #fff; font-size: 17px; padding: 0 52px 0 20px; }
.srch::placeholder { color: rgba(255,255,255,.88); }
.srch:focus { outline: 2px solid rgba(255,255,255,.7); outline-offset: 0; }
.srch::-webkit-search-cancel-button { filter: invert(1); }
.search-go { position: absolute; right: 4px; top: 2px; width: 40px; height: 40px; border: 0; background: none; color: #fff; display: flex; align-items: center; justify-content: center; }

.hdr-icons { display: flex; align-items: center; gap: 30px; flex-shrink: 0; margin-left: auto; }
.hdr-icon { color: #fff !important; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; position: relative; transition: opacity .2s; background: none; border: 0; padding: 0; }
.hdr-icon:hover { opacity: .78; }
.badge { position: absolute; top: -6px; right: -8px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--primary); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.badge.pop-a { animation: popA .55s cubic-bezier(.3,1.6,.5,1); }
.badge.pop-b { animation: popB .55s cubic-bezier(.3,1.6,.5,1); }

/* search dropdown */
.dd { position: absolute; top: 52px; left: 0; right: 0; background: #fff; border-radius: 10px; box-shadow: 0 18px 48px rgba(15,23,42,.18); overflow: hidden; color: var(--ink); z-index: 5; }
.dd-label { padding: 14px 18px 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #64748B; }
.dd-row { display: flex; align-items: center; gap: 14px; padding: 10px 18px; color: var(--ink); }
.dd-row:hover { background: #F1F5F9; color: var(--ink); }
.dd-row img { width: 52px; height: 60px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.dd-row .nm { font-size: 15px; font-weight: 600; }
.dd-row .ct { font-size: 13px; color: #64748B; margin-top: 2px; }
.dd-row .pr { text-align: right; }
.dd-row .pr b { display: block; font-size: 15px; }
.dd-row .pr s { font-size: 13px; color: var(--muted); }
.dd-all { display: block; padding: 14px 18px; border-top: 1px solid #E2E8F0; font-size: 14px; font-weight: 700; }
.dd-empty { padding: 30px 28px 26px; text-align: center; }
.dd-empty .ic { width: 60px; height: 60px; border-radius: 50%; background: #EEF2FF; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
.dd-empty .t { font-size: 20px; }
.dd-empty .s { font-size: 15px; color: var(--slate); margin-top: 6px; }
.dd-empty .pl { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #64748B; margin: 20px 0 10px; }
.dd-empty .browse { display: inline-block; margin-top: 22px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; padding: 13px 22px; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip-btn { border: 1px solid #CBD5E1; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink); }

/* mobile header */
/* Icons 24px in 44px tap areas; padding 4px puts each icon's edge on the page's 14px side margin (4 + 10), so the
   header lines up with the content below and both sides match. */
.mob-bar { display: none; height: 100%; padding: 0 4px; align-items: center; grid-template-columns: 1fr auto 1fr; column-gap: 8px; }
.mob-bar > :first-child { justify-self: start; }
.mob-bar > :last-child { justify-self: end; gap: 4px; }
.mob-bar img { height: 28px; width: auto; }
.mob-bar .icon-btn svg { width: 24px; height: 24px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; color: #fff; display: flex; align-items: center; justify-content: center; position: relative; }
.icon-btn .badge { top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; }
.mob-search { display: none; background: var(--primary); padding: 0 12px 12px; position: relative; margin: 0; }
.mob-search .srch { height: 46px; font-size: 16px; padding: 0 16px; }

/* mega menu */
.mega { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 24px 48px rgba(15,23,42,.14); border-top: 1px solid #E2E8F0; }
.mega-in { max-width: 1360px; margin: 0 auto; padding: 36px 40px 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.mega-t { font-family: var(--font-head); font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .18em; margin-bottom: 16px; color: var(--ink); }
.mega-col { display: flex; flex-direction: column; gap: 11px; }
.mega-a { color: #334155 !important; font-family: var(--font-head); font-style: normal; font-weight: 600; font-size: 15px; }
.mega-a:hover { color: var(--navy) !important; }
/* Menu badges (set per item in admin → Menus). */
.mbadge { display: inline-flex; align-items: center; height: 16px; margin-left: 6px; padding: 0 5px; border-radius: 3px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; line-height: 1; vertical-align: 2px; text-transform: uppercase; }
.mb-red { background: #DC2626; color: #fff; }
.mb-amber { background: var(--amber); color: #1A1206; }
.mb-green { background: #16A34A; color: #fff; }
.mb-blue { background: #2563EB; color: #fff; }
.mb-pink { background: #DB2777; color: #fff; }
.mb-white { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.mega-feat { border-radius: 10px; background: #D9C4A6 center / cover no-repeat; min-height: 240px; position: relative; overflow: hidden; display: block; }
.mega-feat::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 35%, rgba(15,23,42,.72)); }
/* Only the text box is pinned to the bottom corner; its lines stack normally inside it. */
.mega-feat > div { position: absolute; left: 22px; right: 22px; bottom: 22px; color: #fff; }

/* toast */
.toast { position: absolute; left: 50%; top: calc(100% + 14px); z-index: 60; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 12px; background: var(--ink); color: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.28); animation: toastIn .42s var(--ease-out) both; transform: translateX(-50%); }
.toast .ck { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--ok); display: flex; align-items: center; justify-content: center; }
.toast .tx { min-width: 0; font-size: 14px; line-height: 1.35; }
.toast .tx span { display: block; color: #CBD5E1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-soon { width: max-content; }
.toast-soon .tx span { white-space: normal; }
.toast .ck.soon { background: var(--amber); color: #1A1206; }
.toast .ck.soon svg { width: 17px; height: 17px; }
.toast button, .toast a { flex-shrink: 0; margin-left: 6px; padding: 0; border: 0; background: none; color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* menu drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: flex; }
.drawer-panel { width: 84%; max-width: 340px; background: #fff; height: 100%; overflow-y: auto; padding: 18px 0 30px; box-shadow: 0 0 40px rgba(0,0,0,.25); animation: menuIn .32s var(--ease-out) both; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 14px 22px; border-bottom: 1px solid #E2E8F0; }
.drawer-head .icon-btn { color: var(--ink); }
.drawer nav { display: flex; flex-direction: column; padding: 8px 0; }
.drawer nav a { padding: 15px 22px; font-family: var(--font-head); font-style: normal; font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--ink); border-bottom: 1px solid #F1F5F9; }
.drawer .help-h { padding: 14px 22px 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.drawer nav a.help-a { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.drawer-scrim { flex: 1; border: 0; background: rgba(15,23,42,.5); animation: fadeIn .25s ease both; }

/* ---------- Buttons, fields, chips (shared) ---------- */
.buy { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 0; border-radius: 4px; background: var(--navy); color: #fff !important; font-size: 17px; font-weight: 500; transition: background .2s; }
.buy:hover { background: var(--navy-hover); color: #fff; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 1.5px solid var(--ink-2); border-radius: 4px; background: #fff; color: var(--ink-2) !important; font-size: 16px; font-weight: 500; transition: background .2s, color .2s; }
.btn-line:hover { background: var(--ink-2); color: #fff !important; }
.fld { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 16px; background: #fff; color: var(--ink-2); transition: border-color .2s, box-shadow .2s; }
textarea.fld { height: auto; padding: 10px 14px; line-height: 1.5; resize: vertical; }
.fld:focus { outline: none; border-color: var(--navy) !important; box-shadow: 0 0 0 3px rgba(11,31,75,.1); }
.fld::placeholder { color: #9CA3AF; }
.fld[aria-invalid="true"] { border-color: var(--err); }
.lbl { display: block; font-size: 14px; font-weight: 600; color: var(--body-2); margin-bottom: 4px; }
.lbl .req { color: var(--err); }
.lbl .hint-o { font-weight: 400; color: #9CA3AF; }
.ferr { margin-top: 6px; font-size: 13px; color: var(--err); animation: errIn .2s ease both; }
.fhint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.sel-wrap { position: relative; display: block; }
.sel-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.sel-wrap svg { position: absolute; right: 14px; top: 15px; pointer-events: none; }
.pill { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.pill:hover { border-color: var(--navy); }
.pill[aria-pressed="true"], .pill[aria-checked="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.crumbs { padding-top: 24px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink-2); }
.page-h { margin: 14px 0 0; font-size: 34px; font-weight: 600; line-height: 1.15; }
.page-sub { margin: 8px 0 0; font-size: 16px; color: var(--gray-1); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.shake-a { animation: shakeA .4s ease; }
.shake-b { animation: shakeB .4s ease; }

/* ---------- Product card ---------- */
.pc { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; animation: cardIn .42s var(--ease-out) both; }
.pc-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #F3F4F6; }
.pc-link { position: absolute; inset: 0; }
.pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pc:hover .pimg { transform: scale(1.05); }
.pc.sold .pimg { filter: grayscale(1); opacity: .6; }
.tag-off { position: absolute; top: 12px; left: 12px; background: var(--sale); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; padding: 6px 8px; border-radius: 4px; pointer-events: none; }
.tag-sold { position: absolute; top: 12px; right: 12px; background: var(--ink-2); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1; padding: 7px 9px; border-radius: 4px; pointer-events: none; }
.pc-body { padding: 16px; display: flex; flex-direction: column; }
.pname { margin: 0; font-family: var(--font-head); font-size: 16px; font-weight: 400; letter-spacing: -.005em; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pname a { color: var(--ink-2); }
.save { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: 18px; background: var(--save-bg); color: var(--save-ink); font-size: 13px; font-weight: 700; line-height: 1; padding: 5px 8px; border-radius: 3px; }
.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.pc-prices { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; min-width: 0; white-space: nowrap; }
.pc-prices b { font-size: 20px; font-weight: 700; color: var(--ink-2); }
.pc-prices s { font-size: 14px; font-weight: 500; color: #6B7280; }
.cart-wrap { position: relative; flex-shrink: 0; }
.cart-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; color: #fff; display: flex; align-items: center; justify-content: center; background: var(--navy); transition: background .3s; }
.cart-btn.open { background: var(--navy-hover); }
.cart-btn.added { background: var(--ok); animation: pressPop .5s cubic-bezier(.3,1.6,.5,1); }
.cart-btn.added svg { stroke-dasharray: 24; animation: drawCheck .4s ease-out both; }
.cart-btn:disabled { background: #D1D5DB; cursor: not-allowed; }
.plus1 { position: absolute; left: 50%; top: -8px; font-size: 13px; font-weight: 700; color: var(--ok); pointer-events: none; animation: floatUp .9s ease-out forwards; }
/* Card Buy Now — hope71.com's: 36px tall, 4px corners, 16.5px text, 14px bolt, 6px under the price row. */
.pc .buy { height: 36px; margin-top: 6px; gap: 4px; border-radius: 4px; font-size: 16.5px; font-weight: 400; box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
.pc .buy svg { width: 14px; height: 14px; stroke-width: 2; }
.pc .notify { height: 36px; margin-top: 6px; font-size: 15px; }
/* Wide desktops: card Buy Now at hope71.com's width (269px), centred, reaching a little into the card padding. */
@media (min-width: 1401px) { .pc .buy { width: 269px; max-width: calc(100% + 24px); align-self: center; } }
.notify { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 16px; border-radius: 4px; font-size: 16px; font-weight: 500; transition: all .2s; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); }
.notify.on { border-color: var(--save); background: #F0FDF4; color: var(--save-ink); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; row-gap: 24px; }

/* size sheet */
.sheet { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 14px; border-radius: 12px 12px 0 0; box-shadow: 0 -10px 30px rgba(15,23,42,.14); animation: sheetUp .34s var(--ease-out) both; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.sheet-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #F3F4F6; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.sz { height: 40px; border-radius: 6px; font-size: 14px; font-weight: 600; border: 1.5px solid #D1D5DB; background: #fff; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s, transform .15s; }
.sz.on { border-color: var(--navy); background: var(--navy); color: #fff; transform: scale(1.04); }
.sz.na { border: 1.5px dashed var(--line); background: #F9FAFB; color: #C0C4CC; text-decoration: line-through; cursor: not-allowed; }
.confirm { width: 100%; height: 42px; margin-top: 10px; border: 0; border-radius: 6px; font-size: 14px; font-weight: 700; background: #E5E7EB; color: var(--muted); cursor: not-allowed; transition: background .25s, color .25s; }
.confirm.ready { background: var(--navy); color: #fff; cursor: pointer; }

/* ---------- Cart drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 100; }
.cart-scrim { position: absolute; inset: 0; border: 0; background: rgba(15,23,42,.45); animation: fadeIn .25s ease both; cursor: default; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -18px 0 48px rgba(15,23,42,.18); animation: drawerIn .38s var(--ease-out) both; }
.cart.closing .cart-panel { animation: drawerOut .26s ease-in both; }
.cart.closing .cart-scrim { animation: fadeOut .26s ease-in both; }
/* Opening: the panel glides in, then its header, lines and checkout bar settle in after it. */
.cart.opening .cart-scrim { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.cart.opening .cart-panel { animation: drawerIn .52s cubic-bezier(.16,1,.3,1) both; }
.cart.opening .cart-head > * { animation: rowIn .4s .14s var(--ease-out) both; }
.cart.opening .cart-foot { animation: footIn .5s .22s var(--ease-out) both; }
/* "Added to your cart" note and the highlighted new line. */
.cart-added { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 10px 12px; border-radius: 10px; background: #ECF7EF; color: var(--ok); animation: addedIn .5s .1s cubic-bezier(.3,1.4,.5,1) both; }
.cart-added .ck { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--ok); display: flex; align-items: center; justify-content: center; animation: ckPop .5s .25s cubic-bezier(.3,1.6,.5,1) both; }
.cart-added .ck path { stroke-dasharray: 22; stroke-dashoffset: 22; animation: drawStroke .35s .45s ease-out forwards; }
.cart-added .tx { min-width: 0; font-size: 14px; line-height: 1.3; }
.cart-added .tx b { display: block; font-weight: 700; }
.cart-added .tx span { display: block; color: var(--body-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-row.just { position: relative; animation: justIn .55s .18s cubic-bezier(.3,1.3,.5,1) both; }
.cart-row.just::before { content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: 10px; background: var(--navy-tint); box-shadow: 0 0 0 1.5px rgba(11,31,75,.14); animation: justGlow 2.4s .3s ease-out both; }
.cart-row.just > a { animation: justImg .6s .25s cubic-bezier(.3,1.5,.5,1) both; }
.cart-list { isolation: isolate; }
/* The product photo flying into the bag, and the bag catching it. */
.fly { position: fixed; z-index: 120; pointer-events: none; will-change: transform; }
.fly-in { width: 100%; height: 100%; overflow: hidden; border-radius: 12px; box-shadow: 0 14px 34px rgba(15,23,42,.32), 0 0 0 3px #fff; will-change: transform, opacity; }
.fly-in img { width: 100%; height: 100%; object-fit: cover; }
.bag-catch { animation: bagCatch .55s cubic-bezier(.3,1.6,.5,1); }
.cart-head { flex-shrink: 0; height: 64px; padding: 0 8px 0 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--ink-2); }
.cart-count { font-size: 12px; font-weight: 500; color: var(--gray-1); background: #EEF0F3; padding: 3px 8px; border-radius: 4px; line-height: 1.4; }
.cart-x { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--body-2); display: flex; align-items: center; justify-content: center; }
.cart-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; }
.cart-list { display: flex; flex-direction: column; gap: 20px; }
.cart-row { display: flex; gap: 12px; animation: rowIn .38s var(--ease-out) both; }
.cart-row > a { flex-shrink: 0; width: 80px; height: 80px; border-radius: 6px; overflow: hidden; background: #F3F4F6; }
.cart-row > a img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .info { flex: 1; min-width: 0; }
.cart-row .top { display: flex; align-items: flex-start; gap: 8px; }
.cart-row .nm { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm { flex-shrink: 0; width: 28px; height: 28px; margin: -4px -6px 0 0; border: 0; border-radius: 50%; background: none; color: #9CA3AF; display: flex; align-items: center; justify-content: center; transition: color .2s; }
.rm:hover { color: #B91C1C; }
.cart-row .meta { margin-top: 2px; font-size: 13px; color: var(--muted); }
.cart-row .line { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-row .line b { font-size: 15px; color: var(--ink-2); }
.save-sm { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--save-ink); background: var(--save-bg); padding: 3px 7px; border-radius: 4px; line-height: 1.3; }
.qty-sm { margin-top: 10px; width: 74px; height: 28px; display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.qty-sm button { width: 24px; height: 100%; border: 0; background: none; color: var(--ink-2); display: flex; align-items: center; justify-content: center; }
.qty-sm button[aria-disabled="true"] { color: #C0C4CC; cursor: default; }
.qty-sm span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; }
.cart-empty { padding: 56px 8px; text-align: center; animation: rowIn .4s var(--ease-out) both; }
.cart-empty .ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.cart-empty p { margin: 4px 0 18px; font-size: 14px; color: var(--muted); }
.cart-empty a { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.upsell { margin-top: 20px; padding: 14px; background: #F5F5F0; border: 1px solid #E7E7DF; border-radius: 8px; }
.upsell-t { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--body-2); }
.upsell-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; animation: upIn .35s var(--ease-out) both; }
.upsell-row img { flex-shrink: 0; width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: #E5E7EB; }
.upsell-row .nm { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upsell-row .pr { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; font-size: 14px; }
.upsell-row .pr s { font-size: 12px; color: #9CA3AF; }
.upsell-row select { appearance: none; -webkit-appearance: none; width: 54px; height: 32px; padding: 0 20px 0 10px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.upsell-row .sel { position: relative; flex-shrink: 0; }
.upsell-row .sel svg { position: absolute; right: 7px; top: 11px; pointer-events: none; }
.add { flex-shrink: 0; height: 32px; padding: 0 12px; border: 0; border-radius: 4px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; transition: background .2s, transform .15s; }
.add:hover { background: var(--navy-hover); }
.add:active { transform: scale(.96); }
.cart-foot { flex-shrink: 0; padding: 14px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
.cart-foot .sv { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--save-ink); }
.cart-foot .st { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 16px; font-weight: 600; color: var(--ink-2); }
.cart-foot .st b { font-size: 17px; }
.cart-foot .buy { height: 52px; margin-top: 16px; font-size: 16px; font-weight: 600; letter-spacing: .03em; }

/* ---------- Footer ---------- */
/* Phones: stacked blocks split by hairlines — brand + socials, offers, Quick Links | Need Help, the trust strip on a
   darker band, the copyright. Tablets: brand | offers over links | help. Desktop (≥1025px): a 12-column grid (brand 4,
   links 2, help 3, offers 3), then the trust pillars left and the copyright right on one line. */
.foot { --foot-ink: #CBD5E1; --foot-line: rgba(255,255,255,.1); background: linear-gradient(180deg, #0A1436 0%, #070E27 55%); color: var(--foot-ink); font-size: 12px; }
.foot-in { max-width: 1280px; margin: 0 auto; }
.foot-grid > *, .foot-cols { padding: 24px; }
.foot-brand { padding-top: 32px; }
.foot-offers, .foot-cols { border-top: 1px solid var(--foot-line); }
.foot img { display: block; height: 30px; width: auto; }
.foot p { margin: 12px 0 0; max-width: 320px; font-size: 12px; line-height: 1.65; color: var(--foot-ink); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.soc { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff !important; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.soc:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.soc svg { width: 17px; height: 17px; }
.foot-h { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.foot-sub { display: none; }
.sub { display: flex; }
.sub input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.15); border-right: 0; border-radius: 8px 0 0 8px; background: rgba(255,255,255,.1); color: #fff; font-size: 12px; outline: none; transition: border-color .2s, background .2s; }
.sub input::placeholder { color: rgba(255,255,255,.5); }
.sub input:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.14); }
.sub button { flex-shrink: 0; height: 44px; padding: 0 20px; border: 0; border-radius: 0 8px 8px 0; background: #fff; color: #0B2CB1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.sub button:hover { background: rgba(255,255,255,.9); }
.sub button:disabled { opacity: .7; }
.sub-ok { margin-top: 10px; font-size: 12px; color: #86EFAC; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.foot-cols > * { padding: 0; }
.foot-links { display: flex; flex-direction: column; align-items: flex-start; }
.flink { display: block; padding: 4px 0; font-size: 12px; color: var(--foot-ink) !important; transition: color .15s; }
.flink:hover, .foot-contact a:hover { color: #fff !important; }
.foot-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-contact a { display: flex; align-items: center; gap: 8px; max-width: 100%; font-size: 12px; color: var(--foot-ink) !important; transition: color .15s, background .2s; }
.foot-contact svg { flex-shrink: 0; }
.foot-contact span { min-width: 0; overflow-wrap: anywhere; }
.foot-contact .foot-track { margin-top: 4px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 600; color: #fff !important; }
.foot-contact .foot-track:hover { background: rgba(255,255,255,.2); }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px; background: rgba(0,0,0,.2); border-top: 1px solid var(--foot-line); border-bottom: 1px solid var(--foot-line); text-align: center; font-size: 11px; font-weight: 500; line-height: 1.3; color: rgba(255,255,255,.8); }
.trust div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust svg { color: #fff; stroke: currentColor; }
.copy { padding: 18px 16px 42px; text-align: center; font-size: 11px; color: rgba(255,255,255,.55); } /* just clears the floating WhatsApp button */
@media (min-width: 641px) and (max-width: 1024px) {
  .foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px; }
  .foot-grid > * { padding: 32px 16px 24px; }
  .foot-offers { border-top: 0; }
  .foot-cols { grid-column: 1 / -1; padding: 24px 16px; }
  .copy { padding-bottom: 20px; }
}
@media (min-width: 1025px) {
  .foot-in { padding: 64px 32px 32px; }
  .foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; margin-bottom: 48px; }
  .foot-grid > *, .foot-cols, .foot-brand { padding: 0; border: 0; }
  .foot-cols { display: contents; }
  .foot-brand { grid-column: 1 / span 4; grid-row: 1; }
  .foot-quick { grid-column: 5 / span 2; grid-row: 1; }
  .foot-help { grid-column: 7 / span 3; grid-row: 1; }
  .foot-offers { grid-column: 10 / span 3; grid-row: 1; }
  .foot img { height: 34px; }
  .foot p { margin-top: 16px; font-size: 14px; }
  .socials { gap: 12px; margin-top: 20px; }
  .foot-h { margin-bottom: 16px; }
  .foot-sub { display: block; margin: 0 0 14px; font-size: 13px; }
  .foot-links { gap: 6px; }
  .flink, .foot-contact a { font-size: 14px; }
  .foot-contact { gap: 12px; }
  .foot-contact span { white-space: nowrap; }
  .foot-contact .foot-track { height: 36px; font-size: 13px; }
  .sub input { height: 44px; font-size: 16px; }
  .foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid var(--foot-line); }
  .trust { display: flex; gap: 32px; padding: 0; background: none; border: 0; font-size: 13px; }
  .trust div { flex-direction: row; gap: 8px; }
  .copy { padding: 0; font-size: 13px; }
}
.foot-slim { background: var(--deep); color: #9CA3AF; padding: 22px var(--foot-pad); }
.foot-slim > div { max-width: 1400px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.foot-slim a { color: #fff; font-weight: 600; }

/* checkout header */
.hdr-co .hdr-in { justify-content: space-between; gap: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,.6); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps a { display: flex; align-items: center; gap: 8px; color: #fff; }
.steps .n { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.steps .done .n { background: #fff; color: var(--navy); }
.steps .cur { color: #fff; font-weight: 600; }
.steps .cur .n { background: #fff; color: var(--navy); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.steps .todo .n { border: 1.5px solid rgba(255,255,255,.5); color: rgba(255,255,255,.7); }
.steps .bar { width: 40px; height: 1px; background: rgba(255,255,255,.35); }
.secure { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; }

/* ---------- WhatsApp ---------- */
.wa-fab { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: 10px; }
.wa-label { background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(15,23,42,.14); white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-fab:hover .wa-label, .wa-fab:focus-visible .wa-label { opacity: 1; transform: none; }
.wa-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); }
.wa-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waPulse 2.4s ease-out infinite; }

/* ---------- Keyframes ---------- */
@keyframes cardIn { from { opacity: 0; transform: translate3d(0,12px,0); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translate3d(0,14px,0); } to { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translate3d(0,10px,0); } to { opacity: 1; transform: none; } }
@keyframes upIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawerOut { from { transform: none; } to { transform: translateX(100%); } }
@keyframes menuIn { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes floatUp { 0% { opacity: 0; transform: translate(-50%,4px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,-26px); } }
@keyframes pressPop { 0% { transform: scale(.8); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes drawCheck { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes footIn { from { opacity: 0; transform: translate3d(0,24px,0); } to { opacity: 1; transform: none; } }
@keyframes addedIn { from { opacity: 0; transform: translate3d(0,-8px,0) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ckPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes justIn { from { opacity: 0; transform: translate3d(28px,0,0) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes justGlow { 0% { opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes justImg { 0% { transform: scale(.85); } 100% { transform: scale(1); } }
@keyframes bagCatch { 0% { transform: scale(1); } 30% { transform: scale(.82) rotate(-8deg); } 65% { transform: scale(1.14) rotate(4deg); } 100% { transform: none; } }
@keyframes popA { 0% { transform: scale(1); } 40% { transform: scale(1.55); } 100% { transform: scale(1); } }
@keyframes popB { 0% { transform: scale(1); } 40% { transform: scale(1.55); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%,-12px) scale(.96); } to { opacity: 1; transform: translate(-50%,0) scale(1); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes accOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes shakeA { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes shakeB { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes ringGrow { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive (shared) ---------- */
@media (max-width: 1180px) {
  .main-nav { gap: 22px; }
  .hdr-in { gap: 24px; }
}
@media (max-width: 1024px) {
  .hdr { height: 64px; }
  .hdr:not(.hdr-co) .hdr-in { display: none; }
  .hdr:not(.hdr-co) .mob-bar { display: grid; }
  .mob-search { display: block; }
  .mega { display: none; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .page-h { font-size: 26px; }
  .steps .bar { width: 16px; }
  .steps .lb, .secure .lb { display: none; }
}
@media (max-width: 640px) {
  .hdr { height: 56px; }
  .hdr-co .hdr-in img { height: 28px; }
  .wa-fab { right: 16px; bottom: 16px; }
  .wa-btn { width: 56px; height: 56px; }
  .wa-label { display: none; }
  .pname { font-size: 14px; }
  .grid4 { column-gap: 12px; row-gap: 16px; }
  .pc-body { padding: 12px; }
  .pc-prices b { font-size: 17px; }
  .pc-prices s { font-size: 12px; }
  .save { margin-top: 12px; font-size: 12px; }
  .notify { height: 44px; font-size: 15px; }
  .pc .notify { height: 36px; font-size: 14px; }
  .cart-btn { width: 40px; height: 40px; }
  .cart-panel { max-width: calc(100% - 32px); } /* a strip of page stays visible to tap closed */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .wa-ring { opacity: 0; }
}

/* ---------- Pop-up (Admin → Homepage → Pop-up; common.js sitePopup) ---------- */
.pop { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fadeIn .25s ease both; }
.pop-scrim { position: absolute; inset: 0; border: 0; background: rgba(15,23,42,.55); }
.pop-box { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(15,23,42,.35); animation: popUp .4s var(--ease-out) both; }
.pop-corner { align-items: flex-end; justify-content: flex-end; pointer-events: none; }
.pop-corner .pop-scrim { display: none; }
.pop-corner .pop-box { width: min(360px, 100%); pointer-events: auto; }
.pop-full .pop-box { width: 100%; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; }
.pop-img { display: block; width: 100%; height: 190px; object-fit: cover; }
.pop-full .pop-img { height: 100%; min-height: 320px; }
.pop-x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.pop-body { padding: 22px 24px 20px; text-align: center; }
.pop-body h2 { margin: 0; font-size: 24px; line-height: 1.2; }
.pop-body p { margin: 8px 0 0; color: var(--body-2); font-size: 15px; line-height: 1.5; }
.pop-timer { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--accent); }
.pop-form { display: flex; gap: 8px; margin-top: 16px; }
.pop-form input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 16px; }
.pop-form button, .pop-go { height: 46px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--accent); color: #fff !important; font-size: 14px; font-weight: 700; letter-spacing: .04em; display: inline-flex; align-items: center; justify-content: center; }
.pop-go { width: 100%; margin-top: 14px; }
.pop-code { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding: 12px; border: 1.5px dashed var(--accent); border-radius: 10px; }
.pop-code:empty { display: none; }
.pop-code span { font-size: 13px; color: var(--muted); }
.pop-code b { font-size: 20px; letter-spacing: .08em; color: var(--accent); }
.pop-code button { border: 0; background: none; color: var(--accent); font-weight: 700; text-decoration: underline; }
.pop-no { display: block; margin: 12px auto 0; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; }
@media (max-width: 640px) { .pop-full .pop-box { grid-template-columns: 1fr; } .pop-full .pop-img { height: 180px; min-height: 0; } }
@keyframes popUp { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Desktop: the checkout's slim footer reads one size up ---------- */
@media (min-width: 1025px) {
  .foot-slim > div { font-size: 14px; }
}

/* Desktop: the SHOP menu's columns line up with the page content, like the header rows above them. */
@media (min-width: 1025px) { .mega-in { max-width: var(--page-w); padding-left: 0; padding-right: 0; } }

/* SHOP menu: larger, darker links and headings so the sub-categories read easily (desktop only; the menu is desktop-only). */
.mega-t { font-size: 13.5px; letter-spacing: .16em; color: #64748B; margin-bottom: 18px; }
.mega-col { gap: 14px; }
.mega-a { font-size: 17px; font-weight: 500; color: #0F172A !important; transition: color .15s; }
.mega-a:hover { color: var(--primary) !important; }

/* ---------- Phone product cards: hope71.com's card, measured at 375px ----------
   168 × 322px card, 6px corners, 166px square photo, 10px inside spacing; name 13px on up to two lines; Save badge
   13px tall, 4px under the name; price row 8px lower with a 32px cart button; Buy Now 36px, 6px under it.
   Baby Brand's own fonts and colours. Desktop cards are unchanged. */
@media (max-width: 640px) {
  .pc { border-radius: 6px; }
  .pc-body { padding: 10px; }
  .pname { font-size: 13px; line-height: 1.375; min-height: 34px; padding-right: 4px; white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .pc .save { margin-top: 4px; padding: 2px 6px; border-radius: 3px; font-size: 9px; font-weight: 600; line-height: 9px; gap: 3px; }
  .pc .save svg { width: 7px; height: 7px; }
  .pc-row { margin-top: 8px; gap: 6px; }
  .pc-prices { column-gap: 4px; }
  .pc-prices b { font-size: 16px; font-weight: 800; line-height: 16px; }
  .pc-prices s { font-size: 10px; line-height: 15px; }
  .cart-btn { width: 32px; height: 32px; }
  .cart-btn svg { width: 16px; height: 16px; }
  .pc .buy { margin-top: 6px; }
  .pc .notify { margin-top: 6px; }
  .pc .tag-off { top: 6px; left: 6px; padding: 2px 6px; border-radius: 2px; font-size: 10px; line-height: 15px; }
  .pc .tag-sold { top: 6px; right: 6px; padding: 2px 6px; border-radius: 2px; font-size: 10px; line-height: 15px; }
}

/* Free-delivery progress in the cart drawer */
.free-bar { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #EFF8FD; color: #0B1F4B; font-size: 13px; }
.free-tx b { font-weight: 700; }
.free-track { height: 6px; margin-top: 8px; border-radius: 999px; background: #D6EAF5; overflow: hidden; }
.free-track span { display: block; height: 100%; border-radius: 999px; background: #0A93D1; transition: width .4s ease; }

/* Combo offer in the cart drawer */
.combo-ok, .combo-hint { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.combo-ok { background: #ECFDF5; color: #047857; }
.combo-hint { background: #FFF7ED; color: #9A3412; }

/* Announcement bar (above the header): Breeze's minimal moving bar — font, colours and speed — a touch smaller, and
   tuned for phones (a hair more letter-spacing keeps small capitals readable). It stays above the header and slides
   away with a fade once the page is scrolled; the header slides up with it, so nothing jumps (js/common.js). */
.ann-bar { position: sticky; top: 0; z-index: 51; width: 100%; overflow: hidden; background: #f5f3ee; color: #000; padding: 3px 0; transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .3s ease; }
.ann-gone .ann-bar { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.ann-on .hdr { top: var(--ann-h, 0px); transition: top .3s cubic-bezier(.4, 0, .2, 1); }
.ann-on.ann-gone .hdr { top: 0; }
.ann-vp { width: 100%; overflow: hidden; display: flex; align-items: center; }
.ann-track { display: flex; width: max-content; animation: annMove var(--ann-speed, 30s) linear infinite; will-change: transform; }
@media (hover: hover) { .ann-track:hover { animation-play-state: paused; } }
.ann-group { display: flex; align-items: center; flex-shrink: 0; white-space: nowrap; }
.ann-item { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.ann-text { display: inline-block; padding-left: 20px; color: #000; font-family: "Times New Roman", Times, serif; font-size: 11px; font-weight: 400; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.ann-sep { width: 3px; height: 3px; display: inline-block; flex: 0 0 auto; background: #000; opacity: .9; }
@keyframes annMove { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 749px) { .ann-bar { padding: 3px 0; } .ann-text { font-size: 9.5px; letter-spacing: .08em; padding-left: 14px; } .ann-item { gap: 14px; } .ann-sep { width: 2.5px; height: 2.5px; } }
@media (max-width: 360px) { .ann-text { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .ann-track { animation-play-state: paused; } .ann-bar, .ann-on .hdr { transition: none; } }
