﻿.product-price {
    color: #0a2971;
}

.variant-group {
    margin-bottom: 25px;
}

.variant-label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-button {
    border: 1px solid #0a2971;
    border-radius: 8px;
    padding: 8px 14px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: none; /* در حالت اولیه shadow نداره */
}

    .variant-button:hover {
        box-shadow: 0 0 0 1px #0a2971; /* ظاهر شدن یک خط اضافی بیرون از border بدون تغییر سایز */
    }

    .variant-button.active {
        background-color: #0a2971;
        color: white;
        border-color: #0a2971;
    }

.quantity {
    margin: 10px 0;
}

    .quantity input {
        width: 80px;
        padding: 6px;
        text-align: center;
        font-size: 16px;
    }

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    background-color: #f9f9f9;
}

.btn-qty {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #0a2971;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .btn-qty:hover {
        background-color: #0a2971;
    }

.qty-display {
    width: 60px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #444;
    background-color: #fff;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-add-to-cart {
    border: 1px solid #0a2971;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    background-color: #0a2971;
    cursor: pointer;
    transition: 0.2s ease;
    text-align: center;
    font-size: 15px;
}

    .btn-add-to-cart:hover {
        background-color: #fff;
        color: #0a2971;
    }

.blur-price {
    filter: blur(2px);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.product-content h2 {
    text-align: right;
    font-size: 18px;
}

.product-row {
    display: flex;
    align-items: center; /* عناصر را وسط‌چین عمودی می‌کند */
    gap: 16px; /* فاصله بین دو بخش */
}
