@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//rayanset.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.4.4") format("woff2");
}

:root {
	--wd-text-font: YekanBakhFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(94,95,125);
	--wd-text-font-size: 14px;
	--wd-title-font: YekanBakhFaNum;
	--wd-title-font-weight: 600;
	--wd-title-color: #0C0C0C;
	--wd-entities-title-font: YekanBakhFaNum;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: YekanBakhFaNum;
	--wd-widget-title-font: YekanBakhFaNum;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: YekanBakhFaNum;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(227,49,68);
	--wd-alternative-color: rgb(51,102,255);
	--btn-default-font-family: iranyekan;
	--btn-default-font-weight: 400;
	--btn-default-bgcolor: rgb(227,49,68);
	--btn-default-bgcolor-hover: #efefef;
	--btn-default-color: rgb(255,255,255);
	--btn-accented-font-family: iranyekan;
	--btn-accented-font-weight: 400;
	--btn-accented-bgcolor: rgb(227,49,68);
	--btn-accented-bgcolor-hover: rgb(227,49,68);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(51,102,255);
	--notices-success-color: rgb(255,255,255);
	--notices-warning-bg: rgb(227,49,68);
	--notices-warning-color: rgb(255,255,255);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-product .price, html .product.wd-product del {
	font-family: YekanBakhFaNum;	font-weight: 600;
	font-size: 14px;
}
.product-labels .product-label.new {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.product-labels .product-label.featured {
	background-color: rgb(0,0,0);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1676px;
--wd-form-brd-radius: 35px;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1676px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

@font-face {
	font-family: "یکان بخ";
	src: url("//rayanset.com/wp-content/uploads/2026/06/YekanBakhFaNum-VF.ttf") format("woff");
	font-weight: 400;
	font-style: normal;
}

/* ==========================  کدهای امیر =========================== */

/* =========================================
   اصلاح نهایی و دقیق هدر رایان‌ست
   ========================================= */

/* ۱. درست کردن آیکون همبرگری (جلوگیری از انباشت خطوط) */
.wd-header-cats .menu-opener-icon {
    background-color: #333 !important;
    height: 2px !important;
    width: 18px !important;
    position: relative !important;
    display: inline-block !important;
}

.wd-header-cats .menu-opener-icon:before,
.wd-header-cats .menu-opener-icon:after {
    content: "" !important;
    background-color: #333 !important;
    height: 2px !important;
    width: 18px !important;
    position: absolute !important;
    left: 0 !important;
}

.wd-header-cats .menu-opener-icon:before { top: -6px !important; }
.wd-header-cats .menu-opener-icon:after { top: 6px !important; }

/* ۲. حذف پس‌زمینه و فشرده‌سازی کانتینر دسته بندی */
.wd-header-cats > .menu-opener {
    background: transparent !important;
    padding: 0 !important;
    min-width: auto !important;
    border: none !important;
    box-shadow: none !important;
}

/* ۳. کاهش فاصله بین منوی دسته‌بندی و منوی کناری (اصلاح RTL) */
.wd-header-cats {
    margin-left: 5px !important; /* فاصله از سمت چپ */
    margin-right: 0 !important;
}

/* ۴. نزدیک کردن آیتم‌های منوی اصلی به هم */
.wd-nav-secondary > li {
    margin-left: 10px !important; /* فاصله بین فروشگاه، پرینتر و ... را خیلی کم کردیم */
    margin-right: 10px !important;
}

/* ۵. تنظیمات فونت (طبق سلیقه امیر) */
header .wd-header-nav a,
header .wd-header-nav .nav-link-text,
header .wd-header-cats .menu-open-label,
header .wd-header-account a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

/* ۶. حذف فلش کنار نوشته */
.wd-header-cats .wd-tools-arrow {
    display: none !important;
}

/* ۷. تنظیم متن تماس (سمت چپ هدر) */
header .wd-header-text {
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* =========================================
   سبد خرید چسبان
   ========================================= */

.rs-mobile-sticky-cart,
.rs-cart-toast {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 150px;
    }

    .rs-mobile-sticky-cart {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 99999;
        display: block;
        padding: 10px 12px 12px;
        background: #ffffff;
        border-top: 1px solid #e6e6e6;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    }

    .rs-sticky-variations {
        display: none;
        margin-bottom: 8px;
    }

    .rs-sticky-variations.rs-show {
        display: block;
    }

    .rs-sticky-variations table,
    .rs-sticky-variations tbody,
    .rs-sticky-variations tr,
    .rs-sticky-variations th,
    .rs-sticky-variations td {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .rs-sticky-variations tr {
        margin-bottom: 8px;
    }

    .rs-sticky-variations .label,
    .rs-sticky-variations th {
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 400;
        color: #555;
    }

    .rs-sticky-variations select {
        width: 100%;
        height: 38px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #fff;
        font-size: 13px;
    }

    .rs-sticky-variations .reset_variations {
        display: inline-block;
        margin-top: 6px;
        font-size: 12px;
        color: #777;
    }

    .rs-sticky-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

    .rs-price-title {
        flex: 0 0 auto;
        color: #777;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.6;
    }

    .rs-price-value {
        min-width: 0;
        color: #111;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.6;
        text-align: left;
    }

    .rs-price-value del {
        display: block;
        color: #aaa;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
    }

    .rs-price-value ins {
        color: #111;
        font-size: 17px;
        font-weight: 700;
        text-decoration: none;
    }

    .rs-price-message {
        color: #666 !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        text-align: left;
    }

    .rs-sticky-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 116px;
        gap: 10px;
        align-items: center;
    }

    .rs-sticky-add {
        width: 100%;
        height: 48px;
        border: 0;
        border-radius: 10px;
        background: #ef4056;
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
    }

    .rs-sticky-add.rs-disabled,
    .rs-sticky-add:disabled {
        background: #d8d8d8;
        color: #888;
        cursor: not-allowed;
    }

    .rs-sticky-add.loading {
        opacity: 0.75;
        pointer-events: none;
    }

    .rs-sticky-qty {
        display: grid;
        grid-template-columns: 34px 1fr 34px;
        align-items: center;
        height: 48px;
        overflow: hidden;
        border: 1px solid #e2e2e2;
        border-radius: 10px;
        background: #ffffff;
    }

    .rs-sticky-qty button {
        width: 34px;
        height: 48px;
        border: 0;
        background: transparent;
        color: #ef4056;
        font-size: 24px;
        font-weight: 400;
        line-height: 1;
        cursor: pointer;
    }

    .rs-sticky-qty input {
        width: 100%;
        height: 48px;
        border: 0;
        outline: 0;
        color: #ef4056;
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        appearance: textfield;
        -moz-appearance: textfield;
    }

    .rs-sticky-qty input::-webkit-outer-spin-button,
    .rs-sticky-qty input::-webkit-inner-spin-button {
        margin: 0;
        -webkit-appearance: none;
    }

    .rs-cart-toast {
        position: fixed;
        right: 12px;
        bottom: 150px;
        left: 12px;
        z-index: 100000;
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(18px);
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
        pointer-events: none;
    }

    .rs-cart-toast.rs-show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .rs-cart-toast-inner {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 72px;
        padding: 14px 16px;
        border: 1px solid #ececec;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
    }

    .rs-cart-toast-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #424750;
        font-family: Arial, sans-serif;
        font-size: 32px;
        font-weight: 300;
        line-height: 1;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }

    .rs-cart-toast-close:active {
        background-color: #f2f2f2;
        color: #232933;
    }

    .rs-cart-toast-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    .rs-cart-toast-title {
        color: #1fa64a;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.6;
        white-space: nowrap;
    }

    .rs-cart-toast-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        min-width: 128px;
        height: 40px;
        padding: 0 14px;
        border-radius: 999px;
        background: #f3f4f6;
        color: #424750;
        font-size: 13px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
    }

    .rs-cart-toast-link:hover,
    .rs-cart-toast-link:focus {
        background: #eceef1;
        color: #232933;
        text-decoration: none;
    }

    /* توجه: تیکه کامنت‌شده مربوط به مخفی‌کردن باکس خرید اصلی وودمارت در موبایل
       که قبلاً اینجا بود و استفاده نمی‌شد حذف شد. اگر لازم شد، این قانون را
       اضافه کنید:
       .single-product-page form.cart { display: none !important; } */
}

/* ==========================  کدهای سعید =========================== */
/* ==========================================================
   Rayan Set Standard SEO Style - Final Optimized Version
   ========================================================== */

:root {
    --seo-primary: #16205B;
    --seo-primary-soft: #F5F6FF;
    --seo-primary-softer: #F8FAFF; /* باکس خلاصه نهایی و سایر باکس‌ها */

    --seo-border: #D9E3F5; /* باکس خلاصه نهایی و سایر باکس‌ها */
    --seo-border-strong: #C7D5F0;
    --seo-border-gray: #DADDE2;

    --seo-text: #444A57;
    --seo-text-strong: #1E1E1E;
    --seo-text-soft: #707070;

    --seo-link: #1D4ED8;
    --seo-link-hover: #163EA8;

    --seo-success: #4CAF50;
    --seo-danger: #D32F2F;
    --seo-gray-mid: #5E5F7D;

    --seo-radius-sm: 8px;
    --seo-radius-md: 10px;
    --seo-radius-lg: 12px;

    --seo-space-1: 8px;
    --seo-space-2: 12px;
    --seo-space-3: 16px;
    --seo-space-4: 20px;
    --seo-space-5: 24px;
    --seo-space-6: 32px;

    --seo-shadow-soft: 0 2px 10px rgba(22, 32, 91, 0.04);
}

/* Base */
.category-seo-content {
    direction: rtl;
    text-align: right;
    line-height: 2;
    color: var(--seo-text);
    width: 100% !important;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.category-seo-content *,
.category-seo-content *::before,
.category-seo-content *::after {
    box-sizing: border-box;
}

/* Typography */
.category-seo-content h2 {
    margin: var(--seo-space-6) 0 var(--seo-space-3);
}

.category-seo-content h2:first-child {
    margin-top: 6px;
}

.category-seo-content h3 {
    margin: 28px 0 var(--seo-space-2);
}

.category-seo-content h2:has(+ .quick-spec-wrapper) {
    font-size: 20px !important;
    line-height: 1.5;
}

.category-seo-content p {
    margin: 0 0 18px;
    color: var(--seo-text);
    text-align: justify;
    text-justify: inter-word;
}

.category-seo-content a {
    color: var(--seo-link);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.category-seo-content a:hover {
    color: var(--seo-link-hover);
    text-decoration: underline;
}

/* Quick guide (Checklist) */
.seo-quick-guide-simple {
    margin: 26px 0;
    padding: 22px;
    background: var(--seo-primary-softer);
    border: 1px solid var(--seo-border);
    border-radius: var(--seo-radius-lg) !important;
    box-shadow: var(--seo-shadow-soft);
}

.seo-quick-guide-simple h3 {
    margin: 0 0 14px;
}

.seo-quick-guide-simple ul {
    margin: 0;
    padding-right: 0 !important;
    list-style: none !important;
}

.seo-quick-guide-simple li {
    position: relative;
    margin-bottom: 10px;
    padding-right: 30px;
    line-height: 1.9;
    color: var(--seo-text);
}

.seo-quick-guide-simple li::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 0;
    width: 18px;
    height: 18px;
    background-color: #4CAF50;
    mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

.trust-box {
    margin-top: 20px;
    border-top: 2px solid #eee;
    padding-top: 15px;
}

/* Table */
.seo-table-scroll-wrapper {
    width: 100%;
    margin: 22px 0;
    overflow-x: auto;
    background: var(--seo-primary-softer);
    border: 1px solid var(--seo-border);
    border-radius: var(--seo-radius-lg) !important;
    box-shadow: var(--seo-shadow-soft);
}

.seo-compare-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.seo-compare-table th,
.seo-compare-table td {
    padding: 14px 12px;
    border: 1px solid var(--seo-border);
    text-align: right;
    line-height: 1.9;
}

.seo-compare-table th {
    background: var(--seo-primary-soft);
    color: var(--seo-primary);
    font-weight: 800;
}

.seo-compare-table tr:nth-child(even) td {
    background: var(--seo-primary-softer);
}

/* Accordion */
.seo-accordion {
    margin-bottom: 12px;
    background: var(--seo-primary-softer);
    border: 1px solid var(--seo-border);
    border-radius: var(--seo-radius-lg) !important;
    box-shadow: var(--seo-shadow-soft);
    overflow: hidden;
}

.seo-accordion summary {
    padding: 16px 16px 16px 42px;
    cursor: pointer;
    font-weight: 700;
    color: var(--seo-primary);
    background: var(--seo-primary-softer);
    list-style: none;
    position: relative;
}

.seo-accordion summary::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 16px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #3366FF;
    border-left: 2px solid #3366FF;
    transform: rotate(-45deg);
    transition: 0.25s;
}

.seo-accordion[open] summary::after {
    transform: rotate(-135deg);
}

.seo-accordion .accordion-content {
    padding: 0 16px 16px;
}

/* Final Summary Box (خلاصه نهایی) */
.seo-final-summary-box {
    margin: 30px 0;
    padding: 18px 20px;
    background: var(--seo-primary-softer); /* معادل #F8FAFF */
    border: 1px solid var(--seo-border); /* معادل #D9E3F5 */
    border-right: 5px solid var(--seo-primary);
    border-radius: var(--seo-radius-lg) !important;
    box-shadow: var(--seo-shadow-soft);
}

/* Brand Grid */
.seo-brand-box {
    margin: 22px 0 26px;
    padding: 18px;
    background: var(--seo-primary-softer);
    border: 1px solid var(--seo-border);
    border-radius: var(--seo-radius-lg) !important;
}

.seo-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.seo-brand-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: var(--seo-primary-softer);
    border: 1px solid var(--seo-border);
    border-radius: var(--seo-radius-sm) !important;
    color: var(--seo-primary);
    font-weight: 700;
    text-decoration: none;
}

/* Quick Spec */
.quick-spec-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 16px 0 22px !important;
}

.quick-spec-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 58px !important;
    padding: 10px 14px !important;
    background: #F0F0F1 !important;
    border: none !important;
    border-radius: var(--seo-radius-md) !important;
    -webkit-border-radius: var(--seo-radius-md) !important;
    overflow: hidden !important;
    text-align: right !important;
}

