/* Font Faces - Shabnam */
@font-face {
    font-family: 'Shabnam';
    src: url('Shabnam.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shabnam';
    src: url('Shabnam-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #5B9BD5;
    --color-secondary: #7EB8DA;
    --color-accent: #A8D8EA;
    --color-accent-light: #B8E0F0;
    --color-dark: #4A6FA5;
    --color-text: #3D5A80;
    --color-bg: #F0F9FF;
    --color-primary-rgb: 91, 155, 213;
    --color-secondary-rgb: 127, 184, 218;
    --color-accent-rgb: 168, 216, 234;
}

body {
    font-family: 'Shabnam', Tahoma, 'Segoe UI', sans-serif;
    background: linear-gradient(160deg, #FFFFFF 0%, var(--color-bg) 45%, #E4F2FC 100%);
    min-height: 100vh;
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* لایه پس‌زمینه سبک — بدون انیمیشن دائمی (بهبود سرعت و باتری) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(var(--color-secondary-rgb), 0.16) 0%, transparent 42%),
        radial-gradient(circle at 82% 78%, rgba(var(--color-accent-rgb), 0.12) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header - بک‌گراند مینیمال برای خوانایی */
.header {
    font-family: 'Shabnam', sans-serif;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.18);
    overflow: hidden;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(0.85rem, 3vw, 1.25rem);
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(0.4rem, 1.5vw, 0.85rem);
}

.logo {
    flex-shrink: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Shabnam', sans-serif;
    font-size: 1.35rem;
    font-weight: bold;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 9.5rem;
}

.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.nav-item {
    font-family: 'Shabnam', sans-serif;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    background: rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-item:hover {
    background: rgba(var(--color-primary-rgb), 0.15);
    border-color: rgba(var(--color-primary-rgb), 0.35);
}

.nav-item i {
    color: var(--color-primary);
    font-size: 1.15rem;
}

/* ابزارهای هدر: دسته + جستجو در یک سطر */
.header-tools {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 420px;
}

.header-category-wrap {
    font-family: 'Shabnam', sans-serif;
    position: relative;
    flex: 0 1 9.5rem;
    min-width: 6.5rem;
    max-width: 11rem;
    border-radius: 12px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    background: rgba(var(--color-primary-rgb), 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-category-wrap:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.25);
}

.category-filter-label {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
}

.category-filter-select {
    font-family: 'Shabnam', sans-serif;
    display: block;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    padding: 0.55rem 2rem 0.55rem 1.6rem;
    font-size: 0.85rem;
    border: none;
    border-radius: 11px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235B9BD5' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat left 0.55rem center;
    outline: none;
    color: var(--color-text);
    cursor: pointer;
    line-height: 1.3;
}

/* جستجو - فونت شبنم، رنگ‌های تم پروژه */
.header-search-wrap {
    font-family: 'Shabnam', sans-serif;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    background: rgba(var(--color-primary-rgb), 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search-wrap:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.25);
}

.header-search-wrap .product-search-label {
    position: absolute;
    right: 0.7rem;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 0.9rem;
    pointer-events: none;
}

.header-search-wrap .product-search-input {
    font-family: 'Shabnam', sans-serif;
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.55rem 2rem 0.55rem 0.7rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 11px;
    background: transparent;
    outline: none;
    color: var(--color-text);
}

.header-search-wrap .product-search-input::placeholder {
    color: #6b7280;
}

.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    color: #6b7280;
    font-size: 1.05rem;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Weekly Menu Section */
.weekly-menu-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.5) 0%, rgba(206, 229, 248, 0.5) 100%);
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(var(--color-secondary-rgb), 0.3);
    position: relative;
}

.section-title::after {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: cookieSpin 2s ease-in-out infinite;
}

@keyframes cookieSpin {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-50%) rotate(15deg); }
}

.category-section {
    margin: 0 auto;
    max-width: 1000px;
}

.category-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.category-container::-webkit-scrollbar {
    height: 8px;
}

.category-container::-webkit-scrollbar-track {
    background: rgba(var(--color-secondary-rgb), 0.2);
    border-radius: 10px;
}

.category-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 10px;
}

