/* ===== CSS Variables ===== */
:root {
    /* Светлая тема - фиолетовая палитра */
    --bg-primary: #f5f0ff;
    --bg-secondary: #ebe3f9;
    --bg-card: #ffffff;
    --bg-card-alt: #faf8ff;
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --text-muted: #7a7a8a;
    --accent-primary: #9370DB;
    --accent-secondary: #B19CD9;
    --accent-gradient: linear-gradient(135deg, #9370DB 0%, #B19CD9 100%);
    --accent-warm: linear-gradient(135deg, #ff6b6b 0%, #ffcc33 100%);
    --shadow-soft: 0 2px 10px rgba(147, 112, 219, 0.12);
    --shadow-medium: 0 4px 20px rgba(147, 112, 219, 0.18);
    --shadow-card: 0 4px 15px rgba(147, 112, 219, 0.15);
    --border-color: #e0d6f0;
    --overlay-bg: rgba(0, 0, 0, 0.6);
    --nav-bg: linear-gradient(135deg, #9370DB 0%, #B19CD9 100%);
    --input-bg: #ffffff;
    --input-border: #ddd4eb;
    --success-bg: #d4edda;
    --success-text: #155724;
    --error-bg: #f8d7da;
    --error-text: #721c24;
    
    /* Секции галереи - чередующиеся фоны (светлая тема) */
    /* Нечётные блоки - чуть темнее фона */
    --gallery-bg-1: #ebe3f9;
    /* Чётные блоки - ещё немного отличаются */
    --gallery-bg-2: #e2d8f4;
    
    /* Оверлеи для секций с фоном */
    --hero-overlay: linear-gradient(135deg, rgba(147, 112, 219, 0.75) 0%, rgba(177, 156, 217, 0.7) 100%);
    --order-overlay: linear-gradient(135deg, rgba(147, 112, 219, 0.8) 0%, rgba(177, 156, 217, 0.75) 100%);
    
    /* Карточки в секции заказа */
    --feature-card-bg: #ffffff;
    --feature-card-text: #5a5a5a;
    --feature-card-title: #9370DB;
    --feature-card-icon: #9370DB;
    
    /* Базовые значения */
    --transition-fast: 0.15s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 50px;
}

[data-theme="dark"] {
    --bg-primary: #1a1225;
    --bg-secondary: #221832;
    --bg-card: #2d2040;
    --bg-card-alt: #352848;
    --text-primary: #f5f5f5;
    --text-secondary: #c0c0c0;
    --text-muted: #999999;
    --accent-primary: #B19CD9;
    --accent-secondary: #9370DB;
    --accent-gradient: linear-gradient(135deg, #734CA8 0%, #9370DB 100%);
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.35);
    --border-color: #3d2d55;
    --overlay-bg: rgba(0, 0, 0, 0.8);
    --nav-bg: linear-gradient(135deg, #553592 0%, #734CA8 100%);
    --input-bg: #2d2040;
    --input-border: #4d3d65;
    
    /* Секции галереи - тёмная тема */
    /* Нечётные блоки - светлее фона */
    --gallery-bg-1: #221832;
    /* Чётные блоки - между фоном и нечётными */
    --gallery-bg-2: #1e152d;
    
    /* Оверлеи для тёмной темы */
    --hero-overlay: linear-gradient(135deg, rgba(85, 53, 146, 0.7) 0%, rgba(115, 76, 168, 0.65) 100%);
    --order-overlay: linear-gradient(135deg, rgba(85, 53, 146, 0.75) 0%, rgba(115, 76, 168, 0.7) 100%);
    
    --feature-card-bg: #2d2040;
    --feature-card-text: rgba(255, 255, 255, 0.85);
    --feature-card-title: #ffffff;
    --feature-card-icon: #B19CD9;
}


/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    background: var(--accent-warm);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-link i {
    font-size: 1.1rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--nav-bg);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-medium);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    border-radius: var(--border-radius-sm);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.theme-toggle i {
    font-size: 1.2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: #ffffff;
    font-size: 1.5rem;
    border-radius: var(--border-radius-sm);
    align-items: center;
    justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    position: relative;
    background: 
        var(--hero-overlay),
        url('../images/background.jpg') center/cover no-repeat fixed;
}

@media (max-width: 1024px) {
    .hero {
        background: 
            var(--hero-overlay),
            url('../images/background.jpg') center/cover no-repeat;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 48px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent-warm);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--accent-warm);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: #ffffff;
}

/* ===== Gallery Sections ===== */
.gallery-section {
    padding: 80px 24px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Чередование фонов для галерей */
.gallery-section:nth-child(odd) {
    background: var(--gallery-bg-1);
}

.gallery-section:nth-child(even) {
    background: var(--gallery-bg-2);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Gallery Carousel */
.gallery-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.gallery-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 16px 0;
}

.gallery-carousel::-webkit-scrollbar {
    display: none;
}

/* Product Card - улучшенные стили */
.product-card {
    flex: 0 0 280px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.product-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 50%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-arrow:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

/* ===== Order Section ===== */
.order-section {
    padding: 100px 24px;
    position: relative;
    background: 
        var(--order-overlay),
        url('../images/background.jpg') center/cover no-repeat fixed;
}

@media (max-width: 1024px) {
    .order-section {
        background: 
            var(--order-overlay),
            url('../images/background.jpg') center/cover no-repeat;
    }
}

.order-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.order-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.order-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

/* Feature Card */
.feature-card {
    background: var(--feature-card-bg);
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--feature-card-icon);
    margin-bottom: 16px;
}

.feature-title {
    font-size: 1.1rem;
    color: var(--feature-card-title);
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--feature-card-text);
    line-height: 1.5;
}

/* ===== Contacts Section ===== */
.contacts-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
    text-align: center;
}

.contacts-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--accent-primary);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.contacts-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-warm);
    border-radius: 2px;
}

