/* Dreko: "sticker pop". Thick black outlines like the contour of the rugs,
   hard offset shadows, and the flat colors of their designs. */
:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #444444;
  --marble: #e9e9e5;
  --yellow: #ffd23f;
  --blue: #3d8bfd;
  --pink: #ff8ac2;
  --green: #2ec27e;
  --orange: #ff8a3d;
  --danger: #c4231b;
  --line: 3px solid var(--ink);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --font-display: 'Baloo 2', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }
html:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }

/* Sticker pieces */

.sticker-tag {
  display: inline-block; padding: 5px 14px; border: var(--line); border-radius: 999px; background: var(--paper);
  font-weight: 700; font-size: .95rem; line-height: 1.3; transform: rotate(-2deg);
}
.tag {
  display: inline-block; padding: 2px 11px; border: 2.5px solid var(--ink); border-radius: 999px;
  font-weight: 700; font-size: .82rem; line-height: 1.4; background: var(--paper);
}
.tone-blue { background: var(--blue); }
.tone-yellow { background: var(--yellow); }
.tone-pink { background: var(--pink); }
.tone-green { background: var(--green); }
.tone-orange { background: var(--orange); }

/* Header */

.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 6px 0; }
.brand-dog { height: 54px; width: auto; transition: transform .2s; }
.brand:hover .brand-dog { transform: rotate(-8deg); }
.brand-wordmark { height: 40px; width: auto; margin-top: 6px; }
.header-nav { display: flex; align-items: center; gap: 6px 22px; }
.nav-link { font-weight: 700; text-decoration: none; padding: 8px 0; }
.nav-link:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  color: var(--ink); text-decoration: none; border: 0; background: none; cursor: pointer;
}
.icon-button:hover { background: var(--yellow); }
.icon-button svg { width: 24px; height: 24px; }
.cart-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border: var(--line); border-radius: 999px; background: var(--yellow); box-shadow: var(--shadow-sm);
  cursor: pointer; font-weight: 700; transition: transform .12s, box-shadow .12s;
}
.cart-button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.cart-button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.cart-button svg { width: 22px; height: 22px; }
.cart-count {
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: .85rem; font-weight: 700;
  display: inline-grid; place-items: center;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
@media (max-width: 719px) {
  :root { --header-h: 64px; }
  .nav-link { display: none; }
  .brand { gap: 6px; }
  .brand-dog { height: 44px; }
  .brand-wordmark { height: 32px; }
  .header-nav { gap: 4px; }
  .cart-button { min-height: 44px; padding: 0 12px; }
}

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 10px 26px; border: var(--line); border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s;
}
.btn:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--paper), 4px 4px 0 3px var(--ink); }
.btn-dark:hover:not(:disabled) { box-shadow: 5px 5px 0 var(--yellow), 5px 5px 0 3px var(--ink); }
.btn-light { background: var(--paper); }
.btn-wa { background: var(--green); }
.btn-link { background: none; border: 0; padding: 4px; min-height: 0; box-shadow: none; color: var(--muted); text-decoration: underline; font-weight: 500; }
.btn-link:hover:not(:disabled) { transform: none; box-shadow: none; color: var(--ink); }
.btn-block { width: 100%; }
.btn .icon { width: 24px; height: 24px; }
.wa-mark { color: #13834a; }

/* Hero */

.hero { background: var(--yellow); border-bottom: var(--line); }
.hero-inner { display: grid; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 48px; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding-top: 72px; padding-bottom: 84px; }
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-title { font-size: clamp(3.4rem, 10vw, 6.6rem); line-height: .88; letter-spacing: -.035em; max-width: 9ch; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 32ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.hero-note .icon { width: 22px; height: 22px; }
@media (max-width: 559px) {
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

.hero-collage { position: relative; height: 460px; }
.hero-collage .polaroid {
  position: absolute; width: 46%; aspect-ratio: 4 / 5; border: var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--marble); box-shadow: 7px 7px 0 var(--ink);
}
.hero-collage .polaroid img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .polaroid:nth-child(1) { left: 2%; top: 30px; transform: rotate(-7deg); }
.hero-collage .polaroid:nth-child(2) { right: 2%; top: 0; transform: rotate(6deg); }
.hero-collage .polaroid:nth-child(3) { left: 30%; bottom: 0; width: 40%; transform: rotate(-2deg); }
.hero-collage .bubble {
  position: absolute; right: 0; bottom: 64px; padding: 8px 16px; border: var(--line); border-radius: 16px;
  background: var(--pink); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.2;
  transform: rotate(8deg); box-shadow: var(--shadow-sm);
}
@media (max-width: 899px) { .hero-collage { display: none; } }

/* Marquee */

.marquee { background: var(--ink); color: var(--paper); overflow: hidden; border-bottom: var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span {
  flex: none; padding: 12px 0; padding-right: 28px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: .03em;
}
.marquee-track b { font-weight: 800; padding: 0 12px; }
.marquee-track b:nth-of-type(4n+1) { color: var(--yellow); }
.marquee-track b:nth-of-type(4n+2) { color: var(--pink); }
.marquee-track b:nth-of-type(4n+3) { color: var(--blue); }
.marquee-track b:nth-of-type(4n+4) { color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Catalog */

.catalog { padding-top: 64px; padding-bottom: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; margin-bottom: 24px; }
.section-title { font-size: clamp(2.5rem, 7vw, 4rem); letter-spacing: -.03em; line-height: .95; }
.section-lead { color: var(--muted); max-width: 42ch; }

.chips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 6px 10px 2px; margin-bottom: 26px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; font-weight: 700; white-space: nowrap;
}
.chip:hover { background: #f4f4f1; }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.chip-dot { width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--ink); }
.chip[aria-pressed='true'] .chip-dot { border-color: var(--paper); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--paper);
  border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--ink); }
.card:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--marble); border-bottom: var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .tag { position: absolute; top: 10px; left: 10px; }
.card-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.card-title { font-size: 1.25rem; line-height: 1.08; }
.card-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.card-price { font-weight: 700; }
.card-sizes { color: var(--muted); font-size: .88rem; }
@media (min-width: 720px) {
  .card-body { padding: 14px 18px 18px; }
  .card-title { font-size: 1.5rem; }
  .card-price { font-size: 1.1rem; }
}
@media (max-width: 719px) {
  .card { box-shadow: var(--shadow-sm); border-radius: 18px; }
  .card-media .tag { top: 8px; left: 8px; font-size: .75rem; padding: 1px 8px; }
}
@media (prefers-reduced-motion: reduce) { .card, .btn, .cart-button { transition: none; } }

/* Products without photos get a marble-like surface with an outline icon. */
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; color: #8a8a84;
  background:
    linear-gradient(125deg, rgb(255 255 255 / 70%) 0 10%, transparent 10% 40%, rgb(255 255 255 / 45%) 40% 45%, transparent 45%),
    var(--marble);
}
.placeholder .icon { width: 36px; height: 36px; }

