/*
Theme Name:  Gebenco Child
Theme URI:   https://gebenco.com
Description: A child theme for Blocksy built for Gebenco – "Thoughtful organisation for a calmer home." Contemporary design system with green accents, editorial typography, and WooCommerce integration.
Author:      Gebenco Studio
Author URI:  https://gebenco.com
Template:    blocksy
Version:     1.3.3
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gebenco-child
Requires at least: 6.3
Tested up to:      6.7
Requires PHP:      7.4
*/

/* ============================================================
   BRAND PALETTE (Source: Gebenco Brand Guidelines v1)
   Primary (85%): Snow #FFFFFF, Off-White #F5F5F5, Stone #E8E8E8, Charcoal #2B2B2B
   Accent  (15%): Gebenco Green #1B8C4F, Green Dark #0D5A34, Green Light #E8F5F0
   ============================================================ */
:root {
    --gebenco-snow: #FFFFFF;
    --gebenco-off-white: #F5F5F5;
    --gebenco-stone: #E8E8E8;
    --gebenco-charcoal: #2B2B2B;
    --gebenco-green: #1B8C4F;
    --gebenco-green-dark: #0D5A34;
    --gebenco-green-light: #E8F5F0;
    --gebenco-border: #E8E8E8;
    --gebenco-border-strong: #D5D5D5;
    --gebenco-ink: #1A1A1A;
    --gebenco-muted: #666666;
    --gebenco-muted-soft: #888888;
    --gebenco-muted-light: #F0F0F0;
    --gebenco-radius-sm: 14px;
    --gebenco-radius-md: 20px;
    --gebenco-radius-lg: 28px;
    --gebenco-shadow-soft: 0 18px 40px rgba(27, 140, 79, 0.08);

    /* Legacy aliases kept for compatibility */
    --gebenco-white: #FFFFFF;
    --gebenco-primary: #1B8C4F;

    /* ── Blocksy palette overrides ──────────────────────────────
       Blocksy reads these variables for all its own components
       (links, focus states, WooCommerce checkout, form borders,
       badge colours, etc.). Without overrides the default values
       are blue (#2872FA / #1559ED) which clashes with the brand.
       Mapping: 1–2 = primary action / hover, 3–4 = text tones,
       5–8 = surface / background tones.
    ─────────────────────────────────────────────────────────── */
    --theme-palette-color-1: #1B8C4F; /* Gebenco Green – replaces Blocksy blue */
    --theme-palette-color-2: #0D5A34; /* Green Dark – hover / secondary */
    --theme-palette-color-3: #666666; /* Muted – body text tones */
    --theme-palette-color-4: #1A1A1A; /* Ink – deep text */
    --theme-palette-color-5: #E8E8E8; /* Stone – border / divider */
    --theme-palette-color-6: #F0F0F0; /* Muted Light – subtle surface */
    --theme-palette-color-7: #F5F5F5; /* Off-White – page background */
    --theme-palette-color-8: #FFFFFF; /* Snow – card / overlay background */
}

/* ============================================================
   1. SKIP LINK (Accessibility – WP required)
   ============================================================ */
.skip-link {
    position: absolute;
    left: -9999em;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background: var(--gebenco-charcoal);
    color: var(--gebenco-snow);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    z-index: 9999;
    overflow: visible;
    text-decoration: none;
}

/* ============================================================
   2. FOCUS RINGS (Accessibility – WP required)
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gebenco-green);
    outline-offset: 3px;
}

/* ============================================================
   3. GLOBAL RESETS
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    color: var(--gebenco-charcoal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.8;
    background-color: var(--gebenco-off-white);
    font-size: 1rem;
}

input,
textarea,
select,
button {
    accent-color: var(--gebenco-charcoal);
}

/* ============================================================
   4. TYPOGRAPHY  (Brand Guidelines §4)
   Inter Light (300) = aspirational headlines
   Inter Semi-Bold (600) = subheadings with impact
   Lora Regular (400) = body / editorial
   ============================================================ */
h1,
.site-title,
.entry-title,
.page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    /* Light – aspirational */
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--gebenco-charcoal);
    text-transform: none;
}

h2,
h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    /* Semi-Bold – subheadings with impact */
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--gebenco-charcoal);
    text-transform: none;
}

h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--gebenco-charcoal);
    text-transform: none;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.9rem;
}

p {
    font-family: 'Lora', serif;
    margin-bottom: 1.5em;
    max-width: 66ch;
    line-height: 1.85;
}

/* Links: underlined in content per WP accessibility requirement */
a {
    color: var(--gebenco-charcoal);
    text-decoration: underline;
    text-decoration-color: var(--gebenco-stone);
    text-underline-offset: 3px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

a:hover {
    color: var(--gebenco-green-dark);
    text-decoration-color: var(--gebenco-green);
}

/* Nav-context links: underline not required per WP spec */
.main-navigation a,
.header-menu a,
.ct-menu a,
.footer-links a,
.orderly-tag,
.button,
button,
.wp-block-button__link {
    text-decoration: none;
}

/* ============================================================
   5. LAYOUT & WHITESPACE
   ============================================================ */
.container,
.wp-block-group__inner-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* Utility: serenity whitespace (Brand: aggressive negative space) */
.serene-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

section {
    padding-top: 64px;
    padding-bottom: 64px;
}

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    padding: 24px 40px;
}

.site-header.scrolled {
    background-color: var(--gebenco-snow);
    box-shadow: 0 1px 0 var(--gebenco-border);
}

/* Non-front-page: header is always solid — no transparent phase.
   On inner pages (Shop, Product, Journal, etc.) there is no hero
   image to justify white text on a transparent background, so we
   lock it to the snow/charcoal treatment immediately. */
body:not(.home) .site-header:not(.scrolled) {
    background-color: var(--gebenco-snow);
    box-shadow: 0 1px 0 var(--gebenco-border);
}

body:not(.home) .site-header:not(.scrolled) .site-title a,
body:not(.home) .site-header:not(.scrolled) .orderly-logo-link {
    color: var(--gebenco-charcoal);
}

body:not(.home) .site-header:not(.scrolled) .header-menu-link {
    color: var(--gebenco-charcoal);
}

body:not(.home) .site-header:not(.scrolled) .header-menu-link:hover {
    color: var(--gebenco-green-dark);
}

body:not(.home) .site-header:not(.scrolled) .header-wishlist-link {
    color: var(--gebenco-charcoal);
}

body:not(.home) .site-header:not(.scrolled) .header-wishlist-link:hover {
    color: var(--gebenco-green-dark);
}

body:not(.home) .site-header:not(.scrolled) .menu-toggle__bar {
    background-color: var(--gebenco-charcoal);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo: Inter Semi-Bold per brand guidelines */
.site-title a,
.orderly-logo-link {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--gebenco-charcoal);
    text-decoration: none;
}

