/*
 Theme Name:   Bfres Child
 Theme URI:    https://wordpress.com
 Description:  This is a child theme for Bfres
 Author:       Goalthemes
 Author URI:   #
 Template:     bfres
 Version:      1.0.0
 Text Domain:  bfres-child
*/

/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
body {
	  font-family: "DM Sans", sans-serif;
}
.goal-header {
    display: none !important;
}
.goal-copyright {
    display: none;
}
.custom-shop {
    position: relative;
    min-height: 100vh;
}

.container {
    max-width:  90% !important;
}
.pull-left.orderby-wrapper {
    display: none;
}
.display-mode.pull-right {
    display: none;
}
div#goal-shop-products-wrapper {
    padding-top: 80px;
}

section.custom-shop {
    padding: 100px 0 60px 0;
    position: relative;
}
.details-product .information .woosw-btn:before {
	display:none;
}
/* Filter Toggle Button - Fixed position */
.filter-toggle-btn {
    display: flex;
    z-index: 1000;
    align-items: center;
    gap: 10px;
    padding: 4px 9px;
    background: #FFFFD6;
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
    background: #FFFFD6;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.filter-icon {
    font-size: 18px;
}

.active-filters-count {
    background: #FFFFD6;
    color:rgb(0, 0, 0);
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 5px;
}

.shop-container {
    display: flex;
    gap: 30px;
    padding: 80px 0;
    position: relative;
}

/* Sidebar Styles - Opens from RIGHT side */
.shop-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100vh;
    background: rgb(14,13,11);
    padding: 25px;
    box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: block;
}

.shop-sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.close-sidebar-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 35px;
    height: 35px;
    line-height: 1;
    transition: color 0.3s;
}

.close-sidebar-btn:hover {
    color: #000;
}

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Product Modal */
.product-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    right: 1px;
    top: 1px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #FFFFD6;
    z-index: 3;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    background: transparent;
    border-radius: 50%;
    border: 1px solid #FFFFD6;
}

.modal-close:hover {
    color: #FFFFD6;
}

#modal-product-details {
    padding: 30px;
	background: #292A2B
}

.modal-product-img {
    text-align: center;
    margin-bottom: 20px;
}

.modal-product-img img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
}

.modal-product-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 0px;
    color: rgb(255, 255, 255);
}

.modal-product-price {
    font-size: 24px;
    color: #FFFFD6;
    font-weight: 600;
    margin-bottom: 0px;
}

.modal-product-description {
    color:rgb(167,167,167);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.quantity-label {
    font-size: 16px;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

#product-quantity {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
}

.modal-add-to-order {
    width: 100%;
    padding: 15px;
    background: #FFFFD6;!important;
    color: #000 !important;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-add-to-order:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.total-price {
    font-size: 20px;
}

.filter-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color:#FFFFD6;
}

.filter-categories label,
.filter-attributes label {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #A7A7A7;
}

.filter-categories label:hover,
.filter-attributes label:hover {
    color: #FFFFD6;
}

.filter-categories label span,
.filter-attributes label span {
    color: #A7A7A7;
    font-size: 12px;
    margin-left: 5px;
}

.filter-price {
    padding: 10px 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: bold;
    color: #A7A7A7;
}

.filter-sort {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.clear-filters-btn {
    width: 100%;
    padding: 12px;
    background: #FFFFD6;
    color:rgb(0, 0, 0);;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}


.shop-products {
    flex: 1;
    width: 100%;
}

.product-card h3 {
    font-size: 21px;
    margin: 5px 0;
    color: rgb(255, 255, 255);
    font-weight: 400;
}

.product-card .price {
    font-size: 14px;
    background: transparent;
	 border: 1px solid rgb(255 255 255 / 10%);
	color: #ffffff;
    font-weight: 600;
    margin: 10px 0;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    grid-column: 1 / -1;
}
.elementor-33 .elementor-element.elementor-element-b532268 .btn-search {
    color: rgb(0, 0, 0) !important;
    background: #FFFFD6;
}
.pull-right i {
    color: #FFFFD6;
}
.top-wrapper-menu i {
    color: #FFFFD6;
}
span.total-minicart bdi {
    color: #FFFFD6;
}
.product-txt-box {
    padding: 5px 15px 15px 15px;
}
.product-description {
    color: rgb(167, 167, 167);
    font-size: 14px;
}
.goal-footer ul, .goal-footer li
 {
    cursor: pointer;
}
    .product-variations {
        margin: 10px 0;
        padding: 5px;
        background: #f9f9f9;
        border-radius: 8px;
    }
    
    .variation-field {
        margin-bottom: 15px;
    }
    
    .variation-field label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }
    
    .variation-select {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    
    .selected-variation-info {
        background: #e8f5e9;
        border-radius: 5px;
    }
    
    .variation-price-value {
        font-weight: bold;
        color: #4CAF50;
    }
    
    .quantity-selector {
        margin: 20px 0;
    }
    
    .quantity-label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
    }
    
    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    
    #product-quantity {
        width: 70px;
        text-align: center;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    
    .modal-product-total {
        font-size: 15px;
    }   
    .modal-add-to-order:hover:not(:disabled) {
        background: #FFFFD6;
    }
    
    .modal-add-to-order:disabled {
        background: #FFFFD6;
        cursor: not-allowed;
    }
