/* ===== ریست ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: #FDF8F0;
    color: #4A3F35;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== هدر ==================== */
header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FA 100%);
    color: #4A3F35;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(127, 198, 201, 0.2);
    position: sticky;
    top: 0;
    z-index: 9999;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 4px solid #7FC6C9;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #D4AF37;
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.4),
        0 0 0 3px #FFF8E7,
        0 0 0 5px #D4AF37,
        0 0 25px rgba(212, 175, 55, 0.5);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.logo-wrapper img {
    width: 130%;
    height: 130%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.logo:hover .logo-wrapper {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 
        0 6px 25px rgba(212, 175, 55, 0.6),
        0 0 0 3px #FFF8E7,
        0 0 0 5px #D4AF37,
        0 0 35px rgba(212, 175, 55, 0.7);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 3px solid #7FC6C9;
    border-radius: 30px;
    padding: 8px 18px;
    transition: all 0.3s;
    min-width: 260px;
    box-shadow: 0 4px 15px rgba(127, 198, 201, 0.2);
}

.search-box:focus-within {
    border-color: #5BA8AC;
    box-shadow: 0 0 0 5px rgba(127, 198, 201, 0.2);
    transform: scale(1.02);
}

.search-icon {
    font-size: 16px;
    margin-left: 10px;
    opacity: 0.8;
    pointer-events: none;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #4A3F35;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-size: 14px;
    width: 100%;
    padding: 4px 0;
}

.search-box input::placeholder {
    color: #7FC6C9;
}

.search-clear {
    background: #7FC6C9;
    color: #FFFFFF;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-right: 8px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    flex-shrink: 0;
}

.search-clear:hover {
    background: #5BA8AC;
    transform: scale(1.15) rotate(90deg);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: #4A3F35;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    padding: 8px 0;
}

nav a:hover {
    color: #5BA8AC;
    transform: translateY(-2px);
}

.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(127, 198, 201, 0.3);
    border-radius: 15px;
    overflow: hidden;
    z-index: 99999;
    padding: 8px 0;
    padding-top: 15px;
    margin-top: 0;
    border: 3px solid #7FC6C9;
}

.dropdown:hover .dropdown-content { display: block; }

.dropdown-content a {
    color: #4A3F35;
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #F0F9FA;
    color: #5BA8AC;
    padding-right: 25px;
}

.cart-icon {
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    padding: 12px 22px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    user-select: none;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(127, 198, 201, 0.4);
}

.cart-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(127, 198, 201, 0.6);
}

/* ==================== اسلایدر بنر ==================== */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
    z-index: 1;
    display: block;
    line-height: 0;
}

.slider-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
    position: relative;
    z-index: 1;
    line-height: 0;
}

.slide {
    min-width: 100%;
    width: 100%;
    display: block;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFF;
    color: #5BA8AC;
    border: 3px solid #7FC6C9;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(127, 198, 201, 0.3);
    line-height: 1;
}

.slider-arrow:hover {
    background: #7FC6C9;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 30px rgba(127, 198, 201, 0.5);
}

.arrow-prev { right: 20px; }
.arrow-next { left: 20px; }

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #5BA8AC;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dot.active {
    background: #5BA8AC;
    transform: scale(1.3);
}

.dot:hover { 
    background: #7FC6C9;
    border-color: #7FC6C9;
}

/* ==================== بنرهای عمودی ==================== */
.vertical-banners-section {
    background: #F0F9FA;
    padding: 40px 40px;
    border-top: 0;
    border-bottom: 0;
    margin: 0;
    line-height: normal;
}

.vertical-banners-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.vertical-banner-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 0 0 2px #D4AF37,
        0 0 0 4px #FFF8E7,
        0 0 0 5px #D4AF37,
        0 8px 25px rgba(212, 175, 55, 0.35);
    transition: all 0.4s;
    text-decoration: none;
    background: #FFFFFF;
    aspect-ratio: 1024 / 1536;
    position: relative;
    line-height: 0;
}