/* White wordmark on transparent hero */
.site-header:not(.scrolled) .site-title a,
.site-header:not(.scrolled) .orderly-logo-link {
    color: var(--gebenco-snow);
}

.site-header:not(.scrolled) .header-menu-link {
    color: rgba(255, 255, 255, 0.85);
}

.site-header:not(.scrolled) .header-menu-link:hover {
    color: var(--gebenco-snow);
}

/* Nav links */
.main-navigation,
.header-menu,
.ct-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu-link,
.ct-menu a,
.main-navigation a {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gebenco-charcoal);
    transition: color 0.3s ease;
}

.header-menu-link:hover,
.ct-menu a:hover,
.main-navigation a:hover {
    color: var(--gebenco-green-dark);
}

/* Dropdown submenus */
.header-menu li {
    position: relative;
    list-style: none;
}

.header-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gebenco-snow);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    padding: 16px 0;
    z-index: 999;
    list-style: none;
    margin: 0;
}

.header-menu li:hover>.sub-menu,
.header-menu li:focus-within>.sub-menu {
    display: block;
}

.header-menu .sub-menu li {
    padding: 0;
    margin: 0;
}

.header-menu .sub-menu a {
    display: block;
    padding: 8px 28px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--gebenco-charcoal);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-menu .sub-menu a:hover {
    background-color: var(--gebenco-off-white);
    color: var(--gebenco-green-dark);
}

/* Header actions container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Wishlist header link (heart icon) */
.header-wishlist-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--gebenco-charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-wishlist-link:hover {
    color: var(--gebenco-green-dark);
    text-decoration: none;
}

.site-header:not(.scrolled) .header-wishlist-link {
    color: rgba(255, 255, 255, 0.85);
}

.site-header:not(.scrolled) .header-wishlist-link:hover {
    color: var(--gebenco-snow);
}

/* Hamburger toggle (hidden on desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--gebenco-charcoal);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header:not(.scrolled) .menu-toggle__bar {
    background-color: var(--gebenco-snow);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Header CTA button */
.header-cta-btn {
    padding: 10px 24px !important;
    font-size: 0.75rem !important;
}

/* Search overlay */
.header-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gebenco-snow);
    padding: 100px 40px 40px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.header-search-overlay.is-open {
    transform: translateY(0);
}

.header-search-overlay__inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-search-overlay .search-form {
    flex: 1;
    display: flex;
    gap: 0;
}

.header-search-overlay .search-field {
    flex: 1;
    font-size: 1.2rem !important;
    padding: 16px 20px !important;
    border: none !important;
    border-bottom: 2px solid var(--gebenco-charcoal) !important;
    background: transparent;
    font-family: 'Inter', sans-serif;
}

.header-search-overlay .search-submit {
    padding: 16px 24px !important;
}

.header-search-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--gebenco-charcoal);
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.header-search-close:hover {
    color: var(--gebenco-green-dark);
}

/* ============================================================
   7. BUTTONS  (Brand: calm, tactile, high contrast)
      TOV: "Explore", "Discover", "Add to Basket" — not "BUY" or "GRAB"
   ============================================================ */
button,
.button,
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--gebenco-charcoal) !important;
    color: var(--gebenco-snow) !important;
    border-radius: 999px !important;
    border: 1px solid var(--gebenco-charcoal) !important;
    padding: 14px 32px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    /* Semi-Bold per brand guidelines */
    letter-spacing: 0.12em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 22px rgba(35, 37, 34, 0.12) !important;
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease,
        transform 0.35s ease !important;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: var(--gebenco-green) !important;
    border-color: var(--gebenco-green) !important;
    color: var(--gebenco-charcoal) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16em !important;
    transform: translateY(-1px) !important;
}

/* Ghost variant */
.button--ghost {
    background-color: rgba(255, 255, 255, 0.72) !important;
    color: var(--gebenco-charcoal) !important;
    border: 1px solid var(--gebenco-charcoal) !important;
    box-shadow: none !important;
}

.button--ghost:hover {
    background-color: var(--gebenco-charcoal) !important;
    color: var(--gebenco-snow) !important;
}

/* ============================================================
   8. WOOCOMMERCE OVERRIDES
   ============================================================ */

/* Price */
.woocommerce-Price-amount,
.price,
.woocommerce div.product p.price {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--gebenco-charcoal);
}

/* Remove "Sale!" badge – brand: no discount language */
.onsale,
.woocommerce span.onsale {
    display: none !important;
}

/* Product grid */
.products,
.woocommerce ul.products {
    display: grid !important;
    gap: 40px !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
}

.woocommerce ul.products li.product {
    margin: 0 !important;
    padding: 18px;
    border: 1px solid var(--gebenco-border);
    border-radius: var(--gebenco-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--gebenco-shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: grid;
    gap: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: contain;
    border-radius: calc(var(--gebenco-radius-lg) - 4px);
    background: linear-gradient(180deg, #ffffff 0%, #f4f1ed 100%);
    padding: 18px;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.02);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.01em;
    margin-top: 0;
    margin-bottom: 0;
}

.woocommerce ul.products li.product .price {
    display: block;
    margin: 0;
    color: var(--gebenco-muted);
}

.woocommerce ul.products li.product .button {
    align-self: flex-start;
    margin-top: auto !important;
}

.woocommerce .quantity input.qty {
    border-radius: var(--gebenco-radius-sm);
    border: 1px solid var(--gebenco-border-strong);
    font-family: 'Inter', sans-serif;
    padding: 8px 12px;
    width: 64px;
    text-align: center;
}

/* Related products suppressed by PHP filter; CSS fallback */
.related.products {
    display: none !important;
}

/* Upsells */
.up-sells.upsells.products h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--gebenco-green) !important;
    border-radius: var(--gebenco-radius-sm);
    font-family: 'Inter', sans-serif;
}

/* ============================================================
   9. SINGLE PRODUCT PAGE  (Brand: "Calm Hypothesis" layout)
   ============================================================ */
.orderly-breadcrumb--product {
    max-width: 1200px;
    margin: 120px auto 24px;
    padding: 0 40px;
}

.woocommerce .woocommerce-product-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px;
    align-items: start;
}

.woocommerce-product-gallery-wrap,
.woocommerce-product-summary-wrap {
    min-width: 0;
}

.woocommerce-product-gallery-wrap .woocommerce-product-gallery {
    position: sticky;
    top: 130px;
}

.woocommerce-product-gallery-wrap img {
    max-height: 72vh;
    width: 100%;
    object-fit: contain;
    border-radius: var(--gebenco-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f4f1ed 100%);
}

.woocommerce-product-summary-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px;
    border: 1px solid var(--gebenco-border);
    border-radius: var(--gebenco-radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--gebenco-shadow-soft);
}

