/* ===== PREMIUM COLOR SCHEME - EMERALD & AMBER ===== */
:root {
    --primary: #0f766e;
    --primary-light: #14b8a6;
    --primary-dark: #115e59;
    --secondary: #d97706;
    --secondary-light: #f59e0b;
    --secondary-dark: #b45309;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --light: #ffffff;
    --light-gray: #f1f5f9;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --dark-bg: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;
}

.dark-theme {
    --primary: #2dd4bf;
    --primary-light: #5eead4;
    --primary-dark: #14b8a6;
    --secondary: #fbbf24;
    --secondary-light: #fcd34d;
    --secondary-dark: #f59e0b;
    --accent: #a78bfa;
    --accent-light: #c4b5fd;
    --light: #0f172a;
    --light-gray: #1e293b;
    --dark: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #64748b;
    --dark-bg: #020617;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--light);
    color: var(--dark);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    color: var(--dark);
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 70px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.text-center {
    text-align: center;
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}

.dark-theme header {
    background: rgba(15, 23, 42, 0.96);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.logo-text span:first-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-text span:last-child {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 1px;
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.desktop-nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.desktop-nav ul li a:hover:after,
.desktop-nav ul li a.active:after {
    width: 100%;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 30px;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
}

.theme-toggle {
    background: var(--light-gray);
    border: none;
    width: 55px;
    height: 30px;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.toggle-slider {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    transition: transform 0.3s ease;
    top: 3px;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.dark-theme .toggle-slider {
    transform: translateX(25px);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--dark);
}

.cart-icon:hover {
    background: var(--primary);
    color: white;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: white;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: var(--light-gray);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--dark);
    font-size: 1.3rem;
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: var(--light);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: left 0.3s ease;
    padding: 30px 25px;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-auth {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.mobile-auth .btn {
    width: 100%;
    margin-bottom: 10px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Slider */
.hero-slider {
    height: 85vh;
    margin-top: 70px;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    -webkit-text-fill-color: white;
    background: none;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(255,255,255,0.15);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.stat-item h3 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 10px;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: white;
}

.category-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--light-gray);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 5px 14px;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.product-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.product-content {
    padding: 22px;
}

.product-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-rating {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.product-price {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.product-price .old-price {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
    font-size: 0.8rem;
    color: var(--gray);
}

.quote-btn {
    width: 100%;
    margin-top: 20px;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--light-gray);
    padding: 35px;
    border-radius: var(--border-radius-lg);
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--primary);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Newsletter */
.newsletter {
    background: var(--light-gray);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    background: var(--light);
    padding: 8px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: var(--light);
    color: var(--dark);
}

.newsletter-form input:focus {
    outline: none;
}

/* ===== FOOTER - COMPLETELY REDESIGNED ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 0;
    position: relative;
    margin-top: 0;
}

.dark-theme footer {
    background: #020617;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, var(--light) 0%, var(--light) 50%, transparent 50%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    color: var(--secondary);
}

.footer-col h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.footer-contact-info li i {
    width: 30px;
    color: var(--secondary);
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-links-bottom a:hover {
    color: var(--secondary);
}

/* ===== AUTH MODAL - SMOOTH SCROLL FIX ===== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-container {
    background: var(--light);
    width: 100%;
    max-width: 1100px;
    border-radius: 28px;
    display: flex;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    max-height: 85vh;
    box-shadow: var(--shadow-xl);
}

.auth-modal.active .auth-container {
    transform: scale(1);
}

/* Fix smooth scrolling in auth modal */
.auth-left, .auth-right {
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.auth-left::-webkit-scrollbar,
.auth-right::-webkit-scrollbar {
    width: 5px;
}

.auth-left::-webkit-scrollbar-track,
.auth-right::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.auth-left::-webkit-scrollbar-thumb,
.auth-right::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Left Side - Benefits */
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    padding: 40px 35px;
    color: white;
}

.auth-left h2 {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.auth-left h2:after {
    background: var(--secondary);
}

.auth-left p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 25px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.benefits-list li:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.benefit-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.benefit-content p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Right Side */
.auth-right {
    flex: 1.2;
    padding: 40px 35px;
    background: var(--light);
}

.auth-tabs-container {
    position: sticky;
    top: 0;
    background: var(--light);
    z-index: 10;
    padding-bottom: 20px;
}

.auth-tabs {
    display: flex;
    background: var(--light-gray);
    border-radius: 16px;
    padding: 5px;
}

.auth-tab {
    flex: 1;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--gray);
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow);
}

.auth-form {
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-form.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 14px;
    font-size: 0.95rem;
    background: var(--light);
    color: var(--dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Profile Image Upload */
.profile-image-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 20px;
    flex-wrap: wrap;
}

.profile-preview {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow);
}

.profile-preview i {
    font-size: 2.2rem;
    color: var(--primary);
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-controls {
    flex: 1;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.85rem;
}

.upload-btn:hover {
    transform: translateY(-2px);
}

.file-name {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 8px;
}

/* Recaptcha */
.recaptcha-container {
    background: var(--light-gray);
    border-radius: 14px;
    padding: 14px 18px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.recaptcha-container:hover {
    border-color: var(--primary);
}

.recaptcha-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.recaptcha-checkbox.checked {
    background: var(--primary);
    border-color: var(--primary);
}

.recaptcha-checkbox.checked i {
    color: white;
    font-size: 0.7rem;
}

.recaptcha-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--dark);
}

.recaptcha-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--gray);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.close-auth {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.close-auth:hover {
    background: var(--secondary);
    transform: rotate(90deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .about-content, .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .slide-content h1 { font-size: 2.5rem; }
    .auth-container { flex-direction: column; max-width: 550px; }
    .auth-left { max-height: 320px; padding: 25px; }
    .auth-right { padding: 25px; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .desktop-auth { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    
    .hero-slider { height: 70vh; }
    .slide-content { left: 5%; right: 5%; }
    .slide-content h1 { font-size: 1.8rem; }
    .slide-content p { font-size: 0.9rem; }
    .slide-buttons { flex-direction: column; }
    .slide-buttons .btn { width: fit-content; }
    
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; text-align: center; }
    .newsletter-form { flex-direction: column; }
    
    h2 { font-size: 1.8rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 35px; }
    .footer-col h3:after { left: 50%; transform: translateX(-50%); }
    .footer-links li a { justify-content: center; }
    .social-icons { justify-content: center; }
    .footer-contact-info li { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links-bottom { justify-content: center; }
}

@media (max-width: 480px) {
    .logo-text span:first-child { font-size: 1.2rem; }
    .logo-icon { width: 38px; height: 38px; font-size: 1rem; }
    .cart-icon { width: 35px; height: 35px; }
    
    .stat-item h3 { font-size: 2rem; }
    .product-price { font-size: 1.3rem; }
    
    .auth-left { padding: 20px; max-height: 350px; }
    .auth-right { padding: 20px; }
    .benefits-list li { flex-direction: column; text-align: center; }
    .benefit-icon { margin: 0 auto; }
    
    .profile-image-upload { justify-content: center; text-align: center; }
}