.vertical-banner-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 0 0 2px #D4AF37,
        0 0 0 4px #FFF8E7,
        0 0 0 5px #D4AF37,
        0 20px 50px rgba(212, 175, 55, 0.6);
}

.vertical-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
    margin: 0;
    padding: 0;
}

.vertical-banner-card:hover img {
    transform: scale(1.05);
}

/* ==================== بخش محصولات ==================== */
.products-section {
    flex: 1;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.empty-section {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 120px;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.empty-section h2 {
    font-size: 34px;
    color: #5BA8AC;
    margin-bottom: 15px;
    font-weight: bold;
}

.empty-section p {
    font-size: 18px;
    color: #7FC6C9;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: bold;
}

.btn {
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    padding: 16px 50px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(127, 198, 201, 0.4);
}

.btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 35px rgba(127, 198, 201, 0.6);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(127, 198, 201, 0.2);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    border: 3px solid #F0F9FA;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(127, 198, 201, 0.35);
    border-color: #7FC6C9;
}

.product-image {
    width: 100%;
    height: 260px;
    background-color: #F0F9FA;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
}

.out-of-stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #F5B7B1;
    color: #FFFFFF;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(245, 183, 177, 0.4);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    color: #7FC6C9;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-name {
    font-size: 17px;
    margin-bottom: 10px;
    color: #4A3F35;
    font-weight: bold;
    line-height: 1.5;
}

.product-price {
    font-size: 22px;
    font-weight: bold;
    color: #5BA8AC;
    margin-bottom: 15px;
}

.product-price span {
    font-size: 13px;
    color: #7FC6C9;
    font-weight: normal;
}

.add-btn {
    width: 100%;
    background: #4A3F35;
    color: #FFFFFF;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    transition: all 0.3s;
}

.add-btn:hover {
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 198, 201, 0.4);
}

.add-btn.disabled {
    background: #E0E0E0;
    color: #999;
    cursor: not-allowed;
}

/* ==================== بخش مشاهده همه ==================== */
.view-all-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FA 100%);
    padding: 60px 40px;
    border-top: 4px solid #7FC6C9;
    border-bottom: 4px solid #7FC6C9;
    text-align: center;
}

.view-all-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    padding: 20px 60px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(127, 198, 201, 0.4);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    position: relative;
    overflow: hidden;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(127, 198, 201, 0.6);
    background: #4A3F35;
    color: #FFFFFF;
}

/* ==================== چرا ما؟ ==================== */
.features-section {
    background: linear-gradient(180deg, #F0F9FA 0%, #FDF8F0 100%);
    padding: 70px 40px;
    border-top: 4px solid #7FC6C9;
}

.features-title {
    text-align: center;
    margin-bottom: 50px;
}

.features-title h2 {
    font-size: 38px;
    color: #5BA8AC;
    margin-bottom: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.features-title p {
    color: #7FC6C9;
    font-size: 16px;
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.feature-card {
    position: relative;
    width: 100%;
    max-width: 220px;
    cursor: pointer;
    transition: transform 0.5s;
}

.feature-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
    filter: drop-shadow(0 8px 20px rgba(127, 198, 201, 0.3));
}

.feature-card:hover {
    transform: translateY(-15px);
}

.feature-card:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 20px 40px rgba(127, 198, 201, 0.6));
}

/* ==================== دسته‌بندی‌ها ==================== */
.brands-section {
    background: #FFFFFF;
    padding: 70px 40px;
    border-top: 4px solid #7FC6C9;
    border-bottom: 4px solid #7FC6C9;
}

.brands-title {
    text-align: center;
    margin-bottom: 50px;
}

