/*
Theme Name: Yufu Jade
Theme URI: https://yufujade.example
Author: Yufu Jade
Author URI: https://yufujade.example
Description: A calm, trust-first storefront for natural jadeite and Hetian jade bangles.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: yufu-jade
*/

:root {
  --ink: #1d1b1b;
  --muted: #6d6662;
  --paper: #f7f6f3;
  --surface: #ffffff;
  --line: #ded8d3;
  --jade: #9f3340;
  --jade-deep: #241d1e;
  --jade-soft: #ead9d7;
  --sand: #ebe8e4;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(36, 29, 30, .12);
  --display: "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--jade); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 10000; top: 1rem; left: 1rem; width: auto; height: auto; padding: .7rem 1rem; margin: 0; background: var(--surface); clip: auto; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 .6rem; color: var(--jade); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, h4 { margin: 0 0 1rem; color: var(--ink); font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); max-width: 14ch; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.15rem; border: 1px solid var(--jade); border-radius: var(--radius); background: var(--jade); color: #fff; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.btn:hover, .btn:focus-visible { background: var(--jade-deep); color: #fff; transform: translateY(-2px); }
.btn--light { border-color: rgba(255,255,255,.7); background: transparent; color: #fff; }
.btn--light:hover, .btn--light:focus-visible { background: #fff; color: var(--jade-deep); }
.btn--text { min-height: auto; padding: 0; border: 0; background: transparent; color: var(--jade); }
.btn--text:hover { background: transparent; color: var(--jade-deep); transform: none; }

.topbar { background: var(--jade-deep); color: #f4efed; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(222,216,211,.8); background: rgba(247,246,243,.94); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--jade); border-radius: 50%; color: var(--jade); font-family: Georgia, serif; font-size: 1.25rem; }
.brand-name { font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; }
.main-nav ul { display: flex; align-items: center; gap: 1.35rem; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; }
.main-nav a { color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.main-nav .menu-item-has-children > a::after { content: "\25BE"; display: inline-block; margin-left: .42rem; color: var(--jade); font-size: .75rem; line-height: 1; transform: translateY(-1px); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 50%; min-width: 210px; transform: translateX(-50%); padding: .95rem .55rem .55rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.main-nav .menu-item-has-children::after { content: ""; position: absolute; top: 100%; right: -1rem; left: -1rem; height: .95rem; }
.main-nav .sub-menu li { display: block; }
.main-nav .sub-menu a { display: block; padding: .6rem .7rem; white-space: nowrap; }
.main-nav .menu-item-has-children:hover > .sub-menu, .main-nav .menu-item-has-children:focus-within > .sub-menu, .main-nav .menu-item-has-children.submenu-open > .sub-menu { display: block; }
.submenu-toggle { display: none; border: 0; background: transparent; color: var(--jade); cursor: pointer; font-size: 1rem; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-actions a { font-size: .88rem; text-decoration: none; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 8px; background: transparent; padding: .45rem .65rem; color: var(--ink); font-size: 1.2rem; }

.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-copy p { max-width: 52ch; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-note { display: flex; gap: .85rem; margin-top: 1.25rem; color: var(--muted); font-size: .9rem; }
.hero-note strong { color: var(--jade-deep); }
.hero-art { position: relative; min-height: 500px; overflow: hidden; border-radius: var(--radius); background: #ddd8d4 url('https://www.yufujadebracelet.com/?yufu_image_proxy=jadeite-full-green-bangle-01') center/cover; box-shadow: var(--shadow); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(36,29,30,.04), rgba(36,29,30,.42)); }
.hero-art-caption { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.25rem; max-width: 22ch; padding: .85rem 1rem; border-left: 3px solid #fff; color: #fff; font-size: .88rem; }

.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 1.1rem 0; }
.trust-item { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.trust-icon { color: var(--jade); font-size: 1.35rem; line-height: 1; }
.trust-item strong { display: block; font-size: .92rem; }
.trust-item span { display: block; color: var(--muted); font-size: .8rem; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tint { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading p { max-width: 48ch; margin-bottom: .25rem; color: var(--muted); }
.shop-category-heading h2 a { text-decoration: none; }
.shop-category-section { padding-top: 3.5rem; }
.shop-category-section + .shop-category-section { margin-top: 2rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.shop-category-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.5rem; }
.shop-category-heading h2 { margin-bottom: .25rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.shop-category-heading > p { max-width: 46ch; margin: 0 0 .25rem; color: var(--muted); }
.collection-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.collection-card { position: relative; min-height: 350px; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--jade-deep); }
.collection-card::before { content: ""; position: absolute; inset: 0; background: var(--collection-image) center/cover; transition: transform .45s ease; }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,28,23,.82)); }
.collection-card:hover::before { transform: scale(1.045); }
.collection-content { position: absolute; z-index: 1; right: 1.4rem; bottom: 1.4rem; left: 1.4rem; }
.collection-content h3 { color: #fff; font-size: 1.8rem; }
.collection-content p { max-width: 40ch; color: rgba(255,255,255,.85); font-size: .93rem; }
.collection-card .btn { border-color: #fff; background: #fff; color: var(--jade-deep); }
.collection-card .btn:hover { background: var(--jade-soft); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-card a { text-decoration: none; }
.product-image { aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-image .yufu-product-thumb { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-image .yufu-product-thumb--placeholder { padding: 22%; opacity: .45; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-body { padding: 1rem; }
.product-type { margin-bottom: .25rem; color: var(--jade); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-title { display: block; min-height: 3.2em; color: var(--ink); font-family: var(--display); font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.price { margin-top: .55rem; color: var(--jade-deep); font-size: 1.05rem; font-weight: 700; }
.product-meta { margin-top: .35rem; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.product-actions { display: flex; justify-content: space-between; align-items: center; margin-top: .8rem; }
.product-actions .btn { min-height: 40px; padding: .5rem .75rem; font-size: .82rem; }
.product-empty { grid-column: 1/-1; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.shop-archive .woocommerce-breadcrumb { margin: 0 0 1rem; color: var(--muted); font-size: .85rem; }
.shop-heading { align-items: start; }
.shop-heading .term-description { max-width: 48ch; color: var(--muted); }
.woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count { margin-bottom: 1.25rem; color: var(--muted); font-size: .9rem; }
.woocommerce .woocommerce-ordering select { min-height: 40px; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.woocommerce ul.products { margin: 0; padding: 0; list-style: none; }
.woocommerce .product-grid .product-card { width: auto; margin: 0; }
.woocommerce nav.woocommerce-pagination { margin-top: 2.5rem; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: .4rem; margin: 0; padding: 0; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination a, .woocommerce nav.woocommerce-pagination span { display: grid; place-items: center; min-width: 38px; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); text-decoration: none; }
.woocommerce nav.woocommerce-pagination .current { background: var(--jade); color: #fff; }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error { margin: 0 0 1.25rem; padding: 1rem 1.2rem; border-top: 3px solid var(--jade); background: var(--surface); }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3.5rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--jade-deep); font-size: 1.5rem; font-weight: 700; }
.woocommerce div.product form.cart .button { min-height: 48px; border: 1px solid var(--jade); border-radius: var(--radius); background: var(--jade); color: #fff; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 2rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { margin: 0 0 1.5rem; padding: 0; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 1.25rem 0 0; padding: .8rem 0; border: 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--jade); background: transparent; }
.woocommerce div.product .woocommerce-tabs .panel { color: var(--muted); }
@media (max-width: 700px) { .woocommerce div.product { grid-template-columns: 1fr; } }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.story-image { min-height: 460px; border-radius: var(--radius); background: #e3dfdb url('https://www.yufujadebracelet.com/?yufu_image_proxy=story-jade-01') center/cover; }
.story-copy p { color: var(--muted); }
.detail-list { display: grid; grid-template-columns: repeat(2,1fr); gap: .7rem 1.5rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.detail-list li { padding-top: .7rem; border-top: 1px solid var(--line); font-size: .9rem; }
.detail-list strong { display: block; color: var(--jade-deep); }

.guide-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; align-items: stretch; }
.guide-panel { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); background: var(--jade-deep); color: #f4efed; }
.guide-panel h2, .guide-panel h3 { color: #fff; }
.guide-panel p { color: rgba(244,239,237,.82); }
.guide-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-top: 1.5rem; }
.guide-step { padding: 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; }
.guide-step b { display: block; color: #fff; font-size: 1.15rem; }
.guide-side { display: grid; gap: 1rem; }
.guide-side-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.guide-side-card--accent { border-color: rgba(159,51,64,.35); background: var(--jade-soft); }
.guide-side-card--accent .btn { margin-top: .35rem; }

.faq-list { max-width: 850px; margin: 0 auto; }
.faq-list details { border-top: 1px solid var(--line); padding: 1.15rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--jade); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 70ch; margin: .75rem 0 0; color: var(--muted); }

.contact-band { padding: 2.2rem 0; background: var(--jade-soft); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.contact-inner p { margin: 0; color: var(--muted); }
.site-footer { padding: 3.5rem 0 1.2rem; background: var(--jade-deep); color: #e5ddda; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p, .site-footer li { color: rgba(229,221,218,.78); font-size: .9rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .4rem; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(229,221,218,.2); color: rgba(229,221,218,.68); font-size: .78rem; }
.contact-page-grid, .about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.contact-page h1, .about-page h1 { max-width: 12ch; }
.lead-intro { max-width: 58ch; color: var(--muted); font-size: 1.12rem; }
.contact-details { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-details p { margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); }
.contact-details strong { display: block; color: var(--ink); }
.contact-details a { color: var(--jade); font-weight: 700; }
.lead-form-card { padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin: 0 0 1rem; }
.form-field label, .form-consent label { display: block; color: var(--ink); font-size: .9rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; margin-top: .35rem; padding: .75rem .8rem; border: 1px solid #cfc7c2; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(159,51,64,.24); border-color: var(--jade); }
.form-consent { margin: 1rem 0 1.2rem; color: var(--muted); font-size: .82rem; }
.form-consent label { color: var(--muted); font-weight: 400; }
.form-consent input { accent-color: var(--jade); }
.form-consent a { color: var(--jade); font-weight: 700; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-notice { margin-bottom: 1rem; padding: .85rem 1rem; border-left: 4px solid var(--jade); background: var(--jade-soft); color: var(--ink); }
.form-notice--error { border-color: #a52b33; background: #f4dddd; }
.about-layout article > p { max-width: 68ch; color: var(--muted); }
.about-layout h2 { margin-top: 2.5rem; }
.about-aside { display: grid; gap: 1rem; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 2rem; }
.about-facts div { padding: 1rem; border-top: 2px solid var(--jade); background: var(--surface); }
.about-facts strong, .about-facts span { display: block; }
.about-facts strong { color: var(--jade-deep); font-size: 1.6rem; }
.about-facts span { color: var(--muted); font-size: .82rem; }
.category-landing h1 { max-width: 14ch; margin-bottom: .8rem; }
.category-breadcrumb { display: flex; gap: .55rem; align-items: center; margin: 1.6rem 0 2.2rem; color: var(--muted); font-size: .86rem; }
.category-breadcrumb a { color: var(--jade); font-weight: 700; }
.category-product-grid { margin-top: 1rem; }
.category-note { max-width: 760px; margin-top: 4rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 2px solid var(--jade); background: var(--surface); }
.category-note h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.category-note p { max-width: 65ch; color: var(--muted); }
.category-note .btn { margin-top: .4rem; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: clamp(2rem, 6vw, 5rem); row-gap: clamp(1.25rem, 2vw, 1.75rem); align-items: start; }
.product-main-image { max-width: 350px; aspect-ratio: 1; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.product-main-image { display: block; width: 100%; padding: 0; cursor: zoom-in; }
.product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbnails { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .75rem; }
.product-thumbnail { width: 80px; height: 80px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnail.is-active { border: 2px solid var(--jade); }
.product-thumbnail img { object-fit: contain; }
.product-lightbox[hidden] { display: none; }
.product-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; grid-template-rows: 1fr auto; align-items: center; justify-items: center; gap: .6rem; padding: 2rem; background: rgba(29,27,27,.94); }
.product-lightbox figure { grid-column: 2; grid-row: 1; width: min(88vw, 900px); height: min(82vh, 900px); margin: 0; }
.product-lightbox figure img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next { border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; font-size: 1.7rem; line-height: 1; }
.lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 1.35rem; }
.lightbox-prev { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.lightbox-counter { grid-column: 2; grid-row: 2; margin: 0; color: rgba(255,255,255,.8); font-size: .85rem; }
body.gallery-open { overflow: hidden; }
.product-detail-copy h1 { max-width: 24ch; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.14; letter-spacing: -.012em; }
.product-original-title { margin: -.35rem 0 1rem; color: var(--muted); font-size: .86rem; }
.product-detail-price { color: var(--jade-deep); font-size: 1.45rem; font-weight: 700; }
.product-detail-price span { color: var(--muted); font-size: .82rem; font-weight: 400; }
.product-specs { margin: 1.75rem 0; border-top: 1px solid var(--line); }
.product-specs div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.product-specs dt { color: var(--muted); font-size: .84rem; font-weight: 700; }
.product-specs dd { margin: 0; color: var(--ink); }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.product-disclaimer { margin-top: 1.4rem; color: var(--muted); font-size: .82rem; }
.product-seo-content { max-width: 820px; margin-top: 4.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.product-seo-content h2 { margin-top: 2rem; font-size: clamp(1.65rem, 3vw, 2.45rem); }
.product-seo-content h2:first-child { margin-top: 0; }
.product-seo-content p { max-width: 70ch; color: var(--muted); }
.product-seo-content a { color: var(--jade); font-weight: 700; }
.product-extras { margin-top: 1rem; }
.product-extras .faq-list { max-width: none; margin: 0; }
.product-extras .faq-list p { max-width: 60ch; }
.product-extras .faq-list details + details { margin-top: .15rem; }
.contact-intro { padding-top: .75rem; }
.consultation-steps { display: grid; gap: 0; margin: 2rem 0 1.5rem; }
.consultation-steps > div { display: grid; grid-template-columns: 42px 1fr; gap: .85rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.consultation-steps > div:last-child { border-bottom: 1px solid var(--line); }
.consultation-steps > div > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--jade-deep); color: #fff; font-size: .72rem; font-weight: 700; }
.consultation-steps strong { display: block; color: var(--ink); font-size: .95rem; }
.consultation-steps p { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.form-heading { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.form-heading h2 { margin-bottom: .45rem; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.form-heading p:last-child { margin: 0; color: var(--muted); font-size: .88rem; }
.lead-form-card .btn { width: 100%; }

@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 100%; right: 20px; left: 20px; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: grid; gap: .8rem; }
  .main-nav .sub-menu { position: static; min-width: 0; transform: none; margin-top: .35rem; padding: .35rem 0 .35rem .8rem; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .main-nav .menu-item-has-children > .sub-menu { display: none; }
  .main-nav .menu-item-has-children.submenu-open > .sub-menu { display: grid; }
  .main-nav .menu-item-has-children > a { display: inline-block; }
  .main-nav .submenu-toggle { display: inline-block; margin-left: .35rem; padding: .15rem .4rem; }
  .menu-toggle { display: block; }
  .header-actions a:first-child { display: none; }
  .hero-grid, .story-grid, .guide-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 420px; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .contact-page-grid, .about-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .topbar .wrap, .contact-inner, .footer-bottom { display: block; }
  .topbar .wrap > * + * { margin-top: .2rem; }
  .header-inner { min-height: 68px; }
  .brand-name { font-size: 1.25rem; }
  .hero { padding-top: 2rem; }
  .hero-art { min-height: 360px; }
  .collection-grid, .product-grid, .trust-grid, .footer-grid, .detail-list, .guide-steps { grid-template-columns: 1fr; }
  .contact-page-grid, .about-layout, .form-row, .about-facts { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .shop-category-heading { display: block; }
  .shop-category-heading > p { margin-top: .55rem; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-copy h1 { max-width: none; font-size: clamp(1.8rem, 7vw, 2.25rem); line-height: 1.16; }
  .product-main-image { max-width: none; }
  .product-lightbox { grid-template-columns: 44px minmax(0,1fr) 44px; padding: 1rem; }
  .product-lightbox figure { width: 100%; height: 76vh; }
  .product-specs div { grid-template-columns: 1fr; gap: .15rem; }
  .section-heading .btn { margin-top: .8rem; }
  .footer-bottom > * + * { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---- Jade Guide / article pages ---- */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1.25rem; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card a { display: block; height: 100%; text-decoration: none; }
.post-card time { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.post-card h2 { margin: .5rem 0 .5rem; font-size: 1.22rem; line-height: 1.35; }
.post-card p { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.guide-page .lead-intro { max-width: 78ch; }
.guide-cat-links { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.guide-cat-links h2 { font-size: 1.45rem; }
.guide-cat-links ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.guide-cat-links a { color: var(--jade); font-weight: 700; text-decoration: none; }
.article-page .wrap { max-width: 880px; }
.article-single h1 { margin: .3rem 0 1rem; max-width: none; }
.entry-meta { margin: 0 0 1.5rem; color: var(--muted); font-size: .85rem; }
.entry-content { font-size: 1.02rem; line-height: 1.75; }
.entry-content h2 { margin-top: 2.2rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.entry-content h3 { margin-top: 1.6rem; font-size: 1.25rem; }
.entry-content p { max-width: 72ch; color: var(--ink); }
.entry-content ul, .entry-content ol { max-width: 72ch; padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content blockquote { margin: 1.4rem 0; padding: .8rem 1.2rem; border-left: 3px solid var(--jade); background: var(--sand); }
.entry-content blockquote p { margin: 0; color: var(--jade-deep); }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figcaption, .entry-content .wp-caption-text { color: var(--muted); font-size: .82rem; text-align: center; }
.entry-content table { width: 100%; margin: 1.4rem 0; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .55rem .75rem; border: 1px solid var(--line); text-align: left; font-size: .92rem; vertical-align: top; }
.entry-content th { background: var(--surface); }
.entry-content a { color: var(--jade); font-weight: 700; }
.article-notes { margin-top: 3rem; padding: 1.5rem 1.7rem; border: 1px solid var(--line); border-left: 3px solid var(--jade); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface); }
.article-notes h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.article-notes p { color: var(--muted); }
.article-sources { max-width: 72ch; margin-top: 1.75rem !important; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: .85rem; line-height: 1.6; }
.article-sources a { color: var(--jade); font-weight: 700; }
.article-thumb { margin: 0 0 1.75rem; }
.article-thumb img { border-radius: var(--radius); }
.article-faq, .guide-faq { margin-top: 3rem; }
.article-faq h2, .guide-faq h2 { font-size: 1.6rem; margin-bottom: .25rem; }
.article-faq .faq-list, .guide-faq .faq-list { margin-top: .75rem; }
@media (max-width: 700px) {
  .post-grid { grid-template-columns: 1fr; }
}

/* ---- Jade Guide: themed header & cards ---- */
.guide-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.75rem 2.5rem; margin-bottom: 2.75rem; }
.guide-head__copy { flex: 1 1 640px; }
.guide-head h1 { max-width: 18ch; }
.guide-head .lead-intro { margin-top: 1rem; }
.sources-note { max-width: 78ch; margin: .75rem 0 0; padding-left: 1rem; border-left: 3px solid var(--jade); color: var(--muted); font-size: .88rem; line-height: 1.6; }
.guide-head__actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.post-grid { margin-top: 0; }
.post-card { display: flex; padding: 1.35rem; }
.post-card > a { display: flex; flex-direction: column; }
.post-card .btn { margin-top: auto; align-self: flex-start; }
.post-card__thumb { margin: -1.35rem -1.35rem 1.1rem; overflow: hidden; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
.post-card__thumb img { display: block; width: 100%; height: 210px; object-fit: cover; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .45rem .9rem; align-items: center; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.post-card__meta span { color: var(--jade); }
.post-card__meta time { display: inline; margin: 0; }
.post-card h2 { margin: .7rem 0 .6rem; font-size: 1.28rem; line-height: 1.32; }
.post-card p { margin: 0 0 1.25rem; }
.post-card--featured { grid-column: 1 / -1; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--surface) 0%, #fdfaf7 100%); box-shadow: var(--shadow); }
.post-card--featured::before { content: "Latest guide"; position: absolute; top: 1.1rem; right: 1.1rem; padding: .3rem .7rem; border-radius: 999px; background: var(--jade); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.post-card--featured h2 { max-width: 26ch; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.post-card--featured p { max-width: 68ch; }
.guide-page #guide-faq { margin-top: 3.5rem; }
.guide-cat-links { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }
.guide-cat-links h2 { margin: 0; }
.guide-cat-links ul { margin-top: .25rem; }

/* ---- Article detail page ---- */
.article-page .article-single h1 { max-width: 20ch; }
.entry-meta { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: baseline; }
.entry-meta__author { color: var(--jade-deep); font-weight: 700; }
.article-notes { margin-top: 2.75rem; padding: clamp(1.3rem, 3vw, 2rem); border: 0; border-radius: var(--radius); background: var(--jade-soft); }
.article-notes h2 { margin-bottom: .55rem; }
.article-notes .btn { margin-top: .35rem; }
.author-card { display: flex; align-items: flex-start; gap: 1rem; margin-top: 2rem; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.author-card .brand-mark { flex: none; margin-top: .1rem; }
.author-card strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.author-card p { margin: .35rem 0 .55rem; color: var(--muted); font-size: .9rem; }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.article-nav a { color: var(--jade); font-weight: 700; text-decoration: none; }
.article-nav a:hover { color: var(--jade-deep); }
.article-nav__item--next { margin-left: auto; text-align: right; }
.more-guides { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.more-guides h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.more-guides .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.5rem; }
.related-products { margin-top: 3.5rem; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fdfaf7; }
.related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .75rem 2rem; margin-bottom: 1.5rem; }
.related-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 0; }
.related-note { max-width: 52ch; margin: 0; color: var(--muted); font-size: .9rem; }
.related-list { display: grid; gap: .9rem; }
.related-card { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1rem; border: 1px solid var(--line); border-radius: calc(var(--radius) - 4px); background: var(--surface); transition: box-shadow .2s ease, transform .2s ease; }
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card__media { flex: none; display: block; width: 140px; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--sand); }
.related-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.related-card__body { min-width: 0; flex: 1; }
.related-card__title { margin: 0 0 .3rem; font-size: 1.06rem; line-height: 1.3; }
.related-card__title a { color: var(--ink); text-decoration: none; }
.related-card__title a:hover, .related-card__title a:focus-visible { color: var(--jade); }
.related-card .product-type { margin: 0; }
.related-card .product-meta { margin: 0 0 .8rem; }
.related-card__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.related-card .price { margin: 0; }
.related-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.related-card__actions .btn { min-height: 40px; padding: .5rem .9rem; font-size: .85rem; }
.related-more { margin: 1.4rem 0 0; }
@media (max-width: 560px) {
  .related-card { gap: .8rem; padding: .8rem; }
  .related-card__media { width: 104px; }
  .related-card__title { font-size: .95rem; }
  .related-card__row { align-items: flex-start; }
  .related-card__actions { margin-top: .15rem; }
}
@media (max-width: 900px) {
  .more-guides .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .more-guides .post-grid { grid-template-columns: 1fr; }
  .guide-head__actions { width: 100%; }
}
