/*
Theme Name: ZenLife Apothecary
Theme URI: https://zenlifeforever.com
Author: ZenLife Forever
Author URI: https://zenlifeforever.com
Description: A calm storefront theme for skincare and slow-living goods. Full-bleed hero with the navigation over the image, large product imagery, and a mega-menu built from your product categories. Every block of the homepage and the Beauty Ritual page can be reordered or hidden in the Customizer. WooCommerce ready, with a 52-product starter catalog and AI image generation.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
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: zenlife-apothecary
Tags: e-commerce, woocommerce, japandi, minimal, furniture, wellness, skincare, custom-logo, custom-menu, featured-images

ZenLife Apothecary WordPress Theme, (C) 2026 ZenLife Forever
*/

/* ===== CSS RESET & BASE ===== */
:root {
    --zen-cream: #F5F0E8;
    --zen-warm-white: #FAF8F5;
    --zen-sand: #E8DFD0;
    --zen-stone: #C4B5A0;
    --zen-wood: #8B7355;
    --zen-wood-dark: #6B5640;
    --zen-charcoal: #2C2C2C;
    --zen-ink: #1A1A1A;
    --zen-sage: #8FA68A;
    --zen-sage-light: #B5C9B0;
    --zen-moss: #6B8F65;
    --zen-clay: #C9A882;
    --zen-terracotta: #B8836A;
    --zen-mist: #E8EDE6;
    --zen-font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --zen-font-body: 'Inter', 'Helvetica Neue', sans-serif;
    --zen-font-accent: 'Noto Sans JP', sans-serif;
    --zen-radius: 2px;
    --zen-shadow: 0 2px 20px rgba(0,0,0,0.06);
    --zen-shadow-hover: 0 8px 40px rgba(0,0,0,0.1);
    --zen-transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--zen-font-body);
    background-color: var(--zen-warm-white);
    color: var(--zen-charcoal);
    line-height: 1.8;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--zen-font-heading);
    font-weight: 300;
    line-height: 1.3;
    color: var(--zen-ink);
    letter-spacing: 0.02em;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    color: var(--zen-wood);
    text-decoration: none;
    transition: var(--zen-transition);
}

a:hover {
    color: var(--zen-wood-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 181, 160, 0.2);
    transition: var(--zen-transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo {
    font-family: var(--zen-font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--zen-ink);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-logo span {
    font-weight: 600;
    color: var(--zen-wood);
}

.site-logo .jp-text {
    font-family: var(--zen-font-accent);
    font-size: 0.7rem;
    display: block;
    letter-spacing: 0.3em;
    color: var(--zen-stone);
    margin-top: -2px;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-navigation a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zen-charcoal);
    position: relative;
    padding: 0.5rem 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--zen-wood);
    transition: var(--zen-transition);
    transform: translateX(-50%);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-actions a {
    color: var(--zen-charcoal);
    font-size: 1.1rem;
}

.cart-count {
    background: var(--zen-wood);
    color: white;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -8px;
    left: -5px;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--zen-charcoal);
    margin: 6px 0;
    transition: var(--zen-transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--zen-cream);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-text {
    z-index: 2;
}

.hero-tagline {
    font-family: var(--zen-font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--zen-sage);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 200;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--zen-ink);
}

.hero-title em {
    font-style: italic;
    color: var(--zen-wood);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--zen-charcoal);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.9;
}

.hero-image {
    position: relative;
    height: 600px;
    border-radius: var(--zen-radius);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245,240,232,0.3), transparent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--zen-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--zen-transition);
    border-radius: var(--zen-radius);
}

.btn-primary {
    background: var(--zen-charcoal);
    color: white;
}

.btn-primary:hover {
    background: var(--zen-ink);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--zen-shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--zen-charcoal);
    border: 1px solid var(--zen-charcoal);
}

.btn-secondary:hover {
    background: var(--zen-charcoal);
    color: white;
}

.btn-wood {
    background: var(--zen-wood);
    color: white;
}

.btn-wood:hover {
    background: var(--zen-wood-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-preorder {
    background: var(--zen-sage);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-preorder:hover {
    background: var(--zen-moss);
    color: white;
    transform: translateY(-2px);
}

.btn-preorder .preorder-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    font-size: 0.65rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    padding: 8rem 0;
    background: var(--zen-warm-white);
    text-align: center;
}

.philosophy-content {
    max-width: 700px;
    margin: 0 auto;
}

.section-japanese {
    font-family: var(--zen-font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--zen-stone);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.philosophy-text {
    font-size: 1.15rem;
    color: var(--zen-charcoal);
    opacity: 0.75;
    line-height: 2;
}

.philosophy-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--zen-wood);
}

.value-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--zen-charcoal);
    opacity: 0.7;
    line-height: 1.7;
}

