/* Prints shop */
.shop-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(40px, 6vw, 70px); }
.shop-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.shop-hero .display { font-size: clamp(64px, 14vw, 220px); }
.shop-hero-side { display: grid; gap: 22px; padding-bottom: 12px; }
.shop-hero-side .lead { color: var(--muted); }
.perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.perks li { border: 1px solid var(--ink-3); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--bone); }
@media (max-width: 860px) { .shop-hero-grid { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--ink-3); margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); background: transparent; font-size: 15px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--bone); }
.chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.result-count { color: var(--muted); font-size: 14px; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 16px; grid-auto-flow: dense; padding-bottom: clamp(80px, 10vw, 140px); }
.product { display: grid; gap: 14px; align-content: start; }
.product.landscape { grid-column: span 2; }
.product-media {
  position: relative; border: 0; padding: 0; background: var(--ink-2); border-radius: var(--radius-md); overflow: hidden; display: block; width: 100%;
}
.product.landscape .product-media { aspect-ratio: 3 / 2; }
.product.portrait .product-media { aspect-ratio: 2 / 3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.product-media:hover img, .product-media:focus-visible img { transform: scale(1.03); }
.product-row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.product-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.product-species { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.product-price { font-size: 15px; white-space: nowrap; color: var(--muted); }
.product-price strong { color: var(--bone); font-weight: 700; font-variant-numeric: tabular-nums; }
.product .btn { justify-self: start; min-height: 44px; padding: 0 20px; font-size: 15px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } .product.landscape { grid-column: span 2; } }
@media (max-width: 600px) { .products { grid-template-columns: 1fr; } .product.landscape { grid-column: auto; } }

/* How it works */
.process { padding: clamp(70px, 9vw, 130px) 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid #c9c7c1; }
.process-grid div { padding: 28px 0 0; padding-inline-end: 28px; }
.process-grid h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; }
.process-grid p { margin: 0; color: var(--paper-muted); }
@media (max-width: 820px) { .process-grid { grid-template-columns: 1fr; } .process-grid div { padding-bottom: 20px; } }

.faq-dark details { border-bottom-color: var(--ink-3); }
.faq-dark details p { color: var(--muted); }

/* Product dialog */
.product-dialog { width: min(1180px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; }
.pd-grid { display: grid; grid-template-columns: 1.25fr 1fr; max-height: calc(100dvh - 24px); }
.pd-media { background: #141414; display: grid; place-items: center; padding: clamp(16px, 3vw, 40px); min-height: 0; }
.pd-media figure { margin: 0; display: grid; place-items: center; width: 100%; height: 100%; }
.pd-media img { max-height: calc(100dvh - 120px); width: auto; max-width: 100%; object-fit: contain; border: 0 solid transparent; transition: padding 0.3s var(--ease-out), border-width 0.3s var(--ease-out); }
.pd-media img.frame-black, .pd-media img.frame-oak { padding: clamp(12px, 4%, 30px); background: #f3f1ec; border-width: 12px; box-shadow: 0 24px 50px rgba(0,0,0,0.55); }
.pd-media img.frame-black { border-color: #121212; }
.pd-media img.frame-oak { border-color: #b48a5a; }
.pd-media img.mat-canvas { box-shadow: 6px 8px 0 #0c0c0c, 0 24px 50px rgba(0,0,0,0.5); }
.pd-media img.mat-alu { box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.pd-body { overflow-y: auto; padding: clamp(22px, 3vw, 40px); display: grid; gap: 22px; align-content: start; }
.pd-body h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.pd-species { color: var(--muted); margin: 6px 0 0; }
.pd-story { margin: 0; color: rgba(243,242,238,0.85); }
.opt { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.opt legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; padding: 0; }
.opt-list { display: grid; gap: 8px; }
.opt-list.cols-2 { grid-template-columns: 1fr 1fr; }
.opt-item { position: relative; }
.opt-item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-item > input + span {
  display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 52px; padding: 10px 16px;
  border: 1px solid var(--ink-3); border-radius: var(--radius-sm); background: var(--ink-2); font-size: 15px; transition: border-color 0.2s, background-color 0.2s;
}
.opt-item > input + span > span:first-child { min-width: 0; }
.opt-list.cols-2 .opt-item > input + span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.opt-item small { color: var(--muted); font-size: 13px; display: block; }
.opt-item input:checked + span { border-color: var(--bone); background: var(--ink-3); }
.opt-item input:focus-visible + span { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.opt-item input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.opt-item .num { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.opt-hint { font-size: 13px; color: var(--muted); margin: 0; }
.pd-buy { position: sticky; bottom: calc(-1 * clamp(22px, 3vw, 40px)); background: var(--ink); padding: 18px 0 4px; border-top: 1px solid var(--ink-3); display: grid; gap: 12px; }
.pd-total { display: flex; justify-content: space-between; align-items: baseline; }
.pd-total strong { font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pd-close { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; background: rgba(30,30,30,0.7); }
@media (max-width: 860px) {
  .pd-grid { grid-template-columns: 1fr; overflow-y: auto; }
  .pd-media img { max-height: 46dvh; }
  .pd-body { overflow: visible; }
  .pd-buy { bottom: 0; }
}

/* Cart drawer */
.drawer { margin: 0; margin-inline-start: auto; height: 100dvh; width: min(460px, 100vw); background: var(--ink); border-inline-start: 1px solid var(--ink-3); }
.drawer[open] { animation: drawer-in 0.35s var(--ease-out); }
@keyframes drawer-in { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--ink-3); }
.drawer-head h2 { margin: 0; font-size: 26px; font-weight: 900; }
.drawer-body { overflow-y: auto; padding: 8px 22px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ink-3); }
.cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item h3 { margin: 0; font-size: 17px; font-weight: 700; }
.cart-item p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-3); border-radius: 999px; }
.qty button { width: 40px; height: 40px; background: none; border: 0; font-size: 18px; }
.qty output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 13px; padding: 8px 4px; min-height: 40px; }
.link-btn:hover { color: var(--bone); }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--ink-3); display: grid; gap: 12px; }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 15px; }
.sum-row.total { color: var(--bone); font-size: 20px; font-weight: 800; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); display: grid; gap: 18px; justify-items: center; }
.checkout .field label { padding-top: 10px; }
.checkout .form-grid { gap: 0 16px; }

.toast {
  position: fixed; bottom: 20px; inset-inline-start: 50%; transform: translate(50%, 20px); z-index: 300;
  background: var(--bone); color: var(--ink); padding: 14px 20px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease-out); display: flex; gap: 14px; align-items: center;
}
.toast.show { opacity: 1; transform: translate(50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; text-decoration: underline; color: var(--ink); font-weight: 700; min-height: 32px; }
