
.single-product-single-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: inherit;
    color: var(--color-text);
    direction: rtl;
    /* Default RTL for Arabic */
    text-align: right;
}

/* Override for LTR if needed explicitly, but default is Arabic */
html[dir="ltr"] .single-product-single-wrapper {
    direction: ltr;
    /* Fallback if someone switches to EN */
    text-align: left;
}

/* --- Top Section Layout --- */
/* New Header at Top */
.product-header-full-width {
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.product-header-full-width .single-product-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--color-title);
    text-align: right;
}
html[dir="ltr"] .product-header-full-width .single-product-title {
    text-align: left;
}

.product-header-full-width .product-sku {
    font-size: 13px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
}

.product-header-full-width .single-product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-title);
    text-align: right;
}

.product-top-section {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

/* --- Gallery Column --- */
.product-gallery-column {
    flex: 0 0 45%;
    width: 45%;
    position: relative;
}


html[dir="ltr"] .single-product-badge {
    left: auto;
    right: 15px;
}


.product-gallery-column,
.product-info-column {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background: var(--color-white);
    position: relative;
}

.product-gallery-column {
    align-items: center;
}

.product-info-column {
    align-items: flex-start;
}


.product-gallery-main img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Thumbnails */
.product-gallery-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--color-secondary);
}

.gallery-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Info Column --- */
.product-info-column {
    flex: 1;
}

/* Breadcrumbs */
.product-breadcrumbs {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.product-breadcrumbs a {
    color: var(--color-text-light);
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    color: var(--color-accent);
}

/* Meta Row (SKU, Status, Rating) */
.product-header-full-width .product-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Start from Right in RTL */
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
    width: max-content;
}

/* 1. Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Space between number and stars */
    line-height: 1;
}

.product-rating .rating-number {
    font-weight: 800;
    /* Bolder */
    color: var(--color-title);
    font-size: 15px;
}

.product-rating .star-rating {
    font-size: 11px;
    /* Slightly smaller stars */
    width: 5.5em;
    color: var(--color-accent);
    margin: 0;
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.product-rating .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
    /* Hide text */
}

/* 2. Status */
.stock-status-container {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-success);
    font-weight: 600;
    font-size: 14px;
}

.stock-status-dot {
    font-size: 20px;
    line-height: 0.5;
    /* Align dot better */
}

/* 3. SKU */
.product-sku {
    font-size: 14px;
    color: var(--color-text-light);
    /* Muted for label */
    margin-right: auto;
    /* Push to far LEFT */
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-sku .sku {
    color: var(--color-title);
    /* Dark for value */
    font-weight: 700;
    font-family: inherit;
}

/* Price */
/* Price */
.single-product-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align group to right in RTL */
    flex-direction: row-reverse;
    /* del(left), ins(right) */
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1;
}

/* Regular Price / Old Price */
.single-product-price del {
    color: var(--color-search-icon);
    /* Muted Blue/Grey */
    font-size: 24px;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 0.8;
}

/* Sale Price / Current Price */
.single-product-price ins {
    color: var(--color-primary);
    /* Theme Orange */
    font-size: 28px;
    /* Large */
    font-weight: 800;
    text-decoration: none;
    background: transparent;
}

.single-product-price .woocommerce-Price-currencySymbol {
    font-size: 0.8em;
    margin-right: 2px;
}

/* Excerpt */
.single-product-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-paragraph);
    margin-bottom: 25px;
    border-bottom: 1px solid var(--color-light-grey);
    padding-bottom: 20px;
}

/* Sold Details Box */
.sold-stats-box {
    background-color: var(--color-bg-light);
    border: none;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.sold-stats-box .sold-stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--color-text);
    font-weight: 500;
}

.sold-stats-box .sold-stat-row:last-child {
    margin-bottom: 0;
}

.sold-stats-box .sold-icon {
    width: 20px;
    text-align: center;
    color: var(--color-secondary);
    /* Dark icon */
    margin-left: 10px;
    font-size: 16px;
}

/* Actions Row (Add to Cart, WhatsApp) */
.product-actions-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Quantity */
.product-actions-row .quantity {
    display: inline-flex;
    margin-left: 0;
    /* Disable default WC styling hooks if possible or override them */
}

/* Hide Default WooCommerce Buttons hard just in case */
.product-actions-row .quantity .plus:not(.qty-btn),
.product-actions-row .quantity .minus:not(.qty-btn) {
    display: none !important;
}

