/*
Theme Name: Botiga Child
Theme URI: https://athemes.com/theme/botiga/
Description: Child theme for Botiga
Author: Your Name
Template: botiga
Version: 1.0
*/

/* Your custom CSS starts below */




.hero-section .swiper-slide {
    position: relative;
}

.hero-section .swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 38%);
}

.hero-section .swiper-slide-inner {
    position: relative;
    z-index: 5;
}

.hero-section .swiper-slide-contents {
    position: relative;
    z-index: 10;
}
.category-row .product-category{
    border: 0 !important;
}
.category-row .product-category img{
    height: 210px;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.category-row .product-category h2{
    margin: 20px 0;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #000 !important;
}
.merchant-theme-botiga ul.products.columns-4 li.product .loop-button-wrap .button, .merchant-theme-botiga ul.products.columns-5 li.product .loop-button-wrap .button, .merchant-theme-botiga ul.products.columns-6 li.product .loop-button-wrap .button, .merchant-theme-botiga ul.wc-block-grid__products.columns-4 li.product .loop-button-wrap .button, .merchant-theme-botiga ul.wc-block-grid__products.columns-5 li.product .loop-button-wrap .button, .merchant-theme-botiga ul.wc-block-grid__products.columns-6 li.product .loop-button-wrap .button {
    width: fit-content !important;
}
footer .bhfb-row.bhfb-cols-layout-bigleft.bhfb-cols-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
}
footer ul#menu-footer li a {
    color: #fff !important;
}
footer a {
    color: #fff !important;
}

footer .widget-title{
    color: #fff !important;
}

footer .social-profile a i{
    color: #fff !important;
}
footer .social-profile a svg {
    fill: #fff !important;
}

footer p{
    color: #fff !important;
}
footer .bhfb-below_footer_row{
    background-color: #001B38 !important;
}
footer .bhfb-below_footer_row div{
    color: #fff !important;
    font-size: 14px !important;
}
.woocommerce-loop-product__link img{
    height: 320px !important;
    object-fit: cover !important;
    width: 100%;
}
.woocommerce-product-gallery__wrapper img{
    height: 600px !important;
    object-fit: cover !important;
    width: 100%;
}
.entry-summary .shopengine_add_to_list_action{
    background: transparent;
    border: 1px solid #b7b7b7;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.entry-summary .cart,.woocommerce-variation-add-to-cart{
    gap: 16px;
}
table.variations {
    margin-bottom: 10px;
}
/* ul.wc-block-grid__products li.wc-block-grid__product, ul.wc-block-grid__products li.product, ul.products li.wc-block-grid__product, ul.products li.product {
    padding-top: 0 !important;
} */
.blog-section .elementor-post{
    min-width: 100%;
    border: 1px solid #cccccc82;
    border-radius: 16px;
}
.blog-section .elementor-post .elementor-post__text{
    padding: 0 20px 20px 20px;
}
.elementor-post__title, .elementor-widget-archive-posts .elementor-post__title a{
    color: #000 !important;
    font-size: 1.125rem !important;
    font-weight: 500 !important;
}
.elementor-widget-archive-posts .elementor-post__meta-data{
    margin-top: 10px;
}
.bhfb-main_header_row {
    border: 0;
    background-color: #001B38;
    color: #fff;
}
.bhfb .main-navigation a.botiga-dropdown-link{
    color: #fff !important;
}
.bhfb-component-woo_icons .header-item svg:not(.stroke-based) {
    fill: #ffffff;
}
.bhfb-component-search .header-search svg{
    fill: #ffffff;
}
.sticky-header-active .bhfb-component-search .header-search svg{
    fill: #fff;
}
.ws-svg-icon svg:not(.stroke-based){
    fill: #fff;
}
.sticky-header-active .bhfb-component-woo_icons .header-item svg:not(.stroke-based){
    fill: #fff;
}
/* .custom-logo-link img {
    filter: brightness(0) invert(1);
} */
.bhfb.bhfb-mobile_offcanvas .main-navigation a.botiga-dropdown-link{
    color: #000 !important;
}
.bhfb-mobile_offcanvas .mobile-menu-close svg{
    fill: #000;
}
.elementor-widget-archive-posts .elementor-post__read-more{
    color: #000 !important;
    font-size: 16px;
}
.bhfb-component-search .header-search:hover svg{
    fill: #fff;
}
.footer-widget img{
    /* filter: brightness(0) invert(1); */
    max-width: 201px;
    margin-bottom: -20px;
    display: block;
}
div.wpforms-container-full .wpforms-form button[type=submit]{
    background-color: #001B38;
    color: #fff;
    border: 0;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover{
    background-color: #001B38;
    color: #fff;
    border: 0;
}
.wc-block-grid__products .wc-block-grid__product-image img {
    width: 100%;
    height: 320px !important;
    object-fit: cover !important;
}
.entry-summary .cart, .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
}
@media(max-width:991px){
    footer .bhfb-row.bhfb-cols-layout-bigleft.bhfb-cols-4 {
        grid-template-columns: 1fr 1fr !important;
    }
    .category-row .product-category img {
        height: 150px;
        width: 150px;
        margin: 0 auto;
    }
}

