/* ============================================================
   🧭 یارامیس - استایل اختصاصی
   ============================================================ */

/* ============================================================
   🎨 پس‌زمینه‌ی یارامیس - دقیقاً مثل صفحه اکسپلور
   ============================================================ */
body.yaramis-page {
    min-height: 100vh;
    background-image:
        url('/images/explore-bg-desktop.webp'),
        linear-gradient(135deg,
            rgba(30, 50, 35, 1) 0%,
            rgba(25, 40, 30, 1) 20%,
            rgba(20, 35, 28, 1) 40%,
            rgba(15, 30, 25, 1) 60%,
            rgba(10, 20, 18, 1) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

@media (max-width: 767px) {

 body.yaramis-page {
        /* background-image: url('/images/explore-bg-mobile.webp'),
linear-gradient(135deg,
rgba(30, 50, 35, 1) 0%,
rgba(25, 40, 30, 1) 20%,
rgba(20, 35, 28, 1) 40%,
rgba(15, 30, 25, 1) 60%,
rgba(10, 20, 18, 1) 100%); */
        /* background-position: top center; */
        /* background-attachment: scroll; */
    
    }

}

@media (min-width: 768px) and (max-width: 1023px) {
    body.yaramis-page {
        background-image:
            url('/images/explore-bg-tablet.webp'),
            linear-gradient(135deg,
                rgba(30, 50, 35, 1) 0%,
                rgba(25, 40, 30, 1) 20%,
                rgba(20, 35, 28, 1) 40%,
                rgba(15, 30, 25, 1) 60%,
                rgba(10, 20, 18, 1) 100%);
        background-attachment: fixed;
    }
}

/* ============================================================
   🧭 کانتینر اصلی
   ============================================================ */
.yaramis-container {
    max-width: 1200px;
    margin: 110px auto 40px;
    padding: 0 16px;
}

/* ============================================================
   🎯 هدر برند یارامیس
   ============================================================ */
.yaramis-brand {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1rem;
}

.yaramis-brand .brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), #3a9a85);
    border-radius: 50%;
    margin-bottom: 0.6rem;
    font-size: 1.7rem;
    box-shadow: 0 8px 30px rgba(71, 181, 158, 0.25);
}

.yaramis-brand h1 {
    color: var(--light);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0.2rem 0;
}

.yaramis-brand h1 span {
    color: var(--primary);
}

.yaramis-brand .subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0.3rem auto 0;
}

/* ============================================================
   🔑 ویژگی‌های کلیدی (چند انتخابی)
   ============================================================ */
.features-section {
    background: rgba(52, 58, 50, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.4rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-group {
    margin-bottom: 1.1rem;
}

.feature-group:last-child {
    margin-bottom: 0;
}

.feature-title {
    color: var(--light);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-title .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(71, 181, 158, 0.5);
}

.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.option-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--light);
    padding: 0.55rem 1.3rem;
    border-radius: 40px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.option-btn:hover {
    background: rgba(71, 181, 158, 0.12);
    border-color: rgba(71, 181, 158, 0.3);
}

.option-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(71, 181, 158, 0.3);
}

/* ============================================================
   🌸 بخش سلیقه بویی (اولویت‌بندی)
   ============================================================ */
.priority-section {
    background: rgba(52, 58, 50, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.4rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.priority-title {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-align: center;
}

.priority-subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    text-align: center;
    margin-bottom: 1.1rem;
}

.priority-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.priority-box {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
}

.priority-box:hover {
    border-color: rgba(71, 181, 158, 0.4);
    background: rgba(71, 181, 158, 0.05);
}

.priority-box.drag-over {
    border-color: var(--primary);
    background: rgba(71, 181, 158, 0.1);
    transform: scale(1.02);
}

.priority-box.filled {
    border-style: solid;
    border-color: rgba(71, 181, 158, 0.4);
    background: rgba(71, 181, 158, 0.08);
}

.priority-box .placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    text-align: center;
    user-select: none;
}

.priority-box .priority-label {
    position: absolute;
    top: -8px;
    right: 12px;
    background: var(--dark);
    padding: 0 6px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

.priority-box .chip-content {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--light);
    font-size: 0.85rem;
    font-weight: 500;
    width: 100%;
    justify-content: center;
}

.priority-box .remove-chip {
    background: rgba(163, 92, 64, 0.8);
    color: #fff;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.priority-box .remove-chip:hover {
    background: var(--red);
    transform: scale(1.1);
}

/* چیپ‌های ویژگی امتیازی */
.score-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 50px;
}

