/*
Theme Name: FORMRAUM Classic
Theme URI: https://vx.voxeldesigns.io/
Author: FORMRAUM
Description: A classic WordPress theme for a premium furniture shop with VX Framework integration.
Version: 1.5.5
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: formraum
*/

:root {
  --green: #073b2e;
  --green-deep: #03271f;
  --green-soft: #185545;
  --orange: #f47b32;
  --cream: #f6f1e8;
  --sand: #eadfce;
  --ink: #102820;
  --muted: #6e7772;
  --white: #fffefa;
  --line: #e9e5dc;
  --shadow: 0 14px 45px rgba(10, 42, 33, .08);
  --radius: 6px;
  --container: 1180px;
}
.ui-icon { width: 1em; height: 1em; display: block; flex: 0 0 auto; overflow: visible; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
main { display: block; overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 66px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 25px; }
.section-head h2 { margin: 5px 0 0; font-size: clamp(27px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.035em; }
.eyebrow { margin: 0; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.arrow-link { font-size: 13px; font-weight: 800; white-space: nowrap; }
.arrow-link::after { content: " →"; color: var(--orange); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 800; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--green); }
.btn-orange { color: white; background: var(--orange); }
.btn-light { color: var(--green); background: white; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; background: rgba(255,254,250,.96); border-bottom: 1px solid rgba(16,40,32,.08); backdrop-filter: blur(16px); }
body.admin-bar .site-header { top: 32px; }
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 22px; letter-spacing: .08em; }
.brand small { margin-top: 5px; font-size: 8px; letter-spacing: .28em; text-transform: uppercase; }
.main-nav { display: flex; gap: 30px; align-items: center; margin-left: auto; }
.main-nav a { font-size: 13px; font-weight: 700; }
.main-nav a:hover { color: var(--orange); }
.header-actions { position: relative; z-index: 4; display: flex; gap: 10px; }
.icon-btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: transparent; }
.icon-btn > .ui-icon, .menu-toggle span > .ui-icon { width: 21px; height: 21px; }
.icon-btn:hover { background: var(--cream); }
.cart-count { position: absolute; right: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--orange); font-size: 9px; font-weight: 800; }
.menu-toggle { z-index: 5; display: none; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.menu-toggle .menu-icon { grid-area: 1 / 1; place-items: center; pointer-events: none; }
.menu-toggle .menu-icon-open { display: grid; }
.menu-toggle .menu-icon-close { display: none; }
.menu-toggle.is-active .menu-icon-open { display: none; }
.menu-toggle.is-active .menu-icon-close { display: grid; }

/* Hero */
.hero { background: var(--cream); }
.hero-grid { min-height: 545px; display: grid; grid-template-columns: 46% 54%; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px max(24px, calc((100vw - var(--container))/2)); }
.hero-copy h1 { max-width: 520px; margin: 15px 0 19px; font-size: clamp(44px, 4.1vw, 59px); line-height: 1.01; letter-spacing: -.05em; }
.hero-copy h1 span { color: var(--orange); }
.hero-copy .lead { max-width: 485px; margin: 0 0 26px; color: #53615c; font-size: 15px; }
.hero-photo { position: relative; min-height: 500px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,241,232,.18), transparent 35%); }
.hero-note { position: absolute; right: 28px; bottom: 28px; z-index: 2; max-width: 230px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255,254,250,.92); box-shadow: var(--shadow); font-size: 12px; }
.hero-note strong { display: block; font-size: 15px; }

/* Trust strip */
.trust-strip { background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px 18px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--cream); }
.trust-icon .ui-icon { width: 23px; height: 23px; }
.trust-item strong { display: block; font-size: 13px; }
.trust-item > div > span { color: var(--muted); font-size: 11px; }