.close-sidebar-btn {
    border-bottom: none !important;
}
.sidebar-header img {
    width: 100%;
    max-width: 150px;
}
.woosw-popup .woosw-items {
    background: #292A2B;
}
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-mid {
    background-color: #292A2B;
}
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot {
    background-color: #292A2B;
}
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner {
    display: none;
}
.woosw-item--name a {
    color: #FFFFD6;
}
.woosw-item--price {
    color: rgb(167, 167, 167);
}
.woosw-item--price {
    color: rgb(167, 167, 167);
}
.woosw-item--time {
    color: rgb(167, 167, 167);
}
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top {
    background-color: #292A2B;
}
.cart-main-content.media-body.media-middle a
 {
    color: #FFFFD6;
}
.cart-main-content.media-body.media-middle bdi {
    color: #FFFFD6;
}
.woosw-icon-2 {
    color: #FFFFD6;
    font-size: 25px;
}
.woosw-icon-8:before {
    font-size: 25px;
    color: #FFFFD6;
}
.widget_shopping_cart_content {
    background: #292A2B;
}
	.shopping_cart_content .total strong {
    color: #FFFFD6;
}
	.woocommerce-Price-amount.amount bdi {
    color: #FFFFD6;
	font-size: 18px;
}
	a.btn.btn-theme.btn-block.wc-forward.radius-5x {
    display: none;
}
.product-overlay {
    display: none;
}
.product-description a {
    color: #FFFFD6;
}
.add-cart .add_to_cart_button.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.product_type_simple {
    background-color: #FFFFD6;
    border: 1px solid #FFFFD6;
}
.add-cart a .text {
     color: rgb(0, 0, 0);;
}


.shopping_cart_content .cart_list .cart-main-content span.quantity {
    color: #FFFFD6 !important;
}
form.checkout.woocommerce-checkout {
    padding: 20px;
    background: #292A2B;
}
	.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border-color: #FFFFD5;
    background-color: rgb(14, 13, 12);
}
	.woocommerce-error:before, .woocommerce-info:before, .woocommerce-message:before {
    color: #FFFFD6;
}
	.woocommerce-info a {
    color: #FFFFD6;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: #292A2B;
}
	#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    color: rgb(167, 167, 167);
}
	.woocommerce-privacy-policy-text {
    color: rgb(167, 167, 167);
}
	.woocommerce-privacy-policy-text a {
    color: #FFFFD6;
}
	.woocommerce-billing-fields h3 {
    color: #FFFFD6;
}
	.woocommerce-shipping-fields h3
 {
    color: #FFFFD6;
}
	.woocommerce form .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper > * > label {
    color: rgb(167, 167, 167);
}
	label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox
 {
    color: rgb(167, 167, 167);
}
	.woocommerce form .form-row label {
    color: rgb(167, 167, 167);
}
.order-review h3 {
    color: #FFFFD6;
}
	#order_review .product-name {
    font-size: 14px;
    margin: 0;
    color: #FFFFD6;
}
	.product-name a {
    color: rgb(255, 255, 255);
}
	table.shop_table.woocommerce-checkout-review-order-table th {
    color: rgb(255, 255, 255);
}
.woocommerce form .form-row input.input-text {
        border-radius: 9px;
    }
.product-variations h4 {
    color: #FFFFD6;
}
.product-variations {
    background: #292A2B;
}
.buttons.clearfix a {
    background: #FFFFD6;
    border-color: #FFFFD6;
}
.buttons.clearfix a:hover {
    background: #FFFFD6;
    border-color: #FFFFD6;
}
.buttons .checkout {
    color: rgb(0, 0, 0) !important;
}
.woosw-item--name a:hover {
    color: #FFFFD6;
}
.woocommerce form .form-row .required {
    color: #FFFFD6;
}
.product-description a:hover {
    color: #FFFFD6;
}
.shopping_cart_content .cart_list .name a:hover {
    color: #FFFFD6;
}
/* price filter css */
.filter-price {
    position: relative;
    padding: 20px 0 30px;
    min-height: 50px;
}

.filter-price input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
}

.filter-price input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
    border: none;
}

.filter-price input[type="range"]::-moz-range-track {
    background: transparent;
    border: none;
}
/* thumb css */
.filter-price input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFD6;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.filter-price input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2c3e50;
    cursor: pointer;
    border: 2px solid white;
}

.filter-price::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 5px;
    background: #e0e0e0;
    border-radius: 2px;
    pointer-events: none;
    z-index: 0;
}

.price-range-fill {
    position: absolute;
    top: 8px;
    height: 5px;
    background: #FFFFD6;
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
    transition: left 0.1s ease, width 0.1s ease;
}

