/* Настин Пряник — storefront. Tokens follow BRAND-AND-DESIGN-GUIDELINES §5. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191-2193, U+2212; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-cyrillic-wght-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --np-surface: #faf7f8;
  --np-soft: #ffeaee;
  --np-accent: #fa94a9;
  --np-accent-strong: #ef718c;
  --np-on-accent: #4c3238;
  --np-powder: #febcca;
  --np-ink: #4c3238;
  --np-text: #444;
  --np-muted: #806a70;
  --np-link: #b54861;
  --np-link-hover: #8f2f47;
  --np-card: #fff;
  --np-blue-soft: #eaf2fb;
  --np-line: rgba(76, 50, 56, 0.1);
  --np-shadow: 0 12px 32px rgba(76, 50, 56, 0.08);
  --np-r-card: 30px;
  --np-r-photo: 22px;
  --np-r-pill: 999px;
  --np-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --np-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --np-wrap: 1240px;
  /* Season layer: an occasion theme overrides these (theme engine, block 06). */
  --np-season: var(--np-ink);
  --np-season-ink: #fff;
  --np-season-soft: rgba(255, 255, 255, 0.1);
  --np-season-accent: var(--np-powder);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--np-surface); color: var(--np-text); font: 400 16px/1.55 var(--np-ui); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--np-link); text-underline-offset: 4px; }
a:hover { color: var(--np-link-hover); }
:focus-visible { outline: 3px solid var(--np-accent-strong); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--np-ink); font-family: var(--np-display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; }
h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; }
main { display: block; min-height: 50vh; }

.wrap { width: min(var(--np-wrap), calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--np-ink); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }
.eyebrow { margin: 0 0 12px; color: var(--np-link); font: 600 12px/1.3 var(--np-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.lead { max-width: 640px; margin: 14px 0 0; color: var(--np-muted); font-size: 18px; }
.lead p { margin: 0 0 8px; }

/* ---------- buttons, pills, chips ---------- */

.btn, .button, button.single_add_to_cart_button, .wc-block-components-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--np-r-pill);
  background: var(--np-accent); color: var(--np-on-accent); font: 600 16px/1 var(--np-ui);
  text-decoration: none; cursor: pointer; transition: background 0.18s;
}
.btn:hover, .button:hover, button.single_add_to_cart_button:hover { background: var(--np-accent-strong); color: var(--np-on-accent); }
.btn--ghost { background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); color: var(--np-ink); }
.btn--ghost:hover { background: var(--np-soft); color: var(--np-ink); }
.btn--quiet { background: none; box-shadow: inset 0 0 0 1px currentColor; color: inherit; }
.btn--quiet:hover { background: var(--np-season-soft); color: inherit; }
.btn[disabled], .button.disabled, .button:disabled { opacity: 0.5; cursor: not-allowed; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--np-r-pill); background: var(--np-soft); color: var(--np-ink); font: 600 12px/1.2 var(--np-ui); text-decoration: none; }
.pill--stock { background: #e6f4ec; color: #24603f; }
.pill--order { background: var(--np-soft); color: var(--np-ink); }
.pill--soon { background: var(--np-blue-soft); color: #2f4d6e; }
.pill--muted { background: #f1ecee; color: var(--np-muted); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chips a { padding: 11px 18px; border-radius: var(--np-r-pill); background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); color: var(--np-ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.chips a:hover, .chips a[aria-current] { background: var(--np-ink); box-shadow: none; color: #fff; }
.chips a span { margin-left: 4px; font-weight: 400; opacity: 0.6; }

/* ---------- header ---------- */

.ribbon { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; padding: 8px 16px; background: var(--np-ink); color: #fff; font-size: 14px; text-align: center; text-decoration: none; }
.ribbon:hover { color: #fff; }
.ribbon b { display: inline-flex; align-items: center; gap: 4px; color: var(--np-powder); font-weight: 600; white-space: nowrap; }
.ribbon svg { width: 16px; height: 16px; }

.hdr { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--np-line); background: rgba(250, 247, 248, 0.92); backdrop-filter: blur(10px); }
.hdr__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--np-ink); text-decoration: none; }
.logo img { width: 46px; height: 46px; object-fit: contain; }
.logo b { display: block; font: 500 18px/1.05 var(--np-display); white-space: nowrap; }
.logo small { color: var(--np-muted); font-size: 12px; white-space: nowrap; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 10px 14px; border-radius: var(--np-r-pill); color: var(--np-ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--np-card); }
.nav a.is-open::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--np-accent-strong); vertical-align: middle; }
.hdr__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; min-width: 240px; padding: 0 16px; border-radius: var(--np-r-pill); background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); color: var(--np-muted); }
.search input[type="search"] { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; font-size: 14px; }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--np-accent-strong); }
.icon-btn { position: relative; display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); color: var(--np-ink); cursor: pointer; }
.icon-btn:hover { background: var(--np-soft); color: var(--np-ink); }
.icon-btn i { position: absolute; right: -4px; top: -4px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--np-accent-strong); color: #fff; font: 600 11px/1 var(--np-ui); font-style: normal; }
.hdr__burger { display: none; }
.mnav { border-top: 1px solid var(--np-line); padding: 16px 0 20px; }
.mnav[hidden] { display: none; }
.mnav .search { width: 100%; margin-bottom: 12px; }
.mnav nav { display: grid; }
.mnav nav a { padding: 14px 4px; border-bottom: 1px solid var(--np-line); color: var(--np-ink); font-size: 17px; font-weight: 500; text-decoration: none; }

