/*
 * KIDZO Smile — Custom Header Styles
 * Design: White middle bar (logo + search + COD/Shipping/Cart)
 *         White bottom bar (pink All Categories + nav links)
 */

/* =============================================
   KIDZO BRAND COLOR — Logo ke orange/yellow se match
   #FF6B00 = Logo ka primary orange
   Yeh variable poori site pe use hoga
   ============================================= */
:root {
    --kidzo-brand:        #ff6b00;
    --kidzo-brand-dark:   #201f7e;
    --kidzo-brand-light:  #fff3e8;
    --kidzo-brand-shadow: rgba(255,107,0,0.25);
    --kidzo-hover:        #201f7e;
}

/* =============================================
   GLOBAL BUTTON COLOR OVERRIDE
   Buy Now, Add to Cart, Search — sab orange
   ============================================= */

/* WooCommerce — Add to Cart, Buy Now, Checkout */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce .checkout-button,
.woocommerce .single_add_to_cart_button,
.woocommerce .add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-info a.button,
.woocommerce .return-to-shop a.button,
button.single_add_to_cart_button,
.single_add_to_cart_button.button,
.ts-product-in-cart-btn,
.ts-add-to-cart-btn,
.product_type_simple.add_to_cart_button,
.product_type_variable.add_to_cart_button,
.product_type_grouped.add_to_cart_button,
.product_type_external.add_to_cart_button {
    background-color: var(--kidzo-brand) !important;
    border-color: var(--kidzo-brand) !important;
    color: #ffffff !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .cart .button:hover,
.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover,
.woocommerce .checkout-button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .add_to_cart_button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
button.single_add_to_cart_button:hover,
.single_add_to_cart_button.button:hover {
    background-color: var(--kidzo-brand-dark) !important;
    border-color: var(--kidzo-brand-dark) !important;
    color: #ffffff !important;
}

/* Theme generic buttons */
.ts-button,
.ts-btn,
.button.ts-btn-primary,
.ts-product-button a,
.ts-product-button button,
.ts-add-to-wishlist-btn,
.ts-compare-btn {
    background-color: var(--kidzo-brand) !important;
    border-color: var(--kidzo-brand) !important;
    color: #ffffff !important;
}
.ts-button:hover,
.ts-btn:hover,
.button.ts-btn-primary:hover {
    background-color: var(--kidzo-brand-dark) !important;
    border-color: var(--kidzo-brand-dark) !important;
}

/* KIDZO custom Add to Cart button */
.kidzo-atc-btn {
    background: var(--kidzo-brand) !important;
    border-color: var(--kidzo-brand) !important;
}
.kidzo-atc-btn:hover {
    background: var(--kidzo-brand-dark) !important;
}

/* Sale badge */
.kidzo-badge-sale {
    background: var(--kidzo-brand) !important;
}

/* Tab active state */
.kidzo-tab-btn.active {
    background: var(--kidzo-brand) !important;
    border-color: var(--kidzo-brand) !important;
    box-shadow: 0 2px 8px var(--kidzo-brand-shadow) !important;
}
.kidzo-tab-btn:hover {
    border-color: var(--kidzo-brand) !important;
    color: var(--kidzo-brand) !important;
}

/* Swiper nav arrows hover */
.kidzo-hero-prev:hover,
.kidzo-hero-next:hover,
.kidzo-cat-prev:hover,
.kidzo-cat-next:hover,
.kidzo-prod-slider .swiper-button-prev:hover,
.kidzo-prod-slider .swiper-button-next:hover {
    background: var(--kidzo-brand) !important;
    border-color: var(--kidzo-brand) !important;
}

/* Pagination dots */
.kidzo-hero-pagination .swiper-pagination-bullet,
.kidzo-hero-pagination .swiper-pagination-bullet-active {
    background: var(--kidzo-brand) !important;
}

/* Category hover outline */
.kidzo-cat-item:hover .kidzo-cat-img-wrap {
    outline-color: var(--kidzo-brand) !important;
}
.kidzo-cat-item:hover .kidzo-cat-name {
    color: var(--kidzo-brand) !important;
}

/* View All link hover */
.kidzo-view-all:hover {
    color: var(--kidzo-brand) !important;
}

/* Product title hover */
.kidzo-prod-title a:hover {
    color: var(--kidzo-brand) !important;
}

/* Wishlist btn hover */
.kidzo-wishlist-btn-footer:hover {
    border-color: var(--kidzo-brand) !important;
    background: var(--kidzo-brand-light) !important;
}
.kidzo-wishlist-btn-footer:hover svg path {
    stroke: var(--kidzo-brand) !important;
}

/* All Categories button */
.kidzo-header .header-bottom .vertical-menu-wrapper .vertical-menu-heading {
    background-color: var(--kidzo-brand) !important;
}
.kidzo-header .header-bottom .vertical-menu-wrapper .vertical-menu-heading:hover {
    background-color: var(--kidzo-brand-dark) !important;
}

/* Search button */
.kidzo-header .header-middle .ts-search-by-category .search-button,
.kidzo-header .header-middle .ts-search-by-category button[type="submit"],
.kidzo-header .header-middle button.search-submit {
    background-color: #ff6b00 !important;
    color: #fff !important;
    border: none !important;
    width: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.kidzo-header .header-middle .ts-search-by-category button[type="submit"]:hover,
.kidzo-header .header-middle button.search-submit:hover {
    background-color: #201f7e !important;
}

/* Cart count badge */
.ts-header {
    --ts-hd-search-btn-bg:    var(--kidzo-brand) !important;
    --ts-hd-search-btn-border: var(--kidzo-brand) !important;
    --ts-cart-count-bg:       var(--kidzo-brand) !important;
    --ts-hd-middle-link-hover: var(--kidzo-brand) !important;
    --ts-hd-bottom-link-hover: var(--kidzo-brand) !important;
}

/* Nav hover underline */
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li.current-menu-item > a:after,
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li.current-menu-ancestor > a:after {
    background-color: var(--kidzo-brand) !important;
}

/* Promo banners section */
.kidzo-promo-card .kidzo-promo-btn {
    background: var(--kidzo-brand) !important;
}

/* WooCommerce sale flash */
.woocommerce span.onsale {
    background-color: var(--kidzo-brand) !important;
    border-color: var(--kidzo-brand) !important;
}

/* WooCommerce star rating */
.woocommerce .star-rating span:before,
.woocommerce .star-rating:before {
    color: var(--kidzo-brand) !important;
}

/* Elementor button widget */
.elementor-button-wrapper .elementor-button,
.elementor-widget-button .elementor-button {
    background-color: var(--kidzo-brand) !important;
    border-color: var(--kidzo-brand) !important;
}
.elementor-button-wrapper .elementor-button:hover,
.elementor-widget-button .elementor-button:hover {
    background-color: var(--kidzo-brand-dark) !important;
}

/* Links hover */
a:hover,
.woocommerce a:hover {
    color: var(--kidzo-brand);
}

/* =============================================
   GLOBAL HEADER VARIABLE OVERRIDES
   ============================================= */
.ts-header.kidzo-header {
    --ts-hd-middle-bg:            #ffffff;
    --ts-hd-middle-color:         #1a1a1a;
    --ts-hd-middle-border:        #f0f0f0;
    --ts-hd-middle-link-hover:    #ff6b00;

    --ts-hd-bottom-bg:            #ffffff;
    --ts-hd-bottom-color:         #1a1a1a;
    --ts-hd-bottom-border:        #f0f0f0;
    --ts-hd-bottom-link-hover:    #ff6b00;

    --ts-hd-search-btn-bg:        #ff6b00;
    --ts-hd-search-btn-color:     #ffffff;
    --ts-hd-search-btn-border:    #ff6b00;

    --ts-cart-count-bg:           #ff6b00;
    --ts-cart-count-color:        #ffffff;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* =============================================
   MIDDLE BAR — White background
   ============================================= */
.kidzo-header .header-middle {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}
.kidzo-header .header-middle > .container {
    display: flex;
    align-items: center;
    padding-top: 0px;
    padding-bottom: 0px;
    gap: 0px;
}

/* --- Logo --- */
.kidzo-header .logo-wrapper {
    flex-shrink: 0;
}
.kidzo-header .logo-wrapper img {
    max-height: 70px;
    width: auto;
}

/* --- Search bar --- */
.kidzo-header .header-middle .ts-search-by-category,
.kidzo-header .header-middle .search-form-wrapper {
    flex: 1;
    max-width: 720px;
}
/* Search input */
.kidzo-header .header-middle .ts-search-by-category .search-form,
.kidzo-header .header-middle .search-form {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    height: 46px;
}
.kidzo-header .header-middle .ts-search-by-category input[type="text"],
.kidzo-header .header-middle .ts-search-by-category input[type="search"],
.kidzo-header .header-middle input[type="search"] {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    color: #555;
    font-size: 0.9rem;
    padding: 0 14px;
    flex: 1;
    height: 100%;
}
.kidzo-header .header-middle .ts-search-by-category input::placeholder {
    color: #aaa;
}
/* Pink search button */
.kidzo-header .header-middle .ts-search-by-category .search-button,
.kidzo-header .header-middle .ts-search-by-category button[type="submit"],
.kidzo-header .header-middle button.search-submit {
    background-color: #ff6b00 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 6px 6px 0 !important;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.kidzo-header .header-middle .ts-search-by-category button[type="submit"]:hover,
.kidzo-header .header-middle button.search-submit:hover {
    background-color: #201f7e !important;
}
/* Search icon inside button */
.kidzo-header .header-middle .ts-search-by-category .search-button .icon:before,
.kidzo-header .header-middle .ts-search-by-category button[type="submit"]:before {
    color: #ffffff;
}

/* --- Right side: Login + Cart --- */
.kidzo-header .header-middle .kidzo-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Login / Account icon */
.kidzo-login-icon {
    padding: 0 10px;
    border-right: 1px solid #e5e5e5;
}
.kidzo-account-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: #1a1a1a !important;
    transition: color 0.2s;
}
.kidzo-account-link:hover {
    color: var(--kidzo-brand) !important;
}
.kidzo-login-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff3e8;
    flex-shrink: 0;
    transition: background 0.2s;
}
.kidzo-account-link:hover .kidzo-login-icon-wrap {
    background: var(--kidzo-brand);
}
.kidzo-account-link:hover .kidzo-login-icon-wrap svg {
    stroke: #ffffff;
}
.kidzo-login-icon-wrap svg {
    color: var(--kidzo-brand);
    stroke: var(--kidzo-brand);
}
.kidzo-login-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.kidzo-login-text strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
}
.kidzo-login-text small {
    font-size: 0.72rem;
    color: #888;
    font-weight: 400;
    display: block;
}

/* COD / Fast Shipping badges — hidden now, kept for reference */
.kidzo-header .kidzo-badge {
    display: none;
}

/* Cart icon */
.kidzo-header .header-middle .shopping-cart-wrapper {
    padding-left: 6px;
    border-left: 1px solid #e5e5e5;
}
.kidzo-header .header-middle .shopping-cart-wrapper .cart-control .ic-cart:before,
.kidzo-header .header-middle .shopping-cart-wrapper a {
    color: #1a1a1a !important;
}
.kidzo-header .header-middle .shopping-cart-wrapper a:hover {
    color: #ff6b00 !important;
}
/* Cart label text */
.kidzo-header .header-middle .shopping-cart-wrapper .cart-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.kidzo-header .header-middle .shopping-cart-wrapper .cart-control .cart-label {
    font-size: 0.72rem;
    color: #888;
    font-weight: 400;
    display: block;
    line-height: 1;
}

/* =============================================
   BOTTOM BAR — White background + pink accents
   ============================================= */
.kidzo-header .header-bottom {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.kidzo-header .header-bottom > .container {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: stretch;
}
.kidzo-header .header-bottom .menu-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

/* --- All Categories button (pink) --- */
.kidzo-header .header-bottom .vertical-menu-wrapper {
    flex-shrink: 0;
    margin-right: 10px;
}
.kidzo-header .header-bottom .vertical-menu-wrapper .vertical-menu-heading {
    background-color: #ff6b00;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    margin: 6px 0;
}
.kidzo-header .header-bottom .vertical-menu-wrapper .vertical-menu-heading:hover {
    background-color: #201f7e;
}
/* Hamburger icon before text */
.kidzo-header .header-bottom .vertical-menu-wrapper .vertical-menu-heading:before {
    content: "\2261";
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 400;
}
/* Arrow icon after text */
.kidzo-header .header-bottom .vertical-menu-wrapper .vertical-menu-heading span:after {
    content: " ❯";
    font-size: 0.7rem;
    opacity: 0.8;
    margin-left: 4px;
}

/* --- Primary nav menu links --- */
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li > a {
    color: #000000 !important;
    font-size: 1.4rem;
    font-weight: 650;
    padding: 14px 0;
    letter-spacing: 0;
    position: relative;
    transition: color .2s;
}
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li > a:hover,
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li:hover > a {
    color: #000000 !important;
}
/* Active / current page — black underline */
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li.current-menu-item > a,
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li.current-menu-ancestor > a {
    color: #000000 !important;
}
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li.current-menu-item > a:after,
.kidzo-header .header-bottom .ts-menu nav > ul.menu > li.current-menu-ancestor > a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #000000;
    border-radius: 2px 2px 0 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .kidzo-header .kidzo-badge {
        padding: 0 6px;
    }
    .kidzo-header .kidzo-badge .kidzo-badge-text strong {
        font-size: 0.78rem;
    }
}
@media (max-width: 767px) {
    .kidzo-header .header-middle > .container {
        padding-top: 10px;
        padding-bottom: 10px;
        flex-wrap: wrap;
    }
    .kidzo-header .kidzo-badge {
        display: none;
    }
}

/* =============================================
   KIDZO HERO BANNER SECTION
   ============================================= */

.kidzo-hero-section {
    width: 100%;
    background: #fff;
    line-height: 0;
}

/* --- Slider wrapper — position:relative so overlay can sit inside --- */
.kidzo-hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative; /* IMPORTANT: overlay is absolute inside this */
    line-height: 0;
}
.kidzo-hero-slider .swiper-wrapper {
    align-items: stretch;
}
.kidzo-slide-link {
    display: block;
    width: 100%;
    line-height: 0;
}
.kidzo-slide-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- Swiper nav arrows (must sit above slide <a> hits) --- */
.kidzo-hero-prev,
.kidzo-hero-next {
    background: rgba(255,255,255,0.88) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    top: 45% !important;
    z-index: 35 !important;
    pointer-events: auto !important;
    border: none;
    padding: 0;
    cursor: pointer;
}
.kidzo-hero-prev:after,
.kidzo-hero-next:after {
    font-size: 15px !important;
    font-weight: 800;
    color: #ff6b00 !important;
}
.kidzo-hero-prev:hover,
.kidzo-hero-next:hover {
    background: #ff6b00 !important;
}
.kidzo-hero-prev:hover:after,
.kidzo-hero-next:hover:after {
    color: #fff !important;
}