.price-values {
    text-align: center;
    margin-top: 35px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.price-values span {
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    color: #2c3e50;
}
/* single product page */
#wc-square-digital-wallet {
    display: none !important;
}
.details-product .goal-woocommerce-product-gallery-wrapper {
    border: none;
}
    .details-product .goal-woocommerce-product-gallery-wrapper .goal-woocommerce-product-gallery img {
        width: 100%;
        max-width: 500px;
        max-height: 500px;
    }
.woocommerce div.product .product_title {
    color: #FFFFD6;
}
.logo-side {
    max-width: 150px;
}



.dropdown-content {
    max-height: 400px;
    overflow-y: auto !important;
}

/* Scrollbar width */
.dropdown-content::-webkit-scrollbar {
    width: 4px;
}

/* Track (background) */
.dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0;
}

/* Scrollbar thumb */
.dropdown-content::-webkit-scrollbar-thumb {
    background: #FFFFD6;
    border-radius: 0;
}

/* Thumb on hover */
.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #e6e6b8;
}


.product-card {
    position: relative;
}
.product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
   border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 10px;
    position: relative;
}

/* Text section */
.card-data {
    flex: 1;
}

/* Image wrapper */
.card-image {
    width: 145px;
    height: 145px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.card-data p {
    font-size: 14px;
    line-height: 1.4;
}
.header-mobile {
    display: none;
}
.copy-bar {
    padding-top: 30px;
}
.copy-bar a {
    color: #FFFFD6;
	font-weight: 600;
}
body.light-theme .copy-bar a {
    color: #000000;
}
body.light-theme button.dessert-skip-btn {
	border: 1px solid #000000;
}
/* Responsive */
@media (max-width: 1441px) {
	.container {
    width: 95% !important;
}
.product-card img {
    height: 220px;
}
}
@media (max-width: 992px) {
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .shop-sidebar {
        width: 280px;
    }
    .goal-footer-mobile {
        display: none !important;
    }
    body.body-footer-mobile {
        padding-bottom: 0!important;
    }
}

@media (max-width: 768px) {

	   .container {
        max-width: 90%;
    }
	.shop-container {
     padding: 0 0; 
   
}
	.product-overlay {
    display: block;
}
   .filter-toggle-btn {
        bottom: 20px;
        right: 20px;
        padding: 3px 12px;
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-product-title {
        font-size: 15px;
    }
.header-mobile {
    padding: 12px 0;
    background: rgb(14, 13, 12) !important;
}
	.box-left i {
    color: #FFFFD6;
}
 .products-grid {
        grid-template-columns: 1fr;
	 gap:40px;
    }
	.product-card img {
    height: 160px;
    border-radius:  20px; 
}
       .product-img {
        position: relative;
        order: 2;
        width: 100%;
        max-width: 151px;
    }
 .product-overlay {
        position: absolute;
        bottom: -4px;
        left: 33px;
    }
.product-txt-box {
    padding: 0 15px 0 0px;
	width: 75%;
	 order: 1;
	margin-bottom:30px;
}
	.product-description a {
    color: #FFFFD6;
}
	.product-overlay .add_to_cart_button {
    background-color: #4caf50;
    color: #ffffff;
}
	.modal-close {
        right: 2px;
        top: 2px;
}
	.dropdown-menu.dropdown-menu-right {
    background: #292A2B;
}

	.product-variations {
    background: #292A2B;
}
	.product-variations h4
 {
    color: #FFFFD6;
	font-size: 16px;
}
	.box-left {
    display: none;
}
.woosw-popup {
    padding: 15px;
}
.clear-filters-btn {
    background: #FFFFD6;
    color: rgb(0, 0, 0);
}
	.clear-filters-btn:hover {
    background: #FFFFD6;
}
	.modal-product-description {
    font-size: 12px;
}
	.total-price {
    font-size: 16px;
}
	.product-overlay a.add_to_cart_button {
    background: #FFFFd6;
    color: rgb(0, 0, 0);
    border-color: #FFFFD6;
}
	.product-overlay a.add_to_cart_button:hover {
        background: #FFFFd6;
        color: rgb(0, 0, 0);
        border-color: #FFFFD6;
    }
	.modal-product-price {
    font-size: 20px;
}
	.product-modal {
    overflow: hidden;
    top: -15px;

}
	.modal-add-to-order {
    padding: 10px;
    font-size: 15px;
}
	.woosw-popup .woosw-items {
    padding: 10px 5px;
}
	.filter-section {
    margin-bottom: 10px;
    padding-bottom: 10px;
}
}
@media (max-width: 400px) {
  .container {
        max-width: 100%;
    }
}
@media (max-width: 391px) {
.add-cart .add_to_cart_button.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.product_type_simple{
    padding: 10px 20px;
   
}
	    .product-overlay {
        position: absolute;
        bottom: -4px;
        left: 40px;
    }
}
@media (max-width: 361px) {
	.woosw-popup .woosw-items .woosw-item {
    padding: 0 0px;
}
.add-cart .add_to_cart_button.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.product_type_simple {
    padding: 10px 13px;
   
}
}