/* Ensure product content fits within container */
.woocommerce div.product,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .images,
.woocommerce div.product .summary {
  overflow-x: hidden;
}
/*product title*/
.woocommerce div.product .product_title {
    font-size: 22px;
    margin-bottom: 5px;
}
/*product thumbnail*/
.flex-control-thumbs li img.flex-active {
    border: 1px solid;
    border-color: rgba(0, 0, 0, .3);
    border-radius: 3px;
}
.price {
    margin-bottom: 10px!important;
}
del .amount {
    color: var(--product-price);
}
.amount {
    color: var(--product-discount-price);
}
.woocommerce span.onsale {
    padding: 5px 8px!important;
}
/**/
.woocommerce-product-details__short-description {
    margin-bottom: 10px;
    font-size: 14px;
}
/*product meta*/
.product_meta {
    padding-top: 10px!important;
}
/*product quantity button*/
.do-quantity-buttons form 
.quantity:not(.buttons-added):not(.hidden):after, 
.do-quantity-buttons form .quantity:not(.buttons-added):not(.hidden):before, 
.woocommerce form .quantity.buttons-added .minus, 
.woocommerce form .quantity.buttons-added .plus, 
.woocommerce form .quantity.buttons-added .qty {
    width: 35px!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border: 1px solid;
    border-color: rgba(0, 0, 0, .08);
}
/*product rating*/
.woocommerce div.product .woocommerce-product-rating {
    margin: 0.3em 0!important;
}
/*related products*/
.related.products h2 {
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
}
.woocommerce-loop-product__title {
    margin-top: 7px!important;
    text-transform: none!important;
}

/* Thumbnails in single row with horizontal scroll */
.single-product div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px 0;
    margin: 0;
}

.single-product div.product div.images .flex-control-thumbs li {
    float: none !important;
    width: auto !important;
    margin: 0;
    flex: 0 0 auto;
}

.single-product div.product div.images .flex-control-thumbs li img {
    width: 80px;   /* change size if you want */
    height: auto;
}
/* Hide horizontal scrollbar on gallery strip */
.single-product div.product div.images .flex-control-thumbs {
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.single-product div.product div.images .flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

.wplt-discount-badge-wrap {
    margin: 8px 0 8px;
}

.wplt-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 5px;
    background: #E5F7E9;
    color: #1E7A38;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1;
}

.wplt-discount-badge .wplt-discount-icon {
    width: 16px;
    height: 16px;
}
/*Woocommerce Add to Cart Button*/
.woocommerce a.button {
    border-radius: 4px!important;
}
.woocommerce button.button{
    width: 100% !important;
    background-size: 200% auto;
}
.woocommerce div.product form.cart .button {
	margin-top: 10px;
	margin-bottom: 5px;
	border-radius: 4px;
}
.woocommerce div.product form.cart {
	margin-bottom: 0px;
}

/*woocommerce product archive page*/
.product-utility-buttons {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-top: 5px;
}
.utility-button {
    flex: 1;
    text-align: center;
    padding: 0.8em !important;
}
/* Archive page specific styling */
.products .product-utility-buttons {
    margin-top: 5px;
}

/* Single product page specific styling */
.single-product .product-utility-buttons {
    max-width: 100%;
	margin-bottom: 30px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .product-utility-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .utility-button {
        width: 100% !important;
    }
}