/*
Theme Name: PURELEI
Theme URI: https://purelei.com
Description: PURELEI Schmuck – eigenständiges WooCommerce-Theme für den deutschen Store (Startentwurf, Inhalte aus dem Quellshop).
Author: PURELEI
Version: 1.0.0
Requires at least: 7.1
Requires PHP: 8.1
Text Domain: purelei
WC requires at least: 9.0
WC tested up to: 11.2
*/

:root {
  --burgundy: #5c1a2c;
  --burgundy-deep: #400f1f;
  --burgundy-soft: #7a3040;
  --cream: #fbf8f5;
  --sand: #f2eae3;
  --ink: #241f21;
  --muted: #6f6660;
  --line: #e4dad3;
  --gold: #b08d57;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1440px;
  --gutter: clamp(16px, 3vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--burgundy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(30px, 4vw, 54px); }
h2 { font-size: clamp(24px, 2.6vw, 38px); }
h3 { font-size: clamp(19px, 1.6vw, 24px); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 9999; background: var(--white);
  padding: 10px 16px; border: 1px solid var(--ink); width: auto; height: auto; clip: auto;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.site-main { min-height: 50vh; }
.text-center { text-align: center; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- buttons ---------- */
.btn, .button, button.button, input[type="submit"], .wp-block-button__link {
  display: inline-block; border: 1px solid var(--burgundy); background: var(--burgundy);
  color: var(--white); padding: 13px 30px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; cursor: pointer; transition: background .2s ease, color .2s ease; border-radius: 0;
}
.btn:hover, .button:hover, button.button:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
  background: var(--burgundy-deep); color: var(--white);
}
.btn--light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--burgundy); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--block { display: block; width: 100%; text-align: center; }

/* ---------- announcement ---------- */
.announcement {
  background: var(--burgundy-deep); color: #f6e9e2; text-align: center;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 9px 16px;
}
.announcement a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.header-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding: 18px var(--gutter); max-width: var(--wrap); margin: 0 auto;
}
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: .3em; text-transform: uppercase; margin: 0; line-height: 1; }
.brand img { max-height: 34px; width: auto; }
.primary-nav { justify-self: center; }
.primary-nav ul { list-style: none; display: flex; gap: clamp(14px, 2vw, 32px); margin: 0; padding: 0; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: inline-block; padding: 10px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.primary-nav > ul > li > a::after {
  content: ""; display: block; height: 1px; background: currentColor; transform: scaleX(0);
  transition: transform .2s ease; margin-top: 4px;
}
.primary-nav > ul > li:hover > a::after,
.primary-nav > ul > li.current-menu-item > a::after { transform: scaleX(1); }
.primary-nav .sub-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line); padding: 14px 20px; min-width: 210px;
  display: none; flex-direction: column; gap: 2px; box-shadow: 0 18px 40px rgba(36, 31, 33, .08);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: flex; }
.primary-nav .sub-menu a { padding: 6px 0; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.header-actions a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .08em; }
.header-actions svg { width: 20px; height: 20px; }
.search-toggle { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 0; color: inherit; font-size: 12px; letter-spacing: .08em; }
.search-panel { background: var(--sand); border-top: 1px solid var(--line); }
.search-panel form { display: flex; gap: 10px; align-items: center; padding: 14px var(--gutter); }
.search-panel input[type="search"] { flex: 1; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); }
.cart-count {
  min-width: 18px; height: 18px; border-radius: 50%; background: var(--burgundy); color: var(--white);
  font-size: 10px; line-height: 18px; text-align: center; display: inline-block; padding: 0 4px;
}
.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav-close { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }

/* category circles */
.story-menu { background: var(--white); padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.story-menu ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: clamp(14px, 3vw, 44px); justify-content: center; max-width: 1100px; overflow-x: auto; }
.story-menu li { text-align: center; flex: 0 0 auto; }
.story-menu a { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.story-menu .circle {
  width: clamp(56px, 6vw, 78px); height: clamp(56px, 6vw, 78px); border-radius: 50%;
  background: var(--sand) center/cover no-repeat; margin: 0 auto 8px; border: 1px solid var(--line);
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: flex-end;
  background: var(--burgundy) center/cover no-repeat; color: var(--white); overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(64, 15, 31, .1) 0%, rgba(64, 15, 31, .55) 100%); }
.hero__inner { position: relative; z-index: 2; padding: clamp(28px, 5vw, 64px) var(--gutter); max-width: var(--wrap); margin: 0 auto; width: 100%; }
.hero h1 { font-size: clamp(34px, 5.2vw, 68px); margin-bottom: 12px; color: var(--white); }
.hero p { max-width: 520px; font-size: clamp(14px, 1.3vw, 17px); color: #f4e7e0; }
.hero .btn { margin-top: 14px; }
.hero__badge {
  position: absolute; top: 24px; right: var(--gutter); z-index: 2; width: 124px; height: 124px; border-radius: 50%;
  background: #f3cdd6; color: var(--burgundy-deep); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; font-size: 11px; line-height: 1.35; letter-spacing: .04em;
}
.hero__badge strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }

