/*
Theme Name: Oak Food
Theme URI: https://oakfood.nl/
Description: Oak Food is a professional WordPress theme developed by Giopio. It has been used to successfully deliver over 200 large-scale projects for global clients, including SaaS platforms, startups, and educational institutions.
Author: Jakarea Parvez
Author URI: https://giopio.com
Template: hello-elementor
Version: 2.1.0
Text Domain: oakfood
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
Contact: https://wa.me/8801728247398
*/


/* Product Card */

.product_wrapper{
    position: relative;
}
.product-bg {
    width: 100%;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.product-bg::before {
    content: "";
    display: block;
    padding-top: calc(1 / 1 * 100%);
}

.product_wrapper .product-category {
    background: #F8F8F8;
    display: inline-block;
    padding: 4px 14px;
    font-size: 18px;
    border: 1px solid #E9EAEC;
    margin-top: 14px;
    margin-bottom: 20px;
    color: #323B49!important;
    font-family: "Raleway";
}

h2.product-title {
    font-size: 20px;
    line-height: 25px;
    font-weight: 500;
    margin-bottom: 5px;
}

.pratting .star-rating {
    color: #FFA726;
}

.pratting {
    display: flex;
    align-items: center;
    align-content: center;
    color: #101F32!important;
    font-size: 14px;
    font-weight: 400;
}

.product-price {
    color: #101F32;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    display: block;
    margin-bottom: 24px;
    display: block;
}


a.addcart {
    background: #101F32;
    color: #fff;
    padding: 18px 36px;
}


/* Shop Page CSS */

h1.woocommerce-products-header__title.page-title {
    font-size: 22px;
    color: #323B49;
    line-height: 27px;
}

.term-description p {
    font-size: 14px;
    color: #687588;
    line-height: 18px;
    max-width: 80%;
}

.sort-by-label {
    display: inline-block;
}

select.orderby {
    color: #323B49;
    font-size: 14px;
    background: #F8F8F8;
    border: 1px solid #E9EAEC;
}

.sort-by-label {
    color: #A0AEC0;
    font-size: 14px;
}

/* Increase padding for WooCommerce ordering dropdown */
.woocommerce-ordering select.orderby {
    padding: 8px !important;
    width: 200px !important;
    box-sizing: border-box;
    font-size: 14px;
    border: 1px solid #E9EAEC;
    border-radius: 4px;
    background-color: #F8F8F8;
}

/* .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    margin: 0 1.8% 2.992em 0!important;
    padding: 0;
    position: relative;
    width: 23.2%!important;
    margin-left: 0;
} */

h2.widget-title {
    color: #101F32;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 42px;
    position: relative;
}

h2.widget-title::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #E9EAEC;
    content: "";
    left: 0;
    bottom: -14px;
}

ul.product-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

li.cat-item a {
    color: #101F32;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid #E9EAEC;
    display: block;
    padding: 15px 0px 5px 0px;
}

.widget {
    margin-bottom: 60px;
}

.tagcloud .tag-cloud-link {
margin-right:7px;
    text-decoration: none!important;
    color: #687588!important;
    font-size: 14px!important;
    line-height: 22px!important;
    background: #F8F8F8!important;
    padding: 10px!important; 
    border: 1px solid #E9EAEC!important;
}

.tagcloud .tag-cloud-link:hover{
    background-color: #101F32!important;
    color: #fff!important
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #FFA726!important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: #FFA726!important;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #FFF3E0!important;
}

/* Category CSS */
.product-category {
    background: initial;
    border: initial;
}

mark.count {
    display: none;
}


/* WisthList */
.yith-wcwl-add-button span {
    display: none;
}

i.yith-wcwl-icon {
    position: absolute;
    background: #fff;
    width: 20px;
    height: 20px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 15px;
    right: 0;
    top: 14px;
}

.yith-wcwl-wishlistexistsbrowse a {
    display: none;
    visibility: hidden;
}

/* Single Product */
p#single-price{
    color: #101F32;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}


.woocommerce div.product .product_title {
    clear: none;
    margin-top: 0;
    padding: 0;
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
}

a.ratting.woocommerce-review-link {
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: #101F32;
}

.woocommerce .star-rating{
    color: #FFA726;
}

.wc-proceed-to-checkout a {
    font-size: 20px !important;
    background: #FFA726 !important;
    font-weight: 700 !important;
}

/* Cart Page Style */
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: right;
    width: 100%!important;
}

.cart-item img {
    border-radius: 5px;
}

.cart-item {
    border-radius: 5px;
}

.cart-item .price {
    font-weight: bold;
    color: #ff6f61;
}

.cart-item .total-price {
    font-weight: bold;
    font-size: 1.2rem;
}

.cart-item .btn-outline-danger {
    border: none;
    background-color: transparent;
    color: #ff6f61;
}

.cart-item .btn-outline-danger:hover {
    color: #ff3b30;
}

.input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .btn-warning {
    background-color: #ffc107;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .btn-warning:hover {
    background-color: #e0a800;
}