/* single Wrapper for - 1 + */
.single-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    /* Light grey border */
    border-radius: 6px;
    /* Rounded corners */
    padding: 2px 5px;
    height: 45px;
    width: 140px;
    /* Fixed width as per image approx */
    justify-content: space-between;
    background: var(--color-white);
}

.single-qty-wrapper .qty-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    /* Large signs */
    font-weight: 300;
    color: var(--color-text);
    cursor: pointer;
    width: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    /* Visual adjustment for -/+ alignment */
    transition: color 0.2s;
}

.single-qty-wrapper .qty-btn.is-trash {
    color: var(--color-text);
    font-size: 16px;
}

.single-qty-wrapper .qty-btn.is-trash:hover {
    color: var(--color-danger);
    /* Red for trash/hover */
}

.single-qty-wrapper .qty-btn.plus:hover {
    color: var(--color-primary);
    /* Normal hover for plus */
}

.single-qty-wrapper input.qty {
    width: 40px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    padding: 0;
    margin: 0;
    /* Fix Lint: standard property */
    appearance: textfield;
    -moz-appearance: textfield;
    /* Remove spinners Firefox */
}

/* Remove spinners Chrome/Safari */
.single-qty-wrapper input.qty::-webkit-outer-spin-button,
.single-qty-wrapper input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    appearance: none;
}

/* --- Info Boxes --- */
.product-notification-box.orange-box {
    background-color: var(--color-btn-hover);
    /* Light Orange */
    color: var(--color-primary);
    /* Dark Orange Text */
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.product-notification-box.orange-box .notify-icon {
    font-size: 16px;
}

.sold-stats-box.blue-box {
    background-color: var(--color-bg-light);
    /* Light Blue/Grey */
    border: none;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    width: 100%;
}

.sold-stats-box .sold-stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--color-text);
    font-weight: 600;
}

.sold-stats-box .sold-stat-row:last-child {
    margin-bottom: 0;
}

.sold-stats-box .sold-icon {
    width: 20px;
    text-align: center;
    color: var(--color-dark);
    /* Black Icons */
    margin-left: 10px;
    font-size: 16px;
}

/* --- Support Section --- */
.support-section-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    color: var(--color-text);
    text-decoration: none;
    text-align: right;
}

.support-section-row:hover {
    opacity: 0.9;
}

.support-icon {
    width: 45px;
    height: 45px;
    background-color: var(--color-success);
    /* WhatsApp Green */
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.support-text {
    display: flex;
    flex-direction: column;
}

.support-title {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.support-phone {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    direction: ltr;
    /* Ensure number displays correctly */
}

/* --- Footer Meta & Share --- */
.share-row-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Label right, icons left */
}

.share-label {
    font-size: 14px;
    color: var(--color-text-light);
}

.share-icons-list {
    display: flex;
    gap: 10px;
    margin: 10px;
}

/* Add to Cart Button */
.product-actions-row .single_add_to_cart_button {
    background-color: var(--color-title) !important;
    color: var(--color-white) !important;
    border-radius: 6px;
    padding: 0 40px;
    height: 45px;
    line-height: 45px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.product-actions-row .single_add_to_cart_button:hover {
    background-color: var(--color-dark) !important;
}

/* WhatsApp Button */
.whatsapp-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-success);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: opacity 0.2s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    opacity: 0.9;
    color: var(--color-white);
}

/* Footer Meta */
.product-footer-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-light-grey);
    padding-top: 20px;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.footer-meta-item .posted_in {
    font-size: 14px;
    color: var(--color-text-light);
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-light-grey);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition-property: background, color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

.share-icon:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* --- Features Bar --- */
.product-features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: transparent;
    /* Remove container bg */
    border: none;
    /* Remove container border */
    padding: 0;
    margin-bottom: 50px;
    direction: rtl;
    text-align: center;
}

.feature-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    /* White cards */
    padding: 30px 20px;
    border-radius: 6px;
    /* Slightly rounded */
    box-shadow: var(--shadow-lg);
    /* Very subtle shadow */
}

/* Ensure icons have correct size context */
.feature-icon img {
    margin-bottom: 5px;
    height: 40px;
    width: auto;
    display: block;
}

.feature-icon {
    font-size: 32px;
    color: var(--color-title);
    margin-bottom: 15px;
}

.feature-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--color-title);
}

