/*
 Theme Name:   Astra Child - Meenakshi Spices
 Theme URI:    https://meenakshispices.online
 Description:  Ultra-Premium Custom Child Theme for Meenakshi Spices built on Astra.
 Author:       GA Software
 Template:     astra
 Version:      1.0.1
*/

/* FORCE ASTRA MAIN CONTENT CONTAINERS TO 100% FULL WIDTH STRETCH */
#page, #content, .site-content, .ast-container, #primary, #main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

.hero-section, .trust-bar, .products-showcase, .brand-story-section {
    width: 100% !important;
    display: block !important;
    clear: both !important;
}

:root {
    --primary-emerald: #071911;
    --deep-green: #0f2d1f;
    --accent-gold: #D4AF37;
    --gold-hover: #B89327;
    --gold-glow: rgba(212, 175, 55, 0.25);
    --light-bg: #f8f9fa;
    --text-dark: #0f1111;
    --text-muted: #6b7280;
    --white: #ffffff;
    --buy-yellow: #ffd814;
    --buy-yellow-hover: #f7ca00;
    --buy-orange: #ffa41c;
    --buy-orange-hover: #fa9000;
}

* {
    box-sizing: border-box;
}

body, p, h1, h2, h3, h4, h5, h6, a, span, button {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Enforce Font Awesome Icon Font Family Override */
.fa, .fas, .far, .fal, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* Hide Astra default elements */
.ast-main-header-wrap,
.site-header,
.site-footer,
.ast-footer-overlay {
    display: none !important;
}

.ultra-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Announcement Bar */
.ultra-top-bar {
    background: var(--primary-emerald);
    color: var(--accent-gold);
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.top-bar-phone:hover {
    color: var(--accent-gold);
}

/* Main Header Layout */
.ultra-header {
    background: var(--deep-green);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    padding: 14px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ultra-logo-img {
    max-height: 52px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}

/* Desktop Navigation Bar */
.desktop-navigation {
    display: flex;
    align-items: center;
}

.main-nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav-list li a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.main-nav-list li a:hover {
    color: var(--accent-gold);
}

/* Header Actions & Call Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-icon-btn {
    position: relative;
    color: var(--accent-gold);
    font-size: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.header-icon-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-emerald);
    box-shadow: 0 0 15px var(--gold-glow);
}

.cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #e63946;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ultra-call-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #0b2318 !important;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
}

.ultra-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.call-icon {
    font-size: 14px;
    background: #0b2318;
    color: var(--accent-gold);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-text small {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.call-text strong {
    font-size: 13px;
    font-weight: 800;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-gold);
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Mobile Slide-Out Drawer Navigation */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--primary-emerald);
    z-index: 10001;
    box-shadow: 4px 0 25px rgba(0,0,0,0.5);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.active {
    left: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-drawer-logo {
    max-height: 40px;
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-size: 22px;
    cursor: pointer;
}

.mobile-drawer-body {
    padding: 20px 0;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-list li a i {
    color: var(--accent-gold);
    width: 20px;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 10000;
    display: none;
}

.mobile-drawer-overlay.active {
    display: block;
}

/* HERO SECTION */
.hero-section {
    background: radial-gradient(circle at top center, #133a28 0%, #071911 100%);
    color: #ffffff;
    padding: 85px 0 95px 0;
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--accent-gold);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content p {
    font-size: 17px;
    color: #d1d5db;
    max-width: 680px;
    margin: 0 auto 38px auto;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-primary-btn {
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #0b2318 !important;
    padding: 15px 36px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.hero-secondary-btn {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid var(--accent-gold);
    padding: 15px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
}

/* Trust Bar */
.trust-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 28px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-item i {
    font-size: 28px;
    color: var(--primary-emerald);
}

.trust-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.trust-item small {
    color: var(--text-muted);
    font-size: 12px;
}

/* PRODUCT SHOWCASE GRID */
.products-showcase {
    padding: 70px 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 45px;
}

.section-title-wrap h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
}

.amazon-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 30px;
}

.amazon-product-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-badge-top {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e63946;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 10;
}

.card-img-wrap {
    background: #fdfbf7;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card-img-wrap img {
    max-height: 210px;
    width: auto;
    object-fit: contain;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title-link {
    text-decoration: none !important;
}

.product-title-link h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: #ffa41c;
    font-size: 13px;
}

.rating-count {
    font-size: 13px;
    color: #007185;
    font-weight: 600;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.currency {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
}

.regular-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-badge {
    background: #cc0c39;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
}

.prime-delivery-tag {
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 20px;
    background: #f0fdf4;
    padding: 7px 12px;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
}

.prime-delivery-tag i {
    color: #16a34a;
    margin-right: 5px;
}

.amazon-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.amazon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.amazon-cart-btn {
    background: var(--buy-yellow);
    color: #0f1111 !important;
}

.amazon-buy-btn {
    background: var(--buy-orange);
    color: #0f1111 !important;
}

/* Footer Styling */
footer.ultra-footer {
    display: block !important;
    background: var(--primary-emerald);
    color: #e0e0e0;
    padding: 60px 0 25px 0;
    margin-top: 60px;
    border-top: 3px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    gap: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-height: 55px;
    width: auto;
    margin-bottom: 18px;
}

.footer-col h3 {
    color: var(--accent-gold);
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
}

.footer-policy-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-policy-links li {
    margin-bottom: 12px;
}

.fssai-box {
    border: 1px dashed var(--accent-gold);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
    background: rgba(212, 175, 55, 0.05);
}

.fssai-title {
    display: block;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #9ca3af;
}

.ultra-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    padding: 10px 15px;
    z-index: 999;
    gap: 10px;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none !important;
}

.mobile-call {
    background: #f3f4f6;
    color: var(--text-dark) !important;
    border: 1px solid #d1d5db;
}

.mobile-buy {
    background: var(--buy-orange);
    color: #0f1111 !important;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .desktop-navigation {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    .top-bar-phone {
        display: none;
    }
    .ultra-call-btn {
        display: none;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 14px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ultra-mobile-bar {
        display: flex;
    }
    body {
        padding-bottom: 60px;
    }
}