/* ============================================================
 *  Janiyar Segal — WooCommerce Styles (Fixed & Cleaned)
 *  هم‌راستا با SOW/SCP و قالب
 * ============================================================ */

/* ============================================================
 *  ۱) SHOP ARCHIVE — گرید محصولات
 * ============================================================ */
.woocommerce ul.products,
.js-shop-grid-wrapper ul.products {
    display: grid !important;
    grid-template-columns: repeat(var(--js-cols, 4), minmax(0, 1fr)) !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid var(--js-border) !important;
    border-radius: var(--js-radius-lg) !important;
    overflow: hidden !important;
    transition: all var(--js-dur) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    position: relative !important;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--js-shadow) !important;
    border-color: var(--js-primary) !important;
}
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 0 !important;
    transition: transform .4s ease !important;
}
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.04) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 800 !important;
    padding: 14px 16px 4px !important;
    color: var(--js-text) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product .price {
    padding: 4px 16px 0 !important;
    color: var(--js-primary) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    direction: ltr !important;
    text-align: right !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product .price del {
    color: var(--js-text-muted) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
.woocommerce ul.products li.product .price ins { text-decoration: none !important; }

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple {
    margin: 12px 16px 16px !important;
    padding: 11px 16px !important;
    background: var(--js-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    transition: all var(--js-dur) !important;
    line-height: 1.5 !important;
    width: auto !important;
    display: block !important;
}
.woocommerce ul.products li.product .button:hover {
    background: var(--js-primary-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px rgba(31,58,95,.25) !important;
    color: #fff !important;
}
.woocommerce ul.products li.product .button.added::after { display: none !important; }
.woocommerce ul.products li.product .onsale {
    position: absolute !important;
    top: 12px !important;
    inset-inline-start: 12px !important;
    background: var(--js-accent) !important;
    color: var(--js-primary) !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    min-height: 0 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* ============================================================
 *  SHOP PAGE wrapper
 * ============================================================ */
.js-shop-wrapper {
    padding-block: 40px 60px;
    background: var(--js-bg-alt, #f7f8fa);
}
.js-shop-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--js-border, #e2e8f0);
}
.js-shop-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 900;
    color: var(--js-primary, #0a1628);
    margin: 0;
    letter-spacing: -0.5px;
}
.js-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--js-border, #e2e8f0);
    border-radius: var(--js-radius, 12px);
    box-shadow: var(--js-shadow-sm, 0 1px 3px rgba(10, 22, 40, .06));
}
.js-shop-toolbar .woocommerce-result-count {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--js-text-muted, #94a3b8);
}
.js-shop-toolbar .woocommerce-ordering { margin: 0; }
.js-shop-toolbar .woocommerce-ordering select {
    padding: 10px 14px;
    border: 1px solid var(--js-border, #e2e8f0);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--js-text, #1a2332);
    cursor: pointer;
    transition: all 240ms;
}
.js-shop-toolbar .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--js-accent, #d4a84b);
    box-shadow: 0 0 0 3px rgba(212, 168, 75, .15);
}
.js-shop-grid-wrapper { margin-bottom: 48px; }
.js-shop-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.woocommerce-no-products-found {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px dashed var(--js-border, #e2e8f0);
    border-radius: var(--js-radius-lg, 20px);
    font-size: 15px;
    color: var(--js-text-muted, #94a3b8);
}

/* ============================================================
 *  ۲) SINGLE PRODUCT — چیدمان دو ستونی
 * ============================================================ */
.woocommerce div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 48px !important;
    margin-block: 24px 48px !important;
    align-items: flex-start !important;
}

.js-single-product-wrapper {
    padding-block: 24px 60px;
    background: #fbfcfe;
}

/* Breadcrumb */
.js-product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    padding: 12px 0 24px;
    flex-wrap: wrap;
}
.js-product-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 240ms;
}
.js-product-breadcrumb a:hover { color: #0a1628; }
.js-product-breadcrumb__current {
    color: #1a2332;
    font-weight: 700;
}

/* Wrapper اصلی */
body.single-product .js-product-detail-wrapper,
.js-product-detail-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 48px !important;
    align-items: flex-start !important;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(10, 22, 40, .06);
    direction: rtl;
    width: 100% !important;
    max-width: 100% !important;
}

/* ستون گالری */
body.single-product .js-product-gallery-col,
.js-product-gallery-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    grid-column: 1 !important;
    position: relative;
}
body.single-product .js-product-gallery-col > *,
.js-product-gallery-col > * {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
body.single-product .js-product-gallery-col .woocommerce-product-gallery,
body.single-product .js-product-gallery-col .images,
.js-product-gallery-col .woocommerce-product-gallery,
.js-product-gallery-col .images {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    position: relative !important;
    top: auto !important;
}
body.single-product .js-product-gallery-col .woocommerce-product-gallery__wrapper,
.js-product-gallery-col .woocommerce-product-gallery__wrapper {
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #f7f8fa;
}
body.single-product .js-product-gallery-col .woocommerce-product-gallery__image,
.js-product-gallery-col .woocommerce-product-gallery__image {
    width: 100% !important;
    max-width: 100% !important;
}
body.single-product .js-product-gallery-col .woocommerce-product-gallery__image img,
.js-product-gallery-col .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

/* ستون خلاصه */
body.single-product .js-product-summary-col,
.js-product-summary-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    grid-column: 2 !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
body.single-product .js-product-summary-col > *,
.js-product-summary-col > * {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    text-align: right;
}
body.single-product .js-product-summary-col .product_title,
.js-product-summary-col .product_title {
    font-size: clamp(22px, 2.8vw, 30px) !important;
    font-weight: 900 !important;
    color: #1a2332 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 1;
}
body.single-product .js-product-summary-col .woocommerce-product-rating,
.js-product-summary-col .woocommerce-product-rating {
    order: 2;
    margin: 0 !important;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
body.single-product .js-product-summary-col .price,
.js-product-summary-col .price {
    order: 3;
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #0a1628 !important;
    direction: ltr !important;
    text-align: right !important;
    margin: 0 !important;
    padding: 4px 0 12px !important;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.2 !important;
}
body.single-product .js-product-summary-col .woocommerce-product-details__short-description,
.js-product-summary-col .woocommerce-product-details__short-description {
    order: 4;
    font-size: 14.5px !important;
    line-height: 1.9 !important;
    color: #64748b !important;
    padding: 4px 0 !important;
    margin: 0 !important;
}
body.single-product .js-product-summary-col form.cart,
.js-product-summary-col form.cart {
    order: 5;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    display: block !important;
}
body.single-product .js-product-summary-col .product_meta,
.js-product-summary-col .product_meta {
    order: 6;
    font-size: 13px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    color: #94a3b8;
}
body.single-product .js-product-summary-col .product_meta a,
.js-product-summary-col .product_meta a {
    color: #0a1628;
    font-weight: 600;
    text-decoration: none;
}
body.single-product .js-product-summary-col .product_meta a:hover,
.js-product-summary-col .product_meta a:hover { color: #b8912f; }

.js-product-after-summary { margin-top: 60px; }

/* ============================================================
 *  ۳) QTY SECTION — باکس وزن (نسخه واحد و نهایی)
 * ============================================================ */
.js-cart-qty-section {
    background: linear-gradient(135deg, #f7f8fa 0%, #eef2f7 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 22px !important;
    margin: 0 0 18px !important;
}
.js-cart-qty-section__header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px dashed #cbd5e1 !important;
}
.js-cart-qty-label {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0a1628 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.js-cart-qty-info {
    display: inline-flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    font-weight: 600 !important;
}
.js-cart-qty-info__item strong {
    color: #0a1628 !important;
    font-family: monospace !important;
    font-weight: 800 !important;
    margin-inline-start: 2px !important;
}
.js-cart-qty-control {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 8px !important;
    transition: all 240ms !important;
    direction: ltr !important;
}
.js-cart-qty-control:focus-within {
    border-color: #d4a84b !important;
    box-shadow: 0 0 0 4px rgba(212, 168, 75, .15) !important;
}
.js-cart-qty-btn {
    width: 48px !important;
    height: 48px !important;
    border: none !important;
    background: linear-gradient(135deg, #0a1628 0%, #1a3050 100%) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 200ms !important;
    flex-shrink: 0 !important;
    font-family: inherit !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(10, 22, 40, .15) !important;
}
.js-cart-qty-btn:hover {
    background: linear-gradient(135deg, #d4a84b 0%, #e5bd5f 100%) !important;
    color: #0a1628 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px rgba(212, 168, 75, .35) !important;
}
.js-cart-qty-btn:active { transform: translateY(0) !important; }

.js-cart-qty-control input.qty,
.js-cart-qty-control input#js-product-qty {
    flex: 1 !important;
    min-width: 0 !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-family: inherit !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0a1628 !important;
    padding: 8px !important;
    direction: ltr !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
    width: auto !important;
}
.js-cart-qty-control input.qty::-webkit-outer-spin-button,
.js-cart-qty-control input.qty::-webkit-inner-spin-button,
.js-cart-qty-control input#js-product-qty::-webkit-outer-spin-button,
.js-cart-qty-control input#js-product-qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}
.js-cart-qty-unit {
    padding-inline-end: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    flex-shrink: 0 !important;
}
.js-cart-qty-summary {
    margin-top: 14px !important;
    padding: 14px 18px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
}
.js-cart-qty-summary__row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
}
.js-cart-qty-summary__row span {
    color: #64748b !important;
    font-weight: 600 !important;
}
.js-cart-qty-summary__row strong {
    color: #0a1628 !important;
    font-weight: 800 !important;
    font-family: monospace !important;
    direction: ltr !important;
    font-size: 15px !important;
}

/* دکمه افزودن به سبد */
.js-single-add-btn,
body.single-product .js-product-summary-col .single_add_to_cart_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 62px !important;
    padding: 0 32px !important;
    background: linear-gradient(135deg, #0a1628 0%, #1a3050 100%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 280ms !important;
    box-shadow: 0 10px 24px rgba(10, 22, 40, .25) !important;
    letter-spacing: 0.3px !important;
}
.js-single-add-btn:hover,
body.single-product .js-product-summary-col .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #d4a84b 0%, #e5bd5f 100%) !important;
    color: #0a1628 !important;
    -webkit-text-fill-color: #0a1628 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 36px rgba(212, 168, 75, .4) !important;
}
.js-single-add-btn svg { flex-shrink: 0; }

/* ============================================================
 *  ۴) WISHLIST BUTTON — نسخه واحد و نهایی
 * ============================================================ */
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .yith-wcwl-add-button,
body.single-product .yith-wcwl-add-to-wishlist * {
    background: transparent !important;
    background-color: transparent !important;
}
body.single-product .yith-wcwl-add-to-wishlist {
    margin: 14px 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: block !important;
    clear: both !important;
}
body.single-product .yith-wcwl-add-to-wishlist a,
body.single-product .yith-wcwl-add-button a,
body.single-product a.add_to_wishlist,
body.single-product a.add_to_wishlist.button,
body.single-product a.add_to_wishlist.button.alt,
body.single-product .woocommerce a.add_to_wishlist {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 24px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #0a1628 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: all 240ms cubic-bezier(.4, 0, .2, 1) !important;
    box-shadow: 0 1px 3px rgba(10, 22, 40, .04) !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}
body.single-product .yith-wcwl-add-to-wishlist a::before,
body.single-product .yith-wcwl-add-button a::before,
body.single-product a.add_to_wishlist::before {
    content: '♡' !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #b23b3b !important;
    margin-inline-end: 4px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}
body.single-product .yith-wcwl-add-to-wishlist a:hover,
body.single-product .yith-wcwl-add-button a:hover,
body.single-product a.add_to_wishlist:hover {
    background: #fdf5e3 !important;
    background-color: #fdf5e3 !important;
    border-color: #d4a84b !important;
    color: #b8912f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(212, 168, 75, .18) !important;
}
body.single-product .yith-wcwl-add-to-wishlist.exists a,
body.single-product .yith-wcwl-add-to-wishlist.added a,
body.single-product a.add_to_wishlist.added,
body.single-product .yith-wcwl-wishlistaddedbrowse a {
    background: linear-gradient(135deg, #e5f6ed 0%, #d4f0dd 100%) !important;
    color: #1f7a44 !important;
    border-color: #1f9d55 !important;
}
body.single-product .yith-wcwl-add-to-wishlist.exists a::before,
body.single-product .yith-wcwl-wishlistaddedbrowse a::before {
    content: '♥' !important;
    color: #1f9d55 !important;
}
body.single-product .yith-wcwl-add-to-wishlist .ajax-loading,
body.single-product .yith-wcwl-add-to-wishlist img.ajax-loading {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
body.single-product .yith-wcwl-add-button.show,
body.single-product .yith-wcwl-wishlistexistsbrowse {
    display: block !important;
    margin: 0 !important;
}

/* ============================================================
 *  ۵) WOOCOMMERCE TABS — افقی + رفع باگ نمایش پنل‌ها
 * ============================================================ */
body.single-product .woocommerce-tabs,
.js-product-after-summary .woocommerce-tabs {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 0 !important;
    box-shadow: 0 8px 24px rgba(10, 22, 40, .06) !important;
    margin: 40px 0 !important;
    overflow: hidden !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.single-product .woocommerce-tabs ul.tabs,
body.single-product .woocommerce-tabs .wc-tabs,
.js-product-after-summary .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
    background: #fbfcfe !important;
    position: relative !important;
    z-index: 1;
    width: 100% !important;
}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after { display: none !important; content: none !important; }

body.single-product .woocommerce-tabs ul.tabs li,
.js-product-after-summary .woocommerce-tabs ul.tabs li {
    display: inline-block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    clear: none !important;
    position: relative !important;
}
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
    content: none !important;
}
body.single-product .woocommerce-tabs ul.tabs li a,
.js-product-after-summary .woocommerce-tabs ul.tabs li a {
    display: inline-block !important;
    padding: 18px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: all 240ms !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    position: relative !important;
    margin-bottom: -2px !important;
    top: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: #0a1628 !important;
    background: rgba(212, 168, 75, .06) !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li.active a:focus {
    color: #0a1628 !important;
    background: #fff !important;
    border-bottom-color: #d4a84b !important;
    outline: none !important;
}

/* ------------------------------------------------------------
 *  پنل‌ها: فقط استایل — نمایش رو به WooCommerce JS بسپار
 *  ⚠️ نکته اصلاحی: اینجا دیگه display: none !important نمی‌ذاریم
 *  چون باگ می‌زد و همه تب‌ها مخفی می‌موندن.
 * ------------------------------------------------------------ */
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product .woocommerce-tabs .panel {
    padding: 32px !important;
    margin: 0 !important;
    background: #fff !important;
    border: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
body.single-product .woocommerce-tabs .panel > h2:first-child {
    display: none !important;
}

@media (max-width: 720px) {
    body.single-product .woocommerce-tabs,
    .js-product-after-summary .woocommerce-tabs {
        border-radius: 14px !important;
    }
    body.single-product .woocommerce-tabs ul.tabs {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        scrollbar-width: thin;
    }
    body.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar { height: 4px; }
    body.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    body.single-product .woocommerce-tabs ul.tabs li a {
        padding: 14px 20px !important;
        font-size: 13.5px !important;
    }
    body.single-product .woocommerce-tabs .panel {
        padding: 20px 16px !important;
    }
}

/* ============================================================
 *  ۶) CART PAGE — سبد خرید
 * ============================================================ */
.woocommerce-cart .js-main { padding-block: 40px; }
.woocommerce-cart .js-main > .js-container {
    padding-inline: clamp(12px, 2vw, 32px) !important;
}

.woocommerce-cart table.cart {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--js-border) !important;
    border-radius: var(--js-radius-lg) !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: var(--js-shadow-sm) !important;
    width: 100% !important;
}
.woocommerce-cart table.cart thead { background: var(--js-bg-alt) !important; }
.woocommerce-cart table.cart thead th {
    padding: 14px 16px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--js-primary) !important;
    border-bottom: 1px solid var(--js-border) !important;
    text-align: right !important;
}
.woocommerce-cart table.cart td {
    padding: 20px 16px !important;
    border-bottom: 1px solid var(--js-border) !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    text-align: right !important;
}
.woocommerce-cart table.cart tbody tr:hover { background: var(--js-surface-2) !important; }
.woocommerce-cart table.cart img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 1px solid var(--js-border) !important;
}
.woocommerce-cart table.cart .product-name a {
    font-weight: 700 !important;
    color: var(--js-text) !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
}
.woocommerce-cart table.cart .product-name a:hover { color: var(--js-primary) !important; }

.woocommerce-cart table.cart .product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(178, 59, 59, .08) !important;
    color: #b23b3b !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    padding: 0 !important;
    transition: all 240ms !important;
}
.woocommerce-cart table.cart .product-remove a.remove:hover {
    background: #b23b3b !important;
    color: #fff !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(178, 59, 59, .3) !important;
}

.woocommerce-cart table.cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid var(--js-border) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    height: 42px !important;
    direction: ltr !important;
}
.woocommerce-cart table.cart .quantity input.qty {
    width: 68px !important;
    height: 100% !important;
    padding: 0 8px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-family: var(--js-font) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--js-text) !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    outline: none !important;
    direction: ltr !important;
}
.woocommerce-cart table.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart table.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.js-qty-btn {
    width: 38px !important;
    height: 100% !important;
    background: var(--js-bg-alt) !important;
    border: none !important;
    color: var(--js-primary) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--js-font) !important;
    padding: 0 !important;
    transition: all 180ms !important;
}
.js-qty-btn:hover { background: var(--js-primary) !important; color: #fff !important; }
.js-qty-btn:active { transform: scale(.95) !important; }
.js-qty-btn.js-qty-minus { border-inline-end: 1px solid var(--js-border) !important; }
.js-qty-btn.js-qty-plus  { border-inline-start: 1px solid var(--js-border) !important; }

.woocommerce-cart table.cart td.actions {
    padding: 18px 16px !important;
    text-align: right !important;
}
.woocommerce-cart table.cart td.actions::before,
.woocommerce-cart table.cart td.actions::after { display: none !important; }
.woocommerce-cart table.cart td.actions .coupon {
    display: inline-flex !important;
    gap: 8px !important;
    float: none !important;
    margin: 0 0 10px !important;
    vertical-align: middle !important;
}
.woocommerce-cart table.cart td.actions .button[name="update_cart"] {
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    background: var(--js-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: none !important;
    padding: 12px 22px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    cursor: pointer !important;
    transition: all 240ms !important;
    margin: 0 0 10px !important;
}
.woocommerce-cart table.cart td.actions .button[name="update_cart"]:hover {
    background: var(--js-primary-hover) !important;
    color: #fff !important;
}

/* Sow Cart Extras */
.sow-cart-extras {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 16px !important;
    justify-content: flex-end !important;
    margin-top: 24px !important;
    padding: 20px !important;
    background: #fff !important;
    border: 1px solid var(--js-border) !important;
    border-radius: var(--js-radius-lg) !important;
    box-shadow: var(--js-shadow-sm) !important;
}
.sow-cart-message {
    flex: 1;
    min-width: 240px;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #eef4fb !important;
    border: 1px solid #d6e4f3 !important;
    color: #1c3a60 !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}
.sow-cart-final {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    padding-inline-end: 16px !important;
    border-inline-end: 1px solid var(--js-border) !important;
    gap: 4px !important;
}
.sow-cart-final span { font-size: 12.5px !important; color: var(--js-text-muted) !important; }
.sow-cart-final strong {
    font-size: 18px !important;
    color: var(--js-primary) !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}
.sow-cart-confirm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 32px !important;
    background: var(--js-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: none !important;
    border-radius: var(--js-radius) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 240ms !important;
    box-shadow: 0 4px 14px rgba(10, 22, 40, .2) !important;
    white-space: nowrap !important;
    font-family: var(--js-font) !important;
    cursor: pointer !important;
}
.sow-cart-confirm:hover {
    background: var(--js-primary-hover) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(10, 22, 40, .3) !important;
    color: #fff !important;
}

/* ============================================================
 *  ۷) CHECKOUT
 * ============================================================ */
.woocommerce-checkout .woocommerce {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
}
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 32px !important;
    align-items: flex-start !important;
}
.woocommerce-checkout #customer_details {
    background: #fff !important;
    border: 1px solid var(--js-border) !important;
    border-radius: var(--js-radius-lg) !important;
    padding: 24px !important;
    box-shadow: var(--js-shadow-sm) !important;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    background: #fff !important;
    border: 1px solid var(--js-border) !important;
    border-radius: var(--js-radius-lg) !important;
    padding: 24px !important;
    box-shadow: var(--js-shadow-sm) !important;
    position: sticky !important;
    top: 100px !important;
}
.woocommerce-checkout #order_review_heading {
    border-radius: var(--js-radius-lg) var(--js-radius-lg) 0 0 !important;
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}
.woocommerce-checkout #order_review {
    border-radius: 0 0 var(--js-radius-lg) var(--js-radius-lg) !important;
    padding-top: 8px !important;
    margin-top: 0 !important;
}
.woocommerce-checkout #place_order {
    background: var(--js-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: none !important;
    padding: 18px 24px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    width: 100% !important;
    cursor: pointer !important;
    margin-top: 16px !important;
    transition: all var(--js-dur) !important;
    box-shadow: 0 8px 20px rgba(31,58,95,.25) !important;
}
.woocommerce-checkout #place_order:hover {
    background: var(--js-primary-hover) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 30px rgba(31,58,95,.35) !important;
    color: #fff !important;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 12px 14px !important;
    border: 1px solid var(--js-border) !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    background: #fff !important;
    transition: all var(--js-dur) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--js-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(31,58,95,.1) !important;
}

