/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Description: Khinkali custom child theme with footer
Version: 1.0
*/

/* =============================================
   TOIMITUSAIKABANNERI
   ============================================= */

.kh-delivery-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff8ee;
    border: 1px solid #e8a020;
    border-left: 4px solid #c96212;
    border-radius: 4px;
    padding: 0.7rem 1rem;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    color: #3d1a00;
}

.kh-delivery-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.kh-delivery-banner p {
    margin: 0;
    line-height: 1.4;
}

.kh-delivery-banner strong {
    color: #c96212;
}

/* =============================================
   KG-HINTA
   ============================================= */

.kh-kg-price {
    font-size: 0.75em;
    color: #888;
    font-weight: 400;
}

/* =============================================
   KHINKALI HEADER
   ============================================= */

.khinkali-header {
    background: #c96212;
    color: white;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.khinkali-header::before,
.khinkali-header::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.khinkali-header::before {
    left: 0;
    background: var(--spice-bg) center calc(50% + 4rem) / auto 350% no-repeat;
}

.khinkali-header::after {
    right: 0;
    transform: scaleX(-1);
    background: var(--spice-bg) center calc(50% + 4rem) / auto 350% no-repeat;
}

.kh-brand,
.kh-nav,
.kh-cart-btn {
    position: relative;
    z-index: 1;
}

.kh-brand {
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kh-brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.kh-spacer {
    flex: 1;
    position: relative;
    z-index: 1;
}

.kh-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.kh-nav a,
.kh-nav-list a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.kh-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.kh-cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.kh-cart-badge {
    display: none;
    position: absolute;
    top: -6px;
    right: -8px;
    width: 11px;
    height: 11px;
    background: #ef4444;
    box-shadow: 0 0 6px 3px rgba(239, 68, 68, 0.7);
    animation: kh-cart-glow 1s ease-in-out infinite;
}

.kh-cart-badge.visible {
    display: block;
}

.kh-lang-switcher {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.kh-lang-btn {
    background: transparent;
    border: 1px solid #555;
    color: #ccc;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.03em;
    text-decoration: none;
    display: inline-block;
}

.kh-lang-btn:hover {
    border-color: #aaa;
    color: white;
}

.kh-lang-btn.active {
    background: white;
    border-color: white;
    color: #1a1a1a;
}

@keyframes kh-cart-glow {
    0%, 100% { box-shadow: 0 0 6px 3px rgba(239, 68, 68, 0.7); }
    50%       { box-shadow: 0 0 14px 6px rgba(239, 68, 68, 0.95); }
}

/* =============================================
   KHINKALI FOOTER
   ============================================= */

.khinkali-footer {
    background: #7a3a08;
    color: #f5c894;
    margin-top: 4rem;
    font-size: 0.875rem;
}

.khinkali-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 640px) {
    .khinkali-footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.khinkali-footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.khinkali-footer-tagline {
    color: #e8a870;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.khinkali-footer-heading {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    margin-top: 0;
}

.khinkali-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.khinkali-footer-contact a {
    color: #f5c894;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.khinkali-footer-contact a:hover {
    color: white;
}

.khinkali-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.khinkali-footer-links a,
.khinkali-footer-links li a {
    color: #f5c894;
    text-decoration: none;
    transition: color 0.2s;
}

.khinkali-footer-links a:hover,
.khinkali-footer-links li a:hover {
    color: white;
}

.khinkali-footer-bottom {
    border-top: 1px solid #a05010;
    text-align: center;
    padding: 1.25rem 2rem;
    color: #c8905a;
    font-size: 0.78rem;
}