.category-scroll {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.category-item {
    min-width: 160px;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    color: var(--color-dark);
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-weight: 600;
    font-size: 1.1rem;
    border: 3px solid rgba(var(--color-secondary-rgb), 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover {
    background: linear-gradient(135deg, rgba(var(--color-secondary-rgb), 0.3) 0%, rgba(var(--color-accent-rgb), 0.25) 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(var(--color-secondary-rgb), 0.4);
    border-color: rgba(var(--color-secondary-rgb), 0.6);
}

.category-item.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #FFFFFF;
    border-color: rgba(var(--color-secondary-rgb), 0.8);
    box-shadow: 0 12px 40px rgba(var(--color-secondary-rgb), 0.5);
    transform: scale(1.05);
}

/* Products Section - Modern European Style */
.products-section {
    padding: 4rem 0;
    background: var(--color-bg);
    position: relative;
}

.product-search-wrap {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(var(--color-secondary-rgb), 0.35);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(91, 155, 213, 0.08);
}

.product-search-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
}

.product-search-label {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 1.2rem;
    pointer-events: none;
}

.product-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-family: 'Shabnam', sans-serif;
    color: #1f2937;
    background: transparent;
    outline: none;
}

.product-search-input::placeholder {
    color: #6b7280;
}

.product-search-input:focus {
    outline: none;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(91, 155, 213, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(var(--color-secondary-rgb), 0.3);
    content-visibility: auto;
    contain-intrinsic-size: 320px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(91, 155, 213, 0.15);
    border-color: rgba(var(--color-secondary-rgb), 0.5);
}

.product-card.selected {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(91, 155, 213, 0.25);
}

.product-image-wrapper {
    background: #ffffff;
    padding: clamp(0.5rem, 3vw, 1rem);
    margin: 0.75rem 0.75rem 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.25s ease;
}

.product-card:hover .product-image {
    opacity: 0.92;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.6rem 0.75rem 0.4rem;
    color: #1f2937;
    line-height: 1.4;
    text-align: center;
    position: relative;
    z-index: 1;
}

.product-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin: 0 0.75rem 0.5rem;
}

.product-original-price {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 400;
}

.product-price {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.product-stock-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 1rem 1.5rem;
    position: relative;
    z-index: 1;
}

.product-stock {
    font-size: 1rem;
    color: #6B8EBD;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.cart-icon-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(var(--color-secondary-rgb), 0.4);
}

.cart-icon-btn:hover {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    box-shadow: 0 8px 30px rgba(var(--color-secondary-rgb), 0.6);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-text);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(var(--color-secondary-rgb), 0.4);
    border: 3px solid white;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0.75rem 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.product-card.out-of-stock {
    opacity: 0.72;
}

.product-card.out-of-stock .product-image {
    filter: grayscale(0.4);
}

.product-out-of-stock-badge {
    margin: 0 0.75rem 1rem;
    text-align: center;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: rgba(185, 28, 28, 0.12);
    color: #b91c1c;
    font-weight: 700;
    font-size: 0.95rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quantity-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
}

.quantity-input {
    width: 52px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: #ffffff;
    color: #1f2937;
    transition: all 0.2s ease;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.15);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.9) 100%);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 2.25rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(var(--color-secondary-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--color-secondary-rgb), 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(var(--color-secondary-rgb), 0.3);
    border-color: rgba(var(--color-secondary-rgb), 0.6);
}

.testimonial-stars {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.testimonial-text {
    font-size: 1.3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-detail {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Cookie Crush Section */
.cookie-crush-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.6) 0%, rgba(206, 229, 248, 0.6) 100%);
    text-align: center;
    position: relative;
}

.cookie-crush-subtitle {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    text-decoration: none;
    color: var(--color-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    border: 3px solid rgba(var(--color-secondary-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(var(--color-secondary-rgb), 0.4);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #FFFFFF;
    border-color: rgba(var(--color-secondary-rgb), 0.6);
}

.social-link i {
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-link:hover i {
    color: #FFFFFF;
    transform: scale(1.2) rotate(10deg);
}

.social-link span {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.9) 100%);
    text-align: center;
    position: relative;
}

.newsletter-subtitle {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 3rem;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 280px;
    padding: 1.25rem 2rem;
    border: 3px solid rgba(var(--color-secondary-rgb), 0.4);
    border-radius: 30px;
    font-size: 1.1rem;
    font-family: 'Shabnam', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--color-dark);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(var(--color-secondary-rgb), 0.2);
    transform: scale(1.02);
}

.newsletter-form button {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Shabnam', sans-serif;
    box-shadow: 0 8px 25px rgba(var(--color-secondary-rgb), 0.4);
    position: relative;
    overflow: hidden;
}

.newsletter-form button::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.5s;
}

.newsletter-form button:hover::before {
    left: 100%;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(var(--color-secondary-rgb), 0.5);
}

/* Order Section */
.order-section {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.6) 0%, rgba(206, 229, 248, 0.6) 100%);
    display: block;
}

.order-section h2 {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: bold;
    font-size: 2.5rem;
}