/* ===== PRODUCT SECTIONS ===== */
.products-section {
    padding: 6rem 0;
}

.products-section.alt-bg {
    background: var(--zen-cream);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header .section-title {
    margin-bottom: 0;
}

.view-all-link {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--zen-wood);
    border-bottom: 1px solid var(--zen-wood);
    padding-bottom: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--zen-radius);
    overflow: hidden;
    transition: var(--zen-transition);
    position: relative;
    border: 1px solid rgba(196,181,160,0.15);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--zen-shadow-hover);
}

.product-card-image {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: var(--zen-cream);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--zen-radius);
    z-index: 2;
}

.badge-in-stock {
    background: var(--zen-sage);
    color: white;
}

.badge-preorder {
    background: var(--zen-terracotta);
    color: white;
}

.badge-bestseller {
    background: var(--zen-wood);
    color: white;
}

.badge-ai-designed {
    background: var(--zen-ink);
    color: white;
}

.product-card-info {
    padding: 1.5rem;
}

.product-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.product-card-subtitle {
    font-size: 0.8rem;
    color: var(--zen-stone);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--zen-ink);
}

.price-deposit {
    font-size: 0.8rem;
    color: var(--zen-terracotta);
    font-weight: 400;
}

.product-card-actions {
    display: flex;
    gap: 0.75rem;
}

.product-card-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.7rem;
}

/* ===== PRE-ORDER BANNER ===== */
.preorder-banner {
    background: linear-gradient(135deg, var(--zen-ink) 0%, var(--zen-charcoal) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.preorder-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
    background-size: 200px;
}

.preorder-banner .container {
    position: relative;
    z-index: 2;
}

.preorder-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.preorder-banner p {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.preorder-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.preorder-step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.preorder-step-number {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: var(--zen-font-heading);
    font-size: 1.2rem;
}

.preorder-step h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.preorder-step p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

/* ===== CUSTOMIZATION SECTION ===== */
.customization-section {
    padding: 8rem 0;
    background: var(--zen-mist);
}

.customization-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.customization-text .section-japanese {
    text-align: left;
}

.customization-text .section-title {
    text-align: left;
}

.customization-features {
    list-style: none;
    margin-top: 2rem;
}

.customization-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(196,181,160,0.2);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
}

.customization-features li::before {
    content: '\2022';
    color: var(--zen-sage);
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.customization-visual {
    position: relative;
    height: 500px;
    border-radius: var(--zen-radius);
    overflow: hidden;
    background: var(--zen-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.customization-visual .room-preview {
    text-align: center;
    padding: 3rem;
}

.customization-visual .room-preview h3 {
    margin-top: 2rem;
    font-size: 1.3rem;
}

.customization-tabs {
    display: flex;
    gap: 0;
    margin-top: 2rem;
    border: 1px solid var(--zen-sand);
    border-radius: var(--zen-radius);
    overflow: hidden;
}

.customization-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    background: white;
    border: none;
    transition: var(--zen-transition);
    font-family: var(--zen-font-body);
    font-weight: 500;
}

.customization-tab.active,
.customization-tab:hover {
    background: var(--zen-charcoal);
    color: white;
}

/* ===== AI / NEW IDEAS SECTION ===== */
.new-ideas-section {
    padding: 8rem 0;
    background: var(--zen-warm-white);
}

.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.idea-card {
    background: white;
    border-radius: var(--zen-radius);
    overflow: hidden;
    border: 1px solid rgba(196,181,160,0.15);
    transition: var(--zen-transition);
}

.idea-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--zen-shadow-hover);
}

.idea-card-image {
    height: 250px;
    overflow: hidden;
    background: var(--zen-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.idea-card-image .ai-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26,26,26,0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--zen-radius);
}

.idea-card-content {
    padding: 1.5rem;
}

.idea-card-category {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--zen-sage);
    margin-bottom: 0.75rem;
}

.idea-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.idea-card p {
    font-size: 0.9rem;
    color: var(--zen-charcoal);
    opacity: 0.7;
    line-height: 1.7;
}

.generate-ideas-btn {
    display: block;
    margin: 3rem auto 0;
    padding: 1.2rem 3rem;
}

/* ===== SHIPPING INFO ===== */
.shipping-section {
    padding: 5rem 0;
    background: var(--zen-cream);
}

.shipping-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.shipping-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--zen-radius);
    text-align: center;
    border: 1px solid rgba(196,181,160,0.15);
}

