  :root {
    --accent: #1670B8;
    --accent-600: color-mix(in srgb, var(--accent) 75%, black);
    --accent-deep: color-mix(in srgb, var(--accent) 55%, black);
    --accent-tint: color-mix(in srgb, var(--accent) 14%, white);
    --radius: 16px;

    --bg: #F1F6FB;
    --surface: #FFFFFF;
    --surface-2: #E9F0F7;
    --ink: #14263D;
    --muted: #56677C;
    --faint: #8696A8;
    --line: #DFE7F0;
    --gold: #F2A516;
    --danger: #C2452F;

    --display: "Bricolage Grotesque", system-ui, sans-serif;
    --ui: "Manrope", system-ui, sans-serif;

    --r-sm: calc(var(--radius) * .6);
    --r-pill: 999px;
    --shadow: 0 1px 2px rgba(20,38,61,.04), 0 8px 24px rgba(20,38,61,.07);
    --shadow-lg: 0 4px 12px rgba(20,38,61,.07), 0 24px 60px rgba(20,38,61,.14);
    --pad: 26px;
    --gap: 24px;
    --maxw: 1200px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body { background: var(--bg); color: var(--secondary); font-family: var(--ui); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; margin: 0; line-height: 1.08; }
  a { cursor: pointer; color: inherit; text-decoration: none; }
  input, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }
  ::selection { background: var(--accent-tint); }

  .d-compact { --pad: 18px; --gap: 18px; }
  .d-comfy { --pad: 34px; --gap: 32px; }

  .page { display: flex; flex-direction: column; min-height: 100vh; }
  section { width: 100%; }
  .section-eyebrow { font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

  /* ---------- buttons ---------- */
  .btn-primary, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
    border-radius: var(--r-pill); padding: 11px 20px; border: 1.5px solid transparent;
    transition: transform .12s ease, background .15s, box-shadow .15s;
  }
  .btn-primary { background: var(--accent); color: #fff;  }
  .btn-primary:hover { background: white; color:var(--accent); border-color: var(--accent)   }
  .btn-ghost { background: white; color: var(--accent); border-color: var(--accent); }
  .btn-ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
  .btn-primary.lg, .btn-ghost.lg { padding: 14px 26px; font-size: 16px; }
  .full { width: 100%; }

  /* ---------- header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; gap: 22px;
    padding: 12px max(24px, calc((100% - var(--maxw)) / 2));
    background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .brand { display: flex; align-items: center; gap: 9px; cursor: pointer; }
  .brand-logo { height: 64px; width: auto; display: block; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px -4px var(--accent); }
  .brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
  .main-nav { margin-left: auto; display: flex; gap: 22px; font-weight: 600; font-size: 15px; color: var(--muted); }
  .main-nav a:hover { color: var(--secondary); }
  .header-search { margin-left: auto; display: flex; align-items: center; gap: 9px; background: var(--surface-2); border: 1.5px solid transparent; border-radius: var(--r-pill); padding: 9px 16px; width: min(340px, 34vw); color: var(--faint); transition: border .15s, background .15s; }
  .header-search:focus-within { border-color: var(--accent); background: #fff; }
  .header-search input { border: 0; background: transparent; outline: none; width: 100%; color: var(--secondary); }
  .cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: transform .12s, border .15s; }
  .cart-btn:hover { border-color: var(--secondary); }
  .cart-btn.pop { animation: pop .4s ease; }
  @keyframes pop { 0%{transform:scale(1)} 35%{transform:scale(1.18)} 100%{transform:scale(1)} }
  .cart-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
  .main-nav { margin-left: auto; }
  .header-actions { display: flex; align-items: center; gap: 12px; }
  .signin-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--secondary); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px; cursor: pointer; transition: all .14s; white-space: nowrap; }
  .signin-btn:hover { border-color: var(--accent); color: var(--accent); }
  .signin-btn svg { color: var(--accent); }
  .acct-menu { display: flex; align-items: center; gap: 6px; }
  .acct-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 5px 14px 5px 5px; cursor: pointer; transition: all .14s; }
  .acct-chip:hover { border-color: var(--accent); }
  .acct-name { font-weight: 700; font-size: 14.5px; }
  .acct-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), var(--accent-deep)); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; display: grid; place-items: center; flex: none; }
  .acct-avatar.lg { width: 64px; height: 64px; font-size: 28px; box-shadow: 0 10px 24px -10px var(--accent); }
  .icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: all .14s; }
  .icon-btn:hover { border-color: var(--danger); color: var(--danger); }

  /* ---------- hero ---------- */
  .hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center;
    padding: clamp(36px, 6vw, 72px) max(24px, calc((100% - var(--maxw)) / 2)); }
  .hero-centered { display: block; text-align: center; padding: clamp(48px, 8vw, 96px) max(24px, calc((100% - var(--maxw)) / 2)); }
  .hero-centered .hero-text { max-width: 760px; margin: 0 auto; }
  .hero-centered .hero-text > p { margin-left: auto; margin-right: auto; }
  .hero-centered .hero-actions { justify-content: center; }
  .hero-centered .hero-stats { justify-content: center; }
  .eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-tint); padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; }
  .hero-text h1 { font-size: clamp(40px, 6vw, 66px); font-weight: 800; margin: 18px 0 16px; letter-spacing: -0.03em; }
  .hero-text > p { font-size: 18px; color: var(--muted); max-width: 30em; }
  .hero-actions { display: flex; gap: 12px; margin: 26px 0 30px; flex-wrap: wrap; }
  .hero-stats { display: flex; align-items: center; gap: 22px; }
  .hero-stats b { font-family: var(--display); font-size: 26px; display: block; }
  .hero-stats span { font-size: 13px; color: var(--muted); }
  .hero-stats .div { width: 1px; height: 34px; background: var(--line); }

  .hero-visual { position: relative; }
  .hero-slot, .about-slot { display: block; width: 100%; }
  .hero-slot { height: clamp(320px, 38vw, 460px); box-shadow: var(--shadow-lg); --slot-bg: linear-gradient(140deg, var(--accent-tint), #fff); }
  image-slot { background: var(--surface-2); }
  .hero-card { position: absolute; display: flex; align-items: center; gap: 11px; background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); }
  .hero-card .hc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
  .hero-card b { display: block; font-size: 14px; }
  .hero-card span { font-size: 12px; color: var(--muted); }
  .hero-card.float-a { top: 26px; left: -22px; }
  .hero-card.float-b { bottom: 26px; right: -18px; }

  /* ---------- trust strip ---------- */
  .trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    padding: 0 max(24px, calc((100% - var(--maxw)) / 2)) 8px; }
  .trust-item { display: flex; align-items: center; gap: 11px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--secondary); }
  .trust-item svg { color: var(--accent); }

  /* ---------- about ---------- */
  .hide-about .about { display: none; }
  .about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center;
    padding: clamp(40px, 6vw, 80px) max(24px, calc((100% - var(--maxw)) / 2)); }
  .about-slot { height: clamp(300px, 34vw, 420px); box-shadow: var(--shadow); }
  .about-text h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 16px; }
  .about-text > p { color: var(--muted); font-size: 17px; }
  .about-points { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
  .about-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
  .about-points span { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex: none; }

  /* ---------- shop ---------- */
  .shop { padding: clamp(36px, 5vw, 60px) max(24px, calc((100% - var(--maxw)) / 2)); }

  /* products page */
  .products-hero { padding: 18px max(24px, calc((100% - var(--maxw)) / 2)) 0; }
  .products-hero h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin: 8px 0 10px; }
  .products-hero p { color: var(--muted); font-size: 17px; max-width: 48ch; margin: 0; }
  .products-shop { padding-top: 28px; }
  .products-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
  .sort-wrap { display: flex; align-items: center; gap: 9px; }
  .sort-wrap label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
  .sort-wrap select { font-family: var(--ui); font-weight: 600; font-size: 14px; color: var(--secondary); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px; cursor: pointer; outline: none; }
  .sort-wrap select:focus { border-color: var(--accent); }
  .products-count { font-size: 14px; color: var(--faint); font-weight: 600; margin-bottom: 18px; }
  .shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
  .shop-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 6px; }
  .chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 15px; border-radius: var(--r-pill); cursor: pointer; transition: all .14s; }
  .chip:hover { border-color: var(--secondary); color: var(--secondary); }
  .chip.on { background: var(--secondary); color: #fff; border-color: var(--secondary); }
  .chip.sm { padding: 5px 12px; font-size: 13px; }

  /* ---- category rail ---- */
  .cat-rail-outer { position: relative; margin-bottom: 20px; }
  .cat-rail-outer::after { content: ''; position: absolute; top: 0; right: 0; bottom: 6px; width: 64px; background: linear-gradient(to right, transparent, var(--bg)); pointer-events: none; z-index: 1; }
  .cat-rail { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 64px 6px 2px; }
  .cat-rail::-webkit-scrollbar { display: none; }
  .cat-item { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; text-decoration: none; transition: border .14s, background .14s, box-shadow .14s; }
  .cat-item:hover { border-color: var(--secondary); box-shadow: var(--shadow); }
  .cat-item.on { background: var(--secondary); border-color: var(--secondary); }
  .cat-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
  .cat-name { font-weight: 600; font-size: 14px; color: var(--muted); line-height: 1; transition: color .14s; }
  .cat-item:hover .cat-name { color: var(--secondary); }
  .cat-item.on .cat-name { color: #fff; }
  .cat-count { font-size: 11.5px; font-weight: 700; color: var(--faint); margin-left: 1px; transition: color .14s; }
  .cat-item:hover .cat-count { color: var(--muted); }
  .cat-item.on .cat-count { color: rgba(255,255,255,.55); }

  .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .14s, box-shadow .14s, border .14s; }
  .pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .pcard-img { position: relative; aspect-ratio: 1 / 0.82; overflow: hidden; background: var(--bg); }
  .pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .22s; }
  .pcard:hover .pcard-img img { transform: scale(1.04); }
  .pcard-img .icon-tile-badge { position: absolute; top: 12px; left: 12px; }

  .icon-tile { position: relative; aspect-ratio: 1 / 0.82; background: var(--tint); display: grid; place-items: center; }
  .icon-tile.lg { aspect-ratio: 1 / 1; border-radius: var(--radius); }
  .icon-tile-art { color: var(--tint-ink); }
  .tile-photo .icon-tile-art { display: none; }
  .tile-photo .icon-tile::after { content: "product photo"; font-size: 13px; color: var(--tint-ink); opacity: .7; font-weight: 600; }
  .icon-tile-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--tint-ink); background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: var(--r-pill); }
  .pcard-body { padding: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
  .pcard-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); }
  .pcard-name { font-size: 16.5px; font-weight: 700; }
  .pcard-blurb { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; line-height: 1.45; }
  .pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
  .pcard-price b { font-family: var(--display); font-size: 19px; }
  .pcard-price span { display: block; font-size: 12px; color: var(--faint); }
  .btn-add { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; color: var(--accent); background: var(--accent-tint); border: 0; padding: 9px 14px; border-radius: var(--r-pill); cursor: pointer; transition: background .14s, color .14s; }
  .btn-add:hover { background: var(--accent); color: #fff; }

  .stars { display: inline-flex; gap: 1px; }
  .star { color: #D8DCD3; display: inline-flex; }
  .star.on { color: var(--gold); }
  .reviews { margin-left: 3px; }
  .empty { text-align: center; padding: 60px; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }

  /* ---------- breadcrumb ---------- */
  .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted);
    padding: 18px max(24px, calc((100% - var(--maxw)) / 2)) 0; }
  .breadcrumb a:hover { color: var(--accent); }
  .breadcrumb svg { color: var(--faint); }
  .breadcrumb span { color: var(--secondary); font-weight: 600; }

  /* ---------- product detail ---------- */
  .pd { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px;
    padding: 26px max(24px, calc((100% - var(--maxw)) / 2)) 20px; align-items: start; }
  .pd-gallery { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; }
  .pd-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
  .pd-main .icon-tile.lg { box-shadow: none; }
  .pd-main.has-image { padding: 0; overflow: hidden; }
  .pd-main.has-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; border-radius: var(--radius); }
  .pd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pd-thumb-slot { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; }
  .pd-thumb-slot img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
  .pd-lightbox-trigger { cursor: zoom-in; transition: opacity .15s; }
  .pd-lightbox-trigger:hover { opacity: .88; }

  /* ---------- product lightbox ---------- */
  .pd-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
  .pd-lightbox[hidden] { display: none; }
  .pdlb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
  .pdlb-frame { position: relative; z-index: 1; max-width: min(88vw, 860px); max-height: 88vh; display: flex; align-items: center; justify-content: center; }
  .pdlb-img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 64px rgba(0,0,0,.5); display: block; }
  .pdlb-close { position: absolute; top: 18px; right: 22px; z-index: 2; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .14s; }
  .pdlb-close:hover { background: rgba(255,255,255,.24); }
  .pdlb-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 32px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .14s; }
  .pdlb-nav:hover { background: rgba(255,255,255,.24); }
  .pdlb-prev { left: 18px; }
  .pdlb-next { right: 18px; }
  .pd-info h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 10px 0 12px; }
  .pd-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
  .pd-rating b { color: var(--secondary); }
  .pd-instock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
  .pd-instock .dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
  .pd-price { margin: 18px 0 14px; }
  .pd-price b { font-family: var(--display); font-size: 38px; }
  .pd-price span { color: var(--muted); font-size: 16px; }
  .pd-blurb { color: var(--muted); font-size: 17px; max-width: 34em; }
  .pd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
  .pd-specs > div { background: var(--surface); padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; }
  .pd-specs span { font-size: 12.5px; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
  .pd-specs b { font-size: 15px; }
  .pd-specs b.ok { color: var(--accent); }
  .pd-buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
  .qty { display: flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 4px; }
  .qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; transition: background .14s; }
  .qty button:hover { background: var(--accent-tint); color: var(--accent); }
  .qty span { min-width: 30px; text-align: center; font-weight: 700; }
  .qty.sm button { width: 30px; height: 30px; }
  .qty.sm span { min-width: 24px; }
  .pd-pay-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
  .pd-pay-note b { font-size: 14px; }
  .pay-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
  .pay-pills span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); padding: 8px 14px; border-radius: var(--r-pill); }
  .pay-pills svg { color: var(--accent); }

  /* ---------- checkout ---------- */
  .checkout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start;
    padding: 18px max(24px, calc((100% - var(--maxw)) / 2)) 40px; }
  .checkout-title { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-bottom: 24px; }
  .co-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
  .co-block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
  .co-block-head h2 { font-size: 21px; }
  .step-no { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; display: grid; place-items: center; flex: none; }

  .co-items { display: flex; flex-direction: column; gap: 14px; }
  .co-item { display: grid; grid-template-columns: 52px 1fr auto auto auto; align-items: center; gap: 14px; }
  .co-item-ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; }
  .co-item-info b { display: block; font-size: 15px; }
  .co-item-info span { font-size: 13px; color: var(--muted); }
  .co-item-price { font-family: var(--display); font-weight: 700; font-size: 16px; min-width: 64px; text-align: right; }
  .co-item-rm { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--muted); cursor: pointer; font-size: 13px; transition: all .14s; }
  .co-item-rm:hover { background: #F6E3DF; color: var(--danger); }

  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field.wide { grid-column: 1 / -1; }
  .field span { font-size: 13px; font-weight: 600; color: var(--accent); }
  .field input, .field textarea { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; background: var(--surface); outline: none; resize: vertical; transition: border .14s, box-shadow .14s; }
  .field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0; }
  .field input::placeholder, .field textarea::placeholder { color: #bcbcbc; opacity: 1; }
  .field.err input, .field.err textarea { border-color: var(--danger); }

  .pay-options { display: flex; flex-direction: column; gap: 12px; }
  .pay-option { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: all .14s; }
  .pay-option:hover { border-color: var(--accent); }
  .pay-option.on { border-color: var(--accent); background: var(--accent-tint); }
  .pay-option input { position: absolute; opacity: 0; }
  .pay-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; transition: all .14s; }
  .pay-option.on .pay-radio { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 5px, #fff 6px); }
  .pay-ic { color: var(--accent); display: grid; place-items: center; width: 28px; }
  .pay-meta b { display: block; font-size: 15px; }
  .pay-meta span { font-size: 13px; color: var(--muted); }
  .pay-detail { margin-top: 16px; padding: 16px 18px; background: var(--surface-2); border-radius: var(--radius); }
  .pay-detail-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .pdl { font-size: 13px; color: var(--muted); font-weight: 600; }
  .pdv { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .01em; }
  .copy-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; cursor: pointer; }
  .copy-btn:hover { border-color: var(--accent); }
  .pay-note { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
  .pay-note svg { color: var(--accent); flex: none; }

  .summary { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
  .summary h3 { font-size: 19px; margin-bottom: 16px; }
  .sum-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 15px; color: var(--muted); }
  .sum-row b { color: var(--secondary); font-weight: 700; }
  .sum-divider { height: 1px; background: var(--line); margin: 10px 0; }
  .sum-row.total { font-size: 17px; color: var(--secondary); font-weight: 700; padding: 4px 0 14px; }
  .sum-row.total b { font-family: var(--display); font-size: 24px; }
  .sum-pay { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); background: var(--surface-2); padding: 10px 14px; border-radius: var(--r-sm); margin-bottom: 14px; }
  .sum-pay svg { color: var(--accent); }
  .sum-fine { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
  .sum-fine svg { color: var(--accent); flex: none; margin-top: 2px; }
  .sum-err { font-size: 13px; color: var(--danger); font-weight: 600; margin: 10px 0 0; }

  .cart-empty, .admin-empty { text-align: center; padding: 60px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .ce-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
  .cart-empty b, .admin-empty b { font-family: var(--display); font-size: 20px; }
  .cart-empty p, .admin-empty p { color: var(--muted); margin: 0 0 12px; }

  /* ---------- confirm ---------- */
  .confirm { padding: clamp(28px, 4vw, 56px) 24px clamp(40px, 5vw, 72px); width: min(880px, 100%); margin-inline: auto; box-sizing: border-box; }

  /* celebratory hero */
  .confirm-hero { text-align: center; position: relative; padding: clamp(24px, 4vw, 44px) 0 36px; }
  .confirm-hero::before { content: ""; position: absolute; inset: 0 auto auto 50%; transform: translateX(-50%); top: -10px; width: 460px; max-width: 90%; height: 280px; background: radial-gradient(ellipse at top, var(--accent-tint), transparent 68%); opacity: .8; pointer-events: none; }
  .confirm-badge { position: relative; display: inline-grid; place-items: center; width: 104px; height: 104px; margin-bottom: 22px; }
  .confirm-badge .cb-ring { position: absolute; inset: 0; width: 104px; height: 104px; transform: rotate(-90deg); }
  .confirm-badge .cb-ring circle { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 339; stroke-dashoffset: 339; opacity: .35; animation: ringdraw 1s .15s cubic-bezier(.5,0,.2,1) forwards; }
  .confirm-badge .cb-tick { position: relative; width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), var(--accent-deep)); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 36px -12px var(--accent); transform: scale(0); animation: pop-in .5s .1s cubic-bezier(.34,1.56,.64,1) forwards; }
  @keyframes ringdraw { to { stroke-dashoffset: 0; } }
  @keyframes pop-in { to { transform: scale(1); } }
  @media (prefers-reduced-motion: reduce) { .confirm-badge .cb-ring circle { animation: none; stroke-dashoffset: 0; } .confirm-badge .cb-tick { animation: none; transform: scale(1); } }
  .confirm-hero .section-eyebrow { display: block; margin-top: 4px; }
  .confirm-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin: 10px 0 12px; letter-spacing: -0.02em; }
  .confirm-hero > p { color: var(--muted); font-size: 16.5px; max-width: 46ch; margin: 0 auto; line-height: 1.6; }
  .confirm-meta { display: inline-flex; align-items: center; gap: 22px; margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 14px 28px; box-shadow: var(--shadow); }
  .cm-item { display: flex; flex-direction: column; gap: 2px; text-align: center; }
  .cm-item span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
  .cm-item b { font-family: var(--display); font-size: 18px; color: var(--secondary); white-space: nowrap; }
  .cm-div { width: 1px; height: 30px; background: var(--line); }

  /* progress tracker */
  .confirm-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 30px; }
  .confirm-track::before { content: ""; position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 3px; background: var(--line); border-radius: 3px; }
  .ct-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
  .ct-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); color: var(--faint); display: grid; place-items: center; transition: all .2s; }
  .ct-step.done .ct-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 18px -8px var(--accent); }
  .ct-step.active .ct-dot { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
  .ct-label { font-size: 13px; font-weight: 600; color: var(--muted); max-width: 12ch; }
  .ct-step.done .ct-label, .ct-step.active .ct-label { color: var(--secondary); }

  /* grid cards */
  .confirm-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; text-align: left; }
  .confirm-pay, .confirm-summary { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); padding: 24px; box-shadow: var(--shadow); }
  .cp-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
  .cp-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex: none; }
  .cp-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .cp-head h3 { font-size: 19px; }
  .cp-lead { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
  .cp-lead b { color: var(--secondary); }
  .confirm-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 16px; }
  .confirm-detail span { width: 100%; font-size: 11.5px; color: var(--faint); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
  .confirm-detail b { font-family: var(--display); font-size: 17px; letter-spacing: .01em; }
  .confirm-detail .copy-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 7px 13px; cursor: pointer; transition: all .14s; }
  .confirm-detail .copy-btn:hover { border-color: var(--accent); }
  .confirm-detail .copy-btn.copied { background: var(--accent); border-color: var(--accent); color: #fff; }
  .confirm-detail .copy-btn.copied .cbt::after { content: "ied!"; }
  .confirm-ref { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
  .confirm-ref svg { color: var(--accent); flex: none; }
  .confirm-ref b { color: var(--secondary); }
  .confirm-summary h3 { font-size: 19px; margin-bottom: 14px; }
  .cs-items { padding-bottom: 4px; }
  .cs-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; padding: 6px 0; color: var(--secondary); }
  .cs-row span { line-height: 1.4; }
  .cs-q { color: var(--accent); font-family: var(--display); margin-right: 2px; }
  .cs-row b { color: var(--secondary); white-space: nowrap; }
  .cs-row.sub { color: var(--muted); border-top: 1px dashed var(--line); }
  .cs-row.sub:first-of-type { margin-top: 4px; }
  .cs-row.total { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; }
  .cs-row.total b { font-family: var(--display); font-size: 22px; color: var(--accent); }

  /* delivering-to banner */
  .confirm-deliver { display: flex; align-items: center; gap: 14px; margin-top: 18px; background: var(--accent-deep); color: #fff; border-radius: calc(var(--radius) + 2px); padding: 18px 22px; }
  .cd-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
  .cd-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
  .confirm-deliver b { font-size: 15px; }
  .confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
  @media (max-width: 680px) {
    .confirm-grid { grid-template-columns: 1fr; }
    .confirm-meta { gap: 14px; padding: 12px 18px; flex-wrap: wrap; justify-content: center; }
    .ct-label { font-size: 11.5px; }
  }

  /* ---------- admin ---------- */
  .admin { padding: 24px max(24px, calc((100% - var(--maxw)) / 2)) 50px; flex: 1; }
  .admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
  .admin-head h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-top: 6px; }
  .admin-stats { display: flex; gap: 12px; }
  .astat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 20px; text-align: center; }
  .astat b { font-family: var(--display); font-size: 24px; display: block; }
  .astat span { font-size: 12px; color: var(--muted); }

  .admin-board { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
  .order-list { display: flex; flex-direction: column; gap: 10px; }
  .order-row { text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: all .14s; }
  .order-row:hover { border-color: var(--accent); }
  .order-row.on { border-color: var(--accent); background: var(--accent-tint); }
  .or-top { display: flex; justify-content: space-between; align-items: center; }
  .or-top b { font-family: var(--display); font-size: 16px; }
  .status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .04em; }
  .status.s-new { background: #FCE9D8; color: #B5651D; }
  .status.s-confirmed { background: var(--accent-tint); color: var(--accent); }
  .status.s-shipped { background: #E0EBF6; color: #356C99; }
  .or-mid { font-size: 13.5px; color: var(--muted); margin: 6px 0; }
  .or-bot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
  .or-bot span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
  .or-bot svg { color: var(--accent); }
  .or-bot b { font-family: var(--display); font-size: 15px; }

  .order-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
  .od-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
  .od-head h2 { font-size: 26px; }
  .od-time { font-size: 13px; color: var(--muted); }
  .od-status-pick { display: flex; gap: 8px; }
  .od-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .od-card { background: var(--surface-2); border-radius: var(--radius); padding: 18px; }
  .od-card h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 12px; }
  .od-card h4 svg { color: var(--accent); }
  .od-kv { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
  .od-kv:last-child { border-bottom: 0; }
  .od-kv span { color: var(--muted); flex: none; }
  .od-kv b { text-align: right; }
  .od-kv b.ok { color: var(--accent); }
  .od-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; padding: 7px 0; line-height: 1.35; }
  .od-line b { white-space: nowrap; }
  .od-line.sub { color: var(--muted); }
  .od-line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; }
  .od-line.total b { font-family: var(--display); font-size: 18px; }

  /* ---------- status badge variants ---------- */
  .status { font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
  .status.s-placed { background: #FCE9D8; color: #B5651D; }
  .status.s-confirmed { background: var(--accent-tint); color: var(--accent); }
  .status.s-packed { background: #EDE7F6; color: #6A4EA0; }
  .status.s-shipped { background: #E0EBF6; color: #356C99; }
  .status.s-delivered { background: #E2F0EA; color: #1F8A5B; }

  /* ---------- auth (login / register) ---------- */
  .auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; max-width: 1040px; width: calc(100% - 48px); margin: clamp(24px, 5vw, 56px) auto; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); overflow: hidden; box-shadow: var(--shadow-lg); }
  .auth-aside { position: relative; background: linear-gradient(155deg, var(--accent), var(--secondary)); color: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
  .auth-aside::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); }
  .auth-logo { height: 92px; width: auto; align-self: flex-start; background: #fff; padding: 16px 20px; border-radius: 16px; cursor: pointer; box-shadow: 0 16px 36px -16px rgba(0,0,0,.5); }
  .auth-aside h2 { position: relative; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; max-width: 14ch; }
  .auth-points { position: relative; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
  .auth-points li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; }
  .auth-points .ap-ic { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
  .auth-points .ap-text { flex: 1; min-width: 0; }
  .auth-demo { position: relative; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; gap: 8px; }
  .auth-demo span { font-size: 13px; color: rgba(255,255,255,.75); }
  .auth-demo button { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-pill); padding: 9px 16px; cursor: pointer; transition: background .14s; }
  .auth-demo button:hover { background: rgba(255,255,255,.24); }

  .auth-card { padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; }
  .auth-card-logo { display: none; align-self: center; margin-bottom: 20px; }
  .auth-card-logo img { height: 64px; width: auto; }
  .auth-tabs { display: flex; gap: 6px; background: var(--surface-2); border-radius: var(--r-pill); padding: 5px; margin-bottom: 26px; }
  .auth-tabs button, .auth-tabs a { flex: 1; text-align: center; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--muted); background: transparent; border: 0; border-radius: var(--r-pill); padding: 10px; cursor: pointer; transition: all .15s; }
  .auth-tabs button.on, .auth-tabs a.on { background: var(--surface); color: var(--secondary); box-shadow: var(--shadow); }
  .auth-form { display: flex; flex-direction: column; gap: 15px; }
  .auth-form h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
  .auth-sub { color: var(--muted); font-size: 14.5px; margin: -8px 0 4px; }
  .input-wrap { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; background: var(--surface); transition: border .14s, box-shadow .14s; }
  .input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
  .input-wrap svg { color: var(--faint); flex: none; }
  .input-wrap:focus-within svg { color: var(--accent); }
  .input-wrap input { flex: 1; border: 0; outline: none; background: transparent; padding: 12px 0; font-size: 15px; color: var(--secondary); }
  .input-wrap input::placeholder { color: #bcbcbc; opacity: 1; }
  .pw-toggle { border: 0; background: transparent; color: var(--faint); cursor: pointer; padding: 6px; display: grid; place-items: center; }
  .pw-toggle:hover { color: var(--accent); }
  .auth-err { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--danger); background: #FBEAE6; border: 1px solid #F3CFC7; border-radius: var(--r-sm); padding: 10px 14px; }
  .auth-err svg { flex: none; }
  .auth-switch { text-align: center; font-size: 14px; color: var(--muted); margin: 6px 0 0; }
  .auth-switch a { color: var(--accent); font-weight: 700; cursor: pointer; }
  .auth-demo-link { display: none; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--accent); background: var(--accent-tint); border: 0; border-radius: var(--r-pill); padding: 11px; cursor: pointer; margin-top: 2px; }

  /* ---------- account ---------- */
  .account, .order-detail-page { padding: clamp(22px, 4vw, 44px) max(24px, calc((100% - var(--maxw)) / 2)) 50px; flex: 1; }
  .acct-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 26px; box-shadow: var(--shadow); margin-bottom: 26px; }
  .acct-id { display: flex; align-items: center; gap: 18px; }
  .acct-id h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 4px 0 4px; }
  .acct-id p { color: var(--muted); font-size: 14.5px; margin: 0; }
  .acct-stats { display: flex; gap: 12px; }
  .acct-orders-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
  .acct-orders-head h2 { font-size: clamp(22px, 2.6vw, 28px); }
  .acct-order-list { display: flex; flex-direction: column; gap: 12px; }
  .acct-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 22px; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 22px; cursor: pointer; transition: all .14s; }
  .acct-order-row:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
  .aor-top { display: flex; align-items: center; gap: 12px; }
  .aor-top b { font-family: var(--display); font-size: 18px; white-space: nowrap; }
  .aor-sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
  .aor-thumbs { display: flex; align-items: center; gap: 8px; }
  .aor-thumb { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; }
  .aor-more { font-size: 13px; font-weight: 700; color: var(--muted); }
  .aor-total { text-align: right; }
  .aor-total b { font-family: var(--display); font-size: 19px; display: block; }
  .aor-link { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 3px; }

  /* ---------- order detail ---------- */
  .back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); background: transparent; border: 0; cursor: pointer; padding: 0; margin-bottom: 18px; }
  .back-link svg { transform: rotate(180deg); }
  .back-link:hover { color: var(--accent); }
  .odp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
  .odp-head h1 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 6px 0 4px; white-space: nowrap; }
  .odp-time { color: var(--muted); font-size: 14px; margin: 0; }
  .odp-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px 20px; box-shadow: var(--shadow); }
  .odp-track::before { content: ""; position: absolute; top: 47px; left: 16%; right: 16%; height: 3px; background: var(--line); border-radius: 3px; }
  .ot-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
  .ot-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); color: var(--faint); display: grid; place-items: center; transition: all .2s; }
  .ot-step.done .ot-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 18px -8px var(--accent); }
  .ot-step.active .ot-dot { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); box-shadow: 0 0 0 4px var(--accent-tint); }
  .ot-label { font-size: 12.5px; font-weight: 600; color: var(--muted); max-width: 11ch; }
  .ot-step.done .ot-label, .ot-step.active .ot-label { color: var(--secondary); }
  .odp-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
  .od-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
  .odp-items h4 { margin-bottom: 16px; }
  .odp-line { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .odp-line:last-of-type { border-bottom: 0; }
  .odp-line-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; }
  .odp-line-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
  .odp-line-info b { font-size: 15px; }
  .odp-line-info span { font-size: 13px; color: var(--muted); }
  .odp-line-amt { font-family: var(--display); font-size: 16px; white-space: nowrap; }
  .odp-sum { margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--line); }
  .odp-side { display: flex; flex-direction: column; gap: 16px; }
  .odp-side .od-card { background: var(--surface-2); box-shadow: none; }
  .odp-side .od-kv { flex-direction: column; align-items: flex-start; gap: 3px; border-bottom: 1px dashed var(--line); padding: 10px 0; }
  .odp-side .od-kv span { width: 100%; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
  .odp-side .od-kv b { width: 100%; text-align: left; font-size: 14.5px; }
  .odp-side .od-kv b.ok { color: var(--accent); }

  /* ---------- footer ---------- */
  .site-footer { margin-top: auto; background: var(--secondary); color: #DDE4DD;
    padding: clamp(44px, 6vw, 72px) max(24px, calc((100% - var(--maxw)) / 2)) 28px; position: relative; overflow: hidden; }
  .foot-center { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .foot-logo-img { height: 124px; width: auto; cursor: pointer; background: #fff; padding: 24px; border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.55); }
  .foot-desc { color: #A9B4AB; font-size: 15px; line-height: 1.6; max-width: 56ch; margin: 0; }

  /* aligned 3-column footer grid: feature + matching credential */
  .foot-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; max-width: 920px; margin: 30px auto 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); text-align: left; }
  .foot-col-item { display: flex; flex-direction: column; gap: 16px; }
  .foot-feature { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 15.5px; color: #fff; }
  .ff-ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(111,211,179,.14); color: #6FD3B3; display: grid; place-items: center; flex: none; }
  .foot-data { display: flex; flex-direction: column; gap: 5px; padding-left: 49px; }
  .foot-data .fc-label { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #6FD3B3; }
  .foot-data p { margin: 0; font-size: 13.5px; color: #C4CEC5; line-height: 1.55; }
  .foot-data .mono-line { font-family: "Manrope", monospace; letter-spacing: .02em; }
  @media (max-width: 760px) {
    .foot-grid { grid-template-columns: 1fr; gap: 22px; max-width: 460px; }
    .foot-data { padding-left: 49px; }
  }
  .foot-pay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; }
  .foot-pay-label { font-size: 13px; color: #889389; font-weight: 600; }
  .foot-pay-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #C4CEC5; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 7px 13px; border-radius: var(--r-pill); }
  .foot-pay-pill svg { color: #6FD3B3; }
  .foot-bottom { position: relative; text-align: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #889389; display: flex; flex-direction: column; gap: 4px; }
  .foot-powered { font-size: 12px; color: #6a7470; }
  .foot-powered a { color: #8fbc8f; font-weight: 600; text-decoration: none; }
  .foot-powered a:hover { color: #fff; }

  /* ---------- responsive ---------- */
  @media (max-width: 1000px) {
    .hero, .about, .pd, .checkout, .admin-board { grid-template-columns: 1fr; }
    .pd-gallery, .summary, .order-detail { position: static; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-card.float-a { left: 8px; } .hero-card.float-b { right: 8px; }
    .checkout { grid-template-columns: 1fr; }
    .summary { order: -1; }
    .auth { grid-template-columns: 1fr; max-width: 460px; }
    .auth-aside { display: none; }
    .auth-card-logo { display: flex; }
    .auth-demo-link { display: flex; }
    .odp-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    .cat-rail-outer::after { width: 40px; }
    .cat-rail { padding-right: 40px; }
    .main-nav { display: none; }
    .header-search { width: auto; flex: 1; }
    .signin-btn span, .acct-name { display: none; }
    .signin-btn { padding: 9px; }
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-top { grid-template-columns: 1fr 1fr; }
    .form-grid, .confirm-grid, .od-cols, .pd-specs { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 12px 18px; }
    .acct-order-row { grid-template-columns: 1fr auto; gap: 14px; }
    .aor-thumbs { display: none; }
    .acct-hero { flex-direction: column; align-items: flex-start; }
    .site-header { justify-content: space-between; }
    .acct-chip { padding: 5px; }
    .acct-stats { gap: 8px; }
    .co-item { grid-template-columns: 52px 1fr auto auto; gap: 6px 10px; }
    .co-item-ic { grid-area: 1 / 1 / 3 / 2; align-self: center; }
    .co-item-info { grid-area: 1 / 2 / 2 / 5; align-self: center; }
    .co-item .qty { grid-area: 2 / 2 / 3 / 3; }
    .co-item-price { grid-area: 2 / 3 / 3 / 4; align-self: center; min-width: auto; }
    .co-item-rm { grid-area: 2 / 4 / 3 / 5; align-self: center; }
    .summary { min-width: 0; }
    .co-block { padding: 18px; }
    .odp-track { grid-template-columns: repeat(5, 1fr); padding: 20px 8px 14px; }
    .odp-track::before { top: 41px; left: 12%; right: 12%; }
    .ot-dot { width: 36px; height: 36px; }
    .ot-label { font-size: 10.5px; }
  }
  @media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .foot-top { grid-template-columns: 1fr; }
    .brand-logo { height: 44px; }
    .astat { padding: 8px 10px; }
    .astat b { font-size: 20px; }
    .acct-hero { padding: 16px; }
    .acct-order-row { padding: 14px 16px; gap: 10px; }
  }

  /* ---------- account dropdown ---------- */
  .acct-dropdown { position: relative; }
  .acct-dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 188px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px -8px rgba(0,0,0,.14); padding: 6px; z-index: 200; display: flex; flex-direction: column; gap: 2px; }
  .acct-dropdown-menu[hidden] { display: none; }
  .acct-dropdown-menu a, .acct-dropdown-menu button { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--secondary); text-decoration: none; background: transparent; border: 0; padding: 9px 12px; border-radius: calc(var(--r-sm) - 2px); cursor: pointer; width: 100%; text-align: left; transition: background .12s; }
  .acct-dropdown-menu a:hover, .acct-dropdown-menu button:hover { background: var(--surface-2); }
  .acct-dropdown-menu svg { color: var(--muted); flex: none; }
  .acct-dropdown-sep { height: 1px; background: var(--line); margin: 4px 0; }

  /* ---------- profile page ---------- */
  .profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
  .profile-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
  .profile-card h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin: 0; }
  .field-err { font-size: 12.5px; font-weight: 600; color: var(--danger); margin-top: 2px; }
  .acct-links { display: flex; gap: 10px; flex-wrap: wrap; }

  @media (max-width: 860px) {
    .profile-grid { grid-template-columns: 1fr; }
  }
