/*
 Theme Name:   KhakraKraft Child
 Theme URI:    https://khakrakraft.com
 Description:  KhakraKraft child theme for Astra — premium Gujarati khakra e-commerce store. Adds brand colors, custom typography, GSAP animations, and WooCommerce styling.
 Author:       KhakraKraft
 Author URI:   https://khakrakraft.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  khakrakraft-child
*/

/* ============================================================
   KHAKRAKRAFT BRAND — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --kk-saffron:        #E8851A;
    --kk-saffron-dark:   #C46A0A;
    --kk-saffron-light:  #FFA94D;
    --kk-saffron-pale:   #FFF0D9;
    --kk-brown-darkest:  #0D0500;
    --kk-brown-dark:     #1C0A00;
    --kk-brown:          #3D1C02;
    --kk-brown-mid:      #6B3A1F;
    --kk-brown-light:    #A07850;
    --kk-cream:          #FFF8ED;
    --kk-cream-dark:     #F5E6CC;
    --kk-cream-mid:      #EDD9B0;
    --kk-green:          #5C7A3E;
    --kk-green-light:    #7CAD52;
    --kk-red:            #D9342B;
    --kk-text-dark:      #1C0A00;
    --kk-text-mid:       #5C3A1E;
    --kk-text-light:     #A07850;

    --kk-shadow-sm:  0 2px 8px rgba(60, 28, 2, 0.08);
    --kk-shadow-md:  0 8px 24px rgba(60, 28, 2, 0.12);
    --kk-shadow-lg:  0 20px 60px rgba(60, 28, 2, 0.18);
    --kk-shadow-xl:  0 30px 80px rgba(60, 28, 2, 0.25);

    --kk-radius-sm:   8px;
    --kk-radius-md:   16px;
    --kk-radius-lg:   24px;
    --kk-radius-xl:   40px;
    --kk-radius-full: 9999px;

    --kk-transition:      all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --kk-transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   TYPOGRAPHY — GOOGLE FONTS (loaded via functions.php)
   ============================================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background-color: var(--kk-cream) !important;
    color: var(--kk-text-dark) !important;
}

h1, h2, h3, h4, h5, h6,
.woocommerce-loop-product__title,
.product_title.entry-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--kk-brown-dark) !important;
    line-height: 1.2 !important;
}

/* ============================================================
   ASTRA OVERRIDES — SITE HEADER
   ============================================================ */
.site-header,
#masthead,
.ast-primary-header-bar {
    background: var(--kk-brown-dark) !important;
    border-bottom: none !important;
}

.main-header-bar {
    background: var(--kk-brown-dark) !important;
}

.site-header.scrolled-past-header,
.sticky-header .site-header {
    background: rgba(255, 248, 237, 0.97) !important;
    backdrop-filter: blur(20px);
}

.ast-site-identity a,
.site-title,
.site-title a {
    font-family: 'Playfair Display', serif !important;
    font-weight: 900 !important;
    color: var(--kk-cream) !important;
    font-size: 1.5rem !important;
}

.site-title a:hover { color: var(--kk-saffron) !important; }

.main-header-bar a,
.main-navigation .menu > li > a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: var(--kk-transition-fast) !important;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li.current-menu-item > a {
    color: var(--kk-saffron) !important;
}

/* Nav Shop Now CTA */
.menu-item-shop-cta > a {
    background: var(--kk-saffron) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: var(--kk-radius-full) !important;
    font-weight: 600 !important;
}
.menu-item-shop-cta > a:hover {
    background: var(--kk-saffron-dark) !important;
    transform: translateY(-2px);
}

/* ============================================================
   WOOCOMMERCE — BUTTONS
   ============================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input[type="submit"],
.woocommerce .button.alt,
.woocommerce a.button.alt,
.wc-proceed-to-checkout .checkout-button {
    background: var(--kk-saffron) !important;
    color: white !important;
    border-radius: var(--kk-radius-full) !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.02em !important;
    padding: 14px 28px !important;
    transition: var(--kk-transition) !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(232, 133, 26, 0.35) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input[type="submit"]:hover,
.woocommerce .button.alt:hover {
    background: var(--kk-saffron-dark) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 28px rgba(232, 133, 26, 0.45) !important;
    color: white !important;
}

/* Add to Cart button on product cards */
.woocommerce ul.products li.product .button {
    background: var(--kk-saffron) !important;
    color: white !important;
    border-radius: var(--kk-radius-full) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    transition: var(--kk-transition) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--kk-saffron-dark) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* ============================================================
   WOOCOMMERCE — PRODUCT CARDS
   ============================================================ */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
}

