/* فونت وزیرمتن */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap');

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    background-color: #f4f6f9;
    -webkit-font-smoothing: antialiased;
}

/* استایل مدرن برای کارت محصولات */
.product-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    padding: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.product-card:hover, .product-card:active {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.product-card img {
    border-radius: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .product-title {
    font-weight: 700;
    color: #2c3e50;
    margin: 10px 0;
    font-size: 13px;
}

.product-card .product-price {
    color: #e63946;
    font-weight: 800;
    font-size: 15px;
}

/* استایل کادر جستجو */
.search-box input {
    background: #f0f2f5;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-box input:focus {
    background: #fff;
    border-color: #e63946;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
    outline: none;
}

/* استایل دکمه‌های پایین صفحه */
.bottom-nav {
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    border-top: none;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.bottom-nav .nav-item {
    transition: all 0.2s ease;
}

.bottom-nav .nav-item.active .nav-icon {
    color: #e63946;
    transform: scale(1.1);
}

/* استایل تیتر بخش‌ها */
.section-title h2, .section-title h3 {
    font-weight: 800;
    position: relative;
    padding-right: 15px;
}

.section-title h2::before, .section-title h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background: #e63946;
    border-radius: 4px;
}

/* استایل بنرها */
.banner-slider {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.banner-btn {
    background: #e63946;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.banner-btn:hover {
    background: #d62839;
}

/* ================= استایل دکمه‌های سراسری ================= */
button, input[type="submit"], .btn-primary {
    background: linear-gradient(135deg, #e63946, #c1121f) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
    font-weight: bold !important;
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3) !important;
}

button:hover, input[type="submit"]:hover, .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4) !important;
}

/* ================= استایل کادرهای ورودی (فرم‌ها) ================= */
input[type="text"], input[type="number"], input[type="email"], input[type="password"], input[type="tel"], select, textarea {
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    background: #f9f9f9 !important;
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    transition: all 0.3s ease !important;
    width: 100%;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    border-color: #e63946 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1) !important;
}

/* ================= استایل صفحه محصول ================= */
.product-image-container img, .product-page img {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

.product-details h1, .product-title-page {
    font-weight: 800 !important;
    color: #2c3e50 !important;
}

/* ================= استایل سبد خرید ================= */
.cart-item, .cart-table tr {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: 0.3s;
}

.cart-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cart-total-row, .cart-summary {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid #e63946;
}
