.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--sage); color: var(--surface); font: 700 .7rem/19px var(--sans);
  text-align: center; box-shadow: 0 0 0 2px var(--paper); }

.shop-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(28px, 5vw, 72px); padding: clamp(34px, 6vw, 76px) 0 clamp(18px, 3vw, 34px); }
.shop-hero h1 { margin: .12em 0 .32em; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.5rem); text-wrap: balance; }
.shop-hero .lede { max-width: 34rem; text-wrap: pretty; }
.shop-trust { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; color: var(--ink-2);
  font-size: .95rem; }
.shop-trust::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage); }
.shop-frame { background: var(--paper-2); }
.shop-frame img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }

.shop-state { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 24px 0 0; }
.shop-state label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  margin-top: -6px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg); pointer-events: none; }
.select-wrap select { appearance: none; min-width: 14rem; padding: 12px 44px 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
  font: 600 1rem var(--sans); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s; }
.select-wrap select:hover { border-color: var(--sage); }
.select-wrap select:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--sage); }

.shop-mine { margin: 18px 0 0; }
.shop-states { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 10px; }
.shop-state-link { display: block; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-weight: 600;
  text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.shop-state-link:hover { border-color: var(--sage); color: var(--sage-ink); box-shadow: var(--shadow-sm);
  transform: translateY(-1px); }
.shop-state-link:focus-visible { outline: none; box-shadow: var(--ring); }

.shop-shelf { padding-top: clamp(26px, 4vw, 46px); }
.shop-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(18px, 2.6vw, 26px); }
.shop-tab { appearance: none; cursor: pointer; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font: 600 .92rem var(--sans); transition: border-color .15s, background .15s, color .15s; }
.shop-tab:hover { border-color: var(--sage); color: var(--sage-ink); }
.shop-tab[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--surface); }
.shop-tab:focus-visible { outline: none; box-shadow: var(--ring); }

.shop-grid { grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.shop-card { position: relative; display: flex; flex-direction: column; border-top: 3px solid var(--thread); }
.shop-card[hidden] { display: none; }
.shop-accent-birds { --thread: var(--c-birds); }
.shop-accent-garden { --thread: var(--c-garden); }
.shop-accent-sky { --thread: var(--c-sky); }
.shop-accent-blooms { --thread: var(--c-blooms); }
.shop-card-media { aspect-ratio: 1 / 1; background: var(--paper-2); border-bottom: 1px solid var(--line-2);
  overflow: hidden; }
.shop-card-media img { display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.shop-card:hover .shop-card-media img { transform: scale(1.035); }
.shop-card .card-body { flex: 1; gap: 0; }
.shop-card-kicker { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--thread); }
.shop-card h3 { margin: 0; font-size: 1.14rem; line-height: 1.25; text-wrap: balance; }
.shop-card-line { margin: 7px 0 0; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.shop-card-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin: auto 0 0; padding-top: 14px; font-weight: 700; color: var(--ink); }
.shop-card-opts { font-weight: 500; font-size: .86rem; color: var(--ink-3); }
.shop-grid-4 { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }

.shop-pdp { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; }
.shop-pdp-section { padding-top: clamp(26px, 4vw, 46px); }
.shop-main { padding: 0; overflow: hidden; background: var(--surface); }
.shop-main img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
.shop-gallery, .shop-pdp .pdp-hero-copy { min-width: 0; }
.shop-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.shop-thumb { appearance: none; cursor: pointer; padding: 0; width: 60px; aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2);
  transition: border-color .15s, box-shadow .15s; }
.shop-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shop-thumb:hover { border-color: var(--sage); }
.shop-thumb[aria-pressed="true"] { border-color: var(--sage); box-shadow: 0 0 0 2px var(--sage-bg); }
.shop-thumb:focus-visible { outline: none; box-shadow: var(--ring); }

.shop-buy .pdp-price { margin: 0 0 4px; }
.shop-buy .shop-state { margin: 16px 0 0; display: grid; gap: 7px; }
.shop-buy .select-wrap select { width: 100%; }
.shop-opt { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
.shop-opt legend, .shop-buy .shop-state label { padding: 0; margin-bottom: 7px; font-size: .78rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: .93rem;
  transition: border-color .15s, background .15s, color .15s; }
.pill input:hover + span { border-color: var(--sage); }
.pill input:checked + span { border-color: var(--sage); background: var(--sage-bg); color: var(--sage-ink); }
.pill input:focus-visible + span { box-shadow: var(--ring); }
.pill input:disabled + span { opacity: .45; text-decoration: line-through; }
.shop-add { width: 100%; margin-top: 20px; padding: 15px 20px; font-size: 1.03rem; }
.shop-buy .pdp-micro { margin: 12px 0 0; }

.shop-peek li { color: var(--ink-2); }
.sp-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber-ink); margin-left: 4px; }
.shop-about { max-width: var(--measure); margin-top: 1.2em; }
.shop-about p { margin: 0; color: var(--ink-2); line-height: 1.65; }

