:root {
  --paper: #faf7ef;
  --ink: #191714;
  --muted: #615a50;
  --line: #d9d2c5;
  --yellow: #fdb515;
  --blue: #3469b3;
  --display: Tiller, Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 "Roc Grotesk Variable", Arial, sans-serif; }
h1, h2, p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.top { background: var(--yellow); border-bottom: 1px solid var(--ink); }
.bar, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 74px; }
.wordmark { display: grid; font: 700 1.45rem/1 var(--display); text-decoration: none; }
.wordmark span { font: 700 .68rem/1 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; }
nav { display: flex; gap: 24px; }
nav a { font-size: .88rem; font-weight: 700; text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.bag, .primary { background: var(--ink); color: white; border: 1px solid var(--ink); min-height: 44px; padding: 8px 15px; font-weight: 700; }
.bag { display: flex; align-items: center; gap: 10px; }
.bag span { min-width: 22px; background: var(--yellow); color: var(--ink); }
.intro { padding-block: clamp(40px, 6vw, 78px) 28px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
h1 { font: 700 clamp(2.8rem, 6vw, 5.7rem)/.99 var(--display); letter-spacing: -.055em; }
.intro p { margin-top: 12px; color: var(--muted); }
.preview { font-size: .8rem; color: var(--muted); }
.tools { display: flex; justify-content: space-between; gap: 12px; border-block: 1px solid var(--line); padding-block: 14px; }
.categories { display: flex; flex-wrap: wrap; gap: 7px; }
.categories button { background: transparent; border: 1px solid var(--line); border-radius: 2rem; min-height: 42px; padding: 5px 15px; font-size: .84rem; font-weight: 700; }
.categories button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
input, select { background: transparent; border: 1px solid var(--line); min-height: 42px; padding: 7px 11px; }
.list-head { display: flex; justify-content: space-between; align-items: center; min-height: 64px; font-size: .86rem; color: var(--muted); }
.list-head select { border: 0; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
.card { border: 1px solid var(--line); }
.card-link { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 15px; }
.category { font-size: .69rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h2 { font: 700 clamp(1.12rem, 2.3vw, 1.7rem)/1.1 var(--display); margin: 5px 0 13px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-top: auto; font-size: .86rem; font-weight: 700; }
.arrow { display: grid; place-items: center; flex: none; border: 1px solid; border-radius: 50%; width: 28px; height: 28px; }
.card-link:hover .arrow { background: var(--ink); color: white; }
.art { --surface: #f4ae8e; --pack: #ec652d; --pack-ink: var(--ink); background: var(--surface); display: grid; place-items: center; aspect-ratio: 1.42; overflow: hidden; }
.art-stainless { --surface: #81cbf1; --pack: var(--blue); --pack-ink: white; }
.art-plus { --surface: #eeeada; --pack: #223d78; --pack-ink: #eeeada; }
.art-blue { --surface: #82c9f0; --pack: var(--blue); --pack-ink: white; }
.art-yellow { --surface: #ffe0a2; --pack: var(--yellow); }
.pack { display: grid; align-content: center; width: 67%; min-height: 48%; padding: 8%; background: var(--pack); color: var(--pack-ink); border: 1px solid currentColor; box-shadow: 7px 8px #19171455; transform: rotate(-7deg); }
.pack-brand { font: 700 clamp(1.12rem, 3.3vw, 3.1rem)/1 var(--display); letter-spacing: -.06em; }
.pack-type { font-size: clamp(.5rem, 1vw, .8rem); letter-spacing: .08em; text-transform: uppercase; border-top: 1px solid; margin-top: 7px; padding-top: 5px; }
.product-image { background: #faf5ce; padding: 9%; }
.product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; }
.checkout-link { display: grid; place-items: center; text-decoration: none; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: clamp(20px, 5vw, 64px); margin-top: 26px; }
.checkout-main h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.checkout-main h2 { font: 700 1.55rem/1.2 var(--display); }
.checkout-form, .checkout-summary { display: grid; gap: 14px; padding: clamp(15px, 3vw, 28px); border: 1px solid var(--line); }
.checkout-form label { display: grid; gap: 4px; font-size: .89rem; font-weight: 700; }
.checkout-form input { width: 100%; }
.checkout-fields { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-form label.wide { grid-column: 1 / -1; }
.checkout-summary ul { list-style: none; padding: 0; margin: 0; }
.checkout-summary li { display: flex; gap: 16px; justify-content: space-between; padding-block: 10px; border-bottom: 1px solid var(--line); }
.checkout-summary li strong { white-space: nowrap; }
.checkout-summary small { display: block; color: var(--muted); }
.checkout-result { padding: 24px; margin-top: 26px; border: 1px solid var(--line); }
.checkout-result p { margin-block: 8px; }
.product-main { padding-top: 26px; }
.back { display: inline-block; margin-bottom: 20px; font-weight: 700; text-underline-offset: 4px; }
.product-layout { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(24px, 6vw, 84px); align-items: start; }
.product-layout .art { aspect-ratio: 1.15; }
.product-layout .pack-brand { font-size: clamp(2rem, 5vw, 5rem); }
.detail h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); margin: 7px 0 16px; }
.description, .empty, .cart-row p { color: var(--muted); }
.purchase { display: grid; gap: 15px; max-width: 400px; margin-top: 23px; }
.amount { font-size: 1.6rem; font-weight: 700; }
.choose { display: grid; grid-template-columns: 1fr 90px; gap: 11px; }
.choose label { display: grid; gap: 5px; min-width: 0; font-size: .85rem; font-weight: 700; }
.choose input, .primary { width: 100%; }
.primary:hover:enabled { background: var(--blue); }
footer { margin-top: 64px; border-top: 1px solid var(--line); }
.footer-inner { font-size: .85rem; }
.footer-inner span { font-weight: 700; }
.cart-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100%); max-width: 100%; height: 100%; max-height: 100%; border: 0; background: var(--paper); color: var(--ink); padding: 24px; }
.cart-dialog::backdrop { background: #19171491; }
.drawer-head, .totals, .cart-row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.drawer-head { align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.drawer-head h2 { font: 700 2rem/1 var(--display); }
.plain, .remove { background: transparent; border: 0; }
.plain { font-size: 1.75rem; width: 44px; min-height: 44px; }
.cart-row, .empty { padding-block: 16px; }
.cart-row { border-bottom: 1px solid var(--line); }
.cart-row > strong { white-space: nowrap; }
.stepper { display: flex; gap: 11px; align-items: center; margin-top: 8px; }
.stepper button { min-width: 35px; min-height: 35px; background: transparent; border: 1px solid var(--line); }
.remove { margin-top: 4px; padding: 4px 0; text-decoration: underline; font-size: .82rem; }
.totals { margin-block: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 790px) {
  .wrap { width: calc(100% - 40px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-brand { font-size: clamp(1.1rem, 4vw, 2.4rem); }
}
@media (max-width: 590px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 30px); }
  .bar { min-height: 66px; }
  .bar nav { display: none; }
  .wordmark { font-size: 1.18rem; }
  .intro, .tools { display: grid; }
  .intro .preview { margin-top: 0; }
  .search input { width: 100%; }
  .categories button { padding-inline: 10px; }
  .grid { gap: 13px 9px; }
  .card-copy { padding: 10px; }
  .arrow { width: 23px; height: 23px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-layout .art { aspect-ratio: 1.42; }
}