.orderly-product-kicker {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gebenco-muted);
}

.woocommerce-product-summary-wrap .product_title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    margin-bottom: 0;
}

.woocommerce-product-summary-wrap p.price,
.woocommerce-product-summary-wrap span.price {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: var(--gebenco-ink);
}

.woocommerce-product-summary-wrap .woocommerce-product-details__short-description,
.woocommerce-product-summary-wrap .variations_form,
.woocommerce-product-summary-wrap form.cart {
    display: grid;
    gap: 18px;
}

.woocommerce-product-summary-wrap .woocommerce-product-details__short-description {
    color: var(--gebenco-muted);
}

.woocommerce-product-summary-wrap table.variations {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.woocommerce-product-summary-wrap table.variations td,
.woocommerce-product-summary-wrap table.variations th {
    padding: 0;
}

.woocommerce-product-summary-wrap table.variations label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gebenco-muted);
}

.woocommerce-product-summary-wrap select,
.woocommerce-product-summary-wrap input.qty {
    border-radius: var(--gebenco-radius-sm) !important;
    border: 1px solid var(--gebenco-border-strong) !important;
    padding: 12px 14px !important;
    background: var(--gebenco-snow) !important;
    color: var(--gebenco-charcoal) !important;
}

.woocommerce-product-summary-wrap .single_add_to_cart_button {
    width: 100%;
}

/* Trust snippet below Add to Basket (brand playbook §3) */
.orderly-trust-snippet {
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    color: var(--gebenco-muted-soft);
    margin-top: 12px;
    font-style: italic;
}

/* Shipping & returns accordion */
.orderly-shipping-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gebenco-border);
}

.orderly-shipping-info details {
    margin-bottom: 12px;
    padding: 0 18px;
    border-radius: var(--gebenco-radius-md);
    background: var(--gebenco-muted-light);
}

.orderly-shipping-info summary {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 12px 0;
    border-bottom: 1px solid var(--gebenco-border);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gebenco-charcoal);
}

.orderly-shipping-info summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.orderly-shipping-info details[open] summary::after {
    transform: rotate(45deg);
}

.orderly-shipping-info details p {
    padding: 16px 0;
    font-size: 0.9rem;
    color: var(--gebenco-muted);
    max-width: none;
    margin: 0;
    font-family: 'Lora', serif;
    line-height: 1.7;
}

/* ============================================================
   10. JOURNAL / BLOG  (Brand: editorial magazine aesthetic)
   ============================================================ */
.single .site-main,
.single-post .site-main {
    max-width: 100%;
    padding: 0;
}

.single article.post,
.single-post article.post {
    padding-top: 120px;
}

.single .post-thumbnail,
.single-post .post-thumbnail {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    max-height: 70vh;
}

.single .post-thumbnail img,
.single-post .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single .entry-title,
.single-post .entry-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 300;
    /* Light for aspirational feel */
    letter-spacing: -0.03em;
    max-width: 800px;
    margin: 60px auto 16px;
    padding-left: 40px;
    padding-right: 40px;
    text-align: center;
}

.orderly-post-meta {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gebenco-muted);
    margin-bottom: 60px;
}

.orderly-post-meta a {
    color: var(--gebenco-muted);
    text-decoration: none;
}

.orderly-post-meta a:hover {
    color: var(--gebenco-green-dark);
}

.single .entry-content,
.single-post .entry-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px 100px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.single .entry-content>*+* {
    margin-top: 1.8em;
}

/* No sidebars on Journal */
.single .widget-area,
.single-post .widget-area,
.single .sidebar {
    display: none !important;
}

/* Archive / Journal index */
.blog .site-main,
.archive .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 80px;
}

.blog .posts-grid,
.archive .posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.archive article,
.blog article {
    border: none;
    padding: 0;
}

.archive .post-thumbnail img,
.blog .post-thumbnail img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.archive article:hover .post-thumbnail img,
.blog article:hover .post-thumbnail img {
    transform: scale(1.02);
}

.archive .entry-title,
.blog .entry-title {
    font-size: 1.4rem;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 8px;
}

.archive .entry-meta,
.blog .entry-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gebenco-muted);
}

/* ============================================================
   11. FOOTER  (4-column grid – competitor parity)
   ============================================================ */
.site-footer {
    background-color: var(--gebenco-charcoal);
    color: rgba(255, 255, 255, 0.55);
    padding: 80px 40px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col--brand {
    padding-right: 24px;
}

.site-footer .orderly-wordmark {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--gebenco-snow);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 100%;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--gebenco-snow);
}

.footer-col__heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gebenco-snow);
    margin-bottom: 20px;
}

.footer-col__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col__links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.82rem;
}

.footer-col__links a:hover {
    color: var(--gebenco-snow);
}

/* Newsletter */
.footer-newsletter {
    margin-top: 32px;
}

.footer-newsletter__form {
    display: flex;
    gap: 0;
    margin-top: 12px;
}

.footer-newsletter__form input[type="email"] {
    flex: 1;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-right: none !important;
    color: var(--gebenco-snow) !important;
    font-size: 0.82rem;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
}

.footer-newsletter__form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter__btn {
    background: var(--gebenco-green) !important;
    border: 1px solid var(--gebenco-green) !important;
    color: var(--gebenco-charcoal) !important;
    padding: 10px 14px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease !important;
}

.footer-newsletter__btn:hover {
    background: var(--gebenco-green-dark) !important;
}

.footer-support-card {
    display: grid;
    gap: 16px;
}

.footer-support-card__copy {
    font-family: 'Lora', serif;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
    max-width: none;
}

.footer-support-card__button {
    justify-self: start;
    color: var(--gebenco-snow) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    background-color: transparent !important;
}

.footer-support-card__button:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: var(--gebenco-snow) !important;
}

/* Footer bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* ============================================================
   12. FORMS & INPUTS
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    border-radius: var(--gebenco-radius-sm) !important;
    border: 1px solid var(--gebenco-border-strong) !important;
    font-family: 'Lora', serif;
    padding: 12px 16px;
    width: 100%;
    background: var(--gebenco-snow);
    color: var(--gebenco-charcoal);
    transition: border-color 0.3s ease, outline 0.2s ease;
    font-size: 1rem;
    outline: none;
    appearance: none;
}

input[type="password"] {
    letter-spacing: 0.1em;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gebenco-green) !important;
    outline: 2px solid var(--gebenco-green) !important;
    outline-offset: 1px;
}

/* ============================================================
   13. UTILITY CLASSES
   ============================================================ */
.text-sage {
    color: var(--gebenco-green);
}

.text-charcoal {
    color: var(--gebenco-charcoal);
}

.bg-linen {
    background-color: var(--gebenco-off-white);
}

