/*
Theme Name: Shop Zen
Theme URI: https://spiraclethemes.com/shop-zen-wordpress-theme
Author: Spiracle Themes
Author URI: https://spiraclethemes.com/
Description: Shop Zen is a modern, fast, and highly customizable WooCommerce theme designed for fashion stores, clothing brands, lifestyle boutiques, and online shops. It pairs a clean, conversion-focused layout with deep WooCommerce integration for product grids, cart, checkout, and single product pages. Packed with flexible Customizer options, custom widgets, multiple sidebar layouts, blog support, threaded comments, and footer widgets, Shop Zen lets you build a polished storefront without touching code. Fully responsive, translation-ready, and performance optimized for lightning-fast load times.
Version: 1.2
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Tags: e-commerce, blog, custom-colors, sticky-post, one-column, custom-logo, custom-menu, entertainment, featured-images, full-width-template, left-sidebar, right-sidebar, theme-options, threaded-comments, translation-ready, two-columns, footer-widgets
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: shop-zen
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ── CSS Variables ── */
:root {
    /* Shop Zen theme */
    --shop-zen-primary: #3A5F3F;
    --shop-zen-primary-light: #4A6B3F;
    --shop-zen-dark: #1E3F2A;
    --shop-zen-cream: #F9F7F2;
    --shop-zen-sage-light: #E9EFE9;
    --shop-zen-border: #E5E7EB;
    --shop-zen-text: #1F2937;
    --shop-zen-muted: #6B7280;

    --brand-sky: #0072FF;
    --brand-secondary: #FF3D81;
    --brand-highlight: #FFB800;
    --brand-accent: #00A86B;
    --brand-dark: #1C1C1C;
    --brand-panel: #F8F9FA;
    --brand-card: #FFFFFF;
    --brand-text: #1C1C1C;
    --brand-muted: #6B6560;
    --brand-border: #E8E4DF;
    --brand-bg: #FBF9F6;
    --brand-bg-secondary: #F3EFEA;
    --brand-text-muted: #9C9792;
    --brand-accent-warm: #B8977E;
    --brand-accent-warm-hover: #A0785E;
    --brand-border-light: #F0EDE9;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter Num', 'Playfair Display', serif;
    --font-hand: 'Inter Num', 'Caveat', cursive;
    --font-dm: 'Inter Num', 'DM Sans', sans-serif;
    --font-mono: 'Inter Num', 'DM Mono', monospace;
    
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --header-height: 72px;
    --max-width: 1440px;
    
    /* ── Design System ── */
    --bg-primary: #FBF9F6;
    --bg-secondary: #F3EFEA;
    --bg-white: #FFFFFF;
    --text-primary: #1C1C1C;
    --text-secondary: #6B6560;
    --text-muted: #9C9792;
    --accent: #B8977E;
    --accent-hover: #A0785E;
    --border: #E8E4DF;
    --border-light: #F0EDE9;
    --error: #C44D4D;
    --success: #5A8A6A;
    --shadow-sm: 0 1px 3px rgba(28, 28, 28, 0.04);
    --shadow-md: 0 4px 20px rgba(28, 28, 28, 0.06);
    --shadow-lg: 0 12px 40px rgba(28, 28, 28, 0.08);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Global Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--brand-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fff;
    background-image: radial-gradient(#00000003 1px, transparent 1px);
    background-size: 4px 4px;
    width: 100%;
    font-size: 15px;
    letter-spacing: -0.01em;
}

body.page:not(.woocommerce-page):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) {
    font-family: var(--font-display);
    line-height: 1.7;
    letter-spacing: 0;
}

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

a {
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── Scrollbar ── */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-border) transparent;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-border);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-text-muted);
}

/* ── Selection ── */
::selection {
    background: rgba(184, 151, 126, 0.25);
    color: var(--brand-text);
}

/* ── Focus Styles ── */
input,
select,
textarea {
    font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 114, 255, 0.25);
}

/* Global visible keyboard focus indicator */
a:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--brand-dark);
    outline-offset: 3px;
    border-radius: 2px;
}

.site-header,
.header-inner,
.site-branding,
.nav-actions,
.main-navigation {
    overflow: visible;
}

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 16px;
    color: #fff;
}

/* ── Typography ── */
.font-display {
    font-family: var(--font-display);
}

.font-sans {
    font-family: var(--font-sans);
}

.font-hand {
    font-family: var(--font-hand);
}

.font-dm {
    font-family: var(--font-dm);
}