@media (max-width: 1024px) {
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .woocommerce ul.products { grid-template-columns: 1fr !important; }
}

.woocommerce ul.products li.product {
    background: white !important;
    border-radius: var(--kk-radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--kk-shadow-sm) !important;
    transition: var(--kk-transition) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--kk-shadow-lg) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--kk-brown-dark) !important;
    padding: 16px 20px 6px !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product .price {
    color: var(--kk-brown-dark) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    padding: 0 20px 4px !important;
    display: block !important;
}

.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}

.woocommerce ul.products li.product .button-wrap,
.woocommerce ul.products li.product .product-bottom {
    padding: 12px 20px 20px !important;
}

/* Completely hide WooCommerce & Astra default loop images and placeholders */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product .wp-post-image,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .woocommerce-placeholder {
    display: none !important;
}

/* Thumbnail area wrapper matching local demo */
.kk-prod-thumbnail-wrap {
    aspect-ratio: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 32px !important;
    background: linear-gradient(145deg, rgba(255, 248, 237, 0.8), rgba(245, 230, 204, 0.5)) !important;
    overflow: hidden !important;
    position: relative !important;
    min-height: 220px !important;
}

/* Custom flatbread rotating disc matching local demo */
.kk-prod-disc {
    width: 140px !important;
    height: 140px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.22) !important;
    transition: var(--kk-transition) !important;
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--kk-saffron) !important;
    color: white !important;
    border-radius: var(--kk-radius-full) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    min-width: auto !important;
    padding: 4px 12px !important;
    min-height: auto !important;
    line-height: 1.5 !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
}

/* ============================================================
   WOOCOMMERCE — SINGLE PRODUCT PAGE
   ============================================================ */
.woocommerce div.product .product_title {
    font-family: 'Playfair Display', serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--kk-brown-dark) !important;
}

.woocommerce div.product .price {
    color: var(--kk-saffron) !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 0.95rem !important;
    color: var(--kk-text-mid) !important;
    line-height: 1.8 !important;
}

/* ============================================================
   WOOCOMMERCE — CART & CHECKOUT
   ============================================================ */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order {
    background: white !important;
    border-radius: var(--kk-radius-lg) !important;
    padding: 28px !important;
    box-shadow: var(--kk-shadow-sm) !important;
}

.woocommerce table.cart td.actions .coupon .input-text {
    border-radius: var(--kk-radius-full) !important;
    border: 1.5px solid var(--kk-cream-mid) !important;
    padding: 10px 20px !important;
}

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.kk-ticker-wrap {
    background: var(--kk-saffron);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.kk-ticker-track {
    display: flex;
    align-items: center;
    animation: kkTicker 28s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.kk-ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 56px;
    color: white;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes kkTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   HOMEPAGE HERO (for Astra custom page template)
   ============================================================ */
.kk-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--kk-brown-dark);
}

.kk-hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.kk-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 50%, rgba(232,133,26,.14) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(92,122,62,.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.kk-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.kk-reveal.kk-visible {
    opacity: 1;
    transform: translateY(0);
}

.kk-reveal-d1 { transition-delay: 0.1s; }
.kk-reveal-d2 { transition-delay: 0.2s; }
.kk-reveal-d3 { transition-delay: 0.3s; }
.kk-reveal-d4 { transition-delay: 0.4s; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.kk-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.kk-cat-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--kk-radius-xl);
    padding: 52px 40px;
    cursor: pointer;
    transition: var(--kk-transition);
    text-decoration: none;
    display: block;
}

.kk-cat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--kk-shadow-xl);
}

