/* Single Product Page Custom Styles */

.stz-single-product {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 16px;
    color: #333;
}

.stz-product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0 0 60px 0;
}

.stz-product-details-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left Column: Gallery */
.stz-product-gallery {
    flex: 1 1 500px;
    max-width: 600px;
}

.stz-main-image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.stz-main-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.stz-thumbnails-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.stz-thumbnails-track-container {
    overflow: hidden;
    flex-grow: 1;
}

.stz-thumbnails-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 8px;
}

.stz-thumbnail {
    flex: 0 0 calc(25% - 11.25px);
    /* Show 4 thumbnails */
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.stz-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.stz-thumbnail.active {
    border-color: #304B3B;
}

.stz-slider-nav {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
}

.stz-slider-nav:hover {
    color: #304B3B;
}

/* Right Column: Details */
.stz-product-details {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
}

.stz-stock-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stz-stock-status span {
    color: #27ae60;
    border: 1px solid #27ae60;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
}

.product_title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #111;
}

.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.star-rating {
    color: #f39c12;
    font-size: 14px;
}

.stz-rating-count {
    color: #666;
    font-size: 14px;
}

.price-wrapper {
    margin-bottom: 25px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #304B3B !important;
    margin: 0 0 8px 0;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.price del {
    font-size: 18px;
    color: #808080;
    font-weight: 400;
}

.stz-tax-inclusive {
    font-size: 16px;
    color: #7F7F7F;
    font-weight: 400;
}

.woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    border-top: 1px solid #D0D0D0;
}

/* .woocommerce-product-details__short-description p {
    margin-bottom: 0;
} */

/* Variations */
.variations {
    width: 100%;
    margin-bottom: 20px;
}

.variations th {
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 10px;
    display: block;
    color: #111;
}

.variations td {
    padding-bottom: 20px;
    display: block;
}

.stz-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stz-swatch {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.price ins {
    text-decoration: none;
    color: #304B3B;
    font-size: 24px;
    font-weight: 600;
}

/* Color Swatch */
.stz-swatch-color {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px #eee;
}

.stz-swatch-color.selected {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #304B3B;
}

/* Size Swatch */
.stz-swatch-size {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #304B3B;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
}

.stz-swatch-size.selected {
    border-color: #304B3B;
    background-color: #304B3B;
    color: #fff;
    font-weight: 600;
}

.reset_variations {
    display: none !important;
}

/* Add to Cart Area */
.woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Quantity */
.stz-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0px;
}

.stz-add-to-cart-wrapper table.variations {
    margin-bottom: 0px !important;
}

.stz-qty-label {
    font-size: 18px;
    font-weight: 500;
    color: #111;
}

.stz-qty-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stz-qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #304B3B;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
    color: #304B3B;
}

.stz-qty-btn.stz-qty-minus {
    background: #fff;
}

.stz-qty-btn.stz-qty-plus {
    background: #304B3B;
    color: #fff;
}

.stz-qty-btn:hover {
    opacity: 0.8;
}

input.qty,
.stz-qty-controls input[type="number"],
.stz-qty-controls input[type="text"] {
    width: 30px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    color: #111;
    background: transparent;
}

input.qty::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.single_add_to_cart_button {
    background-color: transparent !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 30px !important;
    padding: 14px 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease !important;
    width: fit-content;
    align-self: flex-start;
}

.single_add_to_cart_button:hover {
    background-color: #111 !important;
    color: #fff !important;
}

/* Features */
.stz-product-features {
    border-top: 1px solid #D0D0D0;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.stz-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 18px;
    font-weight: 400;
}

.stz-feature svg {
    color: #304B3B;
}

/* Hide default select but keep it accessible for standard scripts */
.stz-hidden-select {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .stz-product-container {
        gap: 30px;
    }

    .stz-product-gallery {
        max-width: 100%;
    }
}

/* Revire tab */
.woocommerce-Tabs-panel {
    border: 1px solid black;
    padding: 0px 20px !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.wc-tabs-wrapper li,
.wc-tabs-wrapper li .comment-text,
.woocommerce #review_form #respond textarea {
    border: 1px solid #304B3B !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.wc-tabs-wrapper li {
    font-size: 16px;
    font-weight: 400 !important;
}

.wc-tabs-wrapper li.active {
    background: #304B3B;
    color: white !important;
    font-weight: 400 !important;
}

.wc-tabs-wrapper ul.tabs::before,
.wc-tabs-wrapper .woocommerce-tabs ul.tabs li.active::before,
.wc-tabs-wrapper.woocommerce-tabs ul.tabs li::after,
.wc-tabs-wrapper.woocommerce-tabs ul.tabs li::before {
    display: none !important;
}

.wc-tabs-wrapper.woocommerce-tabs ul.tabs,
.wc-tabs-wrapper.woocommerce-tabs ul.tabs li {
    margin: 0 !important;
}

.wc-tabs-wrapper.woocommerce-tabs ul.tabs {
    padding: 0 !important;
}


.wc-tabs-wrapper.woocommerce-tabs ul.tabs li a {
    padding: 0 !important;
}

.woocommerce-tabs ul.tabs li {
    padding: 10px 20px !important
}

.wc-tabs-wrapper.woocommerce-tabs ul.tabs li.active {
    background: #304B3B !important;
}

div#comment-6 {
    border: none;
}

li#li-comment-6 {
    border: none !important;
}

form.comment-form {
    margin-top: 16px;
}

.woocommerce #review_form #respond p {
    margin: 16px 0 !important;
}


input#submit {
    background: red !important;
    color: white !important;
    padding: 10px 24px !important;
}


.form-submit input#submit {
    background: #304B3B !important;
    color: white !important;
    padding: 10px 24px !important;
}

/* cart */
.woocommerce-notices-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 16px 0 16px;
}

.woocommerce-message {
    border: 1px solid #304B3B !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    background: #e7f2df;
}

.woocommerce-notices-wrapper .button.wc-forward {
    background: #304B3B;
    color: white;
    padding: 10px 20px;
}

@media (max-width: 610px) {
    .woocommerce-notices-wrapper .button.wc-forward {
        margin-top: 20px;
    }
}

.woocommerce-notices-wrapper .button.wc-forward:hover {
    background: #000;
    color: white;
}

.wc-tabs-wrapper li.comment-author-admin {
    border: 0 !important;
}

.single-product .commentlist li {
    border: 0 !important;
}

.single-product .commentlist {
    padding: 0;
}