.order-summary {
    margin-bottom: 2.25rem;
    padding: 1.8rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(var(--color-secondary-rgb), 0.3);
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.order-table thead {
    background: linear-gradient(135deg, rgba(var(--color-secondary-rgb), 0.25) 0%, rgba(var(--color-accent-rgb), 0.2) 100%);
}

.order-table th {
    padding: 1.2rem;
    text-align: right;
    font-weight: 700;
    color: var(--color-dark);
    border-bottom: 3px solid rgba(var(--color-secondary-rgb), 0.4);
    font-size: 1.1rem;
}

.order-table td {
    padding: 1.5rem 1.2rem;
    text-align: right;
    color: var(--color-text);
    border-bottom: 2px solid rgba(var(--color-secondary-rgb), 0.2);
    vertical-align: middle;
}

.order-table tbody tr:hover {
    background: rgba(var(--color-secondary-rgb), 0.1);
    transition: background 0.3s ease;
}

.order-table tbody tr:last-child td {
    border-bottom: none;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: var(--color-dark);
    font-size: 1.3rem;
    font-weight: 600;
}

.quantity-controls-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.quantity-btn-small {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(var(--color-secondary-rgb), 0.4);
}

.quantity-btn-small:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--color-secondary-rgb), 0.6);
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
}

.remove-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.remove-btn:hover {
    background: linear-gradient(135deg, #ee5a6f 0%, #dc4c64 100%);
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.order-total {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 3px solid rgba(var(--color-secondary-rgb), 0.3);
}

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.95) 100%);
    backdrop-filter: blur(10px);
.order-form {
    margin-top: 2.25rem;
    padding: 2.25rem;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(var(--color-secondary-rgb), 0.3);
}

.order-form h3 {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 3px solid rgba(var(--color-secondary-rgb), 0.4);
    border-radius: 20px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--color-text);
    font-family: 'Shabnam', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(var(--color-secondary-rgb), 0.2);
    transform: scale(1.01);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6B8EBD;
    opacity: 0.6;
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem;
    font-family: 'Shabnam', sans-serif;
    box-shadow: 0 10px 30px rgba(var(--color-secondary-rgb), 0.4);
    position: relative;
    overflow: hidden;
}

.submit-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.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(var(--color-secondary-rgb), 0.5);
}

/* Floating Cart - فونت شبنم، رنگ تم، هماهنگ با هدر */
.floating-cart {
    font-family: 'Shabnam', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    background: rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.floating-cart:hover {
    background: rgba(var(--color-primary-rgb), 0.15);
    border-color: rgba(var(--color-primary-rgb), 0.35);
}

.floating-cart i {
    font-size: 1.15rem;
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

.cart-count.has-items {
    background: #dc2626;
    color: #fff;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 50%, var(--color-dark) 100%);
    color: #FFFFFF;
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-light) 0%, var(--color-secondary) 50%, var(--color-accent-light) 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.15rem;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
}

.footer-contact-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.license-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.license-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.license-badge:hover {
    transform: translateY(-2px);
}

.license-card {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 10px;
    padding: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.license-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.footer-link .fa-phone {
    color: #FFB347;
}

.footer-link .fa-whatsapp {
    color: #25D366;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.7);
    user-select: none;
}

.footer-about-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.footer-about-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.footer-brand-block {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    text-align: right;
}

.footer-brand span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-brand strong {
    font-size: 1.15rem;
}

.footer-brand small {
    font-size: 0.85rem;
    opacity: 0.88;
}

.footer-platform-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    direction: ltr;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.footer-platform-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
    text-decoration: none;
}

.footer-platform-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    padding: 2px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 4px;
}

.footer-about-link span {
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
}

.enamad {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.enamad a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.enamad a:hover {
    transform: scale(1.1);
}

.enamad img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(var(--color-secondary-rgb), 0.3));
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Product Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 240, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(var(--color-secondary-rgb), 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(var(--color-secondary-rgb), 0.4);
}

.modal-close:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
}

.modal-image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.5) 0%, rgba(206, 229, 248, 0.5) 100%);
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(var(--color-secondary-rgb), 0.3);
}

.modal-product-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 25px;
    filter: brightness(1.05) saturate(1.1);
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-product-name {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.modal-product-price {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.modal-product-stock {
    font-size: 1.2rem;
    color: #6B8EBD;
    font-weight: 500;
}

.modal-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(var(--color-secondary-rgb), 0.5), transparent);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.modal-description-title {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
}

.modal-product-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text);
    margin: 0;
}

/* Order Method Modal (واتساپ / پیامک) */
.order-method-modal .order-method-content {
    max-width: 400px;
    padding: 2.5rem;
}