/* ============================================================
 *  ۸) MESSAGES
 * ============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: var(--js-radius) !important;
    border-width: 1px !important;
    border-inline-end-width: 4px !important;
    padding: 14px 20px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    background: var(--js-bg-alt) !important;
    color: var(--js-text) !important;
    border-color: var(--js-border) !important;
    margin-bottom: 20px !important;
    list-style: none !important;
}
.woocommerce-message { border-inline-end-color: var(--js-success) !important; background: #e5f6ed !important; }
.woocommerce-info    { border-inline-end-color: var(--js-primary) !important; background: #eef4fb !important; }
.woocommerce-error   { border-inline-end-color: var(--js-danger)  !important; background: #fbe9e9 !important; }

/* ============================================================
 *  ۹) PAGINATION
 * ============================================================ */
.woocommerce nav.woocommerce-pagination {
    margin-top: 40px !important;
    text-align: center !important;
}
.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 6px !important;
    padding: 0 !important;
    border: none !important;
}
.woocommerce nav.woocommerce-pagination ul li { border: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    background: #fff !important;
    border: 1px solid var(--js-border) !important;
    color: var(--js-text) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    transition: all var(--js-dur) !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--js-bg-alt) !important;
    border-color: var(--js-primary) !important;
    color: var(--js-primary) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--js-primary) !important;
    color: #fff !important;
    border-color: var(--js-primary) !important;
}