/* ---------- sections ---------- */
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section--tight { padding: clamp(26px, 3vw, 44px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--burgundy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head .link-more { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ---------- USPs ---------- */
.usp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.usp { background: var(--white); padding: 20px 16px; text-align: center; }
.usp svg { width: 24px; height: 24px; margin: 0 auto 8px; display: block; }
.usp strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.usp span { font-size: 12px; color: var(--muted); }

/* ---------- product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); list-style: none; margin: 0; padding: 0; }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card__media { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; }
.badge {
  background: var(--white); color: var(--ink); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 7px; display: inline-block;
}
.badge--sale { background: var(--burgundy); color: var(--white); }
.product-card__wish { position: absolute; right: 8px; top: 8px; background: none; border: 0; cursor: pointer; padding: 4px; }
.product-card__body { padding: 12px 0 0; }
.product-card__title { font-size: 13px; font-weight: 400; letter-spacing: .01em; margin: 0 0 4px; }
.product-card__price { font-size: 13px; }
.product-card__price del { color: var(--muted); margin-right: 6px; }
.product-card__price ins { text-decoration: none; }
.product-card__swatches { display: flex; gap: 5px; margin-top: 7px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); display: inline-block; }
.product-card .add_to_cart_button, .product-card .button { display: none; }
.product-card:hover .product-card__quick { opacity: 1; }

/* ---------- collection tiles ---------- */
.tile-grid { display: grid; gap: clamp(10px, 1.4vw, 20px); }
.tile-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tile-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; overflow: hidden; background: var(--burgundy) center/cover no-repeat; color: var(--white); display: flex; align-items: flex-end; min-height: 220px; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 31, 33, 0) 40%, rgba(36, 31, 33, .55) 100%); }
.tile--tall { min-height: 380px; }
.tile__text { position: relative; z-index: 2; padding: 22px; }
.tile__text h3 { margin: 0 0 4px; color: var(--white); }
.tile__text .link-more { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

/* ---------- editorial band ---------- */
.editorial { position: relative; background: var(--burgundy) center/cover no-repeat; color: var(--white); text-align: center; padding: clamp(56px, 9vw, 120px) var(--gutter); }
.editorial::after { content: ""; position: absolute; inset: 0; background: rgba(64, 15, 31, .55); }
.editorial > * { position: relative; z-index: 2; }
.editorial h2 { color: var(--white); font-size: clamp(28px, 4vw, 46px); }
.editorial .btn { margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--sand); margin-top: 0; padding-top: clamp(36px, 5vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); padding-bottom: 40px; }
.footer-brand .brand { font-size: 22px; margin-bottom: 14px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); max-width: 280px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a, .footer-col span { font-size: 13px; color: var(--ink); }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 0 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); }

