/* =========================
   perfume-ui.css
   ========================= */

@font-face {
    font-family: 'Vazir';
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazir';
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}


body {
    font-family: 'Vazir' !important;
}

.perfume-ui {
    max-width: 420px;
    margin: 0 auto;
    font-family: 'Vazir', Tahoma, sans-serif;
    direction: rtl;
    box-sizing: border-box;
}

.price-box {
    text-align: center;
    margin-bottom: 20px;
}

#main-price {
    font-size: 28px;
    font-weight: bold;
    color: #0b3b2e;
}

.stock-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
}

.stock-status .dot {
    color: #1a7f37;
    font-size: 20px;
    line-height: 1;
}

.stock-status .text {
    color: #000;
    font-size: 16px;
    font-weight: 500;
}

.volume-title {
    margin: 15px 0 10px;
    font-weight: bold;
}

.perfume-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.perfume-card {
    flex: 1;
    min-width: 140px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 12px;
    cursor: pointer;
    transition: .2s;
    background: #fff;
}

.perfume-card:hover {
    border-color: #012D22;
}

.perfume-card.active {
    border: 2px solid #012D22;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.size {
    font-weight: bold;
    margin-bottom: 5px;
}

.price {
    font-size: 13px;
    color: #555;
}

.qty-box {
    margin-top: 20px;
}

.qty-title {
    margin-bottom: 8px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-control button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#qty {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: bold;
    font-size: 16px;
}

#add-to-cart-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #012D22;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

#add-to-cart-btn:hover:not(:disabled) {
    background: #0b3b2e;
}

#add-to-cart-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}