/* Single Product Layout */
.single-product div.product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.product-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Product Image Gallery */
.product-image-slider {
    width: 550px;
    display: flex;
    gap: 1rem;
    flex: 0 0 auto;
    height: auto;
}
.woocommerce-product-gallery {
    display: flex;
    max-height: 500px;
}

/* Thumbnail Column */
.flex-control-nav {
    display: flex;
    flex-direction: column;
    width: 100px !important;
    order: -1;
    flex: 0 0 100px;
}

.flex-control-thumbs {
    margin: 0 !important;
    padding: 0;
    list-style: none;
    overflow-y: scroll;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #888 #f1f1f1; /* Firefox */
}

/* WebKit browsers (Chrome, Safari, etc.) */
.flex-control-thumbs::-webkit-scrollbar {
    width: 6px;
}

.flex-control-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.flex-control-thumbs::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.flex-control-thumbs li {
    width: 100% !important;
    margin-bottom: 10px;
    cursor: pointer;
}


.flex-control-thumbs img {
    width: 100%;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}
@media screen and (max-width: 768px) {
    .flex-control-thumbs li {
        width: 70px !important;
    }
    .flex-control-thumbs img {
        width: 70px !important;
    }
    a.woocommerce-product-gallery__trigger {
        position: absolute;
        margin-left: 90px;
        z-index: 9;
    }
}

.flex-control-thumbs img:hover,
.flex-control-thumbs img.flex-active {
    opacity: 1;
}

/* Main Image */
.woocommerce-product-gallery__wrapper {
    flex: 1;
}

.woocommerce-product-gallery__image {
    width: 100%;
}

/* Product Summary */
.product-summary {
    width: 50%;
}

/* Product Title */
.product-summary .product_title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* Review Section */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.rating-count {
    margin-left: 5px;
    color: #666;
    font-size: 14px;
}

.woocommerce-review-link {
    color: #666;
    text-decoration: none;
    margin-left: 10px;
}

.woocommerce-review-link:hover {
    color: #333;
    text-decoration: underline;
}

/* Brand, Price, SKU Row */
.product-info-row {
    margin: 0;
    padding: 0 0 15px 0;
    display: flex;
    width: 100%;
}

.product-brand {
    display: flex;
    min-width: 100px;
    width: 100px;
    max-width: 100px;
}

.brand-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.product-brand img {
    min-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    width: 100%;
}

.product-sku {
    color: #666;
    font-size: 14px;
    justify-self: flex-end;
    width: 100%;
    text-align: right;
    align-items: center;
    line-height: 40px;
    max-width: 200px;
}

/* Quantity and Add to Cart Row */
.quantity input[type=number] {
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    text-align: center;
    background-color: transparent;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    line-height: 100%;
    
    padding: 0 !important;
    min-width: 45px;
    width: 45px;
}
  
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
-webkit-appearance: auto !important;
margin: 0;
}

.qty-minus, .qty-plus {
font-size: 16px;
background: #eee;
border: 1px solid #ccc;
cursor: pointer;
width: 45px;
}


.bundle_form {
    flex-direction: column;
}
.bundle_form thead,
.bundle_form td:last-child {
    display: none;
}
.bundle_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.bundle_wrap p {
    margin: 0 !important;
}
.bundle_button {
    display: flex;
    gap: 10px;
    flex: 0 0 100%;
}
label.bundled_product_optional_checkbox {
    display: flex;
    align-items: center;
    float: right;   
}
label.bundled_product_optional_checkbox span.price {
    margin-left: 30px;
    padding-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-content {
        flex-direction: column;
    }
    
    .product-image-slider,
    .product-summary {
        width: 100%;
    }
    
    .product-info-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    
    
    .single_add_to_cart_button {
        width: 100%;
    }
}