.cart-scrim { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--ink) 38%, transparent);
  opacity: 0; transition: opacity .2s; }
.cart-scrim.is-open { opacity: 1; }
:root[data-theme="dark"] .cart-scrim { background: color-mix(in srgb, var(--paper) 72%, transparent); }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; display: flex; flex-direction: column;
  width: min(27rem, 100vw); background: var(--surface); box-shadow: var(--shadow-lift);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.cart-drawer.is-open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.cart-head h2 { margin: 0; font-size: 1.4rem; }
.cart-n { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.cart-ship { padding: 16px 22px 18px; background: var(--paper-2); border-bottom: 1px solid var(--line-2); }
.cart-ship-line { margin: 0 0 10px; color: var(--ink-2); font-size: .95rem; }
.cart-ship-line strong { color: var(--ink); }
.cart-bar { appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 999px;
  background: var(--line); overflow: hidden; }
.cart-bar::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
.cart-bar::-webkit-progress-value { background: var(--sage); border-radius: 999px; }
.cart-bar::-moz-progress-bar { background: var(--sage); border-radius: 999px; }
.cart-code, .shop-code { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--sage-bg); color: var(--sage-ink); font-size: .92rem; line-height: 1.45; }
.cart-code strong, .shop-code strong { color: inherit; }
.cart-lines { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 6px 22px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--line-2); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 72px; height: 72px; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper-2); }
.cart-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cart-line-title { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.3; }
.cart-line-title a { color: inherit; text-decoration: none; }
.cart-line-title a:hover { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 3px; }
.cart-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--amber-bg);
  color: var(--amber-ink); font-size: .92rem; line-height: 1.45; }
.cart-checkout:disabled { opacity: .6; cursor: progress; }
.cart-line-meta { margin: 3px 0 0; font-size: .88rem; color: var(--ink-3); }
.cart-line-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cart-line-price { margin: 0; font-weight: 700; color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); }
.qty button { appearance: none; cursor: pointer; width: 32px; height: 32px; border: 0; border-radius: 999px;
  background: none; color: var(--ink-2); font: 600 1.05rem var(--sans); }
.qty button:hover { color: var(--sage-ink); background: var(--sage-bg); }
.qty button:focus-visible { outline: none; box-shadow: var(--ring); }
.qty-n { min-width: 22px; text-align: center; font-weight: 700; font-size: .95rem; }
.cart-remove { appearance: none; cursor: pointer; margin-top: 8px; padding: 0; border: 0; background: none;
  color: var(--ink-3); font: 500 .85rem var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: var(--sage-ink); }
.cart-empty { margin: 0; padding: 28px 22px; color: var(--ink-2); }
.cart-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line-2); background: var(--surface); }
.cart-sum { display: grid; gap: 6px; margin: 0 0 16px; }
.cart-sum div { display: flex; justify-content: space-between; gap: 12px; }
.cart-sum div[hidden] { display: none; }
.cart-gift dt, .cart-gift dd { color: var(--sage-ink); }
.cart-club { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--sage-bg); }
.cart-club[hidden] { display: none; }
.cart-club-line { margin: 0; color: var(--sage-ink); font-weight: 650; font-size: .95rem; }
.cart-club-line a { color: var(--sage-ink); text-decoration: underline; text-underline-offset: .18em; }
.cart-credit { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; color: var(--ink); font-size: .95rem; }
.cart-credit[hidden] { display: none; }
.cart-credit input { accent-color: var(--sage); width: 18px; height: 18px; }
.cart-sum dt { color: var(--ink-2); }
.cart-sum dd { margin: 0; font-weight: 700; color: var(--ink); }
.cart-checkout { width: 100%; padding: 15px 20px; font-size: 1.03rem; }
.cart-note { margin: 12px 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-3); }
body.cart-locked { overflow: hidden; }

.shop-sticky { display: none; }
@media (max-width: 860px) {
  .shop-sticky:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex;
    align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface);
    border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .shop-sticky-copy { min-width: 0; }
  .shop-sticky-title { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    font-size: .88rem; color: var(--ink-2); }
  .shop-sticky-price { margin: 0; font: 700 1.2rem var(--display); color: var(--ink); }
  .shop-sticky .btn { flex: none; padding: 12px 20px; }
  .page-shop .site-footer { padding-bottom: 76px; }
}

