/**
 * Product Catalog Frontend Modern Stylesheet
 * استایل‌های مدرن و شیک کارت‌های کاتالوگ، صفحه تکی محصول و دکمه‌های استعلام
 */

/* ==========================================================================
   ۱. گرید کاتالوگ محصولات (Product Catalog Grid)
   ========================================================================== */

.hec-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin: 30px 0;
    direction: rtl;
}

.hec-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.hec-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

/* تصویر کارت */
.hec-card-thumb-link {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 80%; /* نسبت ابعاد استاندارد */
    background: #f8fafc;
    overflow: hidden;
}

.hec-card-thumb-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hec-product-card:hover .hec-card-thumb-link img {
    transform: scale(1.05);
}

/* برچسب روی عکس (Badge) */
.hec-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
    z-index: 2;
}

/* بدنه کارت */
.hec-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hec-card-category {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.hec-card-title {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.hec-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hec-card-title a:hover {
    color: #2563eb;
}

/* بخش قیمت کارت */
.hec-card-price-box {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hec-price-wrapper {
    display: flex;
    flex-direction: column;
}

.hec-price-amount {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
}

.hec-price-currency {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    margin-right: 4px;
}

.hec-price-old {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

/* نشان شیک تماس بگیرید */
.hec-call-for-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid #a7f3d0;
}

.hec-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hec-product-card:hover .hec-card-btn {
    background: #2563eb;
    color: #ffffff;
    transform: rotate(-45deg);
}

/* ==========================================================================
   ۲. بخش اختصاصی مشخصات در صفحه تکی محصول (Single Product Box)
   ========================================================================== */

.hec-single-product-meta-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.03);
    direction: rtl;
}

.hec-single-header-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.hec-single-header-info.no-contents {
    padding-bottom: 0 !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.hec-single-price-area {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hec-single-price-val {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
}

.hec-single-sku {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 600;
}

/* دکمه‌های اقدام و استعلام تماس و واتساپ */
.hec-single-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.hec-btn-call {
    flex: 1;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.hec-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.hec-btn-whatsapp {
    flex: 1;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
}

.hec-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

/* جدول ویژگی‌های فنی */
.hec-specs-table-wrapper {
    margin-top: 16px;
}

.hec-specs-table-wrapper h4 {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.hec-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    font-size: 13.5px;
}

.hec-specs-table tr:nth-child(even) {
    background: #f1f5f9;
}

.hec-specs-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.hec-specs-table td.spec-name {
    font-weight: 700;
    color: #475569;
    width: 35%;
}

.hec-specs-table td.spec-val {
    color: #0f172a;
    font-weight: 600;
}


/* ==========================================================================
   صفحه تکی محصول اختصاصی (مطابق با رفرنس عکس ۱)
   ========================================================================== */

.hec-single-product-page {
    background: #ffffff;
    padding: 30px 0 60px;
    direction: rtl;
    text-align: right;
    font-family: 'IRANYekanX', sans-serif;
}

.hec-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* نوار بالا و بردکرامب */
.hec-product-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.hec-breadcrumbs {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hec-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.hec-breadcrumbs a:hover {
    color: #cf2f71;
}

.hec-breadcrumbs .sep {
    color: #cbd5e1;
    font-size: 14px;
}

.hec-breadcrumbs .current {
    color: #0f172a;
    font-weight: 700;
}

.hec-top-actions {
    display: flex;
    gap: 8px;
}

.hec-icon-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.hec-icon-btn:hover {
    background: #ffffff;
    color: #cf2f71;
    border-color: #cf2f71;
    box-shadow: 0 4px 12px rgba(207,47,113,0.12);
}

/* ساختار ۲ ستونه اصلی */
.hec-product-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .hec-product-main-grid {
        grid-template-columns: 1fr;
    }
}

/* ستون خلاصه و محتوا (سمت چپ در RTL) */
.hec-product-summary-col {
    display: flex;
    flex-direction: column;
}

.hec-single-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

/* امتیاز ستاره‌ای */
.hec-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.hec-rating-count {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.hec-rating-score {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
}

.hec-stars-display {
    display: inline-flex;
    gap: 2px;
    color: #cbd5e1;
    font-size: 15px;
}

.hec-stars-display .is-filled {
    color: #f59e0b;
}

/* دسته‌بندی‌ها */
.hec-product-categories {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

.hec-product-categories .label {
    font-weight: 700;
    color: #334155;
    margin-left: 4px;
}

.hec-product-categories a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.hec-product-categories a:hover {
    color: #cf2f71;
}

/* توضیحات کوتاه */
.hec-short-description {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* بالت‌پوینت‌ها */
.hec-bullet-points {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hec-bullet-points li {
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hec-bullet-points .bullet-dot {
    color: #cf2f71;
    font-size: 18px;
    line-height: 1;
}

/* نشان‌های ۳ گانه اعتماد */
.hec-trust-badges-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}

.hec-trust-badge {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #cf2f71 !important;
}

.hec-trust-badge .badge-icon {
    color: #cf2f71;
    font-size: 17px;
    display: flex;
}

/* کادر اکشن کارت استعلام قیمت */
.hec-action-card {
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}

.hec-action-card .cta-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.hec-price-moq-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.hec-single-price-amount {
    font-size: 26px;
    font-weight: 900;
    color: #cf2f71;
}

.hec-single-price-unit {
    font-size: 13px;
    color: #64748b;
    margin-right: 4px;
}

.hec-call-badge {
    background: #ecfdf5;
    color: #059669;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hec-moq-box {
    font-size: 12.5px;
    color: #475569;
    background: #f8fafc;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.hec-branding-info {
    font-size: 12px;
    color: #2563eb;
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.hec-cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 500px) {
    .hec-cta-buttons {
        grid-template-columns: 1fr;
    }
}

.hec-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hec-cta-btn.btn-call {
    background: #cf2f71;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(207,47,113,0.3);
}

.hec-cta-btn.btn-call:hover {
    background: #b82461;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(207,47,113,0.4);
}

.hec-cta-btn.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}

.hec-cta-btn.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37,211,102,0.4);
}

/* ستون ویژوال و گالری (سمت راست در RTL) */
.hec-product-visuals-col {
    position: relative;
}

.hec-gallery-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    align-items: flex-start;
}

@media (max-width: 600px) {
    .hec-gallery-wrapper {
        flex-direction: column;
    }
}

.hec-main-image-wrap {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fafaf9;
    border: 1px solid #f1f5f9;
    box-shadow: 0 12px 32px rgba(15,23,42,0.06);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hec-main-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.hec-product-badge-float {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #cf2f71;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(207,47,113,0.35);
}

/* ستون عمودی تصاویر بندانگشتی (مشابه عکس ۱) */
.hec-vertical-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .hec-vertical-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
}

.hec-thumb-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #fafaf9;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    transition: all 0.2s ease;
}

.hec-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hec-thumb-item:hover,
.hec-thumb-item.is-active {
    border-color: #cf2f71;
    transform: scale(1.02);
}

.hec-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.65);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

/* بخش تب‌های پایین */
.hec-product-bottom-section {
    margin-top: 40px;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
}

.hec-tabs-nav {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 26px;
    overflow-x: auto;
}

.hec-tab-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    padding: 10px 18px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.hec-tab-btn.is-active {
    color: #cf2f71;
}

.hec-tab-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2.5px;
    background: #cf2f71;
    border-radius: 2px;
}

.hec-tab-content {
    display: none;
}

.hec-tab-content.is-active {
    display: block;
}

.hec-rich-content {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.8;
}

.hec-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.hec-features-grid .feature-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
}

.hec-features-grid .feature-item i {
    font-size: 22px;
    color: #cf2f71;
}

.hec-contents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.hec-contents-grid .content-box {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hec-contents-grid .content-box i {
    color: #10b981;
    font-size: 16px;
}

/* امتیازدهی تعاملی */
.hec-rate-box {
    background: #fafaf9;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.hec-rate-box h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.hec-rate-box p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 12px 0;
}

.hec-interactive-stars {
    display: inline-flex;
    gap: 8px;
    font-size: 26px;
    cursor: pointer;
    color: #cbd5e1;
}

.hec-interactive-stars .star-click {
    transition: transform 0.15s ease, color 0.15s ease;
}

.hec-interactive-stars .star-click:hover {
    transform: scale(1.2);
    color: #f59e0b !important;
}


/* ==========================================================================
   ۱۱. اسلایدر بنر هیرو ریسپانسیو آوین (Hero Banner Slider - 1284x560 & 380x500)
   ========================================================================== */

.avin-hero-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1282px;
    margin: 0 auto 32px auto !important;
    direction: rtl;
    user-select: none;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    overflow: hidden !important;
}

.avin-hero-slider {
    position: relative;
    width: 100%;
    max-width: 1284px;
    margin: 0 auto;
    aspect-ratio: 1284 / 560;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.avin-hero-slider-wrapper.is-dragging,
.avin-hero-slider-wrapper.is-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
}

.avin-hero-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.avin-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
    z-index: 1;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.avin-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.avin-hero-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.avin-hero-picture {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* تصویر اسلایدر بدون بکگراند، بدون سایه و با ابعاد هماهنگ */
.avin-hero-img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* دکمه‌های ناوبری فلش مینیمال بدون دایره، بدون بکگراند، بدون سایه، بدون بوردر، ۱۰۰٪ نمایان و سرخابی */
.avin-slider-nav,
button.avin-slider-nav,
.avin-hero-slider button.avin-slider-nav,
.avin-hero-slider-wrapper button.avin-slider-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #cf2f71 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    line-height: 1 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.avin-slider-nav svg,
button.avin-slider-nav svg {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    fill: none !important;
    stroke: #cf2f71 !important;
    stroke-width: 3.5px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
    transition: transform 0.2s ease, stroke 0.2s ease !important;
}

/* چسبیدن دکمه‌ها دقیقاً به لبه‌های راست و چپ به صورت پیش‌فرض */
.avin-slider-prev,
button.avin-slider-prev {
    right: 12px !important;
}

.avin-slider-next,
button.avin-slider-next {
    left: 12px !important;
}

.avin-slider-nav:hover,
.avin-slider-nav:focus,
button.avin-slider-nav:hover,
button.avin-slider-nav:focus {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.avin-slider-nav:hover svg,
button.avin-slider-nav:hover svg {
    transform: scale(1.18) !important;
    stroke: #a21a50 !important;
}

.avin-slider-nav:active svg,
button.avin-slider-nav:active svg {
    transform: scale(0.92) !important;
}

.avin-slider-nav:active,
button.avin-slider-nav:active {
    transform: translateY(-50%) scale(0.92) !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    color: #cf2f71 !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* نشانگرهای نقطه‌ای/پیل پایین اسلایدر */
.avin-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    align-items: center;
}

.avin-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.65);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.avin-slider-dot.is-active {
    width: 24px;
    background: #cf2f71;
    box-shadow: 0 2px 8px rgba(207, 47, 113, 0.4);
}

/* ==========================================================================
   ۱۲. اسلایدر و ویترین محصولات (Avin / YK Showcase Slider)
   ساختار مطابق کدهای رفرنس: کارت دسته‌بندی با عکس در لایه زیرین، کارت محصول با هاور گالری و اسکرول بی‌نهایت
   ========================================================================== */

.yk-slider {
    --card-w: 220px;
    --card-h: 310px;
    --gap: 16px;
    max-width: 1282px;
    margin: 30px auto;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    direction: rtl;
    overflow: visible;
    padding: 0 !important;
    font-family: 'IRANYekanX', sans-serif;
    box-sizing: border-box;
    box-shadow: none !important;
}

/* ۱. کارت دسته‌بندی شاخص در سمت راست اسلایدر */
.yk-category {
    width: 270px;
    min-width: 270px;
    height: 310px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    margin-bottom: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    box-shadow: none !important;
}

/* عکس محصول شاخص (پاوربانک) در لایه زیرین کارت سبز بدون کات خوردن */
.yk-category__image {
    position: absolute;
    z-index: 1;
    width: var(--yk-side-img-w, 185px);
    height: auto;
    object-fit: contain;
    left: 50%;
    right: auto;
    transform: translateX(calc(-50% + var(--yk-side-image-horiz, 0px))) scale(var(--yk-side-image-scale, 1));
    bottom: var(--yk-side-image-bottom, 92px);
    filter: none !important;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.yk-category:hover .yk-category__image {
    transform: translateY(-5px) scale(1.02);
}

/* باکس کارت سبز رنگ شیشه‌ای در لایه رویی (عکس زیر این لایه قرار دارد) */
.yk-category__card {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 135px;
    background: rgba(227, 239, 217, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px 12px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: none !important;
}

.yk-category__content {
    width: 100%;
    margin-top: 4px;
}

.yk-category__eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.7);
    color: #64748b;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.yk-category__title {
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    margin: 0 0 6px;
    color: #2c2b2a;
    font-family: 'IRANYekanX', sans-serif;
}

.yk-category__link {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.yk-category__link:hover {
    color: #cf2f71;
}

/* دکمه‌های ناوبری روی کارت دسته‌بندی با آیکون‌های وکتور دقیق */
.yk-category__controls {
    position: absolute;
    bottom: 12px;
    right: 20px;
    left: auto;
    transform: none;
    display: flex;
    gap: 8px;
    direction: ltr;
    z-index: 5;
}

.yk-arrow {
    width: 28px;
    height: 28px;
    border: 1.5px solid #f0cbd9;
    background: #ffffff;
    border-radius: 50%;
    color: #cf2f71;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.22s ease;
    outline: none;
    box-shadow: none !important;
}

.yk-arrow svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    display: block;
}

.yk-arrow:hover,
.yk-arrow:focus,
.yk-arrow:active,
.yk-category__controls button:hover,
.yk-category__controls button:focus,
.yk-category__controls button:active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #cf2f71 !important;
    color: #cf2f71 !important;
    transform: scale(1.08) !important;
}

