/* Weird Nation v2 — "neon sketchbook"
   Warm paper + black notebook pages, chunky ink outlines, hard offset shadows. */

:root {
  --ink: #141216;
  --ink-2: #1d1a22;
  --paper: #FBF8F3;
  --white: #ffffff;
  --pink: #F4587C;
  --cyan: #2CB8E3;
  --lime: #B7F04A;
  --sun: #FFD84D;
  --violet: #A66CFF;
  --muted: #6b6672;
  --line: #ece7e0;
  --display: 'Fredoka', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --body: 'Karla', 'Segoe UI', Arial, sans-serif;
  --hand: 'Gochi Hand', 'Comic Sans MS', 'Segoe Print', cursive;
  --gutter: clamp(20px, 4.5vw, 64px);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink); }
h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
.hand { font-family: var(--hand); font-weight: 400; }
.pink { color: var(--pink); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- buttons, chips, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 3px solid var(--ink); background: var(--pink); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 17px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; white-space: nowrap; transition: transform .12s, box-shadow .12s; text-decoration: none; }
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--cyan { background: var(--cyan); } .btn--lime { background: var(--lime); } .btn--sun { background: var(--sun); } .btn--paper { background: var(--white); } .btn--pink { background: var(--pink); }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--sm { min-height: 40px; font-size: 15px; padding: 0 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg { min-height: 56px; font-size: 19px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 700; font-size: 13px; background: var(--white); color: var(--ink); }
.chip--sun { background: var(--sun); } .chip--lime { background: var(--lime); } .chip--pink { background: var(--pink); } .chip--cyan { background: var(--cyan); } .chip--ink { background: var(--ink); color: var(--paper); }
.chip--lg { min-height: 44px; padding: 0 18px; font-size: 15px; }
.sticker { display: inline-block; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); font-family: var(--hand); font-size: 20px; line-height: 1; color: var(--ink); }
.sticker--sun { background: var(--sun); } .sticker--lime { background: var(--lime); } .sticker--pink { background: var(--pink); } .sticker--cyan { background: var(--cyan); }
.tilt-l { transform: rotate(-3deg); } .tilt-r { transform: rotate(3deg); }
.field { width: 100%; min-height: 48px; border: 3px solid var(--ink); border-radius: 12px; background: var(--white); padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); }
.field:focus { outline: 3px solid var(--cyan); outline-offset: 2px; }
select.field { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141216' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.label--sun { color: var(--sun); } .label--cyan { color: var(--cyan); } .label--pink { color: var(--pink); }
.card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); }
.card--flat { box-shadow: none; }
.neon { text-shadow: 0 0 10px currentColor, 0 0 22px currentColor; }
.dots { background-color: var(--paper); background-image: radial-gradient(var(--ink) 1.2px, transparent 1.3px); background-size: 22px 22px; }

/* backgrounds used by blocks */
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-paper { background: var(--paper); }
.bg-pink { background: var(--pink); } .bg-cyan { background: var(--cyan); } .bg-lime { background: var(--lime); } .bg-sun { background: var(--sun); } .bg-violet { background: var(--violet); }
.bg-ink .muted { color: #c9c3cf; }
.bg-ink .card { background: var(--ink-2); border-color: var(--paper); color: var(--paper); }

/* ---------- marquee ---------- */
.marquee { background: var(--sun); border-bottom: 3px solid var(--ink); padding: 8px 0; overflow: hidden; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 15px; }
.marquee__track { display: inline-flex; gap: 28px; padding-left: 28px; animation: marquee 40s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); border-bottom: 3px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 50; }
.logo img { height: 62px; width: auto; }
.logo-text { display: inline-flex; flex-direction: column; line-height: .86; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; }
.pinkw { color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); } .cyanw { color: var(--cyan); -webkit-text-stroke: 1.5px var(--ink); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-family: var(--display); font-weight: 600; font-size: 17px; padding: 8px 14px; border-radius: 999px; border: 2px solid transparent; }
.site-nav a.is-active { background: var(--sun); border-color: var(--ink); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border: 3px solid var(--ink); border-radius: 999px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; padding: 0; }
.cart-btn { height: 44px; padding: 0 16px; border: 3px solid var(--ink); border-radius: 999px; background: var(--lime); display: inline-flex; align-items: center; gap: 8px; box-shadow: 3px 3px 0 var(--ink); font-weight: 700; color: var(--ink); }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 3px solid var(--ink); padding: 12px var(--gutter) 18px; gap: 6px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 20px; padding: 12px 16px; }
  .logo img { height: 44px; }
}

