/* single product */

.woocommerce-breadcrumb {
    display: none;
}

.single-product .container {
    max-width: 480px;
}

@media screen and (min-width: 1024px) {

    .single-product .woocommerce-breadcrumb {
        display: block;
        padding: 10px;
        background-color: #fafafa;
        margin-bottom: 50px;
        font-size: 13px;
    }

    .single-product .woocommerce-breadcrumb a {
        font-weight: bold;
    }

    .single-product .container {
        max-width: 1260px;
    }

    .single-product .product::after {
        content: "";
        display: table;
        clear: both;
    }

    .woocommerce-product-gallery, .product-more-details {
        float: left;
        width: calc(100% - 480px);
    }

    .single-product .summary, .woocommerce-tabs {
        float: right;
        width: 440px;
        margin-top: 0;
    }

}

/* Product Gallery */

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery img {
    width: 100%;
    height: 100%;
    display: block;
}

.woocommerce img.pswp__img, .woocommerce-page img.pswp__img {
    background-color: #fff;
}

.woocommerce-product-gallery .flex-viewport {
    width: 100%;
    border: 1px solid #e8e8e8;
}

.category-text + .woocommerce-product-gallery__wrapper {
    border: 1px solid #e8e8e8;
}

.woocommerce-product-gallery .flex-control-thumbs {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    justify-content: center;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(25% - 5px);
    margin-right: 5px;
    margin-top: 5px;
    border: 1px solid #e8e8e8;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    opacity: .5;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
}

.woocommerce-product-gallery__trigger {
    display: none;
}

@media screen and (min-width: 460px) {

    .woocommerce-product-gallery .flex-control-thumbs {
        max-width: 440px;
        margin: 0 auto 20px;
    }

}

/* Product Details */

.return-to-shop {
    display: block;
    width: 100%;
}

.wc-backward {
    text-decoration: underline;
}

.product_title {
    font-size: 1.4em;
    color: #8fb548;
    margin-bottom: 0;
}

.price {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 0;
}

.single_add_to_cart_button {
    border: 0;
    border-radius: 0;
}

.single_add_to_cart_button.disabled {
    background-color: #8a8a8a;
    pointer-events: none;
}

.single_add_to_cart_button:disabled {
    display: none;
}

/* PRE ORDER PRODUCTS */
.pre-order-form {
    display: none;
    border: 1px solid #ccc;
    padding: 25px;
    margin-top: 15px;
    padding-bottom: 0;
}
.pre-order-form p {
    margin-top: 0;
    margin-bottom: 15px;
}
.pre-order-form label {
    font-weight: bold;
    display: block;
    width: 100%;
}
.pre-order-form input:not(input[type='submit']), .pre-order-form select {
    border: 1px solid #ccc;
    height: 40px;
    padding: 5px;
    width: 100%;
}
.pre-order-form input:not(input[type='submit'])[type="checkbox"] {
    height: auto;
}
.pre-order-form input[type="submit"] {
    width: 100%;
    text-transform: uppercase;
}
.pre-order-product .single_add_to_cart_button {
    display: none;
}
.pre-order-product .pre-order-form {
    display: block;
}

/* PRE ORDER PRODUCTS */

.product_meta {
    display: none;
    margin: 10px 0;
    font-size: 0.75em;
}

.product_meta > span {
    display: block;
}

.variations {
    margin-bottom: 10px;
}

.variations select {
    padding: 10px;
    height: 45px;
    width: 100%;
    border: 1px solid #ccc;
}

.variations tr {
    display: block;
    position: relative;
    padding-bottom: 10px;
}

.variations th, .variations td {
    text-align: left;
    display: block;
}

.reset_variations {
    position: absolute;
    top: 0;
    right: 0;
}

@media screen and (min-width: 1024px) {

    .product_title {
        margin-top: 0;
        font-size: 1.8em;
    }

}

/* Customize the quantity buttons */
.quantity-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
    user-select: none;
}

