/* ==================== VARIABLES ==================== */
:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --secondary: #FF9800;
    --accent: #2196F3;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --text-primary: #212121;
    --text-secondary: #757575;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.12);
    
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme="dark"] {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --bg-card: #151b2f;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --border: #2a3050;
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-lg: rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --text-primary: #212121;
    --text-secondary: #757575;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.12);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

.blur-background {
    filter: blur(10px);
    transition: filter 0.3s ease;
}

/* ==================== SPLASH SCREEN ==================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.splash-screen.active {
    opacity: 1;
    pointer-events: all;
}

.splash-content {
    text-align: center;
    animation: splashFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-card);
    padding: 3.5rem 4rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px var(--shadow-lg);
    border: 1px solid var(--border);
    max-width: 520px;
    width: 90%;
}

.splash-logo {
    margin-bottom: 2.5rem;
}

.logo-animation {
    width: 100px;
    height: 100px;
    color: var(--primary);
    animation: logoSpin 2s ease-in-out infinite;
}

.splash-content h2 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.splash-content h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* ==================== MODAL OVERLAY ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px var(--shadow-lg);
    border: 1px solid var(--border);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    position: relative;
    margin: auto;
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* ==================== CITY MODAL ==================== */
.city-modal {
    text-align: center;
    max-width: 400px;
}

.city-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.city-modal h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.city-buttons {
    display: flex;
    gap: 1rem;
}

.city-buttons button {
    flex: 1;
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    max-width: 600px;
    width: calc(100% - 2rem);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 40px var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 9998;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.active {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-text h4 {
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* ==================== BUTTONS ==================== */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-gradient,
.btn-hero,
.btn-danger {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
    -webkit-user-select: none;
    user-select: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
}

.btn-gradient {
    background: var(--gradient-1);
    background-size: 200% 200%;
    color: white;
    animation: gradientShift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.btn-gradient::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;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    color: white;
    animation: gradientShift 4s ease infinite;
}

.btn-hero svg {
    width: 20px;
    height: 20px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.icon-btn:hover {
    background: var(--border);
}

.icon-btn.settings-only {
    display: inline-flex;
}

.profile-btn {
    font-size: 1.2rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--gradient-1);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    background-size: 200% 200%;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.floating-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    text-align: center;
}

.floating-card .emoji {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(20px); }
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* ==================== PRODUCTS ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-card.featured {
    border: 2px solid var(--primary);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* ==================== DELIVERY ==================== */
.delivery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.delivery-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-secondary);
}

.delivery-calculator {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.delivery-calculator h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    font-size: 16px;
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.calc-result {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.calc-row.total {
    border-top: 2px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ==================== ABOUT ==================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.big-emoji {
    font-size: 10rem;
}

/* ==================== CONTACTS ==================== */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-slogan {
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-5px) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ==================== AUTH MODAL ==================== */
.auth-modal {
    max-width: 500px;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.auth-form h2 {
    margin-bottom: 1.5rem;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SETTINGS MODAL ==================== */
.settings-modal {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.settings-modal h2 {
    margin-bottom: 2rem;
}

.settings-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.setting-item {
    margin-bottom: 1.5rem;
}

.setting-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.setting-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ==================== ACCOUNT PROFILE STATUS ==================== */
.account-status {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.status-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 150px;
}

.status-value {
    color: var(--primary);
    font-weight: 700;
    word-break: break-all;
}

.status-item:last-child {
    border-bottom: none;
}

/* ==================== THEME SELECTOR ==================== */
.theme-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.theme-btn {
    padding: 1rem 0.75rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-primary);
    line-height: 1.4;
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.theme-btn .theme-icon {
    font-size: 2rem;
    line-height: 1;
    display: block;
    margin: 0;
    padding: 0;
}

.theme-btn span:last-child {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
}

.theme-btn:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
    border-color: var(--text-secondary);
}

.theme-btn:active {
    transform: translateY(0);
}

.theme-btn.active {
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

.danger-zone {
    border: 2px solid #f44336;
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.danger-zone h3 {
    color: #f44336;
}

/* ==================== RESPONSIVE ==================== */

/* TABLETS: 768px - 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .delivery-content,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .delivery-calculator {
        position: static;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE: 480px - 768px */
@media (max-width: 768px) {
    :root {
        --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* ===== HEADER ===== */
    .header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo {
        gap: 0.3rem;
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .nav {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-gradient,
    .btn-hero,
    .btn-danger {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .icon-btn {
        width: 36px;
        height: 36px;
    }
    
    .icon-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* ===== HERO SECTION ===== */
    .hero {
        padding: 3rem 0;
    }
    
    .hero::before {
        width: 400px;
        height: 400px;
        top: -30%;
        right: -50%;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .btn-hero {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
    
    .btn-hero svg {
        width: 18px;
        height: 18px;
    }
    
    /* ===== SECTIONS ===== */
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 80px;
        height: 3px;
        bottom: -0.75rem;
    }
    
    /* ===== PRODUCTS ===== */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-icon {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }
    
    .product-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .product-price {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .product-features {
        margin-bottom: 1rem;
    }
    
    .product-features li {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }
    
    .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    /* ===== DELIVERY ===== */
    .delivery-content {
        gap: 2rem;
    }
    
    .delivery-info {
        gap: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .delivery-calculator {
        padding: 1.5rem;
        position: static;
        top: auto;
    }
    
    .delivery-calculator h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input {
        padding: 0.6rem;
        font-size: 0.95rem;
    }
    
    .calc-result {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .calc-row {
        padding: 0.4rem 0;
        font-size: 0.95rem;
    }
    
    .calc-row.total {
        margin-top: 0.4rem;
        padding-top: 0.75rem;
        font-size: 1.1rem;
    }
    
    /* ===== ABOUT ===== */
    .about-content {
        gap: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .about-features {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .feature-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .feature-item span:last-child {
        font-size: 0.95rem;
    }
    
    .about-image {
        justify-content: center;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 300px;
        height: 250px;
    }
    
    .big-emoji {
        font-size: 8rem;
    }
    
    /* ===== CONTACTS ===== */
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-card p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    /* ===== FOOTER ===== */
    .footer {
        padding: 2rem 0 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-slogan {
        font-size: 0.9rem;
        margin-top: 0.4rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
    
    .footer-credit {
        font-size: 0.8rem;
        margin-top: 0.4rem;
    }
    
    /* ===== MODALS ===== */
    .modal-card {
        max-width: calc(100% - 2rem);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    
    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
        font-size: 1.8rem;
    }
    
    /* ===== SPLASH SCREEN ===== */
    .splash-content {
        padding: 2.5rem 2rem;
        border-radius: 12px;
        max-width: calc(100% - 2rem);
    }
    
    .splash-logo {
        margin-bottom: 1.5rem;
    }
    
    .logo-animation {
        width: 80px;
        height: 80px;
    }
    
    .splash-content h2 {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .splash-content h1 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    /* ===== CITY MODAL ===== */
    .city-modal {
        max-width: calc(100% - 2rem);
    }
    
    .city-label {
        font-size: 0.9rem;
    }
    
    .city-modal h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .city-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .city-buttons button {
        width: 100%;
    }
    
    /* ===== COOKIE BANNER ===== */
    .cookie-banner {
        bottom: 1rem;
        width: calc(100% - 2rem);
        left: 50%;
        transform: translateX(-50%) translateY(150%);
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-icon {
        font-size: 1.5rem;
    }
    
    .cookie-text h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .cookie-actions {
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .cookie-actions button {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    /* ===== AUTH MODAL ===== */
    .auth-modal {
        max-width: calc(100% - 2rem);
    }
    
    .auth-tabs {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .auth-tab {
        padding: 0.6rem;
        font-size: 0.95rem;
    }
    
    .auth-form h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .form-footer {
        margin-top: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* ===== SETTINGS MODAL ===== */
    .settings-modal {
        max-width: calc(100% - 2rem);
        max-height: 85vh;
    }
    
    .settings-modal h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .settings-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .settings-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .setting-item {
        margin-bottom: 1rem;
    }
    
    .setting-item label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .setting-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .theme-selector {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .theme-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
        gap: 0.4rem;
    }
    
    .theme-icon {
        font-size: 1.5rem;
    }
    
    .danger-zone {
        border-width: 1px;
        padding: 1rem;
    }
    
    .danger-zone h3 {
        font-size: 1.1rem;
    }
}

/* SMALL MOBILE: 320px - 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .products-grid {
        gap: 1rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-icon {
        font-size: 2.5rem;
    }
    
    .product-card h3 {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-gradient,
    .btn-hero,
    .btn-danger {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .splash-content {
        padding: 2rem 1.5rem;
        max-width: calc(100% - 1.5rem);
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo-icon {
        font-size: 1.3rem;
    }
    
    .stat-card {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .info-icon {
        font-size: 2.2rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .contact-icon {
        font-size: 2.2rem;
    }
    
    .image-placeholder {
        max-width: 250px;
        height: 200px;
    }
    
    .big-emoji {
        font-size: 6rem;
    }
    
    .modal-card {
        max-width: calc(100% - 1.5rem);
        padding: 1.25rem;
    }
}

/* ==================== SCROLLBAR (HIDDEN) ==================== */
::-webkit-scrollbar {
    display: none;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.animate-in {
    animation: slideInUp 0.6s ease-out;
}

/* ==================== TOUCH OPTIMIZATIONS ==================== */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-outline:hover,
    .btn-gradient:hover,
    .btn-hero:hover,
    .btn-danger:hover,
    .icon-btn:hover,
    .nav-link:hover,
    .product-card:hover,
    .stat-card:hover,
    .info-card:hover,
    .contact-card:hover,
    .feature-item:hover,
    .social-link:hover {
        transform: none !important;
    }
    
    /* Optimize tap targets */
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-gradient,
    .btn-hero,
    .btn-danger,
    .icon-btn,
    button {
        min-height: 48px;
        min-width: 48px;
    }
}