.font-mono {
    font-family: var(--font-mono);
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.page-title .container {
    max-width: 1350px;
}

.content-inner .container {
    max-width: 1350px;
}

/* ── Utility Classes ── */
.text-brand-sky { color: var(--brand-sky); }
.text-brand-secondary { color: var(--brand-secondary); }
.text-brand-highlight { color: var(--brand-highlight); }
.text-brand-accent { color: var(--brand-accent); }
.text-brand-dark { color: var(--brand-dark); }
.text-brand-muted { color: var(--brand-muted); }
.text-white { color: #fff; }

.bg-brand-sky { background-color: var(--brand-sky); }
.bg-brand-secondary { background-color: var(--brand-secondary); }
.bg-brand-highlight { background-color: var(--brand-highlight); }
.bg-brand-accent { background-color: var(--brand-accent); }
.bg-brand-dark { background-color: var(--brand-dark); }
.bg-brand-bg { background-color: var(--brand-bg); }
.bg-brand-card { background-color: var(--brand-card); }
.bg-white { background-color: #fff; }

.border-brand-border { border-color: var(--brand-border); }

/* ── Card Hover Effect ── */
.card-hover {
    transition: all var(--transition-base);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* ── Image Zoom Effect ── */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform var(--transition-slow);
}

.img-zoom:hover img {
    transform: scale(1.06);
}

/**
====================================================================
  WordPress Core
====================================================================
*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    text-align: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    text-align: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.sticky {
    padding-bottom: 2px;
}

.entry-title .la-thumb-tack {
    padding-right: 5px;
}

.gallery-caption {
    font-size: 16px;
    font-weight: 700;
}

.bypostauthor {
    font-size: 14px;
    color: #555;
}

.center {
    text-align: center;
}

/* ── Header ── */

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-description {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    color: var(--brand-muted);
    letter-spacing: 0.02em;
    margin-top: 2px;
    line-height: 1.2;
}

/* Custom Logo Image */
.site-branding .custom-logo-link {
    display: block;
}

.site-branding .custom-logo {
    max-height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.site-branding .site-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
    min-width: 0;
}

.site-branding .site-logo-link:hover {
    opacity: 0.7;
}

.site-branding .site-logo-link .custom-logo-link {
    flex-shrink: 0;
}

.site-branding .site-title-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.site-branding .site-title-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    max-width: 100%;
}

.site-branding .site-title-text .site-description {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 400;
    color: var(--brand-muted);
    letter-spacing: 0.02em;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    max-width: 100%;
}

/* Navigation */
.main-navigation {
    display: none;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--brand-muted);
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--brand-dark);
}

/* Mega Menu */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 12px;
    z-index: 100;
}

.nav-menu li:hover .mega-menu {
    display: block;
}

.mega-menu-inner {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 700px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.mega-menu-col h4 {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin: 0 0 16px;
}

.mega-menu-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-col li {
    margin-bottom: 10px;
}

.mega-menu-col a {
    font-size: 14px;
    color: var(--brand-muted);
    transition: color var(--transition-fast);
}

.mega-menu-col a:hover {
    color: var(--brand-dark);
}

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

.header-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    position: relative;
    border-radius: 50%;
    background: transparent;
}

.header-action-btn:hover {
    color: var(--brand-dark);
    background: rgba(17, 24, 39, 0.05);
}

.header-action-btn:active {
    transform: scale(0.95);
}

.header-action-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.header-action-btn:hover svg {
    transform: scale(1.1);
}

.header-action-desktop {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    color: var(--brand-dark);
    padding: 8px;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* ── Drawer Styles ── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 130;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    height: 100%;
    background: var(--brand-card);
    z-index: 135;
    transition: transform var(--transition-base);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
}

.drawer.right {
    right: 0;
    width: 100%;
    max-width: 448px;
    transform: translateX(100%);
    border-left: 1px solid var(--brand-border);
}

.drawer.left {
    left: 0;
    width: 100%;
    max-width: 384px;
    transform: translateX(-100%);
    border-right: 1px solid var(--brand-border);
}

.drawer.open {
    transform: translateX(0);
}

.drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--brand-border);
}

.drawer-title {
    font-size: 18px;
    font-weight: 600;
}

.drawer-close {
    color: #9ca3af;
    transition: color var(--transition-fast);
}

.drawer-close:hover {
    color: var(--brand-dark);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--brand-border);
}

/* Cart Drawer Items */
.cart-drawer-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.cart-drawer-item:last-child {
    margin-bottom: 0;
}

.cart-item-image {
    width: 80px;
    height: 96px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.cart-item-meta {
    font-size: 12px;
    color: var(--brand-muted);
    margin-top: 4px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
}

.qty-btn {
    padding: 4px 8px;
    font-size: 12px;
    color: var(--brand-muted);
}

.qty-btn:hover {
    color: var(--brand-dark);
}

.qty-value {
    font-size: 12px;
    font-weight: 500;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
}

/* Cart Item Remove Button */
.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--brand-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    transition: all var(--transition-fast);
    opacity: 0;
}

