/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

/* style.css */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    background-color: #fff !important;
}

.navbar-brand img {
    height: 30px; /* Adjust to match Bonami logo scale */
}

/* Bonami uses a specific search bar style */
.header-search-input {
    border-radius: 0;
    border: 1px solid #e0e0e0;
    background-color: #f8f8f8;
}


/* Remove borders and shadows for the Bonami look */
.card.product-card {
    border: none !important;
    text-align: center;
}

.woocommerce-loop-product__title {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-weight: 700;
    color: #000;
}

/* Custom Add to Cart Button */
.add_to_cart_button {
    border-radius: 0 !important;
    background: #000 !important;
    color: #fff !important;
    border: none;
    padding: 10px 20px;
    font-size: 12px;
}



/* Remove Bootscore default card styling for products */
.product-card {
    border: none !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

/* Bonami Typography for Product Titles */
.woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333;
    margin-top: 15px;
}

/* Center and style the price */
.price {
    font-size: 16px !important;
    color: #000 !important;
    display: block !important;
    margin-bottom: 10px;
}

/* Create a 'Quick Add' button that only shows on hover */
.product-card .add_to_cart_button {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    width: 100%;
    border-radius: 0;
}

.product-card:hover .add_to_cart_button {
    opacity: 1;
    transform: translateY(0);
}

/* Fullscreen Search Overlay appearance */
#searchform .form-control {
    border: none;
    border-bottom: 2px solid #000;
    font-size: 2rem;
    border-radius: 0;
}

@media (min-width: 992px) {
    #secondary {
        position: sticky;
        top: 100px;
        height: calc(100vh - 100px);
        overflow-y: auto;
    }
}