.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:root {
  --ink: #14110d;
  --muted: #6b6b73;
  --gold: #b8912e;
  --gold-soft: #e3c877;
  --maroon: #7a1620;
  --line: #ececef;
  --surface: #f7f7f8;
  --accent: #7a1620;
  --green: #1f8a4c;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; }
body { font-family: 'Montserrat', Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; max-width: 100%; overflow-x: hidden; }
h1, h2, h3, .logo, .price-row .now, .brand { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Top utility bar */
.util-bar {
  display: flex;
  justify-content: space-between;
  background: var(--ink);
  color: #d8d8dc;
  padding: 9px 40px;
  font-size: 13px;
  letter-spacing: .2px;
}
.util-bar ul { display: flex; gap: 24px; }
.util-bar li { display: flex; align-items: center; gap: 6px; cursor: pointer; transition: color .15s; }
.util-bar li:hover { color: var(--gold-soft); }

/* Header */
header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 200; }
.header-inner {
  max-width: 1600px;
  display: flex;
  align-items: center;
  padding: 18px 40px;
  margin: 0 auto;
  gap: 36px;
}
.logo { font-size: 27px; font-weight: 800; letter-spacing: -.5px; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.logo img { display: block; }
.logo span { color: var(--accent); }
.logo i { color: var(--gold); }
nav.main-nav ul { display: flex; gap: 28px; }
nav.main-nav a { font-size: 16px; font-weight: 700; letter-spacing: .6px; color: var(--muted); position: relative; padding-bottom: 4px; transition: color .15s; }
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a.active { color: var(--ink); }
nav.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--gold); border-radius: 2px;
}
.header-right { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.search-box { width: 300px; position: relative; }
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--surface);
  font-size: 14.5px;
  color: #444;
  transition: border-color .15s, background .15s;
}
.search-box input:focus { outline: none; border-color: var(--accent); background: #fff; }
.search-box .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: .45; }
.header-icons { display: flex; gap: 24px; align-items: center; }
.header-icons .divider { width: 1px; height: 20px; background: var(--line); }
.header-icons .icon-item { font-size: 13.5px; font-weight: 700; letter-spacing: .4px; display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--ink); transition: color .15s; position: relative; }
.header-icons .icon-item:hover { color: var(--accent); }
.header-icons .glyph { font-size: 17px; }
.header-icons .bag-count {
  position: absolute; top: -8px; right: -10px; background: var(--gold); color: #fff;
  font-size: 10px; font-weight: 800; width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Gender pill + category pills */
.pill-row {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 40px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  background: #fff;
}
.gender-toggle {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 3px;
  flex-shrink: 0;
}
.gender-toggle button, .gender-toggle a {
  border: none;
  background: none;
  padding: 9px 24px;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .4px;
  transition: background .2s, color .2s;
  color: var(--muted);
}
.gender-toggle button.active, .gender-toggle a.active { background: var(--gold); color: var(--ink); box-shadow: 0 2px 6px rgba(184,145,46,.4); }
.cat-pill { font-size: 16px; font-weight: 700; letter-spacing: .4px; white-space: nowrap; cursor: pointer; color: var(--muted); transition: color .15s; }
.cat-pill:hover { color: var(--ink); }

/* Footer */
footer { background: var(--ink); color: #b6b6bd; padding: 48px 0 24px; }
.footer-top { max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.footer-logo img { height: 72px; margin-bottom: 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 34px; border-bottom: 1px solid #2a2a30;
}
.footer-grid h4 { color: var(--gold-soft); font-size: 16px; letter-spacing: .5px; margin-bottom: 18px; }
.footer-grid h4.footer-subhead { margin-top: 24px; }
.footer-grid li { font-size: 16px; margin-bottom: 11px; color: #9a9aa2; transition: color .15s; cursor: pointer; }
.footer-grid li:hover { color: #fff; }
.footer-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9a9aa2; margin-top: 10px; }
.footer-badge i { color: var(--gold-soft); }

.social-list a { display: flex; align-items: center; gap: 8px; color: #9a9aa2; font-size: 14px; }
.social-list a i { color: var(--gold-soft); font-size: 15px; }
.social-icons { display: flex; gap: 14px; margin-top: 4px; margin-bottom: 4px; }
.social-icons a { color: #9a9aa2; font-size: 17px; transition: color .15s; }
.social-icons a:hover { color: #fff; }
.payment-icons { display: flex; gap: 12px; align-items: center; font-size: 22px; color: #9a9aa2; }

.footer-grid input {
  flex: 1; min-width: 0; padding: 11px 14px; border: none; border-radius: 6px 0 0 6px; font-size: 16px;
}
.subscribe-row { display: flex; width: 100%; margin-bottom: 20px; }
.subscribe-row button { flex-shrink: 0; background: var(--gold); border: none; padding: 0 18px; font-weight: 800; border-radius: 0 6px 6px 0; }
.footer-contact-items { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-items a { color: #d4d4d8; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: color .15s; }
.footer-contact-items a i { color: var(--gold-soft); width: 14px; }
.footer-contact-items a:hover { color: #fff; }

.footer-copy { text-align: center; font-size: 13px; color: #63636b; padding-top: 34px; }
body:has(.auth-section) .footer-copy { font-size: 0; }
body:has(.auth-section) .footer-copy::before {
  content: "\00a9 2026 DivoDrip. All rights reserved.";
  font-size: 13px;
}
.footer-copy-row { display: flex; align-items: center; justify-content: space-between; max-width: 1600px; margin: 0 auto; padding: 0 40px; padding-top: 34px; }

/* Hamburger + mobile sidebar */
.hamburger-btn {
  display: none; border: none; background: none; font-size: 20px; color: var(--ink);
  cursor: pointer; padding: 4px 8px;
}
.sidebar-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 300; opacity: 0; transition: opacity .25s;
}
.sidebar-overlay.open { display: block; opacity: 1; }
.mobile-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 78%; max-width: 320px;
  background: #fff; z-index: 301; transform: translateX(-100%); transition: transform .25s ease;
  overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,.15);
}
.mobile-sidebar.open { transform: translateX(0); }
.mobile-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.mobile-sidebar-header button { border: none; background: none; font-size: 20px; color: var(--muted); cursor: pointer; }
.mobile-sidebar-nav ul { padding: 8px 0; }
.mobile-sidebar-nav a {
  display: block; padding: 14px 20px; font-size: 16px; font-weight: 600; color: var(--ink);
}
.mobile-sidebar-nav.secondary a { font-size: 16px; font-weight: 500; color: var(--muted); padding: 12px 20px; }
.mobile-sidebar-divider { height: 1px; background: var(--line); margin: 4px 0; }

.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  nav.main-nav, .search-box { display: none; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .util-bar { padding: 8px 16px; overflow-x: auto; scrollbar-width: none; }
  .util-bar::-webkit-scrollbar { display: none; }
  .util-bar ul { flex-shrink: 0; gap: 14px; justify-content: space-between; width: 100%; }
  .util-bar li { white-space: nowrap; font-size: 11px; }
  .header-inner { padding: 12px 16px; gap: 14px; }
  .logo img { height: 30px !important; }
  .header-icons { gap: 14px; }
  .header-icons .icon-item .label { display: none; }
  .header-icons .divider { display: none; }
  .pill-row { padding: 12px 16px; gap: 10px; }
  .gender-toggle button, .gender-toggle a { padding: 7px 16px; font-size: 13px; }
  .cat-pill { font-size: 13px; }
  .footer-top { padding-left: 16px; padding-right: 16px; } .footer-grid { gap: 24px; }
  footer { padding: 40px 0 20px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .subscribe-row { flex-wrap: wrap; }
  .subscribe-row input { flex: 1 1 100%; border-radius: 6px; }
  .subscribe-row button { flex: 1 1 100%; border-radius: 6px; padding: 11px 18px; margin-top: 8px; }
  .hamburger-btn { display: block; }
  .header-right { margin-left: auto; }
  .header-right .search-box { display: none; }
}
@media (max-width: 480px) {
  .header-icons .icon-item { font-size: 0; gap: 0; }
  .header-icons .glyph { font-size: 19px; }
  .util-bar li { font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 500;
}
.toast i { color: var(--gold-soft); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Newsletter box (shared) */
.newsletter-box {
  display: grid;
  grid-template-columns: 60px 1fr minmax(260px, 420px) 140px;
  align-items: center;
  gap: 22px;
  padding: 28px 40px;
  border: 1px solid #cbd8d0;
  border-radius: 12px;
  background: #f8fbf9;
}
.newsletter-box > i { font-size: 40px; color: var(--gold); }
.newsletter-box h3 { color: var(--gold); font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.newsletter-box p { font-size: 13px; color: var(--muted); }
.newsletter-box form { display: flex; gap: 10px; grid-column: 3 / 5; }
.newsletter-box input {
  flex: 1; height: 44px; border: 1px solid #dfe2e5; border-radius: 6px; padding: 0 16px; font-size: 13.5px; font-family: inherit;
}
.newsletter-box input:focus { outline: none; border-color: var(--gold); }
.newsletter-box button {
  height: 44px; padding: 0 22px; border: 0; border-radius: 6px; background: var(--gold); color: #fff;
  font-weight: 800; font-size: 13.5px; white-space: nowrap;
}
@media (max-width: 900px) {
  .newsletter-box { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; }
  .newsletter-box > i { margin: 0 auto; }
  .newsletter-box form { grid-column: auto; flex-direction: column; }
  .newsletter-box button { width: 100%; }
}

/* =========================================================
   CART / CHECKOUT / WISHLIST — shared page shell
   ========================================================= */
.container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }

.page-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 18px; padding: 30px 0 24px;
}
.page-head h1 { font-size: 27px; font-weight: 800; }

.stepper { display: flex; align-items: center; gap: 10px; }
.stepper .step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.stepper .step .dot {
  width: 26px; height: 26px; border-radius: 50%; background: var(--surface); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.stepper .step.done .dot,
.stepper .step.current .dot { background: var(--gold); color: #fff; }
.stepper .step.done,
.stepper .step.current { color: var(--ink); }
.stepper .step-line { width: 40px; height: 2px; background: var(--line); }

.layout { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 32px; padding-bottom: 60px; }
.layout > div:first-child { min-width: 0; }

.summary-card, .content-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 26px;
}
.summary-card { align-self: start; }
.summary-card h2 { font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin: 10px 0; }
.summary-row.muted { color: var(--muted); }
.summary-row.savings { color: var(--green); font-weight: 700; }
.summary-sep { border: none; border-top: 1px solid var(--line); margin: 14px 0; }
.summary-total { display: flex; align-items: center; justify-content: space-between; font-size: 19px; font-weight: 800; margin: 6px 0 20px; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 16px; text-align: center; justify-content: center; }
.secure-note i { font-size: 13px; flex-shrink: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 7px; font-weight: 800; font-size: 13.5px; letter-spacing: .3px; cursor: pointer; transition: opacity .15s, transform .15s; border: none; }
.btn-primary { background: var(--gold); color: #fff; padding: 13px 22px; }
.btn-primary:hover { opacity: .88; }
.btn-outline { background: #fff; border: 1.5px solid var(--gold); color: var(--gold); padding: 12px 20px; }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 22px; font-size: 14px; }

/* ---------- Cart page ---------- */
.cart-card { border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.cart-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-of-type { border-bottom: none; }
.cart-item img { width: 96px; height: 116px; object-fit: cover; border-radius: 8px; background: var(--surface); flex-shrink: 0; }
.item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.item-info h3 { font-size: 15px; font-weight: 700; }
.item-meta { font-size: 13px; color: var(--muted); }
.item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; flex-wrap: wrap; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty-control button { width: 32px; height: 32px; border: none; background: #fff; font-size: 15px; font-weight: 700; }
.qty-control button:hover { background: var(--surface); }
.qty-control span { width: 36px; text-align: center; font-size: 13.5px; font-weight: 700; border-left: 1px solid var(--line); border-right: 1px solid var(--line); height: 32px; line-height: 32px; }
.item-links { display: flex; align-items: center; gap: 10px; }
.item-links button { display: flex; align-items: center; gap: 6px; background: none; border: none; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.item-links button:hover { color: var(--ink); }
.item-links i { font-size: 12px; }
.divider-dot { color: var(--line); }
.price-block { text-align: right; flex-shrink: 0; }
.price-strike { text-decoration: line-through; color: #a5a5ac; font-size: 13px; margin-right: 6px; }
.price-off { color: var(--green); font-size: 12.5px; font-weight: 700; }
.price-now { font-size: 17px; font-weight: 800; margin-top: 4px; }

.coupon-box { display: flex; align-items: center; gap: 16px; padding: 20px 0; }
.coupon-icon { font-size: 24px; color: var(--gold); flex-shrink: 0; }
.coupon-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.coupon-text strong { font-size: 14px; }
.coupon-text span { font-size: 12.5px; color: var(--muted); }
.coupon-form { display: flex; gap: 10px; }
.coupon-form input { height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 13.5px; font-family: inherit; width: 200px; }
.coupon-form input:focus { outline: none; border-color: var(--gold); }

.summary-card .coupon-box { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 0; }
.summary-card .coupon-form { width: 100%; }
.summary-card .coupon-form input { width: auto; flex: 1; }

.section-heading { font-size: 20px; font-weight: 800; }
.product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 18px; overflow-x: auto; padding: 22px 2px 6px; scrollbar-width: none; }
.product-rail::-webkit-scrollbar { display: none; }
.product-thumb { position: relative; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; background: var(--surface); }
.product-thumb > a { display: block; width: 100%; height: 100%; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wish-toggle { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); border: none; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.wish-toggle:hover, .wish-toggle.active { color: #e0416b; }
.wish-toggle i { font-size: 15px; }
.rating-badge { position: absolute; bottom: 10px; left: 10px; background: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 5px; display: flex; align-items: center; gap: 4px; }
.rating-badge i { font-size: 11px; color: var(--gold); }
.product-body { padding-top: 12px; }
.product-body h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 14px; }
.product-price-row .now { font-weight: 800; }
.product-price-row .strike { text-decoration: line-through; color: #a5a5ac; }
.product-price-row .off { color: var(--green); font-weight: 700; }
.explore-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--surface); border-radius: 8px; aspect-ratio: 3/4; font-weight: 700; font-size: 13.5px; }
.explore-circle { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.explore-circle i { font-size: 16px; }

/* ---------- Checkout page ---------- */
.form-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: none; }
.form-section h2 { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; margin-bottom: 20px; }
.form-section h2 em { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.saved-address { display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--gold); border-radius: 8px; padding: 18px; cursor: pointer; }
.saved-address input { margin-top: 4px; accent-color: var(--accent); }
.addr-detail { flex: 1; }
.name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.name-row strong { font-size: 14.5px; }
.badge-default { font-size: 10.5px; font-weight: 800; background: var(--surface); padding: 3px 8px; border-radius: 4px; color: var(--muted); }
.addr-detail p { font-size: 13px; color: #444; line-height: 1.5; }
.addr-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.addr-actions button { display: flex; align-items: center; gap: 6px; background: none; border: none; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.addr-actions button:hover { color: var(--ink); }
.addr-actions i { font-size: 13px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.form-grid input, .form-grid select { height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 7px; font-size: 13.5px; font-family: inherit; color: var(--ink); }
.form-grid input:focus, .form-grid select:focus { outline: none; border-color: var(--gold); }
.form-row-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.form-row-bottom.full { grid-column: 1 / -1; }
.form-grid input.full { grid-column: 1 / -1; }
.addr-type { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.radio-pill, .check-pill { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; cursor: pointer; }

.delivery-options, .pay-methods { display: flex; flex-direction: column; gap: 12px; }
.delivery-opt, .pay-method { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1.5px solid var(--line); border-radius: 8px; padding: 16px 18px; cursor: pointer; transition: border-color .15s; }
.delivery-opt.selected, .pay-method.selected { border-color: var(--gold); background: #f8fbf9; }
.delivery-opt .left, .pay-method .left { display: flex; align-items: center; gap: 14px; }
.pay-method i { font-size: 19px; color: var(--gold); flex-shrink: 0; width: 22px; text-align: center; }
.delivery-opt strong, .pay-method strong { font-size: 14px; display: block; }
.delivery-opt .sub, .pay-method .sub { font-size: 12px; color: var(--muted); }
.delivery-opt .cost { font-weight: 800; font-size: 13.5px; }
.pay-method .brands { display: flex; gap: 8px; }
.pay-method .brands span { font-size: 10.5px; font-weight: 700; color: var(--muted); background: var(--surface); padding: 3px 7px; border-radius: 4px; }

.privacy-note { display: flex; gap: 10px; font-size: 12px; color: var(--muted); line-height: 1.6; padding-top: 20px; }
.privacy-note i { font-size: 15px; flex-shrink: 0; color: var(--gold); }
.privacy-note a { color: var(--gold); font-weight: 700; }

.mini-cart-item { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.mini-cart-item img { width: 52px; height: 62px; object-fit: cover; border-radius: 6px; background: var(--surface); }
.mi-info { flex: 1; }
.mi-info h4 { font-size: 13px; font-weight: 700; line-height: 1.4; }
.mi-info span { font-size: 12px; color: var(--muted); }
.mi-price { font-size: 13.5px; font-weight: 700; }

.trust-row { display: flex; gap: 18px; margin-top: 18px; }
.trust-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 11.5px; color: var(--muted); }
.trust-item i { font-size: 19px; color: var(--gold); }
.pay-icons { display: flex; justify-content: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pay-icons span { font-size: 10.5px; font-weight: 700; color: var(--muted); background: var(--surface); padding: 4px 8px; border-radius: 4px; }

/* ---------- Wishlist page ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.wish-toolbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; }
.wish-toolbar .count { font-size: 14px; color: var(--muted); font-weight: 600; }
.clear-wishlist { display: flex; align-items: center; gap: 8px; background: none; border: none; font-size: 13px; font-weight: 700; color: var(--muted); }
.clear-wishlist:hover { color: #e0263c; }
.clear-wishlist i { font-size: 13px; }

.wishlist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; padding-bottom: 20px; }
.wishlist-grid .product-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.wishlist-grid .product-thumb { border-radius: 6px; }
.wishlist-grid .swatches { display: flex; gap: 8px; margin: 10px 0; }
.swatch { width: 20px; height: 20px; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.sizes { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.sizes span { font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; cursor: pointer; }
.sizes .size-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.low-stock { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #c9820b; margin-bottom: 10px; }
.low-stock i { font-size: 12px; }
.stock-badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; padding: 5px 9px; border-radius: 4px; }
.faded .product-thumb img { opacity: .5; }
.notify-btn { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 12px; border-radius: 6px; font-weight: 800; font-size: 13px; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 70px 20px; text-align: center; }
.empty-state i { font-size: 46px; color: var(--line); }
.empty-state h3 { font-size: 18px; }
.empty-state p { font-size: 13.5px; color: var(--muted); max-width: 320px; }

.cart-sticky-bar { display: none; }

@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .wishlist-grid { grid-template-columns: repeat(3, 1fr); }

  [data-page="cart"] .summary-card { display: none; }
  [data-page="cart"] { padding-bottom: 86px; }
  .cart-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 250;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -8px 20px rgba(0,0,0,.1);
  }
  .cart-sticky-bar span { font-size: 13px; color: var(--muted); }
  .cart-sticky-bar strong { display: block; font-size: 17px; color: var(--ink); }
  .cart-sticky-bar .btn { flex-shrink: 0; }

  [data-page="checkout"] { padding-bottom: 86px; }
  [data-page="checkout"] #place-order-desktop,
  [data-page="checkout"] .checkout-terms-note {
    display: none;
  }
  .saved-address { flex-wrap: wrap; }
  .addr-actions { flex-direction: row; }
  .pay-method { flex-wrap: wrap; }
  .pay-method .brands { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; width: 100%; max-width: 100%; box-sizing: border-box; }
  .layout { width: 100%; max-width: 100%; }
  .cart-card, .summary-card, .content-card { width: 100%; max-width: 100%; box-sizing: border-box; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head { padding: 22px 0 16px; }
  .wish-toolbar { padding-bottom: 16px; }
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
}
@media (max-width: 700px) {
  .cart-item { flex-wrap: wrap; }
  .cart-item img { width: 84px; height: 102px; }
  .item-info { flex: 1 1 calc(100% - 102px); }
  .item-bottom { margin-top: 6px; }
  .price-block { text-align: left; width: 100%; order: 3; margin-top: 10px; }
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .wishlist-grid .product-card { padding: 8px; }
  .wishlist-grid .product-body h4 { font-size: 12px; }
  .wishlist-grid .product-price-row { font-size: 12px; gap: 5px 8px; margin-bottom: 10px; }
  .wishlist-grid .btn-primary { padding: 10px 12px; font-size: 11.5px; }
}
/* =========================================================
   ACCOUNT MODAL — login / create account drawer (shared)
   ========================================================= */
.account-overlay {
  position: fixed;
  inset: 0;
  z-index: 1800;
  background: rgba(20,17,13,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s;
}
.account-overlay.open { opacity: 1; visibility: visible; }

.account-drawer {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 720px;
  max-width: calc(100vw - 32px);
  max-height: 96vh;
  background: #fff;
  z-index: 1900;
  border-radius: 16px;
  transform: translate(-50%, -46%);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .28s ease, visibility 0s linear .3s;
  display: flex;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0,0,0,.3);
}
.account-drawer.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .28s ease, visibility 0s linear 0s;
}

.account-visual {
  width: 260px;
  flex-shrink: 0;
  position: relative;
  background: url('../assets/products/hero-2.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.account-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(20,17,13,.35) 0%, rgba(20,17,13,.85) 100%);
}
.account-visual-content {
  position: relative;
  z-index: 1;
  padding: 32px 26px;
  color: #fff;
}
.account-visual-content img { height: 44px; margin-bottom: 24px; }
.account-visual-content h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
}
.account-visual-content h3 em { color: var(--gold-soft); font-style: normal; }
.account-visual-perks { display: flex; flex-direction: column; gap: 10px; }
.account-visual-perk { font-size: 13px; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 9px; }
.account-visual-perk i { color: var(--gold-soft); font-size: 12px; }

.account-form-panel {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 44px 46px 46px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.account-drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  transition: background .15s;
  z-index: 2;
}
.account-drawer-close:hover { background: var(--line); }

.account-welcome { margin-bottom: 20px; }
.account-welcome-title { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.account-welcome-sub { font-size: 13px; color: var(--muted); }

.account-tabs {
  display: flex;
  border-bottom: 2px solid var(--line);
  margin-bottom: 22px;
}
.account-tab {
  flex: 1;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.account-tab.active { color: var(--ink); border-bottom-color: var(--gold); }

.account-panel { display: none; }
.account-panel.active { display: block; }

.account-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.account-form-group { margin-bottom: 14px; }
.account-form-group label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.account-form-group input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s;
}
.account-form-group input:focus { border-color: var(--gold); }
.account-form-group input::placeholder { color: #b3b3ba; }

.account-pw-wrap { position: relative; }
.account-pw-wrap input { padding-right: 46px; }
.account-pw-toggle {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  padding: 0;
}
.account-pw-toggle:hover { color: var(--ink); }

.account-forgot {
  display: block;
  text-align: right;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 18px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.account-forgot:hover { color: var(--ink); }

.account-submit-btn {
  width: 100%;
  height: 48px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s, transform .1s;
  margin-bottom: 14px;
}
.account-submit-btn:hover { opacity: .88; transform: translateY(-1px); }

.account-guest-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.account-guest-note a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

@media (max-width: 640px) {
  .account-form-row { grid-template-columns: 1fr; gap: 0; }
  .account-drawer { width: calc(100vw - 24px); max-height: 94vh; border-radius: 14px; }
  .account-visual { display: none; }
  .account-form-panel { padding: 40px 20px 28px; }
  .account-welcome-title { font-size: 21px; }
}
