﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: "Vazirmatn", Tahoma, sans-serif;
}

 Set padding to keep content from hitting the edges 
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

 Set width on the form input elements since they're 100% wide by default 
input,
select,
textarea {
    max-width: 280px;
}

.product-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: .2s;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,.10);
    }

:root {
    --primary: #16a34a;
    --primary-soft: #dcfce7;
    --bg: #f6f8fb;
    --card: #ffffff;
    --border: #e5e7eb;
    --text: #111827;
    --muted: #6b7280;
}

body {
    background: var(--bg);
    font-family: Vazirmatn, sans-serif;
}

 ===== SECTION ===== 
.section {
    margin-bottom: 50px;
}

.section-title {
    font-weight: 700;
}

 ===== CARD ===== 
.product-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    transition: all .25s ease;
    overflow: hidden;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 35px rgba(0,0,0,.08);
    }

 ===== PRICE BADGE ===== 
.badge-up {
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
}

.badge-down {
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
}

 ===== TIME ===== 
.time {
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
}

 ===== HERO ===== 
.hero {
    background: linear-gradient(135deg,#16a34a,#22c55e);
    color: white;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

    .hero::after {
        content: "🌿";
        position: absolute;
        font-size: 140px;
        opacity: .08;
        right: -30px;
        top: -40px;
    }
.price-card {
    position: relative;
}

.price-badge {
    position: absolute;
    top: 10px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
}

    .price-badge.left {
        left: 10px;
    }

    .price-badge.right {
        right: 10px;
        background: #f3f4f6;
        color: #6b7280;
    }

.badge-up {
    background: #fee2e2;
    color: #dc2626;
}

.badge-down {
    background: #dcfce7;
    color: #16a34a;
}

.slider-wrapper {
    position: relative;
}

 SCROLL AREA 
.price-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 40px;
    -webkit-overflow-scrolling: touch;
}

 ITEM 
.price-item {
    flex: 0 0 25%;
    min-width: 260px;
    scroll-snap-align: start;
}

 CARD 
.price-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

 BADGES 
.price-badge {
    position: absolute;
    top: 10px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #6b7280;
}

    .price-badge.left {
        left: 10px;
    }

    .price-badge.right {
        right: 10px;
    }

.badge-up {
    background: #fee2e2;
    color: #dc2626;
}

.badge-down {
    background: #dcfce7;
    color: #16a34a;
}

 BUTTONS 
.scroll-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

    .scroll-btn.left {
        left: 0;
    }

    .scroll-btn.right {
        right: 0;
    }

 MOBILE 
@media (max-width: 768px) {
    .price-item {
        flex: 0 0 80%;
        min-width: 240px;
    }

    .scroll-btn {
        display: none;
    }
}

.price-scroll {
    display: flex;
    gap: 16px;
    overflow-x: hidden;  ❌ اسکرول مخفی 
    scroll-behavior: smooth;
    padding: 10px 40px;
}

 کارت‌ها 
.price-item {
    flex: 0 0 25%;
    min-width: 260px;
}

 حذف اسکرول بار (حتی اگر فعال شود) 
.price-scroll::-webkit-scrollbar {
    display: none;
}

.price-scroll {
    -ms-overflow-style: none;  IE 
    scrollbar-width: none;  Firefox 
}

.stats-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e5e7eb;
    transition: all .25s ease;
    overflow: hidden;
}

    .stats-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,.08);
    }

     ICON 
    .stats-card .icon {
        font-size: 34px;
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f3f4f6;
        border-radius: 14px;
    }

     TEXT 
    .stats-card .content h3 {
        margin: 0;
        font-size: 22px;
        font-weight: 800;
    }

    .stats-card .content p {
        margin: 0;
        font-size: 13px;
        color: #6b7280;
    }

 TREND 
.trend {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
}

    .trend.up {
        background: #dcfce7;
        color: #16a34a;
    }

    .trend.down {
        background: #fee2e2;
        color: #dc2626;
    }

 COLORS PER CARD 
.stats-card.farmers .icon {
    background: #ecfdf5;
}

.stats-card.factories .icon {
    background: #eff6ff;
}

.stats-card.volume .icon {
    background: #fef3c7;
}

.footer {
    box-shadow: 0 -2px 12px rgba(0,0,0,.05);
    font-size: 13px;
}

.hero {
    background: linear-gradient(135deg, #ffffff, #f8fff9);
    border: 1px solid rgba(25,135,84,.15);
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    font-size: 38px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(25,135,84,.1);
}

.hero h1 {
    color: #1b5e20;
    font-weight: 800;
}

.hero p {
    max-width: 650px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1.25rem !important;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

        .hero p {
            font-size: .95rem;
        }

        .hero .btn {
            width: 100%;
        }
}

*/