/*
Theme Name: 3YROOM
Theme URI: https://example.com/3yroom
Author: 3YROOM
Author URI: https://example.com
Description: A clean, Burrow-inspired WooCommerce theme for compressed / sofa-in-a-box brands selling to US & EU customers. Homepage images and copy are fully editable from Appearance > Customize, products are read live from WooCommerce.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3yroom
Tags: e-commerce, woocommerce, furniture, two-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   0. Design tokens
   ========================================================= */
:root {
  --hsm-white: #ffffff;
  --hsm-cream: #f7f5f0;
  --hsm-cream-2: #f1ede5;
  --hsm-sand: #e8e2d7;
  --hsm-line: #e3dfd6;
  --hsm-ink: #1c2622;
  --hsm-ink-soft: #3d4641;
  --hsm-muted: #707870;
  --hsm-green: #2f5b4c;
  --hsm-green-dark: #203f35;
  --hsm-green-soft: #dce8df;
  --hsm-clay: #b45d43;
  --hsm-shadow: 0 18px 50px rgba(28, 38, 34, .09);
  --hsm-shadow-sm: 0 6px 20px rgba(28, 38, 34, .07);
  --hsm-radius: 4px;
  --hsm-max: 1360px;
  --hsm-gutter: clamp(20px, 5vw, 72px);
  --hsm-font: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --hsm-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
}

/* =========================================================
   1. Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hsm-white);
  color: var(--hsm-ink);
  font-family: var(--hsm-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--hsm-green); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--hsm-ink);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--hsm-green); outline-offset: 3px; }
.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 {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--hsm-ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: 100%; max-width: var(--hsm-max); margin: 0 auto; padding: 0 var(--hsm-gutter); }
.container--narrow { max-width: 980px; }
.section { padding: clamp(64px, 8vw, 118px) 0; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--cream { background: var(--hsm-cream); }
.section--sand { background: var(--hsm-cream-2); }
.section--dark { background: var(--hsm-green-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--hsm-green);
  margin-bottom: 20px;
}
.section--dark .eyebrow { color: #a9cbb8; }
.section-title {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  max-width: 780px;
}
.section-title em { font-family: var(--hsm-serif); font-weight: 400; font-style: italic; color: var(--hsm-green); }
.section--dark .section-title em { color: #bcd9c8; }
.section-lead { font-size: clamp(15px, 1.3vw, 18px); color: var(--hsm-muted); max-width: 620px; line-height: 1.75; }
.section--dark .section-lead { color: #c6d6cd; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 52px; flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--hsm-radius);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--hsm-green-dark); color: #fff; }
.btn--primary:hover { background: var(--hsm-green); color: #fff; }
.btn--light { background: #fff; color: var(--hsm-ink); }
.btn--light:hover { background: var(--hsm-cream); color: var(--hsm-ink); }
.btn--outline { border-color: var(--hsm-ink); color: var(--hsm-ink); background: transparent; }
.btn--outline:hover { background: var(--hsm-ink); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--hsm-green-dark); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 5px;
}
.text-link::after { content: "\2192"; font-size: 16px; line-height: 1; }
.text-link:hover { color: var(--hsm-green); }

/* =========================================================
   2. Announcement bar + header
   ========================================================= */