.product-remove {
    /* text-align: right; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
}


.woocommerce a.remove {
    font-size: 1.5em;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 1;
    border-radius: 0px!important;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    background: #E9EAEC;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}














/* Existing  */
/* .woocommerce-cart-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cart-items {
    width: 70%;
} */

.cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e1e1e1;
    padding: 10px 0;
}

.product-thumbnail img {
    width: 100px;
    height: auto;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding-left: 15px;
}

.product-name,
.product-price,
.product-quantity,
.product-subtotal{
    flex: 1 1 20%;
}

.product-remove {
    text-align: right;
}

.product-thumbnail {
    width: 130px;
    height: 130px;
}

.product-name a {
    color: #262626;
    font-size: 20px;
    font-weight: 700;
}
.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-collaterals {
    width: 28%;
}

.woocommerce-cart-form__contents {
    width: 100%;
}

.coupon {
    display: flex;
    align-items: center;
}

.coupon label {
    margin-right: 10px;
}

.coupon input[type="text"] {
    width: 200px;
    margin-right: 10px;
}

.cart-totals {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    margin: 0 auto;
}

.cart-totals h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.delivery-info {
    margin-bottom: 30px;
    border-bottom: 1px solid #E9EAEC;
    padding-bottom: 10px;
}

.delivery-info p {
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
} 

/* Cart Total  */
.cart-totals {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    margin: 0 auto;
}

.cart-totals h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.delivery-info {
    margin-bottom: 20px;
}

.delivery-info p {
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.icon-free-delivery::before,
.icon-standard-delivery::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    margin-right: 10px;
}

.icon-free-delivery::before {
    background-image: url('path/to/free-delivery-icon.png'); /* Add correct path */
}

.icon-standard-delivery::before {
    background-image: url('path/to/standard-delivery-icon.png'); /* Add correct path */
}

.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.shop_table th,
.shop_table td {
    text-align: left;
    padding: 10px 0;
}

.shop_table th {
    font-weight: 600;
}

.shop_table td {
    text-align: right;
}

.woocommerce table.shop_table th {
    font-weight: 700;
    padding: 9px 12px;
    line-height: 1.5em;
    color: #323B49;
    font-family: 'Plus Jakarta Sans';
    font-size: 18px;
}
table td, table th {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: none;
}



table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: initial; 
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: transparent!important;
}

.woocommerce table.shop_table {
    border: none;

}

.woocommerce table.shop_table td {
    border-top: 1px dotted #A0AEC0;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
    border-top: 1px dotted #A0AEC0;
    padding-top: 14px;
    padding-bottom: 14px;
}

bdi {
    font-weight: 700;
}

.cart-discount th,
.cart-discount td {
    color: #ff6600;
}

.order-total th,
.order-total td {
    font-weight: 600;
    font-size: 18px;
}

.wc-proceed-to-checkout {
    text-align: center;
    margin-bottom: 20px;
}

.wc-proceed-to-checkout .button {
    background-color: #ff9900;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.payment-icons span {
    width: 50px;
    height: 30px;
    background-size: contain;
    margin: 0 5px;
}


.cancel-policy {
    font-size: 12px;
    text-align: center;
    color: #999;
}

.cancel-policy a {
    color: #ff6600;
    text-decoration: none;
}

.wc-proceed-to-checkout button {
    background: #ff6600!important;
    padding: 24px !important;
    display: block !important;
    width: 100%;
}

a.button.alt {
    display: block;
}

/* Popup Registration */
/* .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.related-products-popup {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.related-products-popup h3 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: bold;
}

.related-products-popup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-products-popup ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.related-products-popup ul li img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.related-products-popup ul li h4 {
    margin: 0;
    font-size: 16px;
}

.related-products-popup ul li span {
    margin-left: auto;
    font-weight: bold;
} */