/* --- Swiper pagination dots --- */
.kidzo-hero-pagination {
    bottom: 70px !important; /* above the badges overlay */
    z-index: 30 !important;
    pointer-events: auto !important;
}
.kidzo-hero-pagination .swiper-pagination-bullet {
    background: #ff6b00;
    opacity: 0.45;
    width: 8px;
    height: 8px;
}
.kidzo-hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 4px;
    background: #ff6b00;
}

/* =============================================
   FEATURE BADGES — Banner ke NEECHE alag strip
   Position: static (normal flow), banner ke baad
   ============================================= */
.kidzo-feature-strip {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 3px solid #ff6b00;
    line-height: normal;
}

.kidzo-feature-badges-row {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.kidzo-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    padding: 18px 20px;
    position: relative;
    justify-content: center;
    transition: background 0.2s;
}
.kidzo-feature-item:hover {
    background: #fff8f3;
}

/* Vertical separator between items */
.kidzo-feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #ececec;
}

.kidzo-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kidzo-feature-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.kidzo-feature-text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    white-space: nowrap;
}
.kidzo-feature-text small {
    font-size: 0.78rem;
    color: #888;
    font-weight: 400;
    display: block;
    white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .kidzo-feature-item {
        padding: 14px 12px;
        gap: 10px;
    }
    .kidzo-feature-text strong { font-size: 0.82rem; }
    .kidzo-feature-text small  { font-size: 0.72rem; }
}
@media (max-width: 767px) {
    .kidzo-feature-badges-row {
        flex-wrap: wrap;
        padding: 0 8px;
    }
    .kidzo-feature-item {
        flex: 0 0 50%;
        justify-content: flex-start;
        padding: 12px 14px;
    }
    .kidzo-feature-item:nth-child(2n)::after { display: none; }
    .kidzo-feature-item:nth-child(1),
    .kidzo-feature-item:nth-child(2) {
        border-bottom: 1px solid #ececec;
    }
}
@media (max-width: 480px) {
    .kidzo-feature-item {
        flex: 0 0 100%;
    }
    .kidzo-feature-item::after { display: none !important; }
    .kidzo-feature-item:not(:last-child) {
        border-bottom: 1px solid #ececec;
    }
}