/* ============================================================
 *  ۱۰) حذف فلش‌های عدد input qty (همه مرورگرها)
 * ============================================================ */
.woocommerce input[type="number"],
input[type="number"].qty {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
.woocommerce input[type="number"]::-webkit-outer-spin-button,
.woocommerce input[type="number"]::-webkit-inner-spin-button,
input[type="number"].qty::-webkit-outer-spin-button,
input[type="number"].qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

/* ============================================================
 *  ۱۱) ACCOUNT & VIEW-ORDER — حذف فضاهای خالی
 * ============================================================ */
body.woocommerce-account .woocommerce-MyAccount-content > h1:empty,
body.woocommerce-account .woocommerce-MyAccount-content > h2:empty,
body.woocommerce-account .woocommerce-MyAccount-content > h3:empty,
body.woocommerce-account .woocommerce-MyAccount-content > p:empty,
body.woocommerce-account .entry-title:empty,
body.woocommerce-account .page-title:empty,
body.woocommerce-account h1.entry-title,
body.woocommerce-account .js-page-title:empty,
.woocommerce-view-order .woocommerce-MyAccount-content > h1:empty,
.woocommerce-view-order .woocommerce-MyAccount-content > h2:empty,
.woocommerce-view-order .woocommerce-MyAccount-content > h3:empty,
.woocommerce-view-order .entry-title:empty,
.woocommerce-view-order .page-title:empty,
body.woocommerce-view-order h1.entry-title {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
body.woocommerce-account .js-breadcrumbs,
body.woocommerce-view-order .js-breadcrumbs { display: none !important; }

body.woocommerce-account .js-main > .js-container,
body.woocommerce-account .js-page-wrapper,
body.woocommerce-view-order .js-main > .js-container,
body.woocommerce-view-order .js-page-wrapper {
    padding-top: 32px !important;
    margin-top: 0 !important;
}
body.woocommerce-account .js-page-article,
body.woocommerce-account .js-page-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-view-order .woocommerce-MyAccount-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-content > *:first-child,
body.woocommerce-view-order .woocommerce-MyAccount-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-content > *:empty,
.woocommerce-view-order .woocommerce-MyAccount-content > *:empty { display: none !important; }
body.woocommerce-account .scp-account-layout,
body.woocommerce-account .scp-account-content,
body.woocommerce-account .scp-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ============================================================
 *  ۱۲) FIX: کارت محصول — حذف تصویر hover تکراری
 * ============================================================ */
.js-product-card__media {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #f7f8fa 0%, #eef2f7 100%) !important;
}
.js-product-card__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 500ms ease !important;
}
.js-product-card__media img + img,
.js-product-card__img--hover { display: none !important; }
.js-product-card:hover .js-product-card__img { transform: scale(1.05) !important; }