.quantity-wrapper input[type="number"] {
    width: 100%; /* Adjust as needed */
    text-align: center;
    padding: 10px 0;
    border-radius: 0;
    border: 1px solid #e8e8e8;
    font-weight: bold;
    height: 45px;
}

.quantity-wrapper input[max=""] {
    opacity: .5;
    pointer-events: none;
}

.quantity-wrapper input[max=""] ~ * {
    opacity: .2;
}

.quantity-wrapper .quantity-minus,
.quantity-wrapper .quantity-plus {
    cursor: pointer;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
}

.quantity-wrapper .quantity-minus {
    left: 0;
}

.quantity-wrapper .quantity-plus {
    right: 0;
}

.single_add_to_cart_button {
    width: 100%;
    height: 45px;
    text-transform: uppercase;
}

/* Product Tabs */
.wc-tabs {
    display: none;
}

.woocommerce-Tabs-panel {
    display: block !important;
}

.woocommerce-Tabs-panel h2 {
    font-size: 18px;
}

.woocommerce-product-attributes {
    text-align: left;
    max-width: 550px;
    font-size: 0.8125em;
}

.woocommerce-product-attributes-item {
    border-bottom: 1px solid #000;
    display: block;
    padding: 10px 0;
}

.woocommerce-product-attributes-item__label {
    width: 120px;
    vertical-align: top;
}

.woocommerce-product-attributes-item__value p {
    margin: 0;
}

/* Product More Details */
.product-more-details h2 {
    font-size: 16px;
}

/* Related Products */
.related.products {
    display: none;
}

.accordion-item.accordion-item--active .accordion-item__content {
    display: block;
}

/* ---------------- ARCHIVE ---------------- */
.woocommerce-products-header {
    text-align: center;
}

.term-description {
    max-width: 600px;
    margin: 0 auto;
}

.woocommerce-sort {
    display: flex;
    align-items: center;
    margin: 30px 0; 
}

.woocommerce-result-count {
    width: 50%;
    margin: 0;
    color: #8a8a8a;
}

.woocommerce-ordering {
    width: 50%;
    text-align: right;
    padding-left: 10px;
}

.woocommerce-ordering select {
    max-width: 180px;
    border: 0;
    padding: 10px;
    border-radius: 0;
    background-color: transparent;
    border: 1px solid #e8e8e8;
    text-transform: uppercase;
    font-size: 12px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    list-style: none;
    padding-left: 0;
}

.products .product {
    margin-right: 20px;
    margin-bottom: 20px;
    width: calc(50% - 20px);
    position: relative;
}

.products .product img {
    width: 100%;
    border: 1px solid #e8e8e8;
    display: block;
}

.woocommerce-loop-product__title {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 1em;
    color: #99c848;
}

.products .price {
    font-size: .9em;
    font-weight: normal;
    display: block;
    margin-bottom: 10px;
}

a.add_to_cart_button {
    padding: 8px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: .7em;
    background-color: transparent;
    border: 1px solid #514b4d;
    color: #514b4d;
    transition: ease all .3s;
    display: inline-block;
}

a.add_to_cart_button:hover {
    background-color: #514b4d;
    color: #fff;
}

a.ajax_add_to_cart.added {
    display: none;
}

a.added_to_cart {
    padding: 8px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: .7em;
    background-color: transparent;
    border: 1px solid #514b4d;
    color: #514b4d;
    transition: ease all .3s;
    display: inline-block;
}

a.added_to_cart:hover {
    background-color: #514b4d;
    color: #fff;
}

.page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.page-numbers li {
    display: block;
    border: 1px solid rgba(0,0,0,.1);
    margin: 0 2px;
}