@media (max-width: 860px) {
  .shop-hero { grid-template-columns: 1fr; }
  .shop-pdp { grid-template-columns: minmax(0, 1fr); }
  .shop-hero-media { order: 2; }
  .shop-gallery .pdp-cover-frame, .shop-hero .pdp-cover-frame { max-width: none; }
}
@media (max-width: 560px) {
  .select-wrap select { min-width: 0; width: 100%; }
  .shop-state { display: grid; }
  .shop-thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .shop-thumb { flex: 0 0 60px; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-card-media img, .cart-drawer, .cart-scrim, .shop-tab, .pill span, .shop-state-link { transition: none; }
  .shop-state-link:hover { transform: none; }
  .shop-card:hover .shop-card-media img { transform: none; }
}
@media print {
  .cart-btn, .cart-drawer, .cart-scrim, .shop-buy, .shop-tabs { display: none; }
}

.shop-garments { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none;
  background: var(--paper); }
.pill-link:hover { border-color: var(--sage); }
.pill-link[aria-current="page"] { border-color: var(--sage); background: var(--sage-bg); color: var(--sage-ink);
  font-weight: 600; }
.shop-sizes { width: 100%; max-width: 36rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.shop-sizes th, .shop-sizes td { padding: .72em .9em; text-align: right; border-bottom: 1px solid var(--line-2); }
.shop-sizes th:first-child { text-align: left; padding-left: 0; }
.shop-sizes thead th { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  font-weight: 700; border-bottom: 1px solid var(--line); }
.shop-sizes tbody th { font-weight: 650; color: var(--ink); }
.shop-sizes td { color: var(--ink-2); }
.shop-sizes tr:last-child th, .shop-sizes tr:last-child td { border-bottom: 0; }
.shop-sizes-note { max-width: 40rem; margin-top: 1rem; font-size: .92rem; }
@media (max-width: 560px) {
  .shop-sizes th, .shop-sizes td { padding: .66em .5em; }
  .shop-sizes thead th { letter-spacing: .04em; }
}
.shop-hero-plain { grid-template-columns: 1fr; }

.shop-card-wear { border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.shop-card-wear:hover { transform: none; box-shadow: none; }
.shop-card-wear .shop-card-media { aspect-ratio: 4 / 5; border: 0; border-radius: var(--radius-sm); }
.shop-card-wear .shop-card-media img { object-position: 50% 10%; }
.shop-card-wear .card-body { padding: 12px 2px 0; }
.shop-card-wear h3 { font-size: 1.08rem; }
.shop-card-wear .shop-card-line { margin-top: 4px; }
.shop-card-wear .shop-card-price { padding-top: 6px; font-weight: 600; }
.shop-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; position: relative; z-index: 2; }
.shop-swatch { width: 26px; height: 26px; padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--swatch); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.shop-swatch:hover { box-shadow: 0 0 0 1px var(--ink-3); }
.shop-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.shop-swatch:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

.wear-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); }
.wear-gallery { min-width: 0; }
.wear-main { overflow: hidden; border-radius: var(--radius-sm); background: var(--paper-2); }
.wear-main img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  object-position: 50% 8%; }
.wear-thumbs { margin-top: 10px; }
.wear-thumbs .shop-thumb { width: 64px; border-radius: 6px; }
.wear-copy { padding-top: 6px; }
.wear-garment { margin: 14px 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); }
.wear-copy h1 { margin: 0 0 .25em; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.08; }
.wear-price { margin: 0 0 8px; font-size: 1.22rem; font-weight: 600; color: var(--ink); }
.wear-buy { padding: 0; border: 0; background: transparent; box-shadow: none; }
.wear-opt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.wear-opt legend { display: flex; justify-content: space-between; align-items: baseline; width: 100%;
  margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); }
.wear-legend-val { margin-left: 8px; font-weight: 500; letter-spacing: 0; text-transform: none;
  font-size: .95rem; color: var(--ink); }
.wear-guide { font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .9rem;
  color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--swatch);
  border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.swatch input:hover + span { box-shadow: 0 0 0 1px var(--ink-3); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.swatch input:focus-visible + span { box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--sage-bg); }
.pills-sq { gap: 8px; }
.pill-sq span { min-width: 56px; padding: 12px 10px; text-align: center; border-radius: 6px;
  background: var(--surface); }
.pill-sq input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wear-styles { display: flex; gap: 22px; }
.wear-style { padding: 4px 0 8px; color: var(--ink-2); text-decoration: none; font-weight: 600;
  border-bottom: 2px solid transparent; }
