:root {
  --navy: #0b1a3a;
  --navy-2: #13254f;
  --navy-3: #1c3166;
  --blue: #0a5cff;
  --blue-light: #3d8bff;
  --cyan: #00d4ff;
  --bg: #ffffff;
  --soft: #f2f5fb;
  --line: #dfe5ef;
  --text: #0b1a3a;
  --muted: #5d6882;
  --on-navy-muted: rgba(255, 255, 255, 0.78);
  --ok: #1f9d55;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 18px 40px rgba(11, 26, 58, 0.12);
  --display: "Sora", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:active { transform: scale(.97); }
.btn--lg { height: 56px; padding: 0 28px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; }
.hero .btn--primary:hover { background: var(--blue-light); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #000; color: #fff; }
.btn--outline-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.3); }
.btn--outline-light:hover { color: #fff; border-color: #fff; }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--block { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.icon-btn:hover { border-color: var(--text); }

/* Preview mode */
.preview-bar { background: var(--cyan); color: var(--navy); font-size: 14px; padding: 10px 16px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.preview-bar strong { background: var(--navy); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.preview-note { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; padding: 12px 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; display: block; }
.nav { display: flex; gap: 4px; flex: 1 1 auto; flex-wrap: wrap; }
.nav a { color: var(--on-navy-muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255,255,255,.08); }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--on-navy-muted); }
.search:focus-within { border-color: #fff; }
.search input { background: none; border: 0; outline: none; color: #fff; width: 190px; font-size: 15px; }
.search input::placeholder { color: rgba(255,255,255,.6); }
.cart-btn { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; border-radius: 999px; border: 0; background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; cursor: pointer; }
.badge { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; }
.badge.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.3); } }