.shipping-card .shipping-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.shipping-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.shipping-card .shipping-time {
    font-size: 2rem;
    font-weight: 300;
    color: var(--zen-wood);
    font-family: var(--zen-font-heading);
    margin-bottom: 0.5rem;
}

.shipping-card p {
    font-size: 0.85rem;
    color: var(--zen-charcoal);
    opacity: 0.7;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--zen-ink);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .site-logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand .site-logo span {
    color: var(--zen-clay);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.6;
}

.footer-column h4 {
    color: white;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: var(--zen-font-body);
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ===== WOOCOMMERCE OVERRIDES ===== */
.woocommerce ul.products li.product {
    background: white;
    border-radius: var(--zen-radius);
    overflow: hidden;
    border: 1px solid rgba(196,181,160,0.15);
    transition: var(--zen-transition);
    margin-bottom: 2rem;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--zen-shadow-hover);
}

.woocommerce ul.products li.product a img {
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--zen-font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    padding: 1rem 1.5rem 0.25rem;
    color: var(--zen-ink);
}

.woocommerce ul.products li.product .price {
    padding: 0 1.5rem;
    color: var(--zen-wood);
    font-size: 1.1rem;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--zen-charcoal);
    color: white;
    border-radius: var(--zen-radius);
    font-family: var(--zen-font-body);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border: none;
    transition: var(--zen-transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--zen-ink);
    color: white;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--zen-wood);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: var(--zen-wood-dark);
}

/* Pre-order button style */
.woocommerce .preorder-add-to-cart .btn-preorder {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 1rem 2rem;
}

.preorder-info-box {
    background: var(--zen-mist);
    border: 1px solid var(--zen-sage-light);
    border-radius: var(--zen-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.preorder-info-box h4 {
    font-size: 0.9rem;
    font-family: var(--zen-font-body);
    font-weight: 600;
    color: var(--zen-moss);
    margin-bottom: 0.5rem;
}

.preorder-info-box p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--zen-charcoal);
}

.preorder-info-box .deposit-amount {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--zen-wood);
}

/* Single Product */
.single-product .product {
    padding-top: 2rem;
}

.woocommerce div.product div.images {
    border-radius: var(--zen-radius);
    overflow: hidden;
}

.woocommerce div.product .product_title {
    font-family: var(--zen-font-heading);
    font-size: 2.2rem;
    font-weight: 300;
}

.woocommerce div.product p.price {
    color: var(--zen-wood);
    font-size: 1.5rem;
}

.woocommerce .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 2rem;
    border-bottom: 1px solid var(--zen-sand);
}

.woocommerce .woocommerce-tabs ul.tabs li {
    border: none;
    background: none;
    border-radius: 0;
    padding: 0;
    margin: 0 2rem 0 0;
}

.woocommerce .woocommerce-tabs ul.tabs li a {
    font-family: var(--zen-font-body);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--zen-stone);
    padding: 1rem 0;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a {
    color: var(--zen-ink);
    border-bottom: 2px solid var(--zen-wood);
}

/* Cart */
.woocommerce-cart .woocommerce table.cart {
    border: 1px solid var(--zen-sand);
    border-radius: var(--zen-radius);
}

.woocommerce table.cart th {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Checkout */
.woocommerce form .form-row label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    border: 1px solid var(--zen-sand);
    border-radius: var(--zen-radius);
    padding: 0.8rem 1rem;
    font-family: var(--zen-font-body);
    transition: var(--zen-transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--zen-wood);
    box-shadow: 0 0 0 2px rgba(139,115,85,0.1);
    outline: none;
}

/* ===== CUSTOMIZATION PAGE ===== */
.customization-page {
    padding-top: 120px;
}

.customization-hero {
    text-align: center;
    padding: 4rem 0;
    background: var(--zen-mist);
}

.customization-form {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    background: white;
    border-radius: var(--zen-radius);
    border: 1px solid rgba(196,181,160,0.15);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--zen-ink);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--zen-sand);
    border-radius: var(--zen-radius);
    font-family: var(--zen-font-body);
    font-size: 0.95rem;
    transition: var(--zen-transition);
    background: var(--zen-warm-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--zen-wood);
    box-shadow: 0 0 0 3px rgba(139,115,85,0.1);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===== AI DESIGN SECTION ===== */
.ai-design-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.ai-design-prompt {
    background: white;
    border: 1px solid var(--zen-sand);
    border-radius: var(--zen-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.ai-design-prompt textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--zen-sand);
    border-radius: var(--zen-radius);
    font-family: var(--zen-font-body);
    font-size: 1rem;
    min-height: 100px;
    resize: vertical;
    margin-bottom: 1rem;
}