.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.contact-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1.3rem;
}

.schedule-info {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--overlay-bg);
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

.modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* List Modal */
.modal-list {
    columns: 2;
    column-gap: 24px;
}

.modal-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    break-inside: avoid;
    border-bottom: 1px solid var(--border-color);
}

.modal-list-header {
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-top: 16px;
    column-span: all;
}

/* Image Modal */
.modal-image {
    max-width: 900px;
    background: transparent;
    box-shadow: none;
}

.modal-image .modal-body {
    padding: 0;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-image-container {
    position: relative;
    max-height: 80vh;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.modal-image .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    z-index: 10;
}

.modal-image .modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.2s ease;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-nav.prev {
    left: 16px;
}

.modal-nav.next {
    right: 16px;
}

.image-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Order Modal / Form */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.95rem;
}

.form-label .required {
    color: #e74c3c;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-message {
    padding: 16px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    display: none;
}

.form-message.success {
    display: block;
    background: var(--success-bg);
    color: var(--success-text);
}

.form-message.error {
    display: block;
    background: var(--error-bg);
    color: var(--error-text);
}

/* Form Buttons */
.form-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.form-buttons .btn {
    min-width: 140px;
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    pointer-events: none;
}

.toast {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 20px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    max-width: 400px;
    pointer-events: auto;
    cursor: pointer;
    border-left: 4px solid var(--accent-primary);
    position: relative;
}

.toast.success {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.toast.error {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

[data-theme="dark"] .toast.success {
    background: linear-gradient(135deg, #1e4620 0%, #2d5a2e 100%);
    color: #a3d9a5;
}

[data-theme="dark"] .toast.error {
    background: linear-gradient(135deg, #4a1a1a 0%, #5c2626 100%);
    color: #f5a5a5;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--nav-bg);
        padding: 24px;
        gap: 8px;
        overflow-y: auto;
    }
    
    .nav-menu.active .nav-link {
        padding: 16px;
        font-size: 1.1rem;
    }
    
    .nav-menu.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        border-radius: var(--border-radius-md);
        margin-top: 8px;
        box-shadow: none;
    }
    
    .gallery-carousel-wrapper {
        padding: 0 40px;
    }
    
    .product-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 64px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 80px 16px 40px;
    }
    
    .hero-content {
        padding: 32px 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gallery-section {
        padding: 60px 16px;
    }
    
    .gallery-carousel-wrapper {
        padding: 0 32px;
    }
    
    .product-card {
        flex: 0 0 240px;
    }
    
    .product-image-wrapper {
        height: 180px;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
    
    .order-section {
        padding: 60px 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contacts-section {
        padding: 60px 16px;
    }
    
    .contacts-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .modal-content {
        margin: 20px auto;
    }
    
    .modal-list {
        columns: 1;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .modal-nav.prev {
        left: 8px;
    }
    
    .modal-nav.next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 24px 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .product-card {
        flex: 0 0 200px;
    }
    
    .product-image-wrapper {
        height: 160px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 24px 16px;
    }
    
    .modal-header {
        padding: 16px 16px 0;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 0 16px 16px;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .modal,
    .carousel-arrow,
    .theme-toggle,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .hero,
    .order-section {
        min-height: auto;
        padding: 40px 20px;
        background: #9370DB !important;
    }
    
    body {
        background: #ffffff;
        color: #000000;
    }
}