/* Category strip (slider when it overflows) */
.catbar { background: #fff; border-bottom: 1px solid var(--line); }
.catbar__inner { position: relative; display: flex; align-items: center; gap: 8px; }
.catbar__track { flex: 1; min-width: 0; display: flex; gap: 8px; padding: 12px 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; scroll-behavior: smooth; }
.catbar__track::-webkit-scrollbar { display: none; }
.catbar__track.is-overflowing { mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.catbar__item { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.catbar__item:hover { border-color: var(--navy); color: var(--navy); }
.catbar__item.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.catbar__arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.catbar__arrow[hidden] { display: none; }
.catbar__arrow:hover:not([disabled]) { border-color: var(--navy); }
.catbar__arrow[disabled] { opacity: .35; cursor: default; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 56px 0 88px; }
.hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(0,212,255,.4); color: var(--cyan); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
h1 { font-weight: 800; font-size: clamp(3.2rem, 7.4vw, 6.75rem); line-height: .94; letter-spacing: -0.045em; }
h1 span { color: var(--blue-light); }
.lede { font-size: 1.25rem; color: var(--on-navy-muted); margin: 0; max-width: 34ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.bento { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px 220px; gap: 16px; }
.feature { border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; border: 0; cursor: pointer; color: inherit; text-decoration: none; transition: transform .2s; }
.feature:hover { transform: translateY(-4px); color: inherit; }
.feature h3 { font-size: 22px; line-height: 1.15; margin-bottom: 6px; }
.feature--main { grid-column: span 2; background: var(--navy-2); color: #fff; flex-direction: row; gap: 24px; padding: 28px; }
.feature--main > div:first-child { flex: 1 1 50%; display: flex; flex-direction: column; justify-content: space-between; }
.feature--main h3 { font-size: 28px; }
.feature--main p { margin: 0; color: var(--on-navy-muted); font-size: 15px; }
.feature--main .art { flex: 1 1 50%; border-radius: var(--r-md); background: var(--navy-3); color: var(--cyan); }
.feature--blue { background: var(--blue); color: #fff; }
.feature--white { background: #fff; color: var(--navy); }
.feature--white:hover { color: var(--navy); }
.feature--white img { width: 48px; height: 48px; border-radius: 12px; }
.feature__label { font-size: 14px; font-weight: 600; opacity: .88; }
.feature__link { color: var(--blue); font-weight: 700; font-size: 15px; }
.tag { align-self: flex-start; background: var(--cyan); color: var(--navy); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.big-price { font-family: var(--display); font-weight: 700; font-size: 26px; }
.big-price s { font-family: var(--body); font-weight: 400; font-size: 16px; opacity: .6; margin-left: 8px; }

/* Sections */
.section { padding-top: 88px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.more { font-weight: 700; }
.results { color: var(--muted); margin: 8px 0 0; }


/* Filters */
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
select { height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: 15px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 20px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card__media { position: relative; }
.card__view { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 24px; overflow: hidden; }
.card__view .art { aspect-ratio: 4 / 5; transition: transform .35s; }
.card__view:hover .art { transform: scale(1.04); }
.card__tag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; pointer-events: none; }
.add { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(10,92,255,.35); transition: background .15s, transform .15s; }
.add:hover { background: var(--navy); transform: scale(1.06); }
.add.in-cart { background: var(--navy); box-shadow: none; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
.card__cat { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.card__name { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.card__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 4px; }
.price { font-weight: 700; font-size: 18px; }
.price s { color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 8px; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.stars b { color: var(--navy); font-weight: 600; }
.stars svg { color: #f5a524; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }

/* All products page */
.plp { padding: 32px 0 88px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.plp__head { margin: 16px 0 28px; }
.plp__head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.035em; }
.plp__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }
.filters__head h2 { font-size: 20px; }
.filters__group { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 16px 0; }
.filters__group legend { font-weight: 700; font-size: 15px; padding: 0; float: left; width: 100%; margin-bottom: 12px; }
.filters__list { clear: both; display: flex; flex-direction: column; gap: 10px; }
.filters .check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 15px; }
.filters .check input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; flex: none; }
.price-range { clear: both; display: flex; align-items: center; gap: 8px; }
.price-range label { flex: 1; }
.price-range input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; }
.price-range input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(10,92,255,.15); }
.plp__toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.filter-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--soft); color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; }
.filter-pill:hover { background: #e2e9f6; }
.filter-pill span { font-size: 12px; color: var(--muted); }
.sort-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-left: auto; }
.filters-toggle { display: none; height: 44px; }
.grid--plp { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.plp__more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.plp__more .hint { margin: 0; }
@media (max-width: 900px) {
  .plp__layout { grid-template-columns: 1fr; gap: 0; }
  .filters { position: static; display: none; background: var(--soft); border-radius: 20px; padding: 16px 20px; margin-bottom: 20px; }
  .filters.is-open { display: flex; }
  .filters__group { border-top-color: #dbe3f0; }
  .filters-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .grid--plp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sort-label span { display: none; }
}

/* Product artwork (placeholder drawing, or a photo uploaded in the admin portal) */
.art { display: grid; place-items: center; background: var(--soft); color: var(--navy); overflow: hidden; }
.art--photo { place-items: stretch; background: #fff; position: relative; }
.art--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art--photo .art__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.card__view:hover .art__alt, .card__view:focus-visible .art__alt { opacity: 1; }
.art.is-missing { background: var(--soft); }

/* Product photo gallery (product pop-up) */
.gallery { position: relative; display: flex; flex-direction: column; background: var(--soft); }
.gallery__main { flex: 1; display: flex; }
.gallery__main .art { flex: 1; aspect-ratio: 1; }
.gallery__nav { position: absolute; top: calc(50% - 44px); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(11,26,58,.15); }
.gallery__nav:hover { background: #fff; color: var(--blue); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px 12px 12px; overflow-x: auto; background: #fff; }
.gallery__thumb { flex: none; width: 60px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--soft); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb[aria-current="true"] { border-color: var(--blue); }
.card__tag--stock { background: #fff4d6; color: #7a5200; }
.is-sold-out .card__tag--stock { background: var(--navy); color: #fff; }
.is-sold-out .art { opacity: .55; }
.add[disabled] { background: var(--line); box-shadow: none; cursor: not-allowed; }
.stock-note { align-self: flex-start; font-size: 14px; font-weight: 700; color: #7a5200; background: #fff4d6; padding: 4px 12px; border-radius: 999px; }
.stock-note.is-out { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.art svg { width: 42%; height: 42%; }

/* Promise, FAQ, newsletter */
.promise { padding-top: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.promise__card { background: var(--soft); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.promise__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.promise__card h3 { font-size: 24px; letter-spacing: -.02em; }
.promise__card p { margin: 0; color: var(--muted); }
.faq { padding-top: 88px; max-width: 820px; }
.faq h2 { margin-bottom: 16px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; }
details p { color: var(--muted); margin: 10px 0 0; }
#newsletter { padding: 88px 0; }
.news { background: var(--blue); color: #fff; border-radius: 36px; padding: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.news__copy { flex: 1 1 420px; min-width: 0; }
.news__copy p { margin: 12px 0 0; font-size: 17px; color: rgba(255,255,255,.88); }
.news__form { flex: 1 1 420px; min-width: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.news__form input { flex: 1 1 220px; min-width: 0; height: 56px; border-radius: 999px; border: 0; padding: 0 22px; font-size: 16px; color: var(--navy); background: #fff; }
.news__done { flex: 1 1 420px; margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; }

/* Footer */
.footer { background: var(--navy); color: #fff; padding: 64px 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer__brand { flex: 1 1 280px; }
.footer__brand img { height: 40px; width: auto; display: block; }
.footer__brand p { margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 15px; letter-spacing: .18em; text-transform: uppercase; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__cols a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: rgba(255,255,255,.6); }
.footer__credit { color: rgba(255,255,255,.6); }

/* Modals & drawer */
.modal, .drawer { position: fixed; inset: 0; z-index: 50; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11,26,58,.55); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal__panel { position: relative; margin: 6vh auto; width: min(920px, 100% - 32px); max-height: 88vh; overflow: auto; background: #fff; border-radius: var(--r-lg); animation: pop .25s; }
.modal__panel--narrow { width: min(520px, 100% - 32px); padding: 32px; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm > .gallery { min-height: 100%; }
.pm__info { padding: 40px 32px; display: flex; flex-direction: column; gap: 12px; }
.pm__info h3 { font-size: 30px; line-height: 1.1; }
.pm__info p { color: var(--muted); margin: 0; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; }
.swatch[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.swatch--size { min-width: 48px; padding: 0 14px; }
.pm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 4px; }
.pm-tag { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(10,92,255,.08); color: var(--blue); text-decoration: none; font-weight: 500; }
.pm-tag:hover { background: var(--blue); color: #fff; }
.size-error { margin: -2px 0 4px; color: #c62828; font-size: 14px; font-weight: 600; }
.size-error[hidden] { display: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; align-self: flex-start; }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.label { font-size: 14px; font-weight: 600; }

.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; animation: slide .25s; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: var(--navy); color: #fff; }
.drawer__head h2 { font-size: 1.5rem; }
.drawer__head .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .art { aspect-ratio: 1; border-radius: 16px; }
.line__name { font-weight: 600; margin: 0; }
.line__meta { color: var(--muted); font-size: 14px; }
.line__right { display: flex; flex-direction: column; align-items: end; gap: 8px; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 0; }
.sum { display: flex; justify-content: space-between; }
.sum span:first-child { color: var(--muted); }
.sum--total { font-weight: 700; font-size: 1.15rem; }
.sum--total span:first-child { color: var(--text); }
.progress { height: 6px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.progress div { height: 100%; background: var(--blue); transition: width .3s; }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* Account */
.topbar .account-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.topbar .account-btn:hover { border-color: #fff; }
.topbar .account-btn.is-signed-in { padding: 0; border: 0; background: none; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; flex: none; }
.avatar--sm { width: 44px; height: 44px; font-size: 15px; background: var(--cyan); color: var(--navy); }
.acct-logo { display: block; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px; }
#accountBody h2 { font-size: 2rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--soft); border-radius: 999px; padding: 4px; margin-top: 20px; }
.tab { height: 40px; border: 0; border-radius: 999px; background: none; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(11,26,58,.12); }
.pass { position: relative; display: flex; }
.pass input { flex: 1; min-width: 0; }
.field .pass input { padding-right: 52px; }
.pass__toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pass__toggle:hover { color: var(--navy); background: var(--soft); }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.forgot { font-size: 14px; text-decoration: none; }
.forgot:hover { text-decoration: underline; }
.btn--google { margin-top: 20px; background: #fff; color: #1f1f1f; border-color: var(--line); font-weight: 600; }
.btn--google:hover { border-color: var(--navy); background: var(--soft); }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 4px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.back-row { display: flex; justify-content: space-between; gap: 12px; }
.back-link { margin-top: 16px; text-decoration: none; font-weight: 600; color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--navy); }
.code-input { font-size: 22px; letter-spacing: .4em; font-weight: 700; text-align: center; }
.form-error { margin: 0; color: #c62828; font-size: 14px; font-weight: 500; }
.form-error:empty { display: none; }
.acct-head { display: flex; align-items: center; gap: 16px; padding-right: 48px; }
.acct-head .hint { margin-top: 4px; word-break: break-all; }
.acct-sub { font-size: 18px; margin: 28px 0 8px; }
.acct-empty { padding: 16px 0 24px; }
.orders { list-style: none; margin: 0 0 24px; padding: 0; }
.orders li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.orders li div { display: flex; flex-direction: column; }
.signed-in-as { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.link--blue { color: var(--blue); font-weight: 700; font-size: inherit; }

/* Ratings & reviews */
.pm__reviews { grid-column: 1 / -1; padding: 28px 32px 36px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-head h3 { font-size: 22px; }
.rv-empty { margin: 0; }
.rv-summary { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; background: var(--soft); border-radius: 20px; padding: 20px 24px; }
.rv-score { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rv-score strong { font-family: var(--display); font-size: 44px; line-height: 1; }
.rv-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; }
.rv-bar { display: grid; grid-template-columns: 12px 12px 1fr 28px; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.rv-bar svg { fill: #f5a524; }
.rv-bar__track { height: 8px; background: #fff; border-radius: 999px; overflow: hidden; }
.rv-bar__track span { display: block; height: 100%; background: #f5a524; border-radius: 999px; }
.rv-bar__n { text-align: right; }
.star-row { display: inline-flex; gap: 2px; }
.star-row svg { fill: var(--line); }
.star-row svg.on { fill: #f5a524; }
.rv-list { list-style: none; margin: 0; padding: 0; }
.rv-item { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.rv-item:last-child { border-bottom: 0; }
.rv-item__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-item p { margin: 0; color: var(--text) !important; }
.rv-verified { color: var(--ok); font-weight: 600; }
.rv-form { display: flex; flex-direction: column; gap: 14px; background: var(--soft); border-radius: 20px; padding: 20px 24px; }
.rv-form .field input, .rv-form .field textarea { height: auto; min-height: 48px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; }
.rv-form__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.star-input { border: 0; margin: 0; padding: 0; }
.star-input legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.star-input__stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input label { cursor: pointer; padding: 4px; border-radius: 8px; display: grid; }
.star-input label svg { fill: var(--line); transition: fill .1s, transform .1s; }
.star-input input:checked ~ label svg, .star-input label:hover svg, .star-input label:hover ~ label svg { fill: #f5a524; }
.star-input label:hover svg { transform: scale(1.1); }
.star-input input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 820px) { .pm__reviews { padding: 24px; } }

/* Quotation */
.modal__panel--quote { width: min(640px, 100% - 32px); padding: 32px; }
.qitems { margin-top: 20px; border-top: 1px solid var(--line); }
.qline { display: grid; grid-template-columns: 56px 1fr 84px 110px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qline .art { aspect-ratio: 1; border-radius: 14px; }
.qline__info { display: flex; flex-direction: column; min-width: 0; }
.qline__qty input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 12px; text-align: center; font-weight: 600; }
.qline__qty input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(10,92,255,.15); }
.qline__total { text-align: right; }
.qtotals { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 4px; }
.optional { font-weight: 400; color: var(--muted); }
.field textarea { padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; resize: vertical; font: inherit; }
.field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(10,92,255,.15); }
.success__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
#pmQuote { height: 48px; }
@media (max-width: 560px) {
  .modal__panel--quote { padding: 24px 20px; }
  .qline { grid-template-columns: 48px 1fr 72px; }
  .qline__total { grid-column: 2 / -1; text-align: left; font-size: 14px; }
}

/* Checkout */
.co-step { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-top: 12px; }
.co-step span { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; }
.bank { background: var(--soft); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.bank--amount { background: #fff; border: 2px solid var(--blue); }
.bank__name { font-weight: 700; font-family: var(--display); }
.bank__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; }
.bank__row > span:first-child { color: var(--muted); }
.bank__value { display: flex; align-items: center; gap: 4px; text-align: right; word-break: break-all; }
.copy { width: 36px; height: 36px; flex: none; border: 0; border-radius: 10px; background: none; color: var(--blue); display: grid; place-items: center; cursor: pointer; }
.copy:hover { background: rgba(10,92,255,.1); }
.upload { display: block; border: 2px dashed var(--line); border-radius: 18px; padding: 24px; cursor: pointer; transition: border-color .15s, background .15s; }
.upload:hover, .upload.is-drag { border-color: var(--blue); background: rgba(10,92,255,.04); }
.upload:focus-within { border-color: var(--blue); }
.upload.has-file { border-style: solid; border-color: var(--ok); padding: 14px; }
.upload__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--blue); }
.upload__empty strong { color: var(--navy); }
.upload__file { display: flex; align-items: center; gap: 14px; }
.upload__file[hidden], .upload__empty[hidden] { display: none; }
.upload__file img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.upload__pdf { width: 64px; height: 64px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.upload__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.upload__meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__ok { color: var(--ok); flex: none; }
.status-pill { display: inline-block; margin: 14px 0 8px; padding: 6px 14px; border-radius: 999px; background: #fff4d6; color: #7a5200; font-weight: 700; font-size: 14px; }
.status-pill--sm { margin: 6px 0 0; padding: 3px 10px; font-size: 12px; align-self: flex-start; }
.status-pill.is-paid { background: #dff5e7; color: #17663a; }
.status-pill.is-shipped { background: #e1ecff; color: #0a46c2; }
.status-pill.is-delivered { background: var(--navy); color: #fff; }
.status-pill.is-rejected { background: #fde4e4; color: #a61d1d; }

.form { display: grid; gap: 14px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.field input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(10,92,255,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { background: var(--soft); padding: 12px 14px; border-radius: 14px; font-size: 14px; color: var(--muted); }
.success { text-align: center; padding: 20px 0; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 2rem; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 160%); background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 500; z-index: 60; transition: transform .3s; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.toast:not(.show) { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
.toast.show { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { order: 3; flex-basis: 100%; }
  .topbar__actions { margin-left: auto; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 32px); }
  .pm { grid-template-columns: 1fr; }
  .gallery__main .art { aspect-ratio: 4 / 3; }
  .pm__info { padding: 24px; }
  .bento { grid-template-rows: 260px 200px; }
  .feature--main .art { display: none; }
  .news { padding: 32px; }
  .nav { overflow-x: auto; flex-wrap: nowrap; }
}
@media (max-width: 560px) {
  .search { flex: 1; }
  .search input { width: 100%; min-width: 0; }
  .topbar__actions { width: 100%; }
  .cart-btn__label { display: none; }
  .hero { padding: 36px 0 56px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .feature--main { grid-column: auto; }
  .feature { min-height: 180px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .card__name { font-size: 15px; }
  .card__row { flex-direction: column; align-items: flex-start; }
  .add { width: 44px; height: 44px; right: 10px; bottom: 10px; }
  .row2 { grid-template-columns: 1fr; }
  .section, .promise, .faq { padding-top: 64px; }
  #newsletter { padding: 64px 0; }
}

/* ---------- App-style phone layout ---------- */
.tabbar { display: none; }
.install-btn { height: 40px; padding: 0 16px; font-size: 14px; }
.install-btn[hidden] { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  /* Inputs at 16px stop iPhones zooming in when they are tapped. */
  input, select, textarea { font-size: 16px !important; }

  /* Compact header: logo + search on one row, categories scroll underneath. Not pinned: the tab bar is. */
  .topbar { position: static; }
  .topbar__inner { gap: 12px; min-height: 0; padding: 12px 0 4px; flex-wrap: wrap; }
  .logo img { height: 24px; }
  .topbar__actions { flex: 1; min-width: 0; width: auto; margin-left: 0; }
  .topbar .account-btn, .topbar .cart-btn { display: none; }
  .search { flex: 1; min-width: 0; height: 40px; }
  .search input { width: 100%; min-width: 0; }
  .nav { display: none; }
  .topbar__inner { padding-bottom: 12px; }
  .catbar__arrow { display: none; }
  .catbar__track { padding: 10px 0; }
  .catbar__item { height: 36px; padding: 0 14px; font-size: 14px; }
  .preview-bar { font-size: 13px; padding: 8px 12px; }

  /* Bottom tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--navy); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(11,26,58,.18); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; border: 0; background: none; color: rgba(255,255,255,.72); font: inherit; font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 12px; }
  .tabbar a[aria-current="page"] { color: var(--cyan); }
  .tabbar a:active, .tabbar button:active { background: rgba(255,255,255,.08); }
  .tabbar__badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; display: grid; place-items: center; }
  .tabbar__badge[hidden] { display: none; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }

  /* Shorter, tidier hero */
  .hero { padding: 28px 0 40px; }
  .hero__inner { gap: 28px; }
  .hero__copy { gap: 20px; }
  .lede { font-size: 1.05rem; }
  .hero__cta { flex-wrap: nowrap; }
  .hero__cta .btn { flex: 1; height: 50px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
  .hero__cta .btn svg { display: none; }
  .feature--white { display: none; }

  /* Category chips scroll sideways instead of wrapping */
  #shop .controls { width: 100%; flex-direction: column; align-items: flex-start; }
  #shop .controls #chips { align-self: stretch; }
  #chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  #chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .footer { padding-bottom: 24px; }
}

@media (max-width: 560px) {
  /* Pop-ups slide up from the bottom like an app sheet */
  .modal__panel { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; width: 100%; max-height: 92vh;
    border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); animation: sheet .28s ease-out; }
  .modal__panel--narrow, .modal__panel--quote { width: 100%; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
  @keyframes sheet { from { transform: translateY(100%); } }
  .drawer__foot { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .pm__info { padding: 20px 20px 8px; }
  .pm__reviews { padding: 20px 20px 28px; }
}

/* ---------- Favourites ---------- */
.wish { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(11,26,58,.12); }
.wish svg, .wish-btn svg { fill: none; transition: fill .15s, transform .15s; }
.wish:hover svg { transform: scale(1.1); }
.wish[aria-pressed="true"], .wish-btn[aria-pressed="true"] { color: #e0245e; }
.wish[aria-pressed="true"] svg, .wish-btn[aria-pressed="true"] svg { fill: currentColor; }
.pm__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pm__actions .btn { height: 44px; gap: 8px; }

/* ---------- Product pop-up extras ---------- */
.pm__more { grid-column: 1 / -1; padding: 4px 32px 24px; }
.pm__more h3 { font-size: 20px; margin-bottom: 12px; }
.mini-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mini { display: flex; flex-direction: column; gap: 4px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--navy); }
.mini .art { aspect-ratio: 1; border-radius: 16px; }
.mini__name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.mini__price { font-weight: 700; font-size: 14px; }
.mini:hover .mini__name { color: var(--blue); }

/* ---------- Checkout discount ---------- */
.co-summary { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.sum--discount span:last-child { color: var(--ok); font-weight: 600; }
.discount-row { display: flex; gap: 8px; margin-top: 12px; }
.discount-row input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.discount-row input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(10,92,255,.15); }
.discount-row input:disabled { background: #eefaf2; border-color: #b9e6c8; color: #17663a; }
.code-msg { margin: 6px 0 0; font-size: 14px; min-height: 0; }
.code-msg:empty { display: none; }
.code-msg.is-ok { color: var(--ok); font-weight: 600; }
.code-msg.is-error { color: #c62828; font-weight: 600; }
.news__code { background: #fff; color: var(--blue); padding: 2px 10px; border-radius: 8px; letter-spacing: .04em; }

/* ---------- Order status steps ---------- */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 18px 0 8px; padding: 0; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.stepper li::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.is-done::before, .stepper li.is-current::before { background: var(--blue); }
.stepper__dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.stepper li.is-done .stepper__dot { background: var(--blue); border-color: var(--blue); }
.stepper li.is-current .stepper__dot { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,92,255,.15); }
.stepper li.is-done, .stepper li.is-current { color: var(--navy); }
.track-rejected { margin: 14px 0; padding: 12px 14px; border-radius: 14px; background: #fde4e4; color: #a61d1d; font-size: 14px; }
.track-items { margin: 0; padding-left: 18px; }
.track-items li { margin: 4px 0; }

/* ---------- Footer contacts ---------- */
.footer__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.72); }
.footer__contact a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer__contact a:hover { color: #fff; }
.footer__contact strong { color: #fff; font-weight: 600; margin-right: 4px; }
.footer__contact:empty { display: none; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social:empty { display: none; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); transition: background .15s, border-color .15s; }
.footer__social a:hover { background: var(--blue, #0a5cff); border-color: transparent; }
.footer__social a:focus-visible { outline: 2px solid var(--cyan, #00d4ff); outline-offset: 2px; }

/* ---------- Account page ---------- */
.acct-page { padding: 24px 0 88px; min-height: 60vh; }
.acct-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 20px; }
.acct-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; background: var(--soft); border-radius: 24px; padding: 20px; }
.acct-side__me { display: flex; gap: 12px; align-items: center; min-width: 0; }
.acct-side__me div { display: flex; flex-direction: column; min-width: 0; }
.acct-side__me .hint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.acct-nav { display: flex; flex-direction: column; gap: 4px; }
.acct-nav a { padding: 10px 14px; border-radius: 12px; color: var(--navy); text-decoration: none; font-weight: 600; }
.acct-nav a:hover { background: #fff; color: var(--navy); }
.acct-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.acct-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 18px; }
.acct-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 8px; }
.acct-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); color: var(--navy); text-decoration: none; }
a.acct-stat:hover { border-color: var(--navy); color: var(--navy); }
.acct-stat span { color: var(--muted); font-size: 14px; font-weight: 600; }
.acct-stat strong { font-family: var(--display); font-size: 26px; }
.acct-order { border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; margin-bottom: 12px; }
.acct-order--latest { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,92,255,.08); }
.acct-order__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.acct-order__head div { display: flex; flex-direction: column; }
.acct-order .hint { margin: 8px 0 0; }
.acct-order__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.acct-empty-card { padding: 28px; border-radius: 20px; background: var(--soft); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.acct-empty-card p { margin: 0; color: var(--muted); }
.acct-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin-bottom: 16px; max-width: 620px; }
.acct-avatar-row { display: flex; align-items: center; gap: 14px; }
.acct-avatar-row .hint { margin: 0; }
.avatar--lg { width: 72px; height: 72px; font-size: 26px; }
.acct-signin { max-width: 440px; margin: 40px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 28px; border-radius: 28px; background: var(--soft); }
.acct-signin .avatar { width: 64px; height: 64px; }
.acct-signin h1 { font-size: 2rem; }
.acct-signin .hint { margin: 0; }
.acct-signin__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Content pages ---------- */
.content-page { padding: 24px 0 88px; min-height: 60vh; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; margin-top: 20px; }
.content { max-width: 720px; }
.content h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; margin-bottom: 20px; }
.content h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.content p, .content li { font-size: 17px; line-height: 1.65; color: #2a3757; }
.content ul { padding-left: 22px; }
.content__updated { margin-top: 32px; }
.content-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 24px; background: var(--soft); }
.content-nav strong { margin-bottom: 6px; }
.content-nav a { padding: 8px 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 500; }
.content-nav a:hover { background: #fff; color: var(--navy); }
.content-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

@media (max-width: 900px) {
  .acct-layout, .content-layout { grid-template-columns: 1fr; gap: 20px; }
  .acct-side, .content-nav { position: static; }
  .acct-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .acct-nav a { flex: none; }
}
@media (max-width: 560px) {
  .pm__more { padding: 4px 20px 20px; }
  .stepper li { font-size: 11px; }
}

/* ---------- Order status for customers ---------- */
.status-msg { margin: 10px 0 0; font-size: 15px; color: var(--navy); }
.acct-order__head .acct-order__status { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.update-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7a5200; background: #fff4d6; padding: 3px 8px; border-radius: 999px; }
.acct-order.is-updated { border-color: #f0b429; box-shadow: 0 0 0 3px rgba(240,180,41,.15); }
.acct-update-note { margin: -6px 0 16px; }
.order-details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.order-details summary { cursor: pointer; font-weight: 600; color: var(--blue); font-size: 14px; }
.order-details h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; font-family: var(--body); }
.order-details p { margin: 0; font-size: 15px; }
.order-details__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 24px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: flex; flex-direction: column; padding: 0 0 12px 4px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: 2px solid #fff; }
.timeline li.is-latest::before { background: var(--blue); }
.order-lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-lines td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-lines .r { text-align: right; padding-left: 12px; white-space: nowrap; }
.order-sums { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; max-width: 360px; margin-left: auto; }
/* Dot on the account icon when an order has an update */
#accountBtn.has-update, #tabAccount.has-update { position: relative; }
#accountBtn.has-update::after, #tabAccount.has-update::after { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px; border-radius: 50%; background: #f0b429; border: 2px solid var(--navy); }
#tabAccount.has-update::after { top: 4px; right: calc(50% - 18px); }

/* ---------- Delivery area and payment choices ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.choice-group { border: 0; margin: 0; padding: 0; }
.choice-group legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; }
.choice:hover { border-color: var(--navy); }
.choice.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,92,255,.12); }
.choice input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.choice > span { display: flex; flex-direction: column; gap: 2px; }
.choice .hint { font-size: 13px; }
.cod-note { margin: 4px 0 0; }
.zone-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.zone-pick select { height: 40px; max-width: 70%; font-weight: 500; }
.delivery-line { margin: 8px 0 0; }