/* =============================================
   KIDZO TOP CATEGORIES SECTION
   ============================================= */

.kidzo-top-categories {
    background: #ffffff;
    padding: 28px 0 32px;
    line-height: normal;
}

/* --- Section header row --- */
.kidzo-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.kidzo-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.kidzo-title-sparkle {
    display: inline-flex;
    align-items: center;
}

.kidzo-view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555 !important;
    text-decoration: none !important;
    transition: color 0.2s;
    white-space: nowrap;
}
.kidzo-view-all:hover {
    color: #ff6b00 !important;
}
.kidzo-view-all svg {
    transition: transform 0.2s;
}
.kidzo-view-all:hover svg {
    transform: translateX(3px);
}

/* --- Swiper slider wrapper --- */
.kidzo-cat-slider {
    overflow: hidden;
    position: relative;
    padding: 6px 4px 10px;
}

/* --- Each slide --- */
.kidzo-cat-slide {
    width: auto !important;
}

/* --- Category item link --- */
.kidzo-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    cursor: pointer;
}
.kidzo-cat-item:hover .kidzo-cat-img-wrap {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}

/* --- Image wrapper — CIRCLE with pastel bg --- */
.kidzo-cat-img-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;          /* ← CIRCLE */
    overflow: hidden;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    flex-shrink: 0;
    border: 3px solid #ffffff;   /* white border ring */
    outline: 2px solid transparent;
}
.kidzo-cat-item:hover .kidzo-cat-img-wrap {
    outline-color: #ff6b00;
}