.ai-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ai-result-card {
    background: white;
    border-radius: var(--zen-radius);
    overflow: hidden;
    border: 1px solid rgba(196,181,160,0.15);
}

.ai-result-image {
    height: 300px;
    background: var(--zen-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-result-content {
    padding: 1.5rem;
}

/* ===== LOADING & ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.zen-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
}

.zen-loading span {
    width: 8px;
    height: 8px;
    background: var(--zen-wood);
    border-radius: 50%;
    animation: breathe 1.5s ease-in-out infinite;
}

.zen-loading span:nth-child(2) { animation-delay: 0.3s; }
.zen-loading span:nth-child(3) { animation-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title { font-size: 3rem; }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        height: 400px;
        margin-top: 2rem;
    }

    .customization-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .preorder-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    h1, .hero-title { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }

    .mobile-menu-toggle { display: block; }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--zen-warm-white);
        padding: 2rem;
        border-bottom: 1px solid var(--zen-sand);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }

    .philosophy-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .shipping-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .ideas-grid {
        grid-template-columns: 1fr;
    }

    .ai-results-grid {
        grid-template-columns: 1fr;
    }

    .preorder-steps {
        grid-template-columns: 1fr;
    }

    .customization-tabs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .header-inner { padding: 1rem; }
    .hero-content { padding: 2rem 1rem; }
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ========================================
   DAILY RITUAL SCENE
   ======================================== */

.ritual-scene {
    background: var(--zen-warm-white);
}

/* --- Hero --- */
.ritual-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 88vh;
    padding: 10rem 0 6rem;
    overflow: hidden;
    background: var(--zen-cream);
}

.ritual-hero-media {
    position: absolute;
    inset: 0;
}

.ritual-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.ritual-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(250,248,245,0.99) 0%, rgba(250,248,245,0.97) 38%, rgba(250,248,245,0.86) 52%, rgba(250,248,245,0.35) 72%, rgba(250,248,245,0) 92%);
}

.ritual-hero-inner {
    position: relative;
    z-index: 2;
}

.ritual-hero-text {
    max-width: 620px;
}

.ritual-hero-title {
    font-family: var(--zen-font-heading);
    font-size: 3.6rem;
    font-weight: 200;
    line-height: 1.15;
    letter-spacing: 0.01em;
    margin: 0.5rem 0 1.5rem;
    color: var(--zen-ink);
}

.ritual-hero-title em {
    font-style: italic;
    color: var(--zen-wood);
}

.ritual-hero-desc {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--zen-charcoal);
    opacity: 0.8;
    max-width: 520px;
}

.ritual-hero-note {
    margin-top: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--zen-stone);
}

/* --- Breathing guide --- */
.ritual-breathe-section {
    padding: 5rem 0;
    background: var(--zen-mist);
}

.ritual-breathe {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.ritual-breathe-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
}

.breathe-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--zen-sage-light), var(--zen-sage));
    box-shadow: 0 0 0 18px rgba(143,166,138,0.12), 0 0 0 36px rgba(143,166,138,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.6;
    transform: scale(1);
    transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1), opacity 4s ease;
}

.breathe-circle.breathe-in {
    transform: scale(1.45);
    opacity: 1;
    transition-duration: 4s;
}

.breathe-circle.breathe-hold {
    transform: scale(1.45);
    opacity: 1;
    transition-duration: 0.3s;
}

.breathe-circle.breathe-out {
    transform: scale(1);
    opacity: 0.6;
    transition-duration: 6s;
}

.breathe-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: white;
    text-align: center;
    pointer-events: none;
}

.ritual-breathe-text .section-title {
    margin-bottom: 1rem;
}

.ritual-breathe-text p {
    color: var(--zen-charcoal);
    opacity: 0.8;
    max-width: 520px;
}

/* --- Four moments --- */
.ritual-moments-section {
    padding: 6rem 0;
    background: var(--zen-warm-white);
}

.ritual-moments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ritual-moment {
    padding: 2.25rem 1.75rem;
    background: white;
    border: 1px solid rgba(196,181,160,0.25);
    border-top: 2px solid var(--zen-sage);
    border-radius: var(--zen-radius);
    transition: var(--zen-transition);
}

.ritual-moment--midday { border-top-color: var(--zen-clay); }
.ritual-moment--evening { border-top-color: var(--zen-terracotta); }
.ritual-moment--night { border-top-color: var(--zen-wood-dark); }

