/* BebanStore Custom Font Styles */

/* Font Face Definition - Vazir Font Family */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

/* Custom Font Class */
.bebanstore-vazir-font {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Apply to all BebanStore features when enabled */
.bebanstore-custom-font-enabled .bebanstore-feature,
.bebanstore-custom-font-enabled .bebanstore-setting,
.bebanstore-custom-font-enabled .bebanstore-modal,
.bebanstore-custom-font-enabled .bebanstore-notification {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Specific feature font applications */
.bebanstore-custom-font-enabled .beban-wishlist-account-page,
.bebanstore-custom-font-enabled .beban-wishlist-account-header,
.bebanstore-custom-font-enabled .beban-wishlist-grid,
.bebanstore-custom-font-enabled .beban-wishlist-item,
.bebanstore-custom-font-enabled .beban-wishlist-details,
.bebanstore-custom-font-enabled .beban-wishlist-actions {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Save for Later Cart (Pro) */
.bebanstore-custom-font-enabled .bebanstore-next-purchase-account-page,
.bebanstore-custom-font-enabled .bebanstore-next-purchase-account-header,
.bebanstore-custom-font-enabled .bebanstore-next-purchase-grid,
.bebanstore-custom-font-enabled .bebanstore-next-purchase-item,
.bebanstore-custom-font-enabled .bebanstore-next-purchase-details,
.bebanstore-custom-font-enabled .bebanstore-next-purchase-actions {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Countdown Feature */
.bebanstore-custom-font-enabled .bebanstore-countdown,
.bebanstore-custom-font-enabled .bebanstore-countdown-timer,
.bebanstore-custom-font-enabled .bebanstore-countdown-text {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Sales Progress Feature */
.bebanstore-custom-font-enabled .bebanstore-sales-progress,
.bebanstore-custom-font-enabled .bebanstore-sales-progress-bar,
.bebanstore-custom-font-enabled .bebanstore-sales-progress-text {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Product Discount Feature */
.bebanstore-custom-font-enabled .bebanstore-product-discount,
.bebanstore-custom-font-enabled .bebanstore-discount-badge,
.bebanstore-custom-font-enabled .bebanstore-discount-text {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Express Shipping Feature */
.bebanstore-custom-font-enabled .bebanstore-express-shipping,
.bebanstore-custom-font-enabled .bebanstore-shipping-badge,
.bebanstore-custom-font-enabled .bebanstore-shipping-text {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Store Closed Feature */
.bebanstore-custom-font-enabled .bebanstore-store-closed,
.bebanstore-custom-font-enabled .bebanstore-closed-message {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Admin Panel Font */
.bebanstore-custom-font-enabled .bebanstore-admin,
.bebanstore-custom-font-enabled .bebanstore-setting-title,
.bebanstore-custom-font-enabled .bebanstore-setting-description,
.bebanstore-custom-font-enabled .bebanstore-field-label {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Toast Notifications */
.bebanstore-custom-font-enabled .bebanstore-toast,
.bebanstore-custom-font-enabled .bebanstore-notification-message {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Custom Selectors Support */
.bebanstore-custom-font-enabled .bebanstore-custom-selector {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Fallback Font Support */
.bebanstore-custom-font-enabled .bebanstore-vazir-font {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
    .bebanstore-custom-font-enabled .bebanstore-vazir-font {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .bebanstore-custom-font-enabled .bebanstore-vazir-font {
        font-size: 13px;
    }
}

/* Font Weight Variations */
.bebanstore-custom-font-enabled .bebanstore-vazir-font.light {
    font-weight: 300;
}

.bebanstore-custom-font-enabled .bebanstore-vazir-font.regular {
    font-weight: 400;
}

.bebanstore-custom-font-enabled .bebanstore-vazir-font.medium {
    font-weight: 500;
}

.bebanstore-custom-font-enabled .bebanstore-vazir-font.bold {
    font-weight: 700;
}

/* Text Direction Support */
.bebanstore-custom-font-enabled .bebanstore-vazir-font {
    direction: rtl;
    text-align: right;
}

/* Line Height Optimization */
.bebanstore-custom-font-enabled .bebanstore-vazir-font {
    line-height: 1.6;
}

/* Button Text */
.bebanstore-custom-font-enabled .bebanstore-button,
.bebanstore-custom-font-enabled .bebanstore-btn {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Form Elements */
.bebanstore-custom-font-enabled .bebanstore-input,
.bebanstore-custom-font-enabled .bebanstore-textarea,
.bebanstore-custom-font-enabled .bebanstore-select {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