/* Alternate pastel background colors per nth-child */
.kidzo-cat-slide:nth-child(8n+1) .kidzo-cat-img-wrap { background: #E8F0FF; }
.kidzo-cat-slide:nth-child(8n+2) .kidzo-cat-img-wrap { background: #FFF3E0; }
.kidzo-cat-slide:nth-child(8n+3) .kidzo-cat-img-wrap { background: #FCE4EC; }
.kidzo-cat-slide:nth-child(8n+4) .kidzo-cat-img-wrap { background: #E8F5E9; }
.kidzo-cat-slide:nth-child(8n+5) .kidzo-cat-img-wrap { background: #FFF8E1; }
.kidzo-cat-slide:nth-child(8n+6) .kidzo-cat-img-wrap { background: #E0F7FA; }
.kidzo-cat-slide:nth-child(8n+7) .kidzo-cat-img-wrap { background: #F3E5F5; }
.kidzo-cat-slide:nth-child(8n+8) .kidzo-cat-img-wrap { background: #F1F8E9; }

.kidzo-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}
.kidzo-cat-item:hover .kidzo-cat-img {
    transform: scale(1.08);
}

/* --- Category name --- */
.kidzo-cat-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.3;
    max-width: 110px;
    display: block;
    transition: color 0.2s;
}
.kidzo-cat-item:hover .kidzo-cat-name {
    color: #ff6b00;
}

/* --- Swiper nav arrows --- */
.kidzo-cat-prev,
.kidzo-cat-next {
    background: #ffffff !important;
    border: 1.5px solid #e5e5e5 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    top: 38% !important;
}
.kidzo-cat-prev:after,
.kidzo-cat-next:after {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #333 !important;
}
.kidzo-cat-prev:hover,
.kidzo-cat-next:hover {
    background: #ff6b00 !important;
    border-color: #ff6b00 !important;
}
.kidzo-cat-prev:hover:after,
.kidzo-cat-next:hover:after {
    color: #ffffff !important;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .kidzo-top-categories {
        padding: 20px 0 24px;
    }
    .kidzo-cat-img-wrap {
        width: 76px;
        height: 76px;
    }
    .kidzo-cat-name {
        font-size: 0.72rem;
        max-width: 80px;
    }
    .kidzo-section-title {
        font-size: 1.05rem;
    }
    .kidzo-cat-prev,
    .kidzo-cat-next {
        display: none !important;
    }
}

/* =============================================
   KIDZO TRENDING PRODUCTS SECTION
   ============================================= */

.kidzo-trending-section {
    background: #ffffff;
    padding: 26px 0 34px;
    line-height: normal;
}

/* --- Section header row --- */
.kidzo-trending-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 20px;
}
.kidzo-trending-header .kidzo-section-title {
    flex-shrink: 0;
    margin-right: 4px;
}

/* Separator dot between title and tabs */
.kidzo-trending-header .kidzo-header-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
    display: inline-block;
}

/* --- Tab buttons --- */
.kidzo-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.kidzo-tab-btn {
    background: transparent;
    border: 1px solid #ececec;
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.4;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.kidzo-tab-btn:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}
.kidzo-tab-btn.active {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(233,30,99,0.22);
}

/* Push "View All" to the right */
.kidzo-trending-header .kidzo-view-all {
    margin-left: auto;
}

/* --- Tab panels --- */
.kidzo-tab-panel {
    display: none;
}
.kidzo-tab-panel.active {
    display: block;
}

/* --- Swiper wrapper --- */
.kidzo-prod-slider {
    overflow: hidden;
    position: relative;
    padding: 6px 2px 16px;
}

.kidzo-prod-slider .swiper-wrapper {
    align-items: stretch;
}

/* =============================================
   PRODUCT CARD — Exact match to reference image
   ============================================= */

.kidzo-prod-slide {
    height: auto !important;
    display: flex !important;
    align-items: stretch !important;
}

.kidzo-prod-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    height: 350px;
}
.kidzo-prod-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.11);
    transform: translateY(-4px);
}

/* --- Image area --- */
.kidzo-prod-img-wrap {
    position: relative;
    width: 100%;
    height: 170px;
    flex-shrink: 0;
    background: #f8f8f8;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.kidzo-prod-img-link {
    display: block;
    width: 100%;
    height: 100%;
}
.kidzo-prod-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
    transition: transform 0.3s ease;
}
.kidzo-prod-card:hover .kidzo-prod-img {
    transform: scale(1.06);
}

/* Sale badge — top left, pink rounded */
.kidzo-badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b00;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    z-index: 2;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* Best Seller badge — top right, yellow pill */
.kidzo-badge-best {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FFC107;
    color: #1a1a1a;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    z-index: 2;
    line-height: 1.4;
    white-space: nowrap;
}

/* --- Info area --- */
.kidzo-prod-info {
    padding: 12px 12px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;
    min-height: 0;
}