/* ---------- flashes ---------- */
.flash-stack { display: flex; flex-direction: column; gap: 8px; padding: 12px var(--gutter) 0; }
.flash { border: 3px solid var(--ink); border-radius: 12px; padding: 12px 16px; font-weight: 700; background: var(--lime); }
.flash--error { background: var(--pink); }

/* ---------- layout helpers ---------- */
.section { padding: clamp(40px, 6vw, 72px) var(--gutter); }
.section--tight { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.section--rule { border-top: 3px solid var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.kicker { font-family: var(--hand); font-size: clamp(20px, 2.2vw, 26px); color: var(--pink); }
.bg-ink .kicker { color: var(--cyan); }
h2.section-title { font-size: clamp(28px, 3.4vw, 40px); }
.grid { display: grid; gap: 22px; }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cat-tile { padding: 16px 14px; } .cat-tile span { font-size: 17px; } .grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ---------- blocks ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) var(--gutter); border-bottom: 3px solid var(--ink); }
.hero__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.hero__inner.no-image { grid-template-columns: 1fr; max-width: 860px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__stickers { display: flex; gap: 10px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: .95; }
.hero__text { font-size: clamp(17px, 1.4vw, 20px); max-width: 540px; }
.bg-ink .hero__text { color: #d8d2de; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art { position: relative; }
.hero__frame { border-radius: 28px; border: 3px solid currentColor; overflow: hidden; transform: rotate(-2deg); box-shadow: 10px 10px 0 var(--cyan); }
.hero__frame img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.hero__badge { position: absolute; }
.hero__badge--tr { top: -10px; right: 12px; transform: rotate(6deg); }
.hero__badge--bl { bottom: 14px; left: -12px; transform: rotate(-7deg); }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; gap: 28px; } .hero__badge--bl { left: 4px; } }

.rich { max-width: 760px; font-size: 17px; }
.rich p + p { margin-top: 1em; }
.rich a { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.rich h3 { font-size: 26px; margin: 1.2em 0 .4em; }
.rich ul, .rich ol { padding-left: 1.3em; margin: .8em 0; }

.cat-tile { padding: 22px 20px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.cat-tile span { font-family: var(--display); font-weight: 700; font-size: 22px; }
.cat-tile:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 7px 7px 0 var(--ink); }

.product-card { position: relative; padding: 12px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); transition: transform .12s; }
.product-card:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.product-card__media { aspect-ratio: 1; border-radius: 14px; border: 2px solid var(--ink); overflow: hidden; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder { font-family: var(--hand); font-size: 28px; color: var(--lime); text-align: center; padding: 16px; }
.product-card__badge { position: absolute; top: 22px; left: 22px; transform: rotate(-4deg); }
.product-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 0 4px; }
.product-card__title { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.15; }
.product-card__cat { font-size: 13px; color: var(--muted); }
.product-card__price { font-family: var(--display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.price--was { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: 14px; margin-left: 6px; }
.product-card .btn { margin: 0 4px 4px; }
.product-card.is-soldout .product-card__media { opacity: .6; }
@media (max-width: 640px) { .product-card__title { font-size: 15px; } .product-card__price { font-size: 15px; } .product-card .btn--sm { font-size: 13px; min-height: 36px; } }

.gallery-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.gallery-strip__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery-strip__tiles img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--paper); }
.gallery-strip__tiles > *:nth-child(1) { transform: rotate(-2deg); } .gallery-strip__tiles > *:nth-child(2) { transform: rotate(2deg); } .gallery-strip__tiles > *:nth-child(4) { transform: rotate(-1deg); }
.gallery-strip h2 { font-size: clamp(30px, 3.6vw, 48px); }
@media (max-width: 860px) { .gallery-strip { grid-template-columns: 1fr; gap: 28px; } }