.ritual-moment:hover {
    box-shadow: var(--zen-shadow);
    transform: translateY(-3px);
}

.ritual-moment-jp {
    display: block;
    font-family: var(--zen-font-accent);
    font-size: 1.6rem;
    color: var(--zen-stone);
    line-height: 1;
    margin-bottom: 1rem;
}

.ritual-moment-time {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--zen-wood);
    margin-bottom: 0.5rem;
}

.ritual-moment h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.ritual-moment p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--zen-charcoal);
    opacity: 0.75;
    margin-bottom: 1.25rem;
}

.ritual-moment-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ritual-moment-links a {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--zen-wood);
    border-bottom: 1px solid transparent;
    align-self: flex-start;
}

.ritual-moment-links a:hover {
    border-bottom-color: var(--zen-wood);
}

/* --- Category grid --- */
.ritual-categories-section {
    padding: 6rem 0;
    background: var(--zen-cream);
}

.ritual-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.ritual-category-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--zen-radius);
    overflow: hidden;
    border: 1px solid rgba(196,181,160,0.2);
    color: inherit;
    transition: var(--zen-transition);
}

.ritual-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--zen-shadow-hover);
    color: inherit;
}

.ritual-category-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--zen-cream);
}

.ritual-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ritual-category-card:hover .ritual-category-image img {
    transform: scale(1.05);
}

.ritual-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, var(--zen-mist), var(--zen-cream));
}

.ritual-category-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ritual-category-jp {
    font-family: var(--zen-font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--zen-stone);
}

.ritual-category-body h3 {
    font-size: 1.4rem;
    margin: 0.4rem 0 0.5rem;
}

.ritual-category-tagline {
    font-size: 0.85rem;
    color: var(--zen-wood);
    margin-bottom: 0.75rem;
}

.ritual-category-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--zen-charcoal);
    opacity: 0.72;
    margin-bottom: 1.25rem;
}

.ritual-category-cta {
    margin-top: auto;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zen-ink);
}

.ritual-category-card:hover .ritual-category-cta {
    color: var(--zen-wood);
}

/* --- The shelf (featured products) --- */
.ritual-shelf-section {
    padding: 6rem 0;
    background: var(--zen-warm-white);
}

.ritual-filter {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.ritual-products-grid {
    grid-template-columns: repeat(4, 1fr);
}

.badge-set {
    background: var(--zen-clay);
    color: white;
}

.ritual-product-moment {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--zen-stone);
    margin-bottom: 0.5rem;
}

.ritual-products-grid .product-card-title {
    font-size: 1.02rem;
    line-height: 1.5;
}

.ritual-products-grid .product-card {
    display: flex;
    flex-direction: column;
}

.ritual-products-grid .product-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ritual-products-grid .product-card-actions {
    margin-top: auto;
    padding-top: 1.25rem;
}

.ritual-products-grid .product-card-actions .btn {
    padding: 0.7rem 0.9rem;
    font-size: 0.7rem;
    white-space: nowrap;
}

.ritual-photo-pending {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ritual-photo-pending::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(250,248,245,0.74);
}

.ritual-photo-pending span {
    position: relative;
    z-index: 2;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zen-wood);
    text-align: center;
    padding: 0 1rem;
}

/* --- Evening band --- */
.ritual-band {
    padding: 8rem 0;
    background-color: var(--zen-ink);
    background-size: cover;
    background-position: center;
    color: white;
}

.ritual-band-text {
    max-width: 620px;
}

.ritual-band-text h2 {
    color: white;
    font-size: 2.6rem;
    margin-bottom: 1.25rem;
}

.ritual-band-text p {
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.ritual-band-text .btn-secondary {
    border-color: rgba(255,255,255,0.6);
    color: white;
}

.ritual-band-text .btn-secondary:hover {
    background: white;
    color: var(--zen-ink);
}

/* --- Ritual sets --- */
.ritual-sets-section {
    padding: 6rem 0;
    background: var(--zen-cream);
}

.ritual-sets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ritual-set-card {
    display: grid;
    grid-template-columns: 40% 1fr;
    background: white;
    border: 1px solid rgba(196,181,160,0.2);
    border-radius: var(--zen-radius);
    overflow: hidden;
    transition: var(--zen-transition);
}

.ritual-set-card:hover {
    box-shadow: var(--zen-shadow-hover);
}

.ritual-set-image {
    position: relative;
    min-height: 260px;
    background: var(--zen-cream);
}

.ritual-set-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ritual-set-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.ritual-set-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.ritual-set-body p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--zen-charcoal);
    opacity: 0.75;
    margin-bottom: 1rem;
}

