@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-RD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-RD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-RD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-RD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-RD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-RD-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-RD-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --burgundy-dark: #6B0013;
    --crimson: #A80D22;
    --accent-red: #E1223B;
    --green-dark: #2E5D2F;
    --green: #4F8F3A;
    --lime: #A7C957;
    --sage-light: #D7E7B8;

    --primary: #2E5D2F;
    --secondary: #A80D22;
    --accent: #6B0013;
    --bg: #f4f8ec;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(46, 93, 47, 0.16);
    --glass-shadow: 0 12px 32px rgba(46, 93, 47, 0.08);
    --radius: 18px;
    --transition: all 0.3s ease;
}

* {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top right, rgba(215, 231, 184, 0.55), transparent 45%),
                radial-gradient(circle at bottom left, rgba(168, 13, 34, 0.06), transparent 45%),
                #f6f9f0;
    color: #1f2937;
    direction: rtl;
    overflow-x: hidden;
}

.glass-panel,
.product-card,
.cart-items,
.cart-sidebar,
.rules-card,
.verify-card,
.login-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 8px 12px !important;
        gap: 10px !important;
    }
    .logo img {
        height: 38px !important;
        width: auto !important;
    }
    .main-nav {
        gap: 10px !important;
        justify-content: center;
    }
    .main-nav a,
    .nav-dropdown .dropbtn {
        font-size: 12px !important;
    }
    .hero-slider {
        height: auto !important;
        min-height: 140px;
        margin: 12px !important;
        border-radius: 14px !important;
    }
    .hero-slider .slide {
        height: auto !important;
    }
    .hero-slider .slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }
    .slider-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .section-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    .section-title {
        font-size: 16px !important;
    }
}