/* Product title — 2 lines max */
.kidzo-prod-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(0.86rem * 1.35 * 2);
    flex-shrink: 0;
}
.kidzo-prod-title a {
    color: inherit !important;
    text-decoration: none !important;
}
.kidzo-prod-title a:hover {
    color: #ff6b00 !important;
}

/* Star rating row */
.kidzo-prod-rating {
    display: flex;
    align-items: center;
    gap: 1px;
    flex-shrink: 0;
}
.kidzo-star { display: inline-block; flex-shrink: 0; }
.kidzo-review-count {
    font-size: 0.72rem;
    color: #888;
    margin-left: 4px;
}

/* Price — sale price bold + strikethrough original */
.kidzo-prod-price {
    flex-shrink: 0;
}
.kidzo-prod-price .price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.kidzo-prod-price .price ins {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 700;
}
.kidzo-prod-price .price del {
    color: #aaa;
    font-size: 0.78rem;
    font-weight: 400;
}
.kidzo-prod-price .price .woocommerce-Price-currencySymbol {
    font-size: 0.85em;
}

/* --- Footer: Add to Cart + Wishlist --- */
.kidzo-prod-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 14px;
    flex-shrink: 0;
    margin-top: auto;
}

/* Pink Add to Cart button — full width */
.kidzo-atc-btn {
    flex: 1;
    background: #ff6b00 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 7px !important;
    padding: 9px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: block !important;
    transition: background 0.2s !important;
    line-height: 1.4 !important;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.kidzo-atc-btn:hover {
    background: #201f7e !important;
    color: #ffffff !important;
}
.kidzo-atc-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Wishlist heart button — circle border */
.kidzo-wishlist-btn-footer {
    background: transparent;
    border: 1.5px solid #e5e5e5;
    border-radius: 7px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
    padding: 0;
}
.kidzo-wishlist-btn-footer:hover {
    border-color: #ff6b00;
    background: #fff0f5;
}
.kidzo-wishlist-btn-footer:hover svg path {
    stroke: #ff6b00;
}

/* Wishlist btn on image — hidden */
.kidzo-wishlist-btn {
    display: none;
}

/* --- Swiper nav arrows --- */
.kidzo-prod-slider .swiper-button-prev,
.kidzo-prod-slider .swiper-button-next {
    background: #ffffff !important;
    border: 1.5px solid #e5e5e5 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    top: 36% !important;
}
.kidzo-prod-slider .swiper-button-prev:after,
.kidzo-prod-slider .swiper-button-next:after {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #333 !important;
}
.kidzo-prod-slider .swiper-button-prev:hover,
.kidzo-prod-slider .swiper-button-next:hover {
    background: #ff6b00 !important;
    border-color: #ff6b00 !important;
}
.kidzo-prod-slider .swiper-button-prev:hover:after,
.kidzo-prod-slider .swiper-button-next:hover:after {
    color: #ffffff !important;
}

/* No products message */
.kidzo-no-products {
    color: #888;
    font-size: 0.9rem;
    padding: 20px 0;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
    .kidzo-prod-card { height: 332px; }
    .kidzo-prod-img-wrap { height: 155px; }
}
@media (max-width: 991px) {
    .kidzo-prod-card { height: 312px; }
    .kidzo-prod-img-wrap { height: 146px; }
    .kidzo-trending-header { gap: 8px 10px; }
}
@media (max-width: 767px) {
    .kidzo-trending-section { padding: 20px 0 28px; }
    .kidzo-prod-card { height: 300px; }
    .kidzo-prod-img-wrap { height: 140px; }
    .kidzo-prod-title { font-size: 0.78rem; }
    .kidzo-trending-header .kidzo-view-all { display: none; }
    .kidzo-prod-slider .swiper-button-prev,
    .kidzo-prod-slider .swiper-button-next { display: none !important; }
}

/* =============================================
   ELEMENTOR FULL-WIDTH OVERRIDE
   Force kidzo shortcode containers to be 100% wide
   ============================================= */

/* Elementor container holding kidzo shortcodes — full width */
.elementor-element:has(.kidzo-hero-section),
.elementor-element:has(.kidzo-top-categories),
.elementor-element:has(.kidzo-trending-section) {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Elementor widget wrapper inside container */
.elementor-element:has(.kidzo-hero-section) .elementor-widget-container,
.elementor-element:has(.kidzo-top-categories) .elementor-widget-container,
.elementor-element:has(.kidzo-trending-section) .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Elementor e-con (flexbox container) full width */
.e-con:has(.kidzo-hero-section),
.e-con:has(.kidzo-top-categories),
.e-con:has(.kidzo-trending-section) {
    --content-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Inner container full width */
.e-con-inner:has(.kidzo-hero-section),
.e-con-inner:has(.kidzo-top-categories),
.e-con-inner:has(.kidzo-trending-section) {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Shortcode widget itself full width */
.elementor-widget-shortcode:has(.kidzo-hero-section),
.elementor-widget-shortcode:has(.kidzo-top-categories),
.elementor-widget-shortcode:has(.kidzo-trending-section) {
    width: 100% !important;
}

/* Fallback: any elementor section/container on homepage */
.home .e-con,
.home .elementor-section {
    width: 100% !important;
    max-width: 100% !important;
}
.home .e-con-inner {
    max-width: 100% !important;
    width: 100% !important;
}

/* Hero section always full width */
.kidzo-hero-section,
.kidzo-hero-section .kidzo-hero-slider,
.kidzo-hero-section .swiper {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

/* Top categories full width */
.kidzo-top-categories {
    width: 100% !important;
    max-width: 100% !important;
}

/* =============================================
   KIDZO PROMO BANNERS SECTION
   4 colorful cards: Flat 10% | Extra 5% | Festival | Free Shipping
   ============================================= */

.kidzo-promo-banners-section {
    background: #f8f9fa;
    padding: 28px 0 32px;
    line-height: normal;
}

/* 4-column equal grid */
.kidzo-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Individual card */
.kidzo-promo-card {
    position: relative;
    border-radius: 18px;
    padding: 24px 20px 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 160px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kidzo-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* Decorative background circles */
.kidzo-promo-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    pointer-events: none;
}
.kidzo-promo-circle-1 {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -20px;
}
.kidzo-promo-circle-2 {
    width: 60px;
    height: 60px;
    bottom: -15px;
    left: 50%;
    background: rgba(255,255,255,0.08);
}

/* Text content block */
.kidzo-promo-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

.kidzo-promo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Line 1 — smaller, regular weight */
.kidzo-promo-line1 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    display: block;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

/* Line 2 — big bold */
.kidzo-promo-line2 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    display: block;
    letter-spacing: -0.02em;
}

/* Subtitle */
.kidzo-promo-sub {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
    display: block;
    margin-top: 4px;
    line-height: 1.3;
}

/* SHOP NOW button */
.kidzo-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
    width: fit-content;
}
.kidzo-promo-btn:hover {
    background: rgba(255,255,255,0.35) !important;
    transform: scale(1.04);
    text-decoration: none !important;
}

/* Emoji illustration — right side, large */
.kidzo-promo-emoji {
    font-size: 3.8rem;
    line-height: 1;
    z-index: 2;
    flex-shrink: 0;
    margin-left: 8px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
    user-select: none;
}
.kidzo-promo-card:hover .kidzo-promo-emoji {
    transform: scale(1.1) rotate(-5deg);
}

/* Yellow card — dark text override */
.kidzo-promo-card[style*="#FFD93D"],
.kidzo-promo-card[style*="#FFC107"],
.kidzo-promo-card[style*="#FFEB3B"] {
    color: #1a1a1a !important;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
    .kidzo-promo-grid {
        gap: 14px;
    }
    .kidzo-promo-line2 {
        font-size: 1.35rem;
    }
    .kidzo-promo-emoji {
        font-size: 3.2rem;
    }
}
@media (max-width: 991px) {
    .kidzo-promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .kidzo-promo-card {
        min-height: 140px;
    }
}
@media (max-width: 480px) {
    .kidzo-promo-banners-section {
        padding: 20px 0 24px;
    }
    .kidzo-promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .kidzo-promo-card {
        padding: 18px 14px 16px;
        min-height: 130px;
        border-radius: 14px;
    }
    .kidzo-promo-line1 { font-size: 0.85rem; }
    .kidzo-promo-line2 { font-size: 1.15rem; }
    .kidzo-promo-emoji { font-size: 2.6rem; }
    .kidzo-promo-btn   { font-size: 0.7rem; padding: 5px 12px; }
}

/* =============================================
   KIDZO COUPON BANNER WITH COUNTDOWN
   ============================================= */

.kidzo-coupon-banner {
    background: #1a237e;
    border-radius: 16px;
    margin: 0 0 0;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

/* Decorative background dots */
.kidzo-coupon-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.kidzo-coupon-gift {
    font-size: 3.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    z-index: 1;
}

.kidzo-coupon-left {
    z-index: 1;
    flex-shrink: 0;
}
.kidzo-coupon-label {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    margin: 0 0 6px;
    font-weight: 500;
}
.kidzo-coupon-code {
    background: #FFC107;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 8px 24px;
    border-radius: 8px;
    letter-spacing: 0.08em;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255,193,7,0.4);
}

.kidzo-coupon-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
    z-index: 1;
}

.kidzo-coupon-center {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    flex-shrink: 0;
}
.kidzo-coupon-bolt {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 6px rgba(255,193,7,0.8));
}
.kidzo-coupon-extra {
    color: #FFC107;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}
.kidzo-coupon-extra-sub {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    margin: 2px 0 0;
}

/* Countdown timer */
.kidzo-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
    margin-left: auto;
}
.kidzo-countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.kidzo-cd-num {
    background: #ffffff;
    color: #1a237e;
    font-size: 1.3rem;
    font-weight: 800;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.kidzo-cd-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA button */
.kidzo-coupon-btn {
    background: #FFC107;
    color: #1a1a1a !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    white-space: nowrap;
    z-index: 1;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(255,193,7,0.4);
}
.kidzo-coupon-btn:hover {
    background: #ffb300;
    transform: scale(1.04);
}

/* Coupon banner wrapper */
.kidzo-coupon-section {
    background: #fff;
    padding: 28px 0;
    line-height: normal;
}

@media (max-width: 991px) {
    .kidzo-coupon-banner { padding: 16px 20px; gap: 16px; }
    .kidzo-coupon-gift   { font-size: 2.8rem; }
    .kidzo-coupon-code   { font-size: 1.1rem; padding: 6px 16px; }
    .kidzo-cd-num        { width: 40px; height: 40px; font-size: 1.1rem; }
}
@media (max-width: 767px) {
    .kidzo-coupon-banner  { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .kidzo-coupon-divider { display: none; }
    .kidzo-countdown      { margin-left: 0; }
    .kidzo-cd-num         { width: 36px; height: 36px; font-size: 1rem; }
}

/* =============================================
   KIDZO INSTAGRAM / PHOTO FEED SECTION
   ============================================= */

.kidzo-insta-section {
    background: #ffffff;
    padding: 28px 0 32px;
    line-height: normal;
}

.kidzo-insta-follow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ff6b00 !important;
    text-decoration: none !important;
    transition: opacity 0.2s;
}
.kidzo-insta-follow:hover { opacity: 0.75; }

/* 6-column photo grid */
.kidzo-insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.kidzo-insta-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
    background: #f5f5f5;
}
.kidzo-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.kidzo-insta-item:hover img {
    transform: scale(1.08);
}

/* Overlay on hover */
.kidzo-insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(233,30,99,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}
.kidzo-insta-item:hover .kidzo-insta-overlay {
    opacity: 1;
}

@media (max-width: 991px) {
    .kidzo-insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .kidzo-insta-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* =============================================
   KIDZO REVIEWS + FAQ SECTION
   Exact match: 3 cards side-by-side (left 60%) + FAQ accordion (right 40%)
   ============================================= */

.kidzo-reviews-faq-section {
    background: #ffffff;
    padding: 40px 0 44px;
    line-height: normal;
}

/* 2-column: 60% reviews | 40% FAQ */
.kidzo-rfq-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 48px;
    align-items: start;
}

/* ── LEFT: Reviews ── */
.kidzo-reviews-col {
    min-width: 0;
}

.kidzo-reviews-slider {
    overflow: hidden;
    position: relative;
    padding-bottom: 40px; /* space for pagination dots */
}

/* Each slide = 3 cards in a row */
.kidzo-reviews-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}