.page-numbers li > * {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.page-numbers.current, .page-numbers li > *:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.category-text {
    position: absolute;
    top: 10px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.category-text p {
    margin: 0;
    color: #fff;
    background-color: #000;
    line-height: 1;
}

.category-text__title {
    font-size: 10px;
    text-transform: uppercase;
    padding: 5px 5px;
}

.category-text__vol {
    font-size: 9px;
    padding: 2px 5px;
}

.single-product .category-text {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 15px;
}

.single-product .category-text__title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
}

.single-product .category-text__vol {
    font-size: 14px;
}

.category-text--lb .category-text__title { background-color: #018ad2; }
.category-text--lb .category-text__vol { background-color: #09b6c4; }

.category-text--purple .category-text__title { background-color: #711abf; }
.category-text--purple .category-text__vol { background-color: #8543c0; }

.category-text--blue .category-text__title { background-color: #0010e1; }
.category-text--blue .category-text__vol { background-color: #1f56cb; }

.category-text--green .category-text__title { background-color: #409b22; }
.category-text--green .category-text__vol { background-color: #719e67; }

.category-text--orange .category-text__title { background-color: #df6303; }
.category-text--orange .category-text__vol { background-color: #e18500; }

@media screen and (min-width: 768px) {

    .category-text__title {
        font-size: 14px;
        font-weight: bold;
        padding: 5px 15px;
        transition: ease all .3s;
    }

    .category-text__vol {
        font-size: 12px;
        padding: 2px 15px;
        transition: ease all .4s;
    }

    .product:hover .category-text__title, .product:hover .category-text__vol {
        padding-right: 25px;
    }

    .home-product:hover .category-text__title, .home-product:hover .category-text__vol {
        padding-right: 25px;
    }

    .single-product .category-text__title {
        font-size: 21px;
    }
    
    .single-product .category-text__vol {
        font-size: 16px;
        padding: 5px 15px;
    }

    .products .product {
        width: calc(33.33333% - 20px);
    }

}

@media screen and (min-width: 1024px) {

    .products-container {
        display: flex;
        flex-wrap: wrap;
    }

    .products-filter {
        width: 25%;
        max-width: 300px;
        margin-right: 30px;
    }

    .products-list {
        flex: 1;
    }

}

@media screen and (min-width: 1440px) {

    .products.columns-4 .product {
        width: calc(25% - 20px);
    }
    
    .products.columns-3 .product {
        width: calc(33.33333% - 20px);
    }

}

/* Archive Category */
.products-filter__close {
    display: none;
}

@media screen and (max-width: 1023px) {
    .products-filter__mobile {
        background-color: transparent;
        color: #000;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        border: 1px solid #000;
        text-transform: uppercase;
    }
    
    .products-filter.products-filter--active:after {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 1;
        background-color: rgba(0,0,0,.8);
        top: 0;
        left: 0;
    }
    
    .products-filter__floater {
        position: fixed;
        top: 0;
        left: -340px;
        background-color: #fff;
        padding: 20px;
        z-index: 2;
        transition: ease all .3s;
    }
    
    .products-filter.products-filter--active .products-filter__floater {
        left: 0;
    }
    
    .products-filter__floater-padding {
        padding: 20px 40px;
        height: 100vh;
        width: 300px;
    }

    .products-filter--active .products-filter__close {
        display: block;
        width: 45px;
        height: 45px;
        position: absolute;
        padding: 0;
        top: 20px;
        right: 20px;
        z-index: 3;
        background-color: #8fb548;
    }
}

@media screen and (min-width: 1024px) {

    .products-filter__mobile {
        display: none;
    }

}

.products-filter .widget-title {
    text-transform: uppercase;
    font-size: 1em;
}

.products-filter .woocommerce-widget-layered-nav-list {
    list-style: none;
    max-height: 218px;
    overflow: hidden;
}

.products-filter .woocommerce-widget-layered-nav-list li {
    display: flex;
    justify-content: space-between;
    padding-right: 20px;
    position: relative;
}

.products-filter .woocommerce-widget-layered-nav-list li a {
    flex: 1;
    padding-left: 25px;
}

.products-filter .count {
    margin-left: 10px;
    font-size: 13px;
    color: #a9a8a8;
}

.products-filter .woocommerce-widget-layered-nav-list li:before {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    border: 1px solid #a9a8a8;
    position: absolute;
    top: 3px;
    left: 0;
    pointer-events: none;
}

.products-filter .woocommerce-widget-layered-nav-list li.chosen:before {
    background: url('../images/icon-check.svg') center no-repeat;
}

.products-filter .woocommerce-widget-layered-nav-list li.chosen:before, .products-filter .woocommerce-widget-layered-nav-list li:hover:before {
    border-color: #000;
}

.products-filter .woocommerce-widget-layered-nav-list li.chosen a {
    font-weight: bold;
}

.product-categories .current-cat a {
    color: #8fb548;
}

/**
 * WooCommerce Price Filter
 */
 .widget_price_filter .price_slider {
	margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
	float: left;
    background-color: #514b4d;
}

.widget_price_filter .ui-slider {
	position: relative;
	text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1em;
	height: 1em;
	cursor: ew-resize;
	outline: none;
	background: #000;
	box-sizing: border-box;
	margin-top: -0.25em;
	opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
	margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
	box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: #000;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(0, 0, 0, 0.1);
}

.price_slider_wrapper {
    margin-top: 20px;
}

.widget_price_filter .ui-slider-horizontal {
	height: 2px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    border-radius: 50%;
    margin-top: -7px;
    background-color: #fff;
    border: 2px solid #000;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
	height: 100%;
}

.widget_price_filter .price_slider_amount .button {
    font-size: 14px;
}

/* cart */
input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield; /* Remove arrow icons in other browsers */
}

/* Optional: Customize the appearance if needed */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none; /* Remove spin buttons in WebKit browsers (Chrome, Safari) */
    margin: 0; /* Optional: Remove the margin for better alignment */
}

.cart-collaterals .shop_table ul, .cart-collaterals .shop_table p {
    margin: 0;
}

.cart-collaterals .shop_table th {
    text-align: left;
    padding-right: 20px;
    vertical-align: top;
}

.cart-collaterals .shop_table td {
    padding-bottom: 15px;
}

.shipping-calculator-button {
    text-decoration: underline;
}

.wc-proceed-to-checkout .checkout-button {
    display: block;
    padding: 15px 25px;
    text-align: center;
    color: #fff;
    background-color: #8fb548;
    font-weight: bold;
    text-transform: uppercase;
}

.woocommerce-cart-form table.shop_table_responsive tr td.actions .coupon {
    display: flex;
}

.woocommerce-cart-form table.shop_table_responsive tr td.actions .coupon button {
    min-width: 150px;
    font-size: 13px;
    background-color: #514b4d;
    margin-left: 10px;
}

.woocommerce-cart-form .actions button[name='update_cart']:disabled {
    background-color: #ccc;
}

.cart-collaterals .shop_table .woocommerce-shipping-destination {
    margin-top: 15px;
}

.woocommerce-shipping-methods {
    padding: 0;
    list-style: none;
}

.woocommerce-table--order-details {
    text-align: left;
}

@media screen and (max-width: 768px) {

    .woocommerce-cart .container {
        max-width: 480px;
    }

    .woocommerce-cart-form table.shop_table_responsive thead {
        display: none
    }
    
    .woocommerce-cart-form table.shop_table_responsive tbody tr:first-child td:first-child {
        border-top: 0
    }
    
    .woocommerce-cart-form table.shop_table_responsive tbody th {
        display: none
    }
    
    .woocommerce-cart-form table.shop_table_responsive tr {
        display: block;
        padding: 15px;
    }

    .woocommerce-cart-form table.shop_table_responsive tr:nth-child(even) {
        background-color: #f9f8f8;
    }
    
    .woocommerce-cart-form table.shop_table_responsive tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
    }
    
    .woocommerce-cart-form table.shop_table_responsive tr td.order-actions {
        text-align: left!important
    }
    
    .woocommerce-cart-form table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
    }
    
    .woocommerce-cart-form table.shop_table_responsive tr td.actions::before,.woocommerce-cart-form table.shop_table_responsive tr td.product-remove::before, .woocommerce-cart-form table.shop_table_responsive tr td.product-thumbnail::before {
        display: none
    }

    .woocommerce-cart-form table.shop_table_responsive tr td.product-thumbnail a {
        text-align: center;
    }

    .woocommerce-cart-form .product-thumbnail img {
        max-width: 50%;
    }

    .woocommerce-cart-form table.shop_table_responsive .quantity-wrapper input[type="number"] {
        width: 120px;
    }

    .woocommerce-cart-form table.shop_table_responsive tr td.product-remove .remove {
        font-weight: bold;
        font-size: 21px;
    }

    .woocommerce-cart-form table.shop_table_responsive tr td.actions {
        margin-left: -15px;
        margin-right: -15px;
        flex-wrap: wrap;
    }

    .woocommerce-cart-form table.shop_table_responsive tr td.actions .coupon {
        width: 100%;
        display: flex;
    }

    .woocommerce-cart-form table.shop_table_responsive tr td.actions button[name="update_cart"] {
        margin-top: 15px;
    }

}

@media screen and (min-width: 769px) {

    .woocommerce-cart-form .product-thumbnail {
        max-width: 90px;
    }

    .woocommerce-cart .woocommerce {
        display: flex;
        flex-wrap: wrap;
    }

    .woocommerce-cart .woocommerce-notices-wrapper {
        width: 100%;
    }

    .woocommerce-cart .woocommerce-cart-form {
        flex: 1;
    }

    .woocommerce-cart-form thead {
        text-align-last: left;
    }

    .woocommerce-cart-form .quantity-wrapper {
        width: 120px;
    }

    .woocommerce-cart-form .actions .coupon {
       float: left; 
       display: flex;
    }

    .woocommerce-cart-form .actions button[name='update_cart'] {
       float: right; 
    }

    .woocommerce-cart .cart-collaterals {
        width: 300px;
        margin-left: 20px;
    }

    .woocommerce-cart .cart_totals {
        padding: 20px;
        border: 1px solid #ccc;
    }

    .woocommerce-cart .cart_totals h2 {
        margin-top: 0;
    }

}

@media screen and (min-width: 1440px) {

    .woocommerce-cart .cart-collaterals {
        width: 450px;
    }

}

/* checkout */

.woocommerce-checkout .container {
    max-width: 1150px;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="url"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="search"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="range"],
.woocommerce-checkout input[type="date"],
.woocommerce-checkout input[type="month"],
.woocommerce-checkout input[type="week"],
.woocommerce-checkout input[type="time"],
.woocommerce-checkout input[type="datetime"],
.woocommerce-checkout input[type="datetime-local"],
.woocommerce-checkout input[type="color"],
.woocommerce-checkout textarea {
	border: 1px solid #ccc;
	padding: 15px 15px;
    border-radius: 0;
	width: 100%;
	outline: transparent;
}

.woocommerce-checkout-review-order .shop_table ul, .woocommerce-checkout-review-order .shop_table p {
    margin: 0;
}

.woocommerce-checkout-review-order .shop_table th {
    text-align: left;
    padding-right: 20px;
    vertical-align: top;
}

.woocommerce-checkout-review-order .shop_table td {
    vertical-align: top;
    padding-bottom: 15px;
}

.woocommerce-checkout-payment {
    padding: 25px;
    background-color: #f4f4f4;
}

.wc_payment_methods {
    padding: 0;
    list-style: none;
    line-height: 2;
    margin: 10px 0;
}

.wc_payment_methods label {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.wc_payment_methods label img {
    max-width: 90px;
}

.payment_box {
    font-size: 14px;
    padding: 10px;
    border: 1px dashed #000;
    line-height: 1.6;
    margin-bottom: 15px;
    background-color: #fff;
}

.payment_box p {
    margin: 0;
}

@media screen and (min-width: 1024px) {

    #customer_details {
        display: flex;
        flex-wrap: wrap;
        margin-right: -20px;
    }

    #customer_details > * {
        width: calc(50% - 20px);
        margin-right: 20px;
    }

}