.bg-stone {
    background-color: var(--gebenco-stone);
}

.bg-charcoal {
    background-color: var(--gebenco-charcoal);
    color: var(--gebenco-snow);
}

.text-center {
    text-align: center;
}

.orderly-divider {
    height: 1px;
    background-color: var(--gebenco-border);
    border: none;
    margin: 60px 0;
}

/* Category tag / label */
.orderly-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gebenco-charcoal);
    border: 1px solid var(--gebenco-stone);
    padding: 8px 14px;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.orderly-tag:hover {
    border-color: var(--gebenco-green);
    background-color: var(--gebenco-green);
    color: var(--gebenco-snow);
}

/* Blog post tags (entry-footer) */
.entry-footer,
.orderly-post-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gebenco-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.entry-footer a,
.orderly-post-tags a {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gebenco-charcoal);
    border: 1px solid var(--gebenco-stone);
    padding: 8px 14px;
    border-radius: 20px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-footer a:hover,
.orderly-post-tags a:hover {
    border-color: var(--gebenco-green);
    background-color: var(--gebenco-green);
    color: var(--gebenco-snow);
}

/* ============================================================
   CART ICON FOOTER INVERSION (Phase 2)
   ============================================================ */
.xoo-wsc-basket.is-at-footer {
    color: var(--gebenco-snow) !important;
    background-color: rgba(43, 43, 43, 0.8) !important;
}

/* ============================================================
   HIDE WISHLIST PLUGIN HEADER OVERLAY (Phase 2)
   ============================================================ */
.stw-header-btn,
.stw-header-text {
    display: none !important;
}

/* Ensure wishlist icon link is properly visible */
.header-wishlist-link {
    position: relative;
    z-index: 100;
}

/* ============================================================
   14. RESPONSIVE
   ============================================================ */

/* --- Tablet & small desktop (≤ 900px) --- */
@media (max-width: 900px) {

    /* Header: solid background on mobile */
    .site-header {
        padding: 14px 20px;
        background-color: var(--gebenco-snow);
        box-shadow: 0 1px 0 var(--gebenco-border);
    }

    .site-header:not(.scrolled) .site-title a,
    .site-header:not(.scrolled) .orderly-logo-link {
        color: var(--gebenco-charcoal);
    }

    .site-header:not(.scrolled) .header-menu-link {
        color: var(--gebenco-charcoal);
    }

    .site-header:not(.scrolled) .header-wishlist-link {
        color: var(--gebenco-charcoal);
    }

    .site-header:not(.scrolled) .menu-toggle__bar {
        background-color: var(--gebenco-charcoal);
    }

    /* Show hamburger, hide CTA button */
    .menu-toggle {
        display: flex;
    }

    .header-cta-btn {
        display: none !important;
    }

    /* Mobile navigation: full-screen overlay */
    .main-navigation {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gebenco-snow);
        z-index: 998;
        padding: 40px 32px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation .header-menu,
    .main-navigation .ct-menu {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .main-navigation .header-menu li {
        width: 100%;
        border-bottom: 1px solid var(--gebenco-border);
    }

    .main-navigation .header-menu a {
        display: block;
        padding: 16px 0;
        font-size: 0.9rem;
    }

    /* Submenus: static on mobile (always visible under parent) */
    .header-menu .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        min-width: 0;
        padding: 0 0 8px 20px;
        transform: none;
        background: transparent;
    }

    .header-menu li.is-open>.sub-menu {
        display: block;
    }

    .header-menu .sub-menu a {
        padding: 10px 0;
        font-size: 0.82rem;
        color: var(--gebenco-charcoal); /* was --gebenco-muted: too faint on white */
    }

    /* Product grid: 2 columns on tablet */
    .products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    /* Product page: single column */
    .woocommerce .woocommerce-product-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .woocommerce-product-gallery-wrap .woocommerce-product-gallery {
        position: static;
    }

    .orderly-buying-guide__grid {
        grid-template-columns: 1fr;
    }

    /* Blog grid: single column */
    .blog .posts-grid,
    .archive .posts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Container padding */
    .container,
    .wp-block-group__inner-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Reduced section spacing */
    section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .serene-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Room grid: 2 columns */
    .orderly-rooms__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Journal preview: 2 columns then 1 */
    .orderly-journal-preview__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    /* USP strip: stack vertically */
    .orderly-usp__list {
        flex-direction: column;
        gap: 28px;
    }

    /* About page: single column */
    .orderly-about-narrative__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Values: 2 columns */
    .orderly-values__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    /* Contact: single column */
    .orderly-contact-body__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer: 2 columns */
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
    }

    /* Category journal teaser: single column */
    .orderly-cat-journal-teaser__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Search overlay */
    .header-search-overlay {
        padding: 80px 24px 32px;
    }
}

/* --- Mobile (≤ 600px) --- */
@media (max-width: 600px) {

    /* Product grid: single column */
    .products,
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    /* Room grid: single column */
    .orderly-rooms__grid {
        grid-template-columns: 1fr;
    }

    /* Journal preview: single column */
    .orderly-journal-preview__grid {
        grid-template-columns: 1fr;
    }

    /* Values: single column */
    .orderly-values__grid {
        grid-template-columns: 1fr;
    }

    /* Footer: single column */
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Hero: reduce headline size */
    .orderly-hero__headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    /* Section padding */
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .serene-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

/* ============================================================
   PAGE TEMPLATES — All custom template CSS
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   SHARED SECTION HEADER
   ───────────────────────────────────────────────────────────── */
.orderly-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.orderly-section-header h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.orderly-section-header p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--gebenco-muted-soft);
    max-width: 50ch;
    margin: 0 auto;
    font-style: italic;
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE — HERO
   ───────────────────────────────────────────────────────────── */
.orderly-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gebenco-charcoal);
    background-image: var(--hero-img,
            linear-gradient(135deg, var(--gebenco-charcoal) 0%, #4a4f42 60%, var(--gebenco-green-dark) 100%));
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Dark overlay for text legibility */
.orderly-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.45) 60%,
            rgba(0, 0, 0, 0.60) 100%);
    z-index: 1;
}

.orderly-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.orderly-hero__eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    display: block;
    margin-bottom: 20px;
}

.orderly-hero__headline {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: var(--gebenco-snow);
    margin-bottom: 24px;
}

.orderly-hero__sub {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 0 auto 40px;
    max-width: 50ch;
    line-height: 1.7;
}

/* Scroll indicator */
.orderly-hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.orderly-hero__scroll-indicator span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    margin: 0 auto;
    animation: orderly-scroll-fade 2s ease infinite;
}