@media(max-width:767px){
    .product-gallery-summary  form.cart {
        display: flex;
        align-items: center;
    }   
    .single_variation_wrap{
        width: 100% !important;
    }
}

@media (max-width: 575px) {
    .bhfb-main_header_row {
        min-height: 80px;
    }
    footer .bhfb-row.bhfb-cols-layout-bigleft.bhfb-cols-4 {
        grid-template-columns: 1fr !important;
    }
    .bhfb-main_footer_row {
        min-height: auto;
        padding: 50px 0;
    }
    .bhfb-below_footer_row {
        min-height: 54px;
    }
    .elementor-391 .elementor-element.elementor-element-f420cb6.elementor-wc-products  ul.products {
        grid-row-gap: 0 !important;
    }
    div#site-header-cart{
        display: none !important;
    }
}

/* Rent Customization v2 - Premium UI */
.sports-store-rent-wrapper {
    width: 100%;
    clear: both;
    display: block;
    margin: 25px 0;
    font-family: inherit;
}

/* Segmented Control for Buy/Rent */
.rent-purchase-type-selector {
    display: flex;
    overflow: hidden;
    background-color: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 25px;
    padding: 6px;
    width: 100%;
}

.rent-purchase-type-selector .rent-radio-label {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.rent-purchase-type-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rent-purchase-type-selector span {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.rent-purchase-type-selector input[type="radio"]:checked + span {
    background-color: #001B38;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.rent-purchase-type-selector input[type="radio"]:hover:not(:checked) + span {
    background-color: #e2e8f0;
    color: #334155;
}

/* Date Range Inputs */
.rent-fields-wrapper {
    animation: fadeIn 0.4s ease-in-out;
    background: #ffffff;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.rent-date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.rent-date-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.rent-date-field input[type="date"] {
    width: 100%;
    padding: 14px 15px;
    font-size: 15px;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.rent-date-field input[type="date"]:hover {
    border-color: #94a3b8;
}

.rent-date-field input[type="date"]:focus {
    border-color: #001B38;
    box-shadow: 0 0 0 3px rgba(0,27,56,0.1);
    background-color: #ffffff;
}

/* Summary Section */
.rent-summary {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 20px;
}

.rent-summary p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 15px;
    color: #475569;
}

.rent-summary p strong {
    color: #1e293b;
    font-weight: 700;
}

.rent-total-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #cbd5e1;
}

.rent-total-box .rent-total-cost-line {
    font-size: 18px;
    font-weight: 800;
    color: #001B38;
    margin-top: 12px;
}

.rent-total-box .rent-total-cost-line .rent-deposit-cost {
    color: #e11d48; /* Highlighted total color */
}

/* Responsive */
@media (max-width: 575px) {
    .rent-date-inputs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .rent-purchase-type-selector span {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .rent-fields-wrapper {
        padding: 16px;
    }
}
/* ============================================================== */
/* Premium Header Navigation - Animated Hover Effect */
/* ============================================================== */
.site-header .menu > li > a,
.bhfb-header .menu > li > a,
.main-navigation .menu > li > a,
header[class*="header"] .menu > li > a {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease !important;
    display: inline-block;
}

/* The animated underline (Center Out) */
.site-header .menu > li > a::before,
.bhfb-header .menu > li > a::before,
.main-navigation .menu > li > a::before,
header[class*="header"] .menu > li > a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -6px;
    left: 50%;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 4px;
    opacity: 0;
}

/* Hover State */
.site-header .menu > li:hover > a,
.bhfb-header .menu > li:hover > a,
.main-navigation .menu > li:hover > a,
header[class*="header"] .menu > li:hover > a {
    transform: translateY(-2px);
    text-shadow: 0 4px 10px rgba(255, 255, 255, 0.4);
}

.site-header .menu > li:hover > a::before,
.bhfb-header .menu > li:hover > a::before,
.main-navigation .menu > li:hover > a::before,
header[class*="header"] .menu > li:hover > a::before {
    width: 80%;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* Active / Current Page State */
.site-header .menu > li.current-menu-item > a,
.bhfb-header .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-item > a,
header[class*="header"] .menu > li.current-menu-item > a {
    font-weight: 700;
}

.site-header .menu > li.current-menu-item > a::before,
.bhfb-header .menu > li.current-menu-item > a::before,
.main-navigation .menu > li.current-menu-item > a::before,
header[class*="header"] .menu > li.current-menu-item > a::before {
    width: 100%;
    opacity: 1;
    background-color: #ff4757; /* Matches standard UI pop red (like the cart badge) */
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.5);
}

/* Make Right Icons Interactive */
header svg, header .botiga-icon {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease !important;
}

header a:hover svg, header a:hover .botiga-icon {
    transform: scale(1.15) translateY(-3px);
    filter: drop-shadow(0px 4px 8px rgba(255,255,255,0.4));
}

/* Premium Toast Notification */
.sports-store-toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999999;
    transform: translateX(120%) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 6px solid #ff4757;
    min-width: 320px;
    max-width: 450px;
    pointer-events: none;
}

.sports-store-toast.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.sports-store-toast .toast-icon {
    background: #fff1f2;
    color: #ff4757;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.2);
}

.sports-store-toast .toast-message {
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
}
