/*!
Theme Name: Hostinger AI theme
Author: Hostinger
Author URI: https://hostinger.com
Details URI: https://hostinger.com
Description: Hostinger AI theme built with SEO and mobile responsiveness in mind, this theme ensures optimal performance and a better online presence.
Version: 2.0.8
Tested up to: 6.9
Requires at least: 5.6
Requires PHP: 8.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hostinger-ai-theme
Tags: ai-theme
*/

/* === SOLEROOT GLOBAL MOBILE & DTC OVERRIDES === */
@media (max-width: 768px) {
    .menu-item,
    .wp-block-navigation-item,
    .soleroot-mega-nav,
    .soleroot-header__nav {
        display: none !important;
    }
    .soleroot-header__main {
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
        padding: 0 12px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .soleroot-mobile-toggle {
        display: inline-flex !important;
        order: 1 !important;
    }
    .soleroot-header__logo-link {
        order: 2 !important;
        margin-right: auto !important;
        min-height: 46px !important;
        height: 46px !important;
        max-height: 50px !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .soleroot-header__logo-img {
        min-height: 46px !important;
        height: 46px !important;
        max-height: 48px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    .soleroot-header__right {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        flex-shrink: 0 !important;
    }
    .soleroot-header__account-link {
        display: none !important;
    }
}

/* Category Filter Pills Horizontal Carousel */
.sr-archive-pills,
.soleroot-pillar-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    white-space: nowrap !important;
    padding: 10px 16px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sr-archive-pills::-webkit-scrollbar,
.soleroot-pillar-bar::-webkit-scrollbar {
    display: none;
}
.sr-archive-pill,
.soleroot-pillar-pill {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    transition: all 0.2s ease-in-out !important;
}

/* Force Size Pills & Price/Shipping Badges to Nowrap */
.sr-size-chip,
.sr-size-swatch-btn,
.soleroot-product-card__ship-tag,
.soleroot-product-card__price,
.sr-pdp-save-pill,
.sr-pdp-badge,
.soleroot-badge {
    white-space: nowrap !important;
}
/* Single Product Gallery Thumbnails Clean Horizontal Strip */
.woocommerce div.product div.images .flex-control-thumbs,
ol.flex-control-thumbs {
    list-style: none !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    padding: 12px 0 0 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
}
.woocommerce div.product div.images .flex-control-thumbs li,
ol.flex-control-thumbs li {
    list-style: none !important;
    width: 68px !important;
    flex: 0 0 68px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce div.product div.images .flex-control-thumbs li img,
ol.flex-control-thumbs li img {
    border-radius: 8px !important;
    width: 68px !important;
    height: 68px !important;
    object-fit: cover !important;
}