.quick-spec-card .qs-label {
    margin: 0 0 4px 0 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: var(--seo-text-soft) !important;
    line-height: 1.2 !important;
}

.quick-spec-card .qs-value {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--seo-text-strong) !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
}

/* WooCommerce Additional Information */
.single-product .woocommerce-Tabs-panel--additional_information > * {
    max-height: none !important;
    overflow: visible !important;
}

.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes {
    margin-bottom: 0 !important;
}

/* Product Evaluation - Rayan Set (ارزیابی محصول) */
.rayan-product-evaluation {
    display: grid;
    gap: 24px;
    background-color: #FBFCFF; /* رنگ سفید بسیار ملایم با ته‌رنگ آبی */
    border: 1px solid #E4E6ED; /* خاکستری روشن */
    border-radius: 8px !important;
    padding: 24px;
    margin: 24px 0;
    direction: rtl;
}

/* Dynamic Grid Layout */
.rayan-product-evaluation:has(.pros-col):has(.cons-col):not(:has(.ratings-col)),
.rayan-product-evaluation.eval-two-cols {
    grid-template-columns: 1fr 1fr;
}

.rayan-product-evaluation:has(.ratings-col):not(:has(.pros-col)),
.rayan-product-evaluation.eval-full-width,
.rayan-product-evaluation:not(:has(.cons-col)):not(:has(.pros-col)) {
    grid-template-columns: 1fr;
}