/* Woocommerce Cart Ajax Popup */
/* Popup Styles */
.woocommerce-cart-popup {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.woocommerce-cart-popup h3 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: bold;
}
.woocommerce-cart-popup .related-products {
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce-cart-popup .related-products .product {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.woocommerce-cart-popup .related-products .product img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
.woocommerce-cart-popup .related-products .product h4 {
    margin: 0;
    font-size: 16px;
}
.woocommerce-cart-popup .related-products .product .price {
    margin-left: auto;
    font-weight: bold;
}
.woocommerce-cart-popup .related-products .product .add_to_cart_button {
    background: #0071a1;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
}


/* Ajax Cart Popup Design */
.xoo-cp-btns {
    padding-bottom: 20px!important;
}

.xoo-cp-container{
    padding: 0px;
    border-radius: 0px;
}

.xoo-cp-success {
    color: #323B49;
    background-color: #F1F2F4;
}

/* .added-to-cart-popup {
    padding: 20px;
}

.xoo-cp-related-product a img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.xoo-cp-related {
    padding: 20px;
}

.xoo-cp-related-product {
    border-bottom: 1px dashed;
    padding: 24px 0px;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.cp-rproduct-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 2;
    margin-left: 20px;
    height: 100%;
}

.cp-rproduct-info a {
    font-size: 18px;
    text-decoration: none;
    color: #323B49;
}

.xoo-cp-related-products span.woocommerce-Price-amount.amount {
    font-size: 18px;
    font-weight: 700;
    color: #323B49;
}

a.xoo-cp-related-add-to-cart {
    background: #323B49;
    text-decoration: none;
    padding: 14px 18px;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
}

.xoo-btn-wrapper {
    display: flex;
    align-items: center;
    background: #F1F2F4;
    padding: 15px;
    margin: 20px;
}

a.xoo-cp-btn-vc.xcp-btn {
    text-decoration: none;
    max-width: 149px;
    border: 1px solid #687588;
    border-radius: 0;
    background: transparent;
    color: #323B49;
    font-weight: 700;
}

a.xoo-cp-btn-ch.xcp-btn {
    background: #FFA726;
    border: none;
    text-decoration: none;
    padding: 11px;
    display: inline-block;
    width: 210px;
    border-radius: 0px;
}

.xoo-cp-btns{
display: flex;
}

.xoo-cp-related-products .xoo-cp-related-product + .xoo-cp-related-product{
border-top: none!important;
}

.xoo-cp-related {
    padding: 20px!important;
}

.xoo-cp-related-product:last-child {border-bottom: none!important;} */


/* For Order Page */
a.woocommerce-button.button.view {
    background: #f8f8f8;
    color: #323B49;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid #E9EAEC;
}

a.woocommerce-button.button.view:hover {
    background: #323B49;
    color: #fff;
}

.woocommerce-orders-table span.woocommerce-Price-amount.amount {
    font-size: 18px;
    font-weight: 500;
    color: #A0AEC0;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-date {
    color: #A0AEC0;
    font-size: 18px;
    font-weight: 500;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status {
    font-size: 18px;
    font-weight: 500;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-quantity {
    color: #A0AEC0;
    font-size: 18px;
    font-weight: 500;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-product {
    font-size: 18px;
    font-weight: 500;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-product img {
    min-width: 100px;
    max-height: 100px;
    height: 100px;
    object-fit: cover;
    background: #D9D9D9;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-number a {
    color: #323B49;
    font-weight: 500;
    font-size: 18px;
}

table.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive.my_account_orders.account-orders-table {
    border: 1px solid #F1F2F4;
}


.custom-orders {
    margin: 20px 0;
}
.order-section {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
}
.order-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.order-items {
    display: flex;
    flex-wrap: wrap;
}
.order-item {
    width: 30%;
    border: 1px solid #ddd;
    padding: 10px;
    margin-right: 1.5%;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.order-item img {
    max-width: 100%;
    height: auto;
}
.order-item-details {
    margin-top: 10px;
}
.order-item-details h4 {
    font-size: 16px;
    margin: 0 0 5px;
}
.order-item-details p {
    margin: 5px 0;
}

div#past-orders-section, div#active-orders-section {
    margin-top: 25px;
}

.woocommerce-widget-layered-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-widget-layered-nav-list__item {
    display: inline-block;
    margin-right: 10px;
}

.woocommerce-widget-layered-nav-list__item img {
    max-width: 50px; /* Adjust size as per your design */
    height: auto;
    display: block; /* Ensures image displays properly */
}

.product-attributes {
    margin-top: 10px;
}

.product-attribute-image {
    width: 24px; 
    height: 24px; 
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}

ul.woocommerce-widget-layered-nav-list {
    display: flex!important;
    gap: 10px!important;
}

ul.woocommerce-widget-layered-nav-list li a img {
    width: 24px!important;
    height: 24px!important;
}  


.descent-attribute img {
    margin-top: 13px !important;
}

/* Add custom styles for the checkout steps */
.checkout-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.steps-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.step-header {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-bottom: 2px solid #ddd;
}

.step-header.active {
    border-bottom: 2px solid #f39c12;
}

.step {
    display: none;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
}

.step.active {
    display: block;
}

.button {
    margin: 10px 0;
}

#card_info {
    display: none;
}


    .step { display: none; }
    .step.active { display: block; }
    .woocommerce-billing-fields { display: flex; justify-content: space-between; }
    .form-column { width: 60%; }
    .order-column { width: 35%; }
    .step-buttons { margin-top: 20px; text-align: right; }
    .step-buttons .button { margin-left: 10px; }


/* Ensure the container of the product image is positioned relative */
.woocommerce-product-gallery__image {
    position: relative;
}

/* Style for the attribute overlay box */
.attribute-overlay {
    position: absolute;
    top: 70px; 
    right: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
    max-width: calc(100% - 40px); 
    box-sizing: border-box; 
}

/* Style for individual attributes, if needed */
.descent-attribute-single {
    margin-bottom: 5px;
}

.descent-attribute img {
    max-width: 50px; 
    display: block;
}

.descent-attribute span {
    font-size: 16px; /* Adjust as needed */
}

.tagcloud a.active-tag {
    background-color: #101F32 !important;
    color: #fff !important;
    font-weight: bold;
}

.woocommerce .product-categories .cat-item.selected-cat a{
    border-bottom-color: #101F32;
}

.ui-widget.ui-widget-content {
    background: #ceaf7d;
}