/* YMTA storefront. Design language from the mainsite reference (blue #0b6eab, Inter/Roboto, soft
   cards, 12px radii) with a fresh grocery green for buying actions. Mobile first. */
:root {
  --brand: #0b6eab; --brand-dark: #08436a; --brand-soft: #e6f1fa;
  --buy: #16a34a; --buy-dark: #12803b; --buy-soft: #e8f7ee;
  --bg: #f6f8fa; --surface: #fff; --surface-2: #f2f4f7; --ink: #101828; --ink-2: #5d6b7e; --line: #e4e7ec;
  --deal: #e11d48; --star: #f59e0b; --warn: #b25e09;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, .14);
  --font: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --bs-body-font-family: var(--font); --bs-body-color: var(--ink); --bs-body-bg: var(--bg);
  --bs-primary: #0b6eab; --bs-primary-rgb: 11, 110, 171; --bs-link-color: #0b6eab; --bs-link-hover-color: #08436a; --bs-border-color: var(--line);
}
body { font: 400 15px/1.55 var(--font); background: var(--bg); color: var(--ink); padding-bottom: 64px; }
@media (min-width: 992px) { body { padding-bottom: 0; } }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; padding: 8px 14px; background: var(--brand); color: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }
h1, .h1 { font-weight: 800; letter-spacing: -.02em; }
h2, .h2 { font-weight: 750; letter-spacing: -.01em; }
.text-muted { color: var(--ink-2) !important; }
.container-x { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn { border-radius: var(--radius-sm); font-weight: 600; }
.btn-buy { background: var(--buy); color: #fff; border: 0; }
.btn-buy:hover, .btn-buy:focus { background: var(--buy-dark); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; border: 0; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-soft { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.btn-soft:hover { background: var(--line); }

/* Top strip & header */
.topstrip { background: var(--brand-dark); color: #dbeafe; font-size: .82rem; }
.topstrip .container-x { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topstrip a { color: #fff; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1020; }
.site-header .bar { display: flex; align-items: center; gap: 14px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.logo img { height: 40px; width: auto; }
.logo .mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--buy), var(--brand)); color: #fff; font-weight: 800; }
.searchbox { flex: 1; max-width: 640px; position: relative; }
.searchbox input { height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; padding-left: 42px; }
.searchbox input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 110, 171, .15); }
.searchbox .bi-search { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 1050; overflow: hidden; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; color: var(--ink); border-bottom: 1px solid var(--line); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.active { background: var(--brand-soft); }
.suggest img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; background: var(--surface-2); }
.hdr-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 10px; border-radius: 10px; color: var(--ink); font-size: .72rem; font-weight: 600; position: relative; background: none; border: 0; }
.hdr-btn i { font-size: 1.35rem; line-height: 1.1; }
.hdr-btn:hover { background: var(--surface-2); color: var(--ink); }
.hdr-btn .badge-n { position: absolute; top: 2px; right: 6px; min-width: 18px; height: 18px; border-radius: 99px; background: var(--deal); color: #fff; font-size: .68rem; line-height: 18px; text-align: center; padding: 0 5px; }
.catnav { border-top: 1px solid var(--line); background: var(--surface); }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav > .container-x > ul > li { position: static; }
.catnav > .container-x > ul > li > a { display: block; padding: 11px 12px; color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.catnav > .container-x > ul > li > a:hover, .catnav li.open > a { color: var(--brand); border-bottom-color: var(--brand); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 1030; }
@media (min-width: 992px) { .catnav li:hover > .mega, .catnav li:focus-within > .mega { display: block; } }
.mega .cols { columns: 4 220px; padding: 22px 0; }
.mega .grp { break-inside: avoid; margin-bottom: 18px; }
.mega .grp > a { font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }
.mega .grp li a { display: block; color: var(--ink-2); padding: 3px 0; font-size: .9rem; }
.mega .grp li a:hover { color: var(--brand); }

/* Classic layout: sidebar categories */
.cat-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 84px; }
.cat-side .hd { padding: 12px 16px; font-weight: 700; background: var(--brand); color: #fff; }
.cat-side a { display: flex; justify-content: space-between; padding: 9px 16px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: .92rem; }
.cat-side a:hover, .cat-side a.active { background: var(--brand-soft); color: var(--brand); }

/* Sections & cards */
.section { padding: 28px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { font-size: 1.35rem; margin: 0; }
.sec-head a { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.hero { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--brand-dark); }
.hero .carousel-item img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; }
@media (max-width: 767px) { .hero .carousel-item img { aspect-ratio: 16 / 9; } }
.hero .cap { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); color: #fff; }
.hero .cap h2 { font-size: clamp(1.2rem, 3vw, 2.2rem); margin: 0 0 4px; }
.hero-fallback { padding: clamp(28px, 6vw, 64px); background: radial-gradient(900px 400px at 85% 20%, rgba(22, 163, 74, .45), transparent), linear-gradient(135deg, #08436a, #0b6eab); color: #fff; border-radius: var(--radius); }
.hero-fallback h1 { font-size: clamp(1.7rem, 4.5vw, 3rem); max-width: 18ch; }
.usp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .usp { grid-template-columns: repeat(4, 1fr); } }
.usp div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: .88rem; }
.usp i { font-size: 1.4rem; color: var(--buy); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 576px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .cat-grid { grid-template-columns: repeat(8, 1fr); } }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 8px; text-align: center; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--brand); }
.cat-tile img, .cat-tile .ph { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; background: var(--buy-soft); color: var(--buy); font-size: 1.8rem; }
.cat-tile span { font-size: .82rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1200px) { .pgrid { grid-template-columns: repeat(5, 1fr); } .pgrid.g4 { grid-template-columns: repeat(4, 1fr); } }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; position: relative; transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pcard .img { display: block; aspect-ratio: 1; background: #fff; padding: 12px; }
.pcard .img img { width: 100%; height: 100%; object-fit: contain; }
.pcard .tag { position: absolute; top: 10px; left: 10px; background: var(--deal); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.pcard .wish { position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; cursor: pointer; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink-2); box-shadow: var(--shadow); }
.pcard .wish:hover { color: var(--deal); }
.pcard .wish.on { color: var(--deal); }
.pcard .body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.pcard .brand { font-size: .74rem; color: var(--ink-2); font-weight: 600; }
.pcard .name { color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.3; margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pcard .size { font-size: .8rem; color: var(--ink-2); }
.pcard .rating { font-size: .76rem; color: var(--ink-2); }
.pcard .rating i { color: var(--star); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.price .now { font-weight: 800; font-size: 1.05rem; }
.price .mrp { color: var(--ink-2); text-decoration: line-through; font-size: .82rem; }
.price .off { color: var(--buy); font-size: .78rem; font-weight: 700; }
/* card cart control: "Add to Cart" (outlined) and the in-cart stepper (filled) share one size so the swap doesn't jump */
.pcard .add { margin-top: auto; padding-top: 10px; }
.pcard .add > .btn, .pcard .add .btn-add, .pcard .add .cstep { width: 100%; height: 40px; border-radius: 10px; font-size: .9rem; font-weight: 700; box-sizing: border-box; }
.pcard .add .btn-add { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; letter-spacing: .01em;
  background: #f0faf3; background: color-mix(in srgb, var(--buy) 9%, #fff); color: var(--buy); border: 1.5px solid var(--buy); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s, transform .08s; }
.pcard .add .btn-add i { font-size: 1.1rem; line-height: 1; }
.pcard .add .btn-add:hover, .pcard .add .btn-add:focus-visible { background: var(--buy); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .14); }
.pcard .add .btn-add:focus-visible { outline: 2px solid var(--buy); outline-offset: 2px; }
.pcard .add .btn-add:active { transform: scale(.97); }
.pcard .add .btn-add:disabled { opacity: .65; cursor: wait; }
.pcard .add > .btn { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pcard .add .cstep { border: 1.5px solid var(--buy); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.pcard .add .cstep button { width: 40px; flex: 0 0 40px; font-size: 1.05rem; }
.pcard .add .cstep .n { flex: 1; text-align: center; font-size: 1rem; }
.oos { color: var(--deal); font-weight: 600; font-size: .85rem; }
.qtybox { display: inline-flex; align-items: center; border: 1px solid var(--buy); border-radius: var(--radius-sm); overflow: hidden; background: var(--buy-soft); }
.qtybox button { border: 0; background: transparent; width: 36px; height: 36px; color: var(--buy-dark); font-size: 1.1rem; font-weight: 700; }
.qtybox input { width: 52px; text-align: center; border: 0; background: transparent; font-weight: 700; height: 36px; }
.qtybox input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Listing */
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.filters h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 700; margin: 0 0 8px; }
.filters .grp + .grp { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.filters .list { max-height: 220px; overflow-y: auto; }
.listbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip { white-space: nowrap; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600; }
.chip.active, .chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.breadcrumb { font-size: .85rem; margin-bottom: 10px; --bs-breadcrumb-divider-color: var(--ink-2); }
.breadcrumb a { color: var(--ink-2); }

/* Product page */
.gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 84px; }
.gallery .main { aspect-ratio: 1; display: grid; place-items: center; }
.gallery .main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.gallery .thumbs button { width: 64px; height: 64px; flex: none; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; }
.gallery .thumbs button.active { border-color: var(--brand); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo h1 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.pinfo .price .now { font-size: 1.8rem; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { cursor: pointer; }
.sizes input { position: absolute; opacity: 0; }
.sizes span { display: block; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: .9rem; background: #fff; }
.sizes span small { display: block; font-weight: 500; color: var(--ink-2); }
.sizes input:checked + span { border-color: var(--buy); background: var(--buy-soft); color: var(--buy-dark); }
.sizes input:focus-visible + span { outline: 2px solid var(--brand); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: .78rem; text-align: center; color: var(--ink-2); }
.trust i { display: block; font-size: 1.3rem; color: var(--brand); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.prose { line-height: 1.7; }
.prose img { max-width: 100%; height: auto; }
.stars { color: var(--star); letter-spacing: 1px; }
.bar-rating { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar-rating span { display: block; height: 100%; background: var(--star); }

/* Cart / checkout / account */
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--surface-2); }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 84px; }
.summary .row-s { display: flex; justify-content: space-between; padding: 5px 0; }
.summary .total { font-size: 1.2rem; font-weight: 800; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.progress-free { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress-free span { display: block; height: 100%; background: var(--buy); }
.steps { display: flex; gap: 6px; margin-bottom: 18px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.steps span { display: flex; align-items: center; gap: 6px; }
.steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.steps .on b { background: var(--brand); color: #fff; }
.steps .on { color: var(--ink); }
.choice { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.acc-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 14px; color: var(--ink); border-radius: 10px; font-weight: 500; }
.acc-nav a.active, .acc-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--buy); border: 3px solid var(--buy-soft); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; }
.pill-ok { background: var(--buy-soft); color: var(--buy-dark); } .pill-warn { background: #fdf1e2; color: #b25e09; } .pill-err { background: #fdecea; color: #c0362c; }
.pill-info { background: #efedfc; color: #5b48c2; } .pill-muted { background: var(--surface-2); color: var(--ink-2); } .pill-acc { background: var(--brand-soft); color: var(--brand); }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: #d0d5dd; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 110, 171, .15); }
.form-label { font-weight: 600; font-size: .88rem; }
.req::after { content: ' *'; color: #c0362c; }
.auth-box { max-width: 440px; margin: 32px auto; }
/* customer sign in / sign up: benefits panel + form card */
.auth2 { display: grid; grid-template-columns: 1fr; max-width: 940px; margin: 28px auto 40px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
@media (min-width: 860px) { .auth2 { grid-template-columns: 1fr 1.1fr; } }
.auth2-side { display: none; position: relative; overflow: hidden; padding: 36px 34px; color: #fff; background: radial-gradient(600px 300px at 0% 0%, rgba(34, 197, 94, .38), transparent 60%), linear-gradient(155deg, var(--brand-dark), var(--brand) 60%, var(--buy-dark)); }
@media (min-width: 860px) { .auth2-side { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; } }
.auth2-side::after { content: ''; position: absolute; width: 360px; height: 360px; right: -150px; bottom: -150px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 46px rgba(255, 255, 255, .04); }
.auth2-side h2 { font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 8px; }
.auth2-side p { opacity: .85; margin: 0; }
.auth2-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; }
.auth2-side li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.auth2-side li i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .15); font-size: 1.1rem; }
.auth2-side .trust { font-size: .82rem; opacity: .8; position: relative; }
.auth2-main { padding: 30px 22px 28px; }
@media (min-width: 576px) { .auth2-main { padding: 38px 40px 34px; } }
.auth2-main h1 { font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; margin-bottom: 4px; }
.auth2-main .sub { color: var(--ink-2); margin-bottom: 22px; }
.auth2 .form-control { height: 48px; border-radius: 11px; }
.auth2 .acc-in > i { top: 24px; }
.auth2 .pw-eye { top: 24px; }
.auth2 .pw-in .form-control.is-invalid { background-image: none; }
.auth2 .btn-lg { height: 50px; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.auth2 .btn-lg .spinner-border { width: 1.1rem; height: 1.1rem; border-width: .15em; }
.auth2-caps { display: none; margin-top: 6px; font-size: .8rem; color: var(--warn); }
.auth2-caps.on { display: block; }
.auth2-sep { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .84rem; margin: 22px 0 14px; }
.auth2-sep::before, .auth2-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth2-alt { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); text-decoration: none; }
.auth2-alt:hover { border-color: var(--brand); color: var(--brand); }
.auth2-foot { margin-top: 18px; font-size: .8rem; color: var(--ink-2); display: flex; gap: 6px; align-items: flex-start; }
.auth2-foot i { color: var(--buy); }

/* Footer */
.site-footer { background: #0b1b2b; color: #a9b8c8; margin-top: 48px; font-size: .9rem; }
.site-footer a { color: #c4d0dc; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
/* trust strip */
.f-trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); }
.f-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.f-trust li { display: flex; align-items: center; gap: 12px; }
.f-trust .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--buy-soft); color: var(--buy); font-size: 1.3rem; }
.f-trust b { display: block; color: var(--ink); font-size: .9rem; }
.f-trust small { font-size: .78rem; }
/* main columns */
.f-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.f-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-weight: 800; font-size: 1.25rem; margin-bottom: 12px; }
.f-logo img { height: 40px; width: auto; }
.f-logo .mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--buy), var(--brand)); color: #fff; }
.f-tag { margin-bottom: 16px; line-height: 1.55; max-width: 34ch; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; line-height: 1.45; }
.f-contact i { flex: 0 0 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #7fd29c; margin-top: -4px; }
.f-social { display: flex; gap: 8px; margin-top: 16px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); font-size: 1.05rem; transition: background .15s, transform .15s, color .15s; }
.f-social a:hover { background: var(--buy); color: #fff; transform: translateY(-2px); }
.f-col h3 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; position: relative; }
.f-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--buy); }
.f-col li { margin-bottom: 9px; }
.f-col a { display: inline-block; transition: color .15s, transform .15s; }
.f-col a:hover { transform: translateX(3px); }
.f-col .f-more { color: #7fd29c; font-weight: 600; font-size: .85rem; }
/* payments */
.f-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 24px; }
.f-pay .lbl { font-size: .8rem; margin-right: 4px; }
.f-pay .pay { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); color: #dbe4ec; font-size: .78rem; font-weight: 600; }
.f-pay .pay i { color: #7fd29c; }
/* legal bar */
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .08); background: #08151f; padding: 14px 0; font-size: .8rem; }
.site-footer .legal .container-x { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.legal-links { display: flex; align-items: center; gap: 16px; }
.f-top { border: 1px solid rgba(255, 255, 255, .15); background: transparent; color: #c4d0dc; border-radius: 99px; padding: 3px 12px; font-size: .78rem; font-weight: 600; transition: background .15s, color .15s; }
.f-top:hover { background: #fff; color: var(--ink); }
@media (max-width: 991.98px) {
  .f-trust ul { grid-template-columns: repeat(2, 1fr); }
  .f-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .f-brand { grid-column: 1 / -1; }
  .site-footer { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } /* room for the mobile bottom nav */
}
@media (max-width: 575.98px) {
  .f-trust ul { gap: 14px 10px; padding: 16px 0; }
  .f-trust li { gap: 8px; }
  .f-trust .ic { flex-basis: 36px; height: 36px; font-size: 1.1rem; }
  .f-trust small { display: none; }
  .f-main { padding-top: 32px; }
  .site-footer .legal .container-x { justify-content: center; text-align: center; }
}

/* Mobile bottom nav */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0; font-size: .7rem; color: var(--ink-2); font-weight: 600; background: none; border: 0; position: relative; }
.bottom-nav i { font-size: 1.25rem; }
.bottom-nav .active { color: var(--brand); }
.bottom-nav .badge-n { position: absolute; top: 3px; left: 54%; min-width: 17px; height: 17px; border-radius: 99px; background: var(--deal); color: #fff; font-size: .65rem; line-height: 17px; padding: 0 4px; }
@media (min-width: 992px) { .bottom-nav { display: none; } }

/* Toasts, skeletons */
.toast-stack { position: fixed; left: 50%; transform: translateX(-50%); bottom: 76px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 380px); }
@media (min-width: 992px) { .toast-stack { left: auto; right: 20px; transform: none; bottom: 20px; } }
.toast-x { padding: 12px 14px; border-radius: 12px; background: #101828; color: #fff; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: tin .2s ease-out; }
.toast-x.ok i { color: #4ade80; } .toast-x.err i { color: #fb7185; }
.toast-x a { color: #93c5fd; margin-left: auto; font-weight: 600; white-space: nowrap; }
@keyframes tin { from { transform: translateY(10px); opacity: 0; } }
.skeleton { background: linear-gradient(90deg, #eef1f4 25%, #e3e7ec 37%, #eef1f4 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.offcanvas { --bs-offcanvas-width: 320px; }
.mob-cats a { display: flex; justify-content: space-between; padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.empty-state { text-align: center; padding: 48px 16px; color: var(--ink-2); }
.empty-state i { font-size: 3rem; color: #c3ccd7; display: block; margin-bottom: 10px; }
@media print { .site-header, .site-footer, .bottom-nav, .topstrip, .no-print { display: none !important; } body { background: #fff; padding: 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* number fields: no browser up/down arrows */
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }

/* cart summary: pincode + coupon boxes */
.summary .sum-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 12px; background: #fff; transition: border-color .15s, background .15s; }
.summary .sum-box.is-ok { background: var(--buy-soft); border-color: #cdebd8; }
.summary .sum-row { display: flex; align-items: center; gap: 10px; }
.summary .sum-ico { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.summary .sum-ico.ok { background: #fff; color: var(--buy); }
.summary .sum-title { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.summary .sum-sub { font-size: .8rem; color: var(--ink-2); }
.summary .sum-link { border: 0; background: none; padding: 4px 2px; font-size: .85rem; font-weight: 600; color: var(--brand); white-space: nowrap; }
.summary .sum-link:hover { text-decoration: underline; }
.summary .sum-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.summary .sum-label i { color: var(--ink-2); margin-right: 2px; }
.summary .sum-form[hidden] { display: none; }
.summary .sum-box.is-ok .sum-form:not([hidden]) { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #cdebd8; }
.field-btn { display: flex; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.field-btn:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 110, 171, .15); }
.field-btn .form-control { border: 0; box-shadow: none; height: 42px; font-size: .95rem; letter-spacing: .02em; background-color: #fff; }
.field-btn .form-control::placeholder { text-transform: none; letter-spacing: 0; color: #98a2b3; }
.field-btn .form-control:focus { box-shadow: none; }
.field-btn .btn { border-radius: 0; padding: 0 18px; font-weight: 600; border: 0; border-left: 1px solid var(--line); }
.field-btn:has(.is-invalid) { border-color: #dc3545; }
.field-btn:has(.is-invalid):focus-within { box-shadow: 0 0 0 3px rgba(220, 53, 69, .15); }
.summary .sum-msg { font-size: .8rem; color: var(--ink-2); margin-top: 6px; min-height: 1em; }
.summary .sum-msg:empty { display: none; }
.summary .sum-bill { padding-top: 2px; }
.summary .sum-save { margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: var(--buy-soft); color: var(--buy-dark); font-size: .82rem; font-weight: 600; }
.summary .sum-why { margin-top: 8px; font-size: .8rem; color: var(--warn); text-align: center; }
.summary .btn-buy.disabled { opacity: .55; }
.min-w-0 { min-width: 0; }

/* in-cart quantity stepper (product cards + product page) */
[data-ctl-add][hidden], .cstep[hidden], [data-incart-link][hidden] { display: none !important; }
.cstep { display: flex; align-items: center; justify-content: space-between; height: 31px; border-radius: var(--radius-sm); background: var(--buy); color: #fff; overflow: hidden; user-select: none; }
.cstep button { border: 0; background: transparent; color: #fff; width: 36px; height: 100%; display: grid; place-items: center; font-size: 1rem; transition: background .12s; }
.cstep button:hover { background: var(--buy-dark); }
.cstep button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.cstep .n { flex: 1; text-align: center; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.cstep-lg { height: 48px; min-width: 170px; border-radius: 12px; }
.cstep-lg button { width: 52px; font-size: 1.2rem; }
.cstep-lg .n { font-size: 1.15rem; }
/* missing product image: store logo / placeholder, shown quietly */
img.is-fallback { object-fit: contain; padding: 14%; opacity: .45; filter: grayscale(1); }

/* listing filters: floating sidebar */
.filters { padding: 0; overflow: hidden; }
.filters .f-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.filters .f-head a { font-size: .82rem; font-weight: 600; }
.filters .f-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .72rem; margin-left: 4px; }
.filters .grp { padding: 14px 16px; }
.filters .grp + .grp { margin-top: 0; padding-top: 14px; }
.filters .form-check { margin-bottom: 4px; }
.filters .form-check-label { font-size: .88rem; display: flex; justify-content: space-between; gap: 8px; cursor: pointer; }
.filters .form-check-input { margin-top: .2em; }
.filters .n { color: var(--ink-2); font-size: .78rem; font-variant-numeric: tabular-nums; }
.filters .list { max-height: 210px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.filters .f-search { position: relative; margin-bottom: 8px; }
.filters .f-search i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--ink-2); font-size: .8rem; }
.filters .f-search input { padding-left: 30px; }
.filters .f-ranges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.filters .f-range { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink); background: #fff; }
.filters .f-range:hover { border-color: var(--brand); color: var(--brand); }
.filters .f-range.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters .f-price { display: flex; align-items: center; gap: 6px; }
.filters .f-price span { color: var(--ink-2); font-size: .8rem; }
.filters .f-price input { flex: 1 1 0; width: auto; min-width: 0; }
.filters .f-price .btn { flex: 0 0 auto; padding: 4px 12px; }
@media (min-width: 992px) {
  .filters-sticky { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; }
}
.filters-grid.show, .filters-grid.collapsing { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.filters-grid .f-head { grid-column: 1 / -1; }
.f-active { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.f-chip { display: inline-flex; align-items: center; gap: 2px; padding: 4px 6px 4px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 600; border: 1px solid #cfe3f3; }
.f-chip:hover { background: #d6e8f6; color: var(--brand-dark); }
.f-chip i { font-size: 1rem; }
.f-clear { font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.cstep button:disabled { opacity: .45; cursor: not-allowed; background: transparent; }

/* product listing pager */
.spager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 28px; }
.sp-nums { display: inline-flex; align-items: center; gap: 6px; }
.sp-btn { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.sp-btn:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow); }
.sp-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sp-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow); pointer-events: none; }
.sp-btn.disabled { opacity: .4; pointer-events: none; }
.sp-step { padding: 0 14px; }
.sp-gap { min-width: 24px; text-align: center; color: var(--ink-2); font-weight: 600; }
.sp-compact { display: none; padding: 0 10px; color: var(--ink-2); white-space: nowrap; }
.sp-compact b { color: var(--ink); }
@media (max-width: 575.98px) {
  .sp-nums { display: none; }
  .sp-compact { display: inline; }
  .spager { justify-content: space-between; }
  .sp-step { flex: 1; max-width: 140px; }
}

/* contact page */
.ct-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px; border-radius: 16px; background: linear-gradient(120deg, var(--brand-soft), var(--buy-soft)); margin-bottom: 18px; }
.ct-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 6px 0 6px; color: var(--ink); }
.ct-hero p { margin: 0; max-width: 60ch; color: var(--ink-2); }
.ct-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--brand); background: #fff; padding: 4px 10px; border-radius: 99px; }
.ct-hours { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.ct-hours i { font-size: 1.4rem; color: var(--buy); }
.ct-hours small { display: block; color: var(--ink-2); font-size: .75rem; }
.ct-hours b { color: var(--ink); font-size: .9rem; }
.ct-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.ct-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.ct-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.ct-card > span:last-child { min-width: 0; }
.ct-card b { display: block; font-size: .92rem; }
.ct-card small { display: block; color: var(--ink-2); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-card .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; }
.ic-call { background: var(--brand-soft); color: var(--brand); }
.ic-wa { background: #e7f8ee; color: #1faa53; }
.ic-mail { background: #fdf0e6; color: #d9731a; }
.ic-map { background: #fdeaea; color: #d64545; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.ct-form-wrap { padding: 24px; }
.ct-in { position: relative; }
.ct-in > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; z-index: 2; }
.ct-in .form-control, .ct-in .form-select { padding-left: 38px; height: 46px; border-radius: 10px; }
.ct-form textarea { border-radius: 10px; min-height: 140px; resize: vertical; }
.ct-form .form-control:focus, .ct-form .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 110, 171, .15); }
.ct-form .invalid-feedback:empty { display: none !important; }
.ct-send { border-radius: 12px; padding: 10px 28px; font-weight: 700; min-width: 190px; }
.ct-done { text-align: center; padding: 30px 10px; }
.ct-done .ok { width: 72px; height: 72px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--buy-soft); color: var(--buy); font-size: 2.2rem; margin-bottom: 12px; animation: ctpop .35s ease-out; }
@keyframes ctpop { from { transform: scale(.4); opacity: 0; } }
.ct-side { display: grid; gap: 18px; position: sticky; top: 90px; }
.ct-side-h { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 14px; }
.ct-side-h i { color: var(--brand); }
.ct-list { list-style: none; padding: 0; margin: 0; }
.ct-list li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); line-height: 1.5; word-break: break-word; }
.ct-list li:first-child { border-top: 0; padding-top: 0; }
.ct-list li > i { color: var(--buy); font-size: 1.05rem; margin-top: 1px; }
.ct-faq a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.ct-faq a:first-of-type { border-top: 0; }
.ct-faq a span { flex: 1; }
.ct-faq a i:first-child { color: var(--brand); }
.ct-faq a i:last-child { color: var(--ink-2); transition: transform .15s; }
.ct-faq a:hover { color: var(--brand); }
.ct-faq a:hover i:last-child { transform: translateX(3px); }
@media (max-width: 991.98px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-side { position: static; }
}
@media (max-width: 575.98px) {
  .ct-hero { padding: 20px 18px; }
  .ct-form-wrap { padding: 18px; }
  .ct-send { width: 100%; }
  .ct-quick { grid-template-columns: 1fr 1fr; }
  .ct-card { flex-direction: column; text-align: center; padding: 14px 8px; }
  .ct-card small { white-space: normal; word-break: break-all; }
}

/* about page */
.ab-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--buy-dark); background: var(--buy-soft); padding: 4px 11px; border-radius: 99px; }
.ab-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px; border-radius: 20px; background: linear-gradient(135deg, #f2fbf5 0%, var(--brand-soft) 100%); margin-bottom: 20px; }
.ab-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.15; margin: 12px 0; color: var(--ink); letter-spacing: -.02em; }
.ab-hero h1 span { color: var(--buy); }
.ab-hero p { font-size: 1.05rem; color: var(--ink-2); max-width: 56ch; margin-bottom: 20px; }
.ab-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-cta .btn, .ab-band .btn { border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.ab-flow { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ab-node { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 300px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); flex-wrap: wrap; }
.ab-node span { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--buy-soft); color: var(--buy); font-size: 1.25rem; }
.ab-node b { color: var(--ink); }
.ab-node small { flex-basis: 100%; padding-left: 54px; margin-top: -8px; color: var(--ink-2); font-size: .78rem; }
.ab-node-mid { background: var(--buy); }
.ab-node-mid span { background: rgba(255, 255, 255, .2); color: #fff; }
.ab-node-mid b, .ab-node-mid small { color: #fff; }
.ab-arrow { color: var(--buy); font-size: 1.2rem; }
.ab-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 36px; }
.ab-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.ab-stats i { font-size: 1.4rem; color: var(--brand); }
.ab-stats b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ab-stats span { font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.ab-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.ab-story h2 { font-size: 1.8rem; font-weight: 800; margin: 10px 0 16px; }
.ab-story blockquote { margin: 0; padding: 14px 18px; border-left: 4px solid var(--buy); background: var(--buy-soft); border-radius: 0 12px 12px 0; font-style: italic; color: var(--ink); line-height: 1.55; }
.ab-body { padding: 28px; font-size: 1.02rem; line-height: 1.75; }
.ab-body p:last-child { margin-bottom: 0; }
.ab-values { margin-bottom: 40px; }
.ab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ab-val { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .15s, box-shadow .15s; }
.ab-val:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ab-val .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 14px; }
.ab-val .v1 { background: var(--buy-soft); color: var(--buy); }
.ab-val .v2 { background: var(--brand-soft); color: var(--brand); }
.ab-val .v3 { background: #fdf0e6; color: #d9731a; }
.ab-val .v4 { background: #fdeaea; color: #d64545; }
.ab-val h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.ab-val p { font-size: .9rem; color: var(--ink-2); margin: 0; line-height: 1.55; }
.ab-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 30px 34px; border-radius: 20px; background: linear-gradient(120deg, var(--brand), var(--buy)); color: #fff; }
.ab-band h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 4px; color: #fff; }
.ab-band p { margin: 0; opacity: .9; }
.btn-wa { background: #25d366; color: #fff; border: 0; }
.btn-wa:hover { background: #1ebe5a; color: #fff; }
@media (max-width: 991.98px) {
  .ab-hero { grid-template-columns: 1fr; padding: 28px; }
  .ab-flow { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .ab-node { max-width: none; width: auto; }
  .ab-node small { display: none; }
  .ab-arrow { transform: rotate(-90deg); }
  .ab-story { grid-template-columns: 1fr; gap: 16px; }
  .ab-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .ab-hero { padding: 22px 18px; }
  .ab-flow { flex-direction: column; }
  .ab-node { width: 100%; }
  .ab-arrow { transform: none; }
  .ab-cta .btn { flex: 1; justify-content: center; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-grid { grid-template-columns: 1fr; }
  .ab-body { padding: 20px; }
  .ab-band { padding: 24px 20px; }
}

/* help & info pages (store/page.php) */
.hp-hero { display: flex; align-items: center; gap: 20px; padding: 28px 30px; border-radius: 18px; background: linear-gradient(120deg, var(--brand-soft), #f2fbf5); margin-bottom: 20px; }
.hp-ic { flex: 0 0 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 1.8rem; box-shadow: var(--shadow); }
.hp-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 4px; color: var(--ink); letter-spacing: -.01em; }
.hp-hero p { margin: 0 0 8px; color: var(--ink-2); }
.hp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .82rem; color: var(--ink-2); }
.hp-print { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 3px 12px; font-size: .8rem; font-weight: 600; color: var(--ink); }
.hp-print:hover { border-color: var(--brand); color: var(--brand); }
.hp-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.hp-side { position: sticky; top: 90px; }
.hp-nav { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.hp-nav h2 { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 700; margin: 6px 10px 8px; }
.hp-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .12s, color .12s; }
.hp-nav a i { color: var(--ink-2); width: 18px; text-align: center; }
.hp-nav a:hover { background: var(--surface-2, #f4f6f8); color: var(--brand); }
.hp-nav a.active { background: var(--brand-soft); color: var(--brand); }
.hp-nav a.active i { color: var(--brand); }
.hp-toc { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; font-size: .9rem; }
.hp-toc b { display: block; margin-bottom: 6px; }
.hp-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.hp-toc li { margin: 3px 0; break-inside: avoid; }
.hp-toc li.lvl3 { margin-left: 14px; list-style: circle; font-size: .85rem; }
.hp-toc a { color: var(--ink); text-decoration: none; }
.hp-toc a:hover { color: var(--brand); text-decoration: underline; }
.hp-body { padding: 30px 34px; font-size: 1rem; line-height: 1.8; color: var(--ink); }
.hp-body h2 { font-size: 1.3rem; font-weight: 800; margin: 1.8em 0 .6em; padding-top: .2em; scroll-margin-top: 100px; }
.hp-body h3 { font-size: 1.08rem; font-weight: 700; margin: 1.4em 0 .5em; scroll-margin-top: 100px; }
.hp-body h2:first-child, .hp-body h3:first-child { margin-top: 0; }
.hp-body p { margin-bottom: 1em; }
.hp-body p:last-child { margin-bottom: 0; }
.hp-body ul, .hp-body ol { padding-left: 1.3em; margin-bottom: 1em; }
.hp-body li { margin-bottom: .4em; }
.hp-body li::marker { color: var(--buy); }
.hp-body a { color: var(--brand); font-weight: 600; }
.hp-body strong, .hp-body b { color: var(--ink); }
.hp-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.hp-body th, .hp-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.hp-body th { background: var(--brand-soft); }
.hp-body blockquote { border-left: 4px solid var(--buy); background: var(--buy-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 1em 0; }
.hp-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px dashed var(--brand); }
.hp-help-text { display: flex; align-items: center; gap: 14px; }
.hp-help-ic { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.4rem; }
.hp-help h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 2px; }
.hp-help p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.hp-help-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-help-btns .btn { border-radius: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 991.98px) {
  .hp-grid { grid-template-columns: 1fr; gap: 14px; }
  .hp-side { position: static; }
  .hp-nav { display: flex; gap: 6px; overflow-x: auto; padding: 6px; scrollbar-width: none; }
  .hp-nav::-webkit-scrollbar { display: none; }
  .hp-nav h2 { display: none; }
  .hp-nav a { white-space: nowrap; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; }
  .hp-nav a.active { border-color: var(--brand); }
}
@media (max-width: 575.98px) {
  .hp-hero { padding: 20px 18px; gap: 14px; align-items: flex-start; }
  .hp-ic { flex-basis: 48px; height: 48px; font-size: 1.35rem; border-radius: 14px; }
  .hp-body { padding: 20px 18px; font-size: .97rem; }
  .hp-toc ol { columns: 1; }
  .hp-help-btns { width: 100%; }
  .hp-help-btns .btn { flex: 1; justify-content: center; }
}
@media print { .hp-hero { background: none; padding: 0 0 12px; } .hp-ic { display: none; } .hp-grid { display: block; } .hp-body { border: 0; padding: 0; box-shadow: none; } }

/* product page */
.pd-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.pd .gallery { border-radius: 18px; padding: 18px; }
.pd .gallery .main { position: relative; overflow: hidden; border-radius: 12px; background: #fff; cursor: zoom-in; }
.pd .gallery .main img { transition: transform .2s ease-out; }
.pd .gallery .main.zooming img { transform: scale(1.8); }
.pd .gallery .thumbs { gap: 10px; padding-bottom: 2px; }
.pd .gallery .thumbs button { width: 70px; height: 70px; border-radius: 12px; transition: border-color .15s; }
.pd .gallery .thumbs button:hover { border-color: var(--brand); }
.pd-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--deal); color: #fff; font-size: .8rem; font-weight: 800; padding: 5px 10px; border-radius: 8px; }
.pd-media-actions { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.pd-round { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink-2); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 1.1rem; cursor: pointer; transition: color .15s, transform .15s; }
.pd-round:hover { color: var(--deal); transform: scale(1.08); }
.pd-round.on { color: var(--deal); }
.pd-head { margin-bottom: 14px; }
.pd-brand { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 99px; text-decoration: none; }
.pd .pinfo h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.25; margin: 10px 0 8px; letter-spacing: -.01em; }
.pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .84rem; color: var(--ink-2); }
.pd-rate { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; }
.pd-rate span { background: var(--buy); color: #fff; font-weight: 700; font-size: .8rem; padding: 2px 8px; border-radius: 6px; }
.pd-rate span i { font-size: .7rem; }
.pd-pricebox { background: linear-gradient(120deg, #f6fbf8, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; }
.pd-pricebox .price { margin: 0; padding: 0; gap: 10px; align-items: baseline; }
.pd .pinfo .price .now { font-size: 2rem; font-weight: 800; color: var(--ink); }
.pd .pinfo .price .mrp { font-size: 1rem; }
.pd .pinfo .price .off { font-size: .9rem; background: var(--buy-soft); padding: 2px 8px; border-radius: 6px; }
.pd-save { color: var(--buy-dark); font-size: .88rem; font-weight: 600; margin: 4px 0 2px; }
.pd-short { color: var(--ink-2); line-height: 1.6; }
.pd-sizes { margin-bottom: 16px; }
.pd-sizes legend { font-weight: 700; font-size: .92rem; }
.pd .sizes { gap: 10px; }
.pd .sizes span { position: relative; min-width: 104px; padding: 10px 14px; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.pd .sizes label:hover span { border-color: var(--buy); }
.pd .sizes input:checked + span { box-shadow: 0 0 0 1px var(--buy); }
.pd .sizes input:checked + span::after { content: "\F26E"; font-family: bootstrap-icons; position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--buy); color: #fff; font-size: .8rem; display: grid; place-items: center; }
.pd .sizes span b { display: block; font-size: .92rem; }
.pd .sizes span em { font-style: normal; color: var(--buy); font-weight: 700; }
.pd .sizes span.is-out { opacity: .55; }
.sz-out { display: block; font-style: normal; font-size: .7rem; color: var(--deal); font-weight: 600; }
.pd-pack { margin-bottom: 14px; }
.pd-stockrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px dashed var(--line); margin-bottom: 14px; }
.pd-low { display: inline-block; margin-left: 6px; font-size: .75rem; font-weight: 700; color: #b45309; background: #fef3c7; padding: 2px 8px; border-radius: 99px; }
.pd-pin { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-size: .85rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.pd-pin b { color: var(--ink); }
.pd-pin:hover { border-color: var(--brand); color: var(--brand); }
.pd-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.pd-buy-add { display: flex; gap: 10px; align-items: center; flex: 1 1 320px; }
.pd .qtybox { height: 52px; border-radius: 12px; border-width: 1.5px; }
.pd .qtybox button { width: 44px; height: 100%; }
.pd .qtybox input { height: 100%; width: 56px; font-size: 1.05rem; }
.pd-addbtn, .pd-buynow { height: 52px; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pd-addbtn { flex: 1; }
.pd-buynow { flex: 1 1 160px; background: #ff9f1a; color: #1f2937; border: 0; }
.pd-buynow:hover, .pd-buynow:focus { background: #f08c00; color: #111; }
.pd-buynow:disabled { opacity: .5; }
.pd .cstep-lg { height: 52px; flex: 1 1 200px; border-radius: 12px; }
.pd-incart { flex-basis: 100%; font-size: .88rem; font-weight: 600; }
.pd-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pd-trust > div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.pd-trust i { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.15rem; }
.pd-trust b { display: block; font-size: .84rem; }
.pd-trust small { font-size: .75rem; color: var(--ink-2); }
.pd-tabs { margin-top: 32px; padding: 0; overflow: hidden; }
.pd-tabnav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 16px; overflow-x: auto; flex-wrap: nowrap; list-style: none; margin: 0; }
.pd-tabnav button { border: 0; background: none; padding: 14px 14px 12px; font-weight: 700; font-size: .95rem; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.pd-tabnav button.active { color: var(--brand); border-bottom-color: var(--brand); }
.pd-tabnav button:hover { color: var(--brand); }
.pd-tabs .tab-content { padding: 22px 24px; }
.pd-desc { line-height: 1.75; }
.pd-spec { width: 100%; max-width: 640px; border-collapse: collapse; font-size: .92rem; }
.pd-spec th, .pd-spec td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pd-spec th { width: 38%; color: var(--ink-2); font-weight: 600; background: var(--surface-2, #f6f8fa); }
.pd-shiplist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pd-shiplist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.pd-shiplist i { color: var(--buy); font-size: 1.15rem; }
.pd-rev-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.pd-rev-sum { padding: 22px; position: sticky; top: 90px; }
.pd-rev-score { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pd-rev-score > b { font-size: 3rem; font-weight: 800; line-height: 1; }
.pd-rev-score .stars { display: block; font-size: 1.05rem; }
.pd-rev-score small { color: var(--ink-2); }
.pd-bar { display: grid; grid-template-columns: 38px 1fr 28px; gap: 8px; align-items: center; font-size: .82rem; margin-bottom: 6px; }
.pd-bar i { color: var(--star); font-size: .72rem; }
.pd-bar small { text-align: right; color: var(--ink-2); }
.pd-rev-empty { text-align: center; color: var(--ink-2); padding: 8px 0; }
.pd-rev-empty i { font-size: 2rem; color: var(--brand); }
.pd-rev-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pd-rev-form h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; border: 0; padding: 0; margin: 0 0 10px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 1.6rem; color: #d1d5db; cursor: pointer; transition: color .12s, transform .12s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.pd-rev-list { display: grid; gap: 12px; }
.pd-rev { padding: 18px 20px; }
.pd-rev-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pd-avatar { flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.pd-verified { font-size: .75rem; color: var(--buy-dark); font-weight: 600; }
.pd-rate-sm { background: var(--buy); color: #fff; font-weight: 700; font-size: .8rem; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.pd-rate-sm i { font-size: .68rem; }
.pd-rev h3 { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.pd-rev p { margin: 0; line-height: 1.6; color: var(--ink); }
@media (max-width: 991.98px) {
  .pd-top { grid-template-columns: 1fr; gap: 20px; }
  .pd .gallery { position: static; }
  .pd-rev-grid { grid-template-columns: 1fr; }
  .pd-rev-sum { position: static; }
}
@media (max-width: 575.98px) {
  .pd .gallery { padding: 10px; border-radius: 14px; }
  .pd .pinfo .price .now { font-size: 1.7rem; }
  .pd-buy-add { flex-basis: 100%; }
  .pd-buynow { flex-basis: 100%; }
  .pd-trust { grid-template-columns: 1fr; }
  .pd-trust > div { padding: 10px 12px; }
  .pd-tabs .tab-content { padding: 18px 16px; }
  .pd-spec th { width: 45%; }
}
@media (hover: none) { .pd .gallery .main { cursor: default; } .pd .gallery .main.zooming img { transform: none; } }

/* cart page */
.ck-steps { display: flex; align-items: center; list-style: none; padding: 0; margin: 0 auto 22px; max-width: 560px; counter-reset: s; }
.ck-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; font-size: .8rem; font-weight: 600; color: var(--ink-2); text-align: center; }
.ck-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.ck-steps li:first-child::before { display: none; }
.ck-steps b { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--ink-2); font-size: .85rem; }
.ck-steps li.on { color: var(--ink); }
.ck-steps li.on b { background: var(--buy); border-color: var(--buy); color: #fff; box-shadow: 0 0 0 4px var(--buy-soft); }
.ck-steps li.done b { background: var(--buy); border-color: var(--buy); color: #fff; }
.ck-steps li.done::before, .ck-steps li.on::before { background: var(--buy); }
.ct-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.ct-head h1 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; margin: 0; }
.ct-head h1 span { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.ct-continue { font-weight: 600; font-size: .9rem; text-decoration: none; }
.ct-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.ct-free { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(120deg, #fff8e8, #fff); border: 1px solid #f6e3b4; margin-bottom: 14px; }
.ct-free.done { background: linear-gradient(120deg, var(--buy-soft), #fff); border-color: #cdebd8; }
.cf-ic { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #d97706; font-size: 1.3rem; box-shadow: var(--shadow); }
.ct-free.done .cf-ic { color: var(--buy); }
.cf-text { font-size: .9rem; margin-bottom: 8px; }
.ct-free .progress-free { height: 8px; background: rgba(0, 0, 0, .06); }
.ct-free .progress-free span { background: linear-gradient(90deg, #f59e0b, var(--buy)); border-radius: 99px; transition: width .4s; }
.ct-alert { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff4e5; color: #92400e; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.ct-list { padding: 4px 18px; border-radius: 16px; }
.ct-page .cart-line { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; align-items: start; transition: opacity .2s; }
.ct-page .cart-line:last-child { border-bottom: 0; }
.ct-page .cart-line.is-loading { opacity: .5; pointer-events: none; }
.ct-page .cart-line.has-problem { background: linear-gradient(90deg, #fff5f5, transparent); margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.cl-img { position: relative; display: block; }
.ct-page .cl-img img { width: 96px; height: 96px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 6px; }
.cl-off { position: absolute; top: -6px; left: -6px; background: var(--deal); color: #fff; font-size: .68rem; font-weight: 800; padding: 2px 6px; border-radius: 6px; }
.cl-name { display: block; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.35; }
.cl-name:hover { color: var(--brand); }
.cl-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .8rem; color: var(--ink-2); margin: 4px 0; }
.cl-pack { background: var(--surface-2, #f3f5f7); padding: 1px 8px; border-radius: 6px; font-weight: 600; }
.cl-price { font-size: .9rem; }
.cl-price s { color: var(--ink-2); font-size: .82rem; }
.cl-problem { margin-top: 4px; font-size: .82rem; font-weight: 700; color: var(--deal); }
.cl-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.ct-page .cl-qty { height: 36px; border-radius: 10px; }
.ct-page .cl-qty button { width: 34px; height: 100%; font-size: .95rem; }
.ct-page .cl-qty input { width: 44px; height: 100%; }
.cl-remove { border: 0; background: none; color: var(--ink-2); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; padding: 6px 4px; border-radius: 8px; }
.cl-remove:hover { color: var(--deal); }
.cl-total { text-align: right; white-space: nowrap; }
.cl-total b { display: block; font-size: 1.05rem; }
.cl-total small { color: var(--buy-dark); font-weight: 600; font-size: .78rem; }
.ct-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.ct-assure > div { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-2); padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.ct-assure i { color: var(--buy); font-size: 1.1rem; }
.ct-assure a { color: inherit; }
.ct-page .summary { border-radius: 16px; padding: 20px; }
.sum-h { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.ct-page .summary .total { font-size: 1.25rem; }
.ct-checkout { border-radius: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sum-pay { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font-size: .78rem; color: var(--ink-2); }
.sum-pay i { font-size: 1.1rem; color: var(--ink-2); }
.ct-sticky { display: none; }
.cart-empty { text-align: center; padding: 56px 20px; max-width: 620px; margin: 0 auto; border-radius: 18px; }
.ce-ic { width: 96px; height: 96px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--buy-soft); color: var(--buy); font-size: 2.8rem; margin-bottom: 16px; }
.cart-empty h1 { font-weight: 800; }
.cart-empty p { color: var(--ink-2); max-width: 42ch; margin: 0 auto 20px; }
@media (max-width: 991.98px) {
  .ct-layout { grid-template-columns: 1fr; }
  .ct-page .summary { position: static; }
  .ct-sticky { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 1035; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, .08); padding: 10px 16px; }
  .ct-sticky small { display: block; font-size: .72rem; color: var(--ink-2); }
  .ct-sticky b { font-size: 1.2rem; }
  .ct-sticky span { display: block; font-size: .72rem; color: var(--buy-dark); font-weight: 600; }
  .ct-sticky .btn { flex: 0 0 auto; padding-left: 26px; padding-right: 26px; }
  .ct-page { padding-bottom: 80px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) { .ct-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (max-width: 575.98px) {
  .ck-steps { font-size: .72rem; }
  .ct-list { padding: 2px 14px; }
  .ct-page .cart-line { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .ct-page .cl-img img { width: 72px; height: 72px; }
  .cl-total { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .ct-page .cart-line.has-problem { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
  .cl-remove span { display: none; }
  .ct-assure { grid-template-columns: 1fr; }
}
.ck-steps a { display: contents; }

/* ===== account area ===== */
.acc-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.acc-side { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.acc-me { display: flex; align-items: center; gap: 12px; padding: 18px; background: linear-gradient(120deg, var(--brand), var(--buy)); color: #fff; }
.acc-me small { opacity: .9; font-size: .8rem; }
.acc-me .acc-since { display: block; opacity: .75; font-size: .72rem; margin-top: 2px; }
.acc-avatar { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); border: 2px solid rgba(255, 255, 255, .5); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.acc .acc-nav { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.acc .acc-nav a, .acc-out button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .12s, color .12s; }
.acc .acc-nav a i, .acc-out i { font-size: 1.05rem; color: var(--ink-2); width: 20px; text-align: center; }
.acc .acc-nav a span { flex: 1; }
.acc .acc-nav a em { font-style: normal; font-size: .72rem; font-weight: 700; min-width: 22px; text-align: center; padding: 1px 7px; border-radius: 99px; background: var(--surface-2, #f1f3f5); color: var(--ink-2); }
.acc .acc-nav a em.is-alert { background: var(--deal); color: #fff; }
.acc .acc-nav a:hover { background: var(--surface-2, #f4f6f8); color: var(--brand); }
.acc .acc-nav a.active { background: var(--brand-soft); color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
.acc .acc-nav a.active i { color: var(--brand); }
.acc-out { margin: 4px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.acc-out button { width: 100%; border: 0; background: none; color: var(--deal); }
.acc-out button i { color: var(--deal); }
.acc-out button:hover { background: #fdecea; }
.acc-head { margin-bottom: 16px; }
.acc-head h1 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 800; margin: 0; }
.acc-head p { margin: 4px 0 0; color: var(--ink-2); }
.acc-back { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; margin-bottom: 6px; text-decoration: none; }
.acc-card { padding: 20px; border-radius: 16px; }
.acc-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.acc-card-h h2 { font-size: 1.05rem; font-weight: 800; margin: 0; }
.acc-card-h a { font-size: .88rem; font-weight: 600; text-decoration: none; }
.acc-empty { text-align: center; padding: 34px 12px; }
.acc-empty > span { width: 76px; height: 76px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 2rem; margin-bottom: 12px; }
.acc-empty h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.acc-empty p { color: var(--ink-2); margin-bottom: 16px; }
/* dashboard */
.acc-hello { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-radius: 16px; background: linear-gradient(120deg, var(--brand-soft), #f2fbf5); margin-bottom: 16px; }
.acc-hello h2 { font-size: 1.35rem; font-weight: 800; margin: 0; }
.acc-hello p { margin: 2px 0 0; color: var(--ink-2); }
.acc-hello .btn { border-radius: 12px; font-weight: 700; }
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.acc-stats > * { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.acc-stats > a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.acc-stats i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 6px; }
.acc-stats .s1 { background: var(--brand-soft); color: var(--brand); } .acc-stats .s2 { background: var(--buy-soft); color: var(--buy); }
.acc-stats .s3 { background: #fdeaea; color: #d64545; } .acc-stats .s4 { background: #fdf0e6; color: #d9731a; }
.acc-stats b { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.acc-stats span { font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.acc-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.acc-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 14px; border: 1px dashed var(--line); background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none; text-align: center; transition: border-color .15s, color .15s; }
.acc-quick a i { font-size: 1.35rem; color: var(--brand); }
.acc-quick a:hover { border-color: var(--brand); color: var(--brand); }
/* order cards */
.ord-list { display: grid; gap: 10px; }
.ord-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ord-card:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.ord-ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: #fdf1e2; color: #b25e09; }
.ord-card.st-delivered .ord-ic, .ord-card.st-confirmed .ord-ic { background: var(--buy-soft); color: var(--buy); }
.ord-card.st-shipped .ord-ic { background: #efedfc; color: #5b48c2; }
.ord-card.st-cancelled .ord-ic, .ord-card.st-returned .ord-ic { background: #fdecea; color: #c0362c; }
.ord-main { flex: 1; min-width: 0; }
.ord-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ord-top b { font-size: .98rem; }
.ord-sub { font-size: .82rem; color: var(--ink-2); margin-top: 2px; }
.ord-sub .pay-paid { color: var(--buy-dark); font-weight: 600; }
.ord-sub .pay-unpaid, .ord-sub .pay-failed { color: var(--deal); font-weight: 600; }
.ord-amt { text-align: right; white-space: nowrap; }
.ord-amt b { display: block; font-size: 1.02rem; }
.ord-amt span { font-size: .78rem; color: var(--brand); font-weight: 600; }
.acc .spager { margin-top: 18px; }
/* order detail */
.od-head { padding: 18px 20px; border-radius: 16px; margin-bottom: 14px; }
.od-id { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 28px; justify-content: start; }
.od-id small { display: block; font-size: .74rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.od-id b { font-size: .95rem; }
.od-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.od-actions .btn { border-radius: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.od-actions form { margin: 0; }
.od-banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 14px; }
.od-banner i { font-size: 1.5rem; }
.od-banner b { display: block; }
.od-banner span { font-size: .88rem; }
.od-banner.cancelled, .od-banner.returned { background: #fdecea; color: #8c2a22; }
.od-banner.pending { background: #fff4e5; color: #92400e; }
.od-track { padding: 22px 16px; border-radius: 16px; margin-bottom: 14px; }
.od-track ol { display: flex; list-style: none; margin: 0; padding: 0; }
.od-track li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: .8rem; color: var(--ink-2); }
.od-track li::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.od-track li:first-child::before { display: none; }
.od-track li.done::before, .od-track li.now::before { background: var(--buy); }
.od-track li > span { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-size: 1.05rem; }
.od-track li.done > span { background: var(--buy); border-color: var(--buy); color: #fff; }
.od-track li.now > span { background: #fff; border-color: var(--buy); color: var(--buy); box-shadow: 0 0 0 5px var(--buy-soft); }
.od-track li.done b, .od-track li.now b { color: var(--ink); }
.od-track small { font-size: .7rem; }
.od-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.od-side { display: grid; gap: 14px; }
.od-grid .panel, .od-side .panel { padding: 18px 20px; border-radius: 16px; }
.od-h { font-size: 1rem; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.od-h i { color: var(--brand); }
.od-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.od-img img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; }
.od-item-info b { display: block; font-size: .92rem; line-height: 1.3; }
.od-item-info small { color: var(--ink-2); }
.od-item-amt { white-space: nowrap; }
.od-bill { padding-top: 10px; }
.od-bill > div { display: flex; justify-content: space-between; padding: 4px 0; font-size: .92rem; }
.od-bill .tot { font-size: 1.15rem; font-weight: 800; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.od-addr { font-style: normal; line-height: 1.6; font-size: .9rem; }
.od-addr b { display: block; }
.od-addr span { display: block; margin-top: 6px; color: var(--ink-2); }
.od-ret { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.od-ret:last-child { border-bottom: 0; }
.od-ret small { display: block; color: var(--ink-2); }
.od-return { padding: 0; border-radius: 16px; overflow: hidden; }
.od-return summary { padding: 16px 20px; cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.od-return summary::-webkit-details-marker { display: none; }
.od-return summary span { font-weight: 800; display: flex; align-items: center; gap: 8px; }
.od-return summary span::after { content: "\F282"; font-family: bootstrap-icons; margin-left: auto; transition: transform .2s; }
.od-return[open] summary span::after { transform: rotate(180deg); }
.od-return summary small { color: var(--ink-2); }
.od-return form { padding: 0 20px 20px; }
.od-ret-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.od-ret-qty { display: flex; align-items: center; gap: 8px; margin: 0; }
.od-ret-qty small { color: var(--ink-2); white-space: nowrap; }
.od-ret-qty input { width: 76px; }
/* addresses */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 16px; }
.addr-card { position: relative; display: flex; flex-direction: column; padding: 18px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); }
.addr-card.is-default { border-color: var(--buy); background: linear-gradient(180deg, #f6fcf8, #fff); }
.addr-card.is-outside { border-color: #f3c7c3; }
.addr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.addr-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 99px; }
.addr-name { font-size: 1rem; }
.addr-lines { margin: 4px 0 6px; color: var(--ink-2); line-height: 1.55; font-size: .9rem; }
.addr-lines b { color: var(--ink); }
.addr-phone { font-size: .88rem; }
.addr-warn { margin-top: 8px; font-size: .8rem; font-weight: 600; color: var(--deal); }
.addr-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 14px; }
.addr-actions form { margin: 0; }
.addr-actions button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 12px; font-size: .82rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.addr-actions button:hover { border-color: var(--brand); color: var(--brand); }
.addr-actions button.danger:hover { border-color: var(--deal); color: var(--deal); }
.addr-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 190px; border: 2px dashed var(--line); border-radius: 16px; background: transparent; color: var(--ink); transition: border-color .15s, background .15s; }
.addr-add span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--buy-soft); color: var(--buy); font-size: 1.4rem; margin-bottom: 4px; }
.addr-add small { color: var(--ink-2); }
.addr-add:hover { border-color: var(--buy); background: #fafdfb; }
.addr-labels { display: flex; flex-wrap: wrap; gap: 8px; }
.addr-labels input { position: absolute; opacity: 0; }
.addr-labels span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: .88rem; cursor: pointer; background: #fff; }
.addr-labels input:checked + span { border-color: var(--buy); background: var(--buy-soft); color: var(--buy-dark); }
.addr-labels input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
/* forms (profile / password / address) */
.acc-form { padding: 22px 24px; border-radius: 16px; }
.acc-form-h { font-size: 1rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.acc-form-h i { color: var(--brand); }
.acc-form .form-control, .acc-form .form-select { height: 46px; border-radius: 10px; }
.acc-form .form-control:focus, .acc-form .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 110, 171, .15); }
.acc-in { position: relative; }
.acc-in > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; z-index: 2; }
.acc-in .form-control { padding-left: 40px; }
.acc-form-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.acc-form .btn-lg { border-radius: 12px; font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 6px; }
.pw-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.pw-in .form-control { padding-right: 44px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--ink-2); width: 34px; height: 34px; border-radius: 8px; z-index: 2; }
.pw-eye:hover { background: var(--surface-2, #f1f3f5); color: var(--ink); }
.pw-meter { height: 6px; border-radius: 99px; background: var(--surface-2, #eef1f4); margin-top: 8px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .25s, background .25s; }
.pw-meter span[data-lvl="1"] { width: 25%; background: #dc3545; } .pw-meter span[data-lvl="2"] { width: 50%; background: #f59e0b; }
.pw-meter span[data-lvl="3"] { width: 75%; background: #22a35a; } .pw-meter span[data-lvl="4"] { width: 100%; background: var(--buy-dark); }
.pw-hint { display: block; margin-top: 4px; color: var(--ink-2); }
.pw-hint[data-lvl="1"] { color: #dc3545; } .pw-hint[data-lvl="4"], .pw-hint[data-lvl="3"] { color: var(--buy-dark); }
.pw-match { display: block; margin-top: 4px; font-weight: 600; }
.pw-match.ok { color: var(--buy-dark); } .pw-match.bad { color: #dc3545; }
.pw-tips { padding: 20px; border-radius: 16px; background: linear-gradient(180deg, var(--brand-soft), #fff); }
.pw-tips h2 { font-size: .95rem; font-weight: 800; margin-bottom: 10px; }
.pw-tips h2 i { color: #d9a400; }
.pw-tips ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .88rem; }
.pw-tips li i { color: var(--buy); margin-right: 4px; }
/* notifications */
.nt-list { list-style: none; padding: 0; margin: 0; }
.nt-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 10px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 10px; transition: background .12s; }
.nt-list li:last-child .nt-item { border-bottom: 0; }
a.nt-item:hover { background: var(--surface-2, #f6f8fa); color: var(--ink); }
.nt-item.unread { background: #f5f9fd; }
.nt-ic { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.1rem; }
.nt-body { flex: 1; min-width: 0; }
.nt-body b { display: block; font-size: .93rem; }
.nt-item:not(.unread) .nt-body b { font-weight: 600; }
.nt-body span { display: block; font-size: .85rem; color: var(--ink-2); margin-top: 2px; }
.nt-time { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--ink-2); white-space: nowrap; }
.nt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.acc-count { font-size: .88rem; color: var(--ink-2); font-weight: 600; margin-bottom: 10px; }
@media (max-width: 991.98px) {
  .acc-grid { grid-template-columns: 1fr; gap: 14px; }
  .acc-side { position: static; border-radius: 16px; }
  .acc-me { padding: 14px 16px; }
  .acc .acc-nav { flex-direction: row; overflow-x: auto; padding: 8px; gap: 6px; scrollbar-width: none; }
  .acc .acc-nav::-webkit-scrollbar { display: none; }
  .acc .acc-nav a, .acc-out button { flex: 0 0 auto; white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; font-size: .85rem; }
  .acc .acc-nav a.active { box-shadow: none; border-color: var(--brand); }
  .acc-out { margin: 0; padding: 0; border: 0; flex: 0 0 auto; }
  .od-grid, .pw-grid { grid-template-columns: 1fr; }
  .od-id { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 575.98px) {
  .acc-stats, .acc-quick { grid-template-columns: repeat(2, 1fr); }
  .acc-card, .acc-form { padding: 16px; }
  .ord-card { padding: 12px; gap: 10px; }
  .ord-ic { flex-basis: 38px; height: 38px; font-size: 1rem; }
  .ord-amt span { display: none; }
  .od-track { padding: 18px 6px; }
  .od-track li > span { width: 32px; height: 32px; font-size: .9rem; }
  .od-track li::before { top: 15px; }
  .od-track b { font-size: .7rem; }
  .od-track small { display: none; }
  .od-id { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .od-actions .btn { flex: 1 1 auto; justify-content: center; }
  .od-ret-row { flex-direction: column; align-items: flex-start; }
}

/* address list buttons + add/edit address screen */
.addr-actions { flex-wrap: wrap; }
.addr-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 12px; font-size: .82rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.addr-btn:hover { border-color: var(--brand); color: var(--brand); }
.addr-btn.danger { margin-left: auto; }
.addr-btn.danger:hover { border-color: var(--deal); color: var(--deal); }
a.addr-add { text-decoration: none; }
.af-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.af-form { padding: 0; overflow: hidden; }
.af-sec { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.af-h { font-size: 1rem; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.af-h span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .8rem; }
.af-form .acc-form-foot { margin: 0; padding: 18px 24px; border-top: 0; background: var(--surface-2, #f8fafc); }
.af-form .acc-in .form-select { padding-left: 40px; height: 46px; border-radius: 10px; }
.af-phone .form-control { padding-left: 78px; }
.af-cc { position: absolute; left: 38px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--ink-2); border-right: 1px solid var(--line); padding-right: 8px; z-index: 2; font-size: .92rem; }
.af-other .form-control { max-width: 340px; height: 44px; border-radius: 10px; }
.af-default { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.af-default .form-check-input { margin-top: 3px; width: 1.15em; height: 1.15em; }
.af-default b { display: block; font-size: .92rem; }
.af-default small { color: var(--ink-2); }
.af-default:has(input:checked) { border-color: var(--buy); background: var(--buy-soft); }
.af-default.is-on { border-color: var(--buy); background: var(--buy-soft); cursor: default; }
.af-default.is-on > i { color: var(--buy); font-size: 1.2rem; }
.af-side { position: sticky; top: 90px; display: grid; gap: 14px; }
.af-preview-h { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); margin-bottom: 8px; }
.af-preview .addr-card { min-height: 0; }
.af-tips { padding: 18px; border-radius: 16px; }
.af-tips h3 { font-size: .92rem; font-weight: 800; margin-bottom: 8px; }
.af-tips h3 i { color: #d9a400; }
.af-tips ul { padding-left: 18px; margin: 0; font-size: .85rem; color: var(--ink-2); display: grid; gap: 6px; }
@media (max-width: 991.98px) {
  .af-grid { grid-template-columns: 1fr; }
  .af-side { position: static; order: -1; }
  .af-tips { display: none; }
}
@media (max-width: 575.98px) {
  .af-sec { padding: 18px 16px; }
  .af-form .acc-form-foot { padding: 16px; }
  .af-form .acc-form-foot .btn { flex: 1; justify-content: center; }
}

/* email verification */
.ve-card { max-width: 560px; margin: 20px auto; text-align: center; padding: 44px 28px; border-radius: 20px; }
.ve-ic { width: 92px; height: 92px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 2.8rem; margin-bottom: 16px; animation: ctpop .35s ease-out; }
.ve-ic.ok { background: var(--buy-soft); color: var(--buy); }
.ve-ic.warn { background: #fff4e5; color: #d97706; }
.ve-ic.err { background: #fdecea; color: #c0362c; }
.ve-card h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.ve-card p { color: var(--ink-2); max-width: 44ch; margin: 0 auto 22px; line-height: 1.6; }
.ve-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ve-actions form { margin: 0; }
.ve-actions .btn { border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.ve-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #fff8e8; border: 1px solid #f6e3b4; margin-bottom: 16px; }
.ve-banner > i { font-size: 1.4rem; color: #d97706; }
.ve-banner > div { flex: 1; min-width: 0; }
.ve-banner b { display: block; font-size: .92rem; }
.ve-banner span { font-size: .84rem; color: var(--ink-2); word-break: break-word; }
.ve-banner form { margin: 0; }
.ve-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: #fff8e8; font-size: .84rem; color: #92400e; }
.ve-link { border: 0; background: none; padding: 0; font-weight: 700; color: var(--brand); text-decoration: underline; }
@media (max-width: 575.98px) { .ve-banner { flex-wrap: wrap; } .ve-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* order item links */
.od-item-name { display: block; font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.od-item-name:hover { color: var(--brand); text-decoration: underline; }
.od-item-view { display: inline-flex; align-items: center; gap: 2px; margin-top: 3px; font-size: .78rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.od-item-view:hover { text-decoration: underline; }
.od-item-gone { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: .76rem; font-weight: 600; color: var(--ink-2); }

/* product unavailable */
.pu-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.pu-img { position: relative; }
.pu-img img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 14px; background: var(--surface-2, #f6f8fa); padding: 14px; filter: grayscale(.85); opacity: .75; }
.pu-tag { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; background: #111827; color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; }
.pu-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: #b45309; background: #fef3c7; padding: 4px 11px; border-radius: 99px; }
.pu-body h1 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; margin: 12px 0 8px; }
.pu-body p { color: var(--ink-2); line-height: 1.6; max-width: 58ch; margin-bottom: 18px; }
.pu-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pu-actions .btn { border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.pu-note { margin: 16px 0 0 !important; font-size: .86rem; }
@media (max-width: 767.98px) {
  .pu-card { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; }
  .pu-img { max-width: 200px; margin: 0 auto; }
  .pu-body p { margin-left: auto; margin-right: auto; }
  .pu-actions { justify-content: center; }
  .pu-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* 404 */
.nf-hero { text-align: center; padding: 40px 20px 34px; border-radius: 24px; background: radial-gradient(circle at 50% 0%, var(--brand-soft), #fff 70%); border: 1px solid var(--line); }
.nf-art { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; user-select: none; }
.nf-4 { font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; background: linear-gradient(135deg, var(--brand), var(--buy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-basket { position: relative; width: clamp(84px, 14vw, 120px); height: clamp(84px, 14vw, 120px); border-radius: 50%; display: grid; place-items: center; background: var(--buy-soft); color: var(--buy); font-size: clamp(2.6rem, 6vw, 3.6rem); animation: nfbob 2.4s ease-in-out infinite; }
.nf-q { position: absolute; top: 4px; right: 4px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f59e0b; color: #fff; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(245, 158, 11, .35); }
@keyframes nfbob { 50% { transform: translateY(-8px) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .nf-basket { animation: none; } }
.nf-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.nf-hero > p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 22px; line-height: 1.6; }
.nf-search { position: relative; display: flex; gap: 8px; max-width: 520px; margin: 0 auto 22px; }
.nf-search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-2); z-index: 2; }
.nf-search .form-control { height: 50px; border-radius: 14px; padding-left: 44px; }
.nf-search .btn { border-radius: 14px; padding: 0 22px; font-weight: 700; }
.nf-search .suggest { top: 54px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.nf-links a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 96px; padding: 12px 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none; transition: border-color .15s, transform .15s, color .15s; }
.nf-links a i { font-size: 1.3rem; color: var(--brand); }
.nf-links a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.nf-cats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: .85rem; }
.nf-cats span { color: var(--ink-2); font-weight: 600; }
.nf-cats a { padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.nf-cats a:hover { border-color: var(--buy); color: var(--buy-dark); background: var(--buy-soft); }
@media (max-width: 575.98px) {
  .nf-hero { padding: 28px 14px; }
  .nf-search .btn { padding: 0 14px; }
  .nf-links a { width: calc(33.333% - 7px); }
}