.feature-desc {
    font-size: 13px;
    color: var(--color-text-light);
}

/* --- Tabs & Related --- */
.product-tabs-section {
    margin-bottom: 50px;
}

.woocommerce-tabs ul.tabs {
    border-bottom: 1px solid var(--color-border) !important;
    padding: 13px !important;
    margin-bottom: 30px !important;
    display: flex;
    gap: 30px;
    list-style: none;
}

/* --- Related Products Section --- */
.related .products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
}
.related-products-section {
    margin-bottom: 50px;
}

.related-products-section .related.products h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-title);
    margin-bottom: 30px;
    text-align: right;
}

html[dir="ltr"] .related-products-section .related.products h2 {
    text-align: left;
}

.related-products-section .products {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
/* Override WooCommerce default styles for related products */
.related-products-section ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.related-products-section ul.products li.product,
.related-products-section .product {
    position: relative !important;
    background: var(--color-white) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.related-products-section .product:hover {
    transform: translateY(-5px);
    box-shadow: var(--color-shadow-hover);
    border-color: var(--color-accent);
}

/* Badge (discount) */
.related-products-section .product .onsale {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: var(--color-success) !important;
    color: var(--color-white) !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    z-index: 10 !important;
}

/* Wishlist button */
.related-products-section .product .yith-wcwl-add-button,
.related-products-section .product .product-wishlist-btn {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
}

.related-products-section .product .product-wishlist-btn {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid var(--color-border) !important;
    background: var(--color-white) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.related-products-section .product .product-wishlist-btn:hover {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    border-color: var(--color-accent) !important;
}

/* Product Image */
.related-products-section .product .attachment-woocommerce_thumbnail,
.related-products-section .product img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
    display: block;
}

/* Logo/Brand */
.related-products-section .product .product-brand-logo {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* Product Title */
.related-products-section .product .woocommerce-loop-product__title,
.related-products-section .product h2.woocommerce-loop-product__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-title);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Price */
.related-products-section .product .price {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.related-products-section .product .price del {
    color: var(--color-text-light);
    font-weight: 600;
}

.related-products-section .product .price ins {
    text-decoration: none;
    font-weight: 700;
    color: var(--color-accent);
}

/* Stock Info */
.related-products-section .product .product-grid-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--color-paragraph);
    padding: 8px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 12px;
    direction: rtl;
}

.related-products-section .product .stock-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-products-section .product .stock-label {
    color: var(--color-paragraph);
}

.related-products-section .product .stock-value {
    font-weight: 700;
    color: var(--color-title);
}

/* Add to Cart Button */
.related-products-section .product .button,
.related-products-section .product .add_to_cart_button {
    width: 100%;
    padding: 10px 16px;
    background: var(--color-text);
    color: var(--color-white);
    border: none !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    margin-top: auto;
}

.related-products-section .product .button:hover,
.related-products-section .product .add_to_cart_button:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
}

.woocommerce-tabs ul.tabs li {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
    padding: 15px 0 !important;
    font-weight: 600 !important;
    color: var(--color-no-result) !important;
    position: relative;
    border-bottom: 2px solid transparent;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-accent) !important;
}

.woocommerce-tabs ul.tabs li.active a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    left: auto;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
}

/* --- Comment Form Star Rating Fix --- */
.comment-form-rating label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--color-light-grey);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 24px;
    margin: 0 3px;
    outline: none;
    font-weight: normal;
    margin-bottom: 0;
}

.comment-form-rating label:hover {
    color: var(--color-accent);
    transform: scale(1.15);
}

.comment-form-rating .stars {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.comment-form-rating .stars span {
    display: flex;
    gap: 0;
    font-size: 18px;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

html[dir="rtl"] .comment-form-rating .stars span {
    justify-content: flex-start;
}

.comment-form-rating .stars a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    text-decoration: none;
    color: var(--color-light-grey);
    /* Empty star color */
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
}

.comment-form-rating .stars a::before {
    content: "\f005";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 30px;
    text-indent: 0;
    color: inherit;
    font-size: 24px;
    text-align: center;
    top: 0;
    left: 0;
}

/* All stars when ANY star is hovered - reset to empty */
.comment-form-rating .stars a:hover,
.comment-form-rating .stars a:focus {
    color: var(--color-accent);
    transform: scale(1.1);
}

/* Highlight current star on hover */
.comment-form-rating .stars a:hover~a {
    color: var(--color-light-grey);
}

/* When a star is clicked, it gets the .active class and all siblings up to it should be highlighted */
.comment-form-rating .stars a.active {
    color: var(--color-accent);
}

/* For input[type="radio"] stars (WooCommerce native) */
.comment-form-rating input[type="radio"] {
    display: none;
}

.comment-form-rating input[type="radio"]:checked ~ label,
.comment-form-rating input[type="radio"]:checked ~ label ~ label {
    color: var(--color-accent);
}

.comment-form-rating label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--color-light-grey);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 24px;
    margin: 0 2px;
}

