main { min-height: 60vh; padding-bottom: clamp(64px, 9vw, 120px); }

/* ---------- collection (PLP) ---------- */
.plp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.plp-head h1 { font-size: clamp(56px, 8vw, 120px); }
.plp-head p { margin-top: 10px; max-width: 520px; }
.plp-subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.plp-bar { position: sticky; top: 68px; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px 0; background: rgba(244, 241, 234, .9); backdrop-filter: blur(12px); }
.filter-open { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.chip-clear { font-size: 12px; font-weight: 700; text-decoration: underline; padding: 0 6px; }
.plp-sort { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: 13px; white-space: nowrap; }
.select-sm { height: 38px; width: auto; border-radius: 999px; font-size: 13px; font-weight: 600; padding-left: 14px; }
.plp { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-top: 10px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filters { position: sticky; top: 140px; align-self: start; max-height: calc(100vh - 160px); overflow: auto; scrollbar-width: thin; }
.filters-head, .filters-foot { display: none; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.fgroup[open] summary::after { transform: rotate(-135deg); }
.fbody { padding-bottom: 18px; display: grid; gap: 2px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.fcheck input { position: absolute; opacity: 0; pointer-events: none; }
.fcheck .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--stone); display: grid; place-items: center; transition: all .15s; flex: none; }
.fcheck input:checked + .box { background: var(--ink); border-color: var(--ink); }
.fcheck input:checked + .box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--volt); border-bottom: 2px solid var(--volt); transform: rotate(-45deg) translate(1px, -1px); }
.fcheck input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 2px; }
.fcheck em, .flink em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.fcheck.zero { opacity: .4; }
.flink { display: flex; padding: 6px 0; font-size: 14px; }
.flink:hover { text-decoration: underline; }
.fnote { font-size: 12px; color: var(--muted); margin-top: 8px; display: block; }
.fsizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fsize { height: 40px; border-radius: 10px; border: 1px solid var(--stone); background: var(--paper); font-size: 13px; font-weight: 700; transition: all .15s; }
.fsize:hover { border-color: var(--ink); }
.fsize.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fsize.zero { opacity: .35; }
.fcolors { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.fcolor { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 8px; font-size: 13px; text-align: left; }
.fcolor i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 17, 13, .2); flex: none; }
.fcolor.on { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 700; }
.ftoggle { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.ftoggle input { position: absolute; opacity: 0; pointer-events: none; }
.ftoggle .sw { width: 40px; height: 24px; border-radius: 999px; background: var(--stone); position: relative; transition: background .2s; }
.ftoggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.ftoggle input:checked + .sw { background: var(--ink); }
.ftoggle input:checked + .sw::after { transform: translateX(16px); background: var(--volt); }
.plp-empty { text-align: center; padding: 80px 16px; }
.plp-empty h3 { font-size: 48px; margin-bottom: 10px; }
.plp-empty p { margin-bottom: 24px; }

/* ---------- product (PDP) ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); padding-top: 18px; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-self: start; position: sticky; top: 92px; }
.thumbs { display: grid; gap: 8px; align-content: start; }
.thumbs button { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--sand); opacity: .55; transition: opacity .2s, box-shadow .2s; }
.thumbs button.on { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); cursor: zoom-in; }
.main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.main-img.zoom img { transform: scale(1.8); }
.main-img .pcard-badge { top: 16px; left: 16px; }
.buy { padding-top: 6px; }
.buy-brand { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.buy-brand a:hover { text-decoration: underline; }
.buy h1 { font-size: clamp(48px, 5.4vw, 84px); margin: 10px 0 8px; }
.buy-cw { color: var(--muted); font-size: 15px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 4px; }
.buy-price strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.buy-price s { color: var(--muted); font-size: 16px; }
.buy-price .off { height: 24px; padding: 0 8px; border-radius: 6px; background: var(--volt); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; }
.tax-note { font-size: 12px; color: var(--muted); }
.size-head { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 0 12px; }
.size-head b { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.size-head a { font-size: 13px; text-decoration: underline; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.size { position: relative; height: 52px; border-radius: 12px; border: 1px solid var(--stone); background: var(--paper); font-size: 14px; font-weight: 700; transition: all .15s; }
.size:hover:not(:disabled) { border-color: var(--ink); }
.size.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size:disabled { color: var(--muted); background: transparent; cursor: not-allowed; background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--stone) 50%, transparent calc(50% + .5px)); }
.size .low { position: absolute; top: -7px; right: -4px; height: 16px; padding: 0 5px; border-radius: 4px; background: var(--volt); color: var(--ink); font-size: 9px; font-weight: 800; display: inline-flex; align-items: center; letter-spacing: .04em; }
.size-msg { min-height: 20px; font-size: 13px; margin-top: 10px; color: var(--danger); }
.buy-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 8px; }
.buy-actions .btn { height: 56px; }
.wa-btn { width: 56px; padding: 0; }
.wa-btn svg { width: 22px; height: 22px; }
.perks { display: grid; gap: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.perks div { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.perks svg { width: 20px; height: 20px; flex: none; }
.perks span { color: var(--muted); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 18px 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; font-weight: 400; }
.acc[open] summary::after { content: "–"; }
.acc .acc-b { padding-bottom: 20px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.acc .acc-b ul { padding-left: 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: 10px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 250, 246, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.sticky-buy strong { font-size: 16px; }
.sticky-buy .btn { margin-left: auto; height: 46px; }

/* ---------- checkout ---------- */
.co-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.co-head h1 { font-size: clamp(44px, 6vw, 80px); }
.co-steps { display: flex; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.co-steps b { color: var(--ink); }
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.co-section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.co-section h2 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; margin-bottom: 18px; }
.co-section h2 i { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--volt); font-family: var(--body); font-style: normal; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--stone); background: var(--paper); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.option strong { display: block; font-size: 15px; }
.option span { font-size: 13px; color: var(--muted); }
.option em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 14px; white-space: nowrap; }
.option.disabled { opacity: .5; pointer-events: none; }
.terms { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 6px 0 20px; }
.terms input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.terms a { text-decoration: underline; }
.form-err { min-height: 20px; color: var(--danger); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.summary { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.summary h3 { font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; margin-bottom: 8px; }
.summary .line-item { grid-template-columns: 64px 1fr auto; }
.summary .line-item img { width: 64px; height: 78px; }
.summary .totals { margin: 18px 0 0; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ---------- order confirmation ---------- */
.order-hero { text-align: center; padding: 56px 0 40px; }
.order-hero .tick { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--volt); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(214, 251, 81, .25); }
.order-hero .tick svg { width: 34px; height: 34px; }
.order-hero h1 { font-size: clamp(52px, 7vw, 104px); }
.order-hero p { color: var(--muted); max-width: 520px; margin: 14px auto 0; font-size: 16px; }
.order-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel h3 { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.tracker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 8px; }
.tracker div { display: grid; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tracker div::before { content: ""; height: 6px; border-radius: 3px; background: var(--sand); }
.tracker div.done { color: var(--ink); }
.tracker div.done::before { background: var(--ink); }
.tracker div.now::before { background: var(--volt); box-shadow: inset 0 0 0 1px rgba(20, 17, 13, .2); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14px; }
.kv dt { color: var(--muted); }

/* ---------- content / legal pages ---------- */
.doc-head { padding: 34px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.doc-head h1 { font-size: clamp(52px, 7.4vw, 112px); margin-top: 12px; }
.doc-head p { margin-top: 12px; color: var(--muted); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(28px, 6vw, 96px); }
.doc-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; }
.doc-nav h4 { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.doc-nav h4:first-child { margin-top: 0; }
.doc-nav a { font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.doc-nav a:hover { background: var(--paper); }
.doc-nav a[aria-current] { background: var(--ink); color: var(--bg); font-weight: 600; }
.prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-family: var(--body); font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 40px 0 12px; text-transform: none; line-height: 1.3; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--body); font-size: 17px; font-weight: 700; color: var(--ink); margin: 26px 0 8px; text-transform: none; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: var(--sand); }
.callout { padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; margin: 18px 0; }
.callout.volt { background: var(--volt); border-color: transparent; color: var(--ink); }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 10px 0 24px; }
.contact-cards a, .contact-cards div { padding: 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); text-decoration: none !important; transition: border-color .2s; }
.contact-cards a:hover { border-color: var(--ink); }
.contact-cards strong { display: block; font-size: 15px; color: var(--ink); }
.contact-cards span { font-size: 14px; color: var(--muted); }
.updated { font-size: 13px; color: var(--muted); }
.notfound { text-align: center; padding: 100px 0 40px; }
.notfound h1 { font-size: clamp(120px, 22vw, 300px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .plp { grid-template-columns: 1fr; }
  .filter-open { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 75; max-height: none; background: var(--bg); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .45s var(--ease); top: 0; }
  .filters.open { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
  .filters-head h3 { font-size: 30px; }
  .filters-body { flex: 1; overflow: auto; padding: 0 var(--gutter); }
  .filters-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .active-chips { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .sticky-buy { display: flex; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .order-wrap { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .doc-nav h4 { display: none; }
  .doc-nav a { background: var(--paper); border: 1px solid var(--line); font-size: 13px; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plp-sort #resultCount { display: none; }
  .fields { grid-template-columns: 1fr; }
  .co-steps { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .tracker div { font-size: 10px; }
}

/* ===== Apple-style overrides (calm type, sentence case, white surfaces) ===== */
.plp-head { border-bottom: 0; padding: 24px 0 18px; }
.plp-head h1 { font-size: clamp(40px, 5.2vw, 64px); }
.plp-bar { top: 74px; background: rgba(255, 255, 255, .85); border-radius: 999px; }
.fgroup summary, .acc summary { font-size: 15px; font-weight: 600; letter-spacing: -.015em; text-transform: none; }
.fcheck .box { border-radius: 6px; }
.fcheck input:checked + .box::after { border-color: #fff; }
.fsize { border: 0; background: var(--paper); font-weight: 500; }
.fsize:hover { background: #e8e8ed; }
.fcolor.on { box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 500; }
.ftoggle input:checked + .sw { background: #34c759; }
.ftoggle input:checked + .sw::after { background: #fff; }
.thumbs button, .main-img { background: var(--paper); }
.main-img { border-radius: 28px; }
.buy-brand { font-size: 14px; font-weight: 500; letter-spacing: -.01em; text-transform: none; color: var(--bronze); }
.buy h1 { font-size: clamp(36px, 4vw, 52px); margin: 6px 0 8px; }
.buy-price strong { font-size: 24px; font-weight: 600; }
.buy-price .off { background: var(--beige); color: var(--bronze); font-weight: 600; border-radius: 999px; padding: 0 10px; }
.size-head b { font-size: 15px; font-weight: 600; letter-spacing: -.015em; text-transform: none; }
.size-head a { color: var(--blue); text-decoration: none; }
.size { border: 1px solid var(--stone); background: #fff; font-weight: 500; }
.size.on { background: var(--ink); color: #fff; }
.size .low { background: var(--beige); color: var(--bronze); border-radius: 999px; font-weight: 600; }
.buy-actions .btn { height: 52px; font-size: 16px; }
.perks { border-top: 0; background: var(--paper); border-radius: 18px; padding: 4px 18px; }
.perks div:last-child { border-bottom: 0; }
.co-head { border-bottom: 0; padding: 24px 0 10px; margin-bottom: 20px; }
.co-head h1 { font-size: clamp(36px, 4.6vw, 56px); }
.co-steps { text-transform: none; letter-spacing: -.01em; font-weight: 500; font-size: 14px; }
.co-section h2 { font-family: var(--body); font-weight: 600; font-size: 24px; letter-spacing: -.03em; text-transform: none; }
.co-section h2 i { background: var(--paper); color: var(--ink); font-weight: 600; }
.option { background: #fff; border: 1px solid var(--stone); }
.option:has(input:checked) { border-color: #1d1d1f; box-shadow: inset 0 0 0 1px #1d1d1f; }
.option input, .terms input { accent-color: #1d1d1f; }
.summary { background: var(--paper); border: 0; }
.summary h3 { font-family: var(--body); font-weight: 600; font-size: 22px; letter-spacing: -.03em; text-transform: none; }
.order-hero .tick { background: #34c759; color: #fff; box-shadow: 0 0 0 10px rgba(52, 199, 89, .15); }
.order-hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.panel { border: 0; }
.panel h3 { font-size: 15px; font-weight: 600; letter-spacing: -.015em; text-transform: none; color: var(--ink); }
.tracker div.done::before { background: #1d1d1f; }
.tracker div.now::before { background: #1d1d1f; box-shadow: 0 0 0 3px rgba(0, 0, 0, .12); }
.tracker div::before { background: #e8e8ed; }
.doc-head { border-bottom: 0; }
.doc-head h1 { font-size: clamp(40px, 5.6vw, 72px); }
.doc-nav h4 { font-size: 12px; font-weight: 600; letter-spacing: -.005em; text-transform: none; color: var(--muted); }
.doc-nav a[aria-current] { background: var(--paper); color: var(--ink); font-weight: 600; }
.prose { color: var(--ink-2); }
.prose th { text-transform: none; letter-spacing: -.005em; font-size: 13px; background: #ececf0; }
.callout.volt { background: var(--beige); color: var(--ink); }
.contact-cards a, .contact-cards div { border: 0; }
.notfound h1 { font-size: clamp(96px, 16vw, 200px); }
.plp-empty h3 { font-size: 32px; }
.filters-head h3 { font-size: 24px; }
.chip-clear { color: var(--blue); text-decoration: none; font-weight: 400; }

/* ===== phone polish ===== */
.co-mini { display: none; }
@media (max-width: 960px) {
  .summary { order: 2; }
  .co-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 18px; border-radius: 16px; background: var(--paper); font-size: 14px; }
  .co-mini b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
  .co-mini a { color: var(--blue); }
}
@media (max-width: 860px) {
  .doc-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .doc-nav::-webkit-scrollbar { display: none; }
  .doc-nav a { flex: none; border: 0; border-radius: 999px; padding: 8px 14px; }
  .doc-head { padding: 20px 0 18px; margin-bottom: 18px; }
  .doc { gap: 22px; }
  .plp-subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .plp-subnav::-webkit-scrollbar { display: none; }
  .plp-subnav .chip { flex: none; }
}
@media (max-width: 560px) {
  body.has-sticky { padding-bottom: 76px; }
  .sizes { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .size { height: 46px; font-size: 14px; }
  .buy h1 { font-size: 34px; }
  .pdp { gap: 20px; }
  .main-img { border-radius: 22px; }
  .perks { padding: 2px 14px; }
  .perks div { font-size: 13px; padding: 12px 0; }
  .co-section { padding-bottom: 24px; margin-bottom: 24px; }
  .option { padding: 14px; }
  .summary { padding: 18px; }
  .plp-head { padding: 14px 0 10px; }
  .plp-head h1 { font-size: 36px; }
  .order-hero { padding: 36px 0 26px; }
  .prose { font-size: 15px; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding: 8px; }
}

/* ===== customer account (small, quiet type) ===== */
.auth { width: min(380px, 100%); margin: 0 auto; padding: 48px 0 24px; text-align: center; }
.auth-logo { margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.auth-title { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.auth-sub { font-size: 14px; color: var(--muted); margin: 6px 0 24px; }
.seg-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 11px; background: var(--paper); margin-bottom: 22px; }
.seg-tabs button { height: 32px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: background .2s, box-shadow .2s; }
.seg-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 0 0 .5px rgba(0, 0, 0, .04); }
.auth-form { display: grid; gap: 12px; text-align: left; }
.mini-field { display: grid; gap: 5px; }
.mini-field span { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.mini-field small { font-size: 11px; color: var(--muted-2); }
.mini-field input { height: 42px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--stone); background: #fff; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.mini-field input:focus { border-color: #1d1d1f; box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.mini-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.auth-form .btn-block { height: 42px; font-size: 14px; margin-top: 4px; }
.auth-err { font-size: 12px; color: var(--danger); }
.auth-err.ok { color: var(--ok); }
.auth-note { font-size: 12px; color: var(--muted); text-align: center; }
.auth-note a, .auth-guest a { color: var(--blue); }
.auth-guest { font-size: 13px; color: var(--muted); margin-top: 26px; }
.acct-head { display: flex; align-items: center; gap: 14px; padding: 36px 0 28px; }
.acct-head .btn { margin-left: auto; }
.acct-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 600; flex: none; }
.acct-title { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.acct-sub { font-size: 13px; color: var(--muted); }
.acct-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.acct-card { padding: 22px; border-radius: 20px; background: var(--paper); }
.acct-card h2 { font-size: 15px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 14px; }
.acct-orders { grid-row: span 3; }
.acct-list { list-style: none; display: grid; gap: 8px; }
.acct-list a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; transition: box-shadow .2s; }
.acct-list a:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.ao-thumbs { display: flex; flex: none; }
.ao-thumbs img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.ao-thumbs img + img { margin-left: -12px; }
.ao-main { min-width: 0; flex: 1; }
.ao-main strong { display: block; font-size: 14px; font-weight: 600; }
.ao-main span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ao-end { text-align: right; display: grid; gap: 3px; justify-items: end; }
.ao-end b { font-size: 14px; font-weight: 500; }
.ao-status { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e8f0fe; color: #0b57d0; }
.ao-status.s-delivered { background: #e6f4ea; color: #137333; }
.ao-status.s-cancelled, .ao-status.s-returned { background: #f1f1f4; color: var(--muted); }
.acct-empty { padding: 26px; text-align: center; border-radius: 14px; background: #fff; font-size: 14px; color: var(--muted); display: grid; gap: 12px; justify-items: center; }
/* small account link in the nav pill */
.acct-link { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: background .2s; }
.acct-link:hover { background: rgba(0, 0, 0, .05); }
.acct-link.in { width: 30px; height: 30px; padding: 0; justify-content: center; margin: 0 4px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; }
/* checkout account helpers */
.co-account { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--muted); margin: -6px 0 16px; }
.co-account a, .co-account button { color: var(--blue); font-size: 13px; }
.co-create { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: 13px; }
.co-create label.chk { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: var(--ink-2); }
.co-create input[type=checkbox] { width: 17px; height: 17px; accent-color: #1d1d1f; margin-top: 1px; flex: none; }
.co-create .mini-field { margin-top: 12px; }
@media (max-width: 860px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-orders { grid-row: auto; }
  .acct-head { padding: 22px 0 18px; flex-wrap: wrap; }
}