.ritual-set-body .product-card-price {
    padding: 0;
    margin-bottom: 1rem;
}

.ritual-set-body .product-card-actions {
    padding: 0;
    margin-top: auto;
}

/* --- Promises --- */
.ritual-promise-section {
    padding: 6rem 0;
    background: var(--zen-warm-white);
}

.ritual-promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.ritual-promise-number {
    display: block;
    font-family: var(--zen-font-heading);
    font-size: 2rem;
    font-weight: 200;
    color: var(--zen-stone);
    margin-bottom: 0.75rem;
}

.ritual-promise h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.ritual-promise p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--zen-charcoal);
    opacity: 0.75;
}

/* --- Sunday letter --- */
.ritual-letter-section {
    padding: 6rem 0;
    background: var(--zen-mist);
}

.ritual-letter-form {
    display: flex;
    gap: 0.5rem;
}

.ritual-letter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--zen-sand);
    border-radius: var(--zen-radius);
    font-family: var(--zen-font-body);
    font-size: 0.9rem;
    background: white;
}

.ritual-letter-form input:focus {
    outline: none;
    border-color: var(--zen-wood);
    box-shadow: 0 0 0 3px rgba(139,115,85,0.1);
}

/* --- Ritual scene responsive --- */
@media (max-width: 1200px) {
    .ritual-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .ritual-hero { min-height: 0; padding: 9rem 0 5rem; }
    .ritual-hero-media::after {
        background: linear-gradient(180deg, rgba(250,248,245,0.96) 0%, rgba(250,248,245,0.9) 55%, rgba(250,248,245,0.6) 100%);
    }
    .ritual-hero-title { font-size: 2.8rem; }
    .ritual-breathe { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .ritual-breathe-text p { margin-left: auto; margin-right: auto; }
    .ritual-moments { grid-template-columns: repeat(2, 1fr); }
    .ritual-category-grid { grid-template-columns: repeat(2, 1fr); }
    .ritual-products-grid { grid-template-columns: repeat(2, 1fr); }
    .ritual-sets-grid { grid-template-columns: 1fr; }
    .ritual-promise-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
    .ritual-hero-title { font-size: 2.2rem; }
    .ritual-moments { grid-template-columns: 1fr; }
    .ritual-category-grid { grid-template-columns: 1fr; }
    .ritual-products-grid { grid-template-columns: 1fr; }
    .ritual-set-card { grid-template-columns: 1fr; }
    .ritual-set-image { min-height: 220px; }
    .ritual-promise-grid { grid-template-columns: 1fr; }
    .ritual-band { padding: 5rem 0; }
    .ritual-band-text h2 { font-size: 2rem; }
    .ritual-letter-form { flex-direction: column; }
    .ritual-filter { flex-direction: row; }
}

@media (prefers-reduced-motion: reduce) {
    .breathe-circle,
    .ritual-category-image img {
        transition: none;
    }
}

/* --- Homepage teaser for the ritual scene --- */
.ritual-teaser-section {
    padding: 6rem 0;
    background: var(--zen-cream);
}

.ritual-teaser {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.ritual-teaser-text p {
    color: var(--zen-charcoal);
    opacity: 0.78;
    max-width: 480px;
}

.ritual-teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ritual-teaser-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--zen-radius);
    background: var(--zen-mist);
}

.ritual-teaser-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ritual-teaser-tile:hover img {
    transform: scale(1.06);
}

.ritual-teaser-tile span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.35rem 0.8rem;
    background: rgba(250,248,245,0.92);
    border-radius: var(--zen-radius);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--zen-ink);
}