/* ============================================================
 *  ۱۳) RELATED PRODUCTS — کارت با کنترل وزن
 * ============================================================ */
.js-related-section {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 2px solid #e2e8f0 !important;
}
.js-related-header { margin-bottom: 32px; }
.js-related-heading {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #0a1628 !important;
    margin: 0 0 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.js-related-heading__icon { font-size: 26px; line-height: 1; }
.js-related-subtitle { font-size: 14px; color: #94a3b8; margin: 0; line-height: 1.7; }
.js-related-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
}
.js-related-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 300ms cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(10, 22, 40, .04);
}
.js-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10, 22, 40, .12);
    border-color: rgba(212, 168, 75, .5);
}
.js-related-card__link { display: block; color: inherit; text-decoration: none; }
.js-related-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f8fa 0%, #eef2f7 100%);
}
.js-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}
.js-related-card:hover .js-related-card__media img { transform: scale(1.05); }
.js-related-card__badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    z-index: 2;
}
.js-related-card__badge--out {
    background: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, .3);
}
.js-related-card__badge--sale {
    background: linear-gradient(135deg, #d4a84b 0%, #e5bd5f 100%);
    color: #0a1628;
}
.js-related-card__body { padding: 14px 16px 10px; }
.js-related-card__title {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.5;
    color: #1a2332;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}
.js-related-card__price {
    font-size: 15px;
    font-weight: 800;
    color: #0a1628;
    direction: ltr;
    text-align: right;
}
.js-related-card__price del {
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 500;
    margin-inline-end: 6px;
}
.js-related-card__actions {
    padding: 10px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}
.js-related-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f7f8fa;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px;
    direction: ltr;
}
.js-related-qty__btn {
    width: 34px;
    height: 34px;
    background: #fff;
    color: #0a1628;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 180ms;
    flex-shrink: 0;
    font-family: inherit;
    line-height: 1;
    padding: 0;
    border: 1px solid #e2e8f0;
}
.js-related-qty__btn:hover {
    background: #0a1628;
    color: #fff;
    border-color: #0a1628;
}
.js-related-qty__btn:active { transform: scale(0.95); }
.js-related-qty__field {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    background: #fff;
    border-radius: 8px;
    padding: 0 8px;
    height: 34px;
    border: 1px solid #e2e8f0;
}
.js-related-qty__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    color: #0a1628;
    padding: 0;
    direction: ltr;
    outline: none;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
}
.js-related-qty__input::-webkit-outer-spin-button,
.js-related-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.js-related-qty__unit {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}
.js-related-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0a1628 0%, #1a3050 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 240ms;
    box-shadow: 0 4px 12px rgba(10, 22, 40, .15);
    text-decoration: none;
}
.js-related-add-btn:hover {
    background: linear-gradient(135deg, #d4a84b 0%, #e5bd5f 100%);
    color: #0a1628;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 168, 75, .35);
}
.js-related-add-btn:disabled,
.js-related-add-btn.is-loading {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}
.js-related-add-btn.is-loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: jsSpin 700ms linear infinite;
    margin-inline-start: 6px;
}
@keyframes jsSpin { to { transform: rotate(360deg); } }
.js-related-add-btn--view {
    background: #f7f8fa;
    color: #0a1628;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}
.js-related-add-btn--view:hover {
    background: #ffffff;
    border-color: #0a1628;
    color: #0a1628;
    transform: translateY(-2px);
}
.js-related-feedback {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    min-height: 18px;
    transition: all 240ms;
}
.js-related-feedback.is-success { color: #1f9d55; }
.js-related-feedback.is-error   { color: #ef4444; }

/* ============================================================
 *  ۱۴) PRODUCT REVIEWS
 * ============================================================ */
body.single-product #reviews #comments,
body.single-product .woocommerce-Reviews {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(10, 22, 40, .05);
}
body.single-product #reviews h2,
body.single-product .woocommerce-Reviews-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0a1628 !important;
    margin: 0 0 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
body.single-product #reviews h2::before,
body.single-product .woocommerce-Reviews-title::before {
    content: '💬';
    font-size: 22px;
}
body.single-product .commentlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px !important;
    display: grid !important;
    gap: 16px !important;
}
body.single-product .commentlist .comment_container {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    transition: all 240ms;
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
body.single-product .commentlist .comment_container:hover {
    border-color: rgba(212, 168, 75, .4);
    box-shadow: 0 8px 24px rgba(10, 22, 40, .06);
}
body.single-product .commentlist .comment_container::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    inset-inline-start: 0;
    width: 3px;
    background: linear-gradient(180deg, #d4a84b 0%, #b8912f 100%);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 240ms;
}
body.single-product .commentlist .comment_container:hover::before { opacity: 1; }
body.single-product .commentlist .comment_container img.avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 12px rgba(10, 22, 40, .1) !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    position: static !important;
    margin: 0 !important;
}
body.single-product .commentlist .comment-text {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
body.single-product .commentlist .star-rating {
    float: none !important;
    margin: 0 0 8px !important;
    font-size: 13px !important;
}
body.single-product .commentlist .meta {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0a1628 !important;
    margin: 0 0 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
body.single-product .commentlist .meta strong { font-weight: 800 !important; }
body.single-product .commentlist .woocommerce-review__published-date,
body.single-product .commentlist .meta time {
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
}
body.single-product .commentlist .description p {
    font-size: 14.5px !important;
    line-height: 1.9 !important;
    color: #1a2332 !important;
    margin: 10px 0 0 !important;
}
body.single-product #review_form_wrapper {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #e2e8f0;
}
body.single-product #review_form #respond {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(10, 22, 40, .05);
}
body.single-product #review_form #reply-title,
body.single-product .comment-reply-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0a1628 !important;
    margin: 0 0 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
body.single-product #review_form #reply-title::before,
body.single-product .comment-reply-title::before {
    content: '✍️';
    font-size: 20px;
}
body.single-product .comment-form .logged-in-as,
body.single-product #review_form .comment-notes {
    font-size: 13px !important;
    color: #64748b !important;
    background: #f7f8fa !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    margin: 0 0 20px !important;
    line-height: 1.7 !important;
}
body.single-product #review_form .comment-notes {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
}
body.single-product #review_form .comment-notes .required { color: #ef4444 !important; }
body.single-product .comment-form label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0a1628 !important;
    margin-bottom: 8px !important;
}
body.single-product .comment-form input[type="text"],
body.single-product .comment-form input[type="email"],
body.single-product .comment-form input[type="url"],
body.single-product .comment-form textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    background: #fff !important;
    color: #1a2332 !important;
    transition: all 240ms !important;
    box-sizing: border-box !important;
    line-height: 1.8 !important;
}
body.single-product .comment-form input:focus,
body.single-product .comment-form textarea:focus {
    outline: none !important;
    border-color: #d4a84b !important;
    box-shadow: 0 0 0 4px rgba(212, 168, 75, .12) !important;
}
body.single-product .comment-form textarea {
    min-height: 140px !important;
    resize: vertical !important;
}
body.single-product .comment-form-rating { margin-bottom: 20px !important; }
body.single-product .comment-form-rating label { margin-bottom: 10px !important; }
body.single-product .comment-form-rating p.stars {
    display: inline-flex !important;
    gap: 4px !important;
    margin: 0 !important;
}
body.single-product .comment-form-rating p.stars a {
    font-size: 24px !important;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 200ms !important;
}
body.single-product .comment-form-rating p.stars a:hover,
body.single-product .comment-form-rating p.stars a.active,
body.single-product .comment-form-rating p.stars.selected a.active {
    color: #d4a84b !important;
}
body.single-product .form-submit { margin: 24px 0 0 !important; }
body.single-product #review_form .form-submit input[type="submit"],
body.single-product .comment-form .form-submit input[type="submit"],
body.single-product #review_form #submit,
body.single-product .comment-form #submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
    min-width: 200px !important;
    padding: 16px 42px !important;
    background: linear-gradient(135deg, #0a1628 0%, #1a3050 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 300ms cubic-bezier(.4, 0, .2, 1) !important;
    box-shadow: 0 8px 22px rgba(10, 22, 40, .25) !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
}
body.single-product #review_form .form-submit input[type="submit"]:hover,
body.single-product .comment-form .form-submit input[type="submit"]:hover,
body.single-product #review_form #submit:hover,
body.single-product .comment-form #submit:hover {
    background: linear-gradient(135deg, #d4a84b 0%, #e5bd5f 100%) !important;
    color: #0a1628 !important;
    -webkit-text-fill-color: #0a1628 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 32px rgba(212, 168, 75, .4) !important;
}

