/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.3.9.74
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/
.gift-cards-list button.ywgc-amount-buttons{
	background: #7ba4b8 !important;
	color: #fff !important;
	width:22% !important;
	max-width:25% !important;
	border-radius:5px !important;
	margin:3px !important;
	height:3.5em !important;
	line-height:3.5em !important;
	transition: all 0.2s !important;
}
.gift-cards-list .ywgc-amount-buttons.selected_button, .gift-cards-list .ywgc-amount-buttons:hover{
	background: #2f4554 !important;
	color: #fff !important;
}

.ywgc_delivery_info_title, .gift-card-content-editor{
	display:none !important;
}
.preorder-notice-banner{
	background: #f5f5f5;
	padding:20px;
	border: 2px solid #ef0000;
	border-radius: 8px;
	margin: 1em 0em
}
.woocommerce-checkout .shipping-rates-banner{
	font-size:16px;
}
@media(max-width:991px){
	.woocommerce-checkout .shipping-rates-banner{
	font-size:14px;
}
}
.shipping-rates-banner{
	border: 1px solid #dbdbdb;
	border-radius: 5px;
	padding: 15px 15px;
	text-align: center;
	font-weight: 600;
	background: #fff;
	color: #000;
	margin-bottom: 1rem;
}
.button, input[type="button"], input[type="reset"], input[type="submit"] {
border-color: #2f4554;
background-color: #2f4554;
}

.checkout span.optional{
    display: none !important;
}
.payment_box.payment_method_opay ul{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
}
.payment_box.payment_method_opay ul li{
    width: 100% !important;
    border-bottom: none !important;
}
.shoptimizer-modal--container .wpcf7-form p:has(> input[type="submit"]){
    text-align: center;
}
.shoptimizer-modal--container .wpcf7-form .wpcf7-spinner{
    display: none;
}
.modal-popup-text{
	text-align:center;
	margin-bottom:1em;
}
.wpcf7 input[type="email"], .wpcf7 input[type="text"], .wpcf7 textarea{
	width:100%;
}
.wpcf7 input[type="submit"]{
	width:50%;
}
.shoptimizer-cart a.cart-contents .shoptimizer-cart-icon .mini-count {
    top: -15px !important;
    left: -9px !important;
    font-size: 10px !important;
    font-family: 'Nunito Sans' !important;
}
.single-product .product-details-wrapper .cg-thumb-swiper li img, .single-product .product-details-wrapper .cg-thumb-swiper li picture{
	height:120px;
	object-fit:cover;
	object-position:center;
    
}
footer.copyright .widget:last-child{
    text-align:center !important;
}
.menu-primary-menu-container > ul > li > a, .shoptimizer-cart .cart-contents, .menu-primary-menu-container > ul > li.nolink > span{
    font-weight: 700 !important;
}
@media(min-width:992px){
    .menu-primary-menu-container > ul > li.menu-button > a span {
        font-size: 17px !important;
    }
    ul.products li.product img {
        height: 250px !important;
        object-fit: contain !important;
        object-position: top;
    }
}
@media(max-width:991px){
    .payment_box.payment_method_opay ul{
        grid-template-columns: repeat(2, 1fr);
    }
    .wpcf7 input[type="submit"]{
        width:100%;
    }
	.single-product .product-details-wrapper .cg-thumb-swiper li img, .single-product .product-details-wrapper .cg-thumb-swiper li picture{
		height:90px;
	}
    .mobile-extra .heading, .mobile-extra h2, .mobile-extra h4 {
        text-transform: none !important;
    }
    button.mobile-search-toggle, .shoptimizer-myaccount{
        padding: 0px 5px;
    }
}
tr.woocommerce-product-attributes-item.woocommerce-product-attributes-item--weight {
    display: none;
}

.wpcot-tips .wpcot-tip .wpcot-tip-values .wpcot-tip-value, .wpcot-tips .wpcot-tip .wpcot-tip-values .wpcot-tip-value-custom {
	border: none;
	padding: 0px;
}

/* Facetwp */
.facetwp-facet {
    margin-bottom: 5px !important;
}

.facetwp-facet .noUi-horizontal {
    height: 12px !important;
}