.brands-title h2 {
    font-size: 36px;
    color: #5BA8AC;
    margin-bottom: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.brands-title p {
    color: #7FC6C9;
    font-size: 15px;
    font-weight: bold;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-card {
    background: linear-gradient(135deg, #FDF8F0 0%, #F0F9FA 100%);
    border: 3px solid #7FC6C9;
    border-radius: 25px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(127, 198, 201, 0.25);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(249, 231, 159, 0.4), transparent);
    transition: all 0.6s;
    transform: rotate(45deg);
    opacity: 0;
}

.brand-card:hover::before {
    opacity: 1;
    top: -100%;
    left: 100%;
}

.brand-card:hover {
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(127, 198, 201, 0.5);
    border-color: #5BA8AC;
}

.brand-card:hover .brand-name {
    color: #FFFFFF;
    transform: scale(1.15);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.brand-name {
    font-size: 22px;
    font-weight: bold;
    color: #5BA8AC;
    transition: all 0.4s;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    position: relative;
    z-index: 2;
}

/* ==================== سبد خرید ==================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 63, 53, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9998;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: #FDF8F0;
    box-shadow: -5px 0 30px rgba(127, 198, 201, 0.3);
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(127, 198, 201, 0.3);
}

.cart-header h2 {
    font-size: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.cart-close {
    background: transparent;
    color: #FFFFFF;
    border: none;
    font-size: 26px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-weight: bold;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    color: #7FC6C9;
    padding: 40px 20px;
    font-size: 16px;
    font-weight: bold;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 3px solid #F0F9FA;
    transition: all 0.3s;
}

.cart-item:hover {
    border-color: #7FC6C9;
    box-shadow: 0 6px 20px rgba(127, 198, 201, 0.15);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background-color: #F0F9FA;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: 2px solid #7FC6C9;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-weight: bold;
    color: #4A3F35;
    font-size: 15px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #5BA8AC;
    font-weight: bold;
    font-size: 14px;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FDF8F0;
    border-radius: 8px;
    padding: 4px;
    border: 2px solid #7FC6C9;
}

.qty-btn {
    background: #7FC6C9;
    color: #FFFFFF;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.qty-btn:hover {
    background: #5BA8AC;
}

.qty-num {
    min-width: 22px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    color: #4A3F35;
}

.cart-remove {
    background: transparent;
    color: #F5B7B1;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s;
}

.cart-remove:hover {
    background: #FFE5EE;
}

.cart-footer {
    padding: 20px 25px;
    border-top: 3px solid #F0F9FA;
    background: #FFFFFF;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #4A3F35;
}

.cart-total span:last-child {
    color: #5BA8AC;
    font-size: 22px;
}

.cart-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(127, 198, 201, 0.3);
}

.cart-checkout-btn:hover {
    background: #4A3F35;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 63, 53, 0.4);
}

/* ==================== فرم ثبت سفارش ==================== */
.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 63, 53, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10000;
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 550px;
    max-width: 95%;
    max-height: 90vh;
    background: #FDF8F0;
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(127, 198, 201, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 4px solid #7FC6C9;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-header {
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.checkout-header h2 {
    font-size: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.checkout-close {
    background: transparent;
    color: #FFFFFF;
    border: none;
    font-size: 26px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-weight: bold;
}

.checkout-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.checkout-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.checkout-body .form-group {
    margin-bottom: 18px;
}

.checkout-body .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #4A3F35;
    font-size: 14px;
}

.checkout-body .form-group input,
.checkout-body .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 3px solid #F0F9FA;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    transition: border-color 0.3s;
    background: #FFFFFF;
}

.checkout-body .form-group input:focus,
.checkout-body .form-group textarea:focus {
    outline: none;
    border-color: #7FC6C9;
    box-shadow: 0 0 0 4px rgba(127, 198, 201, 0.15);
}

.checkout-body .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-summary {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 18px;
    margin: 20px 0;
    border: 3px solid #F0F9FA;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
    color: #4A3F35;
}

.summary-row.total {
    border-top: 3px solid #7FC6C9;
    margin-top: 8px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #4A3F35;
}

.summary-row.total span:last-child {
    color: #5BA8AC;
    font-size: 22px;
}

.submit-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(127, 198, 201, 0.4);
}

.submit-order-btn:hover {
    background: #4A3F35;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 63, 53, 0.4);
}

.checkout-success {
    padding: 40px 30px;
    text-align: center;
}

.success-icon {
    font-size: 90px;
    margin-bottom: 20px;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.checkout-success h2 {
    color: #5BA8AC;
    font-size: 26px;
    margin-bottom: 15px;
}

.checkout-success p {
    color: #7FC6C9;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
    font-weight: bold;
}

.order-number {
    background: #FFFFFF;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0 !important;
    font-size: 16px !important;
    color: #4A3F35 !important;
    border: 3px solid #7FC6C9;
}

.order-number strong {
    color: #5BA8AC;
    font-size: 22px;
}

.back-to-shop-btn {
    background: #4A3F35;
    color: #FFFFFF;
    padding: 15px 45px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    transition: all 0.3s;
    margin-top: 15px;
}

.back-to-shop-btn:hover {
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(127, 198, 201, 0.4);
}

/* ==================== فوتر ==================== */
footer {
    background: linear-gradient(135deg, #7FC6C9 0%, #5BA8AC 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 30px;
    border-top: 5px solid #F9E79F;
}

footer p {
    font-size: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

/* ==================== موبایل ==================== */
@media (max-width: 900px) {
    header {
        position: relative;
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }
    .logo-wrapper { width: 80px; height: 80px; }
    .search-box { width: 100%; min-width: auto; order: 3; }
    nav ul { gap: 12px; font-size: 13px; flex-wrap: wrap; justify-content: center; order: 2; }
    nav a { font-size: 13px; }
    .dropdown-content { right: auto; left: 0; }
    .logo { order: 1; }
    .cart-icon { order: 1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .products-section,
    .features-section,
    .brands-section,
    .view-all-section {
        padding: 40px 20px;
    }
    .logo-wrapper { width: 70px; height: 70px; border: 3px solid #D4AF37; }
    .slider-arrow { width: 42px; height: 42px; font-size: 16px; }
    .arrow-prev { right: 10px; }
    .arrow-next { left: 10px; }
    .slide img { width: 100%; height: auto; max-height: none; display: block; }
    .dot { width: 12px; height: 12px; }
    .brands-title h2, .features-title h2 { font-size: 26px; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .brand-card { padding: 25px 15px; min-height: 110px; border-radius: 20px; }
    .brand-name { font-size: 16px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .feature-card { max-width: 160px; }
    .view-all-btn { font-size: 17px; padding: 16px 40px; }
    .vertical-banners-section { padding: 20px 0; }
    .vertical-banners-wrapper {
        display: flex;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 10px 20px 20px;
        grid-template-columns: none;
        -webkit-overflow-scrolling: touch;
    }
    .vertical-banners-wrapper::-webkit-scrollbar { height: 8px; }
    .vertical-banners-wrapper::-webkit-scrollbar-track { background: #FFFFFF; border-radius: 10px; }
    .vertical-banners-wrapper::-webkit-scrollbar-thumb { background: #7FC6C9; border-radius: 10px; }
    .vertical-banner-card {
        flex: 0 0 auto;
        width: 75vw;
        max-width: 320px;
        scroll-snap-align: center;
    }
}

@media (max-width: 500px) {
    .cart-sidebar { width: 100%; }
    .checkout-modal { width: 95%; }
    .slide img { width: 100%; height: auto; max-height: none; display: block; }
    .logo-wrapper { width: 60px; height: 60px; border: 3px solid #D4AF37; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-name { font-size: 14px; }
    .brand-card { padding: 20px 10px; min-height: 90px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-card { max-width: 140px; }
    .view-all-btn { font-size: 15px; padding: 14px 30px; }
    .vertical-banner-card { width: 70vw; max-width: 280px; }
}
/* ===== نماد اینماد ===== */
footer .footer-enamad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
}

footer .footer-enamad img {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s;
}

footer .footer-enamad img:hover {
    transform: scale(1.05);
}