@media (max-width: 1024px) {
    .ritual-teaser { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ========================================
   STOREFRONT LAYOUT (overlay header + large product imagery)
   ======================================== */

:root {
    --zsf-ink: #23211E;
    --zsf-paper: #FBF9F5;
    --zsf-line: rgba(35,33,30,0.18);
    --zsf-muted: rgba(35,33,30,0.62);
    --zsf-nav: 0.82rem;
}

/* --- Announcement bar --- */
.zsf-announce {
    background: var(--zsf-ink);
    color: #fff;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    position: relative;
    z-index: 1002;
}

.zsf-announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* --- Overlay header --- */
.zsf-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.zsf-announce { position: static; }

.zsf-header {
    padding: 1.4rem 2rem 1rem;
    color: var(--zsf-ink);
    transition: background 0.3s ease, color 0.3s ease;
}

.zsf-transparent-header .zsf-header {
    color: #fff;
}

.zsf-topbar.scrolled .zsf-header { color: var(--zsf-ink); }
.zsf-topbar.scrolled .zsf-announce { display: none; }

/* Solid header on inner pages, and once the hero is scrolled past */
.zsf-has-overlay-header:not(.zsf-transparent-header) .zsf-topbar,
.zsf-topbar.scrolled {
    position: fixed;
}

.zsf-has-overlay-header:not(.zsf-transparent-header) .zsf-header,
.zsf-topbar.scrolled .zsf-header {
    background: var(--zsf-paper);
    color: var(--zsf-ink);
    border-bottom: 1px solid var(--zsf-line);
    padding-top: 1rem;
    padding-bottom: 0.6rem;
}

.zsf-has-overlay-header:not(.zsf-transparent-header) {
    padding-top: 132px;
}

.zsf-header a { color: inherit; }

.zsf-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.zsf-utility {
    display: flex;
    gap: 1.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.zsf-utility--right { justify-content: flex-end; }

.zsf-utility a:hover { text-decoration: underline; text-underline-offset: 4px; }

.zsf-logo {
    font-family: var(--zen-font-heading);
    font-size: 1.9rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.zsf-logo img { max-height: 42px; width: auto; }

/* --- Tabs --- */
.zsf-tabs {
    margin-top: 1.1rem;
}

.zsf-tabs > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zsf-tab > a {
    display: inline-block;
    padding: 0.35rem 0;
    font-size: var(--zsf-nav);
    letter-spacing: 0.05em;
    border-bottom: 1px solid transparent;
}

.zsf-tab:hover > a,
.zsf-tab:focus-within > a {
    border-bottom-color: currentColor;
}

/* Mega panel */
.zsf-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--zsf-paper);
    color: var(--zsf-ink);
    border-top: 1px solid var(--zsf-line);
    border-bottom: 1px solid var(--zsf-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.zsf-tab.has-panel:hover .zsf-panel,
.zsf-tab.has-panel:focus-within .zsf-panel,
.zsf-tab.has-panel.open .zsf-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zsf-panel-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.zsf-panel-item {
    display: block;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: left;
}

.zsf-panel-thumb {
    display: block;
    aspect-ratio: 1;
    background: var(--zen-cream);
    margin-bottom: 0.6rem;
    overflow: hidden;
}

.zsf-panel-thumb img { width: 100%; height: 100%; object-fit: cover; }

.zsf-panel-item:hover .zsf-panel-name { text-decoration: underline; text-underline-offset: 3px; }

.zsf-panel-all {
    align-self: end;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.zsf-menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
}

.zsf-menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    margin: 5px 0;
}

/* --- Hero --- */
.zsf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 2rem 7rem;
    background: var(--zsf-ink);
    overflow: hidden;
}

.zsf-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zsf-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.12) 34%, rgba(0,0,0,0.55) 100%);
}

.zsf-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 760px;
}

.zsf-hero-caption {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
    opacity: 0.92;
}

.zsf-hero-title {
    font-family: var(--zen-font-heading);
    font-size: 3.4rem;
    font-weight: 300;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 2rem;
}

.zsf-btn-outline {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(255,255,255,0.85);
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    transition: background 0.3s ease, color 0.3s ease;
}

.zsf-btn-outline:hover { background: #fff; color: var(--zsf-ink); }

/* --- Shared section shell --- */
.zsf-section { padding: 6rem 0; background: var(--zsf-paper); color: var(--zsf-ink); }

.zsf-wrap { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }

.zsf-section-head { margin-bottom: 3rem; max-width: 640px; }

.zsf-section-head h2 {
    font-family: var(--zen-font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 0.6rem;
}

.zsf-section-head p { color: var(--zsf-muted); font-size: 0.95rem; margin: 0; }

.zsf-grid { display: grid; gap: 2.5rem 2rem; }
.zsf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.zsf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.zsf-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }

/* --- Product tile --- */
.zsf-tile-media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--zen-cream);
    margin-bottom: 1.2rem;
}

.zsf-tile-media img,
.zsf-tile-media .ritual-photo-pending,
.zsf-tile-media .ritual-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.zsf-tile:hover .zsf-tile-media img { transform: scale(1.04); }

.zsf-tile-body h3 {
    font-family: var(--zen-font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
}

.zsf-tile-body h3 a { color: inherit; }
.zsf-tile-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }

.zsf-tile-body p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--zsf-muted);
    margin-bottom: 1rem;
}

.zsf-tile-foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--zsf-line);
    padding-top: 0.9rem;
}