@keyframes orderly-scroll-fade {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE — USP STRIP
   ───────────────────────────────────────────────────────────── */
.orderly-usp {
    background-color: var(--gebenco-snow);
    border-bottom: 1px solid var(--gebenco-border);
    padding: 40px;
}

.orderly-usp__list {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
}

.orderly-usp__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.orderly-usp__icon {
    font-size: 0.8rem;
    color: var(--gebenco-green);
    margin-bottom: 4px;
}

.orderly-usp__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gebenco-charcoal);
}

.orderly-usp__desc {
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    color: var(--gebenco-muted);
    font-style: italic;
    max-width: 22ch;
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE — SHOP BY ROOM GRID
   ───────────────────────────────────────────────────────────── */
.orderly-rooms {
    background-color: var(--gebenco-off-white);
    padding-left: 40px;
    padding-right: 40px;
}

.orderly-rooms__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.orderly-room-card {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--gebenco-stone);
    background-image: var(--room-img, none);
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.orderly-room-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 60%);
    transition: opacity 0.4s ease;
}

.orderly-room-card:hover::before {
    opacity: 0.8;
}

.orderly-room-card:hover {
    text-decoration: none;
}

.orderly-room-card__overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 1;
}

.orderly-room-card__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gebenco-snow);
    margin-bottom: 4px;
}

.orderly-room-card__desc {
    display: block;
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    transform: translateY(6px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.orderly-room-card:hover .orderly-room-card__desc {
    opacity: 1;
    transform: translateY(0);
}

.orderly-rooms__cta {
    text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   SHARED — BRAND STATEMENT
   ───────────────────────────────────────────────────────────── */
.orderly-statement {
    background-color: var(--gebenco-charcoal);
    padding: 100px 40px;
    text-align: center;
}

.orderly-statement__inner {
    max-width: 800px;
    margin: 0 auto;
}

.orderly-statement__quote {
    margin: 0 0 24px;
    border: none;
    padding: 0;
}

.orderly-statement__quote p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--gebenco-snow);
    margin: 0;
    max-width: none;
}

.orderly-statement__attr {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE — NEW ARRIVALS
   ───────────────────────────────────────────────────────────── */
.orderly-new-arrivals {
    background-color: var(--gebenco-snow);
    padding-left: 40px;
    padding-right: 40px;
}

.orderly-products-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.orderly-new-arrivals__cta {
    text-align: center;
    margin-top: 48px;
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE — JOURNAL PREVIEW
   ───────────────────────────────────────────────────────────── */
.orderly-journal-preview {
    background-color: var(--gebenco-off-white);
    padding-left: 40px;
    padding-right: 40px;
}

.orderly-journal-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.orderly-journal-card {
    display: flex;
    flex-direction: column;
}

.orderly-journal-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 20px;
}

.orderly-journal-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.orderly-journal-card:hover .orderly-journal-card__thumb img {
    transform: scale(1.04);
}

.orderly-journal-card__body {
    flex: 1;
}

.orderly-journal-card__title {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin: 10px 0 8px;
    line-height: 1.3;
}

.orderly-journal-card__title a {
    color: var(--gebenco-charcoal);
    text-decoration: none;
}

.orderly-journal-card__title a:hover {
    color: var(--gebenco-green-dark);
}

.orderly-journal-card__excerpt {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    color: var(--gebenco-muted-soft);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: none;
}

.orderly-journal-card__read {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gebenco-charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.orderly-journal-card__read:hover {
    color: var(--gebenco-green-dark);
    text-decoration: none;
}

.orderly-journal-preview__cta {
    text-align: center;
    margin-top: 56px;
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE — CLOSING CTA
   ───────────────────────────────────────────────────────────── */
.orderly-closing-cta {
    background-color: var(--gebenco-off-white);
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
}

.orderly-closing-cta__inner {
    max-width: 680px;
    margin: 0 auto;
}

.orderly-closing-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.orderly-closing-cta p {
    font-family: 'Lora', serif;
    color: var(--gebenco-muted-soft);
    font-style: italic;
    margin: 0 auto 32px;
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT CATEGORY — HERO
   ───────────────────────────────────────────────────────────── */
.orderly-cat-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: var(--gebenco-off-white);
    background-image: var(--cat-img, none);
    background-size: cover;
    background-position: center;
    position: relative;
}

.orderly-cat-hero[style*="--cat-img"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(247, 245, 242, 0.85);
}

.orderly-cat-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.orderly-breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gebenco-muted);
    margin-bottom: 20px;
}

.orderly-breadcrumb a {
    color: var(--gebenco-muted);
    text-decoration: none;
}

.orderly-breadcrumb a:hover {
    color: var(--gebenco-green-dark);
}

.orderly-cat-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.orderly-cat-hero__eyebrow {
    margin-bottom: 18px;
}

.orderly-cat-hero__desc {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--gebenco-muted);
    max-width: 60ch;
    font-style: italic;
    line-height: 1.8;
}

.orderly-collection-term-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.orderly-collection-term {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(51, 51, 51, 0.12);
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gebenco-charcoal);
    background-color: rgba(255, 255, 255, 0.75);
}

.orderly-collection-term:hover {
    border-color: var(--gebenco-green);
    color: var(--gebenco-green-dark);
}

.orderly-collection-intro {
    background-color: var(--gebenco-snow);
    padding: 44px 40px 0;
}

.orderly-collection-intro__inner {
    max-width: 760px;
    margin: 0 auto;
    color: var(--gebenco-muted);
}

.orderly-collection-intro__inner>*:first-child {
    margin-top: 0;
}

.orderly-collection-intro__inner>*:last-child {
    margin-bottom: 0;
}

.orderly-collection-hub {
    padding-left: 40px;
    padding-right: 40px;
    background-color: var(--gebenco-snow);
}

.orderly-collection-hub__inner,
.orderly-collection-featured__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.orderly-collection-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.orderly-collection-card {
    position: relative;
    min-height: 320px;
    padding: 28px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(51, 51, 51, 0.06), rgba(51, 51, 51, 0.7)),
        var(--collection-card-img, linear-gradient(135deg, #f7f5f2, #e4e4e3));
    background-size: cover;
    background-position: center;
    color: var(--gebenco-snow);
    text-decoration: none;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orderly-collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.08);
}

.orderly-collection-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(51, 51, 51, 0.1) 0%, rgba(51, 51, 51, 0.65) 100%);
}