/* ============================================================
 *  ۱۵) RESPONSIVE
 * ============================================================ */
@media (max-width: 1024px) {
    .woocommerce ul.products,
    .js-shop-grid-wrapper ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .woocommerce div.product,
    body.single-product .js-product-detail-wrapper,
    .js-product-detail-wrapper {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    body.single-product .js-product-gallery-col,
    body.single-product .js-product-summary-col,
    .js-product-gallery-col,
    .js-product-summary-col { grid-column: auto !important; }
    .woocommerce div.product .woocommerce-product-gallery { position: static !important; }
    .woocommerce-checkout form.checkout { grid-template-columns: 1fr !important; }
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review { position: static !important; }
    .js-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 768px) {
    .woocommerce ul.products,
    .js-shop-grid-wrapper ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
    .js-shop-toolbar { flex-direction: column; align-items: stretch; }

    .woocommerce-cart table.cart {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border-radius: 0 !important;
    }
    .woocommerce-cart table.cart thead { display: none !important; }
    .woocommerce-cart table.cart tbody tr {
        display: block !important;
        background: #fff !important;
        border: 1px solid var(--js-border) !important;
        border-radius: var(--js-radius) !important;
        margin-bottom: 16px !important;
        padding: 16px !important;
        box-shadow: var(--js-shadow-sm) !important;
        position: relative !important;
    }
    .woocommerce-cart table.cart tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 0 !important;
        border-bottom: 1px dashed var(--js-border) !important;
        text-align: right !important;
        font-size: 13.5px !important;
    }
    .woocommerce-cart table.cart tbody td:last-child { border-bottom: none !important; }
    .woocommerce-cart table.cart tbody td::before {
        content: attr(data-title) !important;
        font-weight: 700 !important;
        color: var(--js-text-muted) !important;
        font-size: 12.5px !important;
        margin-inline-end: 12px !important;
    }
    .woocommerce-cart table.cart .product-thumbnail {
        display: block !important;
        text-align: center !important;
        padding: 0 0 12px !important;
        border-bottom: 1px solid var(--js-border) !important;
    }
    .woocommerce-cart table.cart .product-thumbnail::before { display: none !important; }
    .woocommerce-cart table.cart .product-thumbnail img {
        width: 90px !important;
        height: 90px !important;
        margin: 0 auto !important;
    }
    .woocommerce-cart table.cart .product-name {
        display: block !important;
        padding: 12px 0 !important;
        text-align: center !important;
    }
    .woocommerce-cart table.cart .product-name::before { display: none !important; }
    .woocommerce-cart table.cart .product-remove {
        position: absolute !important;
        top: 12px !important;
        inset-inline-start: 12px !important;
        width: auto !important;
        border: none !important;
        padding: 0 !important;
    }
    .woocommerce-cart table.cart .product-remove::before { display: none !important; }

    .sow-cart-extras {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        padding: 16px !important;
    }
    .sow-cart-message { min-width: 0 !important; width: 100% !important; }
    .sow-cart-final {
        align-items: center !important;
        border-inline-end: none !important;
        border-top: 1px dashed var(--js-border) !important;
        border-bottom: 1px dashed var(--js-border) !important;
        padding: 12px 0 !important;
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
    }
    .sow-cart-confirm { width: 100% !important; justify-content: center !important; }
}