.facetwp-facet .facetwp-slider-reset {
    background-color: #2f4554 !important;
    box-shadow: unset !important;
    margin-top: 5px !important;
    width: 100% !important;
    padding: 4px !important;
	font-size: clamp(0.75rem, 0.623rem + 0.4065vw, 0.875rem);
	height: 40px;
}

.facetwp-facet .widget-title,
.facetwp-facet .facetwp-link{
	font-family: 'Tenor Sans' !important;
}

.facetwp-facet .noUi-connect {
    background: #2f4554 !important;
}

.facetwp-facet.facetwp-facet-new_facet.facetwp-type-pager {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 0;
}

button.facetwp-load-more {
    background-color: #2f4554;
    /* position: absolute; */
    z-index: 1;
    /* bottom: 0; */
    width: calc(30% - 30px);
    height: 40px;
    padding: 0;
    border-radius: 4px;
    /* opacity: 0; */
    font-size: clamp(0.75rem, 0.623rem + 0.4065vw, 0.875rem);
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    transition: 0.1s;
    color: white;
}

@media (max-width: 992px) {
    button.facetwp-load-more {
        width: calc(60% - 30px);
    }
}

@media (min-width: 993px) {
    #secondary {
        width: 20% !important;
    }
}

#secondary .widget .widget-title, .widget .widgettitle, 
#secondary .widget.widget_block h2 {
	font-size: 15px;
    text-transform: none !important;
}

#secondary .facetwp-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
	font-size: 14px !important;
}

#secondary  span.facetwp-slider-label {
    text-align: center !important;
    display: block !important; 
    width: 100% !important;
}

/* p.woocommerce-result-count {
    display: none;
} */

.product-out-of-stock {
    color: #fff;
    background: #444;
}

.wpcot-tips .wpcot-tip .wpcot-tip-custom .wpcot-tip-custom-form input[type=button] {
    background-color: #3a5463;
}

.cart-contents .amount {
    display: none;
}

.wpcot-tips.wpcot-btn-rounded .wpcot-tip-value,
.wpcot-tips.wpcot-btn-rounded .wpcot-tip-value-custom,
.wpcot-tips.wpcot-btn-rounded .wpcot-tip-custom-form-inner {
    border-radius: 4px !important;
}

.wpcot-tips.wpcot-btn-rounded .wpcot-tip-value>span,
.wpcot-tips.wpcot-btn-rounded .wpcot-tip-value input,
.wpcot-tips.wpcot-btn-rounded .wpcot-tip-value-custom>span,
.wpcot-tips.wpcot-btn-rounded .wpcot-tip-value-custom input,
.wpcot-tips.wpcot-btn-rounded .wpcot-tip-custom-form-inner>span,
.wpcot-tips.wpcot-btn-rounded .wpcot-tip-custom-form-inner input {
    border-radius: 4px !important;
}

.wpced .wpced-inner {
    padding: 5px 0px;
    color: #111;
}


/* .site-header svg, 
.header-4 svg {
    fill: none !important;
}
 */
.product-details-wrapper .product-label,
.cart .single_add_to_cart_button,
.call-back-feature button {
    border-radius: 5px !important;
}

.product-brand-attribute .brand-value {
    font-style: italic;
}


.site-header .shoptimizer-myaccount svg,
.header-4 .shoptimizer-myaccount svg {
    color: #444444 !important;
    width: 18px !important;
    height: 18px !important;
}

.site-header .shoptimizer-cart-icon svg,
.header-4 .shoptimizer-cart-icon svg {
    fill: none !important;
    color: #444444 !important;
    stroke: #444444 !important;
}

@media (max-width: 992px) {
    .mobile-search-toggle.with-myaccount-icon svg {
        color: #444444 !important;
        stroke: #444444 !important;
        width: 18px !important;
        height: 18px !important;
    }

    .mobile-search-toggle.with-myaccount-icon {
        right: 95px !important;
        top: -1px !important;
    }
    .shoptimizer-myaccount{
        right:62px !important;
    }
}


#page table.cart.woocommerce-cart-form__contents td.product-price {
    display: table-cell;
}