.order-method-body {
    text-align: center;
    padding: 1rem 0;
}

.order-method-body h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.order-method-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.order-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Shabnam', sans-serif;
    min-width: 120px;
}

.order-method-btn.wa-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.order-method-btn.wa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.order-method-btn.sms-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.order-method-btn.sms-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(91, 155, 213, 0.4);
}

.order-method-hint {
    font-size: 0.9rem;
    color: #6B8EBD;
    line-height: 1.6;
}

/* SMS Steps Modal */
.sms-steps-modal .sms-steps-content {
    max-width: 420px;
    padding: 2rem;
}

.sms-steps-body h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
}

.sms-steps-info {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 1.25rem;
    text-align: center;
}

.sms-steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.sms-step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(var(--color-secondary-rgb), 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.sms-step-item.current {
    border-color: var(--color-primary);
    background: rgba(91, 155, 213, 0.15);
}

.sms-step-item.done {
    background: rgba(var(--color-secondary-rgb), 0.2);
    opacity: 0.8;
}

.sms-step-item.done::before {
    content: '✓';
    color: #25D366;
    font-weight: bold;
    margin-left: 0.5rem;
}

.sms-step-num {
    font-weight: 700;
    color: var(--color-primary);
    min-width: 60px;
}

.sms-step-label {
    color: var(--color-text);
}

.sms-next-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Shabnam', sans-serif;
    transition: all 0.3s ease;
}

.sms-next-btn:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    transform: translateY(-2px);
}

.sms-steps-hint {
    font-size: 0.85rem;
    color: #6B8EBD;
    text-align: center;
    margin-top: 1rem;
}

.sms-steps-hint.complete {
    color: #25D366;
    font-weight: 600;
}

/* Responsive Design */

