/* ============================================================
   Store screens beyond the home page. Same Noir tokens as store.css.
   ============================================================ */
.view { min-height: 60vh; }
.page { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 0; }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 56px); line-height: 1.02; letter-spacing: -.01em; }
.page-title:focus { outline: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); }
.card-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: var(--bg); }
.h-sec { font-size: 18px; font-weight: 650; margin-bottom: 14px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Status pills (store + admin) */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status[data-s="awaiting"], .status[data-s="reserved"] { background: var(--warn-bg); color: var(--warn); }
.status[data-s="confirmed"] { background: #E6EEF9; color: #1F4E8C; }
.status[data-s="shipped"] { background: #EEE9F8; color: #5B3E96; }
.status[data-s="delivered"], .status[data-s="available"] { background: #E3F1E8; color: var(--ok); }
.status[data-s="cancelled"], .status[data-s="sold"] { background: var(--surface); color: var(--muted); }
.status[data-s="draft"] { background: var(--surface); color: var(--ink); }

/* Form controls */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field-label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #CFCFCC; border-radius: 12px; background: var(--bg);
  font: 400 15px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='%23121212' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: #9A9A96; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 18, 18, .12); }
.field.has-error .input, .field.has-error .select { border-color: var(--danger); }
.field-error { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--danger); }
.field-error .ic { width: 16px; height: 16px; }
.field.has-error .field-error { display: flex; }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: grid; place-items: center; padding: 0 12px; border: 1px solid #CFCFCC; border-right: 0; border-radius: 12px 0 0 12px; background: var(--surface); font-size: 15px; color: var(--muted); }
.prefix .input { border-radius: 0 12px 12px 0; }
.pw { position: relative; }
.pw .input { padding-right: 52px; }
.pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); border-radius: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; cursor: pointer; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #CFCFCC; transition: background-color .25s; flex: none; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--ink); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; }
.banner .ic { flex: none; margin-top: 1px; }
.banner-warn { background: var(--warn-bg); color: #5E3D00; }
.banner-danger { background: var(--danger-bg); color: #7A1F1F; }
.banner-ok { background: #E3F1E8; color: #0B4F2B; }
.banner-info { background: var(--surface); color: var(--ink); }
.shake { animation: shake .45s; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

/* ---------- Shop ---------- */
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.shop-bar { position: sticky; top: 74px; z-index: 20; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 22px; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.btn-filter { display: none; }
.applied { display: flex; flex-wrap: wrap; gap: 8px; margin-right: auto; }
.applied button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 500; }
.applied button .ic { width: 16px; height: 16px; }
.applied .clear { background: none; text-decoration: underline; text-underline-offset: 3px; padding: 0 6px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort .select { min-height: 40px; width: auto; padding-top: 8px; padding-bottom: 8px; font-size: 14px; border-radius: 999px; }
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; padding-right: 6px; }
.filters-head, .filters-foot { display: none; }
.fgroup { border-bottom: 1px solid var(--line); padding: 4px 0 16px; }
.fgroup > button { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; font-size: 15px; font-weight: 600; }
.fgroup > button .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.fgroup > button[aria-expanded="false"] .ic { transform: rotate(-90deg); }
.fgroup-body { overflow: hidden; }
.flist { display: flex; flex-direction: column; gap: 2px; }
.flist .check { justify-content: flex-start; min-height: 36px; align-items: center; }
.flist .check em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip { min-width: 48px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.size-chip:hover { border-color: var(--ink); }
.size-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.price-range .input { min-height: 44px; }
.shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.more { margin: 40px auto 0; max-width: 320px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.more-bar { width: 100%; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.more-bar i { display: block; height: 100%; width: 7%; background: var(--ink); }
.no-results { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); }
.no-results h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ink); margin-bottom: 6px; }

/* ---------- Product ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; position: sticky; top: 90px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { position: relative; width: 84px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s; }
.thumb[aria-current="true"]::after { box-shadow: inset 0 0 0 2px var(--ink); }
.pdp-main { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.pdp-main .badges { left: 14px; top: 14px; }
.pdp-zoomhint { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 600; pointer-events: none; }
.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-brand { font-size: 15px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; align-self: flex-start; }
.pdp-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -.01em; margin-top: -8px; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-variant-numeric: tabular-nums; }
.pdp-price strong { font-size: 28px; font-weight: 650; }
.pdp-price s { font-size: 16px; color: var(--muted); }
.pdp-price .card-off { font-size: 15px; }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 500; }
.pdp-tags .ic { width: 16px; height: 16px; }
.pdp-size { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.pdp-size b { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 10px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 15px; }
.pdp-size p { font-size: 14px; color: var(--muted); }
.pdp-size p strong { color: var(--ink); font-weight: 600; }
.pdp-cta { display: flex; gap: 10px; }
.pdp-cta .btn-solid { flex: 1; min-height: 56px; font-size: 16px; }
.pdp-cta .round { width: 56px; height: 56px; }
.pdp-cta .round[aria-pressed="true"] { --heart-fill: var(--ink); }
.pdp-ask { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ok); text-decoration: underline; text-underline-offset: 4px; }
.pdp-pin { display: flex; gap: 8px; }
.pdp-pin .input { min-height: 46px; }
.pdp-pin .btn { min-height: 46px; padding: 0 18px; }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item > :is(h2, h3) > button { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 56px; font-size: 16px; font-weight: 600; text-align: left; }
.acc-item > :is(h2, h3) > button .ic { transition: transform .35s var(--ease); }
.acc-item > :is(h2, h3) > button[aria-expanded="true"] .ic { transform: rotate(180deg); }
.acc-body { overflow: hidden; }
.acc-inner { padding: 0 0 18px; font-size: 15px; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }
.acc-inner strong { color: var(--ink); }
.measure-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.measure-table th, .measure-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.measure-table th { font-weight: 400; color: var(--muted); }
.measure-table td { text-align: right; font-weight: 600; color: var(--ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail > li { scroll-snap-align: start; }
.sticky-buy { display: none; }

/* ---------- Checkout ---------- */
.steps { display: flex; align-items: center; gap: 10px; margin: 18px 0 26px; font-size: 14px; font-weight: 500; color: var(--muted); flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li + li::before { content: ""; width: 32px; height: 1px; background: var(--line); margin-right: 2px; }
.steps i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); font-style: normal; font-size: 13px; }
.steps .done i { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.steps .done i .ic { width: 15px; height: 15px; }
.steps .now { color: var(--ink); }
.steps .now i { border-color: var(--ink); }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 20px; }
.addr-opts { display: grid; gap: 12px; }
.addr-opt { position: relative; display: flex; gap: 14px; padding: 18px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.addr-opt:hover { border-color: #9A9A96; }
.addr-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.addr-opt:has(input:checked) { border-color: var(--ink); background: #FAFAF9; }
.addr-opt b { display: block; font-size: 15px; }
.addr-opt span { display: block; font-size: 14px; color: var(--muted); }
.addr-form { overflow: hidden; }
.addr-form-inner { padding-top: 6px; display: flex; flex-direction: column; gap: 16px; }
.pay-steps { counter-reset: p; display: grid; gap: 12px; margin-top: 4px; }
.pay-steps li { display: flex; gap: 12px; font-size: 15px; }
.pay-steps li::before { counter-increment: p; content: counter(p); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); font-size: 13px; font-weight: 650; }
.co-summary { position: sticky; top: 96px; }
.co-items li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; }
.co-items img { width: 60px; height: 78px; object-fit: cover; border-radius: 10px; }
.co-items b { display: block; font-size: 14px; }
.co-items span { display: block; font-size: 13px; color: var(--muted); }
.co-items strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.co-summary .bag-sum { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.co-hold { margin: 16px 0; display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); }
.co-hold .ic { width: 18px; height: 18px; flex: none; color: var(--ink); }
.btn-loading { pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-legal { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Order placed ---------- */
.placed-page { max-width: 760px; margin: 0 auto; padding: 28px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.placed-page .tick { width: 92px; height: 92px; }
.placed-page > p { max-width: 50ch; color: var(--muted); font-size: 17px; }
.wa-card { width: 100%; max-width: 460px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); text-align: left; }
.wa-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #0F3D2B; color: #fff; font-size: 14px; }
.wa-top b { display: block; font-size: 15px; }
.wa-top span { font-size: 12px; opacity: .8; }
.wa-av { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0F3D2B; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.wa-body { padding: 18px 16px; background: #EFE7DC; display: flex; justify-content: flex-end; }
.wa-bubble { max-width: 88%; padding: 10px 12px 18px; border-radius: 12px 12px 2px 12px; background: #D9FDD3; color: #111B21; font-size: 14px; line-height: 1.45; position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.wa-bubble small { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: #667781; }
.next-steps { width: 100%; max-width: 460px; text-align: left; margin-top: 8px; }
.tl { position: relative; display: grid; gap: 18px; padding-left: 4px; }
.tl li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; }
.tl li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: -18px; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li.done::before { background: var(--ink); }
.tl i { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); font-style: normal; }
.tl i .ic { width: 15px; height: 15px; }
.tl .done i { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tl .now i { border-color: var(--ink); }
.tl .now i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.tl b { display: block; font-size: 15px; }
.tl span { display: block; font-size: 14px; color: var(--muted); }

/* ---------- Auth ---------- */
.auth { max-width: 1040px; margin: 10px auto 0; padding: 0 var(--gutter); }
.auth-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 600px; }
.auth-art { position: relative; background: var(--surface); }
.auth-art img { width: 100%; height: 100%; object-fit: cover; }
.auth-art p { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; font-family: var(--serif); font-size: 34px; line-height: 1.05; text-shadow: 0 2px 20px rgba(0, 0, 0, .45); }
.auth-form { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.auth-tabs { position: relative; display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.auth-tabs a { padding: 10px 0 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.auth-tabs a[aria-current="page"] { color: var(--ink); }
.auth-tabs .tab-line { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--ink); }
.auth-form h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.auth-row a { text-decoration: underline; text-underline-offset: 3px; }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 4px; }
.strength i { height: 4px; border-radius: 2px; background: var(--line); transform-origin: left; }
.strength i.on { background: var(--ink); }

/* ---------- Account ---------- */
.acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 8px; }
.acct-side { position: sticky; top: 96px; }
.acct-me { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); font-family: var(--serif); font-size: 22px; }
.acct-me b { display: block; }
.acct-me span { font-size: 13px; color: var(--muted); }
.acct-nav { display: flex; flex-direction: column; gap: 2px; }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 500; text-align: left; }
.acct-nav a:hover, .acct-nav button:hover { background: var(--surface); }
.acct-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.orders { display: grid; gap: 14px; }
.order-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.order-card:hover { border-color: #9A9A96; }
.order-top { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.order-top b { font-size: 16px; }
.order-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.order-thumbs img { width: 54px; height: 70px; object-fit: cover; border-radius: 8px; }
.order-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.order-side strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.order-nudge { grid-column: 1 / -1; }
.od-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.track-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: 14px; }
.track-row code { font: 600 14px var(--sans); letter-spacing: .02em; }

/* Dialog */
.dlg {
  position: absolute; inset: 0; margin: auto; height: fit-content; max-height: calc(100vh - 32px); overflow-y: auto; width: min(480px, calc(100vw - 32px));
  background: var(--bg); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; gap: 14px;
}
.dlg h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.dlg p { color: var(--muted); font-size: 15px; }
.dlg .inline-actions { justify-content: flex-end; margin-top: 6px; }
.copy-field { display: flex; gap: 8px; }
.copy-field .input { font-size: 13.5px; }

/* Filters sheet on phones */
.sheet-scrim { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .btn-filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 600; }
  .btn-filter .ic { width: 18px; height: 18px; }
  .filters {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 420; max-height: 86vh; padding: 0 20px; background: var(--bg);
    border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .25); transform: translateY(105%); visibility: hidden;
  }
  .filters.is-open { visibility: visible; }
  .filters-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--bg); padding: 16px 0 8px; z-index: 1; }
  .filters-head h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
  .filters-foot { display: flex; gap: 10px; position: sticky; bottom: 0; background: var(--bg); padding: 12px 0 calc(16px + env(safe-area-inset-bottom)); }
  .filters-foot .btn { flex: 1; }
  .sheet-scrim.is-open { display: block; position: fixed; inset: 0; z-index: 410; background: rgba(12, 12, 12, .5); }
  .shop-bar { top: 112px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { order: 2; flex-direction: row; overflow-x: auto; }
  .thumb { width: 72px; flex: none; }
  .co-layout { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .acct { grid-template-columns: 1fr; gap: 20px; }
  .acct-side { position: static; }
  .acct-nav { flex-direction: row; overflow-x: auto; gap: 6px; }
  .acct-nav a, .acct-nav button { flex: none; border: 1px solid var(--line); border-radius: 999px; min-height: 42px; }
  .od-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shop-grid { gap: 24px 12px; }
  .shop-bar { top: 104px; }
  .sort span { display: none; }
  .auth-card { grid-template-columns: 1fr; min-height: 0; }
  .auth-art { height: 180px; }
  .auth-art p { font-size: 26px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .grid3.keep { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sticky-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 66px; z-index: 150; align-items: center; gap: 12px;
    padding: 10px 16px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
  }
  .sticky-buy div { flex: 1; }
  .sticky-buy b { display: block; font-size: 17px; }
  .sticky-buy span { font-size: 12.5px; color: var(--muted); }
  .sticky-buy .btn { min-height: 48px; }
  .order-card { grid-template-columns: 1fr; }
  .order-side { flex-direction: row; align-items: center; }
}

/* Readable caption over the login photo */
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 55%); pointer-events: none; }
.auth-art p { z-index: 1; }