/* ۲. ترک کاروسل محصولات */
.yk-track {
    display: flex;
    align-items: flex-end;
    gap: var(--gap, 16px);
    direction: rtl;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
    padding: 25px 2px 25px 8px;
    cursor: grab;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
    box-shadow: none !important;
}

.yk-track::-webkit-scrollbar {
    display: none;
}

.yk-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
    -webkit-user-select: none;
}

/* ۳. کارت هر محصول - نمایش دقیقاً ۴ محصول در صفحه دسکتاپ */
.yk-product {
    height: var(--card-h, 310px);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff;
}

/* دسکتاپ: دقیقاً ۴ محصول بدون بیرون‌زدگی محصول پنجم */
@media (min-width: 1025px) {
    .yk-track .yk-product,
    .ykpc-track .yk-product {
        flex: 0 0 calc((100% - (3 * var(--gap, 16px))) / 4);
        width: calc((100% - (3 * var(--gap, 16px))) / 4);
        min-width: calc((100% - (3 * var(--gap, 16px))) / 4);
        max-width: calc((100% - (3 * var(--gap, 16px))) / 4);
    }
}

/* تبلت: ۳ محصول */
@media (min-width: 768px) and (max-width: 1024px) {
    .yk-track .yk-product,
    .ykpc-track .yk-product {
        flex: 0 0 calc((100% - (2 * var(--gap, 14px))) / 3);
        width: calc((100% - (2 * var(--gap, 14px))) / 3);
        min-width: calc((100% - (2 * var(--gap, 14px))) / 3);
    }
}

/* کادر تصویر محصول - لینک فعال و قابل کلیک راحت */
.yk-product__visual-link {
    display: block;
    position: absolute;
    inset: 0 !important;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    border-radius: 20px;
    overflow: hidden;
}

.yk-product__visual {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    box-shadow: none !important;
}

.yk-product__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease;
}

.yk-product__image--secondary {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.yk-product:hover .yk-product__image {
    transform: scale(1.045);
}

.yk-product:hover .yk-product__image--primary.has-gallery {
    opacity: 0;
}

.yk-product:hover .yk-product__image--secondary {
    opacity: 1;
    transform: scale(1.045);
}

/* برچسب‌های گوشه کارت بدون سایه اضافی */
.yk-product__badge {
    position: absolute;
    top: 11px;
    right: 11px;
    background: #e51b36;
    color: #ffffff;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    z-index: 5;
    font-family: 'IRANYekanX', sans-serif;
    box-shadow: none !important;
}

.yk-product__badge--pink {
    background: #d72b79;
}

.yk-product__badge--blue {
    background: #cf2f71;
}

/* کارت شیشه‌ای نیمه‌شفاف با افکت واقعی بلور و ارتفاع یکدست و ثابت */
.yk-product__info {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    z-index: 3;
    height: 122px !important;
    min-height: 122px !important;
    max-height: 122px !important;
    border-radius: 18px !important;
    background: rgba(255, 240, 246, 0.85) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    padding: 8px 10px 8px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

.yk-product__name {
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 700;
    color: #393536;
    margin: 0;
    min-height: 40px;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IRANYekanX', sans-serif;
    overflow: hidden;
    width: 100%;
}

.yk-product__name a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 4;
}

.yk-product:hover .yk-product__name a,
.yk-product__name a:hover {
    color: #cf2f71 !important;
}

/* باکس قیمت با ارتفاع ثابت و بدون سایه */
.yk-product__pricebox {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 6px !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.yk-product__oldprice {
    font-size: 10.5px;
    color: #ef233c;
    text-decoration: line-through;
    line-height: 1.2;
    font-weight: 600;
}

.yk-product__price {
    font-size: 14.5px;
    color: #0a9d32;
    font-weight: 800;
    line-height: 1.3;
}

/* دکمه تماس بگیرید */
.yk-product__contact {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    background: #cf2f71 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(207, 47, 113, 0.22) !important;
}

.yk-product__contact:hover {
    background: #a91d5b;
    transform: translateY(-1px);
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .yk-slider {
        gap: 15px;
    }
    .yk-category {
        width: 230px;
        min-width: 230px;
    }
    .yk-category__image {
        width: 155px;
        height: 195px;
        right: 35px;
        bottom: 85px;
    }
}

@media (max-width: 768px) {
    .yk-slider {
        --gap: 12px;
        gap: 12px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        flex-direction: column;
        align-items: stretch;
    }
    .yk-category {
        width: 100%;
        min-width: 100%;
        height: 130px;
        margin-bottom: 30px;
    }
    .yk-category__image {
        width: 135px;
        height: 165px;
        right: 25px;
        bottom: 75px;
    }
    .yk-category__card {
        height: 120px;
        padding: 0 16px 10px;
    }
    .yk-category__title {
        font-size: 18px;
    }
    .yk-category__eyebrow {
        font-size: 9.5px;
    }
    .yk-track .yk-product,
    .ykpc-track .yk-product {
        flex: 0 0 calc((100% - var(--gap, 12px)) / 2);
        width: calc((100% - var(--gap, 12px)) / 2);
        min-width: 165px;
        height: 275px;
    }
    .yk-product__info {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    z-index: 3;
    height: 122px !important;
    min-height: 122px !important;
    max-height: 122px !important;
    border-radius: 18px !important;
    background: rgba(255, 240, 246, 0.85) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    padding: 8px 10px 8px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}
    .yk-product__name {
        font-size: 12px;
        min-height: 34px;
        max-height: 34px;
    }
    .yk-product__pricebox,
    .yk-product__contact {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    background: #cf2f71 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(207, 47, 113, 0.22) !important;
}
    .yk-product__price {
        font-size: 13px;
    }
    .yk-product__contact {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    background: #cf2f71 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(207, 47, 113, 0.22) !important;
}
}


/* ==========================================================================

   ۷. CUSTOM USER STYLES (استایل‌های اختصاصی خود را در این بخش بنویسید)

   ========================================================================== */



/* ۱. تثبیت قطعی ابعاد تصویر لوگو در هدر، فوتر و ویجت‌های المنتور (جلوگیری از بزرگ شدن لوگو) */

/* برچسب‌های وضعیت محصول دقیقاً منطبق با رفرنس */
.yk-product__badge {
    position: absolute !important;
    top: 10px !important;
    padding: 4px 11px !important;
    border-radius: 20px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    z-index: 5 !important;
    font-family: 'IRANYekanX', sans-serif !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    color: #ffffff !important;
}
.yk-product__badge--outofstock,
.yk-product__badge:not(.yk-product__badge--pink):not(.yk-product__badge--blue) {
    left: 10px !important;
    right: auto !important;
    background: #e11d48 !important;
}
.yk-product__badge--pink {
    right: 10px !important;
    left: auto !important;
    background: #cf2f71 !important;
}

/* === AVIN / YK CUSTOM POST CAROUSEL CSS === */

/* ==========================================================================
   ماژول اسلایدر محصولات آوین (Avin / YK Custom Post Carousel)
   ========================================================================== */
.ykpc {
    padding: 0 !important;
    --yk-gap: 16px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, min(23%, 310px)) minmax(0, 1fr);
    gap: clamp(18px, 2vw, 32px);
    width: 100%;
    direction: rtl;
    align-items: stretch;
    isolation: isolate;
    font-family: 'IRANYekanX', 'IranYekanX', Tahoma, sans-serif !important;
}

.ykpc * {
    box-sizing: border-box;
    font-family: 'IRANYekanX', 'IranYekanX', Tahoma, sans-serif !important;
}

.ykpc-side {
    position: relative;
    min-width: 0;
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 12px 0;
    isolation: isolate;
}

.ykpc-side-shape {
    position: absolute;
    inset: auto 0 0;
    height: 66%;
    z-index: 0;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .025));
}

.ykpc-side-shape svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.ykpc-side-shape path {
    fill: var(--yk-side-bg);
}

.ykpc-side-image {
    position: absolute;
    z-index: 1;
    bottom: var(--yk-side-image-bottom, 42%);
    left: 50%;
    transform: translateX(-50%);
    width: var(--yk-side-img-w, 58%);
    height: var(--yk-side-img-h, 240px);
    max-height: 72%;
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .16));
}

.ykpc-side-content {
    clip-path: none;
    border-radius: var(--yk-side-radius, 28px);
    position: relative;
    overflow: hidden;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 190' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M28 0H472Q500 0 500 28V162Q500 190 472 190H330C300 190 290 168 250 168C210 168 200 190 170 190H28Q0 190 0 162V28Q0 0 28 0Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 190' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M28 0H472Q500 0 500 28V162Q500 190 472 190H330C300 190 290 168 250 168C210 168 200 190 170 190H28Q0 190 0 162V28Q0 0 28 0Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: 2;
    width: 100%;
    min-height: var(--yk-side-panel-h, 190px);
    padding: 24px 18px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    background: var(--yk-side-bg);
    backdrop-filter: blur(var(--yk-side-blur, 8px));
    -webkit-backdrop-filter: blur(var(--yk-side-blur, 8px));
}

.ykpc-side-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 13px;
    margin-bottom: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .62);
    color: var(--yk-side-text);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.ykpc-side-content h2 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: var(--yk-side-title) !important;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
}