.image-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.image-text--right .image-text__media { order: 2; }
.image-text__media img { border-radius: 24px; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1.5deg); }
.image-text h2 { font-size: clamp(30px, 3.4vw, 44px); }
.image-text__copy { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .image-text { grid-template-columns: 1fr; gap: 28px; } .image-text--right .image-text__media { order: 0; } }

.quote-block { text-align: center; padding: clamp(40px, 6vw, 64px) var(--gutter); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.quote-block .hand { font-size: clamp(28px, 4vw, 48px); line-height: 1.1; }
.quote-block cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; }

.value-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.value-card .hand { font-size: 30px; line-height: 1.05; }

.review { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.review__stars { display: flex; gap: 2px; color: var(--pink); }
.review p { font-size: 16px; }

.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.button-row--center { justify-content: center; }

.newsletter-block { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; padding: 36px; }
.newsletter-block form { display: flex; gap: 8px; width: 100%; max-width: 480px; }

.big-image figure { margin: 0; }
.big-image img { border-radius: 24px; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); width: 100%; }
.big-image figcaption { margin-top: 14px; font-family: var(--hand); font-size: 20px; color: var(--muted); }

/* ---------- page headers ---------- */
.page-head { padding: clamp(36px, 5vw, 56px) var(--gutter) 8px; display: flex; flex-direction: column; gap: 6px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); }
.page-head--ink { background: var(--ink); color: var(--paper); border-bottom: 3px solid var(--ink); padding-bottom: 28px; }