/* WooCommerce Add to Cart Form */
.single-product div.product form.cart {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}
.single-product div.product form.cart.grouped_form {
    display: flex;
    flex-direction: column;
}
.single-product div.product form.cart.grouped_form .woocommerce-grouped-product-list-item__cwg_subscribe_form,
.single-product div.product form.cart.grouped_form .outofstock .cwginstock-subscribe-form{
    display: none;
}



.single-product div.product form.cart .quantity {
    float: none;
    margin: 0;
    display: flex;
    gap: 0;
}

.single-product div.product form.cart .button {
    float: none;
    flex: 1;
}

.single-product div.product form.cart .variations {
    margin-bottom: 20px;
}

.single-product div.product form.cart .variations td {
    padding: 0 10px 10px 0;
    display: block;
}

.single-product div.product form.cart .variations select {
    max-width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.single-product div.product form.cart .variations label {
    font-weight: 600;
    color: #333;
}

.single-product div.product form.cart .reset_variations {
    display: inline-block;
    margin-top: 10px;
    color: #666;
    text-decoration: none;
}

.single-product div.product form.cart .woocommerce-variation-price {
    margin-bottom: 20px;
}

.single-product div.product form.cart .woocommerce-variation-description p {
    margin-bottom: 15px;
}

/* Bundle Products */
.bundled_product_summary {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.bundled_product_title {
    margin-bottom: 10px;
}

.bundled_product_excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.bundled_item_qty_col {
    margin-top: 10px;
}

/* Custom Product Tabs */
.sams-product-tabs {
    margin-top: 40px;
}

.tab-section {
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.tab-header {
    padding: 15px 20px;
    background: #f7f7f7;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}

.tab-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.toggle-icon::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
}

.tab-header.active .toggle-icon::after {
    content: '-';
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}



.description-columns .right-column table tr:nth-child(odd) {
    background-color: #f7f7f7;
}
/* Description Section */

@media screen and (min-width: 768px) {
    .description-columns .right-column {
        width: 460px;
        max-width: 460px;
        float: right;
        margin-left: 20px;
    }
    .description-columns h2 {
        display: inline-flex;
    }    
}   

.product-video {
    margin-bottom: 30px;
}

.product-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

.product-attributes table {
    width: 100%;
    border-collapse: collapse;
}

.product-attributes th,
.product-attributes td {
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.product-attributes th {
    font-weight: 600;
    text-align: left;
}

/* Feature Images Carousel */
.feature-images-carousel {
    padding: 20px;
    margin: 30px 0;
}
.feature-images-carousel a {
    cursor: not-allowed !important;
}
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Slick Slider Customization */
.feature-images-carousel .slick-slide {
    margin: 0 15px;
}

.feature-images-carousel .slick-list {
    margin: 0 -15px;
}

.feature-images-carousel .slick-prev,
.feature-images-carousel .slick-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 1;
}

.feature-images-carousel .slick-prev:before,
.feature-images-carousel .slick-next:before {
    font-size: 20px;
    color: #131315;
}

.feature-images-carousel .slick-prev {
    left: -20px;
}

.feature-images-carousel .slick-next {
    right: -20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .description-columns {
    }
    
    .feature-images-carousel .slick-slide {
        margin: 0 10px;
    }
    
    .feature-images-carousel .slick-list {
        margin: 0 -10px;
    }
    
    .feature-images-carousel .slick-prev {
        left: -10px;
    }
    
    .feature-images-carousel .slick-next {
        right: -10px;
    }
}

/* Product Reviews Section */
.reviews-section {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.reviews-section h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 24px;
    font-weight: 600;
}
.reviews-section h2.woocommerce-Reviews-title {
    font-size: 15px;
}

/* Review Comment Styles */
.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commentlist .review {
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
}

.commentlist .review:last-child {
    border-bottom: none;
}

.comment_container {
    display: flex;
    gap: 20px;
}

.comment_container .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-text {
    flex: 1;
}

.comment-text .meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.woocommerce-review__author {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.woocommerce-review__verified {
    color: #00a046;
    font-size: 14px;
    font-style: normal;
}

.woocommerce-review__dash {
    color: #999;
}

.woocommerce-review__published-date {
    color: #666;
    font-size: 14px;
}

.comment-text .star-rating {
    margin-bottom: 12px;
    justify-content: left;
}

.comment-text .star-rating .star {
    width: 18px;
    height: 18px;
}

.comment-text .description {
    color: #444;
    line-height: 1.6;
    font-size: 15px;
}

.comment-text .description p {
    margin: 0 0 12px;
}

.comment-text .description p:last-child {
    margin-bottom: 0;
}

.comment-text .description strong {
    color: #333;
    display: block;
    margin: 16px 0 8px;
}

/* Review Form */
#review_form_wrapper {
    margin-top: 30px;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f9f9f9;
}

#review_form .comment-form-rating {
    margin: 15px 0;
}

#review_form .comment-form-rating label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

#review_form .stars {
    display: inline-flex;
    gap: 5px;
}

#review_form .stars a {
    color: #d3d3d3;
    text-decoration: none;
    transition: color 0.2s ease;
}