.score-chip {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: grab;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.score-chip:hover {
    background: rgba(71, 181, 158, 0.15);
    border-color: rgba(71, 181, 158, 0.4);
    transform: translateY(-2px);
}

.score-chip.dragging {
    opacity: 0.4;
    cursor: grabbing;
}

/* ============================================================
   🚀 دکمه‌ی ارسال
   ============================================================ */
.submit-row {
    text-align: center;
    margin: 1.3rem 0 1.5rem;
}

.submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.85rem 3rem;
    border-radius: 40px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(71, 181, 158, 0.25);
    min-width: 200px;
}

.submit-btn:hover {
    background: #3a9a85;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(71, 181, 158, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================
   ⏳ اورلی لودینگ (مات + بلر)
   ============================================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 18, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.loading-overlay.active {
    display: flex;
}

.loading-text {
    color: var(--light);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
    margin-right: 6px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.1); opacity: 1; }
}

/* ============================================================
   🛍️ کانتینر محصولات
   ============================================================ */
.products-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* در تبلت و بالاتر: ۲ ستون */
@media (min-width: 768px) {
    .products-container {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}

/* در مانیتورهای خیلی بزرگ: محدود کردن عرض کل */
@media (min-width: 1400px) {
    .products-container {
        max-width: 1300px;
    }
}

/* ============================================================
   🎴 کارت محصول
   ============================================================ */
.product-card {
    background: var(--dark);
    border-radius: 15px;
    padding: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    transition: all 0.3s ease;
    align-items: stretch;
    max-width: 640px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
    transform: translateY(-2px);
}

/* ===== نیمه‌ی راست: تصویر و اطلاعات خرید ===== */
.product-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.product-right .product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--greenlight), var(--primary));
    flex-shrink: 0;
}

.product-right .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
}

.product-right .product-name {
    color: var(--light);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.product-right .product-price {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: right;
}

/* ============================================
   🎨 رنگ‌های محصول - دقیقاً مثل اکسپلور
   ============================================ */
.product-right .product-colors-wrapper {
    margin: 4px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.product-right .product-colors-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 8px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    -webkit-overflow-scrolling: touch;
    direction: ltr;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
}

.product-right .product-colors-scroll::-webkit-scrollbar {
    height: 3px;
}

.product-right .product-colors-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.product-right .product-colors-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* آیتم رنگ (دایره + نام) */
.product-right .color-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 5px;
    border-radius: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    white-space: nowrap;
}

.product-right .color-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.product-right .color-item.active {
    background: rgba(71, 181, 158, 0.12);
    border-color: var(--primary);
}

/* دایره رنگ */
.product-right .color-circle {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.product-right .color-circle:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.35);
}

.product-right .color-circle.active {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 0 2px rgba(71, 181, 158, 0.2);
}

.product-right .color-circle.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-right .color-circle.unavailable::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 0, 0, 0.6);
    font-size: 10px;
    font-weight: bold;
}

/* نام رنگ */
.product-right .color-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
    line-height: 1;
    margin: 2px;
}

.product-right .color-item.active .color-label {
    color: var(--primary);
    font-weight: 500;
    margin: 4px;
}

.product-right .color-item:hover .color-label {
    color: rgba(255, 255, 255, 0.85);
}

/* دکمه‌های اقدام */
.product-right .product-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.product-right .wishlist-btn {
    background: var(--red);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    padding: 0;
}

.product-right .wishlist-btn:hover {
    background: #c4452a;
    transform: scale(1.08);
}

.product-right .wishlist-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: white;
    stroke-width: 18.3px;
}

.product-right .wishlist-btn.active svg {
    fill: white;
    stroke: none;
}

.product-right .add-to-cart-btn {
    flex: 1;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.product-right .add-to-cart-btn:hover {
    background: #3a9a85;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(71, 181, 158, .3);
}

.product-right .add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== نیمه‌ی چپ: ویژگی‌ها و امتیازها ===== */
.product-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.product-left .key-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-left .feature-tag {
    background: rgba(71, 181, 158, 0.12);
    color: var(--primary);
    border: 1px solid rgba(71, 181, 158, 0.3);
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
}

.product-left .score-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px;
    flex: 1;
    justify-content: space-evenly;
}

/* ============================================
   📊 ردیف نوار امتیاز - چیدمان منعطف
   ============================================ */