.zsf-price { font-size: 0.95rem; }
.zsf-price del { opacity: 0.5; margin-right: 0.4rem; }
.zsf-price ins { text-decoration: none; }

.zsf-add {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--zsf-ink);
    border-bottom: 1px solid var(--zsf-ink);
    padding-bottom: 2px;
    white-space: nowrap;
}

/* --- Category blocks --- */
.zsf-block {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--zen-cream);
    color: #fff;
}

.zsf-block img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(0.25,0.1,0.25,1); }
.zsf-block:hover img { transform: scale(1.04); }

.zsf-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
}

.zsf-block-label {
    position: absolute;
    left: 2rem;
    bottom: 1.8rem;
    z-index: 2;
    color: #fff;
}

.zsf-block-label h3 {
    font-family: var(--zen-font-heading);
    font-size: 1.6rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.2rem;
}

.zsf-block-label p { font-size: 0.85rem; opacity: 0.9; margin: 0; }

/* --- Editorial split --- */
.zsf-editorial { padding: 0; }

.zsf-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }

.zsf-split-media { min-height: 560px; background: var(--zen-cream); }
.zsf-split-media img { width: 100%; height: 100%; object-fit: cover; }

.zsf-split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 6rem;
    background: var(--zen-mist);
}

.zsf-caption { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--zsf-muted); margin-bottom: 0.8rem; }

.zsf-split-text h2 { font-family: var(--zen-font-heading); font-size: 2.2rem; font-weight: 300; margin-bottom: 1.2rem; }
.zsf-split-text p { font-size: 0.98rem; line-height: 1.9; color: var(--zsf-muted); margin-bottom: 1.5rem; }

.zsf-link { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--zsf-ink); border-bottom: 1px solid var(--zsf-ink); padding-bottom: 3px; align-self: flex-start; }

/* --- Promises --- */
.zsf-promise { border-top: 1px solid var(--zsf-line); padding: 4.5rem 0; }
.zsf-promise-item h3 { font-family: var(--zen-font-body); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.7rem; }
.zsf-promise-item p { font-size: 0.86rem; line-height: 1.8; color: var(--zsf-muted); margin: 0; }

/* --- Letter --- */
.zsf-letter { background: var(--zen-mist); }
.zsf-letter-inner { max-width: 640px; text-align: center; }
.zsf-letter h2 { font-family: var(--zen-font-heading); font-size: 2rem; font-weight: 300; margin-bottom: 0.8rem; }
.zsf-letter p { color: var(--zsf-muted); margin-bottom: 2rem; }

.zsf-letter-form { display: flex; gap: 0; border-bottom: 1px solid var(--zsf-ink); }
.zsf-letter-form input {
    flex: 1;
    background: none;
    border: 0;
    padding: 0.9rem 0.2rem;
    font-family: var(--zen-font-body);
    font-size: 0.95rem;
    color: var(--zsf-ink);
}
.zsf-letter-form input:focus { outline: none; }
.zsf-letter-form button {
    background: none;
    border: 0;
    padding: 0.9rem 0.4rem;
    font-family: var(--zen-font-body);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    color: var(--zsf-ink);
}

/* --- Storefront responsive --- */
@media (max-width: 1100px) {
    .zsf-panel-inner { grid-template-columns: repeat(3, 1fr); }
    .zsf-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .zsf-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .zsf-split-text { padding: 4rem 3rem; }
}

@media (max-width: 860px) {
    .zsf-header { padding: 1rem 1.2rem 0.8rem; }
    .zsf-header-inner { grid-template-columns: auto 1fr auto; }
    .zsf-utility--left { display: none; }
    .zsf-utility--right { font-size: 0.72rem; gap: 1rem; }
    .zsf-logo { font-size: 1.4rem; }
    .zsf-menu-toggle { display: block; order: 3; }

    .zsf-tabs { display: none; margin-top: 0.8rem; }
    .zsf-tabs.open { display: block; }
    .zsf-tabs > ul { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
    .zsf-panel { display: none; }

    .zsf-has-overlay-header:not(.zsf-transparent-header) { padding-top: 96px; }

    .zsf-hero { min-height: 78vh; padding-bottom: 4rem; }
    .zsf-hero-title { font-size: 2.1rem; }

    .zsf-section { padding: 4rem 0; }
    .zsf-grid--2, .zsf-grid--3, .zsf-grid--4 { grid-template-columns: 1fr; }
    .zsf-split { grid-template-columns: 1fr; }
    .zsf-split-media { min-height: 320px; }
    .zsf-split-text { padding: 3rem 1.5rem; }
    .zsf-block { aspect-ratio: 4 / 3; }
}