.orderly-collection-card__body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.orderly-collection-card__eyebrow,
.orderly-collection-card__count {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.orderly-collection-card__eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.orderly-collection-card__title {
    color: var(--gebenco-snow);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    margin: 0;
}

.orderly-collection-card__desc {
    color: rgba(255, 255, 255, 0.84);
    font-family: 'Lora', serif;
    line-height: 1.8;
    margin: 0;
    max-width: 36ch;
}

.orderly-collection-card__count {
    color: rgba(255, 255, 255, 0.74);
}

.orderly-collection-featured {
    background-color: var(--gebenco-off-white);
    padding: 0 40px 80px;
}

.orderly-collection-featured__cta {
    margin-top: 32px;
    text-align: center;
}

.orderly-collection-products-header {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.orderly-collection-products-header h2 {
    margin: 0;
}

.orderly-collection-products-header p {
    margin: 0;
    color: var(--gebenco-muted);
    max-width: 60ch;
}

.orderly-cat-products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.orderly-buying-guide {
    padding: 0 40px 12px;
    background: var(--gebenco-snow);
}

.orderly-buying-guide__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    border-radius: var(--gebenco-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 245, 242, 0.96) 100%);
    border: 1px solid var(--gebenco-border);
    box-shadow: var(--gebenco-shadow-soft);
}

.orderly-buying-guide__header {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.orderly-buying-guide__header h2,
.orderly-buying-guide__header p {
    margin: 0;
}

.orderly-buying-guide__header p {
    color: var(--gebenco-muted);
    max-width: 68ch;
}

.orderly-buying-guide__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.orderly-buying-guide__card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: var(--gebenco-radius-md);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--gebenco-border);
}

.orderly-buying-guide__count {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gebenco-muted);
}

.orderly-buying-guide__card p {
    margin: 0;
    max-width: none;
    color: var(--gebenco-charcoal);
}

.orderly-empty-cat {
    text-align: center;
    padding: 80px 40px;
}

.orderly-empty-cat--curated {
    display: grid;
    gap: 20px;
    justify-items: center;
}

.orderly-empty-cat--curated .orderly-newsletter-signup {
    width: min(100%, 720px);
    margin-top: 16px;
}

/* Journal teaser below category grid */
.orderly-cat-journal-teaser {
    background-color: var(--gebenco-off-white);
    padding: 80px 40px;
}

.orderly-cat-journal-teaser__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.orderly-cat-journal-teaser__img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-radius: var(--gebenco-radius-lg);
}

.orderly-cat-journal-teaser__body h2 {
    font-size: 1.6rem;
    font-weight: 300;
    margin: 16px 0 12px;
}

.orderly-cat-journal-teaser__body p {
    font-family: 'Lora', serif;
    color: var(--gebenco-muted);
    margin-bottom: 24px;
}

/* ─────────────────────────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────────────────────────── */
.orderly-about-intro {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 140px;
    background-color: var(--gebenco-off-white);
}

.orderly-about-intro__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.orderly-about-intro h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
}

.orderly-about-intro__lead {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--gebenco-muted);
    font-style: italic;
    line-height: 1.8;
    max-width: none;
}

.orderly-about-narrative {
    background-color: var(--gebenco-snow);
    padding-left: 40px;
    padding-right: 40px;
}

.orderly-about-narrative__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.orderly-about-narrative__col h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.orderly-about-narrative__col p {
    font-family: 'Lora', serif;
    line-height: 1.9;
    color: var(--gebenco-muted);
}

.orderly-values {
    background-color: var(--gebenco-off-white);
    padding: 100px 40px;
}

.orderly-values__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.orderly-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.orderly-value-card {
    border-top: 2px solid var(--gebenco-green);
    padding-top: 28px;
}

.orderly-value-card__num {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: var(--gebenco-muted);
    display: block;
    margin-bottom: 16px;
}

.orderly-value-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.orderly-value-card p {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    color: var(--gebenco-muted);
    line-height: 1.8;
    max-width: none;
}

/* About lifestyle image block */
.orderly-about-image {
    width: 100%;
    height: 60vh;
    background-color: var(--gebenco-stone);
    background-image: var(--about-img, none);
    background-size: cover;
    background-position: center;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────────────────────── */
.orderly-contact-hero {
    padding: 140px 40px 80px;
    background-color: var(--gebenco-off-white);
}

.orderly-contact-hero__inner {
    max-width: 680px;
    margin: 0 auto;
}

.orderly-contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin: 16px 0 24px;
}

.orderly-contact-hero p {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--gebenco-muted);
    max-width: none;
}

.orderly-contact-body {
    background-color: var(--gebenco-snow);
    padding-left: 40px;
    padding-right: 40px;
}

.orderly-contact-body__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.orderly-contact-info h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.orderly-contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
}

.orderly-contact-detail__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gebenco-muted-soft);
}

.orderly-contact-detail__value {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: var(--gebenco-charcoal);
    text-decoration: none;
}

.orderly-contact-detail a:hover {
    color: var(--gebenco-green-dark);
}

.orderly-contact-info__note {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    color: var(--gebenco-muted);
    font-style: italic;
    line-height: 1.7;
    max-width: none;
    margin: 0;
}

.orderly-contact-form-card {
    display: grid;
    gap: 20px;
    padding: 32px;
    border: 1px solid var(--gebenco-border);
    background-color: var(--gebenco-off-white);
    border-radius: var(--gebenco-radius-lg);
    box-shadow: var(--gebenco-shadow-soft);
}

.orderly-contact-form-native {
    display: grid;
    gap: 18px;
}

.orderly-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.orderly-contact-form-native label,
.orderly-newsletter-form {
    display: grid;
    gap: 10px;
}

.orderly-contact-form-native span {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gebenco-muted);
}

.orderly-contact-form-native input,
.orderly-contact-form-native textarea,
.orderly-contact-form-native select,
.orderly-newsletter-form input {
    width: 100%;
    border: 1px solid var(--gebenco-border-strong);
    background-color: var(--gebenco-snow);
    color: var(--gebenco-charcoal);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 14px 16px;
    border-radius: var(--gebenco-radius-sm);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.orderly-contact-form-native textarea {
    resize: vertical;
    min-height: 180px;
}

.orderly-contact-form-native select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2B2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
    overflow: visible;
}

.orderly-form-privacy {
    font-size: 0.85rem;
    color: var(--gebenco-muted);
    max-width: none;
    margin: 0;
}

.orderly-form-feedback {
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: none;
}

.orderly-form-feedback--success {
    background-color: rgba(178, 184, 163, 0.18);
    color: var(--gebenco-charcoal);
}

.orderly-form-feedback--error {
    background-color: rgba(209, 183, 167, 0.24);
    color: var(--gebenco-charcoal);
}

.orderly-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.orderly-newsletter-signup {
    padding: 72px 40px;
}

.orderly-newsletter-signup__inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--gebenco-border);
    background-color: var(--gebenco-snow);
    display: grid;
    gap: 14px;
    border-radius: var(--gebenco-radius-lg);
    box-shadow: var(--gebenco-shadow-soft);
}

.orderly-newsletter-signup__inner h2 {
    margin: 0;
}

.orderly-newsletter-signup__inner p {
    margin: 0;
    max-width: none;
}