.comment-form-rating label::before {
    content: "\f005";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.comment-form-rating input[type="radio"] {
    display: none !important;
}

.comment-form-rating input[type="radio"]:checked ~ label {
    color: var(--color-accent);
}

.comment-form-rating label:hover {
    color: var(--color-accent);
    transform: scale(1.15);
}

/* Rating display text */
.comment-form-rating .rating-display {
    margin-left: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
}

/* Hide WooCommerce Success Messages */
.woocommerce-message {
    display: none !important;
}



/* ===============================
   Single Product Review Form RTL
   =============================== */

.single-product #review_form_wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    direction: rtl;
}

/* Titles */
.single-product #reply-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: right;
}

/* Notes text */
.single-product .comment-notes,
.single-product .comment-form-rating {
    text-align: right;
    font-size: 14px;
    margin-bottom: 40px;
}

.single-product .comment-notes, .single-product .comment-form-rating {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

/* Stars */
.single-product .comment-form-rating .stars {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

/* Textarea */
.single-product .comment-form-comment textarea {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    font-size: 15px;
    resize: vertical;
    border-radius: 6px;
}

/* Inputs wrapper */
.single-product .comment-form-author,
.single-product .comment-form-email {
    width: 100%;
    margin-bottom: 15px;
}

/* Inputs */
.single-product .comment-form input[type="text"],
.single-product .comment-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 6px;
}

/* Labels */
.single-product .comment-form label {
    display: none;
}

/* Cookies checkbox */
.single-product .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Submit button */
.single-product .form-submit input[type="submit"] {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    float: right;
}

/* Clear float */
.single-product .form-submit::after {
    content: "";
    display: block;
    clear: both;
}


/* --- Responsive Media Queries --- */

/* Tablet & Mobile (Max Width 900px) */
@media screen and (max-width: 900px) {
    .product-top-section {
        flex-direction: column;
    }

    .product-gallery-column,
    .product-info-column {
        width: 100%;
        flex: 0 0 100%;
    }

    .product-features-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-gallery-main {
        width: 30%;
    }

    /* Related Products - 3 columns on tablets */
    .related-products-section ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }

}

/* Mobile (Max Width 600px) */
@media screen and (max-width: 600px) {
    .single-product-single-wrapper {
        padding: 0 15px;
        margin-top: 20px;
    }

    .product-gallery-main {
        padding: 10px;
    }


    .product-actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .product-actions-row .quantity {
        width: 100%;
        margin-bottom: 10px;
    }

    .product-actions-row .quantity input.qty {
        width: 100%;
    }

    .product-actions-row .single_add_to_cart_button {
        width: 100%;
    }

    .whatsapp-btn {
        width: 100%;
        border-radius: 6px;
    }

    .product-features-bar {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-footer-meta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }


    .single-product-price {
        justify-content: center;
    }


    .related-products-section ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .related-products-section .related.products h2 {
        font-size: 15px;
        text-align: center;
    }
    
    .product-header-full-width .single-product-title, 
    .single-product #reply-title {
        font-size: 13px;
        margin-top: 20px;
    }
    .single-product-price del, 
    .single-product-price ins {
        font-size: 16px;
    }
}
@media screen and (max-width: 450px) {
    .related-products-section ul.products {
        display: flex;
        align-items: center;
    }
}

/* ===============================
   Tablet (≤ 768px)
   =============================== */
@media (max-width: 768px) {
    .single-product .comment-form-rating .stars {
        justify-content: flex-start;
    }
}

/* ===============================
   Mobile (≤ 480px)
   =============================== */
@media (max-width: 480px) {

    .single-product #review_form_wrapper {
        padding: 0 10px;
    }

    .single-product .form-submit input[type="submit"] {
        width: 100%;
        text-align: center;
        float: none;
    }

    .single-product .comment-form-cookies-consent {
        font-size: 12px;
    }
}