/* Individual review card — light grey bg, rounded, no heavy shadow */
.kidzo-review-card {
    background: #f7f8fa;
    border-radius: 14px;
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #efefef;
    transition: box-shadow 0.2s;
}
.kidzo-review-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Yellow stars row */
.kidzo-review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Review text — 4 lines max */
.kidzo-review-text {
    font-size: 0.84rem;
    color: #333;
    line-height: 1.55;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Reviewer row: avatar circle + name/city */
.kidzo-reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

/* Avatar circle — 44px, real photo or colored initial */
.kidzo-reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff6b00, #f48fb1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.kidzo-reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kidzo-reviewer-initial {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

/* Name + city */
.kidzo-reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.kidzo-reviewer-info strong {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kidzo-reviewer-info small {
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
    display: block;
}

/* Pagination dots — centered, pink active */
.kidzo-reviews-pagination {
    bottom: 10px !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center;
}
.kidzo-reviews-pagination .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 3px !important;
    transition: all 0.2s;
}
.kidzo-reviews-pagination .swiper-pagination-bullet-active {
    background: #ff6b00;
    width: 22px;
    border-radius: 4px;
}

/* ── RIGHT: FAQ Accordion ── */
.kidzo-faq-col {
    min-width: 0;
}

/* FAQ list — no outer border, just item separators */
.kidzo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
}