/* ---------- page scaffolding ---------- */

.page { padding: 28px 0 72px; }
.page__head { margin-bottom: 28px; }
.sec { padding: 56px 0 0; }
.sec--narrow { max-width: 760px; }
.sec--narrow h2 { margin-bottom: 16px; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sec__head p { margin: 8px 0 0; color: var(--np-muted); }
.sec__more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--np-muted); font-size: 14px; }
.crumbs a { color: var(--np-muted); text-decoration: none; }
.crumbs a:hover { color: var(--np-link); }
.empty { padding: 56px 24px; border-radius: var(--np-r-card); background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); text-align: center; }
.empty h1 { margin-bottom: 12px; }
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 24px; }
.prose h2, .prose h3 { margin: 28px 0 12px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose img { border-radius: var(--np-r-photo); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; color: var(--np-muted); font-size: 14px; }
.toolbar p { margin: 0; }
.toolbar select, .quantity input, .prose input[type="text"], .prose input[type="email"], .prose input[type="tel"], .prose input[type="password"], .prose textarea, .prose select {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--np-line); border-radius: 14px; background: var(--np-card);
}
.prose textarea { padding: 12px 14px; }

.pager, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 36px 0 0; padding: 0; list-style: none; }
.pager a, .woocommerce-pagination .page-numbers li > * { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--np-r-pill); background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); color: var(--np-ink); font-weight: 500; text-decoration: none; }
.pager a[aria-current], .woocommerce-pagination .page-numbers .current { background: var(--np-ink); box-shadow: none; color: #fff; }

/* ---------- product cards: portrait photo, two-line title, equal heights ---------- */

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 22px; background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--np-line), var(--np-shadow); }
.card__img { position: relative; display: block; flex: none; aspect-ratio: 3 / 4; overflow: hidden; background: var(--np-soft); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__img .pill { position: absolute; left: 12px; top: 12px; z-index: 1; }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 16px; }
.card h3 { display: -webkit-box; min-height: 2.7em; overflow: hidden; color: var(--np-ink); font: 500 15px/1.35 var(--np-ui); letter-spacing: 0; text-wrap: wrap; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card h3 a { color: inherit; text-decoration: none; }
.card__meta { min-height: 1.5em; margin: 4px 0 0; color: var(--np-muted); font-size: 13px; }
.card .price { margin: 10px 0 12px; }
.card__add { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: auto; }
.card .btn { min-height: 44px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.card__more { margin-top: auto; }
.card__add.is-added .btn { background: var(--np-ink); color: #fff; }
.stepper { display: flex; align-items: center; height: 44px; border-radius: var(--np-r-pill); background: var(--np-surface); box-shadow: inset 0 0 0 1px var(--np-line); }
.stepper button { width: 34px; height: 44px; padding: 0; border: 0; border-radius: var(--np-r-pill); background: none; color: var(--np-ink); font-size: 18px; line-height: 1; cursor: pointer; }
.stepper button:hover { background: var(--np-soft); }
.stepper input { width: 34px; height: 44px; padding: 0; border: 0; background: none; color: var(--np-ink); font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.price { color: var(--np-ink); font: 700 20px/1 var(--np-ui); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { margin-left: 4px; color: var(--np-muted); font: 500 13px var(--np-ui); }
.price--big { margin: 14px 0 0; font-size: 32px; }

/* ---------- season storefront ---------- */

.s-hero { position: relative; overflow: hidden; background: var(--np-season); color: var(--np-season-ink); }
.s-hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.s-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; padding-block: 72px 96px; }
.s-hero__inner:not(:has(.s-hero__visual)) { grid-template-columns: 1fr; }
.s-hero .eyebrow { color: var(--np-season-accent); }
.s-hero .eyebrow span { opacity: 0.8; }
.s-hero h1 { margin-bottom: 20px; color: var(--np-season-ink); font-size: clamp(40px, 5.4vw, 78px); line-height: 1.02; }
.s-hero h1 em { color: var(--np-season-accent); }
.s-hero__lead { max-width: 520px; margin: 0 0 28px; font-size: 18px; opacity: 0.86; }
.s-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.s-hero__visual { position: relative; justify-self: end; width: min(100%, 440px); }
.s-hero__visual img { width: 100%; aspect-ratio: 4 / 5; border-radius: 28px; object-fit: cover; }
.s-hero__edge { display: none; }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; max-width: 620px; margin: 0; }
.terms > div { padding: 14px 16px; border-radius: 18px; background: var(--np-season-soft); }
.terms dt { margin-bottom: 4px; font-size: 12px; opacity: 0.72; }
.terms dd { margin: 0; font: 600 16px/1.25 var(--np-ui); }
.terms--light { max-width: none; }
.terms--light > div { background: var(--np-surface); }
.terms--light dt { color: var(--np-muted); opacity: 1; }
.terms--light dd { color: var(--np-ink); }

/* Entries into the collection: small portrait tiles with the section's first photo. */
.entries { display: flex; gap: 20px; margin-top: 48px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.entry { display: grid; flex: 1 0 132px; gap: 4px; max-width: 190px; justify-items: center; color: var(--np-ink); text-align: center; text-decoration: none; }
.entry__img { display: block; width: 100%; aspect-ratio: 3 / 4; margin-bottom: 8px; overflow: hidden; border-radius: 18px; background: var(--np-soft); box-shadow: inset 0 0 0 1px var(--np-line); transition: transform 0.25s; }
.entry:hover .entry__img, .entry.is-current .entry__img { transform: translateY(-4px); }
.entry__img img { width: 100%; height: 100%; object-fit: cover; }
.entry b { font: 500 16px/1.25 var(--np-ui); }
.entry small { color: var(--np-muted); font-size: 13px; }
.entry.is-current b { color: var(--np-link); }

.how { margin-top: 72px; padding-block: 64px; background: var(--np-soft); }
.how h2 { margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; counter-reset: step; list-style: none; }
.steps li { padding: 26px 22px; border-radius: 22px; background: var(--np-card); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--np-soft); color: var(--np-ink); font: 400 22px/1 var(--np-display); }
.steps h3 { margin-bottom: 6px; font: 600 17px/1.3 var(--np-ui); letter-spacing: 0; }
.steps p { margin: 0; color: var(--np-muted); font-size: 14px; }
.how + .ftr { margin-top: 0; }

/* ---------- product page: title and buy box beside the photos ---------- */

.pdp { padding-block: 20px 72px; }
.pdp__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.pdp__nav .crumbs { margin: 0; }
.pdp__back { color: var(--np-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.pdp__back:hover { color: var(--np-link); }
.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-areas: "gallery title" "gallery decision";
  grid-template-rows: auto 1fr;
  gap: 20px 56px;
  align-items: start;
}
.pdp__title { grid-area: title; padding-top: 6px; }
.pdp__eyebrow { display: inline-block; margin-bottom: 12px; color: var(--np-link); font: 600 12px/1.3 var(--np-ui); letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; }
.pdp__title h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }
.pdp__intro { max-width: 46ch; margin: 14px 0 0; color: var(--np-muted); font-size: 17px; }
.pdp__details-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
.pdp__gallery { grid-area: gallery; position: sticky; top: 100px; min-width: 0; }
.pdp__nophoto { display: grid; place-items: center; color: var(--np-muted); }
.pdp__decision { grid-area: decision; min-width: 0; }

.buy { display: grid; gap: 18px; padding: 26px; border-radius: 26px; background: var(--np-card); box-shadow: var(--np-shadow); }
.buy__state { display: flex; align-items: center; gap: 8px; margin: 0; color: #1f6b4a; font-size: 14px; font-weight: 600; }
.buy--closed .buy__state { color: var(--np-muted); }
.buy__price { margin: -6px 0 0; color: var(--np-ink); font: 700 36px/1 var(--np-ui); font-variant-numeric: tabular-nums; }
.buy__price small { color: var(--np-muted); font: 500 15px var(--np-ui); }
.buy__price--muted { color: var(--np-muted); font-size: 26px; }
.buy__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0; }
.buy__facts > div { padding: 12px 14px; border-radius: 16px; background: var(--np-surface); }
.buy__facts dt { color: var(--np-muted); font-size: 12px; }
.buy__facts dd { margin: 2px 0 0; color: var(--np-ink); font-weight: 600; }
.buy__form { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buy__form .btn { min-height: 56px; font-size: 17px; }
.buy__form.is-added .btn { background: var(--np-ink); color: #fff; }
.buy__cart { margin: -6px 0 0; font-weight: 600; }
.buy__note { margin: 0; color: var(--np-muted); font-size: 14px; }
.buy h2 { font-size: 28px; }
.buy p { margin: 0; }
.buy__address { color: var(--np-ink); font-weight: 600; }
.stepper--big { height: 56px; }
.stepper--big button { width: 44px; height: 56px; font-size: 22px; }
.stepper--big input { width: 48px; height: 56px; font-size: 18px; }

.pdp__details { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 20px 56px; align-items: start; margin-top: clamp(40px, 6vw, 80px); }
.pdp__details > h2 { grid-column: 1 / -1; }
.pdp__story { display: grid; gap: 28px; min-width: 0; }
.pdp__story .prose { font-size: 16px; }
.pdp__folds { min-width: 0; }
.pdp__story:empty { display: none; }
.pdp__story:empty + .pdp__folds { grid-column: 1; }
.fold { border-top: 1px solid var(--np-line); }
.fold:last-child { border-bottom: 1px solid var(--np-line); }
.fold summary { min-height: 48px; padding: 14px 0; color: var(--np-ink); font-weight: 600; cursor: pointer; }
.fold .prose { padding-bottom: 16px; font-size: 15px; }
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
.story--flip .story__copy { order: 2; }
.story--text { grid-template-columns: 1fr; }
.story__copy h3 { margin-bottom: 8px; font-size: 24px; }
.story__copy p { margin: 0 0 10px; }
.story__photo { margin: 0; overflow: hidden; border-radius: var(--np-r-photo); aspect-ratio: 4 / 5; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- catalog ---------- */

.catalog__head { padding-block: 24px 4px; }
.catalog__head h1 { font-size: clamp(36px, 4.4vw, 60px); }
.catalog__count { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; color: var(--np-muted); font-size: 15px; }
.catalog__count > span, .sec__note { display: inline-flex; align-items: center; gap: 8px; color: #1f6b4a; font-weight: 500; }
.sec__note { margin: 8px 0 0; font-size: 14px; }
.catalog .entries { margin-top: 28px; }

/* ---------- home placeholder ---------- */

.home-hero { padding: 64px 0 8px; }
.home-hero h1 { max-width: 780px; }
.home-hero .lead { margin-bottom: 24px; }
.seasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.season-card { display: grid; gap: 10px; align-content: start; justify-items: start; min-height: 170px; padding: 24px; border-radius: var(--np-r-card); background: var(--np-season); color: var(--np-season-ink); text-decoration: none; }
.season-card:hover { color: var(--np-season-ink); filter: brightness(1.08); }
.season-card strong { font: 400 28px/1.1 var(--np-display); }
.season-card > span:last-child { opacity: 0.8; }

/* ---------- WooCommerce messages ---------- */

.woocommerce-message, .woocommerce-info, .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; padding: 14px 18px; border-radius: 18px; background: var(--np-blue-soft); color: var(--np-ink); list-style: none; }
.woocommerce-error { background: #fdecea; }
.woocommerce-message .button { min-height: 40px; margin-left: auto; padding: 0 18px; font-size: 14px; order: 2; }

/* ---------- cart ---------- */

.page--shop .shop-page > h1 { margin-bottom: 24px; }
.cart-page { display: grid; gap: 20px; }
.cart-page.is-saving { opacity: 0.6; pointer-events: none; }
.cart-intro h2 { font-size: clamp(24px, 2.6vw, 32px); }
.cart-intro p { max-width: 640px; margin: 8px 0 0; color: var(--np-muted); }
.cart-groups { display: grid; gap: 20px; }
.cart-group { overflow: hidden; border-radius: 26px; background: var(--np-card); box-shadow: var(--np-shadow); }
.cart-group__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; padding: 22px 26px 16px; }
.cart-group__head .eyebrow { margin-bottom: 4px; }
.cart-group__head h2 { font-size: 26px; }
.cart-group__pickup { display: grid; margin: 0; padding: 10px 16px; border-radius: 16px; background: var(--np-surface); }
.cart-group__pickup small, .cart-group__total small { color: var(--np-muted); font-size: 12px; }
.cart-group__pickup b { color: var(--np-ink); }
.cart-lines { margin: 0; padding: 0; list-style: none; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 110px 32px; align-items: center; gap: 16px; padding: 14px 26px; border-top: 1px solid var(--np-line); }
.cart-line__img { display: block; width: 72px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: var(--np-soft); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { display: grid; gap: 2px; min-width: 0; }
.cart-line__name a { color: var(--np-ink); font-weight: 500; text-decoration: none; }
.cart-line__name small { color: var(--np-muted); font-size: 13px; }
.cart-line__sum { color: var(--np-ink); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.cart-line__remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--np-muted); font-size: 20px; text-decoration: none; }
.cart-line__remove:hover { background: var(--np-soft); color: var(--np-link); }
.cart-group__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px 22px; border-top: 1px solid var(--np-line); background: var(--np-surface); }
.cart-group__total { display: grid; gap: 2px; }
.cart-group__total b { color: var(--np-ink); font: 700 26px/1.1 var(--np-ui); font-variant-numeric: tabular-nums; }
.cart-group__warn { color: var(--np-link); font-size: 14px; }
.btn.is-disabled, .btn:disabled { opacity: 0.45; pointer-events: none; }
.cart-held { padding: 18px 22px; border-radius: 22px; background: var(--np-soft); }
.cart-held h2 { margin-bottom: 8px; font-size: 20px; }
.cart-held ul { display: grid; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.cart-held li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.cart-held p { margin: 0; color: var(--np-muted); font-size: 14px; }
.cart-page__note { margin: 0; color: var(--np-muted); font-size: 14px; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- checkout ---------- */

.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); grid-template-areas: "customer review-title" "customer review"; gap: 0 40px; align-items: start; }
.woocommerce-checkout #customer_details { grid-area: customer; }
.woocommerce-checkout #order_review_heading { grid-area: review-title; margin: 0 0 14px; font-size: 26px; }
.woocommerce-checkout #order_review { grid-area: review; padding: 22px; border-radius: 26px; background: var(--np-card); box-shadow: var(--np-shadow); }
.checkout-terms { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.checkout-terms p { display: grid; margin: 0; padding: 12px 16px; border-radius: 16px; background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); }
.checkout-terms small { color: var(--np-muted); font-size: 12px; }
.checkout-terms b { color: var(--np-ink); }
.checkout-terms__note { margin: 0 0 24px; color: var(--np-muted); font-size: 14px; }
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3 { margin: 0 0 14px; font-size: 22px; }
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-row { display: grid; gap: 6px; margin: 0 0 14px; }
.form-row-wide, .woocommerce-additional-fields .form-row { grid-column: 1 / -1; }
.form-row label { color: var(--np-ink); font-size: 14px; font-weight: 500; }
.form-row .required { color: var(--np-link); text-decoration: none; }
.form-row .optional { color: var(--np-muted); font-weight: 400; }
.form-row input.input-text, .form-row textarea, .form-row select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--np-line); border-radius: 14px; background: var(--np-card); }
.form-row textarea { min-height: 96px; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--np-accent); outline: 2px solid transparent; box-shadow: 0 0 0 3px color-mix(in srgb, var(--np-accent) 25%, transparent); }
.form-row.woocommerce-invalid input { border-color: var(--np-link); }
.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
.shop_table th, .shop_table td { padding: 10px 0; border-bottom: 1px solid var(--np-line); text-align: left; vertical-align: top; }
.shop_table td:last-child, .shop_table th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop_table .order-total th, .shop_table .order-total td { border-bottom: 0; color: var(--np-ink); font-size: 20px; }
.shop_table .product-quantity { color: var(--np-muted); font-weight: 400; }
.shop_table .wc-item-meta, .shop_table dl.variation { margin: 4px 0 0; padding: 0; color: var(--np-muted); font-size: 13px; list-style: none; }
.shop_table dl.variation dt, .shop_table dl.variation dd, .wc-item-meta li, .wc-item-meta p { display: inline; margin: 0; }
#payment ul.payment_methods { margin: 16px 0; padding: 0; list-style: none; }
#payment .payment_box { margin-top: 6px; color: var(--np-muted); font-size: 14px; }
#payment .place-order { display: grid; gap: 12px; margin: 0; }
#payment #place_order { width: 100%; min-height: 56px; font-size: 17px; }
.woocommerce-terms-and-conditions-wrapper, .woocommerce-privacy-policy-text { color: var(--np-muted); font-size: 13px; }

/* ---------- order received ---------- */

.woocommerce-order { display: grid; gap: 24px; }
.woocommerce-thankyou-order-received { margin: 0; color: var(--np-ink); font: 400 clamp(24px, 3vw, 34px)/1.2 var(--np-display); }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.woocommerce-order-overview li { display: grid; padding: 12px 16px; border-radius: 16px; background: var(--np-card); box-shadow: inset 0 0 0 1px var(--np-line); color: var(--np-muted); font-size: 12px; }
.woocommerce-order-overview li strong { color: var(--np-ink); font-size: 16px; }
.woocommerce-order-details, .woocommerce-customer-details { padding: 22px; border-radius: 26px; background: var(--np-card); box-shadow: var(--np-shadow); }
.woocommerce-order-details h2, .woocommerce-customer-details h2 { margin-bottom: 12px; font-size: 24px; }
.woocommerce-customer-details address { font-style: normal; }
.next h2 { margin-bottom: 14px; font-size: 26px; }
.steps--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--compact li { box-shadow: inset 0 0 0 1px var(--np-line); }
.remaining { display: grid; gap: 10px; justify-items: start; padding: 24px; border-radius: 26px; background: var(--np-soft); }
.remaining h2 { font-size: 26px; }
.remaining p { margin: 0; }

/* ---------- footer ---------- */

.ftr { margin-top: 72px; padding: 56px 0 32px; background: var(--np-ink); color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr .eyebrow { color: var(--np-powder); }
.ftr h2 { margin-bottom: 12px; color: #fff; font-size: 30px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ftr address { font-style: normal; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .nav, .hdr__tools > .search { display: none; }
  .hdr__burger { display: grid; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-hero__inner { grid-template-columns: 1fr; gap: 36px; padding-block: 48px 72px; }
  .s-hero__visual { justify-self: center; width: min(100%, 360px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp__grid, .pdp__details { gap: 20px 32px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hdr__bar { min-height: 64px; gap: 12px; }
  .logo img { width: 40px; height: 40px; }
  .logo small { display: none; }
  .ribbon { font-size: 13px; }
  .page { padding: 20px 0 48px; }
  .sec { padding-top: 40px; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 18px; }
  .card__body { padding: 12px; }
  .card h3 { font-size: 14px; }
  .card__add { grid-template-columns: 1fr; }
  .stepper { justify-content: space-between; }
  .stepper input { flex: 1; }
  .price { font-size: 18px; }
  .price--big { font-size: 28px; }
  .chips { flex-wrap: nowrap; margin: 0 -16px 20px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  .chips a { flex: none; }
  .s-hero__inner { gap: 28px; padding-block: 32px 60px; }
  .s-hero__visual { width: min(78%, 300px); }
  .s-hero__lead { margin-bottom: 20px; font-size: 16px; }
  .s-hero__cta .btn { flex: 1 1 100%; }
  .entries { gap: 14px; margin: 32px -16px 0; padding-inline: 16px; }
  .entry { flex: 0 0 112px; }
  .how { margin-top: 48px; padding-block: 44px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .steps li::before { grid-row: 1 / 3; margin: 0; }
  .terms { grid-template-columns: 1fr 1fr; gap: 6px; }
  .terms > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .terms > div { padding: 10px 12px; border-radius: 14px; }
  .terms dd { font-size: 14px; }
  .pdp { padding-top: 12px; }
  .pdp__nav { margin-bottom: 14px; }
  .pdp__nav .crumbs { display: none; }
  .pdp__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "gallery" "decision"; gap: 16px; }
  .pdp__gallery { position: static; margin-inline: -16px; }
  .pdp__intro { font-size: 15px; }
  .buy { padding: 18px; border-radius: 22px; }
  .buy__price { font-size: 30px; }
  .buy__form { grid-template-columns: 1fr; }
  .stepper--big { justify-content: space-between; }
  .stepper--big input { flex: 1; }
  .pdp__details { grid-template-columns: minmax(0, 1fr); }
  .pdp__story:empty + .pdp__folds { grid-column: auto; }
  .story, .story--flip { grid-template-columns: 1fr; }
  .story--flip .story__copy { order: 0; }
  .catalog__head { padding-top: 16px; }
  .cart-group__head, .cart-group__foot { padding-inline: 16px; }
  .cart-line { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "img name remove" "img qty sum"; gap: 8px 12px; padding: 14px 16px; }
  .cart-line__img { grid-area: img; width: 56px; }
  .cart-line__name { grid-area: name; }
  .cart-line .stepper { grid-area: qty; justify-self: start; }
  .cart-line__sum { grid-area: sum; align-self: center; }
  .cart-line__remove { grid-area: remove; justify-self: end; width: 28px; height: 28px; }
  .cart-group__foot .btn { width: 100%; }
  .woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "customer" "review-title" "review"; }
  .woocommerce-checkout #order_review_heading { margin-top: 12px; }
  .woocommerce-checkout #order_review { padding: 16px; }
  .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .steps--compact { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .home-hero { padding-top: 36px; }
  .ftr { margin-top: 48px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