/* Categories */
.categories { position: relative; overflow: hidden; color: white; background: var(--green); }
.categories::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; bottom: -120px; border-radius: 50%; border: 42px solid rgba(255,255,255,.04); }
.category-layout { display: grid; grid-template-columns: .76fr 1.74fr; gap: 58px; align-items: center; }
.category-intro h2 { margin: 10px 0 15px; font-size: 34px; line-height: 1.03; }
.category-intro p:not(.eyebrow) { max-width: 390px; color: rgba(255,255,255,.72); }
.category-intro .arrow-link { display: inline-block; margin-top: 22px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card { position: relative; min-height: 112px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 11px; padding: 17px 10px; color: var(--ink); background: white; border-radius: var(--radius); transition: .2s ease; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-card .cat-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--cream); }
.category-card .cat-icon .ui-icon { width: 27px; height: 27px; }
.category-card strong { font-size: 13px; }
.category-arrow { display: none; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px 16px; align-items: start; }
.product-card { position: relative; min-width: 0; display: flex; flex-direction: column; }
.product-media { position: relative; display: block; width: 100%; aspect-ratio: 1.32/1; overflow: hidden; border-radius: 5px; background: var(--cream); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; color: white; background: var(--orange); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-info { padding: 14px 2px 0; }
.product-room { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.product-info h3 { margin: 5px 0 8px; font-size: 15px; line-height: 1.25; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 800; font-size: 14px; }
.rating { color: #d0a43a; font-size: 10px; letter-spacing: .04em; }
.stock-status { font-size: 10px; font-weight: 700; }
.stock-status.in-stock { color: var(--green-soft); }
.stock-status.out-of-stock { color: #a24a3a; }

/* Promo */
.promo-wrap { padding: 0 0 64px; }
.promo { display: grid; grid-template-columns: 54% 46%; min-height: 270px; overflow: hidden; border-radius: 8px; background: var(--cream); }
.promo-media { position: relative; overflow: hidden; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.discount { position: absolute; left: 28px; top: 28px; width: 92px; height: 92px; display: grid; place-items: center; text-align: center; border-radius: 50%; color: white; background: var(--green); font-size: 12px; font-weight: 700; line-height: 1.05; }
.discount strong { display: block; font-size: 25px; }
.promo-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 52px; }
.promo-copy h2 { margin: 8px 0 14px; max-width: 390px; font-size: 33px; line-height: 1.04; }
.promo-copy p:not(.eyebrow) { margin: 0 0 24px; color: var(--muted); }

/* Benefits */
.benefits { position: relative; padding: 58px 0 76px; background: #fbfaf6; border-top: 1px solid var(--line); }
.benefits h2 { margin: 0 0 34px; text-align: center; font-size: 24px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { padding: 0 34px; text-align: center; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; }
.benefit-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; color: var(--orange); background: #fff0e5; }
.benefit-icon .ui-icon { width: 27px; height: 27px; }
.benefit strong { display: block; font-size: 13px; }
.benefit > span:not(.benefit-icon) { color: var(--muted); font-size: 11px; }

/* Editorial */
.editorial { display: grid; grid-template-columns: 43% 57%; min-height: 420px; background: var(--cream); }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px max(42px, calc((100vw - var(--container))/2)); }
.editorial-copy h2 { margin: 10px 0 16px; font-size: 38px; line-height: 1; }
.editorial-copy p { max-width: 420px; color: var(--muted); }
.feature-list { display: grid; gap: 10px; margin: 12px 0 26px; }
.feature-list span { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; }
.feature-list .ui-icon { width: 20px; height: 20px; padding: 4px; border-radius: 50%; color: white; background: var(--green); stroke-width: 2.4; }
.editorial-media { min-width: 0; overflow: hidden; }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }

/* Dark banner */
.room-banner { position: relative; min-height: 330px; display: flex; align-items: center; overflow: hidden; color: white; background: var(--green-deep); }
.room-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.room-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,39,31,.95), rgba(3,39,31,.22)); }
.room-banner-copy { position: relative; z-index: 2; max-width: 520px; padding: 72px 0; }
.room-banner h2 { margin: 10px 0 14px; font-size: 40px; line-height: 1; }
.room-banner p:not(.eyebrow) { color: rgba(255,255,255,.78); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 30px rgba(10,42,33,.04); }
.quote-stars { color: #d0a43a; letter-spacing: .12em; }
.quote-card blockquote { margin: 18px 0 24px; font-size: 15px; }
.person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; font-size: 12px; }
.person span { color: var(--muted); font-size: 10px; }

/* Journal */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.journal-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.journal-card img { width: 100%; aspect-ratio: 1.8/1; object-fit: cover; }
.journal-body { padding: 20px; }
.journal-body small { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.journal-body h3 { margin: 8px 0 14px; font-size: 17px; }
.journal-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }

/* Newsletter + footer */
.newsletter { color: white; background: var(--green); }
.newsletter-inner { min-height: 130px; display: flex; align-items: center; gap: 32px; }
.mail-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.mail-icon .ui-icon { width: 28px; height: 28px; }
.newsletter-copy { flex: 1; }
.newsletter-copy h2 { margin: 0; font-size: 22px; }
.newsletter-copy p { margin: 5px 0 0; color: rgba(255,255,255,.7); font-size: 12px; }
.newsletter-form { width: min(480px, 46%); display: flex; padding: 5px; border-radius: 999px; background: white; }
.newsletter-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; background: transparent; }
.newsletter-form button { border: 0; }
.site-footer { color: rgba(255,255,255,.72); background: var(--green-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 64px; padding: 62px 0 48px; }
.footer-brand .brand { color: white; display: inline-flex; }
.footer-brand p { max-width: 260px; font-size: 12px; }
.footer-col h3 { margin: 0 0 16px; color: white; font-size: 13px; }
.footer-col a { display: block; margin: 8px 0; font-size: 11px; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; }

/* Product detail */
.product-breadcrumb { padding: 22px 0; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.product-breadcrumb a:hover { color: var(--orange); }
.single-product { padding: 54px 0 72px; }
.single-product-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 64px; align-items: start; }
.product-gallery { display: grid; grid-template-columns: 82px 1fr; gap: 14px; }
.product-thumbs { display: grid; align-content: start; gap: 12px; }
.product-thumb { aspect-ratio: 1; border: 2px solid transparent; border-radius: 5px; overflow: hidden; background: var(--cream); }
.product-thumb.is-active { border-color: var(--green); }
.product-thumb img, .product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-main-image { position: relative; aspect-ratio: 1.02/1; overflow: hidden; border-radius: 6px; background: var(--cream); }
.product-main-image .product-badge { top: 18px; left: 18px; }
.product-detail { position: sticky; top: 100px; }
.product-kicker { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-detail h1 { margin: 9px 0 12px; font-size: clamp(38px, 4vw, 55px); line-height: 1; letter-spacing: -.045em; }
.product-rating-line { display: flex; gap: 11px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.product-rating-line .stars { color: #d0a43a; letter-spacing: .08em; }
.product-price-large { margin: 22px 0 16px; font-size: 30px; font-weight: 800; }
.product-description { color: var(--muted); font-size: 15px; }
.product-option { margin-top: 25px; }
.product-option > strong { display: block; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; padding: 0; cursor: pointer; border: 3px solid white; border-radius: 50%; background: var(--swatch-color); box-shadow: 0 0 0 1px #cbc7be; transition: transform .18s ease, box-shadow .18s ease; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--green); }
.buy-row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; margin-top: 28px; }
.quantity { display: flex; align-items: center; justify-content: space-around; border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 800; }
.quantity-button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; cursor: pointer; border: 0; border-radius: 50%; color: var(--muted); background: transparent; }
.quantity-button .ui-icon { width: 18px; height: 18px; }
.quantity-button:hover:not(:disabled) { color: var(--ink); background: var(--cream); }
.quantity-button:disabled { cursor: not-allowed; opacity: .35; }
.quantity-value { min-width: 22px; text-align: center; }
.buy-button { border: 0; cursor: pointer; }
.buy-button:disabled { cursor: not-allowed; opacity: .5; }
.stock-note { margin: 9px 3px 0; color: var(--muted); font-size: 11px; }
.cart-feedback { min-height: 22px; margin-top: 8px; color: var(--green-soft); font-size: 12px; font-weight: 700; }
.cart-overlay { position: fixed; inset: 0; z-index: 98; visibility: hidden; opacity: 0; background: rgba(3,39,31,.35); transition: .2s ease; }
.cart-overlay.is-open { visibility: visible; opacity: 1; }
.cart-drawer { position: fixed; z-index: 99; top: 0; right: 0; width: min(420px, 100%); height: 100dvh; display: flex; flex-direction: column; padding: 28px; background: var(--white); box-shadow: -16px 0 50px rgba(3,39,31,.18); transform: translateX(105%); transition: transform .25s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-drawer-head h2 { margin: 0; font-size: 24px; }
.cart-close { width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; border: 0; border-radius: 50%; background: var(--cream); }
.cart-items { flex: 1; overflow: auto; padding: 8px 0; }
.cart-empty { padding: 54px 0; color: var(--muted); text-align: center; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 76px; border-radius: 5px; object-fit: cover; }
.cart-item strong, .cart-item small { display: block; }
.cart-item small { margin-top: 4px; color: var(--muted); }
.cart-remove { display: grid; place-items: center; cursor: pointer; border: 0; color: var(--muted); background: transparent; }
.cart-remove .ui-icon, .cart-close .ui-icon { width: 20px; height: 20px; }
.cart-summary { padding-top: 20px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 18px; font-weight: 800; }
.cart-checkout-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
body.cart-is-open { overflow: hidden; }
.product-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.assurance { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; color: var(--muted); }
.assurance > .ui-icon { width: 21px; height: 21px; color: var(--green); }
.assurance strong { display: block; color: var(--ink); font-size: 11px; }
.assurance span { display: block; }
.product-story { padding: 74px 0; background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-image { min-height: 430px; border-radius: 6px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-copy h2 { margin: 10px 0 20px; font-size: 38px; line-height: 1.05; letter-spacing: -.04em; }
.story-copy p { color: var(--muted); }
.spec-list { margin: 25px 0 0; padding: 0; list-style: none; border-top: 1px solid #ddd5c9; }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #ddd5c9; font-size: 13px; }
.spec-list span { color: var(--muted); }
.related-products { padding: 72px 0 84px; }

/* Shop archive */
.shop-hero { padding: 86px 0 80px; color: white; background: linear-gradient(100deg, rgba(3,39,31,.96), rgba(3,39,31,.7)), url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=2000&q=88') center/cover; }
.shop-hero-inner { max-width: var(--container); }
.shop-hero h1 { max-width: 680px; margin: 10px 0 14px; font-size: clamp(44px, 6vw, 72px); line-height: .98; letter-spacing: -.05em; }
.shop-hero p:not(.eyebrow) { max-width: 580px; margin: 0; color: rgba(255,255,255,.78); font-size: 16px; }
.shop-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 46px; align-items: start; }
.shop-filters { position: sticky; top: 96px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.filter-heading, .shop-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.filter-heading-actions { display: flex; align-items: center; gap: 12px; }
.filter-mobile-toggle { display: none; min-height: 38px; padding: 0 14px; cursor: pointer; border: 0; border-radius: 999px; color: white; background: var(--green); font-size: 11px; font-weight: 800; }
.filter-heading { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-heading h2 { margin: 0; font-size: 21px; }
.filter-reset { padding: 0; cursor: pointer; border: 0; color: var(--orange); background: transparent; font-size: 11px; font-weight: 800; }
.filter-field { display: grid; gap: 8px; margin-top: 20px; }
.filter-field > span, .sort-field > span { color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.filter-field input, .filter-field select, .sort-field select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #d7d3ca; border-radius: 4px; color: var(--ink); background: white; }
.filter-check { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--muted); font-size: 12px; }
.filter-check input { width: 17px; height: 17px; accent-color: var(--green); }
.shop-results-bar { min-height: 48px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.shop-results-bar p { margin: 0; color: var(--muted); font-size: 12px; }
.sort-field { display: flex; align-items: center; gap: 10px; }
.sort-field select { width: auto; min-width: 180px; }
.shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card[hidden] { display: none; }
.shop-empty { padding: 80px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 8px; background: var(--cream); }
.shop-empty[hidden] { display: none; }
.shop-empty h2 { margin: 0 0 8px; }
.shop-empty p { margin: 0 0 22px; color: var(--muted); }
.newsletter-form { position: relative; }
.newsletter-feedback { position: absolute; top: calc(100% + 8px); right: 10px; color: white; font-size: 11px; white-space: nowrap; }
.cart-summary .btn { width: 100%; border: 0; cursor: pointer; }

@media (max-width: 960px) {
  .header-inner { height: 64px; gap: 16px; }
  .main-nav { position: absolute; z-index: 3; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px max(24px, calc((100vw - var(--container))/2)) 18px; border-top: 1px solid var(--line); background: rgba(255,254,250,.99); box-shadow: 0 18px 35px rgba(3,39,31,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 15px; }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: grid; }
  .hero .hero-grid, .editorial { grid-template-columns: 1fr !important; }
  .hero-copy { padding: 64px 32px; }
  .hero-photo { min-height: 460px; }
  .categories .category-layout { grid-template-columns: 1fr !important; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo { grid-template-columns: 1fr; }
  .promo-media { min-height: 320px; }
  .editorial-copy { padding: 64px 32px; }
  .editorial-media { min-height: 440px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .single-product-grid { grid-template-columns: 1fr; gap: 42px; }
  .product-detail { position: static; }
  .shop-shell { grid-template-columns: 1fr; gap: 26px; }
  .shop-filters { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .filter-heading { grid-column: 1/-1; }
  .filter-field, .filter-check { margin-top: 0; }
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  body.admin-bar .site-header { top: 46px; }
  .section { padding: 52px 0; }
  .header-inner { width: min(calc(100% - 24px), var(--container)); }
  .brand strong { font-size: 19px; }
  .brand small { margin-top: 4px; font-size: 7px; }
  .header-actions { gap: 2px; }
  .header-actions > a.icon-btn { display: none; }
  .icon-btn { width: 44px; height: 44px; }
  .cart-count { right: 2px; top: 2px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .section-head h2 { font-size: 28px; }
  .arrow-link { white-space: normal; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding: 48px 16px 44px; }
  .hero-copy h1 { margin: 12px 0 17px; font-size: clamp(39px, 12.5vw, 48px); line-height: 1.02; }
  .hero-copy .lead { font-size: 14px; }
  .hero-photo { min-height: 310px; }
  .hero-note { right: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 13px 15px; }
  .trust-grid { width: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .trust-grid::-webkit-scrollbar { display: none; }
  .trust-item { flex: 0 0 82%; justify-content: flex-start; padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 0; scroll-snap-align: start; }
  .categories.section { padding: 48px 0 54px; }
  .categories::after { width: 190px; height: 190px; right: -105px; bottom: -100px; border-width: 30px; }
  .category-layout { gap: 26px; }
  .category-intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .category-intro h2 { margin: 8px 0 11px; font-size: 34px; }
  .category-intro p:not(.eyebrow) { max-width: 330px; margin: 0; font-size: 13px; }
  .category-intro .arrow-link { min-height: 44px; display: inline-flex; align-items: center; margin-top: 17px; padding: 0 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card { min-height: 116px; gap: 9px; padding: 14px 10px; border-radius: 10px; }
  .category-card .cat-icon { width: 50px; height: 50px; }
  .category-card .cat-icon .ui-icon { width: 29px; height: 29px; }
  .category-card strong { max-width: 100%; font-size: 12px; line-height: 1.25; text-align: center; }
  .category-arrow { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: #f7f3ec; }
  .category-arrow .ui-icon { width: 13px; height: 13px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 12px; }
  .product-media { aspect-ratio: 1/1; }
  .product-badge { top: 8px; left: 8px; padding: 5px 7px; font-size: 8px; }
  .product-info { padding-top: 11px; }
  .product-info h3 { font-size: 13px; }
  .product-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .rating { display: none; }
  .stock-status { font-size: 9px; }
  .promo-wrap { padding-bottom: 52px; }
  .promo { position: relative; display: block; min-height: 480px; border-radius: 14px; background: var(--green); }
  .promo-media { position: absolute; inset: 0; min-height: 0; }
  .promo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,39,31,.02) 24%, rgba(3,39,31,.36) 52%, rgba(3,39,31,.96) 100%); }
  .promo-media img { object-position: center; }
  .discount { z-index: 2; left: 18px; top: 18px; width: 78px; height: 78px; font-size: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
  .discount strong { font-size: 21px; }
  .promo-copy { position: relative; z-index: 2; justify-content: flex-end; min-height: 480px; padding: 210px 24px 28px; color: white; }
  .promo-copy .eyebrow { color: #ff8750; }
  .promo-copy h2 { max-width: 330px; margin-top: 9px; font-size: 31px; line-height: 1.08; }
  .promo-copy p:not(.eyebrow) { max-width: 315px; margin-bottom: 22px; color: rgba(255,255,255,.78); }
  .promo-copy .btn { width: 100%; justify-content: center; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .benefit { padding: 0 14px; }
  .benefit:nth-child(2) { border-right: 0; }
  .editorial-copy { padding: 50px 16px; }
  .editorial-copy h2 { font-size: 32px; }
  .editorial-media { min-height: 300px; }
  .room-banner { min-height: 390px; }
  .room-banner::after { background: linear-gradient(90deg, rgba(3,39,31,.93), rgba(3,39,31,.42)); }
  .room-banner-copy { padding: 56px 0; }
  .room-banner h2 { font-size: 34px; }
  .testimonial-grid, .journal-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 24px; }
  .newsletter-inner { padding: 32px 0; flex-wrap: wrap; }
  .mail-icon { display: none; }
  .newsletter-copy { flex-basis: 100%; }
  .newsletter-form { width: 100%; flex-wrap: wrap; }
  .newsletter-feedback { position: static; display: block; width: 100%; color: var(--green); white-space: normal; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .product-breadcrumb { padding: 14px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-main-image { aspect-ratio: 1/1; }
  .product-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-row: 2; gap: 8px; }
  .single-product { padding: 26px 0 54px; }
  .single-product-grid { gap: 34px; }
  .product-detail h1 { font-size: 40px; }
  .product-rating-line { flex-wrap: wrap; gap: 7px 10px; }
  .product-price-large { margin-top: 18px; font-size: 28px; }
  .swatch { width: 40px; height: 40px; }
  .buy-row { grid-template-columns: 92px 1fr; }
  .quantity-button { width: 40px; height: 40px; }
  .product-assurances { grid-template-columns: 1fr; }
  .assurance { padding: 4px 0; }
  .product-story { padding: 54px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .story-image { min-height: 280px; }
  .story-copy h2 { font-size: 32px; }
  .spec-list li { align-items: flex-start; flex-direction: column; gap: 3px; }
  .related-products { padding: 52px 0 60px; }
  .shop-hero { padding: 54px 0 58px; }
  .shop-hero h1 { font-size: clamp(40px, 13vw, 54px); }
  .shop-hero p:not(.eyebrow) { font-size: 14px; }
  .shop-shell { gap: 20px; }
  .shop-filters { display: block; padding: 16px 18px; }
  .filter-heading { padding-bottom: 0; border-bottom: 0; }
  .filter-heading h2 { font-size: 18px; }
  .filter-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .shop-filters:not(.is-open) > :not(.filter-heading) { display: none; }
  .shop-filters.is-open .filter-heading { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
  .shop-filters.is-open .filter-field { display: grid; margin-top: 16px; }
  .shop-filters.is-open .filter-check { display: flex; margin-top: 18px; }
  .filter-field input, .filter-field select, .sort-field select { min-height: 48px; }
  .shop-results-bar { align-items: flex-start; flex-direction: column; padding-bottom: 16px; }
  .sort-field { width: 100%; justify-content: space-between; }
  .sort-field select { flex: 1; min-width: 0; }
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-drawer { width: 100%; padding: max(20px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); }
  .cart-item { grid-template-columns: 62px minmax(0,1fr) 32px; gap: 10px; }
  .cart-item img { width: 62px; height: 62px; }
  .cart-item small { font-size: 11px; line-height: 1.35; }
  .cart-remove { width: 32px; height: 44px; padding: 0; }
}

@media (max-width: 390px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .eyebrow { font-size: 10px; letter-spacing: .13em; }
  .hero-copy { padding-inline: 12px; }
  .hero-copy h1 { font-size: 38px; }
  .product-grid, .shop-product-grid { gap: 22px 10px; }
  .buy-row { grid-template-columns: 1fr; }
  .quantity { min-height: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .newsletter-form { flex-direction: column; padding: 6px; border-radius: 12px; }
  .newsletter-form input { min-height: 46px; }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover, .category-card:hover { transform: none; }
  .product-card:hover .product-media img { transform: none; }
}
