/*
Theme Name: Zaruesh
Theme URI: https://zaruesh.com/
Author: CentNine (Umar Rajput)
Author URI: https://umarrajput.com/
Description: Premium luxury WooCommerce theme built exclusively for Zaruesh - carbonized bamboo kitchen essentials. V2 includes 6 custom Elementor widgets for full homepage drag-and-drop control, CRO-optimized product pages (live viewers, stock urgency, delivery countdown, volume bundle pricing), and fully designed WooCommerce templates.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zaruesh
Tags: e-commerce, woocommerce, elementor, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-width-template, theme-options
*/

/* =====================================================
   ZARUESH THEME — CORE STYLES
   Luxury Kitchen Aesthetic
   ===================================================== */

/* CSS Variables — Premium Palette */
:root {
    /* Brand Colors (from logo + document recommendation) */
    --zr-olive: #4A6B3A;          /* Primary olive green from logo */
    --zr-olive-dark: #2F4626;     /* Hover / dark accent */
    --zr-walnut: #3D2817;         /* Dark walnut brown */
    --zr-charcoal: #1A1A1A;       /* Near-black text */
    --zr-charcoal-soft: #2D2D2D;
    --zr-beige: #E8DFD3;          /* Soft beige */
    --zr-cream: #F7F2EA;          /* Warm cream background */
    --zr-warm-white: #FBF8F3;     /* Warm white */
    --zr-white: #FFFFFF;
    --zr-gray: #8B8278;           /* Muted text */
    --zr-gray-light: #D4CFC7;     /* Borders */
    --zr-accent: #B8A07E;         /* Soft brass accent */

    /* Typography */
    --zr-font-heading: 'Playfair Display', Georgia, serif;
    --zr-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --zr-font-eyebrow: 'Poppins', sans-serif;

    /* Spacing Scale */
    --zr-space-xs: 0.5rem;
    --zr-space-sm: 1rem;
    --zr-space-md: 2rem;
    --zr-space-lg: 4rem;
    --zr-space-xl: 6rem;
    --zr-space-2xl: 8rem;

    /* Layout */
    --zr-container: 1280px;
    --zr-container-wide: 1440px;
    --zr-radius-sm: 4px;
    --zr-radius-md: 8px;

    /* Transitions */
    --zr-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== RESET / BASE ====== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--zr-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--zr-charcoal);
    background: var(--zr-warm-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--zr-olive); text-decoration: none; transition: color var(--zr-transition); }
a:hover { color: var(--zr-olive-dark); }

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--zr-font-heading);
    color: var(--zr-charcoal);
    margin: 0 0 1rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { margin: 0 0 1rem; }

.zr-eyebrow {
    font-family: var(--zr-font-eyebrow);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--zr-olive);
    margin-bottom: 1rem;
    display: inline-block;
}

/* ====== LAYOUT ====== */
.zr-container {
    width: 100%;
    max-width: var(--zr-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.zr-container-wide {
    width: 100%;
    max-width: var(--zr-container-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.zr-section { padding: var(--zr-space-xl) 0; }
.zr-section-sm { padding: var(--zr-space-lg) 0; }

/* ====== BUTTONS ====== */
.zr-btn,
.button,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2.25rem;
    font-family: var(--zr-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0;
    border: 1.5px solid var(--zr-charcoal);
    background: var(--zr-charcoal);
    color: var(--zr-white);
    cursor: pointer;
    transition: all var(--zr-transition);
    text-decoration: none;
    line-height: 1;
}

.zr-btn:hover,
.button:hover,
button[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--zr-olive);
    border-color: var(--zr-olive);
    color: var(--zr-white);
    transform: translateY(-1px);
}

.zr-btn-outline {
    background: transparent;
    color: var(--zr-charcoal);
}
.zr-btn-outline:hover {
    background: var(--zr-charcoal);
    color: var(--zr-white);
}

.zr-btn-light {
    background: var(--zr-white);
    color: var(--zr-charcoal);
    border-color: var(--zr-white);
}
.zr-btn-light:hover {
    background: transparent;
    color: var(--zr-white);
    border-color: var(--zr-white);
}

/* ====== HEADER ====== */
.zr-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 243, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--zr-gray-light);
}

.zr-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    gap: 2rem;
}

.zr-logo img { max-height: 44px; width: auto; }

.zr-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.zr-nav-menu a {
    color: var(--zr-charcoal);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.zr-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--zr-olive);
    transition: width var(--zr-transition);
}

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

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

.zr-header-actions a {
    color: var(--zr-charcoal);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
}

.zr-cart-count {
    background: var(--zr-olive);
    color: var(--zr-white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

/* ====== ANNOUNCEMENT BAR ====== */
.zr-announce {
    background: var(--zr-charcoal);
    color: var(--zr-white);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
}

.zr-announce strong { color: var(--zr-accent); font-weight: 500; }

/* ====== FOOTER ====== */
.zr-site-footer {
    background: var(--zr-charcoal);
    color: var(--zr-gray-light);
    padding: var(--zr-space-lg) 0 var(--zr-space-md);
    margin-top: var(--zr-space-xl);
}

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

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

.zr-footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.zr-footer-grid a {
    color: var(--zr-gray-light);
    font-size: 0.9rem;
}

.zr-footer-grid a:hover { color: var(--zr-accent); }

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

.zr-newsletter input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--zr-white);
    font-family: var(--zr-font-body);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.zr-newsletter input::placeholder { color: var(--zr-gray); }

/* ====== UTILITIES ====== */
.zr-text-center { text-align: center; }
.zr-mb-0 { margin-bottom: 0 !important; }

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
    .zr-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .zr-nav-menu { display: none; }
    .zr-menu-toggle { display: block; }

    .zr-nav-menu.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--zr-warm-white);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--zr-gray-light);
    }
}

@media (max-width: 600px) {
    .zr-section { padding: var(--zr-space-lg) 0; }
    .zr-footer-grid { grid-template-columns: 1fr; }
    .zr-footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .zr-announce { font-size: 0.7rem; }
}