.score-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.score-bar-row .score-feature-name {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 42%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.score-bar-row .score-bar-track {
    flex: 1 1 auto;
    min-width: 50px;
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.score-bar-row .score-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
}

.score-bar-row .score-value {
    flex: 0 0 auto;
    min-width: 26px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
}

/* ============================================================
   ⏬ دکمه نمایش بیشتر
   ============================================================ */
.load-more-btn {
    display: block;
    margin: 24px auto 40px;
    padding: 14px 26px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    min-width: 200px;
}

.load-more-btn:hover {
    background: #3a9a85;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   🔔 پیام شناور (Mini Toast)
   ============================================ */
.mini-toast {
    position: fixed;
    right: 20px;
    bottom: 80px;
    background: #222;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: all .25s ease;
    z-index: 99999;
    font-size: 0.9rem;
    pointer-events: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    font-family: inherit;
}

.mini-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.mini-toast.err {
    background: #b00020;
}

/* ============================================================
   📱 ریسپانسیو
   ============================================================ */
@media (max-width: 767px) {
    .yaramis-container {
        margin-top: 90px;
        padding: 0 12px;
    }

    .yaramis-brand h1 {
        font-size: 1.6rem;
    }

    .features-section,
    .priority-section {
        padding: 1rem;
    }

    .priority-boxes {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .priority-box {
        min-height: 55px;
    }

    .product-card {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px;
        max-width: 100%;
    }

    .score-bar-row .score-feature-name {
        font-size: 0.72rem;
    }

    .score-bar-row .score-value {
        font-size: 0.7rem;
    }

    .score-bar-row .score-bar-track {
        height: 10px;
    }
}

@media (max-width: 480px) {
    .yaramis-brand h1 {
        font-size: 1.4rem;
    }

    .option-btn {
        padding: 0.5rem 1.1rem;
        font-size: 0.8rem;
    }

    .product-right .product-name {
        font-size: 0.8rem;
    }

    .product-right .product-price {
        font-size: 0.9rem;
    }

    .product-right .wishlist-btn {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .product-right .wishlist-btn svg {
        width: 18px;
        height: 18px;
    }

    .product-right .add-to-cart-btn {
        font-size: 0.68rem;
        padding: 7px;
    }

    .product-right .color-circle {
        width: 15px;
        height: 15px;
        min-width: 15px;
    }

    .product-right .color-label {
        font-size: 0.55rem;
        margin: 1px;
    }

    /* چیدمان دو ردیفی برای نوار امتیاز در موبایل باریک */
    .score-bar-row {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "name value"
            "bar bar";
        gap: 4px 6px;
        align-items: center;
    }

    .score-bar-row .score-feature-name {
        grid-area: name;
        max-width: 100%;
        font-size: 0.72rem;
    }

    .score-bar-row .score-value {
        grid-area: value;
        font-size: 0.72rem;
    }

    .score-bar-row .score-bar-track {
        grid-area: bar;
        width: 100%;
        min-width: 0;
        height: 10px;
    }

    .product-left .feature-tag {
        font-size: 0.65rem;
        padding: 0.18rem 0.55rem;
    }
}
/* ============================================================
   📖 دکمه راهنما (لینک به بخش راهنما)
   ============================================================ */
.guide-btn-row {
    margin: 1rem 0 2rem;
}

.guide-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    background: rgba(52, 58, 50, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--light);
    border: 1px solid rgba(71, 181, 158, 0.25);
    padding: 1rem 1.4rem;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    text-decoration: none;
    width: 100%;
}

.guide-btn:hover {
    background: rgba(71, 181, 158, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(71, 181, 158, 0.2);
}

.guide-btn .guide-arrow {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ============================================================
   📖 کادر راهنما و توضیحات (همیشه قابل مشاهده)
   ============================================================ */
.guide-section {
    background: rgba(52, 58, 50, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem 1.8rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.9;
    scroll-margin-top: 100px; /* برای جلوگیری از پوشیده شدن توسط هدر ثابت */
}

.guide-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.guide-section h3 {
    color: var(--greenlight);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    line-height: 1.5;

}

.guide-section h4 {
    color: var(--greenlight);
    font-size: 1.02rem;
    font-weight: 600;
    margin-top: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.guide-section p {
    color: var(--light);
    font-size: 0.95rem;
    margin-bottom: 0.9rem;

}

.guide-section ul,
.guide-section ol {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    padding-right: 1.6rem;
    margin-bottom: 0.9rem;
}

.guide-section li {
    margin-bottom: 0.5rem;
    line-height: 1.9;
}

.guide-section strong {
    color: var(--light);
    font-weight: 600;
}

.guide-section hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1.8rem 0;
}

.guide-section .guide-footer-note {
    text-align: center;
    color: var(--primary);
    font-weight: 500;
    margin-top: 1.8rem;
    font-size: 1rem;
}

/* راهنما در موبایل */
@media (max-width: 768px) {
    .guide-btn {
        font-size: 0.92rem;
        padding: 0.9rem 1.1rem;
    }
    .guide-section {
        padding: 1.8rem 1.2rem;
    }
    .guide-section h2 {
        font-size: 1.25rem;
    }
    .guide-section h3 {
        font-size: 1.05rem;
    }
    .guide-section h4 {
        font-size: 0.95rem;
    }
    .guide-section p,
    .guide-section li {
        font-size: 0.8rem;
    }
}

/* کلاس کمکی برای مخفی کردن بصری (H2 های سئویی) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ============================================================
   📖 کادر راهنما - استایل بخش‌های داخلی
   ============================================================ */
.guide-section > section {
    margin-bottom: 1.5rem;
}

.guide-section article {
    background: rgba(255, 255, 255, 0.02);
    border-right: 3px solid rgba(71, 181, 158, 0.3);
    padding: 0.8rem 1rem;
    margin-bottom: 0.9rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.guide-section article:hover {
    background: rgba(71, 181, 158, 0.05);
    border-right-color: var(--primary);
}

.guide-section article h4 {
    margin-top: 0;
    color: var(--greenlight);
    font-size: 1rem;
    margin-bottom: 0.4rem;

}

/* ============================================================
   🔗 ترکیب‌های پیشنهادی (Grid)
   ============================================================ */
.yaramis-combinations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .yaramis-combinations {
        grid-template-columns: 1fr;
    }
}

.yaramis-combinations article {
    margin-bottom: 0;
    background: rgba(71, 181, 158, 0.06);
    border-right-color: var(--primary);
}

.yaramis-combinations article h4 {
    color: var(--primary);
    font-weight: 700;
}

/* ============================================================
   🎯 CTA (دعوت به اقدام)
   ============================================================ */
.yaramis-cta {
    background: linear-gradient(135deg, rgba(71, 181, 158, 0.12), rgba(143, 162, 113, 0.08));
    border: 1px solid rgba(71, 181, 158, 0.25);
    border-radius: 14px;
    padding: 1.4rem 1.2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.yaramis-cta h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.15rem;
}

.yaramis-cta p {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   ❓ FAQ (سوالات متداول)
   ============================================================ */
.faq {
    margin-top: 1.5rem;
}

.faq details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0;
    margin-bottom: 0.7rem;
    transition: all 0.25s ease;
    overflow: hidden;
}

.faq details[open] {
    background: rgba(71, 181, 158, 0.05);
    border-color: rgba(71, 181, 158, 0.3);
}

.faq summary {
    cursor: pointer;
    padding: 0.9rem 1.1rem;
    color: var(--light);
    font-weight: 500;
    font-size: 0.95rem;
    list-style: none;
    position: relative;
    padding-left: 2.2rem;
    transition: color 0.2s;
    user-select: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::before {
    content: '+';
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(71, 181, 158, 0.15);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.faq details[open] summary::before {
    content: '−';
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) rotate(180deg);
}

.faq summary:hover {
    color: var(--primary);
}

.faq details p {
    padding: 0 1.1rem 1rem 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.9;
    margin: 0;
    animation: faqFadeIn 0.3s ease;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* موبایل */
@media (max-width: 480px) {
    .guide-section article {
        padding: 0.7rem 0.8rem;
    }
    .faq summary {
        font-size: 0.88rem;
        padding: 0.8rem 0.9rem 0.8rem 2rem;
    }
    .faq summary::before {
        left: 0.7rem;
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
    }
    .faq details p {
        padding: 0 0.9rem 0.9rem 0.9rem;
        font-size: 0.85rem;
    }
}
/* ============================================================
   ✨ انیمیشن جهش چیپ‌ها هنگام کلیک روی اولویت خالی
   ============================================================ */
@keyframes chipBounceUp {
    0% {
        transform: translateY(0) scale(1);
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.1);
        color: var(--light);
        box-shadow: none;
    }
    30% {
        transform: translateY(-14px) scale(1.12);
        background: rgba(71, 181, 158, 0.35);
        border-color: var(--primary);
        color: #ffffff;
        box-shadow: 0 8px 24px rgba(71, 181, 158, 0.5);
    }
    60% {
        transform: translateY(-8px) scale(1.06);
        background: rgba(71, 181, 158, 0.25);
        border-color: var(--primary);
        color: #ffffff;
        box-shadow: 0 4px 16px rgba(71, 181, 158, 0.35);
    }
    100% {
        transform: translateY(0) scale(1);
        background: rgba(71, 181, 158, 0.12);
        border-color: rgba(71, 181, 158, 0.5);
        color: var(--primary);
        box-shadow: 0 0 0 2px rgba(71, 181, 158, 0.15);
    }
}

.score-chip.bouncing {
    animation: chipBounceUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes boxPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.04); border-color: var(--primary); background: rgba(71, 181, 158, 0.15); }
    100% { transform: scale(1); }
}

.priority-box.pulsing {
    animation: boxPulse 0.6s ease-out;
}
/* ============================================================
   ⚠️ کادر نسخه بتا
   ============================================================ */
.yaramis-beta-badge {
    display: block;
    width: fit-content;
    margin: 0.75rem auto 0.75rem;
    background-color: var(--red);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 1.2rem;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(163, 92, 64, 0.35);
    font-family: inherit;
    text-align: center;

}

@media (max-width: 480px) {
    .yaramis-beta-badge {
        font-size: 0.68rem;
        padding: 0.3rem 1rem;
    }
}
