
/* === SOP Image Specs Applied === */





/* Buttons: larger, rounded */
.button, .wp-block-button__link, button.single_add_to_cart_button,
.woocommerce button.button.alt, a.add_to_cart_button {
    padding: 12px 28px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    min-width: 140px;
}

/* Price: larger, red for core product */
.price { font-size: 22px !important; font-weight: 700 !important; }
.woocommerce-Price-amount { font-size: 22px !important; }

/* Product title on detail: H1 size */
.product_title.entry-title { font-size: 28px !important; font-weight: 800 !important; }

/* Product grid spacing */
ul.products { gap: 24px; }
ul.products li.product { margin-bottom: 30px; }

/* TACDE tag styling */
.product .tag-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Breadcrumb */
.woocommerce-breadcrumb { font-size: 13px; margin-bottom: 20px; }

/* Add to cart button - larger */
.single_add_to_cart_button {
    padding: 16px 40px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: #2563eb !important;
}

/* Quantity selector */
.quantity input { padding: 12px !important; font-size: 16px !important; width: 70px !important; }

/* Reviews section */
.woocommerce-Reviews { margin-top: 40px; border-top: 1px solid #e2e8f0; padding-top: 30px; }
.star-rating { font-size: 16px !important; }

/* Mobile */
@media (max-width: 767px) {
    .product .woocommerce-product-gallery,
    .product .summary.entry-summary { width: 100%; float: none; }
    ul.products.columns-5 { grid-template-columns: repeat(2,1fr); }
    .button, button.single_add_to_cart_button { padding: 14px 20px !important; width: 100%; }
}


/* === FIX 1: Product grid button - single line === */
.products .button, 
ul.products li.product .button {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    min-width: unset !important;
}



/* === FIX 3: Reviews section styling === */
.woocommerce-Reviews {
    clear: both;
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 2px solid #e2e8f0 !important;
}

.woocommerce-Reviews .woocommerce-Reviews-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.commentlist .review {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.star-rating {
    font-size: 16px !important;
    color: #f59e0b !important;
}

.star-rating span::before {
    color: #f59e0b !important;
}

.commentlist .description p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

.commentlist .meta {
    font-size: 13px;
    color: #64748b;
}

.commentlist .woocommerce-review__author {
    font-weight: 600;
    color: #1e293b;
}


.woocommerce-product-details__short-description {
    font-size: 15px;
    color: #475569;
    margin: 16px 0;
}

/* === Compare table styling === */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
table td, table th {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
}
table tr:nth-child(even) {
    background: #f8fafc;
}


@media (max-width: 767px) {
}



/* Desktop: image left, text right */
@media (min-width: 768px) {
    .product-summary {
        display: flex;
        gap: 16px;
    }
    .product-summary .woocommerce-product-gallery {
        flex: 0 0 52%;
    }
    .product-summary .summary.entry-summary {
        flex: 1;
        padding: 0 !important;
    }
}




/* Product grid images: proper sizing, no overflow */
.products .product img,
.woocommerce-loop-product__link img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
}


/* Quantity and Add-to-cart stacked vertically */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.woocommerce div.product form.cart .quantity {
    float: none !important;
    margin: 0 !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
    float: none !important;
    max-width: 360px !important;
    margin: 0 !important;
    text-align: center !important;
}




/* Gallery: keep Woostify default zoom behavior */
.woocommerce-product-gallery__image img {
    border-radius: 8px;
}