.orderly-newsletter-signup__note {
    font-size: 0.92rem;
    color: var(--gebenco-muted);
}

.orderly-newsletter-form {
    grid-template-columns: 1fr 1.4fr auto;
    align-items: end;
    gap: 14px;
}

.orderly-newsletter-form__response {
    grid-column: 1 / -1;
    min-height: 1.5rem;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--gebenco-muted);
}

.orderly-newsletter-popup {
    position: fixed;
    inset: 0;
    z-index: 9998;
}

.orderly-newsletter-popup__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(51, 51, 51, 0.52);
}

.orderly-newsletter-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 720px);
    margin: 8vh auto 0;
}

.orderly-newsletter-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--gebenco-charcoal);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    padding: 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.orderly-newsletter-popup__close:hover {
    background-color: rgba(27, 140, 79, 0.08) !important;
    border-color: var(--gebenco-green) !important;
}

.orderly-newsletter-signup--popup {
    padding: 0;
}

.orderly-newsletter-signup--popup .orderly-newsletter-signup__inner {
    padding: 48px 32px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.orderly-contact-assurance {
    background-color: var(--gebenco-charcoal);
    padding: 28px 40px;
    text-align: center;
}

.orderly-contact-assurance__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.orderly-contact-assurance p {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: none;
}

/* ─────────────────────────────────────────────────────────────
   GENERIC PAGE (page.php)
   ───────────────────────────────────────────────────────────── */
.orderly-generic-page .orderly-page-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 40px 100px;
}

.orderly-page-header {
    margin-bottom: 48px;
}

.orderly-page-header__inner {
    max-width: 800px;
    margin: 0 auto;
}

.orderly-page-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    margin-top: 16px;
}

.orderly-page-content {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--gebenco-charcoal);
}

.orderly-page-content h2,
.orderly-page-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.orderly-page-content a {
    color: var(--gebenco-green-dark);
    text-decoration: underline;
}

.orderly-answer-section,
.orderly-journal-pillars,
.orderly-journal-intro {
    max-width: 960px;
    margin: 56px auto 0;
}

.orderly-journal-intro h1,
.orderly-answer-section__header h2,
.orderly-journal-pillars__header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    margin-top: 16px;
    margin-bottom: 16px;
}

.orderly-journal-intro p,
.orderly-answer-section__header p,
.orderly-journal-pillars__header p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--gebenco-muted);
}

.orderly-journal-intro__content {
    margin-top: 20px;
    font-family: 'Lora', serif;
    color: var(--gebenco-muted);
}

.orderly-answer-section__items {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.orderly-answer-item {
    border: 1px solid var(--gebenco-border);
    background: var(--gebenco-snow);
    border-radius: 16px;
    padding: 0 20px;
}

.orderly-answer-item summary {
    list-style: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 18px 0;
    position: relative;
    padding-right: 28px;
}

.orderly-answer-item summary::-webkit-details-marker {
    display: none;
}

.orderly-answer-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gebenco-charcoal);
}

.orderly-answer-item[open] summary::after {
    content: '−';
}

.orderly-answer-item p {
    color: var(--gebenco-muted);
    margin-bottom: 18px;
    max-width: none;
}

.orderly-answer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.orderly-answer-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--gebenco-border);
    color: var(--gebenco-charcoal);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
}

.orderly-answer-link:hover {
    border-color: var(--gebenco-green);
    color: var(--gebenco-green-dark);
}

.orderly-journal-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.orderly-journal-pillar {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--gebenco-border);
    border-radius: 18px;
    padding: 24px;
}

.orderly-journal-pillar h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.orderly-journal-pillar p {
    color: var(--gebenco-muted);
    margin-bottom: 14px;
}

.orderly-journal-pillar ul {
    margin: 0;
    padding-left: 18px;
    color: var(--gebenco-muted);
}

.orderly-journal-pillar li+li {
    margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────
   404 PAGE
   ───────────────────────────────────────────────────────────── */
.orderly-404-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.orderly-404-body {
    width: 100%;
    text-align: center;
    background-color: var(--gebenco-off-white);
    padding-left: 40px;
    padding-right: 40px;
}

.orderly-404-body__inner {
    max-width: 600px;
    margin: 0 auto;
}

.orderly-404-num {
    font-family: 'Inter', sans-serif;
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 300;
    letter-spacing: -0.06em;
    color: var(--gebenco-stone);
    display: block;
    line-height: 1;
    margin-bottom: 24px;
}

.orderly-404-headline {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.orderly-404-sub {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--gebenco-muted);
    margin-bottom: 40px;
}

.orderly-404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.orderly-404-search {
    margin-top: 16px;
}

.orderly-404-search p {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gebenco-muted-soft);
    margin-bottom: 16px;
    max-width: none;
}

.search-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--gebenco-border);
    border-radius: 999px;
    overflow: hidden;
    max-width: 440px;
    margin: 0 auto;
    background: var(--gebenco-snow);
}

.search-form label {
    flex: 1;
}

.search-form .search-field {
    border: none !important;
    border-radius: 999px 0 0 999px !important;
    padding: 12px 16px !important;
    font-family: 'Lora', serif;
    width: 100%;
    outline: none !important;
}

.search-form .search-submit {
    flex-shrink: 0;
    border-radius: 999px !important;
    padding: 12px 20px !important;
    font-size: 0.72rem !important;
}

/* ─────────────────────────────────────────────────────────────
   CART / CHECKOUT — Minimal styles and confirmation order
   ───────────────────────────────────────────────────────────── */

/* Cart progress indicator */
.orderly-cart-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 16px 40px;
    background: var(--gebenco-snow);
    border-bottom: 1px solid var(--gebenco-border);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.orderly-progress-step {
    color: var(--gebenco-border-strong);
    padding: 0 16px;
}

.orderly-progress-step--active {
    color: var(--gebenco-charcoal);
}

.orderly-progress-step--done {
    color: var(--gebenco-green);
}

.orderly-progress-sep {
    color: var(--gebenco-border);
    font-size: 0.5rem;
}

/* Checkout: suppress main nav, show wordmark only */
body.woocommerce-checkout .site-header .main-navigation,
body.woocommerce-checkout .site-header .header-cta {
    display: none !important;
}

body.woocommerce-checkout .site-header {
    background-color: var(--gebenco-snow) !important;
    box-shadow: 0 1px 0 var(--gebenco-border) !important;
}

/* Checkout: minimal footer */
body.woocommerce-checkout .site-footer {
    padding: 24px 40px;
}

