/*
 Theme Name:   Hostinger AI Theme Child
 Theme URI:    https://meenakshispices.online
 Description:  Child theme for Meenakshi Spices custom PHP and styles.
 Author:       GA Software
 Template:     hostinger-ai-theme
 Version:      1.0.2
*/

:root {
    --primary-green: #0b2318;
    --accent-gold: #d4af37;
    --gold-glow: #f3e5ab;
    --light-bg: #f9f8f3;
    --text-dark: #1a1a1a;
    --white: #ffffff;
}

/* HARD REMOVE DEFAULT PARENT THEME HEADER & FOOTER */
header.site-header,
.site-header,
footer.site-footer,
.site-footer,
footer.wp-block-template-part,
.wp-block-template-part-header,
.wp-block-template-part-footer,
.hostinger-header,
.hostinger-footer,
[class*="trans-"] {
    display: none !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

/* Container */
.ultra-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Announcement Bar */
.ultra-top-bar {
    background: var(--primary-green);
    color: var(--accent-gold);
    font-size: 12px;
    padding: 6px 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;
}

/* Main Ultra Header */
.ultra-header {
    background: #0f2d1f;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ultra-logo-link {
    display: inline-block;
}

.ultra-logo-img {
    max-height: 55px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}

/* Header Right Section */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon-btn {
    position: relative;
    color: var(--accent-gold);
    font-size: 18px;
    width: 38px;
    height: 38px;
    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: #0b2318;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e63946;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ultra Call Button */
.ultra-call-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #0b2318 !important;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
}

.call-icon {
    font-size: 16px;
    background: #0b2318;
    color: var(--accent-gold);
    width: 30px;
    height: 30px;
    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: 14px;
    font-weight: 800;
}

/* Single Product Tweaks */
.single-product .product {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.single_add_to_cart_button.button {
    background-color: var(--primary-green) !important;
    color: var(--accent-gold) !important;
    border: 2px solid var(--accent-gold) !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.single_add_to_cart_button.button:hover {
    background-color: var(--accent-gold) !important;
    color: var(--primary-green) !important;
}

/* Custom Ultra Footer Display */
footer.ultra-footer {
    display: block !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: var(--primary-green);
    color: #e0e0e0;
    padding: 50px 0 20px 0;
    margin-top: 50px;
    border-top: 3px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--accent-gold);
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

/* Policy Link Styles */
.footer-policy-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-policy-links li {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-policy-links i {
    color: var(--accent-gold);
    font-size: 11px;
    margin-right: 6px;
}

.fssai-box {
    border: 1px dashed var(--accent-gold);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
}

.fssai-title {
    display: block;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 12px;
    color: #888;
}

/* Mobile Bar */
.ultra-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0b2318;
    padding: 10px 15px;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.4);
    gap: 10px;
}

.mobile-action-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none !important;
    font-size: 14px;
}

.mobile-call {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold) !important;
}

.mobile-buy {
    background: var(--accent-gold);
    color: #0b2318 !important;
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    .top-bar-phone {
        display: none;
    }
    .ultra-logo-img {
        max-height: 45px !important;
    }
    .ultra-call-btn {
        padding: 6px 12px;
    }
    .call-text small {
        font-size: 8px;
    }
    .call-text strong {
        font-size: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .ultra-mobile-bar {
        display: flex;
    }
    body {
        padding-bottom: 60px !important;
    }
}