.ykpc-side-link {
    color: var(--yk-side-text) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.ykpc-side-link:hover {
    color: #cf2f71 !important;
}

/* دکمه‌های ناوبری فلش - قفل قطعی رنگ سفید بدون هیچ تغییر رنگ در هاور و کلیک */
.ykpc-side-controls {
    position: absolute;
    z-index: 4;
    left: 16px;
    bottom: 12px;
    display: flex;
    gap: 8px;
    direction: ltr;
}

.ykpc-side-controls button,
button.ykpc-prev,
button.ykpc-next {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 1.5px solid var(--yk-arrow-color, #cf2f71) !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08) !important;
    width: var(--yk-arrow-size, 38px) !important;
    height: var(--yk-arrow-size, 38px) !important;
    min-width: var(--yk-arrow-size, 38px) !important;
    min-height: var(--yk-arrow-size, 38px) !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--yk-arrow-color, #cf2f71) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ykpc-side-controls button:hover,
.ykpc-side-controls button:focus,
.ykpc-side-controls button:active,
button.ykpc-prev:hover,
button.ykpc-prev:focus,
button.ykpc-prev:active,
button.ykpc-next:hover,
button.ykpc-next:focus,
button.ykpc-next:active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: var(--yk-arrow-color, #cf2f71) !important;
    border-color: var(--yk-arrow-color, #cf2f71) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(207, 47, 113, 0.22) !important;
}

.ykpc-side-controls button:active,
button.ykpc-prev:active,
button.ykpc-next:active {
    transform: scale(0.94) !important;
}

.ykpc-side-controls button svg {
    stroke: var(--yk-arrow-color, #cf2f71) !important;
    fill: none !important;
    pointer-events: none !important;
}

/* بدنه اصلی کاروسل و آیتم‌های محصولات - هماهنگ با موتور اسکرول بومی و سخت‌افزاری */
.ykpc-main,
.ykpc-viewport {
    display: flex !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    overflow: visible !important;
    width: 100% !important;
}

.ykpc-track {
    display: flex !important;
    align-items: flex-end !important;
    gap: var(--yk-gap, 16px) !important;
    direction: rtl !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    padding: 25px 2px 25px 8px !important;
    cursor: grab !important;
    touch-action: pan-y !important;
    overscroll-behavior-x: contain !important;
    box-shadow: none !important;
    transform: none !important;
    position: relative !important;
}

.ykpc-track::-webkit-scrollbar {
    display: none !important;
}

.ykpc-track.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* کارت محصول یکپارچه - در دسکتاپ دقیقاً ۴ محصول هم‌ارتفاع */
.ykpc-card {
    position: relative;
    flex: 0 0 calc((100% - ((var(--yk-desktop-count, 4) - 1) * var(--yk-gap, 16px))) / var(--yk-desktop-count, 4));
    width: calc((100% - ((var(--yk-desktop-count, 4) - 1) * var(--yk-gap, 16px))) / var(--yk-desktop-count, 4));
    min-width: calc((100% - ((var(--yk-desktop-count, 4) - 1) * var(--yk-gap, 16px))) / var(--yk-desktop-count, 4));
    height: var(--yk-image-h, 380px);
    border-radius: var(--yk-card-radius, 24px);
    overflow: hidden;
    isolation: isolate;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ykpc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
}

.ykpc-image-link {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: var(--yk-card-radius, 24px);
    background: #f8fafc;
    z-index: 0;
}

.ykpc-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.ykpc-card:hover .ykpc-product-image {
    transform: scale(1.05);
}

.ykpc-no-image {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

/* برچسب‌های وضعیت گوشه بالای کارت */
.ykpc-product-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--yk-badge-bg, #be185d);
    color: var(--yk-badge-color, #ffffff);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.ykpc-product-badge.is-outofstock {
    background: #dc2626 !important;
}

/* کارت شیشه‌ای نیمه‌شفاف شناور روی پایین عکس محصول */
.ykpc-info {
    position: absolute;
    z-index: 2;
    right: calc((100% - var(--yk-info-width, 92%)) / 2);
    left: calc((100% - var(--yk-info-width, 92%)) / 2);
    bottom: var(--yk-info-bottom, 12px);
    width: var(--yk-info-width, 92%);
    min-height: var(--yk-info-min-h, 125px);
    padding: 12px 10px 10px;
    border-radius: 20px;
    background: var(--yk-info-bg);
    backdrop-filter: blur(var(--yk-info-blur, 14px));
    -webkit-backdrop-filter: blur(var(--yk-info-blur, 14px));
    border: 1px solid rgba(255, 255, 255, .8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.ykpc-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    min-height: 38px;
    max-height: 38px;
    color: var(--yk-info-color, #1e293b) !important;
    text-decoration: none !important;
    font-size: var(--yk-title-size, 14px);
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    transition: color 0.25s ease;
}

.ykpc-title:hover {
    color: #cf2f71 !important;
}

/* کپسول قیمت یا دکمه تماس با ارتفاع کاملاً یکدست */
.ykpc-price-area {
    width: 100%;
    min-height: 48px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.ykpc-old-price {
    color: var(--yk-old-color, #e11d48);
    font-size: 11px;
    line-height: 1.2;
    text-decoration: line-through;
    font-weight: 600;
}

.ykpc-price {
    color: var(--yk-price-color, #16a34a);
    font-size: var(--yk-price-size, 15px);
    font-weight: 800;
    line-height: 1.3;
}

.ykpc-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 48px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--yk-contact-bg, #cf2f71);
    color: var(--yk-contact-color, #ffffff) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.ykpc-contact:hover,
.ykpc-contact:focus {
    background: #a21a50 !important;
    color: #ffffff !important;
}

.ykpc-empty {
    width: 100%;
    padding: 25px;
    text-align: center;
    background: #f8fafc;
    border-radius: 12px;
    color: #64748b;
}

/* ریسپانسیو تبلت و دسکتاپ متوسط: جلوگیری از کوچک شدن ستون کناری و تداخل دکمه‌ها */
@media (max-width: 1024px) {
    .ykpc {
        --yk-image-h: var(--yk-image-h-tablet, 300px);
        grid-template-columns: minmax(280px, 32%) minmax(0, 1fr);
    }
    .ykpc-card {
        flex: 0 0 calc((100% - (var(--yk-tablet-count, 2) - 1) * var(--yk-gap, 16px)) / var(--yk-tablet-count, 2));
        width: calc((100% - (var(--yk-tablet-count, 2) - 1) * var(--yk-gap, 16px)) / var(--yk-tablet-count, 2));
    }
}

@media (max-width: 860px) {
    .ykpc {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .ykpc-side {
        order: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 220px !important;
        padding: 0 10px !important;
    }
    .desktop-shape {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
    }
}

/* ریسپانسیو موبایل */
@media (max-width: 767px) {
    .ykpc {
        --yk-image-h: var(--yk-image-h-mobile, 260px);
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .ykpc-side {
        order: 0 !important;
        width: 100% !important;
        min-height: 0 !important;
        height: 210px !important;
        flex: 0 0 210px !important;
        padding: 0 10px !important;
    }
    .ykpc-side-shape {
        height: 68% !important;
        inset: auto 0 0 !important;
    }
    .ykpc-side-image {
        height: auto;
        max-height: none;
        width: var(--yk-side-img-w, 65%);
        bottom: var(--yk-side-image-bottom, 36%);
    }
    .ykpc-side-content {
        min-height: 0 !important;
        height: 118px !important;
        padding: 14px 14px 26px !important;
        justify-content: flex-end !important;
        border-radius: 22px !important;
    }
    .ykpc-side-content h2 {
        font-size: clamp(20px, 6vw, 24px) !important;
        margin: 0 0 6px !important;
    }
    .ykpc-side-badge {
        font-size: 10px !important;
        padding: 3px 9px !important;
        margin-bottom: 4px !important;
    }
    .ykpc-side-link {
        font-size: 12px !important;
    }
    .ykpc-side-controls {
        left: 12px !important;
        bottom: 6px !important;
        gap: 6px !important;
    }
    .ykpc-side-controls button {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    .ykpc-main,
    .ykpc-viewport {
        order: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        display: flex !important;
    }
    .ykpc-card {
        flex: 0 0 calc((100% - (var(--yk-mobile-count, 2) - 1) * var(--yk-gap, 16px)) / var(--yk-mobile-count, 2)) !important;
        width: calc((100% - (var(--yk-mobile-count, 2) - 1) * var(--yk-gap, 16px)) / var(--yk-mobile-count, 2)) !important;
        min-width: calc((100% - (var(--yk-mobile-count, 2) - 1) * var(--yk-gap, 16px)) / var(--yk-mobile-count, 2)) !important;
        height: var(--yk-image-h, 260px) !important;
    }
    .ykpc-info {
        right: 6% !important;
        left: 6% !important;
        width: 88% !important;
        padding: 9px 7px 8px !important;
        border-radius: 16px !important;
    }
    .ykpc-title {
        font-size: 12.5px !important;
    }
    .ykpc-price-area {
        min-height: 42px !important;
        padding: 4px 6px !important;
    }
    .ykpc-price {
        font-size: 13.5px !important;
    }
    .ykpc-contact {
        min-height: 42px !important;
        font-size: 12px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ykpc-track {
        transition: none !important;
    }
}

/* ==========================================================================
   قوانین نهایی و بازنویسی قطعی اسلایدر محصولات آوین (نسخه 3.8.7)
   ۱. تمامی برچسب‌ها دقیقاً در سمت چپ بالا
   ۲. کارت اطلاعات شیشه‌ای در پایین‌ترین موقعیت
   ۳. حذف کامل تمامی سایه‌ها در کل کاروسل
   ۴. دقیقاً ۴ محصول کامل در دسکتاپ و ۲ محصول کامل در موبایل بدون برش نیمه
   ۵. قفل قطعی عدم تغییر رنگ دکمه‌های چپ و راست در هاور و کلیک
   ========================================================================== */

/* حذف قطعی تمامی سایه‌ها */
.yk-slider,
.yk-slider *,
.yk-product,
.yk-product *,
.yk-category,
.yk-category *,
.ykpc,
.ykpc * {
    box-shadow: none !important;
    filter: none !important;
}

/* تمام برچسب‌های وضعیت محصول (تخفیف، ناموجود، جدید) ۱۰۰٪ در سمت چپ بالا */
.yk-slider .yk-product__badge,
.yk-slider .yk-product__badge--outofstock,
.yk-slider .yk-product__badge--pink,
.yk-slider .yk-product__badge--blue,
.ykpc .ykpc-product-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    margin: 0 !important;
}

/* تصویر پس‌زمینه محصول کل کارت را بدون فاصله پوشش می‌دهد */
.yk-product__visual-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.yk-product__visual {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: none !important;
    box-shadow: none !important;
}

.yk-product__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
}

/* کارت شیشه‌ای مشخصات در پایین‌ترین موقعیت بدون پوشاندن تصویر محصول */
.yk-product__info {
    position: absolute !important;
    bottom: 0px !important;
    left: 6px !important;
    right: 6px !important;
    width: calc(100% - 12px) !important;
    z-index: 3 !important;
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    border-radius: 16px !important;
    background: rgba(255, 240, 246, 0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    padding: 6px 8px 6px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.yk-product__name {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: #27272a !important;
    margin: 0 !important;
    min-height: 36px !important;
    max-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    width: 100% !important;
    text-shadow: none !important;
}

.yk-product__name a {
    color: inherit !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.25s ease !important;
}

.yk-product:hover .yk-product__name a,
.yk-product__name a:hover {
    color: #cf2f71 !important;
}

.yk-product__pricebox {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 6px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.yk-product__oldprice {
    font-size: 10.5px !important;
    color: #e53935 !important;
    text-decoration: line-through !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}

.yk-product__price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #00875a !important;
    line-height: 1.25 !important;
}

.yk-product__contact {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 12px !important;
    background: #cf2f71 !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* نمایش دقیقاً ۴ محصول کامل در دسکتاپ و ۲ محصول کامل در موبایل بدون برش نیمه */
.yk-slider .yk-track {
    padding: 0 !important;
    gap: 16px !important;
    scroll-snap-type: x mandatory !important;
    box-shadow: none !important;
}

@media (min-width: 1025px) {
    .yk-slider .yk-product {
        flex: 0 0 calc((100% - 48px) / 4) !important;
        width: calc((100% - 48px) / 4) !important;
        min-width: calc((100% - 48px) / 4) !important;
        max-width: calc((100% - 48px) / 4) !important;
        margin: 0 !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .yk-slider .yk-track {
        gap: 14px !important;
    }
    .yk-slider .yk-product {
        flex: 0 0 calc((100% - 28px) / 3) !important;
        width: calc((100% - 28px) / 3) !important;
        min-width: calc((100% - 28px) / 3) !important;
        max-width: calc((100% - 28px) / 3) !important;
        scroll-snap-align: start !important;
    }
}

@media (max-width: 767px) {
    .yk-slider .yk-track {
        gap: 12px !important;
        padding: 0 !important;
    }
    .yk-slider .yk-product {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        width: calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
        margin: 0 !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }
    .yk-slider .yk-product__info {
        height: 102px !important;
        min-height: 102px !important;
        max-height: 102px !important;
        border-radius: 14px !important;
        padding: 4px 6px 6px !important;
        bottom: 0px !important;
    }
    .yk-slider .yk-product__name {
        font-size: 11.5px !important;
        min-height: 32px !important;
        max-height: 32px !important;
    }
    .yk-slider .yk-product__pricebox,
    .yk-slider .yk-product__contact {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }
    .yk-slider .yk-product__price {
        font-size: 13px !important;
    }
    .yk-slider .yk-product__contact {
        font-size: 12px !important;
    }
}

/* قفل قطعی دکمه‌های ناوبری اسلایدر بدون هیچ‌گونه تغییر رنگ پس‌زمینه در کلیک و هاور */
.yk-slider .yk-arrow,
.yk-slider .yk-arrow:hover,
.yk-slider .yk-arrow:focus,
.yk-slider .yk-arrow:active,
.yk-slider .yk-category__controls button,
.yk-slider .yk-category__controls button:hover,
.yk-slider .yk-category__controls button:focus,
.yk-slider .yk-category__controls button:active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cf2f71 !important;
    color: #cf2f71 !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.yk-slider .yk-arrow svg {
    stroke: #cf2f71 !important;
}

/* ==========================================================================
   قوانین جامع و دقیق واکنش‌گرایی، اسلایدر هیرو، دسته‌بندی‌ها و کاروسل آوین (نسخه 3.8.8.1)
   منطبق ۱۰۰٪ با رفرنس‌های ارسالی کاربر (رفرنس ۱، ۲ و ۳)
   ۱. اسلایدر هیرو بنر در موبایل با حفظ نسبت عمودی بنر موبایل و دکمه‌های ناوبری استاندارد
   ۲. درگ و اسلاید لمسی روان دسته‌بندی‌های دایره‌ای آوین در موبایل و دسکتاپ
   ۳. کاروسل محصولات در موبایل منطبق کامل با رفرنس ۳ (کارت پاوربانک در بالا و ۲ کارت محصول خوش‌قواره در پایین)
   ۴. کنترل‌های جدید المنتور جهت جابجایی افقی/عمودی و تغییر ابعاد عکس شاخص بنر توسط ادمین
   ========================================================================== */

/* حذف قطعی تمامی سایه‌ها در کل کاروسل */
.yk-slider,
.yk-slider *,
.yk-product,
.yk-product *,
.yk-category,
.yk-category *,
.ykpc,
.ykpc * {
    box-shadow: none !important;
    filter: none !important;
}

/* ۱. اسلایدر بنر هیرو در نمایشگرهای موبایل (زیر ۷۶۸ پیکسل) - رفرنس ۱ */
@media (max-width: 767px) {
    .avin-hero-slider-wrapper {
        margin: 0 auto 30px auto !important;
        clear: both !important;
        overflow: hidden !important;
    }

    .avin-hero-slider {
        aspect-ratio: 380 / 500 !important;
        width: 100% !important;
        height: auto;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .avin-hero-track,
    .avin-hero-slide,
    .avin-hero-picture {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    .avin-hero-img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    .avin-hero-slider button.avin-slider-nav,
    .avin-hero-slider-wrapper button.avin-slider-nav {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }

    .avin-hero-slider button.avin-slider-nav svg,
    .avin-hero-slider-wrapper button.avin-slider-nav svg {
        width: 20px !important;
        height: 20px !important;
    }

    .avin-hero-slider button.avin-nav-prev,
    .avin-hero-slider button.avin-slider-prev,
    .avin-hero-slider-wrapper button.avin-nav-prev,
    .avin-hero-slider-wrapper button.avin-slider-prev {
        right: 8px;
    }

    .avin-hero-slider button.avin-nav-next,
    .avin-hero-slider button.avin-slider-next,
    .avin-hero-slider-wrapper button.avin-nav-next,
    .avin-hero-slider-wrapper button.avin-slider-next {
        left: 8px;
    }
}

/* ۲. استایل‌های اسلاید لمسی دسته‌بندی‌های دایره‌ای آوین */
.hec-cat-container {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin-top: 10px !important;
    overflow-x: clip !important;
}

.hec-cat-track {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    scroll-snap-type: x mandatory !important;
    cursor: grab !important;
    padding: 10px 4px 18px !important;
    gap: 16px !important;
}

.hec-cat-track::-webkit-scrollbar {
    display: none !important;
}

.hec-cat-track .hec-cat-item {
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
}

@media (max-width: 767px) {
    .hec-cat-track {
        gap: 12px !important;
        padding: 8px 4px 14px !important;
        touch-action: pan-x !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .hec-cat-track .hec-cat-item {
        flex: 0 0 calc((100% - 24px) / 3.4) !important;
        width: calc((100% - 24px) / 3.4) !important;
        min-width: calc((100% - 24px) / 3.4) !important;
    }

    .hec-cat-card__media {
        width: var(--cat-circle-m, 72px) !important;
        max-width: min(var(--cat-circle-m, 72px), 100%) !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        margin: 0 auto 8px !important;
    }

    .hec-cat-card__img {
        width: 65%;
        height: 65%;
        max-width: 65%;
        max-height: 65%;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        margin: auto !important;
        display: block !important;
    }

    .hec-cat-card__title {
        font-size: var(--cat-t-size-m, 12px) !important;
        line-height: 1.3 !important;
    }
}

/* ۳. کاروسل محصولات در دسکتاپ (دقیقاً ۴ محصول کامل) */
.yk-slider {
    --card-w: 260px;
    --card-h: 340px;
    --gap: 16px;
    align-items: flex-end !important;
}

.yk-category {
    height: var(--card-h, 340px) !important;
}

.yk-slider .yk-track {
    padding: 0 !important;
    gap: 16px !important;
    scroll-snap-type: x mandatory !important;
    box-shadow: none !important;
}

.yk-product,
.ykpc-card {
    position: relative !important;
    height: var(--card-h, 340px) !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

@media (min-width: 1025px) {
    .yk-slider .yk-product {
        flex: 0 0 calc((100% - 48px) / 4) !important;
        width: calc((100% - 48px) / 4) !important;
        min-width: calc((100% - 48px) / 4) !important;
        max-width: calc((100% - 48px) / 4) !important;
        margin: 0 !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .yk-slider .yk-track {
        gap: 14px !important;
    }
    .yk-slider .yk-product {
        flex: 0 0 calc((100% - 28px) / 3) !important;
        width: calc((100% - 28px) / 3) !important;
        min-width: calc((100% - 28px) / 3) !important;
        max-width: calc((100% - 28px) / 3) !important;
        scroll-snap-align: start !important;
    }
}

/* کادر تصویر محصول در دسکتاپ (Frame 890 فیگما) */
.yk-product__visual-link,
.ykpc-image-link {
    position: absolute !important;
    top: 0 !important;
    bottom: 58px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.yk-product__visual {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 22px !important;
}

.yk-product__image,
.ykpc-product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.45s ease, opacity 0.4s ease !important;
}

.yk-product__image--secondary {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
}

.yk-product:hover .yk-product__image,
.ykpc-card:hover .ykpc-product-image {
    transform: scale(1.04) !important;
}

.yk-product:hover .yk-product__image--primary.has-gallery {
    opacity: 0 !important;
}

.yk-product:hover .yk-product__image--secondary {
    opacity: 1 !important;
    transform: scale(1.04) !important;
}

/* برچسب‌های وضعیت محصول در دسکتاپ */
.yk-slider .yk-product__badge,
.yk-slider .yk-product__badge--outofstock,
.yk-slider .yk-product__badge--pink,
.yk-slider .yk-product__badge--blue,
.ykpc .ykpc-product-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    border-radius: 20px !important;
    padding: 4px 11px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    z-index: 5 !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    margin: 0 !important;
}

.yk-product__badge--outofstock,
.ykpc-product-badge.is-outofstock {
    background: #e11d48 !important;
    color: #ffffff !important;
}

.yk-product__badge--pink,
.yk-product__badge:not(.yk-product__badge--outofstock):not(.yk-product__badge--blue) {
    background: #cf2f71 !important;
    color: #ffffff !important;
}

.yk-product__badge--blue {
    background: #cf2f71 !important;
    color: #ffffff !important;
}

/* کارت شیشه‌ای مشخصات محصول در دسکتاپ (Frame 892 فیگما) */
.yk-product__info,
.ykpc-info {
    position: absolute !important;
    bottom: 0px !important;
    left: 14px !important;
    right: 14px !important;
    width: calc(100% - 28px) !important;
    margin: 0 auto !important;
    z-index: 3 !important;
    height: 122px !important;
    min-height: 122px !important;
    max-height: 122px !important;
    border-radius: 18px !important;
    background: rgba(255, 240, 246, 0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    padding: 8px 10px 8px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.yk-product__name,
.ykpc-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: #27272a !important;
    margin: 0 !important;
    min-height: 38px !important;
    max-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
    width: 100% !important;
    text-shadow: none !important;
}

.yk-product__name a,
.ykpc-title a {
    color: inherit !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.25s ease !important;
}

.yk-product:hover .yk-product__name a,
.yk-product__name a:hover,
.ykpc-card:hover .ykpc-title a,
.ykpc-title a:hover {
    color: #cf2f71 !important;
}

.yk-product__pricebox,
.ykpc-price-area {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.yk-product__oldprice,
.ykpc-old-price {
    font-size: 10.5px !important;
    color: #e53935 !important;
    text-decoration: line-through !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    display: block !important;
}

.yk-product__price,
.ykpc-price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #00875a !important;
    line-height: 1.25 !important;
    display: block !important;
}

.yk-product__contact,
.ykpc-contact {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border-radius: 13px !important;
    background: #cf2f71 !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* قفل قطعی دکمه‌های ناوبری اسلایدر */
.yk-slider .yk-arrow,
.yk-slider .yk-arrow:hover,
.yk-slider .yk-arrow:focus,
.yk-slider .yk-arrow:active,
.yk-slider .yk-category__controls button,
.yk-slider .yk-category__controls button:hover,
.yk-slider .yk-category__controls button:focus,
.yk-slider .yk-category__controls button:active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cf2f71 !important;
    color: #cf2f71 !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.yk-slider .yk-arrow svg {
    stroke: #cf2f71 !important;
}

/* ۴. کاروسل محصولات در موبایل (منطبق ۱۰۰٪ با رفرنس ۳) */
@media (max-width: 767px) {
    .yk-slider {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        padding: 0 !important;
        --card-h: 245px !important;
        overflow-x: clip !important;
        max-width: 100% !important;
    }

    /* کارت دسته‌بندی شاخص در بالای کاروسل در موبایل (منطبق با رفرنس ۳) */
    .yk-category {
        width: calc(100% - 32px) !important;
        min-width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        flex: 0 0 auto !important;
        height: 275px !important;
        min-height: 275px !important;
        position: relative !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        margin: 0 auto 32px auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* عکس محصول شاخص (پاوربانک) در مرکز به صورت پیش‌فرض قابل سفارشی‌سازی از المنتور */
    .yk-category__image,
    .avin-side-image,
    .ykpc-side-image {
        position: absolute;
        z-index: 1;
        width: var(--yk-side-img-w, 155px);
        max-width: 90%;
        height: auto;
        object-fit: contain;
        left: 50%;
        right: auto;
        transform: translateX(calc(-50% + var(--yk-side-image-horiz, 0px))) scale(var(--yk-side-image-scale, 1));
        bottom: var(--yk-side-image-bottom, 78px);
        pointer-events: none;
        transition: transform 0.3s ease, width 0.2s ease, bottom 0.2s ease;
    }

    .yk-category:hover .yk-category__image,
    .avin-side:hover .avin-side-image,
    .ykpc-side:hover .ykpc-side-image {
        transform: translateX(calc(-50% + var(--yk-side-image-horiz, 0px))) translateY(-3px) scale(var(--yk-side-image-scale, 1));
    }

    /* کارت دسته‌بندی در لایه رویی با انحنای ناچ منطبق بر رفرنس ۳ */
    .yk-category__card:not(.desktop-shape) {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        min-height: 140px !important;
        border-radius: 24px !important;
        padding: 14px 18px 24px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        background: rgba(227, 239, 217, 0.92) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border: 1px solid rgba(255, 255, 255, 0.75) !important;
    }

    .yk-category__content:not(.desktop-shape__content) {
        width: 100% !important;
        text-align: right !important;
    }

    .yk-category__eyebrow:not(.desktop-shape__badge) {
        font-size: 10.5px !important;
        padding: 3px 12px !important;
        margin-bottom: 5px !important;
    }

    .yk-category__title:not(.desktop-shape__title) {
        font-size: 19px !important;
        margin: 0 0 5px !important;
        text-align: right !important;
    }

    .yk-category__link:not(.desktop-shape__link) {
        font-size: 12px !important;
        text-align: right !important;
    }

    /* دکمه‌های ناوبری روی کارت دسته‌بندی در گوشه پایین راست بدون تداخل با ناچ */
    .yk-category__controls {
        position: absolute !important;
        bottom: 10px !important;
        right: 14px !important;
        left: auto !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        direction: ltr !important;
        z-index: 10 !important;
    }

    .yk-arrow {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        background: #ffffff;
        border: 1.5px solid #cf2f71;
        border-radius: 50%;
        color: #cf2f71;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 8px rgba(207, 47, 113, 0.12);
        outline: none;
    }

    .yk-arrow svg {
        width: 14px;
        height: 14px;
        stroke: #cf2f71;
    }

    /* ترک کاروسل محصولات در موبایل: دقیقاً ۲ کارت کامل و خوش‌قواره */
    .yk-slider .yk-track {
        width: 100% !important;
        min-width: 100% !important;
        gap: 12px !important;
        padding: 0 !important;
        scroll-snap-type: x mandatory !important;
    }

    .yk-slider .yk-product {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        width: calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
        height: 245px !important;
        min-height: 245px !important;
        max-height: 245px !important;
        margin: 0 !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }

    /* کادر عکس محصول در موبایل */
    .yk-product__visual-link {
        top: 0 !important;
        bottom: 42px !important;
        border-radius: 18px !important;
    }

    .yk-product__visual {
        border-radius: 18px !important;
    }

    .yk-slider .yk-product__badge {
        top: 10px !important;
        left: 10px !important;
        font-size: 9.5px !important;
        padding: 3px 9px !important;
    }

    /* کارت اطلاعات شیشه‌ای در موبایل */
    .yk-slider .yk-product__info {
        bottom: 0px !important;
        left: 6px !important;
        right: 6px !important;
        width: calc(100% - 12px) !important;
        height: 96px !important;
        min-height: 96px !important;
        max-height: 96px !important;
        border-radius: 14px !important;
        padding: 5px 6px 6px !important;
    }

    .yk-slider .yk-product__name {
        font-size: 11px !important;
        line-height: 1.3 !important;
        min-height: 28px !important;
        max-height: 28px !important;
    }

    .yk-slider .yk-product__pricebox,
    .yk-slider .yk-product__contact {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        border-radius: 10px !important;
        padding: 2px 4px !important;
    }

    .yk-slider .yk-product__oldprice {
        font-size: 9px !important;
        line-height: 1.1 !important;
    }

    .yk-slider .yk-product__price {
        font-size: 12.5px !important;
        line-height: 1.2 !important;
    }

    .yk-slider .yk-product__contact {
        font-size: 11.5px !important;
    }
}

/* ۵. جلوگیری قطعی از اسکرول افقی در تمام صفحات در حالت موبایل */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .elementor-section,
    .elementor-container,
    .e-con,
    .e-con-inner {
        max-width: 100% !important;
        overflow-x: clip !important;
    }
}


/* ==========================================================================
   ۶. استایل‌های پایه ماژول کاروسل تخفیفات ویژه آوین (Avin Special Discounts)
   ========================================================================== */
.avin-discount-section {
    width: 100%;
    margin: 28px auto 36px;
    direction: rtl;
    box-sizing: border-box;
    font-family: 'IRANYekanX', 'IranYekanX', Tahoma, sans-serif !important;
}

.avin-discount-section * {
    box-sizing: border-box;
    font-family: 'IRANYekanX', 'IranYekanX', Tahoma, sans-serif !important;
}

.avin-discount-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    background-color: var(--dc-banner-bg, #cb2b71);
    border-radius: var(--dc-card-r, 20px);
    padding: 16px;
    position: relative;
    box-sizing: border-box;
    box-shadow: none !important;
}

.avin-discount-banner {
    flex: 0 0 200px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
    box-sizing: border-box;
    color: #ffffff;
    position: relative;
}

.avin-discount-gift-wrap {
    width: 130px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.avin-discount-gift-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
    pointer-events: none;
}

.avin-discount-banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.avin-discount-title-main {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.avin-discount-title-sub {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 1px;
}

.avin-discount-controls {
    display: flex;
    flex-direction: row;
    gap: 10px;
    direction: ltr;
    justify-content: center;
    align-items: center;
}

.avin-discount-controls button {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: none !important;
    background: var(--dc-arrow-bg, #ffffff) !important;
    color: var(--dc-arrow-c, #cb2b71) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    outline: none !important;
}

.avin-discount-controls button:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) !important;
}

.avin-discount-controls button:active {
    transform: scale(0.95) !important;
}

.avin-discount-controls button svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    stroke: var(--dc-arrow-c, #cb2b71) !important;
    pointer-events: none !important;
}

.avin-discount-track-wrap {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.avin-discount-track {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    cursor: grab;
    touch-action: pan-x !important;
    -webkit-overflow-scrolling: touch;
}

.avin-discount-track::-webkit-scrollbar {
    display: none;
}

.avin-discount-card {
    flex: 0 0 calc((100% - (3 * 16px)) / 4);
    min-width: calc((100% - (3 * 16px)) / 4);
    max-width: calc((100% - (3 * 16px)) / 4);
    border-radius: var(--dc-card-r, 18px);
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    aspect-ratio: 180 / 250;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.avin-discount-card:hover {
    transform: translateY(-4px);
}

.avin-discount-card__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.avin-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: var(--dc-badge-bg, #cf2f71);
    color: var(--dc-badge-c, #ffffff);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 50px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(207, 47, 113, 0.35);
}

.avin-discount-card__img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: #f8fafc;
}

.avin-discount-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.avin-discount-card__info {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    padding: 8px 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avin-discount-card__title {
    font-size: 12px;
    font-weight: 700;
    color: #2c2b2a;
    margin: 0 0 5px 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}

.avin-discount-card__price-box {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    padding: 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.avin-discount-card__price-old {
    font-size: 10px;
    color: var(--dc-old-c, #cf2f71);
    text-decoration: line-through;
    line-height: 1.3;
    font-weight: 600;
}

.avin-discount-card__price-current {
    font-size: 13px;
    font-weight: 800;
    color: var(--dc-price-c, #139a43);
    line-height: 1.3;
}

.avin-discount-card__contact {
    font-size: 11px;
    font-weight: 700;
    color: #cb2b71;
    line-height: 1.3;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .avin-discount-banner {
        flex: 0 0 170px;
        width: 170px;
    }
    .avin-discount-title-main {
        font-size: 22px;
    }
    .avin-discount-title-sub {
        font-size: 24px;
    }
    .avin-discount-card {
        flex: 0 0 calc((100% - (2 * 14px)) / 3);
        min-width: calc((100% - (2 * 14px)) / 3);
        max-width: calc((100% - (2 * 14px)) / 3);
    }
}

@media (max-width: 767px) {
    .avin-discount-container {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }
    .avin-discount-banner {
        width: 100%;
        flex: 0 0 auto;
        flex-direction: row;
        justify-content: space-between;
        padding: 4px 10px;
    }
    .avin-discount-gift-wrap {
        width: 60px;
        height: 55px;
        margin-bottom: 0;
    }
    .avin-discount-banner-text {
        flex-direction: row;
        gap: 6px;
        margin-bottom: 0;
    }
    .avin-discount-title-main,
    .avin-discount-title-sub {
        font-size: 18px;
    }
    .avin-discount-controls {
        gap: 8px;
    }
    .avin-discount-controls button {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    .avin-discount-track {
        gap: 12px;
    }
    .avin-discount-card {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
    }
    .avin-discount-card__info {
        bottom: 6px;
        left: 6px;
        right: 6px;
        padding: 6px 6px;
    }
    .avin-discount-card__title {
        font-size: 11px;
    }
    .avin-discount-card__price-old {
        font-size: 9px;
    }
    .avin-discount-card__price-current {
        font-size: 11px;
    }
}


/* ==========================================================================
   ۷. استایل‌های پنل شیشه‌ای اختصاصی آوین (.desktop-shape)
   ========================================================================== */
.desktop-shape {
  --glass-color: rgba(225,191,245,.62);
  --glass-blur: 12px;
  --accent: #cf2f71;
  --title-color: #49364b;
  --text-color: #66576a;

  position: relative;
  width: 100%;
  aspect-ratio: 305 / 156;
  isolation: isolate;
  direction: rtl;
  font-family: inherit;
  box-sizing: border-box;
}

/* Glass shape */
.desktop-shape__glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--glass-color);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 305 156'%3E%3Cpath fill='white' d='M104.01 123.72C94.92 123.72 86.61 127.05 80.23 132.56C67.36 143.66 50.85 149.63 33.86 149.63H23.42C10.48 149.63 0 139.14 0 126.21V23.42C0 10.49 10.48 0 23.41 0H281.03C293.97 0 304.45 10.49 304.45 23.42V126.2C304.45 139.14 293.96 149.62 281.03 149.62H174.16C157.17 149.62 140.66 143.65 127.79 132.55C121.41 127.04 113.1 123.71 104.01 123.71V123.72Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 305 156'%3E%3Cpath fill='white' d='M104.01 123.72C94.92 123.72 86.61 127.05 80.23 132.56C67.36 143.66 50.85 149.63 33.86 149.63H23.42C10.48 149.63 0 139.14 0 126.21V23.42C0 10.49 10.48 0 23.41 0H281.03C293.97 0 304.45 10.49 304.45 23.42V126.2C304.45 139.14 293.96 149.62 281.03 149.62H174.16C157.17 149.62 140.66 143.65 127.79 132.55C121.41 127.04 113.1 123.71 104.01 123.71V123.72Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
}

/* Border */
.desktop-shape__border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

.desktop-shape__border path {
  fill: none;
  stroke: rgba(255,255,255,.85);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}

/* Content */
.desktop-shape__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 22px 24px 0 24px;
  box-sizing: border-box;
  text-align: right;
  direction: rtl;
  pointer-events: auto;
}

.desktop-shape__badge {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  color: #27272a;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.desktop-shape__content h2,
.desktop-shape__title {
  margin: 0 0 6px 0;
  padding: 0;
  color: var(--title-color, #27272a);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  width: 100%;
  text-align: right;
}

.desktop-shape__content p {
  margin: 0 0 6px 0;
  padding: 0;
  color: var(--text-color, #4a3b4e);
  font-size: 12.5px;
  line-height: 1.4;
  width: 100%;
  text-align: right;
}

.desktop-shape__content a,
.desktop-shape__link {
  display: inline-block;
  color: var(--text-color, #4a3b4e);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  text-align: right;
  transition: color 0.2s ease;
}

.desktop-shape__content a:hover,
.desktop-shape__link:hover {
  color: var(--accent, #cf2f71);
  background: transparent;
}

/* Navigation buttons (Bottom-Right) - پشتیبانی از متغیرهای المنتور */
.desktop-shape__buttons {
  position: absolute;
  z-index: 6;
  right: 20px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  direction: ltr;
  align-items: center;
}

.desktop-shape__buttons button {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: var(--btn-size, var(--yk-arrow-size, 34px)) !important;
  height: var(--btn-size, var(--yk-arrow-size, 34px)) !important;
  min-width: var(--btn-size, var(--yk-arrow-size, 34px)) !important;
  min-height: var(--btn-size, var(--yk-arrow-size, 34px)) !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1.5px solid #cf2f71 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #cf2f71 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

.desktop-shape__buttons button:hover {
  background: #cf2f71 !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}

.desktop-shape__buttons button svg {
  width: var(--btn-icon-size, var(--yk-arrow-icon-size, 14px)) !important;
  height: var(--btn-icon-size, var(--yk-arrow-icon-size, 14px)) !important;
  display: block;
  pointer-events: none;
  stroke: currentColor;
}

/* Category Link in Notch (Bottom-Left) */
.desktop-shape__cat-link,
.desktop-shape__back {
  position: absolute;
  z-index: 8;
  left: 34.16%;
  transform: translateX(-50%);
  bottom: -2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cf2f71;
  color: #cf2f71;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  outline: none;
}

.desktop-shape__cat-link:hover,
.desktop-shape__back:hover {
  background: #cf2f71;
  color: #ffffff;
  transform: translateX(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(207, 47, 113, 0.28);
}

.desktop-shape__cat-link svg,
.desktop-shape__back svg {
  display: block;
  pointer-events: none;
  stroke: currentColor;
}

@media (max-width: 767px) {
  .desktop-shape__content {
    padding: 16px 18px 0 18px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: right !important;
  }

  .desktop-shape__badge {
    font-size: 10.5px !important;
    padding: 3px 10px !important;
    margin-bottom: 5px !important;
  }

  .desktop-shape__content h2,
  .desktop-shape__title {
    font-size: clamp(16px, 4.5vw, 21px) !important;
    margin: 0 0 4px !important;
    text-align: right !important;
  }

  .desktop-shape__content a,
  .desktop-shape__link {
    font-size: 12px !important;
    text-align: right !important;
  }

  .desktop-shape__buttons {
    right: 14px !important;
    bottom: 10px !important;
    gap: 6px !important;
  }

  .desktop-shape__buttons button {
    width: var(--btn-size, var(--yk-arrow-size, 30px)) !important;
    height: var(--btn-size, var(--yk-arrow-size, 30px)) !important;
    min-width: var(--btn-size, var(--yk-arrow-size, 30px)) !important;
    min-height: var(--btn-size, var(--yk-arrow-size, 30px)) !important;
  }

  .desktop-shape__cat-link,
  .desktop-shape__back {
    left: 34.16% !important;
    transform: translateX(-50%) !important;
    bottom: -2px !important;
    width: 34px !important;
    height: 34px !important;
  }
}


/* ==========================================================================
   v3.8.8.7 Definitive Enhancements: Layering, Notch Button & Discount Carousel
   ========================================================================== */

/* 1. لایه تصویر شاخص همیشه زیر کارت و شیشه */
.avin-side-image,
.ykpc-side-image,
.yk-category__image {
    position: absolute !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* 2. کارت برداری شیشه‌ای در لایه رویی با مدیریت عمق */
.desktop-shape {
    position: relative;
    z-index: 3;
}

.desktop-shape__glass {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.desktop-shape__border {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.desktop-shape__content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 14px 18px 36px 18px;
    box-sizing: border-box;
    text-align: right;
    direction: rtl;
    pointer-events: auto;
}

.desktop-shape__content h2,
.desktop-shape__title {
    margin: 0 0 3px 0;
    font-size: clamp(16px, 1.8vw, 21px);
    line-height: 1.25;
    font-weight: 800;
}

.desktop-shape__content p {
    margin: 0 0 4px 0;
    font-size: 11.5px;
    line-height: 1.3;
}

/* لینک قرصی مشاهده همه روی کارت */
.desktop-shape__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 14px;
    background: #ffffff;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.desktop-shape__link:hover {
    background: #ffffff;
    color: #cf2f71;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* 3. دکمه‌های ناوبری فلش در گوشه پایین راست با سایز ظریف 30px */
.desktop-shape__buttons {
    position: absolute;
    z-index: 6;
    right: 16px;
    bottom: 8px;
    display: flex;
    direction: ltr;
    gap: 6px;
    align-items: center;
}

.desktop-shape__buttons button {
    appearance: none;
    -webkit-appearance: none;
    width: var(--btn-size, var(--yk-arrow-size, 32px));
    height: var(--btn-size, var(--yk-arrow-size, 32px));
    min-width: var(--btn-size, var(--yk-arrow-size, 32px));
    min-height: var(--btn-size, var(--yk-arrow-size, 32px));
    padding: 0;
    margin: 0;
    border: 1.5px solid #cf2f71;
    border-radius: 50%;
    background: #ffffff;
    color: #cf2f71;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.desktop-shape__buttons button:hover {
    background: #cf2f71;
    color: #ffffff;
    transform: scale(1.08);
}

.desktop-shape__buttons button svg {
    width: var(--btn-icon-size, var(--yk-arrow-icon-size, 14px));
    height: var(--btn-icon-size, var(--yk-arrow-icon-size, 14px));
    display: block;
    pointer-events: none;
    stroke: currentColor;
}

/* 4. دکمه گرد ناچ در انحنای پایینی با قطر 30px و آیکون فلش < مطابق رفرنس */
.desktop-shape__cat-link,
.desktop-shape__back {
    position: absolute;
    z-index: 7;
    left: 34.16%;
    transform: translateX(-50%);
    bottom: -2px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #cf2f71;
    color: #cf2f71;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    outline: none;
}

.desktop-shape__cat-link:hover,
.desktop-shape__back:hover {
    background: #cf2f71;
    color: #ffffff;
    transform: translateX(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(207, 47, 113, 0.28);
}

.desktop-shape__cat-link svg,
.desktop-shape__back svg {
    width: 13px;
    height: 13px;
    display: block;
    pointer-events: none;
    stroke: currentColor;
}

/* 5. حذف قطعی سایه از کادر تخفیفات ویژه */
.avin-discount-container {
    box-shadow: none !important;
}

/* 6. استایل کارت‌های تخفیف ویژه کاملاً هماهنگ با کارت‌های محصول */
.avin-discount-card.yk-product {
    background: #ffffff !important;
    border-radius: var(--dc-card-r, 20px) !important;
    overflow: hidden !important;
    position: relative !important;
    transition: transform 0.3s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

.avin-discount-card.yk-product:hover {
    transform: translateY(-4px) !important;
}

.avin-discount-card .yk-product__info {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    height: 112px !important;
    min-height: 112px !important;
    max-height: 112px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: center !important;
}

.avin-discount-card .yk-product__name {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #2c2b2a !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    text-align: center !important;
}

.avin-discount-card .yk-product__pricebox {
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 4px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.avin-discount-card .yk-product__oldprice {
    font-size: 10px !important;
    color: var(--dc-old-c, #cf2f71) !important;
    text-decoration: line-through !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

.avin-discount-card .yk-product__price {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--dc-price-c, #139a43) !important;
    line-height: 1.3 !important;
}

.avin-discount-card .yk-product__contact {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: #cb2b71 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
}


/* ==========================================================================
   v3.8.8.8 Refinements: Alignment of "مشاهده همه" & Top-Left Product Badges
   ========================================================================== */

/* هم‌راستاسازی عمودی دقیق متن "مشاهده همه" با دکمه ناچ گرد (محور 34.16% از چپ) */
.desktop-shape__link {
    position: absolute;
    left: 34.16%;
    transform: translateX(-50%);
    bottom: 36px;
    z-index: 6;
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-color, #4a3b4e);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    line-height: 1.2;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-shape__link:hover {
    color: var(--accent, #cf2f71);
    background: transparent;
    transform: translateX(-50%) translateY(-1px);
}

/* آیکون فلش ناچ ظریف‌تر (10px) */
.desktop-shape__cat-link svg,
.desktop-shape__back svg {
    width: 10px;
    height: 10px;
}

/* تمام تگ‌ها و نشان‌های محصول در کاروسل‌ها باید در گوشه بالا سمت چپ باشند */
.yk-product .yk-product__badge,
.avin-discount-card .avin-discount-badge,
.avin-discount-card .yk-product__badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    z-index: 5 !important;
}

/* دکمه تماس بگیرید در کارت‌های تخفیف ویژه و کاروسل */
.avin-discount-card .yk-product__contact,
.avin-discount-card .avin-discount-card__contact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 36px !important;
    background: #cb2b71 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(203, 43, 113, 0.3) !important;
}

.avin-discount-card .yk-product__contact:hover,
.avin-discount-card .avin-discount-card__contact:hover {
    background: #be185d !important;
    transform: translateY(-1px) !important;
}


/* ==========================================================================
   Avin Standalone Simple Product Carousel (.avin-simple-carousel-wrap)
   نمایش ۴ محصول در دسکتاپ، ۳ در تبلت و ۲ در موبایل با دکمه‌های ناوبری در چپ و راست
   ========================================================================== */
.avin-simple-carousel-wrap {
    position: relative !important;
    width: 100% !important;
    direction: rtl !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    --sc-gap: 16px;
}

.avin-simple-carousel-track {
    display: flex !important;
    flex-direction: row !important;
    gap: var(--sc-gap, 16px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 8px 4px 16px 4px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.avin-simple-carousel-track::-webkit-scrollbar {
    display: none !important;
}

/* کارت‌های محصول در کاروسل ساده: ۴ عدد در هر سطر دسکتاپ */
.avin-simple-product-card {
    flex: 0 0 calc((100% - 3 * var(--sc-gap, 16px)) / 4) !important;
    max-width: calc((100% - 3 * var(--sc-gap, 16px)) / 4) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
}

/* دکمه‌های ناوبری در چپ و راست کاروسل (دقیقاً در چپ و راست بدون کادر کناری) */
.avin-sc-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
	padding:0px !important;
    border: 1.5px solid #cf2f71 !important;
    color: #cf2f71 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.25s ease !important;
}

.avin-sc-arrow:hover {
    background: #cf2f71 !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(207, 47, 113, 0.25) !important;
}

/* دکمه قبلی (prev) در سمت راست track: right: -18px */
.avin-sc-arrow--prev {
    right: -18px !important;
}

/* دکمه بعدی (next) در سمت چپ track: left: -18px */
.avin-sc-arrow--next {
    left: -18px !important;
}

.avin-sc-arrow svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    pointer-events: none !important;
    stroke: currentColor !important;
}

/* تبلت: ۳ محصول در هر نما */
@media (max-width: 1024px) {
    .avin-simple-carousel-wrap {
        --sc-gap: 14px;
    }
    .avin-simple-product-card {
        flex: 0 0 calc((100% - 2 * var(--sc-gap, 14px)) / 3) !important;
        max-width: calc((100% - 2 * var(--sc-gap, 14px)) / 3) !important;
    }
    .avin-sc-arrow--prev {
        right: -8px !important;
    }
    .avin-sc-arrow--next {
        left: -8px !important;
    }
}

/* موبایل: ۲ محصول در هر نما */
@media (max-width: 767px) {
    .avin-simple-carousel-wrap {
        --sc-gap: 12px;
    }
    .avin-simple-product-card {
        flex: 0 0 calc((100% - var(--sc-gap, 12px)) / 2) !important;
        max-width: calc((100% - var(--sc-gap, 12px)) / 2) !important;
    }
    .avin-sc-arrow {
        width: 32px !important;
        height: 32px !important;
    }
    .avin-sc-arrow--prev {
        right: -6px !important;
    }
    .avin-sc-arrow--next {
        left: -6px !important;
    }
}


/* ==========================================================================
   v3.8.8.9 Refinements: Hero Slider Height, Discount Cards & Palette Unity
   ========================================================================== */

/* Hero Slider container and responsive height stability */
.avin-hero-slider {
    position: relative;
    width: 100%;
    max-width: 1284px;
    margin: 0 auto;
    aspect-ratio: 1284 / 560;
    overflow: hidden !important;
}

.avin-hero-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.avin-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.avin-hero-picture,
.avin-hero-link {
    display: block;
    width: 100%;
    height: 100%;
}

.avin-hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}


/* یکپارچه‌سازی کامل کارت‌های تخفیفات ویژه با کارت‌های اسلایدر محصولات */
.avin-discount-card {
    height: var(--yk-image-h, 380px) !important;
    border-radius: var(--yk-card-radius, 24px) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    overflow: hidden !important;
    position: relative !important;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease !important;
}

.avin-discount-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
}

.avin-discount-card .avin-discount-card__img-wrap {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.avin-discount-card .avin-discount-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.avin-discount-card:hover .avin-discount-card__img {
    transform: scale(1.05) !important;
}

/* پنل مشخصات شیشه‌ای در پایین کارت تخفیفات ویژه */
.avin-discount-card .avin-discount-card__info {
    position: relative !important;
    z-index: 2 !important;
    width: calc(100% - 24px) !important;
    margin: 0 auto 12px auto !important;
    background: rgba(255, 243, 246, 0.92) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-radius: 18px !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.avin-discount-card .avin-discount-card__title {
    margin: 0 0 6px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.avin-discount-card .avin-discount-card__title a {
    color: #1e293b !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.avin-discount-card .avin-discount-card__title a:hover {
    color: #cf2f71 !important;
}

/* دکمه تماس بگیرید سرخابی سازمانی */
.avin-discount-card .avin-discount-card__contact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 38px !important;
    background: #cf2f71 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(207, 47, 113, 0.3) !important;
    transition: all 0.25s ease !important;
}

.avin-discount-card .avin-discount-card__contact:hover {
    background: #be185d !important;
    transform: translateY(-1px) !important;
}

/* نشان‌ها همیشه گوشه بالا سمت چپ با رنگ سازمانی */
.avin-discount-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    background: #cf2f71 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 3px 10px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    z-index: 5 !important;
    box-shadow: 0 2px 8px rgba(207, 47, 113, 0.3) !important;
}

.avin-discount-badge.is-outofstock,
.avin-discount-badge.yk-product__badge--outofstock {
    background: #e11d48 !important;
}

@media (max-width: 767px) {
    .avin-discount-card {
        height: var(--yk-image-h-mobile, 260px) !important;
    }
}


/* ==========================================================================
   جداول پیشرفته و ریسپانسیو آوین (Avin Advanced Tables & Rich Content)
   مطابق استاندارد وردپرس دولوپر پرو جهت نمایش بی‌نقص در دسکتاپ و موبایل
   ========================================================================== */
.avin-table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 22px 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

table.avin-table,
.entry-content table,
.avin-product-description table,
.single-product table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    font-family: 'IRANYekanX', Tahoma, sans-serif !important;
    font-size: 13.5px !important;
    margin: 0 !important;
    direction: rtl !important;
}

table.avin-table th,
.entry-content table th,
.single-product table th {
    background: #fdf2f8 !important;
    color: #cf2f71 !important;
    font-weight: 800 !important;
    padding: 13px 18px !important;
    text-align: right !important;
    border-bottom: 2px solid #fbcfe8 !important;
    border-left: 1px solid #fce7f3 !important;
    white-space: nowrap !important;
    font-size: 13.5px !important;
}
table.avin-table th:last-child,
.entry-content table th:last-child,
.single-product table th:last-child {
    border-left: none !important;
}

table.avin-table td,
.entry-content table td,
.single-product table td {
    padding: 12px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-left: 1px solid #f8fafc !important;
    color: #334155 !important;
    vertical-align: middle !important;
    line-height: 1.6 !important;
}
table.avin-table td:last-child,
.entry-content table td:last-child,
.single-product table td:last-child {
    border-left: none !important;
}

table.avin-table tr:last-child td,
.entry-content table tr:last-child td,
.single-product table tr:last-child td {
    border-bottom: none !important;
}

table.avin-table tr:nth-child(even) td,
.entry-content table tr:nth-child(even) td,
.single-product table tr:nth-child(even) td {
    background: #f8fafc !important;
}

table.avin-table tr:hover td,
.entry-content table tr:hover td,
.single-product table tr:hover td {
    background: #fff5f8 !important;
}

/* استایل کامپوننت‌های سفارشی آوین در فرانت‌اند */
.avin-btn-pink {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #cf2f71 !important;
    color: #ffffff !important;
    padding: 9px 22px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    transition: all 0.25s ease !important;
    margin: 6px 0 !important;
}
.avin-btn-pink:hover {
    background: #a61b57 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(207, 47, 113, 0.25) !important;
}

.avin-btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #cf2f71 !important;
    border: 1.5px solid #cf2f71 !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    transition: all 0.25s ease !important;
    margin: 6px 0 !important;
}
.avin-btn-outline:hover {
    background: #fff0f5 !important;
    color: #a61b57 !important;
    border-color: #a61b57 !important;
}

.avin-highlight-box {
    background: #fff0f5 !important;
    border: 1px solid #fbcfe8 !important;
    border-right: 4px solid #cf2f71 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin: 20px 0 !important;
    color: #831843 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.avin-notice-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-right: 4px solid #64748b !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin: 20px 0 !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.avin-badge-pill {
    display: inline-block !important;
    background: #fdf2f8 !important;
    color: #cf2f71 !important;
    padding: 3px 12px !important;
    border-radius: 14px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border: 1px solid #fbcfe8 !important;
}


/* ==========================================================================
   SINGLE PRODUCT PAGE REDESIGN (Strict 1282px, RTL, 4-Thumb Gallery, Specs Card, Badges, Inquiry)
   مطابق تصویر رفرنس ۲ (دسکتاپ) و تصویر رفرنس ۳ (موبایل)
   ========================================================================== */

.hec-single-product-page {
    background: #ffffff;
    padding: 24px 0 60px;
    direction: rtl;
    text-align: right;
    font-family: 'IRANYekanX', sans-serif;
    overflow-x: clip !important;
    max-width: 100%;
    box-sizing: border-box;
}

.hec-product-container {
    max-width: 1282px;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    min-width: 0;
}

.hec-product-main-grid > *,
.avin-single-content-wrapper > *,
.avin-content-main-col,
.avin-rich-text,
.avin-product-content-wrapper {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* ۱. نوار بالا: بردکرامب یکپارچه و آیکن‌های اکشن */
.hec-product-top-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    direction: rtl;
}

.hec-breadcrumbs {
    font-size: 12.5px;
    color: #8a8588;
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    direction: rtl;
}

.hec-breadcrumbs a {
    color: #8a8588;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 500;
}

.hec-breadcrumbs a:hover {
    color: #cf2f71;
}

.hec-breadcrumbs .sep {
    color: #8a8588;
    font-size: 13px;
    font-weight: 400;
    padding: 0 2px;
}

.hec-breadcrumbs .current {
    color: #1e293b;
    font-weight: 700;
}

.hec-top-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.hec-icon-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.hec-icon-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.hec-icon-btn:hover {
    background: #fff5f8;
    color: #cf2f71;
    border-color: #cf2f71;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(207,47,113,0.12);
}

/* ۲. گرید ۲ ستونه اصلی (راست: گالری | چپ: مشخصات و استعلام) */
.hec-product-main-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 48px;
    direction: rtl;
}

/* ستون گالری محصول */
.hec-product-visuals-col {
    position: relative;
    direction: rtl;
}

.hec-gallery-wrapper {
    display: flex !important;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
    direction: rtl;
}

/* ستون عمودی بندانگشتی‌ها (سمت راست در RTL) */
.hec-vertical-thumbnails {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    width: 88px;
    flex-shrink: 0;
}

.hec-thumb-item {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f8fafc;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.hec-thumb-item:hover {
    border-color: #fce7f3;
    transform: translateY(-1px);
}

.hec-thumb-item.is-active {
    border-color: #cf2f71;
}

.hec-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hec-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

/* کادر تصویر شاخص اصلی */
.hec-main-image-wrap {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fafaf9;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 28px rgba(15,23,42,0.05);
    aspect-ratio: 1 / 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.hec-main-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.hec-slide-counter {
    display: none !important;
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    line-height: 1;
}

/* ستون خلاصه و مشخصات محصول */
.hec-product-summary-col {
    display: flex !important;
    flex-direction: column;
    direction: rtl;
}

.hec-single-title {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.45;
}

.hec-brand-highlight {
    color: #cf2f71;
}

/* امتیاز ستاره‌ای */
.hec-rating-row {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    direction: rtl;
}

.hec-rating-count {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}

.hec-rating-score {
    font-size: 14.5px;
    font-weight: 800;
    color: #1e293b;
}

.hec-stars-display {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hec-stars-display .star-svg {
    display: inline-flex;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.hec-stars-display .star-svg svg {
    width: 17px;
    height: 17px;
}

/* دسته‌بندی‌ها */
.hec-product-categories {
    font-size: 13px;
    color: #8a8588;
    margin-bottom: 14px;
    direction: rtl;
}

.hec-product-categories .label {
    font-weight: 700;
    color: #64748b;
    margin-left: 4px;
}

.hec-product-categories a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.hec-product-categories a:hover {
    color: #cf2f71;
}

/* توضیحات کوتاه */
.hec-short-description {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 18px;
}

.hec-short-description p {
    margin: 0;
}

/* جدول مشخصات محصول (کاملاً مطابق عکس ۲ و ۳) */
.hec-specs-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    margin: 16px 0 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hec-specs-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
}

.hec-specs-row:last-child {
    border-bottom: none;
}

.hec-specs-row .spec-label {
    color: #94a3b8;
    font-weight: 500;
    font-size: 13px;
    flex-shrink: 0;
}

.hec-specs-row .spec-value {
    color: #1e293b;
    font-weight: 700;
    font-size: 13.5px;
    text-align: left;
    word-break: break-word;
}

.hec-specs-row .spec-value.is-stock {
    color: #16a34a !important;
    font-weight: 800;
}

.hec-specs-row .spec-value.is-outofstock,
.hec-specs-row .spec-value.is-out-of-stock {
    color: #dc2626 !important;
    font-weight: 800;
}

.hec-specs-row .spec-value.is-backorder {
    color: #d97706 !important;
    font-weight: 800;
}

.hec-product-badge-float.is-outofstock {
    background: #e11d48 !important;
    color: #ffffff !important;
}

/* ۳ نشان اعتماد (Trust Badges) */
.hec-trust-badges-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 22px 0;
    direction: rtl;
}

.hec-trust-badge {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.badge-icon-svg {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.badge-icon-svg svg {
    width: 44px;
    height: 44px;
}

.badge-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    line-height: 1.3;
}

/* کادر استعلام قیمت */
.hec-inquiry-card {
    border: 1.5px solid #fce7f3;
    border-radius: 16px;
    background: #ffffff;
    padding: 18px 20px;
    margin-top: 16px;
    box-shadow: 0 4px 16px rgba(207, 47, 113, 0.04);
}

.hec-inquiry-badge {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    color: #cf2f71;
    margin-bottom: 4px;
}

.hec-inquiry-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 14px 0;
}

.hec-inquiry-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hec-inquiry-btn {
    display: inline-flex;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.hec-inquiry-btn.btn-call {
    background: #cf2f71;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(207, 47, 113, 0.28);
}

.hec-inquiry-btn.btn-call:hover {
    background: #b82461;
    transform: translateY(-1px);
}

.hec-inquiry-btn.btn-whatsapp {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}

.hec-inquiry-btn.btn-whatsapp:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.hec-inquiry-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ریسپانسیو موبایل و تبلت (مطابق عکس رفرنس ۳) */
@media (max-width: 900px) {
    .hec-product-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hec-gallery-wrapper {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .hec-main-image-wrap {
        width: 100%;
        border-radius: 18px;
    }

    .hec-slide-counter {
        display: block !important;
    }

    .hec-vertical-thumbnails {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .hec-thumb-item {
        flex: 1;
        height: 76px;
        width: auto;
        border-radius: 12px;
    }

    .hec-trust-badges-row {
        gap: 8px;
    }

    .badge-icon-svg {
        width: 38px;
        height: 38px;
    }

    .badge-icon-svg svg {
        width: 38px;
        height: 38px;
    }

    .badge-text {
        font-size: 11.5px;
    }
}

@media (max-width: 576px) {
    .hec-inquiry-buttons {
        grid-template-columns: 1fr;
    }

    .hec-trust-badges-row {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px 14px !important;
    }

    .hec-trust-badge {
        flex: 0 0 auto !important;
        flex-direction: row !important;
        gap: 6px !important;
    }

    .hec-trust-badge .badge-icon-svg,
    .hec-trust-badge .badge-icon-svg svg {
        width: 32px !important;
        height: 32px !important;
    }

    .hec-trust-badge .badge-text {
        font-size: 11px !important;
    }
}


/* ==========================================================================
   AVIN LIGHTBOX POPUP SLIDER (پاپ‌آپ لایت‌باکس اسلایدر با استایل گاید آوین)
   ========================================================================== */

.avin-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none !important;
    align-items: center;
    justify-content: center;
    direction: rtl;
    font-family: 'IRANYekanX', sans-serif;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.avin-lightbox-modal.is-active,
.avin-lightbox-modal.is-open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.avin-lb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.avin-lb-dialog {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 960px;
    max-height: 92vh;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avin-lb-header {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #ffffff;
    margin-bottom: 12px;
}

.avin-lb-counter {
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.avin-lb-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.avin-lb-close:hover {
    background: #cf2f71;
    transform: rotate(90deg) scale(1.1);
}

.avin-lb-main-stage {
    position: relative;
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.avin-lb-img-container {
    max-width: 80%;
    max-height: 65vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.avin-lb-img-container img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    transition: opacity 0.2s ease;
}

.avin-lb-nav {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.avin-lb-nav:hover {
    background: #cf2f71;
    border-color: #cf2f71;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(207, 47, 113, 0.4);
}

.avin-lb-thumbs-strip {
    display: flex !important;
    gap: 10px;
    margin-top: 18px;
    max-width: 100%;
    overflow-x: auto;
    padding: 6px 4px;
    scrollbar-width: thin;
}

.avin-lb-thumb-item {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
}

.avin-lb-thumb-item.is-active,
.avin-lb-thumb-item:hover {
    border-color: #cf2f71;
    opacity: 1;
    transform: translateY(-2px);
}

.avin-lb-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   SECTION 2: CONTENT & KEY FEATURES (مطابق عکس ۳ دسکتاپ و عکس ۴ موبایل)
   ========================================================================== */

.avin-single-content-wrapper {
    margin-top: 48px;
    margin-bottom: 56px;
    direction: rtl;
    text-align: right;
}

.avin-single-content-wrapper.has-side-col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.avin-content-main-col {
    display: flex !important;
    flex-direction: column;
    gap: 36px;
}

/* هدر بلوک با خط تأکید صورتی */
.avin-block-header {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1.5px solid #f1f5f9;
}

.avin-desc-title {
    font-size: 20px;
    font-weight: 900;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.avin-title-underline {
    position: absolute;
    bottom: -1.5px;
    right: 0;
    width: 64px;
    height: 3px;
    background: #cf2f71;
    border-radius: 4px;
}

.avin-sub-heading {
    font-size: 15.5px;
    font-weight: 800;
    color: #334155;
    margin: 0 0 16px 0;
}

.avin-feature-item {
    margin-bottom: 20px;
}

.avin-item-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.avin-item-text {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.85;
    margin: 0;
}

/* ==========================================================================
   استایل پیشرفته و مدرن بدنه توضیحات محصول (Rich Text & Structured Content)
   ========================================================================== */

.avin-rich-text,
.avin-product-wp-content,
.avin-product-content-wrapper {
    font-size: 14.5px;
    line-height: 2;
    color: #334155;
    direction: rtl;
    text-align: right;
}

/* پاراگراف لید / معرفی برجسته */
.avin-rich-text .avin-lead,
.avin-product-wp-content .avin-lead,
.avin-product-content-wrapper .avin-lead,
.avin-lead {
    background: #fdf2f8;
    border-right: 4px solid #cf2f71;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 2.1;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(207, 47, 113, 0.04);
}

.avin-rich-text .avin-lead strong,
.avin-product-wp-content .avin-lead strong,
.avin-product-content-wrapper .avin-lead strong,
.avin-lead strong {
    color: #cf2f71;
    font-weight: 800;
}

/* تیترهای بخش‌های توضیحات */
.avin-rich-text h3,
.avin-product-wp-content h3,
.avin-product-content-wrapper h3 {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 28px 0 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    line-height: 1.5;
}

.avin-rich-text h3::before,
.avin-product-wp-content h3::before,
.avin-product-content-wrapper h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #cf2f71;
    border-radius: 50%;
    flex-shrink: 0;
}

/* پاراگراف‌های عادی */
.avin-rich-text p,
.avin-product-wp-content p,
.avin-product-content-wrapper p {
    font-size: 14.5px;
    line-height: 1.95;
    color: #475569;
    margin: 0 0 16px 0;
}

/* لیست ویژگی‌های کلیدی - ساختار کارت‌های مدرن و بدون نقطه‌های پیش‌فرض */
.avin-rich-text ul,
.avin-product-wp-content ul,
.avin-product-content-wrapper ul,
.avin-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    list-style: none !important;
    padding: 0 !important;
    margin: 16px 0 28px 0 !important;
}

.avin-rich-text ul li,
.avin-product-wp-content ul li,
.avin-product-content-wrapper ul li,
.avin-feature-list li {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 13px 44px 13px 16px !important;
    font-size: 14px;
    color: #1e293b;
    line-height: 1.75;
    display: block !important;
    position: relative !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    direction: rtl !important;
    text-align: right !important;
}

.avin-rich-text ul li:hover,
.avin-product-wp-content ul li:hover,
.avin-product-content-wrapper ul li:hover,
.avin-feature-list li:hover {
    border-color: #fbcfe8;
    background: #fffdfd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(207, 47, 113, 0.06);
}

.avin-rich-text ul li::before,
.avin-product-wp-content ul li::before,
.avin-product-content-wrapper ul li::before,
.avin-feature-list li::before {
    content: '✓';
    position: absolute !important;
    right: 14px !important;
    top: 15px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #fdf2f8;
    color: #cf2f71;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.avin-rich-text ul li strong,
.avin-product-wp-content ul li strong,
.avin-product-content-wrapper ul li strong,
.avin-feature-list li strong {
    color: #0f172a;
    font-weight: 700;
}

/* باکس‌های سفارشی‌سازی برندینگ و شرکتی */
.avin-branding-box {
    background: #fdf4f8;
    border: 1.5px dashed #f472b6;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 24px 0;
}

.avin-branding-box h3,
.avin-branding-box h4 {
    color: #be185d !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
}

.avin-branding-box h3::before,
.avin-branding-box h4::before {
    background: #be185d !important;
}

.avin-branding-box p {
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.85 !important;
    margin: 0 !important;
}

.avin-corporate-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 24px 0;
}

.avin-corporate-box h3,
.avin-corporate-box h4 {
    color: #15803d !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
}

.avin-corporate-box h3::before,
.avin-corporate-box h4::before {
    background: #15803d !important;
}

.avin-corporate-box p {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.85 !important;
    margin: 0 !important;
}

/* تصاویر داخلی متن توضیحات محصول */
.avin-content-img-wrap {
    margin: 28px auto;
    text-align: center;
    max-width: 100%;
}

.avin-content-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    display: inline-block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avin-content-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(207, 47, 113, 0.1);
}

@media (max-width: 768px) {
    .avin-rich-text ul,
    .avin-product-wp-content ul,
    .avin-product-content-wrapper ul,
    .avin-feature-list {
        grid-template-columns: 1fr;
    }
}

/* سایدبار چسبان استعلام (عکس ۳) */
.avin-content-side-col {
    position: sticky;
    top: 24px;
}

.avin-sticky-inquiry-box {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.inquiry-lead-text {
    font-size: 13.5px;
    color: #334155;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 18px 0;
    text-align: right;
}

.inquiry-side-buttons {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
}

.side-btn {
    display: inline-flex;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.side-btn.btn-call {
    background: #cf2f71;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(207, 47, 113, 0.25);
}

.side-btn.btn-call:hover {
    background: #b82461;
    transform: translateY(-1px);
}

.side-btn.btn-wa {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

.side-btn.btn-wa:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.side-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   SECTION 3: REVIEWS & COMMENT FORM (مطابق عکس ۱ دسکتاپ و عکس ۲ موبایل)
   ========================================================================== */

.avin-product-reviews-section {
    margin-top: 56px;
    margin-bottom: 60px;
    direction: rtl;
    text-align: right;
}

.avin-reviews-header-block {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
    border-bottom: 1.5px solid #f1f5f9;
}

.avin-reviews-heading {
    font-size: 22px;
    font-weight: 900;
    color: #cf2f71;
    margin: 0;
    line-height: 1.3;
}

.avin-reviews-heading-line {
    position: absolute;
    bottom: -1.5px;
    right: 0;
    width: 56px;
    height: 3px;
    background: #cf2f71;
    border-radius: 4px;
}

/* کارت‌های نظرات */
.avin-reviews-list-wrap {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.avin-review-card {
    background: #fafaf9;
    border: 1px solid #fce7f3;
    border-radius: 18px;
    padding: 22px 26px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avin-review-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.avin-review-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.avin-reviewer-meta {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
}

.avin-reviewer-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #1e293b;
}

.avin-review-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    direction: ltr;
    text-align: right;
}

.avin-review-stars-wrap {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    direction: ltr;
}

.avin-review-stars-wrap .star-svg {
    display: inline-flex;
    width: 17px;
    height: 17px;
}

.avin-review-stars-wrap .star-svg svg {
    width: 17px;
    height: 17px;
}

.avin-review-body {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.85;
}

.avin-review-body p {
    margin: 0;
}

/* فرم ارسال نظر (عکس ۱ دسکتاپ و عکس ۲ موبایل) */
.avin-add-review-card {
    background: #ffffff;
    border: 1px solid #fce7f3;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 4px 16px rgba(207, 47, 113, 0.03);
}

.avin-mobile-form-title {
    display: none !important;
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.avin-star-select-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.star-prompt {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.avin-interactive-stars-group {
    display: inline-flex;
    gap: 4px;
    cursor: pointer;
}

.picker-star {
    display: inline-flex;
    width: 20px;
    height: 20px;
    transition: transform 0.15s ease;
    opacity: 0.35;
}

.picker-star.is-active,
.picker-star:hover {
    opacity: 1;
    transform: scale(1.15);
}

.picker-star svg {
    width: 20px;
    height: 20px;
}

.avin-textarea-wrap {
    margin-bottom: 16px;
}

.avin-textarea-wrap textarea {
    width: 100%;
    border: 1.5px solid #fbcfe8 !important;
    border-radius: 14px;
    background: #ffffff;
    padding: 16px 20px;
    font-family: 'IRANYekanX', sans-serif;
    font-size: 13.5px;
    color: #1e293b;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.avin-textarea-wrap textarea:focus {
    outline: none;
    border-color: #cf2f71 !important;
    box-shadow: 0 0 0 3px rgba(207, 47, 113, 0.12) !important;
}

/* ردیف دسکتاپ: نام، ایمیل، دکمه ثبت (عکس ۱) */
.avin-bottom-fields-row {
    display: flex !important;
    align-items: center;
    gap: 14px;
    direction: rtl;
}

.avin-field-col.col-name,
.avin-field-col.col-email {
    flex: 1;
}

.avin-field-col input {
    width: 100%;
    border: 1.5px solid #fbcfe8 !important;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px 18px;
    font-family: 'IRANYekanX', sans-serif;
    font-size: 13.5px;
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.avin-field-col input:focus {
    outline: none;
    border-color: #cf2f71 !important;
    box-shadow: 0 0 0 3px rgba(207, 47, 113, 0.12) !important;
}

.avin-field-col.col-submit {
    flex: 0 0 auto;
}

.avin-review-submit-btn {
    background: #cf2f71;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-family: 'IRANYekanX', sans-serif;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(207, 47, 113, 0.28);
}

.avin-review-submit-btn:hover {
    background: #b82461;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(207, 47, 113, 0.35);
}

.avin-form-msg {
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.avin-form-msg.is-success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.avin-form-msg.is-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   RESPONSIVENESS (ریسپانسیو خودکار تمامی ویجت‌ها در موبایل و تبلت)
   ========================================================================== */

@media (max-width: 900px) {
    .avin-single-content-wrapper.has-side-col {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .avin-content-side-col {
        display: none !important; /* در موبایل طبق عکس ۴ فقط توضیحات و ویژگی‌ها ستونی نمایش داده می‌شوند */
    }

    .avin-lb-img-container {
        max-width: 95%;
    }

    .avin-lb-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    /* تغییر چیدمان فرم نظرات به حالت موبایل (عکس ۲) */
    .avin-mobile-form-title {
        display: block !important;
    }

    .avin-add-review-card {
        padding: 20px 16px;
    }

    .avin-bottom-fields-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin-bottom: 14px;
    }

    .avin-field-col {
        min-width: 0;
    }

    .avin-field-col.col-submit {
        grid-column: 1 / -1 !important;
        order: 3;
    }

    .avin-review-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
}

/* ==========================================================================
   UNIFIED SITE-WIDE BREADCRUMBS & INTERACTIVE STARS (عکس ۲: آیکون جداکننده و ستاره خالی/پر)
   ========================================================================== */
.avin-global-breadcrumbs-wrap {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    box-sizing: border-box;
    direction: rtl;
}
.avin-breadcrumbs-container {
    max-width: 1282px;
    margin: 0 auto;
    padding: 12px 20px;
    box-sizing: border-box;
}
.hec-breadcrumbs,
.avin-unified-breadcrumbs,
.avin-archive-breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: 'IRANYekanX', sans-serif;
    font-size: 13px;
    color: #8a8588;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}
.hec-breadcrumbs a,
.avin-unified-breadcrumbs a,
.avin-archive-breadcrumbs a {
    color: #8a8588;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 500;
}
.hec-breadcrumbs a:hover,
.avin-unified-breadcrumbs a:hover,
.avin-archive-breadcrumbs a:hover {
    color: #cf2f71;
}
.hec-breadcrumbs .sep,
.avin-unified-breadcrumbs .sep,
.avin-archive-breadcrumbs .crumb-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0 2px;
    vertical-align: middle;
}
.hec-breadcrumbs .sep img,
.avin-unified-breadcrumbs .sep img,
.avin-breadcrumb-sep-img,
.avin-archive-breadcrumbs .crumb-sep img {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}
.hec-breadcrumbs .current,
.avin-unified-breadcrumbs .current,
.avin-archive-breadcrumbs .crumb-current {
    color: #1e293b;
    font-weight: 700;
}

/* استایل ستاره‌های تعاملی فرم دیدگاه (خالی و پر) */
.avin-interactive-stars-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    direction: ltr; /* ۱ تا ۵ از چپ به راست */
}
.picker-star {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: transform 0.15s ease;
}
.picker-star:hover {
    transform: scale(1.22);
}
.picker-star .star-filled {
    display: none;
}
.picker-star .star-outline {
    display: inline-flex;
}
.picker-star.is-active .star-filled,
.picker-star.is-hover .star-filled {
    display: inline-flex;
}
.picker-star.is-active .star-outline,
.picker-star.is-hover .star-outline {
    display: none;
}
.picker-star svg {
    width: 22px;
    height: 22px;
    display: block;
}
.star-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.star-svg svg {
    display: block;
}
.star-svg.is-filled svg path {
    fill: #F8B600;
}
.star-svg.is-empty svg path {
    fill: #F8B600;
}

/* ==========================================================================
   REFINEMENTS FOR SINGLE PRODUCT (عدم تکرار باکس استعلام و حذف پس‌زمینه نشان‌های اعتماد)
   ========================================================================== */
.hec-trust-badges-row {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 20px 0 24px 0 !important;
    border: none !important;
    padding: 0 !important;
}

.hec-trust-badge {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: right !important;
    gap: 10px !important;
    flex: 1 !important;
}

.hec-trust-badge .badge-icon-svg {
    display: inline-flex !important;
    width: 48px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
}

.hec-trust-badge .badge-icon-svg svg {
    width: 48px !important;
    height: 48px !important;
}

.hec-trust-badge .badge-text {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #cf2f71 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* در دسکتاپ کادر استعلام بالایی پنهان می‌شود تا فقط باکس استیکی کناری توضیحات بماند */
@media (min-width: 993px) {
    .hec-mobile-only-inquiry,
    .hec-product-summary-col .hec-inquiry-card {
        display: none !important;
    }
    .hec-mobile-floating-actions {
        display: none !important;
    }
}

/* در موبایل و تبلت سایدبار کناری پنهان می‌شود و فقط کادر استعلام زیر نشان‌های اعتماد نمایش می‌یابد */
@media (max-width: 992px) {
    .hec-mobile-only-inquiry,
    .hec-product-summary-col .hec-inquiry-card {
        display: block !important;
        margin: 18px 0 22px 0 !important;
        background: #fff5f8 !important;
        border: 1.5px solid #fce7f3 !important;
        border-radius: 16px !important;
        padding: 16px 14px !important;
        box-shadow: 0 4px 16px rgba(207, 47, 113, 0.04) !important;
    }
    .avin-single-content-wrapper.has-side-col {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .avin-content-side-col {
        display: none !important; /* جلوگیری از تکرار مجدد در موبایل و تبلت */
    }
    .hec-mobile-floating-actions {
        position: absolute;
        top: 14px;
        right: 14px;
        display: flex !important;
        gap: 8px;
        z-index: 10;
    }
    .hec-mobile-floating-actions .hec-icon-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #f1f5f9;
        cursor: pointer;
    }
    .hec-product-top-bar .hec-top-actions {
        display: none !important;
    }
    .hec-product-categories {
        font-size: 12px;
        color: #94a3b8;
        margin-top: 6px;
    }
    .hec-product-categories a {
        color: #94a3b8;
        text-decoration: none;
    }
}

/* ==========================================================================
   BLOG POST FAQS ACCORDION & ARTICLE TABLES
   ========================================================================== */
.avin-post-faqs-section {
    margin: 40px 0 20px 0;
    padding: 24px;
    background: #fafaf9;
    border-radius: 18px;
    border: 1px solid #f1f5f9;
    direction: rtl;
}
.avin-faqs-header-bar {
    margin-bottom: 20px;
}
.avin-faqs-heading {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.avin-faqs-line {
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #cf2f71;
    border-radius: 4px;
}
.avin-faqs-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.avin-faq-acc-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.2s ease;
}
.avin-faq-acc-item:hover {
    border-color: #cf2f71;
}
.avin-faq-acc-trigger {
    width: 100%;
    text-align: right;
    background: #ffffff;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: inherit;
    transition: background 0.15s ease;
}
.avin-faq-acc-trigger:hover {
    background: #fff5f8;
}
.avin-faq-acc-content {
    display: none;
    padding: 18px 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}
.avin-article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 13.5px;
    direction: rtl;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
}
.avin-article-table th {
    background: #1e293b;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 14px;
    text-align: right;
}
.avin-article-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}
.avin-article-table tr:nth-child(even) td {
    background: #f8fafc;
}
.avin-article-table tr:hover td {
    background: #fff5f8;
}
.avin-callout-box {
    background: #fff5f8;
    border-right: 4px solid #cf2f71;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 24px 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.8;
}

/* حالت تک‌تصویر (بدون گالری) جهت تمام‌عرض شدن تصویر شاخص */
.hec-gallery-wrapper.no-thumbnails {
    display: block !important;
}
.hec-gallery-wrapper.no-thumbnails .hec-main-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}
.hec-gallery-wrapper.no-thumbnails .hec-vertical-thumbnails {
    display: none !important;
}


/* ==========================================================================
   REFINEMENTS: تیتر سرخابی محصول، چینش نشان‌های اعتماد و اصلاح سربرگ نظرات
   ========================================================================== */
.hec-single-title,
.hec-product-summary-col .hec-single-title,
h1.hec-single-title,
.avin-elementor-title-widget .hec-single-title {
    color: #cf2f71 !important;
}

.avin-review-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
}

.avin-reviewer-right {
    display: flex !important;
    align-items: center !important;
}

.avin-reviewer-name {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
}

.avin-review-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    direction: ltr !important;
}

.avin-review-date {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    font-family: 'IRANYekanX', 'IRANYekanXFaNum', sans-serif !important;
    direction: ltr !important;
    letter-spacing: 0.5px !important;
}

.avin-review-stars,
.avin-review-stars-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    direction: ltr !important;
}

/* ==========================================================================
   بخش محصولات مرتبط صفحه محصول (Single Product Related Products Section)
   طراحی اختصاصی مطابق فریم ۸۹۲ فیگما و استایل کاروسل‌های برند آوین
   ========================================================================== */
.avin-related-products-section {
    margin: 50px 0 35px 0 !important;
    direction: rtl !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.avin-related-products-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 24px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: relative !important;
    direction: rtl !important;
}

.avin-related-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #cf2f71 !important;
    margin: 0 !important;
    position: relative !important;
    display: inline-block !important;
    line-height: 1.3 !important;
}

.avin-related-title::after {
    display: none !important;
}

/* نمایش ۵ تایی برای کاروسل محصولات مرتبط در دسکتاپ مطابق طرح هدف فیگما */
@media (min-width: 1025px) {
    .avin-related-products-section .avin-simple-carousel-wrap,
    .avin-simple-carousel-wrap.avin-simple-carousel-wrap--cols-5,
    .avin-simple-carousel-wrap[data-columns="5"] {
        --sc-gap: 16px !important;
    }
    .avin-related-products-section .avin-simple-product-card,
    .avin-simple-carousel-wrap.avin-simple-carousel-wrap--cols-5 .avin-simple-product-card,
    .avin-simple-carousel-wrap[data-columns="5"] .avin-simple-product-card {
        flex: 0 0 calc((100% - 4 * var(--sc-gap, 16px)) / 5) !important;
        max-width: calc((100% - 4 * var(--sc-gap, 16px)) / 5) !important;
        width: calc((100% - 4 * var(--sc-gap, 16px)) / 5) !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .avin-related-products-section .avin-simple-product-card,
    .avin-simple-carousel-wrap.avin-simple-carousel-wrap--cols-5 .avin-simple-product-card,
    .avin-simple-carousel-wrap[data-columns="5"] .avin-simple-product-card {
        flex: 0 0 calc((100% - 2 * var(--sc-gap, 14px)) / 3) !important;
        max-width: calc((100% - 2 * var(--sc-gap, 14px)) / 3) !important;
        width: calc((100% - 2 * var(--sc-gap, 14px)) / 3) !important;
    }
}

@media (max-width: 767px) {
    .avin-related-products-section .avin-simple-product-card,
    .avin-simple-carousel-wrap.avin-simple-carousel-wrap--cols-5 .avin-simple-product-card,
    .avin-simple-carousel-wrap[data-columns="5"] .avin-simple-product-card {
        flex: 0 0 calc((100% - var(--sc-gap, 12px)) / 2) !important;
        max-width: calc((100% - var(--sc-gap, 12px)) / 2) !important;
        width: calc((100% - var(--sc-gap, 12px)) / 2) !important;
    }
}