.empty {
  grid-column: 1 / -1; padding: 44px 20px; text-align: center; border: var(--line); border-radius: var(--radius);
  background: #f7f7f4; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }

/* Make your own */

.custom { padding-top: 56px; padding-bottom: 88px; }
.custom-card {
  position: relative; border: var(--line); border-radius: 36px; background: var(--blue); box-shadow: 10px 10px 0 var(--ink);
  padding: 28px 20px; display: flex; flex-direction: column; gap: 28px;
}
/* The Dreko dog peeking over the card. */
.custom-dog {
  position: absolute; top: -50px; right: 36px; width: 116px; height: auto; transform: rotate(10deg);
  filter: drop-shadow(5px 5px 0 var(--ink));
}
@media (max-width: 719px) { .custom-dog { width: 78px; top: -34px; right: 14px; } }
@media (min-width: 720px) { .custom-card { padding: 52px 48px; } }
@media (max-width: 719px) { .custom-card { box-shadow: var(--shadow); border-radius: 26px; } }
.custom-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.custom-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 640px; }
.custom-head .sticker-tag { background: var(--yellow); }
.custom-title { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: .95; letter-spacing: -.03em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { border: var(--line); border-radius: 22px; background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps strong { font-size: 1.15rem; }
.steps p { color: #333333; font-size: .97rem; }
.step-number {
  width: 44px; height: 44px; border: var(--line); border-radius: 999px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1; margin-bottom: 4px;
}
@media (max-width: 559px) { .custom-head .btn { width: 100%; } }

/* Product page */

.product-page { padding-top: 16px; padding-bottom: 72px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; margin-bottom: 8px;
}
.back-link svg { width: 20px; height: 20px; }
.back-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.product { display: grid; gap: 30px; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 24px); }
}

.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border: var(--line); border-radius: 30px; background: var(--marble); box-shadow: 8px 8px 0 var(--ink);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 18px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.gallery-thumbs button {
  flex: none; width: 80px; height: 96px; padding: 5px; border: var(--line); border-radius: 16px;
  background: var(--paper); cursor: pointer;
}
.gallery-thumbs button[aria-current='true'] { background: var(--yellow); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.gallery-dots span { width: 10px; height: 10px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); }
.gallery-dots span[aria-current='true'] { background: var(--ink); }
@media (min-width: 720px) { .gallery-dots { display: none; } }
@media (max-width: 719px) {
  .gallery-thumbs { display: none; }
  .gallery-track { box-shadow: var(--shadow); border-radius: 24px; }
}

.product-info { display: flex; flex-direction: column; gap: 24px; }
.product-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.product-title { font-size: clamp(2.4rem, 6vw, 4rem); line-height: .95; letter-spacing: -.03em; }
.product-price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.product-price.quote { font-size: 1.6rem; }

.option-group { border: 0; margin: 0; padding: 0; }
.option-group legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.options { display: flex; flex-wrap: wrap; gap: 12px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0;
  padding: 10px 18px; border: var(--line); border-radius: 16px; cursor: pointer; background: var(--paper); font-weight: 700;
  transition: transform .12s, box-shadow .12s;
}
.option small { color: var(--muted); font-size: .85rem; font-weight: 500; }
.option span:hover { background: #f4f4f1; }
.option input:checked + span { background: var(--yellow); box-shadow: var(--shadow-sm); transform: translate(-1px, -1px); }
.option input:checked + span small { color: var(--ink); }
.option input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

.buy-actions { display: flex; flex-direction: column; gap: 14px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.buy-row .btn-dark { flex: 1 1 220px; }

.stepper { display: inline-flex; align-items: center; border: var(--line); border-radius: 999px; background: var(--paper); }
.stepper button {
  width: 48px; height: 50px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 999px;
}
.stepper button:hover:not(:disabled) { background: var(--yellow); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.stepper.small { border-width: 2.5px; }
.stepper.small button { width: 38px; height: 38px; }
.stepper.small .icon { width: 16px; height: 16px; }

.product-description { color: #2b2b2b; white-space: pre-line; }
.info-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.info-box { border: var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.info-box span { color: #333333; font-size: .95rem; }
.info-box.ship { background: #e3f6eb; }
.info-box.custom-link { background: #fff3c4; }
a.info-box:hover strong { text-decoration: underline; }

.not-found { padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.not-found h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); letter-spacing: -.03em; line-height: .95; max-width: 12ch; }

/* Cart sheet: a side panel on a computer, a bottom sheet on a phone */

.cart {
  margin: 0 0 0 auto; padding: 0; border: 0; border-left: var(--line);
  width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: var(--paper); color: var(--ink);
}
.cart[open] { display: flex; flex-direction: column; animation: slide-in .22s ease-out; }
.cart::backdrop { background: rgb(17 17 17 / 55%); animation: fade-in .22s ease-out; }
@keyframes slide-in { from { transform: translateX(48px); opacity: 0; } }
@keyframes slide-up { from { transform: translateY(48px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 559px) {
  .cart {
    margin: auto 0 0; width: 100vw; height: calc(100dvh - 28px); max-height: calc(100dvh - 28px);
    border-left: 0; border-top: var(--line); border-radius: 26px 26px 0 0;
  }
  .cart[open] { animation-name: slide-up; }
}
@media (prefers-reduced-motion: reduce) { .cart[open], .cart::backdrop, .card, .marquee-track { animation: none; } }

.cart-head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 12px 20px; border-bottom: var(--line);
}
.cart-head h2 { font-size: 2rem; }
.cart-close { border: var(--line); }
.cart-body { flex: 1; overflow-y: auto; padding: 6px 20px 28px; }
.cart-notice { margin: 14px 0 0; padding: 10px 14px; border: 2.5px solid var(--ink); border-radius: var(--radius-sm); background: #fff3c4; font-size: .95rem; }
.cart-empty { padding: 48px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cart-empty strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }

.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 2px dashed var(--ink);
}
.cart-thumb { grid-row: span 2; width: 64px; height: 78px; border: var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--marble); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .placeholder .icon { width: 20px; height: 20px; }
.cart-item-name { font-weight: 700; text-decoration: none; line-height: 1.25; }
.cart-item-name:hover { text-decoration: underline; }
.cart-item-meta { color: var(--muted); font-size: .9rem; }
.cart-item-total { font-weight: 700; text-align: right; white-space: nowrap; }
.cart-item-controls { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.remove-button {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; border: 0; background: none; color: var(--muted);
  cursor: pointer; font-size: .9rem; text-decoration: underline; padding: 6px;
}
.remove-button:hover { color: var(--danger); }
.remove-button .icon { width: 16px; height: 16px; }

.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 2px; font-weight: 700; font-size: 1.15rem; }
.cart-total strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.cart-total-note { color: var(--muted); font-size: .9rem; }

.order-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.order-form h3 { font-size: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .92rem; font-weight: 700; }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: var(--line); border-radius: var(--radius-sm); background: var(--paper);
  font-size: 16px;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: var(--shadow-sm); }
.field input[aria-invalid='true'] { background: #ffe9e7; }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 700; }
.order-help { color: var(--muted); font-size: .9rem; text-align: center; }
.order-warning { padding: 10px 14px; border: 2.5px solid var(--ink); border-radius: var(--radius-sm); background: #fff3c4; font-size: .92rem; }

.sent-box {
  margin-top: 24px; padding: 20px; border: var(--line); border-radius: var(--radius); background: #e3f6eb; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.sent-box strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.sent-box p { color: #333333; }

/* Footer and toast */

.site-footer { background: var(--ink); color: var(--paper); padding: 40px 0 44px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-logo {
  width: 118px; height: auto; padding: 12px 14px; background: var(--paper); border-radius: 22px;
  box-shadow: 5px 5px 0 var(--yellow); transform: rotate(-3deg);
}
.footer-brand p { color: #d4d4d4; max-width: 22ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 2.5px solid var(--paper); border-radius: 999px; text-decoration: none; font-weight: 700;
}
.footer-links a:hover { background: var(--paper); color: var(--ink); }
.footer-links .icon { width: 20px; height: 20px; }
.footer-small { flex-basis: 100%; color: #a8a8a8; font-size: .85rem; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 50;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 700;
  border: 2.5px solid var(--paper); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