/* ---------- breadcrumbs / page ---------- */
.breadcrumbs { padding: 14px 0; font-size: 11.5px; color: var(--muted); }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero { padding: clamp(30px, 5vw, 60px) 0 10px; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero .lead { max-width: 700px; color: var(--muted); }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 10px 0 clamp(40px, 6vw, 80px); }
.legal-nav { position: sticky; top: 20px; align-self: start; border-top: 1px solid var(--line); padding-top: 16px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; }
.legal-nav a { display: block; padding: 7px 0; font-size: 13px; color: var(--muted); }
.legal-nav a:hover, .legal-nav .current-menu-item a { color: var(--ink); }
.legal-body { max-width: 820px; font-size: 14.5px; }
.legal-body h2 { margin-top: 1.6em; font-size: 24px; }
.legal-body h3 { margin-top: 1.4em; font-size: 19px; }
.legal-body ul, .legal-body ol { margin: 0 0 1.2em 1.1em; padding: 0; }
.legal-body li { margin-bottom: .4em; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 13.5px; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

@media (max-width: 860px) {
  .legal-body table { display: block; overflow-x: auto; white-space: normal; }
  .legal-body { overflow-wrap: anywhere; }
}

/* ---------- WooCommerce: loop ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); margin: 0 0 32px; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product { width: 100% !important; margin: 0 !important; padding: 0; float: none; text-align: left; position: relative; }
.woocommerce ul.products li.product a img { margin: 0 0 10px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; font-family: var(--sans); font-weight: 400; padding: 0; }
.woocommerce ul.products li.product .price { font-size: 13px; color: var(--ink); }
.woocommerce ul.products li.product .price del { color: var(--muted); }
.woocommerce ul.products li.product .price ins { text-decoration: none; font-weight: 400; }
.woocommerce ul.products li.product .button { display: none; }
.woocommerce span.onsale {
  position: absolute; left: 8px; top: 8px; right: auto; min-height: 0; min-width: 0; padding: 4px 7px;
  background: var(--burgundy); color: var(--white); border-radius: 0; font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.4; z-index: 3;
}
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { font-size: 12.5px; color: var(--muted); }
.woocommerce .woocommerce-ordering select { padding: 9px 12px; border: 1px solid var(--line); background: var(--white); }

/* ---------- archive header ---------- */
.archive-head { padding: 26px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.archive-head h1 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 6px; }
.archive-head .term-description { max-width: 760px; color: var(--muted); font-size: 14px; }
.archive-head .term-description p { margin-bottom: .6em; }

/* ---------- single product ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none; }
.woocommerce div.product .summary { margin: 0 !important; float: none; width: 100% !important; position: sticky; top: 18px; }
.woocommerce div.product .woocommerce-product-gallery__image img { width: 100%; }
.woocommerce div.product .woocommerce-product-gallery .flex-viewport { background: var(--sand); }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 72px; float: none; margin: 0; }
.woocommerce div.product .product_title { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 6px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.woocommerce div.product p.price del { color: var(--muted); font-size: 15px; }
.woocommerce div.product p.price ins { text-decoration: none; font-weight: 400; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; padding: 0; }
.woocommerce div.product form.cart .quantity { display: inline-flex; border: 1px solid var(--ink); }
.woocommerce div.product form.cart .quantity input { width: 52px; border: 0; text-align: center; padding: 12px 0; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 200px; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 12px; }
.woocommerce div.product form.cart .variations td { padding: 6px 0; display: block; }
.woocommerce div.product form.cart .variations th { text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce div.product form.cart .variations select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); background: var(--white); }
.woocommerce div.product form.cart .reset_variations { font-size: 12px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 18px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--burgundy); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 0; margin: 0; font-size: 14px; }
.woocommerce div.product .woocommerce-tabs::before, .woocommerce div.product .woocommerce-tabs::after { content: none; }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 10px; grid-column: 1 / -1; margin-top: 8px; }
.woocommerce div.product .up-sells, .woocommerce div.product .related { grid-column: 1 / -1; margin-top: 24px; }
.product-meta-list { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.product-meta-list li { display: flex; gap: 8px; margin-bottom: 6px; }
.product-meta-list svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- cart / checkout / account ---------- */
.woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main { padding-bottom: 60px; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 0; border-collapse: collapse; font-size: 14px; }
.woocommerce table.shop_table th { background: var(--sand); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 12px; }
.woocommerce table.shop_table td { padding: 12px; }
.woocommerce table.shop_table img { width: 64px; }
.woocommerce .cart_totals h2, .woocommerce #order_review_heading, .woocommerce-account h2 { font-size: 22px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-account .woocommerce-form input.input-text {
  padding: 12px 14px; border: 1px solid var(--line); background: var(--white); width: 100%;
}
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  background: var(--sand) !important; border-top: 2px solid var(--burgundy) !important; color: var(--ink) !important;
  padding: 14px 18px !important; list-style: none; font-size: 14px; margin-bottom: 22px;
}
.woocommerce .woocommerce-breadcrumb { font-size: 11.5px; color: var(--muted); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { padding: 8px 13px; border: 1px solid var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .woocommerce ul.products, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tile-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce div.product .summary { position: static; }
}

@media (max-width: 860px) {
  .header-bar { grid-template-columns: auto 1fr auto; padding: 14px var(--gutter); }
  .primary-nav {
    position: fixed; inset: 0 0 auto 0; top: 0; height: 100vh; background: var(--white);
    padding: 80px var(--gutter) 40px; overflow-y: auto; display: none; z-index: 90;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav > ul > li > a { padding: 16px 0; display: block; }
  .primary-nav .sub-menu { position: static; transform: none; border: 0; box-shadow: none; display: none; padding: 0 0 12px 12px; }
  .primary-nav li.is-expanded > .sub-menu { display: flex; }
  .nav-toggle { display: inline-flex; justify-self: start; }
  .nav-close { display: inline-flex; position: fixed; top: 20px; right: 20px; z-index: 95; background: none; border: 0; }
  .header-actions { gap: 12px; }
  .header-actions .label { display: none; }
  .brand { font-size: 20px; }
  .usp-row { grid-template-columns: repeat(2, 1fr); }
  .tile-grid--2, .tile-grid--4 { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; border-bottom: 1px solid var(--line); }
  .hero__badge { width: 96px; height: 96px; font-size: 10px; }
  .story-menu ul { justify-content: flex-start; padding: 0 var(--gutter); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .woocommerce ul.products, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero { min-height: 480px; }
  .footer-grid { grid-template-columns: 1fr; }
}