.kidzo-faq-item {
    border-bottom: 1px solid #e8e8e8;
}
.kidzo-faq-item:last-child {
    border-bottom: none;
}

/* Question button */
.kidzo-faq-q {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px 4px 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.15s;
    line-height: 1.4;
}
.kidzo-faq-q:hover {
    color: #ff6b00;
}
.kidzo-faq-item.open .kidzo-faq-q {
    color: #ff6b00;
    font-weight: 600;
}

/* + / − icon */
.kidzo-faq-icon {
    font-size: 1.1rem;
    font-weight: 400;
    color: #999;
    flex-shrink: 0;
    line-height: 1;
    width: 20px;
    text-align: center;
    transition: color 0.15s;
}
.kidzo-faq-item.open .kidzo-faq-icon {
    color: #ff6b00;
}

/* Answer — smooth slide down */
.kidzo-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.kidzo-faq-a p {
    padding: 0 4px 14px;
    font-size: 0.84rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .kidzo-rfq-grid { grid-template-columns: 58% 42%; gap: 32px; }
}
@media (max-width: 991px) {
    .kidzo-rfq-grid { grid-template-columns: 1fr; gap: 32px; }
    .kidzo-reviews-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .kidzo-reviews-faq-section { padding: 28px 0 32px; }
    .kidzo-reviews-row { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 480px) {
    .kidzo-reviews-row { grid-template-columns: 1fr; }
    .kidzo-review-card { padding: 14px 12px; }
}

/* =============================================
   KIDZO NEWSLETTER SECTION
   ============================================= */

.kidzo-newsletter-section {
    background: linear-gradient(135deg, #ff6b00 0%, #f06292 50%, #ff80ab 100%);
    padding: 48px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    line-height: normal;
}

/* Decorative kid emojis */
.kidzo-nl-kid {
    position: absolute;
    font-size: 4rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}
.kidzo-nl-kid-left  { left: 40px; }
.kidzo-nl-kid-right { right: 40px; }

.kidzo-nl-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
}

.kidzo-nl-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.kidzo-nl-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 24px;
}