.rayan-product-evaluation:has(.ratings-col):has(.pros-col):has(.cons-col) {
    grid-template-columns: 1.2fr 1fr 1fr;
}

/* Remove all internal vertical lines */
.evaluation-col,
.rayan-product-evaluation .evaluation-col,
.rayan-product-evaluation:has(.pros-col):has(.cons-col) .evaluation-col,
.rayan-product-evaluation:has(.ratings-col):has(.pros-col) .evaluation-col,
.rayan-product-evaluation:has(.ratings-col):has(.pros-col):has(.cons-col) .evaluation-col {
    border-left: none !important;
    padding-left: 0 !important;
}

/* Ratings */
.rating-item {
    margin-bottom: 16px;
}

.rating-item:last-child {
    margin-bottom: 0;
}

.rating-label {
    font-size: 14px;
    color: var(--seo-gray-mid);
    font-weight: 600;
    margin-bottom: 6px;
}

.rating-bar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-num {
    font-size: 14px;
    color: var(--seo-primary);
    font-weight: 700;
    width: 25px;
}

.rating-bar {
    flex-grow: 1;
    height: 8px;
    background-color: #E2E8F0;
    border-radius: 999px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: #3366FF;
    border-radius: 999px;
}

/* Titles and Lists */
.col-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
}