#review_form .stars a:hover,
#review_form .stars a.active {
    color: #FFB900;
}

#review_form .comment-form-comment label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

#review_form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-height: 120px;
    transition: border-color 0.2s ease;
}

#review_form textarea:focus {
    border-color: #666;
    outline: none;
}

#review_form .form-submit {
    margin-top: 20px;
}

#review_form .submit {
    background: #333;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

#review_form .submit:hover {
    background: #444;
}

/* Responsive Styles */
@media (max-width: 576px) {
    .comment_container {
        flex-direction: column;
        gap: 12px;
    }
    
    .comment_container .avatar {
        width: 48px;
        height: 48px;
    }
    
    .comment-text .meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Comment Form Star Rating */
.comment-form-rating {
    margin-bottom: 1.5em;
}

.comment-form-rating label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.comment-form-rating [role="group"] {
    display: flex;
    gap: 0.5em;
}

.comment-form-rating [role="radio"] {
    position: relative;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    text-indent: -9999px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.comment-form-rating [role="radio"]::before {
    content: "★";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: 0;
    font-size: 1.5em;
    color: #ddd;
    line-height: 1;
}

.comment-form-rating [role="radio"][aria-checked="true"]::before,
.comment-form-rating [role="radio"]:hover::before {
    color: #ffb900;
}

.comment-form-rating [role="radio"]:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.group_table td {
    padding: 0.15em;
}
.group_table td p.stock.in-stock {
    font-size: 12px;
}

/*18 june 2025*/
ul.products.bundled_products {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 0;
}
ul.products.bundled_products .bundled_product {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
ul.products.bundled_products .bundled_product .bundled_product_images {
    max-width: 100px;
}
ul.products.bundled_products .bundled_product .details {
    text-align: left;
    flex: 0 0 calc(100% - 110px);
}
ul.products.bundled_products .bundled_product.thumbnail_hidden .details {
    text-align: left;
    flex: 0 0 calc(100%);
}

.payment-options svg {
    height: 50px;
    width: auto;
}


.woocommerce-product-attributes .woocommerce-product-attributes-item--weight,
.woocommerce-product-attributes .woocommerce-product-attributes-item--dimensions {
    display: none;
}
.variations .label {
    padding: 5px 0;
}
.woocommerce-variation-add-to-cart {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}
.woocommerce-variation-price .price {
    text-align: left;
    width: 100%;
    display: block;
}
form.variations_form.cart {
    flex-direction: column;
}
@media(max-width: 767px) { 
    .woocommerce-product-gallery {
        max-height: 340px;
    }
    #review_form_wrapper {
        padding: 0;
    }
    .single-product div.product {
        padding-left: 10px;
        padding-right: 10px;
    }
}