.cart-drawer-item:hover .cart-item-remove {
    opacity: 1;
}

.cart-item-remove:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.cart-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.cart-empty-state p {
    color: var(--brand-muted);
    margin: 16px 0 24px;
}

.cart-shipping-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: rgba(0, 114, 255, 0.05);
    border: 1px solid rgba(0, 114, 255, 0.2);
    margin-bottom: 16px;
    color: var(--brand-sky);
    font-size: 12px;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 16px;
}

.subtotal-label {
    color: var(--brand-muted);
}

.subtotal-value {
    font-weight: 600;
}

.btn-checkout {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-xl);
    background: var(--brand-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background var(--transition-fast);
}

.btn-checkout:hover {
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
}

.cart-tax-note {
    text-align: center;
    font-size: 12px;
    color: var(--brand-muted);
    margin-top: 12px;
}

/* Mobile Navigation */
.mobile-nav {
    padding: 24px;
    flex: 1;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid transparent;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 300;
    color: var(--brand-dark);
    transition: color var(--transition-fast);
}

.mobile-nav-menu a:hover {
    color: var(--brand-sky);
}

.mobile-nav-footer {
    padding: 24px;
    border-top: 1px solid var(--brand-border);
    display: flex;
    gap: 24px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--brand-muted);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--brand-dark);
}

/* ── Search Overlay ── */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
}

.search-overlay.active {
    pointer-events: auto;
    visibility: visible;
}

.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(249, 247, 242, 0.96);
    backdrop-filter: blur(30px) saturate(1.1);
    -webkit-backdrop-filter: blur(30px) saturate(1.1);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active .search-overlay-backdrop {
    opacity: 1;
}

/* Soft dotted texture for atmosphere */
.search-overlay-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(58, 95, 63, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0;
    transition: opacity 0.6s ease 0.15s;
}

.search-overlay.active .search-overlay-grain {
    opacity: 1;
}

.search-overlay-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    padding: 0 24px;
    padding-top: clamp(64px, 12vh, 140px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.search-overlay.active .search-overlay-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Top row: index label + close */
.search-overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.search-overlay.active .search-overlay-top {
    opacity: 1;
    transform: translateY(0);
}

.search-overlay-index {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--shop-zen-primary, #3A5F3F);
}

.search-overlay-index em {
    font-style: normal;
    color: var(--brand-text-muted);
    margin: 0 6px;
}

.search-close-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 18px;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.6);
    color: var(--brand-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
}

.search-close-btn:hover {
    color: var(--shop-zen-dark, #1E3F2A);
    border-color: var(--shop-zen-dark, #1E3F2A);
    background: #fff;
}

.search-close-btn svg {
    transition: transform var(--transition-fast);
}

.search-close-btn:hover svg {
    transform: rotate(90deg);
}

/* Heading */
.search-overlay-heading {
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.26s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.26s;
}

.search-overlay.active .search-overlay-heading {
    opacity: 1;
    transform: translateY(0);
}

.search-overlay-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-text-muted);
    margin-bottom: 14px;
    font-weight: 500;
}

.search-overlay-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 6vw, 52px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--shop-zen-dark, #1E3F2A);
    margin: 0;
}

.search-overlay-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--shop-zen-primary, #3A5F3F);
}

/* Search Input */
.search-input-wrapper {
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.34s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.34s;
}

.search-overlay.active .search-input-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.search-input-wrapper .search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-field-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    transition: all var(--transition-fast);
    position: relative;
    box-shadow: 0 6px 24px rgba(30, 63, 42, 0.04);
}

