/* ========== Wrapper اصلی ========== */
.ahan-v2-price-list-wrapper {
    max-width: 1200px !important;
    margin: 30px auto !important;
    padding: 20px !important;
    direction: rtl !important;
    font-family: 'IRANSans', 'Tahoma', Arial, sans-serif !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

/* ========== تاریخ آپدیت ========== */
.ahan-v2-price-list__date {
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    background: #051934 !important;
    color: white !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

/* ========== Grid دسته‌بندی‌ها ========== */
.ahan-v2-price-list-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 25px !important;
}

/* ========== کارت دسته‌بندی ========== */
.ahan-v2-price-box {
    position: relative;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    background: transparent !important; /* بدون رنگ */
}

.ahan-v2-price-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://esahanshz.ir/wp-content/uploads/2025/10/logo-ahan.webp") center top / contain repeat-y;
    opacity: 0.15; /* شفافیت 15٪ */
    filter: grayscale(100%); /* سیاه‌سفید کردن تصویر */
    z-index: 0;
}

.ahan-v2-price-box > * {
    position: relative;
    z-index: 1; /* تا متن بالای تصویر باشه */
}

.ahan-v2-price-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
}

/* ========== Header کارت با لوگو ========== */
.ahan-v2-price-box__header {
    background: #051934 !important;
    padding: 18px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.ahan-v2-price-box__header-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
}

.ahan-v2-price-box__header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.ahan-v2-price-box__price-type {
    font-size: 13px !important;
    color: #ffd700 !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 3px 10px !important;
    border-radius: 5px !important;
}

.ahan-v2-price-box__logo {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
}

/* ========== Body کارت ========== */
.ahan-v2-price-box__body {
    padding: 20px !important;
    background: transparent !important;
}

/* ========== آیتم محصول ========== */
.ahan-v2-price-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0px 18px !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px dashed #ccc !important; /* خط‌چین خاکستری */
}

.ahan-v2-price-item:last-child {
    margin-bottom: 0 !important;
    border-bottom: none !important; /* حذف خط آخرین آیتم */
}

.ahan-v2-price-item:hover {
    background: #e3f2fd !important;
    transform: translateX(-5px) !important;
}

/* ========== نام محصول ========== */
.ahan-v2-price-item__name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    flex: 1 !important;
}

/* ========== قیمت محصول ========== */
.ahan-v2-price-item__price {
    font-size: 16px !important;
    font-weight: bold !important;
    color: black !important;
    white-space: nowrap !important;
    padding: 8px 15px !important;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .ahan-v2-price-list-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .ahan-v2-price-box__logo {
        width: 45px !important;
        height: 45px !important;
    }

    .ahan-v2-price-box__header h3 {
        font-size: 16px !important;
    }

    .ahan-v2-price-box__price-type {
        font-size: 11px !important;
        padding: 2px 8px !important;
    }

    .ahan-v2-price-item {
        padding: 10px 15px !important;
    }

    .ahan-v2-price-item__name {
        font-size: 14px !important;
    }

    .ahan-v2-price-item__price {
        font-size: 14px !important;
        padding: 6px 10px !important;
    }
}

@media (max-width: 480px) {
    .ahan-v2-price-list-wrapper {
        padding: 15px !important;
    }

    .ahan-v2-price-box__header {
        padding: 15px !important;
    }

    .ahan-v2-price-box__logo {
        width: 40px !important;
        height: 40px !important;
    }

    .ahan-v2-price-box__header h3 {
        font-size: 15px !important;
    }

    .ahan-v2-price-box__body {
        padding: 15px !important;
    }
}