.announce { background: var(--hsm-green-dark); color: #fff; font-size: 12px; letter-spacing: .04em; }
.announce__inner {
  min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 14px;
  position: relative; padding: 6px 40px; text-align: center;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: #cfe5d7; }
.announce__close {
  position: absolute; right: var(--hsm-gutter); top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 18px; line-height: 1; opacity: .7; padding: 4px;
}
.announce__close:hover { opacity: 1; }
.announce.is-hidden { display: none; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hsm-line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(28,38,34,.08); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 3px; background: var(--hsm-green-dark);
  display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -.05em;
}
.brand__text { font-size: 21px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.brand__text small { display: block; font-size: 9px; letter-spacing: .22em; font-weight: 600; color: var(--hsm-muted); margin-top: 4px; }
.brand .custom-logo { max-height: 46px; width: auto; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.primary-nav > ul > li { position: relative; }
.primary-nav a {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; padding: 12px 0; display: inline-block;
}
.primary-nav a:hover { color: var(--hsm-green); }
.primary-nav .sub-menu {
  position: absolute; top: 100%; left: -18px; min-width: 210px;
  background: #fff; border: 1px solid var(--hsm-line); box-shadow: var(--hsm-shadow);
  padding: 10px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .2s ease; z-index: 10;
}
.primary-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a { display: block; padding: 8px 20px; font-size: 12px; letter-spacing: .04em; text-transform: none; font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.header__icon {
  position: relative; width: 34px; height: 34px; display: grid; place-items: center;
  background: none; border: 0; color: var(--hsm-ink); padding: 0;
}
.header__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.header__icon:hover { color: var(--hsm-green); }
.header__icon--cart.is-bumped { animation: hsm-bump .55s ease; }
@keyframes hsm-bump { 0%,100% { transform: none; } 40% { transform: scale(1.22); } }
.cart-count {
  position: absolute; top: -2px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--hsm-green); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
}
.header__search {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  border-bottom: 1px solid var(--hsm-line); box-shadow: var(--hsm-shadow);
  padding: 24px 0; display: none;
}
.header__search.is-open { display: block; }
.header__search form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.header__search input[type="search"] {
  flex: 1; padding: 14px 18px; border: 1px solid var(--hsm-line); background: var(--hsm-cream);
  border-radius: var(--hsm-radius); font-size: 14px;
}
.menu-toggle { display: none; width: 36px; height: 36px; background: none; border: 0; padding: 0; }
.menu-toggle span { display: block; height: 2px; background: var(--hsm-ink); margin: 6px 0; transition: .25s ease; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   3. Hero
   ========================================================= */
.hero { display: grid; grid-template-columns: 46% 54%; min-height: min(700px, 78vh); background: var(--hsm-cream); }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 100px) clamp(28px, 5vw, 90px); }
.hero__content .eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(38px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 24px; }
.hero__title em { font-family: var(--hsm-serif); font-style: italic; font-weight: 400; color: var(--hsm-green); }
.hero__lead { font-size: clamp(15px, 1.3vw, 18px); color: var(--hsm-ink-soft); max-width: 500px; line-height: 1.75; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__note { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .06em; color: var(--hsm-muted); text-transform: uppercase; font-weight: 700; }
.hero__note::before { content: ""; width: 30px; height: 1px; background: var(--hsm-green); }
.hero__media { position: relative; overflow: hidden; background: var(--hsm-cream-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__badge {
  position: absolute; right: clamp(18px, 3vw, 44px); bottom: clamp(18px, 3vw, 44px);
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  padding: 18px 22px; max-width: 250px; box-shadow: var(--hsm-shadow); border-radius: var(--hsm-radius);
}
.hero__badge strong { display: block; font-size: 13px; letter-spacing: .02em; margin-bottom: 4px; }
.hero__badge span { font-size: 12px; color: var(--hsm-muted); line-height: 1.5; }
.hero__badge b { color: var(--hsm-green); }

/* =========================================================
   4. Trust strip / value props
   ========================================================= */
.trust { border-bottom: 1px solid var(--hsm-line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 38px 28px; border-right: 1px solid var(--hsm-line); display: flex; gap: 16px; align-items: flex-start; }
.trust__item:first-child { padding-left: 0; }
.trust__item:last-child { border-right: 0; padding-right: 0; }
.trust__icon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--hsm-green-soft); color: var(--hsm-green-dark);
  display: grid; place-items: center; font-size: 18px;
}
.trust__item h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 3px 0 6px; }
.trust__item p { font-size: 13px; color: var(--hsm-muted); margin: 0; line-height: 1.6; }

/* =========================================================
   5. Intro statement
   ========================================================= */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: end; }
.intro__left h2 { font-size: clamp(30px, 3.6vw, 48px); }
.intro__right { color: var(--hsm-muted); font-size: 16px; line-height: 1.85; }

/* =========================================================
   6. Collections
   ========================================================= */
.collections__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.collection-card { position: relative; display: block; overflow: hidden; background: var(--hsm-cream-2); border-radius: var(--hsm-radius); }
.collection-card__img { aspect-ratio: 4 / 5; overflow: hidden; }
.collection-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.collection-card:hover .collection-card__img img { transform: scale(1.055); }
.collection-card__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px;
  background: linear-gradient(to top, rgba(18,28,23,.82), rgba(18,28,23,0));
  color: #fff;
}
.collection-card__label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .85; display: block; margin-bottom: 8px; }
.collection-card__title { font-size: clamp(22px, 2vw, 30px); color: #fff; margin: 0 0 12px; }
.collection-card__link { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 4px; }

/* =========================================================
   7. Shop by category (real WooCommerce terms)
   ========================================================= */
.categories__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.category-tile { text-align: center; }
.category-tile__img {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--hsm-cream);
  display: grid; place-items: center; margin-bottom: 18px;
}
.category-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-tile:hover .category-tile__img img { transform: scale(1.07); }
.category-tile__placeholder { font-size: 30px; color: var(--hsm-green); }
.category-tile__name { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.category-tile__count { display: block; font-size: 12px; color: var(--hsm-muted); margin-top: 3px; }

/* =========================================================
   8. Product grid (shared by WooCommerce output + demo cards)
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.product-card { position: relative; background: #fff; }
.product-card__media { position: relative; overflow: hidden; background: var(--hsm-cream); border-radius: var(--hsm-radius); aspect-ratio: 4 / 4.4; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--hsm-clay); color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 2px;
}
.product-card__badge--soft { background: var(--hsm-green-dark); }
.product-card__quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: #fff; color: var(--hsm-ink); text-align: center; padding: 13px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: .25s ease; border-radius: var(--hsm-radius);
}
.product-card:hover .product-card__quick { opacity: 1; transform: translateY(0); }
.product-card__title { font-size: 15px; font-weight: 600; margin: 18px 0 6px; line-height: 1.4; }
.product-card__meta { font-size: 12px; color: var(--hsm-muted); margin: 0 0 8px; letter-spacing: .04em; }
.product-card__price { font-size: 15px; font-weight: 700; color: var(--hsm-ink); }
.product-card__price del { color: var(--hsm-muted); font-weight: 400; margin-right: 8px; }
.product-card__price ins { text-decoration: none; color: var(--hsm-clay); }
.demo-notice {
  background: var(--hsm-cream); border: 1px dashed var(--hsm-line);
  padding: 16px 20px; margin-bottom: 32px; font-size: 13px; color: var(--hsm-muted);
}
.demo-notice strong { color: var(--hsm-ink); }
.section__foot { margin-top: 46px; text-align: center; }

/* =========================================================
   9. Technology / sofa in a box
   ========================================================= */
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.tech__media { position: relative; border-radius: var(--hsm-radius); overflow: hidden; background: #fff; }
.tech__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.tech__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 22px; margin-top: 40px; }
.tech__stat { border-top: 1px solid rgba(255,255,255,.22); padding-top: 16px; }
.tech__stat b { display: block; font-family: var(--hsm-serif); font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1; color: #cfe5d7; margin-bottom: 8px; }
.tech__stat span { font-size: 13px; color: #c6d6cd; line-height: 1.55; display: block; }

/* How it works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.step { background: #fff; padding: 34px 30px; border-radius: var(--hsm-radius); }
.step__num { font-family: var(--hsm-serif); font-size: 34px; color: var(--hsm-green); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--hsm-muted); margin: 0; line-height: 1.7; }

/* =========================================================
   10. Editorial split
   ========================================================= */
.editorial { display: grid; grid-template-columns: 54% 46%; background: var(--hsm-cream); }
.editorial__media { min-height: 520px; }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px); }
.editorial__content h2 { font-size: clamp(32px, 3.8vw, 52px); }
.editorial__content p { color: var(--hsm-muted); line-height: 1.85; max-width: 460px; }
.editorial__quote { font-family: var(--hsm-serif); font-size: 20px; line-height: 1.5; color: var(--hsm-ink-soft); border-left: 2px solid var(--hsm-green); padding-left: 20px; margin: 26px 0 32px; }

/* =========================================================
   11. Reviews
   ========================================================= */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: var(--hsm-cream); padding: 36px 32px; border-radius: var(--hsm-radius); display: flex; flex-direction: column; }
.review-card__stars { color: var(--hsm-clay); letter-spacing: 4px; font-size: 15px; margin-bottom: 20px; }
.review-card__text { font-size: 16px; line-height: 1.75; flex: 1; margin-bottom: 24px; }
.review-card__author { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.review-card__author span { display: block; font-weight: 500; color: var(--hsm-muted); letter-spacing: .04em; text-transform: none; margin-top: 4px; }

/* =========================================================
   12. CTA band + newsletter + footer
   ========================================================= */
.shipping-cta { background: var(--hsm-green); color: #fff; padding: clamp(54px, 6vw, 90px) 0; }
.shipping-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.shipping-cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 46px); max-width: 620px; margin: 0; }
.shipping-cta p { color: #cfe5d7; margin: 16px 0 0; max-width: 560px; }

.newsletter { background: var(--hsm-cream); padding: clamp(56px, 6vw, 88px) 0; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.newsletter h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 10px; }
.newsletter p { color: var(--hsm-muted); margin: 0; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  flex: 1; min-width: 0; padding: 15px 18px; border: 1px solid var(--hsm-line);
  background: #fff; border-radius: var(--hsm-radius); font-size: 14px;
}
.newsletter__note { font-size: 12px; color: var(--hsm-muted); margin-top: 12px; }

.site-footer { background: var(--hsm-ink); color: #c7cec9; padding-top: clamp(60px, 7vw, 96px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; padding-bottom: 60px; }
.footer__brand .brand__text { color: #fff; }
.footer__brand .brand__text small { color: #8e9a93; }
.footer__about { font-size: 14px; line-height: 1.8; max-width: 340px; margin: 24px 0 0; }
.footer__col h3 { color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 12px; font-size: 14px; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 34px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: #8e9a93;
}
.footer__social { display: flex; gap: 18px; }
.footer__social a { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay span { border: 1px solid rgba(255,255,255,.2); padding: 4px 9px; border-radius: 2px; font-size: 10px; letter-spacing: .08em; }

/* =========================================================
   13. Inner pages (page.php / single.php / archive.php)
   ========================================================= */
.page-hero { background: var(--hsm-cream); padding: clamp(60px, 7vw, 100px) 0; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 14px; }
.page-hero p { color: var(--hsm-muted); max-width: 620px; margin: 0 auto; }
.site-main { min-height: 40vh; }
.content-area { padding: clamp(50px, 6vw, 90px) 0; }
.entry-content { max-width: 820px; }
.entry-content img { border-radius: var(--hsm-radius); }
.entry-content h2 { margin-top: 1.6em; }
.entry-header h1 { font-size: clamp(32px, 4vw, 52px); }
.post-thumbnail img { width: 100%; border-radius: var(--hsm-radius); }
.pagination, .woocommerce-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pagination .page-numbers, .woocommerce-pagination .page-numbers {
  min-width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--hsm-line); font-size: 13px; border-radius: 2px; padding: 0 10px;
}
.pagination .current, .woocommerce-pagination .current { background: var(--hsm-green-dark); color: #fff; border-color: var(--hsm-green-dark); }
.error-404 { text-align: center; padding: clamp(80px, 10vw, 140px) 0; }
.error-404 h1 { font-size: clamp(70px, 14vw, 160px); font-family: var(--hsm-serif); margin: 0; color: var(--hsm-green); }

/* WooCommerce wrapper */
.woo-main { padding: 0 0 clamp(60px, 7vw, 100px); }
.woocommerce-breadcrumb { font-size: 12px; color: var(--hsm-muted); margin: 26px 0 0; }
.woocommerce-breadcrumb a { color: var(--hsm-muted); }
.woocommerce-products-header { padding: clamp(48px, 6vw, 80px) 0 34px; }
.woocommerce-products-header h1 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 12px; }
.woocommerce-products-header p { color: var(--hsm-muted); max-width: 640px; margin: 0; }

/* =========================================================
   14. Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   15. Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .primary-nav ul { gap: 18px; }
  .primary-nav a { font-size: 11px; }
  .header__inner { gap: 16px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .categories__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; order: 3; }
  .primary-nav {
    order: 4; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--hsm-line); box-shadow: var(--hsm-shadow);
    display: none; padding: 18px var(--hsm-gutter) 26px; max-height: 75vh; overflow-y: auto;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--hsm-line); }
  .primary-nav a { display: block; padding: 14px 0; font-size: 13px; }
  .primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 14px; }
  .header__actions { margin-left: auto; }
  .header__icon--search, .header__icon--account { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding: 64px var(--hsm-gutter) 56px; }
  .hero__media { min-height: 380px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-bottom: 1px solid var(--hsm-line); padding: 26px 18px; }
  .trust__item:nth-child(2) { border-right: 0; padding-right: 0; }
  .trust__item:nth-child(3) { padding-left: 0; }
  .intro__grid, .tech__grid, .newsletter__inner { grid-template-columns: 1fr; gap: 30px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial__media { min-height: 340px; order: 2; }
  .collections__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .categories__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .announce__inner { font-size: 11px; padding: 6px 34px; }
  .announce__close { right: 10px; }
  .header__inner { min-height: 66px; }
  .brand__text { font-size: 18px; }
  .hero__title { font-size: 38px; }
  .hero__media { min-height: 280px; }
  .hero__badge { display: none; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item, .trust__item:first-child, .trust__item:last-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--hsm-line); }
  .trust__item:last-child { border-bottom: 0; }
  .section-head { margin-bottom: 34px; }
  .collections__grid { grid-template-columns: 1fr; }
  .collection-card__img { aspect-ratio: 4 / 3.2; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { gap: 26px 14px; }
  .product-card__quick { opacity: 1; transform: none; position: static; margin-top: 12px; }
  .tech__stats { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .newsletter__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; }
  .shipping-cta__inner { flex-direction: column; align-items: flex-start; }
}