.kk-cat-classic  { background: linear-gradient(145deg, #8B4500 0%, #C46A0A 55%, #E8851A 100%); }
.kk-cat-fusion   { background: linear-gradient(145deg, #7B0000 0%, #C42B2B 55%, #FF5722 100%); }
.kk-cat-healthy  { background: linear-gradient(145deg, #1A3A0A 0%, #3D7A1F 55%, #56AB2F 100%); }

.kk-cat-icon  { font-size: 3.5rem; display: block; margin-bottom: 20px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.kk-cat-name  { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: white; margin-bottom: 8px; }
.kk-cat-count { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.kk-cat-link  { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.88); font-size: .82rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }

.kk-cat-deco  { position: absolute; right: -45px; bottom: -45px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.kk-cat-deco2 { position: absolute; right: -12px; bottom: -12px; width: 125px; height: 125px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }

@media (max-width: 768px) { .kk-cat-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.kk-features-section {
    padding: 100px 0;
    background: var(--kk-brown-dark);
}

.kk-feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.kk-feat-card {
    text-align: center;
    padding: 42px 24px;
    border-radius: var(--kk-radius-lg);
    border: 1px solid rgba(255,248,237,.08);
    background: rgba(255,248,237,.03);
    transition: var(--kk-transition);
}

.kk-feat-card:hover {
    background: rgba(232,133,26,.08);
    border-color: rgba(232,133,26,.2);
    transform: translateY(-5px);
}

.kk-feat-icon {
    width: 74px; height: 74px;
    border-radius: var(--kk-radius-md);
    background: rgba(232,133,26,.14);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    transition: var(--kk-transition);
}

.kk-feat-card:hover .kk-feat-icon {
    background: var(--kk-saffron);
    transform: scale(1.1);
}

.kk-feat-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--kk-cream); margin-bottom: 10px; }
.kk-feat-desc  { font-size: .875rem; color: rgba(255,248,237,.48); line-height: 1.65; }

@media (max-width: 1024px) { .kk-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .kk-feat-grid { grid-template-columns: 1fr; } }

/* ============================================================
   STATS SECTION
   ============================================================ */
.kk-stats-section {
    padding: 76px 0;
    background: var(--kk-saffron);
}

.kk-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.kk-stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,.22);
}
.kk-stat-item:last-child { border-right: none; }

.kk-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem; font-weight: 900;
    color: white; line-height: 1; margin-bottom: 8px;
}

.kk-stat-label {
    font-size: .82rem; color: rgba(255,255,255,.72);
    text-transform: uppercase; letter-spacing: .08em; font-weight: 500;
}

@media (max-width: 768px) {
    .kk-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .kk-stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
    .kk-stat-item:nth-child(3), .kk-stat-item:nth-child(4) { border-bottom: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.kk-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.kk-testi-card {
    background: white;
    border-radius: var(--kk-radius-lg);
    padding: 32px;
    box-shadow: var(--kk-shadow-sm);
    transition: var(--kk-transition);
}

.kk-testi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--kk-shadow-md);
}

.kk-testi-quote { font-size: 4.5rem; color: var(--kk-saffron); font-family: Georgia, serif; line-height: .4; margin-bottom: 20px; opacity: .35; }
.kk-testi-text  { font-size: .93rem; color: var(--kk-text-mid); line-height: 1.72; margin-bottom: 24px; font-style: italic; }
.kk-testi-author { display: flex; align-items: center; gap: 12px; }
.kk-av  { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.kk-av1 { background: linear-gradient(135deg, #FF8C42, #E8451A); }
.kk-av2 { background: linear-gradient(135deg, #56AB2F, #2A5E15); }
.kk-av3 { background: linear-gradient(135deg, #DAA520, #8B6914); }
.kk-auth-name  { font-weight: 600; font-size: .9rem; color: var(--kk-brown-dark); }
.kk-auth-city  { font-size: .8rem; color: var(--kk-text-light); }
.kk-testi-stars { color: #F59E0B; font-size: .82rem; margin-left: auto; }

@media (max-width: 768px) { .kk-testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.kk-newsletter-section {
    padding: 100px 0;
    background: var(--kk-brown-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.kk-nl-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 80% 50%, rgba(232,133,26,.1) 0%, transparent 70%),
        radial-gradient(ellipse 30% 60% at 20% 50%, rgba(92,122,62,.08) 0%, transparent 70%);
    pointer-events: none;
}

.kk-nl-inner { position: relative; max-width: 600px; margin: 0 auto; }
.kk-nl-emoji { font-size: 3.5rem; margin-bottom: 20px; }
.kk-nl-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--kk-cream); margin-bottom: 16px; }
.kk-nl-title span { color: var(--kk-saffron); font-style: italic; }
.kk-nl-desc  { color: rgba(255,248,237,.58); font-size: 1rem; margin-bottom: 32px; line-height: 1.72; }
.kk-nl-offer { display: inline-block; background: rgba(232,133,26,.15); border: 1px solid rgba(232,133,26,.3); color: var(--kk-saffron-light); padding: 8px 22px; border-radius: var(--kk-radius-full); font-size: .85rem; font-weight: 600; margin-bottom: 32px; }
.kk-nl-form  { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.kk-nl-input { flex: 1; padding: 16px 24px; background: rgba(255,248,237,.07); border: 1.5px solid rgba(255,248,237,.1); border-radius: var(--kk-radius-full); color: var(--kk-cream); font-size: .9rem; font-family: 'Inter', sans-serif; outline: none; transition: var(--kk-transition-fast); }
.kk-nl-input::placeholder { color: rgba(255,248,237,.33); }
.kk-nl-input:focus { border-color: rgba(232,133,26,.5); background: rgba(255,248,237,.1); }
.kk-nl-btn   { padding: 16px 32px; background: var(--kk-saffron); color: white; border: none; border-radius: var(--kk-radius-full); font-size: .9rem; font-weight: 600; cursor: pointer; transition: var(--kk-transition-fast); white-space: nowrap; }
.kk-nl-btn:hover { background: var(--kk-saffron-dark); transform: translateY(-2px); }

@media (max-width: 600px) { .kk-nl-form { flex-direction: column; } .kk-nl-btn { width: 100%; } }

/* ============================================================
   FOOTER OVERRIDES
   ============================================================ */
.site-footer,
#colophon {
    background: var(--kk-brown-darkest) !important;
    border-top: none !important;
    color: rgba(255, 248, 237, 0.4) !important;
}

.site-footer a { color: rgba(255, 248, 237, 0.42) !important; transition: var(--kk-transition-fast) !important; }
.site-footer a:hover { color: var(--kk-saffron) !important; }

/* ============================================================
   TRUST BADGES (used in cart/checkout)
   ============================================================ */
.kk-trust-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0;
    padding: 16px;
    background: var(--kk-cream);
    border-radius: var(--kk-radius-md);
    border: 1px solid var(--kk-cream-mid);
}

.kk-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--kk-text-mid);
    font-weight: 500;
}

/* ============================================================
   LANGUAGE SWITCHER (Polylang)
   ============================================================ */
.lang-item a {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 4px 8px !important;
    border-radius: var(--kk-radius-sm) !important;
    transition: var(--kk-transition-fast) !important;
}

.lang-item a:hover,
.lang-item.current-lang a {
    background: rgba(232, 133, 26, 0.2) !important;
    color: var(--kk-saffron-light) !important;
}

/* ============================================================
   UTILITY
   ============================================================ */
.kk-section { padding: 100px 0; }
.kk-section-label { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--kk-saffron); margin-bottom: 12px; }
.kk-section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--kk-brown-dark); line-height: 1.2; }
.kk-section-title span { color: var(--kk-saffron); font-style: italic; }
.kk-section-desc { font-size: 1rem; color: var(--kk-text-light); margin-top: 12px; max-width: 500px; line-height: 1.7; }
.kk-section-header { text-align: center; margin-bottom: 60px; }
.kk-section-header .kk-section-desc { margin-left: auto; margin-right: auto; }

/* Hide default header/breadcrumbs on homepage to avoid clutter */
.home .entry-header,
.home .entry-title,
.home .post-content-area .entry-header,
.home .ast-single-post-header,
.page-id-27 .entry-header,
.page-id-27 .entry-title,
#post-27 .entry-header,
#post-27 .entry-title,
.home .ast-archive-description,
.home .ast-breadcrumbs-outer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ============================================================
   FLATBREAD DISCS — CSS GRADIENTS & ROTATING ANIMATIONS
   ============================================================ */
.kk-prod-disc.disc-plain { background: linear-gradient(135deg, #F5DEB3, #DEB887 55%, #C4A265) !important; }
.kk-prod-disc.disc-masala { background: linear-gradient(135deg, #FF8C42, #E8451A 55%, #B22A00) !important; }
.kk-prod-disc.disc-pudina { background: linear-gradient(135deg, #56AB2F, #3D8A1F 55%, #2A5E15) !important; }
.kk-prod-disc.disc-methi { background: linear-gradient(135deg, #D4A017, #8B6914 55%, #5C4A10) !important; }
.kk-prod-disc.disc-jeera { background: linear-gradient(135deg, #C19A6B, #8B6914 55%, #5C3F0A) !important; }
.kk-prod-disc.disc-periperi { background: linear-gradient(135deg, #FF416C, #FF4B2B 55%, #CC1F00) !important; }
.kk-prod-disc.disc-cheese { background: linear-gradient(135deg, #F9D423, #F08F00 55%, #C46A0A) !important; }
.kk-prod-disc.disc-multigrain { background: linear-gradient(135deg, #8B9D6A, #5C7A3E 55%, #3A5024) !important; }

/* Micro-interaction: rotating rotate on card hover */
.woocommerce ul.products li.product:hover .kk-prod-disc {
    transform: scale(1.1) rotate(6deg) !important;
}

@keyframes kkFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* ============================================================
   ASTRA PRODUCT CARDS & LOOP PRICING ALIGNMENTS
   ============================================================ */
/* Astra shop summary container padding and centering */
.astra-shop-summary-wrap {
    padding: 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    background: white !important;
}

/* Category tag */
.ast-woo-product-category {
    font-size: .7rem !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: var(--kk-saffron) !important;
    margin-bottom: 2px !important;
    display: block !important;
}

/* Title alignment & font */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .astra-shop-summary-wrap .woocommerce-loop-product__title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--kk-brown-dark) !important;
    line-height: 1.3 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Price alignment */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .astra-shop-summary-wrap .price {
    color: var(--kk-brown-mid) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
}

/* Add to Cart button styles */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .astra-shop-summary-wrap .button {
    background: var(--kk-saffron) !important;
    color: white !important;
    border-radius: var(--kk-radius-full) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    transition: var(--kk-transition-fast) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-shadow: 0 4px 12px rgba(232, 133, 26, 0.2) !important;
    margin: 8px 0 0 0 !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .astra-shop-summary-wrap .button:hover {
    background: var(--kk-saffron-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(232, 133, 26, 0.35) !important;
    color: white !important;
}

/* Hide Astra duplicate add to cart hover buttons */
.ast-on-card-button,
.astra-shop-thumbnail-wrap .ast-select-options-trigger {
    display: none !important;
}

/* ============================================================
   RESPONSIVE OUR STORY SECTION (FIX FOR MOBILE HORIZONTAL SCROLL)
   ============================================================ */
.kk-story-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr !important;
    align-items: center !important;
    gap: 80px !important;
}

.kk-story-circle {
    width: 360px !important;
    height: 360px !important;
    max-width: 100% !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--kk-saffron), var(--kk-saffron-dark) 45%, var(--kk-brown)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    box-shadow: 0 30px 80px rgba(232, 133, 26, .3) !important;
}

.kk-story-circle-inner {
    width: 260px !important;
    height: 260px !important;
    border-radius: 50% !important;
    background: rgba(255, 248, 237, .1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 6rem !important;
    backdrop-filter: blur(8px) !important;
}

@media (max-width: 900px) {
    .kk-story-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .kk-story-visual {
        order: -1 !important;
    }
}

@media (max-width: 480px) {
    .kk-story-circle {
        width: 280px !important;
        height: 280px !important;
    }
    .kk-story-circle-inner {
        width: 200px !important;
        height: 200px !important;
        font-size: 4.5rem !important;
    }
}