#page table.cart.woocommerce-cart-form__contents td.product-price del {
    opacity: 0.5;
    font-size: 13px;
    margin-right: 3px;
}

/* search bar */

.widget_product_search .relevanssi-live-search-results {
    top: unset !important;
    left: unset !important;
}

.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result-status,
.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result {
    display: none;
}

.widget_product_search .relevanssi-live-search-results .ajax-results .relevanssi-live-search-result-status,
.widget_product_search .relevanssi-live-search-results .ajax-results .relevanssi-live-search-result {
    display: flex;
}

.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result {
    flex-direction: row;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    padding-top: 12px;
    border-bottom: 1px solid #d6d6d6;
}

.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result.view-all {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    border-bottom: unset !important;
}

.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result a {
    font-size: 13px;
    line-height: 1.4;
    font-weight: bold;
    color: #323232;
    white-space: unset !important;
    overflow: inherit !important;
}

.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result .price {
    color: #ea8ca7 !important;
    font-weight: 600;
    font-size: 13px;
    display: block;
}

.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result .image-search-div {
    width: 17%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result .content-search-div {
    width: 80%;
}

.widget_product_search .relevanssi-live-search-results .ajax-results .relevanssi-live-search-result img {
    max-width: 80px;
    max-height: 50px;
}

.widget_product_search .relevanssi-live-search-results #search-click-view-all-results {
    cursor: pointer;
    display: block;
    height: 40px;
    line-height: 40px;
    background: #373636;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: .02em;
    cursor: pointer;
    color: white;
    font-weight: 600;
    padding: 0;
    padding-bottom: 5px;

}

.widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result.view-all {
    display: none !important;
}

.widget_product_search .relevanssi-live-search-results .ajax-results .relevanssi-live-search-result.view-all {
    display: block !important;
}

.rlv-has-spinner {
    border: 10px solid #373636 !important;
}

.rlv-has-spinner::after {
    background: #ea8ca7 !important;
}

.relevanssi-live-search-no-results {
    padding-top: 10px !important;
}

@media (max-width: 770px) {
    .widget_product_search .relevanssi-live-search-results .ajax-results .relevanssi-live-search-result img {
        max-width: 60px !important;
        max-height: 30px !important;
    }

    .widget_product_search .relevanssi-live-search-results .relevanssi-live-search-result .image-search-div {
        width: 22% !important;
        margin-right: 5px !important;
    }
}

.widget_product_search .relevanssi-live-search-result.product-category {
    width: 100%;
    color: #323232;
    display: flex;
    padding: 10px;
    transition: .2s all;
    font-size: 13px;
    line-height: 1.4;
    width: 100%;
    align-items: center;
}

.widget_product_search .product-category-right {
    text-transform: uppercase;
    color: #999;
    font-size: 11px;
    margin-left: auto;
    padding-left: 10px;
}

.relevanssi-live-search-results[aria-expanded="false"] {
    overflow-x: hidden;
    overflow-y: hidden;
    overflow: hidden;
}

.relevanssi-live-search-results[aria-expanded="false"]:before {
    content: "";
    position: absolute;
    left: 42%;
    top: 20%;
    animation: spin 1s linear infinite;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 6px solid #ddd;
    border-top-color: #373636;
}

.relevanssi-live-search-result-status p {
    width: 100%;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Backorder Notice Styling */
.woocommerce-backorder-notice {
    background: #f7f5f0;
    border-left: 4px solid #2f4554;
    border-radius: 4px;
    padding: 16px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.woocommerce-backorder-notice .backorder-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.woocommerce-backorder-notice .backorder-icon {
    color: #2f4554;
    flex-shrink: 0;
    margin-top: 2px;
}

.woocommerce-backorder-notice .backorder-text {
    flex: 1;
}

.woocommerce-backorder-notice .backorder-title {
    margin: 0 0 6px 0;
    color: #856404;
    font-size: 16px;
}

.woocommerce-backorder-notice .backorder-description {
    margin: 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .woocommerce-backorder-notice {
        padding: 12px;
    }

    .woocommerce-backorder-notice .backorder-title {
        font-size: 14px;
    }

    .woocommerce-backorder-notice .backorder-description {
        font-size: 13px;
    }
}