.title-pros {
    color: var(--seo-success);
}

.title-cons {
    color: var(--seo-danger);
}

.eval-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eval-list li {
    font-size: 14px;
    color: var(--seo-gray-mid);
    line-height: 1.6;
    margin-bottom: 12px;
    position: relative;
    padding-right: 20px;
}

.eval-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    width: 12px;
    height: 12px;
}

.list-pros li::before {
    background: url("data:image/svg+xml;utf8,<svg fill='%234CAF50' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z'/></svg>") no-repeat center;
}

.list-cons li::before {
    background: url("data:image/svg+xml;utf8,<svg fill='%23D32F2F' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z'/></svg>") no-repeat center;
}

/* Responsive Rules */
@media (max-width: 767px) {
    .quick-spec-wrapper {
        display: flex !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding-bottom: 10px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x proximity !important;
    }

    .quick-spec-card {
        flex: 0 0 45% !important;
        min-width: 0 !important;
        position: relative !important;
        padding-right: 14px !important;
        padding-left: 32px !important;
        scroll-snap-align: start !important;
        background: transparent !important;
        border: 1px solid #D1D5DB !important;
        border-radius: var(--seo-radius-md) !important;
    }

    .rayan-product-evaluation {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 16px;
    }

    .evaluation-col,
    .rayan-product-evaluation .evaluation-col {
        border-left: none !important;
        border-bottom: none !important;
        padding-left: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .quick-spec-card::before {
        content: "";
        position: absolute;
        left: 14px;
        top: 24px;
        width: 8px;
        height: 8px;
        border-left: 2px solid #000;
        border-bottom: 2px solid #000;
        transform: rotate(45deg);
        pointer-events: none;
        opacity: 1;
    }
}

/* Only animate rating bars inside the rating box */
.ratings-col .bar-fill {
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 1.1s ease;
    will-change: transform;
}

.ratings-col.is-visible .bar-fill {
    transform: scaleX(1);
}

.ratings-col .rating-item:nth-child(1) .bar-fill { transition-delay: 0.05s; }
.ratings-col .rating-item:nth-child(2) .bar-fill { transition-delay: 0.15s; }
.ratings-col .rating-item:nth-child(3) .bar-fill { transition-delay: 0.25s; }
.ratings-col .rating-item:nth-child(4) .bar-fill { transition-delay: 0.35s; }
.ratings-col .rating-item:nth-child(5) .bar-fill { transition-delay: 0.45s; }
.ratings-col .rating-item:nth-child(6) .bar-fill { transition-delay: 0.55s; }

/* جمع‌بندی/جدا کردن ردیف امتیاز نهایی داخل همان باکس، به‌همراه
   پس‌زمینه ملایم، رنگ سبز و نوار ضخیم‌تر برای حس «جمع‌بندی» */
.rayan-product-evaluation .rating-item.total-rating {
    box-sizing: border-box;
    margin-top: 12px;
    padding: 0 10px 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(30, 158, 90, .35);
    background: rgba(30, 158, 90, .06);
    border-radius: 12px !important;
}

/* رنگ سبز برای امتیاز نهایی */
.rayan-product-evaluation .rating-item.total-rating .bar-fill {
    background-color: #1E9E5A !important;
    box-shadow: 0 0 8px rgba(30, 158, 90, .30);
    border-radius: 999px !important;
}

.rayan-product-evaluation .rating-item.total-rating .rating-num,
.rayan-product-evaluation .rating-item.total-rating .rating-label strong {
    color: #1E9E5A !important;
    font-weight: 700;
}

/* ضخیم‌تر و تمیزتر شدن نوار امتیاز نهایی */
.rayan-product-evaluation .rating-item.total-rating .rating-bar {
    height: 10px !important;
    background-color: rgba(30, 158, 90, .10) !important;
    border: 1px solid rgba(30, 158, 90, .20) !important;
    border-radius: 999px !important;
    overflow: hidden;
}

/* جدول */
/* ============================================================
   Rayan Set Standard Style
   WooCommerce Product Attributes Table - Final Clean Fix
   رفع مشکل فاصله عمودی زیاد بین ردیف‌ها و ارتفاع بیش از حد باکس‌ها
   ============================================================ */

/* ---------- 1) رفع محدودیت‌های قالب که باعث حذف انتهای جدول می‌شود ---------- */
.single-product .woocommerce-tabs,
.single-product .woocommerce-Tabs-panel,
.single-product .woocommerce-Tabs-panel--additional_information,
.single-product .wd-tab-content,
.single-product .wd-more-desc,
.single-product .wd-read-more,
.single-product .woodmart-more-desc {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* ---------- 2) جدول اصلی (تضمین ساختار استاندارد جدول برای کارکرد صحیح border-spacing) ---------- */
.single-product table.shop_attributes {
    display: table !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 6px !important; /* فاصله عمودی واقعی و دقیق بین ردیف‌ها */
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    table-layout: fixed !important;
}

.single-product table.shop_attributes tbody {
    display: table-row-group !important;
}

/* ---------- 3) هر ردیف (حذف کامل مارجین‌ها و رفتارهای فلکس/بلاک پیش‌فرض قالب) ---------- */
.single-product table.shop_attributes tr {
    display: table-row !important;
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important; /* حذف مارجین پیش‌فرض قالب که باعث فاصله زیاد می‌شد */
    padding: 0 !important;
}

/* ---------- 4) سلول‌ها (تنظیم بهینه پدینگ و لایِن‌هایت برای کنترل ارتفاع کل باکس) ---------- */
.single-product table.shop_attributes th,
.single-product table.shop_attributes td {
    display: table-cell !important;
    background: #f8f9fa !important;
    border: 0 !important;
    padding: 10px 16px !important; /* کاهش پدینگ عمودی از ۱۲ به ۱۰ جهت ظریف‌تر شدن */
    vertical-align: middle !important;
    line-height: 1.6 !important; /* کاهش لایِن‌هایت از ۱.۹ به ۱.۶ برای کنترل بهینه ارتفاع */
    font-size: 13px !important;
    color: #444 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    white-space: normal !important;
    box-sizing: border-box !important;
}

/* ---------- 5) گرد شدن باکس‌ها به صورت ردیفی ---------- */
.single-product table.shop_attributes th {
    width: 240px !important;
    font-weight: 700 !important;
    color: #222 !important;
    text-align: right !important;
    border-radius: 12px 0 0 12px !important;
}

.single-product table.shop_attributes td {
    width: auto !important;
    text-align: right !important;
    border-radius: 0 12px 12px 0 !important;
    padding-right: 18px !important;
}

/* ---------- 6) حذف استایل‌های اضافی ووکامرس/قالب ---------- */
.single-product table.shop_attributes th::before,
.single-product table.shop_attributes th::after,
.single-product table.shop_attributes td::before,
.single-product table.shop_attributes td::after {
    display: none !important;
    content: none !important;
}

.single-product table.shop_attributes td p,
.single-product table.shop_attributes th p {
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   7) نسخه موبایل - رفع مشکل شکستن حرف‌به‌حرف
   چیدمان دوستونی حفظ می‌شود (نه بلوکی) تا ارتفاع ردیف‌ها زیاد نشود
   و دکمه "بیشتر" قالب که با max-height ثابت کار می‌کند، درست عمل کند
   ============================================================ */
@media (max-width: 600px) {
    .single-product table.shop_attributes th {
        width: 42% !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .single-product table.shop_attributes td {
        width: 58% !important;
        padding: 8px 10px !important;
        padding-right: 12px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
}