/* ---------- shop ---------- */
.shop-toolbar { padding: 8px var(--gutter) 20px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.shop-toolbar form { margin-left: auto; }
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding: 0 var(--gutter) clamp(40px, 6vw, 64px); align-items: flex-start; }
.filters { display: flex; flex-direction: column; gap: 22px; padding: 20px; }
.filters .label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.filters .label i { width: 10px; height: 10px; border-radius: 99px; border: 2px solid var(--ink); }
.filters a { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 15px; }
.filters a i { width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.filters a.is-active i { background: var(--ink); }
.aside-note { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.aside-note .hand { font-size: 24px; color: var(--sun); }
.empty { padding: 48px; text-align: center; }
@media (max-width: 860px) { .shop-layout { grid-template-columns: 1fr; } .filters { flex-direction: row; flex-wrap: wrap; gap: 24px; } .filters > div { min-width: 140px; } .aside-note { display: none; } }

/* product page */
.crumbs { padding: 20px var(--gutter) 0; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs b { color: var(--ink); }
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding: 24px var(--gutter) clamp(40px, 6vw, 64px); align-items: flex-start; }
.product__gallery { display: flex; flex-direction: column; gap: 16px; }
.product__main { padding: 0; overflow: hidden; position: relative; background: var(--white); }
.product__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product__main .product-card__placeholder { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--ink); font-size: 44px; }
.product__thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.product__thumbs button { width: 84px; height: 84px; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--white); padding: 0; cursor: pointer; }
.product__thumbs button.is-active { border-color: var(--pink); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info { display: flex; flex-direction: column; gap: 22px; }
.product__cat { font-size: 14px; font-weight: 700; color: var(--pink); letter-spacing: .04em; text-transform: uppercase; }
.product h1 { font-size: clamp(34px, 4vw, 52px); }
.product__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.product__price .display { font-size: 40px; }
.product__desc { font-size: 17px; color: #3a3540; }
.option-group { display: flex; flex-direction: column; gap: 10px; }
.option-group__head { display: flex; justify-content: space-between; }
.options { display: flex; gap: 8px; flex-wrap: wrap; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options label { cursor: pointer; }
.options input:checked + .chip { background: var(--ink); color: var(--paper); }
.options input:disabled + .chip { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 3px solid var(--ink); border-radius: 12px; background: var(--white); height: 56px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font: inherit; font-size: 20px; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; font: inherit; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex-grow: 1; }
.accordion { padding: 6px 20px; }
.accordion details { border-top: 2px solid var(--line); }
.accordion details:first-child { border-top: 0; }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { display: flex; align-items: center; gap: 10px; }
.accordion details[open] summary .chev { transform: rotate(180deg); }
.accordion .rich { padding-bottom: 14px; font-size: 15px; }
.soldout { padding: 14px 18px; border: 3px dashed var(--ink); border-radius: 12px; font-weight: 700; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 28px; } }

/* cart */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding: 24px var(--gutter) clamp(40px, 6vw, 64px); align-items: flex-start; }
.cart-lines { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-top: 20px; border-top: 2px solid var(--line); }
.cart-line:first-of-type { border-top: 0; padding-top: 0; }
.cart-line__media { width: 84px; height: 84px; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--ink); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__title { font-family: var(--display); font-weight: 600; font-size: 17px; }
.cart-line__meta { font-size: 13px; color: var(--muted); }
.cart-line__controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cart-line__controls .qty { height: 40px; } .cart-line__controls .qty button { width: 36px; } .cart-line__controls .qty input { width: 36px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; color: var(--muted); }
.cart-summary { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 15px; }
.cart-summary .row--total { font-family: var(--display); font-weight: 700; font-size: 22px; padding-top: 10px; border-top: 2px solid var(--line); }
.cart-summary .free { color: #2a9d4b; font-weight: 700; }
.cart-perk { padding: 18px 22px; display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.secure { font-size: 13px; color: var(--muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }

/* gallery */
.masonry { columns: 3; column-gap: 20px; padding: 40px var(--gutter) clamp(40px, 6vw, 64px); }
.masonry > * { break-inside: avoid; margin-bottom: 20px; }
.art { padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.art img { border-radius: 12px; border: 2px solid var(--ink); width: 100%; }
.art__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px 2px; font-weight: 700; font-size: 15px; }
.art__meta .small { font-weight: 500; }
@media (max-width: 960px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* success */
.success { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); display: flex; flex-direction: column; gap: 24px; text-align: center; align-items: center; }
.success h1 { font-size: clamp(40px, 5vw, 64px); }
.order-box { text-align: left; width: 100%; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.order-box .row { display: flex; justify-content: space-between; gap: 12px; }

/* search */
.search-form { display: flex; gap: 10px; max-width: 560px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 56px var(--gutter) 32px; border-top: 3px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { color: #c9c3cf; font-size: 15px; max-width: 280px; }
.footer-brand .logo-text { font-size: 36px; line-height: 1.05; letter-spacing: 0; }
.footer-brand .logo-text > span { -webkit-text-stroke: 0; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border: 2px solid var(--paper); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--paper); }
.socials a:hover { background: var(--pink); color: var(--ink); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--paper); } .footer-col a:hover { color: var(--sun); }
.footer-col .small { color: #c9c3cf; }
.subscribe { display: flex; gap: 8px; }
.subscribe .field { min-height: 44px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid #3a3540; font-size: 13px; color: #8f8899; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* small-screen tweaks */
@media (max-width: 640px) {
  .product-card__meta { flex-direction: column; gap: 4px; }
  .shop-toolbar .chip { display: none; }
  .shop-toolbar form { margin-left: 0; width: 100%; }
  .filters { flex-direction: column; }
}
