/* ========== لیست قیمت شورت‌کد [ahan_price_list] ========== */
.ahan-price-list-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    direction: rtl !important;
}

.ahan-price-list__date {
    font-size: 19px !important;
    font-weight: bold !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

.ahan-price-list-grid {
    display: grid !important;
    gap: 20px !important;
}

.ahan-price-box {
    border: 1px solid #ccc !important;
    border-radius: 15px !important;
    background: #fff !important;
}

.ahan-price-box__header {
    padding: 15px 10px !important;
    border-bottom: 1px solid #ccc !important;
    font-weight: 800 !important;
    background: #051934 !important;
    color: #fff !important;
    border-radius: 10px 10px 0 0 !important;
    text-align: center !important;
}

.ahan-price-box__header h3 {
    margin: 0 !important;
    font-size: 18px !important;
}

.ahan-price-item {
    padding: 0px 15px !important;
    font-size: 15px !important;
    border-bottom: 1px solid #dcdcdc !important;
    display: flex !important;
    justify-content: space-between !important;
}

.ahan-price-item:last-child {
    border-bottom: none !important;
}

.ahan-price-item__name {
    color: #333 !important;
}

.ahan-price-item__price {
    font-weight: 400 !important;
    color: #051934 !important;
}

/* ========== ریسپانسیو لیست قیمت ========== */
@media (min-width: 768px) {
    .ahan-price-list-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .ahan-price-list-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .ahan-price-list-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========== شورت‌کد [ahan_page] - ماشین‌حساب ========== */

.ahan-page {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.ahan-page__sidebar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.ahan-page__content {
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    margin-top: 2em;
}

.ahan-page__sidebar__item {
    border: 1px dashed #ccc;
    padding: 10px 20px;
    cursor: pointer;
    color: #000;
    width: calc(33.33% - 20px);
    text-align: center;
    margin: 10px;
    transition: all 0.3s ease;
}

.ahan-page__sidebar__item:hover {
    background-color: #fef5dc;
}

.ahan-page__sidebar__item--active {
    background-color: #EEAD16;
    border-color: #EEAD16;
    color: #fff;
}

.ahan-page__content__item {
    display: none;
    width: 100%;
}

.ahan-page__content__item--active {
    display: flex;
    flex-wrap: wrap;
}

.ahan-page__content__title {
    width: 100%;
    margin-bottom: 20px;
}

.ahan-page__content__title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.ahan-page__content__box {
    width: calc(50% - 20px);
    margin: 0 10px;
    margin-bottom: 15px;
}

.ahan-page__content__box__field {
    display: flex;
    flex-direction: column;
}

.ahan-page__content__box__field label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.ahan-page__content__box__field select,
.ahan-page__content__box__field input {
    border-radius: 10px;
    background: #fff;
    border: 2px solid #ececec;
    padding: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.ahan-page__content__box__field select:focus,
.ahan-page__content__box__field input:focus {
    outline: none;
    border-color: #EEAD16;
}

.ahan-page__content__info {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #ececec;
    padding-top: 10px;
}

.ahan-page__content__info__result__box {
    display: flex;
    flex-direction: column;
}

.ahan-page__content__info__result__box label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.ahan-page__content__info__result {
    width: 50%;
    padding: 10px;
    border-top: 1px solid #ececec;
    border-radius: 10px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    display: block;
    margin: 20px auto;
    color: #051934;
    background: #f8f9fa;
}

/* ========== پیام خطا ========== */
.ahan-error {
    padding: 15px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 5px;
    color: #c33;
    text-align: center;
}

/* ========== ریسپانسیو برای ahan_page ========== */
@media (max-width: 768px) {
    .ahan-page__sidebar__item {
        width: calc(50% - 20px);
    }
    
    .ahan-page__content__box {
        width: calc(100% - 20px);
    }
    
    .ahan-page__content__info__result {
        width: 80%;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .ahan-page__sidebar__item {
        width: calc(100% - 20px);
    }
    
    .ahan-page__content__title h3 {
        font-size: 20px;
    }
}
