/*!
Theme Name: Botanica Child Theme
Theme URI: https://botanica.risingbamboo.com/
Author: Karj
Description: Customized functionality based on Botanica theme.
Version: 1.0.9
Template: botanica
Text Domain: botanica-child
*/

.aspect-square {
    aspect-ratio: 1/1;
}
.w-screen {
    width: 100vw;
} 
.h-screen {
    height: 100vh;
}
#_mobile_search .rbb-search-form:before {
    content: "";
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: rbb-font, serif !important;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    position: absolute;
    z-index: 21;
    font-size: 2rem;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
}
#_mobile_search .input-group .input-search {
    text-align: left;
    padding: 0 3rem;
}
.header-mobile {
    z-index: 20;
}
.animate-pulse {
    background-color: #e0e0e0;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}
@keyframes skeleton-pulse {
    0% {
        background-color: #e0e0e0;
    }
    50% {
        background-color: #f5f5f5; 
    }
    100% {
        background-color: #e0e0e0;
    }
}
.rbb-button:hover {
    background-color: var(--rbb-general-secondary-color);
}
.rbb-search-result .rbb-spinner:before {
    display: none;
}
.skeleton-loader-item-img {
    width: 100%; 
}
.invisible.rbb-spinner {
    display: none;
} 
#_mobile_search .rbb_results {
    height: calc(100% - 100px);
    margin-top: 0;
    opacity: 1;
    visibility: inherit;
}
#rbb-search-content.style-2 {
    z-index: 11 !important;
    max-height: 700px;
    transform: translateY(-100%);
}
#rbb-search-content.style-2.active {
    transform: translateY(0);
}

.rbb_results:not(.active) .search-view-more {
    display: none !important;
}
#rbb-search-content.style-2 .rbb-search-form .input-search::placeholder {
    font-size: inherit !important;
}
#_desktop_search form {
    margin-top: 65px;
}
.rbb-product-search-content.active>span {
    opacity: 1;
    color: var(--rbb-search-icon-color);
    transition: all 0.3s linear;
}
.searchFormActive .rbb-product-search-icon:nth-child(1){
    opacity: 0;
}
.searchFormActive .rbb-product-search-icon:nth-child(2){
    opacity: 1;
}
.rbb-product-search:hover .rbb-product-search-content span {
    color: white;
}
@media (min-width: 768px) and (max-width: 1023px) {
    #rbb-default-header .rbb-header-sticky {
        background-color: var(--rbb-header-background-color);
    }
    #rbb-default-header {
        position: relative;
    }

}

@media (max-width: 767px) {
    .product-search-mobile .input-group .input-search::placeholder {
        font-size: inherit !important;
    }
}