/* Breeze — shared styles (converted from the "Breeze 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: 'Breeze 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: 'Breeze Taka'; font-weight: 551 900; font-display: block; unicode-range: U+09F3; src: url('../assets/fonts/taka-700.woff2') format('woff2'); }

:root {
  --primary: #0B1F4B;
  --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: #EF4444;
  --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: 'Breeze Taka', 'Hind Siliguri', system-ui, sans-serif;
  --font-head: 'Breeze 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: var(--primary); 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; }
.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 */
.mob-bar { display: none; height: 100%; padding: 0 10px; align-items: center; grid-template-columns: 1fr auto 1fr; }
.mob-bar > :first-child { justify-self: start; margin-left: -9px; }
.mob-bar > :last-child { justify-self: end; }
.mob-bar img { height: 28px; width: auto; }
.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: 6px; right: 4px; 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: 76px; 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; min-height: 240px; position: relative; overflow: hidden; display: block; }
.mega-feat::before { content: ''; position: absolute; inset: 0; background: rgba(15,23,42,.35); }
.mega-feat div { position: absolute; left: 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: 15px; 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: #9CA3AF; }
.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; }
.pc .buy { margin-top: 16px; }
.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(5, minmax(0, 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 ---------- */
.foot { background: var(--deep); color: var(--footer-text); padding: 48px var(--foot-pad) 20px; font-size: 14px; }
.foot-in { max-width: 1400px; margin: 0 auto; }
/* Desktop: brand · links · help · offers. Tablet: two columns. Phone: brand, then links + help side by side, then offers. */
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.35fr); gap: 32px 40px; }
.foot img { height: 38px; width: auto; }
.foot p { margin: 14px 0 0; font-size: 14px; line-height: 1.65; max-width: 300px; }
.foot-h { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.foot-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.flink { color: var(--footer-text) !important; }
.flink:hover { color: #fff !important; }
.foot-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-contact a { display: flex; align-items: center; gap: 9px; max-width: 100%; color: var(--footer-text) !important; }
.foot-contact a:hover { color: #fff !important; }
.foot-contact svg { flex-shrink: 0; }
.foot-contact span { min-width: 0; overflow-wrap: break-word; }
.sub { display: flex; max-width: 360px; }
.sub input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 4px 0 0 4px; padding: 0 14px; font-size: 15px; color: var(--ink); background: #fff; }
.sub button { height: 44px; border: 0; border-radius: 0 4px 4px 0; padding: 0 18px; background: var(--amber); color: #1A1206; font-size: 15px; font-weight: 800; }
.sub-ok { margin-top: 10px; font-size: 14px; color: #86EFAC; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.soc { width: 40px; height: 40px; border-radius: 50%; background: var(--deep-line); color: #fff !important; display: flex; align-items: center; justify-content: center; }
.soc:hover { background: #2A3B63; }
.soc svg { width: 18px; height: 18px; }
.foot-rule { height: 1px; background: var(--deep-line); margin: 36px 0 22px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 720px; margin: 0 auto; text-align: center; font-size: 13px; }
.trust div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.copy { text-align: center; font-size: 13px; color: #9CA3AF; margin-top: 20px; }
.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)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
}
@media (max-width: 768px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .foot-brand, .foot-offers { grid-column: 1 / -1; }
  .foot p { max-width: 420px; }
  .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; }
  .pc .buy, .notify { height: 44px; font-size: 15px; }
  .cart-btn { width: 40px; height: 40px; }
  .cart-panel { max-width: calc(100% - 32px); } /* a strip of page stays visible to tap closed */
  .foot { padding-top: 32px; padding-bottom: 84px; } /* clears the floating WhatsApp button */
  .foot img { height: 32px; }
  .foot-h { margin-bottom: 12px; }
  .foot-links { gap: 9px; }
  .sub { max-width: none; }
  .foot-rule { margin: 28px 0 18px; }
  .trust { gap: 10px; font-size: 12px; line-height: 1.35; }
  .copy { margin-top: 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .wa-ring { opacity: 0; }
}