.search-field-wrapper:focus-within {
    border-color: var(--shop-zen-primary, #3A5F3F);
    box-shadow: 0 0 0 4px rgba(58, 95, 63, 0.12);
}

.search-field-icon {
    flex-shrink: 0;
    color: var(--brand-text-muted);
    transition: color var(--transition-fast);
}

.search-field-wrapper:focus-within .search-field-icon {
    color: var(--shop-zen-primary, #3A5F3F);
}

.search-input-wrapper .search-field {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 17px;
    font-weight: 400;
    color: var(--shop-zen-dark, #1E3F2A);
    outline: none;
    padding: 0;
    font-family: var(--font-sans);
    line-height: 1.4;
    letter-spacing: -0.01em;
    box-shadow: none !important;
    min-width: 0;
}

.search-input-wrapper .search-field:focus {
    box-shadow: none !important;
}

.search-input-wrapper .search-field::placeholder {
    color: var(--brand-text-muted);
    font-weight: 300;
}

.search-input-wrapper .search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--shop-zen-dark, #1E3F2A);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.search-input-wrapper .search-submit:hover {
    background: var(--shop-zen-primary, #3A5F3F);
    transform: scale(1.04);
}

.search-input-wrapper .search-submit:active {
    transform: scale(0.97);
}

.search-input-wrapper .search-submit svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Search Trending */
.search-trending {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.42s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}

.search-overlay.active .search-trending {
    opacity: 1;
    transform: translateY(0);
}

.search-trending-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.search-trending-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--shop-zen-primary, #3A5F3F);
    font-weight: 600;
}

.search-trending-hint {
    font-size: 12px;
    color: var(--brand-text-muted);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--shop-zen-text, #1F2937);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.search-tag:hover {
    border-color: var(--shop-zen-primary, #3A5F3F);
    color: var(--shop-zen-primary, #3A5F3F);
    background: rgba(58, 95, 63, 0.06);
    transform: translateY(-2px);
}

.search-tag:active {
    transform: translateY(0);
}

/* Footer hint keys */
.search-overlay-foot {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(58, 95, 63, 0.12);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--brand-text-muted);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.search-overlay.active .search-overlay-foot {
    opacity: 1;
    transform: translateY(0);
}

.search-foot-key {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.search-foot-key em {
    font-style: normal;
    color: var(--shop-zen-dark, #1E3F2A);
    font-weight: 600;
}

.search-foot-key kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid var(--brand-border);
    border-radius: 6px;
    background: #fff;
    color: var(--shop-zen-dark, #1E3F2A);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
}

.search-foot-divider {
    width: 1px;
    height: 14px;
    background: var(--brand-border);
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    background: var(--brand-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.2);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--brand-border);
    transition: all var(--transition-base);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f9fafb;
}

/* ── Section Styles ── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}

.section-title-lg {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin-bottom: 8px;
}

.section-label-secondary {
    color: var(--brand-secondary);
}

.section-label-highlight {
    color: var(--brand-highlight);
}

.section-label-accent {
    color: var(--brand-accent);
}

.section-link {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
}

.section-link:hover {
    text-decoration: underline;
}

/* ── Features Section ── */
.features-section {
    padding: 40px 0;
    background: var(--brand-bg);
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.feature-icon-sky {
    background: rgba(0, 114, 255, 0.1);
    color: var(--brand-sky);
}

.feature-icon-secondary {
    background: rgba(255, 61, 129, 0.1);
    color: var(--brand-secondary);
}

.feature-icon-highlight {
    background: rgba(255, 184, 0, 0.1);
    color: var(--brand-highlight);
}

.feature-icon-accent {
    background: rgba(0, 168, 107, 0.1);
    color: var(--brand-accent);
}

.feature-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

.feature-desc {
    font-size: 12px;
    color: var(--brand-muted);
    margin: 0;
}

/* ── Newsletter Section ── */
.newsletter-section {
    padding: 64px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-bg-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: rgba(0, 114, 255, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.newsletter-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin-bottom: 16px;
}

.newsletter-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    margin: 0 0 16px;
}

.newsletter-desc {
    font-size: 16px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 32px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    background: var(--brand-bg);
    border: 1px solid var(--brand-border);
    font-size: 14px;
    color: var(--brand-dark);
    font-family: var(--font-sans);
}

.newsletter-input::placeholder {
    color: rgba(107, 114, 128, 0.5);
}

.newsletter-input:focus {
    border-color: rgba(0, 114, 255, 0.5);
}

.newsletter-btn {
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.15);
}

.newsletter-privacy {
    font-size: 12px;
    color: rgba(107, 114, 128, 0.5);
    margin-top: 16px;
}

.newsletter-privacy a {
    text-decoration: underline;
}

.newsletter-privacy a:hover {
    color: var(--brand-muted);
}

/* ── Footer ── */

.footer-widget-col .section {
    margin-bottom: 0;
}

.footer-brand-col .section {
    margin-bottom: 0;
    padding: 0;
}

.footer-brand-col .widget {
    margin: 0;
    padding: 0;
}

.footer-brand-col .widget-title {
    display: none;
}

.footer-brand-col .footer-brand {
    grid-column: auto;
}

.footer-brand-col .footer-logo-wrap {
    margin-bottom: 0;
}

.footer-brand-col .footer-logo-wrap img {
    max-height: 40px;
    width: auto;
}

.footer-brand-col .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-sale-link {
    color: var(--brand-secondary) !important;
    font-weight: 500;
}

.footer-sale-link:hover {
    color: rgba(255, 61, 129, 0.8) !important;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-copyright a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-credits {
    color: rgba(255, 255, 255, 0.2);
}

.footer-payments {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ── Product Card ── */
.product-card {
    background: var(--brand-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--brand-border);
    transition: all var(--transition-base);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    background: var(--brand-secondary);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-badge.new {
    background: var(--brand-highlight);
    color: var(--brand-dark);
}

.product-badge.bestseller {
    background: var(--brand-sky);
}

.product-badge.eco {
    background: var(--brand-accent);
}

.product-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-wishlist-btn:hover {
    color: var(--brand-secondary);
}

.product-wishlist-btn.active {
    color: var(--brand-secondary);
}

.product-image-wrapper {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f3f4f6;
}

.product-image-wrapper a {
    display: block;
    height: 100%;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-info {
    padding: 12px;
}

.product-brand {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-muted);
    margin: 0;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    margin: 4px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title a {
    color: var(--brand-dark);
}

.product-title a:hover {
    color: var(--brand-sky);
}

.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-secondary);
}

.product-price-original {
    font-size: 12px;
    color: var(--brand-muted);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
}

.product-rating-count {
    font-size: 10px;
    color: var(--brand-muted);
    margin-left: 4px;
}

/* Quick View Overlay */
.product-quick-view {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.product-card:hover .product-quick-view {
    opacity: 1;
    pointer-events: auto;
}

.btn-quick-view {
    padding: 10px 20px;
    background: var(--brand-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-quick-view:hover {
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
}

/* ── Filter Chips ── */
.filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all var(--transition-fast);
    font-weight: 500;
    color: var(--brand-muted);
    cursor: pointer;
}

.filter-chip.active {
    background: var(--brand-sky);
    color: #fff;
    border-color: var(--brand-sky);
}

.filter-chip:hover:not(.active) {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

/* ═══════════════════════════════════════════════════
   Header, Mobile Menu, Footer
   ═══════════════════════════════════════════════════ */

/* ── Announcement Bar ── */
.announcement-bar {
    background: transparent;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 1001;
    padding: 0;
    font-family: var(--font-display);
}

.announcement-bar .shop-zen-announcement-bar-widget {
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    border-bottom: 2px solid #0F2418;
}

.announcement-bar .shop-zen-announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.announcement-bar .shop-zen-announcement-item {
    opacity: 0.85;
    margin: 0 10px;
}

.announcement-bar .shop-zen-announcement-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    margin: 0 14px;
    vertical-align: middle;
    animation: shop-zen-pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
    opacity: 0.7;
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--shop-zen-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
    height: var(--header-height);
    font-family: var(--font-display);
}

.site-header.scrolled {
    border-bottom-color: var(--shop-zen-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    overflow: visible;
}

.site-logo,
.site-logo-text {
    font-family: var(--font-dm);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--shop-zen-dark);
    text-decoration: none;
    transition: opacity var(--transition-fast);
    line-height: 1;
    min-width: 0;
}

.site-logo:hover,
.site-logo-text:hover {
    opacity: 0.75;
}

.site-logo .period,
.site-logo-text .period {
    color: var(--shop-zen-primary);
}

/* Text-only logo with description */
.site-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-logo-text .site-title-name {
    line-height: 1.2;
}

.site-logo-text .site-description {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 400;
    color: var(--brand-muted);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Nav Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--shop-zen-dark);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--shop-zen-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Visible keyboard focus indicator */
.nav-links a:focus-visible,
.nav-links .sub-menu a:focus-visible {
    outline: 2px solid var(--shop-zen-dark);
    outline-offset: 4px;
    border-radius: 2px;
    color: var(--shop-zen-dark);
}

.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a {
    color: var(--shop-zen-dark);
}

.nav-links a.active::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after,
.nav-links .current-menu-ancestor > a::after {
    width: 100%;
}

/* ── Dropdown Submenus ── */
.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: -12px;
    min-width: 200px;
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    margin-top: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Keep nested submenu open on keyboard focus */
.nav-links .sub-menu li:hover > .sub-menu,
.nav-links .sub-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-links .sub-menu li {
    position: relative;
}

.nav-links .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 400;
    color: var(--brand-muted);
    transition: color var(--transition-fast), background var(--transition-fast);
    white-space: nowrap;
}

.nav-links .sub-menu a::after {
    display: none;
}

.nav-links .sub-menu a:hover {
    color: var(--shop-zen-dark);
    background: var(--shop-zen-sage-light);
}

.nav-links .menu-item-has-children > a .dropdown-arrow,
.nav-links .sub-menu .menu-item-has-children > a .dropdown-arrow {
    display: inline-flex;
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.nav-links li:hover > a .dropdown-arrow,
.nav-links li:focus-within > a .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-links .sub-menu .menu-item-has-children > a .dropdown-arrow {
    transform: rotate(-90deg);
}

.nav-links .sub-menu .menu-item-has-children:hover > a .dropdown-arrow {
    transform: rotate(-90deg);
}

.nav-links .sub-menu .sub-menu {
    top: -8px;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
}

.nav-links .sub-menu .sub-menu::before {
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
    right: auto;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 0;
    min-width: 0;
    justify-content: flex-end;
}

.nav-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--shop-zen-text);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-action-btn:hover {
    color: var(--shop-zen-primary);
}

.nav-action-desktop {
    display: none;
}

/* Cart Count */
.cart-count,
.wishlist-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    background: var(--shop-zen-primary);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    display: grid;
    place-items: center;
    letter-spacing: 0;
    z-index: 1;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    background: none;
    border: none;
}

.hamburger:focus,
.hamburger:focus-visible {
    outline: 2px solid var(--shop-zen-dark);
    outline-offset: 3px;
    border-radius: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--shop-zen-dark);
    transition: all var(--transition-base);
    border-radius: 1px;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile Menu Fullscreen ── */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 63, 42, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-fullscreen {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: var(--shop-zen-cream, #F9F7F2);
    z-index: 1101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    padding: 26px 28px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
}

/* Subtle dotted atmosphere */
.mobile-menu-fullscreen::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(58, 95, 63, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 0;
}

.mobile-menu-fullscreen > * {
    position: relative;
    z-index: 1;
}

.mobile-menu-fullscreen.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: all;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

.mobile-menu-close-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    background: #fff;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    color: var(--shop-zen-dark, #1E3F2A);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mobile-menu-close-btn:hover,
.mobile-menu-close-btn:focus-visible {
    background: var(--shop-zen-primary, #3A5F3F);
    border-color: var(--shop-zen-primary, #3A5F3F);
    color: #fff;
    transform: rotate(90deg);
}

.mobile-menu-close-btn:focus-visible {
    outline: 2px solid var(--shop-zen-dark);
    outline-offset: 3px;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    margin-top: 56px;
}

/* Mono eyebrow label above links */
.mobile-menu-nav::before {
    content: 'Menu \2014 01';
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--shop-zen-primary, #3A5F3F);
}

.mobile-menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    counter-reset: mnav;
}

/* Staggered reveal when menu opens */
.mobile-menu-fullscreen:not(.open) .mobile-menu-links > li {
    opacity: 0;
    transform: translateX(16px);
}

.mobile-menu-fullscreen.open .mobile-menu-links > li {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-fullscreen.open .mobile-menu-links > li:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu-fullscreen.open .mobile-menu-links > li:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu-fullscreen.open .mobile-menu-links > li:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu-fullscreen.open .mobile-menu-links > li:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu-fullscreen.open .mobile-menu-links > li:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu-fullscreen.open .mobile-menu-links > li:nth-child(6) { transition-delay: 0.32s; }
.mobile-menu-fullscreen.open .mobile-menu-links > li:nth-child(7) { transition-delay: 0.36s; }
.mobile-menu-fullscreen.open .mobile-menu-links > li:nth-child(8) { transition-delay: 0.40s; }

.mobile-menu-links > li {
    counter-increment: mnav;
    border-bottom: 1px solid rgba(58, 95, 63, 0.10);
}

.mobile-menu-links li a {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--shop-zen-dark, #1E3F2A);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    padding: 16px 0;
}

/* Mono index number prefix */
.mobile-menu-links > li > a::before {
    content: '0' counter(mnav);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--shop-zen-primary, #3A5F3F);
    margin-right: 16px;
    letter-spacing: 0.1em;
    transform: translateY(-7px);
    transition: color var(--transition-fast);
}

.mobile-menu-links li a:hover,
.mobile-menu-links li a:focus-visible {
    color: var(--shop-zen-primary, #3A5F3F);
}

.mobile-menu-links li a:hover::before,
.mobile-menu-links li a:focus-visible::before {
    color: var(--shop-zen-dark, #1E3F2A);
}

.mobile-menu-links a:focus-visible,
.mobile-menu-links .mobile-submenu-toggle:focus-visible {
    outline: 2px solid var(--shop-zen-dark);
    outline-offset: 4px;
    border-radius: 2px;
}

.mobile-menu-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}

.mobile-menu-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--shop-zen-dark, #1E3F2A);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 11px 18px;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.mobile-menu-footer-link:hover {
    color: #fff;
    background: var(--shop-zen-primary, #3A5F3F);
    border-color: var(--shop-zen-primary, #3A5F3F);
}

.mobile-menu-footer-link svg {
    flex-shrink: 0;
}

/* ── Mobile Submenu (Accordion) ── */
.mobile-menu-links .menu-item-has-children {
    position: relative;
}

.mobile-menu-links .menu-item-has-children > a {
    position: relative;
    padding-right: 52px;
}

.mobile-menu-links .menu-item-has-children > .mobile-submenu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 48px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--shop-zen-dark, #1E3F2A);
    padding: 0;
    border-radius: 50%;
    transition: all var(--transition-fast);
    z-index: 2;
}

.mobile-menu-links .menu-item-has-children > .mobile-submenu-toggle:hover {
    background: rgba(58, 95, 63, 0.10);
    color: var(--shop-zen-primary, #3A5F3F);
}

.mobile-menu-links .menu-item-has-children > .mobile-submenu-toggle svg {
    transition: transform var(--transition-fast);
    width: 14px;
    height: 14px;
}

.mobile-menu-links .menu-item-has-children.submenu-open > .mobile-submenu-toggle svg {
    transform: rotate(180deg);
}

.mobile-menu-links .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 6px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease, padding 0.35s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 27px;
    border-left: 1px solid rgba(58, 95, 63, 0.25);
    padding-left: 20px;
}

.mobile-menu-links .menu-item-has-children.submenu-open > .sub-menu,
.mobile-menu-links .menu-item-has-children > .sub-menu:focus-within {
    max-height: 700px;
    opacity: 1;
    padding-top: 6px;
    padding-bottom: 12px;
    margin-top: 0;
    border-left-color: var(--shop-zen-primary, #3A5F3F);
}

.mobile-menu-links .sub-menu .menu-item-has-children.submenu-open > .sub-menu,
.mobile-menu-links .sub-menu .menu-item-has-children > .sub-menu:focus-within {
    max-height: 700px;
    opacity: 1;
    padding-top: 4px;
    padding-bottom: 8px;
    margin-top: 0;
}

.mobile-menu-links .sub-menu li {
    border-bottom: none;
}

.mobile-menu-links .sub-menu li a {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--shop-zen-muted, #6B7280);
    padding: 11px 4px;
    letter-spacing: 0;
    line-height: 1.3;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-menu-links .sub-menu li a::before {
    content: none;
}

.mobile-menu-links .sub-menu li a:hover,
.mobile-menu-links .sub-menu li a:focus-visible {
    color: var(--shop-zen-primary, #3A5F3F);
    padding-left: 8px;
}

.mobile-menu-links .sub-menu .sub-menu {
    gap: 0;
}

.mobile-menu-links .sub-menu .sub-menu li a {
    font-size: 14px;
    font-weight: 400;
    color: var(--shop-zen-muted, #6B7280);
    padding: 9px 4px;
}

.mobile-menu-links .sub-menu .menu-item-has-children > a {
    padding-right: 44px;
}

.mobile-menu-links .sub-menu .menu-item-has-children > .mobile-submenu-toggle {
    right: 0;
    top: 50%;
    height: 40px;
    width: 36px;
    color: var(--shop-zen-muted, #6B7280);
}

.mobile-menu-links .sub-menu .menu-item-has-children > .mobile-submenu-toggle svg {
    width: 12px;
    height: 12px;
}

/* ── Footer ── */
.site-footer {
    padding: 0;
    border-top: 1px solid var(--shop-zen-border);
    background: #ffffff;
    font-family: var(--font-display);
}

.footer-inner {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 24px;
    margin-bottom: 0;
}

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

.footer-col {
    color: var(--shop-zen-text);
}

.footer-col a {
    text-decoration: none;
}

.footer-col .footer-logo {
    font-family: var(--font-dm);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--shop-zen-dark);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.footer-col .footer-logo .period {
    color: var(--shop-zen-primary);
}

.footer-col .footer-logo span {
    color: var(--shop-zen-primary);
}

.footer-brand-desc,
.footer-description {
    font-size: 14px;
    color: var(--shop-zen-muted);
    line-height: 1.5;
    max-width: 260px;
    margin: 0;
    font-weight: 500;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 800;
}

/* Widget title in footer columns */
.footer-col .widget-title {
    font-family: var(--font-display);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 800;
}

.footer-col .footer-widget-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #111827;
    margin-bottom: 10px;
    margin-top: 0;
}

.footer-col .footer-links li,
.footer-col .section ul > li {
    margin-bottom: 7px;
}

.footer-col .footer-links a,
.footer-col .section ul > li > a {
    font-size: 14px;
    color: var(--shop-zen-muted);
    transition: color var(--transition-fast);
    letter-spacing: 0;
    text-decoration: none;
    font-weight: 500;
}

.footer-col .footer-links a:hover,
.footer-col .section ul > li > a:hover {
    color: var(--shop-zen-dark);
}

/* Footer Widget Columns */
.footer-widget-col {
    color: var(--brand-text);
}

.footer-widget-col .widget-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-text-muted);
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-widget-col .footer-links li {
    margin-bottom: 8px;
}

.footer-widget-col .footer-links a {
    font-size: 14px;
    color: var(--brand-muted);
}

.footer-widget-col .footer-links a:hover {
    color: var(--brand-text);
}

/* Footer Brand Column */
.footer-brand-col .footer-description {
    color: var(--brand-text-muted);
}

.footer-brand-col .social-icon {
    border-color: var(--brand-border);
    color: var(--brand-muted);
}

.footer-brand-col .social-icon:hover {
    color: var(--brand-text);
    border-color: var(--brand-text);
    background: rgba(28, 28, 28, 0.05);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--shop-zen-border);
    font-size: 14px;
    color: #6B7280;
    letter-spacing: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-copyright {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

.footer-credit {
    font-size: 14px;
    color: #6B7280;
}

.footer-copyright .footer-credit a {
    color: #6B7280;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-copyright .footer-credit a:hover {
    color: var(--shop-zen-dark);
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #6B7280;
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 14px;
    font-weight: 600;
}

.footer-bottom-links a:hover {
    color: var(--shop-zen-dark);
}

/* Footer bottom right group: policy links + trust badges */
.footer-bottom-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-trust-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-trust-badges .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #6B7280;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
}

.footer-trust-badges .trust-badge svg {
    flex: 0 0 auto;
}

/* Footer link and social styles */
.footer-logo {
    color: var(--brand-text);
}

.footer-logo span {
    color: var(--brand-accent-warm);
}

.footer-links a {
    font-size: 14px;
    color: var(--brand-muted);
}

.footer-links a:hover {
    color: var(--brand-text);
}

.social-link {
    border-color: var(--brand-border);
    color: var(--brand-muted);
}

.social-link:hover {
    color: var(--brand-text);
    border-color: var(--brand-text);
    background: rgba(28, 28, 28, 0.05);
}

/* ═══════════════════════════════════════════════════
   Responsive Styles
   ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .search-overlay-inner {
        padding: 0 16px;
        padding-top: 64px;
    }

    .search-overlay-top {
        margin-bottom: 32px;
    }

    .search-overlay-heading {
        margin-bottom: 28px;
    }

    .search-field-wrapper {
        padding: 14px 16px;
        gap: 10px;
    }

    .search-input-wrapper .search-field {
        font-size: 15px;
    }

    .search-input-wrapper .search-submit {
        width: 50px;
        height: 50px;
    }

    .search-input-wrapper {
        margin-bottom: 36px;
    }

    .search-trending {
        margin-top: 0;
    }

    .search-tags {
        gap: 8px;
    }

    .search-tag {
        padding: 9px 16px;
        font-size: 12px;
    }

    .search-overlay-foot {
        margin-top: 36px;
        gap: 12px;
    }

    .search-close-text {
        display: none;
    }

    .search-close-btn {
        padding: 9px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .nav-actions .search-btn,
    .nav-actions .nav-action-desktop {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-right,
    .footer-trust-badges {
        justify-content: center;
    }

    .single-product .shop-zen-pdp-main {
        margin-top: 30px;
    }

    .single-product .shop-zen-add-to-cart {
        padding: 10px 25px;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (min-width: 1024px) {
    .header-main {
        height: 72px;
    }
}

@media (min-width: 1024px) {
    .site-branding .custom-logo {
        max-height: 44px;
        max-width: 200px;
    }
}

@media (min-width: 1024px) {
    .site-branding .site-title-name {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .main-navigation {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .header-actions {
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .header-action-desktop {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .section-title-lg {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .features-section {
        padding: 56px 0;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .newsletter-section {
        padding: 96px 0;
    }
}

@media (min-width: 1024px) {
    .newsletter-title {
        font-size: 48px;
    }
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .product-info {
        padding: 16px;
    }
}

@media (min-width: 1024px) {
    .header-inner {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .nav-action-desktop {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .footer-inner {
        padding: 0 32px;
    }
}

@media (min-width: 768px) {
    .footer-grid {
        gap: 30px;
    }

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

    .footer-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        gap: 24px;
    }

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

    .footer-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-cols-5 {
        grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    }
}

@media (min-width: 1024px) {
    .footer-brand-col {
        grid-column: auto;
    }
}