@media (max-width: 720px) {
    body.single-product .js-product-detail-wrapper,
    .js-product-detail-wrapper {
        padding: 16px !important;
        border-radius: 16px !important;
    }
    body.single-product .js-product-summary-col .product_title { font-size: 22px !important; }
    body.single-product .js-product-summary-col .price { font-size: 24px !important; }
    .js-cart-qty-section { padding: 16px !important; }
    .js-cart-qty-section__header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .js-cart-qty-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 20px !important;
    }
    .js-cart-qty-control input.qty,
    .js-cart-qty-control input#js-product-qty { font-size: 20px !important; }
    .js-single-add-btn,
    body.single-product .js-product-summary-col .single_add_to_cart_button {
        height: 56px !important;
        font-size: 15px !important;
    }

    body.single-product #reviews #comments,
    body.single-product .woocommerce-Reviews,
    body.single-product #review_form #respond {
        padding: 20px 18px !important;
        border-radius: 14px !important;
    }
    body.single-product .commentlist .comment_container {
        padding: 16px 18px !important;
        border-radius: 12px !important;
    }
    body.single-product .commentlist .comment_container img.avatar {
        width: 40px !important;
        height: 40px !important;
    }
    body.single-product #review_form .form-submit input[type="submit"],
    body.single-product .comment-form .form-submit input[type="submit"] {
        width: 100% !important;
        min-width: 0 !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    .woocommerce div.product form.cart {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .woocommerce div.product form.cart .single_add_to_cart_button { min-width: 0 !important; }
}

@media (max-width: 560px) {
    .js-related-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .js-related-heading { font-size: 20px !important; }
    .js-related-qty__btn { width: 36px; height: 36px; }
    .js-related-qty__field { height: 36px; }
}

@media (max-width: 480px) {
    .woocommerce ul.products,
    .js-shop-grid-wrapper ul.products { grid-template-columns: 1fr !important; }
}