/* Email form */
.kidzo-nl-form { width: 100%; }
.kidzo-nl-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 520px;
    margin: 0 auto;
}
.kidzo-nl-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #333;
    background: transparent;
    box-shadow: none !important;
}
.kidzo-nl-input::placeholder { color: #aaa; }
.kidzo-nl-btn {
    background: #FFC107;
    color: #1a1a1a;
    border: none;
    padding: 14px 28px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}
.kidzo-nl-btn:hover { background: #ffb300; }

/* CF7 override inside newsletter */
.kidzo-newsletter-section .wpcf7-form { margin: 0; }
.kidzo-newsletter-section .wpcf7-form input[type="email"] {
    background: #fff;
    border-radius: 10px 0 0 10px;
    border: none;
    padding: 14px 20px;
    font-size: 0.9rem;
    width: 70%;
}
.kidzo-newsletter-section .wpcf7-form input[type="submit"] {
    background: #FFC107;
    color: #1a1a1a;
    border: none;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

@media (max-width: 767px) {
    .kidzo-nl-kid { display: none; }
    .kidzo-nl-title { font-size: 1.3rem; }
    .kidzo-nl-input-wrap { flex-direction: column; border-radius: 10px; }
    .kidzo-nl-input { width: 100%; border-radius: 10px 10px 0 0; }
    .kidzo-nl-btn   { width: 100%; border-radius: 0 0 10px 10px; padding: 12px; }
}

/* =============================================
   KIDZO CUSTOM FOOTER
   Dark navy blue, 5-column layout
   ============================================= */

.kidzo-footer {
    background: #0d1b4b;
    color: rgba(255,255,255,0.75);
    font-size: 0.86rem;
    line-height: normal;
}

/* ── Main footer area ── */
.kidzo-footer-main {
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* 5-column grid */
.kidzo-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr 1.2fr;
    gap: 32px;
    align-items: start;
}

/* ── Column base ── */
.kidzo-footer-col {
    min-width: 0;
}

/* ── Brand column ── */
.kidzo-footer-logo {
    display: inline-block;
    text-decoration: none !important;
    margin-bottom: 4px;
    line-height: 1;
}
/* Logo image in footer */
.kf-logo-img {
    max-height: 60px;
    width: auto;
    display: block;
    filter: none; /* Show original logo colors */
    transition: opacity 0.2s;
}
.kidzo-footer-logo:hover .kf-logo-img {
    opacity: 0.85;
}
/* Fallback text logo (hidden when image loads) */
.kf-logo-kidzo {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.kf-logo-smile {
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}
.kf-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    margin: 0 0 12px;
    font-style: italic;
}
.kf-about {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0 0 18px;
}

/* Social icons */
.kf-social {
    display: flex;
    align-items: center;
    gap: 8px;
}
.kf-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.kf-social-icon:hover {
    background: #ff6b00;
    transform: translateY(-2px);
}

/* ── Column titles ── */
.kf-col-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

/* ── Link lists ── */
.kf-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.kf-links li a {
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    font-size: 0.84rem;
    transition: color 0.2s;
    display: inline-block;
}
.kf-links li a:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

/* ── Contact list ── */
.kf-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.kf-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 0.83rem;
    line-height: 1.5;
}
.kf-contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255,255,255,0.5);
    display: flex;
}
.kf-contact-list li a {
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.kf-contact-list li a:hover {
    color: #ffffff !important;
}

/* ── Payment badges ── */
.kf-payment-badges {
    margin-bottom: 16px;
}
.kf-payment-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.kf-pay-badge {
    background: #ffffff;
    border-radius: 6px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 40px;
}
.kf-pay-visa {
    font-size: 0.75rem;
    font-weight: 900;
    color: #1a1f71;
    letter-spacing: 0.05em;
    font-style: italic;
}
.kf-pay-mc {
    padding: 2px 4px;
}
.kf-pay-upi {
    font-size: 0.72rem;
    font-weight: 800;
    color: #097939;
    letter-spacing: 0.05em;
}
.kf-pay-rzp {
    padding: 2px 6px;
    min-width: 70px;
}

/* ── Trust badges ── */
.kf-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.kf-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.kf-trust-item div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.kf-trust-item strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}
.kf-trust-item small {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    display: block;
}

/* ── Bottom bar ── */
.kidzo-footer-bottom {
    padding: 14px 0;
    background: rgba(0,0,0,0.2);
}
.kidzo-footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.kf-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin: 0;
}
.kf-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.kf-bottom-links a {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.8rem;
    text-decoration: none !important;
    transition: color 0.2s;
}
.kf-bottom-links a:hover {
    color: #ffffff !important;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .kidzo-footer-grid { grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr 1.1fr; gap: 24px; }
}
@media (max-width: 991px) {
    .kidzo-footer-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .kidzo-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .kidzo-footer-main { padding: 32px 0 28px; }
    .kidzo-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .kidzo-footer-brand { grid-column: 1 / -1; }
    .kidzo-footer-bottom .container { flex-direction: column; text-align: center; }
    .kf-bottom-links { justify-content: center; gap: 14px; }
}
@media (max-width: 480px) {
    .kidzo-footer-grid { grid-template-columns: 1fr; }
}

/* =============================================
   KHEL KHILONE HUB — LOGO IMAGE STYLES
   ============================================= */

/* Header logo image */
.kidzo-header .logo-wrapper .custom-logo,
.kidzo-header .logo-wrapper img.custom-logo {
    max-height: 70px !important;
    width: auto !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* Footer logo image */
.kf-logo-img {
    max-height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
    /* Keep original logo colors in footer */
    filter: none;
    transition: opacity 0.2s;
}
.kidzo-footer-logo:hover .kf-logo-img {
    opacity: 0.85;
}

/* If logo already has white/light colors, remove filter */
/* Uncomment below if logo looks wrong:
.kf-logo-img { filter: none; }
*/

/* =============================================
   KIDZO INSTAGRAM FEED SECTION
   ============================================= */

.kidzo-insta-section {
    background: #ffffff;
    padding: 36px 0 40px;
    line-height: normal;
}

/* --- Follow button (header right) --- */
.kidzo-insta-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff9a3c 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 50px;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(255,107,0,0.30);
}
.kidzo-insta-follow-btn strong {
    font-weight: 700;
}
.kidzo-insta-follow-btn:hover {
    background: linear-gradient(135deg, #201f7e 0%, #3a39b0 100%);
    box-shadow: 0 4px 16px rgba(32,31,126,0.30);
    transform: translateY(-1px);
    color: #ffffff !important;
}
.kidzo-insta-follow-btn svg {
    flex-shrink: 0;
}

/* --- Photo Grid --- */
.kidzo-insta-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

/* Each photo item */
.kidzo-insta-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    text-decoration: none !important;
}
.kidzo-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.kidzo-insta-item:hover img {
    transform: scale(1.08);
}

/* Hover overlay */
.kidzo-insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 107, 0, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.kidzo-insta-item:hover .kidzo-insta-overlay {
    opacity: 1;
}
.kidzo-insta-overlay span {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* --- Bottom CTA --- */
.kidzo-insta-cta {
    text-align: center;
    margin-top: 8px;
}
.kidzo-insta-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #ff6b00;
    color: #ff6b00 !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 50px;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}
.kidzo-insta-cta-btn:hover {
    background: #ff6b00;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(255,107,0,0.30);
    transform: translateY(-1px);
}
.kidzo-insta-cta-btn svg {
    flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
    .kidzo-insta-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 767px) {
    .kidzo-insta-section { padding: 24px 0 28px; }
    .kidzo-insta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .kidzo-insta-follow-btn {
        font-size: 0.78rem;
        padding: 7px 12px;
    }
}
@media (max-width: 480px) {
    .kidzo-insta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}