/* Desktop Large (1025px and above) */
@media (min-width: 1025px) {
    .products-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
    
    .container {
        padding: 0 2rem;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .header-container {
        padding: 0 1rem;
        flex-wrap: nowrap;
        gap: 0.65rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
        max-width: 7rem;
    }

    .header-search-wrap {
        max-width: none;
    }

    .header-tools {
        max-width: none;
    }
    
    .nav-item {
        padding: 0.5rem 0.65rem;
    }
    
    .order-form {
        padding: 2.5rem;
    }
    
    .modal-body {
        gap: 2rem;
        padding: 2rem;
    }
    
    .modal-product-name {
        font-size: 2rem;
    }
    
    .modal-product-price {
        font-size: 1.8rem;
    }
}

/* Mobile and Tablet (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.55rem 0;
    }
    
    .header-container {
        padding: 0 0.85rem;
        flex-wrap: nowrap;
        gap: 0.55rem;
        align-items: center;
    }
    
    .header-tools {
        gap: 0.35rem;
        max-width: none;
    }

    .header-category-wrap {
        flex: 0 1 7.5rem;
        min-width: 5.5rem;
        max-width: 8.5rem;
        border-radius: 10px;
    }

    .category-filter-label {
        right: 0.5rem;
        font-size: 0.78rem;
    }

    .category-filter-select {
        padding: 0.45rem 1.7rem 0.45rem 1.35rem;
        font-size: 0.78rem;
        background-position: left 0.4rem center;
    }

    .header-search-wrap {
        order: unset;
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
        margin-top: 0;
        border-radius: 10px;
    }

    .header-search-wrap .product-search-label {
        right: 0.55rem;
        font-size: 0.8rem;
    }

    .header-search-wrap .product-search-input {
        padding: 0.45rem 1.75rem 0.45rem 0.55rem;
        font-size: 0.8rem;
    }
    
    .brand {
        gap: 0.4rem;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
    }

    .logo-text {
        font-size: 1.05rem;
        max-width: 5.5rem;
    }
    
    .nav {
        gap: 0.35rem;
    }
    
    .nav-item,
    .floating-cart {
        padding: 0.4rem 0.5rem;
        border-radius: 10px;
    }
    
    .nav-item i,
    .floating-cart i {
        font-size: 1rem;
    }
    
    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -4px;
        left: -4px;
    }
    
    
    .weekly-menu-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .section-title::after {
        display: none;
    }
    
    .category-item {
        min-width: 140px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .products-section {
        padding: 4rem 0;
    }
    
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-image-wrapper {
        padding: 0.6rem;
        margin: 0.5rem 0.5rem 0;
    }
    
    .product-name {
        font-size: 0.85rem;
        margin: 0.5rem 0.6rem 0.3rem;
    }
    
    .product-price {
        font-size: 0.85rem;
    }
    
    .product-original-price {
        font-size: 0.75rem;
    }
    
    .product-quantity {
        margin: 0 0.6rem 0.75rem;
        gap: 0.35rem;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .quantity-input {
        width: 46px;
        padding: 0.4rem;
        font-size: 0.9rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1.15rem;
    }
    
    .testimonial-detail {
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .newsletter-form input {
        min-width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .newsletter-form button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .social-link {
        min-width: 120px;
        padding: 1.5rem 2rem;
    }
    
    .social-link i {
        font-size: 2rem;
    }
    
    .social-link span {
        font-size: 1rem;
    }

    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .modal-image-container {
        height: 250px;
    }

    .modal-product-image {
        min-height: 250px;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 1rem;
        left: 1rem;
    }
    
    .modal-product-name {
        font-size: 1.6rem;
    }
    
    .modal-product-price {
        font-size: 1.5rem;
    }
    
    .modal-description-title {
        font-size: 1.3rem;
    }
    
    .modal-product-description {
        font-size: 1rem;
        line-height: 1.8;
    }

    .order-section {
        padding: 4rem 0;
    }
    
    .order-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .order-summary {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .order-table {
        font-size: 0.9rem;
    }

    .order-table th,
    .order-table td {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }

    .order-table th:nth-child(2),
    .order-table td:nth-child(2) {
        display: none;
    }
    
    .order-total {
        font-size: 1.8rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .order-form {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .order-form h3 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 1.25rem;
        font-size: 1.1rem;
        margin-top: 1rem;
    }
    
    .remove-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 4rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section p {
        font-size: 1rem;
    }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .header-container {
        padding: 0 clamp(0.65rem, 3vw, 0.85rem);
        gap: 0.4rem;
        flex-wrap: nowrap;
    }

    .brand-logo {
        width: 30px;
        height: 30px;
    }

    .logo-text {
        font-size: 0.95rem;
        max-width: 4.5rem;
    }

    .header-category-wrap {
        flex: 0 1 6.5rem;
        min-width: 5rem;
        max-width: 7.2rem;
    }

    .category-filter-select {
        padding: 0.4rem 1.55rem 0.4rem 1.2rem;
        font-size: 0.72rem;
    }

    .header-search-wrap .product-search-label {
        right: 0.5rem;
        font-size: 0.75rem;
    }
    
    .header-search-wrap .product-search-input {
        padding: 0.4rem 1.6rem 0.4rem 0.45rem;
        font-size: 0.75rem;
    }

    .header-search-wrap .product-search-input::placeholder {
        font-size: 0.72rem;
    }

    .nav-item,
    .floating-cart {
        padding: 0.35rem 0.42rem;
        border-radius: 9px;
    }

    .nav-item i,
    .floating-cart i {
        font-size: 0.92rem;
    }
    
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        border-radius: 10px;
    }
    
    .product-image-wrapper {
        padding: 0.5rem;
        margin: 0.4rem 0.4rem 0;
    }
    
    .product-name {
        font-size: 0.8rem;
        margin: 0.4rem 0.5rem 0.25rem;
    }
    
    .product-price {
        font-size: 0.8rem;
    }
    
    .product-original-price {
        font-size: 0.7rem;
    }
    
    .product-quantity {
        margin: 0 0.5rem 0.6rem;
        gap: 0.3rem;
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }
    
    .quantity-input {
        width: 40px;
        padding: 0.35rem;
        font-size: 0.85rem;
    }
    
    .nav {
        gap: 0.3rem;
    }
    
    .nav-item {
        padding: 0.4rem 0.55rem;
    }
    
    .nav-item i {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
    
    .category-item {
        min-width: 120px;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-stars {
        font-size: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .testimonial-detail {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        font-size: 1rem;
    }
    
    .order-section h2 {
        font-size: 1.75rem;
    }
    
    .order-summary {
        padding: 1.25rem;
    }
    
    .order-table {
        font-size: 0.8rem;
    }
    
    .order-table th,
    .order-table td {
        padding: 0.75rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .order-total {
        font-size: 1.6rem;
    }
    
    .order-form {
        padding: 1.5rem;
    }
    
    .order-form h3 {
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 1.1rem;
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-image-container {
        height: 200px;
    }
    
    .modal-product-image {
        min-height: 200px;
    }
    
    .modal-product-name {
        font-size: 1.4rem;
    }
    
    .modal-product-price {
        font-size: 1.3rem;
    }
    
    .modal-description-title {
        font-size: 1.2rem;
    }
    
    .modal-product-description {
        font-size: 0.95rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.95rem;
    }
}
