/*
Theme Name: Jeevika Ayurveda
Theme URI: https://example.com
Author: Deepanshu
Description: Premium WooCommerce-ready Ayurvedic wellness brand theme. Built for Elementor + Ultimate Addons for Elementor (header/footer), Smart Slider 3, and Contact Form 7. Fully responsive across mobile, tablet and desktop.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jeevika-ayurveda
Tags: e-commerce, custom-menu, custom-logo, translation-ready, responsive-layout

Colors used: Deep Green #1b4332, Gold #c9a227, Cream #faf6ef, Charcoal #2b2b2b
*/

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2b2b2b;
    background: #faf6ef;
    line-height: 1.6;
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #1b4332;
    line-height: 1.25;
    margin: 0 0 15px;
}
a { color: #1b4332; text-decoration: none; }
a:hover { color: #c9a227; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

/* -------------------- Layout container (Astra-like) -------------------- */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.content-area {
    padding: 40px 0;
}

/* -------------------- Header -------------------- */
.site-header {
    background: #1b4332;
    border-bottom: 3px solid #c9a227;
    position: relative;
    z-index: 999;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.site-branding img { max-height: 55px; }
.site-branding .site-title {
    color: #f5eeda;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}
.site-branding .site-title a { color: #f5eeda; }

.main-navigation { display: flex; align-items: center; }
.main-navigation ul {
    display: flex;
    gap: 28px;
    align-items: center;
}
.main-navigation ul li a {
    color: #e8dcb8;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.main-navigation ul li a:hover { color: #c9a227; }
.main-navigation ul ul {
    display: none;
    position: absolute;
    background: #1b4332;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.main-navigation li { position: relative; }
.main-navigation li:hover > ul { display: flex; }
.main-navigation ul ul li a { padding: 10px 20px; display: block; }

/* Header icons: account + cart */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 25px;
}
.header-icons a {
    color: #f5eeda;
    font-size: 20px;
    position: relative;
    display: flex;
    align-items: center;
}
.header-icons a:hover { color: #c9a227; }
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #c9a227;
    color: #1b4332;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f5eeda;
    font-size: 26px;
    cursor: pointer;
}

/* -------------------- Hero / Slider placeholder -------------------- */
.hero-slider-area {
    background: #eef1e6;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #d8cdb0;
}
.hero-slider-area .placeholder-note {
    max-width: 700px;
    margin: 0 auto;
    color: #7a7358;
    font-size: 14px;
    border: 2px dashed #c9a227;
    padding: 40px 20px;
    border-radius: 8px;
}

/* -------------------- Buttons -------------------- */
.btn, button, input[type="submit"], .woocommerce a.button, .woocommerce button.button {
    display: inline-block;
    background: #1b4332;
    color: #f5eeda !important;
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.25s ease;
}
.btn:hover, button:hover, input[type="submit"]:hover, .woocommerce a.button:hover {
    background: #c9a227;
    color: #1b4332 !important;
}

/* -------------------- WooCommerce shop grid -------------------- */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    list-style: none;
}
.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid #e5ddc8;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}
.woocommerce ul.products li.product img { border-radius: 4px; margin-bottom: 12px; }
.woocommerce ul.products li.product .price {
    color: #c9a227;
    font-weight: 700;
}
.woocommerce span.onsale {
    background: #c9a227;
    color: #1b4332;
}

/* -------------------- Footer -------------------- */
.site-footer {
    background: #1b4332;
    color: #e8dcb8;
    padding: 50px 0 0;
    margin-top: 40px;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}
.footer-widgets h3 {
    color: #f5eeda;
    font-size: 18px;
}
.footer-widgets a { color: #cdbf98; }
.footer-widgets a:hover { color: #ffffff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    padding: 18px 20px;
    font-size: 14px;
    color: #cdbf98;
}

/* -------------------- Sticky note / dummy content blocks -------------------- */
.dummy-block {
    background: #fff;
    border: 1px dashed #c9a227;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 25px;
}

/* -------------------- Responsive: Tablet -------------------- */
@media (max-width: 991px) {
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------- Responsive: Mobile -------------------- */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; }
    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
    }
    .main-navigation.active { display: block; }
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .main-navigation ul li { width: 100%; }
    .main-navigation ul li a { padding: 12px 0; display: block; width: 100%; }
    .main-navigation ul ul { position: static; box-shadow: none; padding-left: 15px; }
    .menu-toggle { display: block; }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
    .footer-widgets { grid-template-columns: 1fr; text-align: center; }
    .site-branding .site-title { font-size: 20px; }
}

@media (max-width: 480px) {
    .woocommerce ul.products { grid-template-columns: 1fr; }
    .hero-slider-area { padding: 35px 15px; }
}