body.woocommerce-checkout .footer-links {
    display: none;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — NEW TEMPLATE RULES
   ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .orderly-usp__list {
        flex-direction: column;
        gap: 32px;
    }

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

    .orderly-journal-preview__grid {
        grid-template-columns: 1fr;
    }

    .orderly-about-narrative__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .orderly-values__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .orderly-contact-body__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .orderly-form-grid,
    .orderly-newsletter-form {
        grid-template-columns: 1fr;
    }

    .orderly-cat-journal-teaser__inner {
        grid-template-columns: 1fr;
    }

    .orderly-collection-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orderly-hero__headline {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }
}

@media (max-width: 600px) {
    .orderly-rooms__grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .orderly-404-actions {
        flex-direction: column;
        align-items: center;
    }

    .orderly-hero__inner {
        padding: 24px;
    }

    .orderly-collection-hub,
    .orderly-collection-featured,
    .orderly-collection-intro {
        padding-left: 20px;
        padding-right: 20px;
    }

    .orderly-collection-hub__grid {
        grid-template-columns: 1fr;
    }

    .orderly-collection-card {
        min-height: 280px;
        padding: 22px;
    }

    .orderly-newsletter-signup,
    .orderly-contact-body,
    .orderly-contact-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .orderly-newsletter-signup__inner,
    .orderly-contact-form-card {
        padding: 24px 20px;
    }

    .orderly-breadcrumb--product,
    .woocommerce .woocommerce-product-wrap,
    .orderly-cat-products,
    .orderly-buying-guide,
    .orderly-cat-journal-teaser,
    .orderly-cat-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .orderly-buying-guide__inner,
    .woocommerce-product-summary-wrap {
        padding: 24px 20px;
    }

    .orderly-newsletter-popup__dialog {
        width: calc(100vw - 24px);
        margin-top: 5vh;
    }
}

/* ============================================================
   UX IMPROVEMENTS (PHASE 1)
   ============================================================ */

/* AJAX Side Cart (xoo-wsc) Overrides */
.xoo-wsc-container {
    font-family: 'Inter', sans-serif !important;
}

.xoo-wsc-header {
    background-color: var(--gebenco-off-white) !important;
    border-bottom: 1px solid var(--gebenco-border) !important;
}

.xoo-wsc-header-title {
    color: var(--gebenco-charcoal) !important;
    font-weight: 400 !important;
    font-size: 1.2rem !important;
    letter-spacing: 0.02em !important;
}

.xoo-wsc-body {
    background-color: var(--gebenco-snow) !important;
}

.xoo-wsc-footer {
    background-color: var(--gebenco-snow) !important;
    border-top: 1px solid var(--gebenco-border) !important;
    padding: 20px !important;
}

.xoo-wsc-sm-btn,
.xoo-wsc-ft-btn {
    background-color: var(--gebenco-charcoal) !important;
    color: var(--gebenco-snow) !important;
    border-radius: 999px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border: 1px solid var(--gebenco-charcoal) !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

.xoo-wsc-sm-btn:hover,
.xoo-wsc-ft-btn:hover {
    background-color: var(--gebenco-green) !important;
    color: var(--gebenco-charcoal) !important;
}

.xoo-wsc-pname {
    color: var(--gebenco-charcoal) !important;
    font-weight: 500 !important;
}

.xoo-wsc-pprice {
    color: var(--gebenco-charcoal) !important;
}

.xoo-wsc-cart-close {
    color: var(--gebenco-charcoal) !important;
}

/* Side Cart Basket Icon override (to match theme) */
.xoo-wsc-basket {
    background-color: var(--gebenco-charcoal) !important;
    border-radius: 50% !important;
}

/* Cart basket icon: white bag on charcoal circle for readability */
.xoo-wsc-basket .xoo-wsc-bki {
    color: var(--gebenco-snow) !important;
}

/* ============================================================
   UX IMPROVEMENTS (PHASE 1 - HOVER SWAP)
   ============================================================ */

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
    position: relative;
    overflow: hidden;
}

.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.8em;
}

.woocommerce-loop-product__title a {
    display: inline;
}

.woocommerce ul.products li.product img.orderly-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 2;
    object-fit: contain;
}

.woocommerce ul.products li.product:hover img.orderly-hover-image {
    opacity: 1;
}

/* Ensure original image stays behind it */
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail:not(.orderly-hover-image) {
    position: relative;
    z-index: 1;
    transition: opacity 0.4s ease-in-out;
}

/* Optional: Slight fade on original image */
.woocommerce ul.products li.product:hover img.attachment-woocommerce_thumbnail:not(.orderly-hover-image) {
    opacity: 0;
}

/* ============================================================
   UX IMPROVEMENTS (PHASE 1 - STICKY ADD TO CART)
   ============================================================ */
.orderly-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--gebenco-snow);
    border-top: 1px solid var(--gebenco-border);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.orderly-sticky-cart.is-visible {
    transform: translateY(0);
}

.orderly-sticky-cart__info {
    display: flex;
    flex-direction: column;
}

.orderly-sticky-cart__title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--gebenco-charcoal);
    font-size: 1rem;
    line-height: 1.2;
}

.orderly-sticky-cart__price {
    font-size: 0.9rem;
    color: var(--gebenco-charcoal);
    opacity: 0.8;
}

.orderly-sticky-cart__button {
    margin-bottom: 0;
    padding: 12px 24px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .orderly-sticky-cart__title {
        font-size: 0.9rem;
    }

    .orderly-sticky-cart__button {
        padding: 10px 20px;
    }
}

/* ============================================================
   UX IMPROVEMENTS (PHASE 2 - TRUST BADGES)
   ============================================================ */

.orderly-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gebenco-border);
}

.orderly-trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gebenco-charcoal);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.orderly-badge-icon {
    color: var(--gebenco-charcoal);
    flex-shrink: 0;
}

.orderly-hidden-variation-row {
    display: none !important;
}

.variations.orderly-variations--supplier-only {
    margin-bottom: 0;
}

.variations.orderly-variations--supplier-only tbody {
    display: none;
}

.single-product .product_meta {
    display: none !important;
}

@media (max-width: 900px) {
    .orderly-journal-pillars__grid {
        grid-template-columns: 1fr;
    }

    .orderly-sticky-cart {
        gap: 12px;
        align-items: center;
    }
}

@media (max-width: 680px) {
    .orderly-answer-links {
        flex-direction: column;
    }

    .orderly-answer-link {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   UX IMPROVEMENTS (PHASE 3 - FADE-UP ANIMATIONS)
   ============================================================ */

.orderly-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.orderly-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items if needed */
.orderly-fade-up:nth-child(2) {
    transition-delay: 0.1s;
}

.orderly-fade-up:nth-child(3) {
    transition-delay: 0.2s;
}

.orderly-fade-up:nth-child(4) {
    transition-delay: 0.3s;
}

.orderly-fade-up:nth-child(5) {
    transition-delay: 0.4s;
}

.orderly-fade-up:nth-child(6) {
    transition-delay: 0.5s;
}