.wear-style:hover { color: var(--ink); }
.wear-style[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.wear-add { margin-top: 24px; padding: 17px 20px; border-radius: 6px; background: var(--ink);
  border-color: var(--ink); color: var(--paper); font-size: 1rem; letter-spacing: .04em; }
.wear-add:hover { background: var(--sage); border-color: var(--sage); }
.pdp-wear .wear-acc { max-width: 44rem; margin-top: clamp(30px, 4vw, 50px); border-top: 1px solid var(--line-2); }
.pdp-wear .pdp-a { padding: 0 0 1.3em; color: var(--ink-2); }
.pdp-wear .pdp-a p { margin-top: 0; }
.pdp-wear .pdp-spec th { width: 9rem; }
.wear-need { margin: 18px 0 0; padding: 10px 14px; border-radius: 6px; background: var(--sage-bg);
  color: var(--sage-ink); font-weight: 600; font-size: .93rem; }
@media (max-width: 900px) {
  .wear-hero { grid-template-columns: 1fr; }
  .wear-main { margin: 0 -16px; border-radius: 0; }
  .wear-main img { aspect-ratio: 4 / 5; object-position: 50% 8%; }
  .wear-thumbs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 6px;
    scrollbar-width: none; }
  .wear-thumbs::-webkit-scrollbar { display: none; }
  .wear-thumbs .shop-thumb { flex: none; width: 58px; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .pills-sq { flex-wrap: nowrap; gap: 6px; }
  .pill-sq { flex: 1 1 0; min-width: 0; }
  .pill-sq span { display: block; min-width: 0; padding: 13px 0; }
  .wear-styles { gap: 18px; }
}

.shop-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin: 0 0 clamp(18px, 2.4vw, 26px); padding: 12px 0; border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2); }
.filt-open { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .06em; text-transform: uppercase;
  font-size: .82rem; }
.filt-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink);
  color: var(--paper); font: 700 .72rem/20px var(--sans); text-align: center; }
.filt-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.filt-chip { appearance: none; cursor: pointer; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 600 .85rem var(--sans); }
.filt-chip::after { content: " ×"; color: var(--ink-3); }
.filt-chip:hover { border-color: var(--ink); }
.filt-total { margin: 0; color: var(--ink-3); font-size: .9rem; }
.filt-sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.filt-sort select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface);
  color: var(--ink); font: 600 .9rem var(--sans); }
.filt-scrim { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--ink) 38%, transparent); }
.filt-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 91; width: min(420px, 92vw); display: flex;
  flex-direction: column; background: var(--paper); box-shadow: var(--shadow); }
.filt-drawer[hidden], .filt-scrim[hidden] { display: none; }
.filt-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px;
  border-bottom: 1px solid var(--line-2); }
.filt-head h2 { margin: 0; font-size: 1.15rem; }
.filt-form { flex: 1; overflow-y: auto; padding: 0 22px; }
.filt-group { border-bottom: 1px solid var(--line-2); }
.filt-group summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink); position: relative; }
.filt-group summary::-webkit-details-marker { display: none; }
.filt-group summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px;
  margin-top: -6px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .15s; }
.filt-group[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.filt-n { font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.filt-opts { display: grid; gap: 2px; padding: 0 0 14px; }
.filt-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; color: var(--ink-2); }
.filt-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.filt-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--swatch);
  box-shadow: 0 0 0 1px var(--line); }
.filt-foot { display: flex; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line-2); }
.filt-foot .btn { flex: 1; }
.filt-none { margin: 22px 0 0; }
.link-btn { appearance: none; padding: 0; border: 0; background: none; color: var(--ink); font: inherit;
  text-decoration: underline; cursor: pointer; }
body.filt-lock { overflow: hidden; }
.filt-more { display: flex; justify-content: center; margin: clamp(22px, 3vw, 34px) 0 0; }
.filt-more .btn[hidden] { display: none; }
@media (max-width: 640px) {
  .shop-filterbar { gap: 10px; padding: 10px 0; }
  .filt-open { order: 1; }
  .filt-sort { order: 2; margin-left: auto; }
  .filt-sort-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .filt-total { order: 3; flex-basis: 100%; }
  .filt-chips { order: 4; flex-basis: 100%; }
  .filt-chips:empty { display: none; }
  .shop-grid[data-shelf] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .shop-grid[data-shelf] .shop-card h3 { font-size: .97rem; line-height: 1.3; }
  .shop-grid[data-shelf] .shop-card:not(.shop-card-wear) .card-body { padding: 12px 12px 14px; }
  .shop-grid[data-shelf] .shop-card:not(.shop-card-wear) .shop-card-line { display: none; }
  .shop-grid[data-shelf] .shop-card-kicker { font-size: .72rem; letter-spacing: .08em; margin-bottom: 4px; }
  .shop-grid[data-shelf] .shop-card-price { padding-top: 6px; font-size: .95rem; }
  .shop-card-wear .shop-card-line { font-size: .86rem; }
  .shop-swatches { gap: 6px; margin-bottom: 8px; }
  .shop-swatch { width: 18px; height: 18px; border-width: 2px; }
  .filt-drawer { width: 100vw; }
}

.shop-cat-note { margin: 10px 0 0; font-size: .92rem; }
