@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a1a1a;
    --accent: #4a5d4e;
    --accent-hover: #36453a;
    --sale: #7a3a4a;
    --light: #faf9f6;
    --white: #ffffff;
    --gray: #6b6b6b;
    --dark-gray: #3a3a3a;
    --pine: #4a5d4e;
    --border: #e8e4d9;
    --shadow: 0 10px 40px rgba(26,26,26,0.08);
    --shadow-hover: 0 20px 60px rgba(26,26,26,0.12);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--primary); overflow-x: hidden; }

/* PRELOADER */
.preloader { position: fixed; inset: 0; background: var(--primary); display: flex; align-items: center; justify-content: center; z-index: 10000; transition: opacity 0.6s, visibility 0.6s; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-text { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--white); letter-spacing: 12px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1); } }

/* HEADER */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 60px; display: flex; align-items: center; justify-content: space-between; transition: var(--transition); background: transparent; }
header.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); padding: 15px 60px; box-shadow: 0 2px 30px rgba(0,0,0,0.08); }
.logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--white); text-decoration: none; letter-spacing: 4px; transition: var(--transition); }
header.scrolled .logo { color: var(--primary); }
nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; position: relative; transition: var(--transition); }
header.scrolled nav a { color: var(--dark-gray); }
nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--white); }
header.scrolled nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions button { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.85); font-size: 1.1rem; transition: var(--transition); position: relative; padding: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
header.scrolled .header-actions button { color: var(--primary); }
.header-actions button:hover { color: var(--accent); background: rgba(255,255,255,0.1); }
#favBtn { font-size: 1.5rem; }
.count-badge { position: absolute; top: 0; right: 0; background: var(--accent); color: white; font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.count-badge.bump { animation: bump 0.3s ease; }
@keyframes bump { 0% { transform: scale(1); } 50% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* HERO */
.hero { height: 100vh; background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #3a3a3a 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(74,93,78,0.15), transparent 70%); top: -100px; right: -100px; border-radius: 50%; animation: float 8s ease-in-out infinite; }
.hero::after { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(122,58,74,0.1), transparent 70%); bottom: -50px; left: -50px; border-radius: 50%; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.05); } 66% { transform: translate(-20px, 20px) scale(0.95); } }
.hero-content { text-align: center; z-index: 2; padding: 0 20px; }
.hero-badge { display: inline-block; padding: 8px 24px; border: 1px solid rgba(74,93,78,0.5); border-radius: 30px; color: var(--accent); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 30px; animation: fadeInUp 1s ease 0.3s both; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--white); line-height: 1.1; margin-bottom: 24px; animation: fadeInUp 1s ease 0.5s both; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero p { color: rgba(255,255,255,0.6); font-size: 1.15rem; max-width: 500px; margin: 0 auto 40px; line-height: 1.8; animation: fadeInUp 1s ease 0.7s both; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; animation: fadeInUp 1s ease 0.9s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.btn { padding: 16px 40px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: var(--transition); border: none; display: inline-flex; align-items: center; gap: 10px; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(74,93,78,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; animation: bounce 2s ease-in-out infinite; }
.scroll-indicator span { display: block; width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,0.4); border-bottom: 2px solid rgba(255,255,255,0.4); transform: rotate(45deg); }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(15px); } }

/* MARQUEE */
.marquee-section { background: var(--primary); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; animation: marquee 20s linear infinite; width: max-content; }
.marquee-track span { color: rgba(255,255,255,0.3); font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; white-space: nowrap; padding: 0 40px; }
.marquee-track span em { color: var(--accent); font-style: normal; margin: 0 15px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTIONS */
.products, .about-section, .features, .newsletter { padding: 100px 60px; }
.products { background: var(--light); }
.newsletter { background: var(--light); text-align: center; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin-bottom: 16px; }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 500px; margin: 0 auto; line-height: 1.7; }
.section-line { width: 60px; height: 3px; background: var(--accent); margin: 20px auto 0; border-radius: 2px; }

/* CATALOG */
.filter-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-tab { padding: 10px 28px; border: 2px solid var(--border); border-radius: 50px; background: var(--white); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--gray); }
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); opacity: 0; transform: translateY(30px); cursor: pointer; }
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.product-image { position: relative; height: 360px; overflow: hidden; background: #f0f0f0; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.15s ease; }
.product-card:hover .product-image img { transform: scale(1.08); }

.product-badge { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-new { background: var(--primary); color: var(--white); }
.badge-sale { background: var(--sale); color: var(--white); }
.badge-hot { background: var(--pine); color: var(--white); }

.product-actions { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 10px; transform: translateX(60px); transition: var(--transition); }
.product-card:hover .product-actions { transform: translateX(0); }
.product-action-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: var(--transition); }
.product-action-btn:hover { background: var(--accent); color: var(--white); transform: scale(1.1); }
.product-action-btn.liked { background: var(--accent); color: var(--white); }

.product-info { padding: 24px; }
.product-brand { font-size: 0.75rem; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.product-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 12px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.2rem; font-weight: 700; }
.product-price .old-price { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; font-weight: 400; margin-left: 8px; }
.product-colors { display: flex; gap: 6px; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.color-dot:hover, .color-dot.active { border-color: var(--primary); transform: scale(1.2); }

.add-to-cart-btn { width: 100%; padding: 14px; margin-top: 16px; background: var(--primary); color: var(--white); border: none; border-radius: 10px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.add-to-cart-btn:hover { background: var(--accent); transform: scale(1.02); }
.add-to-cart-btn.added { background: #10b981; }

/* ABOUT SECTION */
.about-content { display: flex; align-items: center; gap: 60px; max-width: 1100px; margin: 0 auto 60px; }
.about-text { flex: 1; }
.about-text p { color: var(--gray); font-size: 1.1rem; line-height: 1.9; margin-top: 20px; }
.about-image { flex-shrink: 0; width: 400px; height: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { display: flex; justify-content: center; gap: 60px; margin-top: 40px; }
.stat-item { text-align: center; }
.stat-item .number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.stat-item .label { font-size: 0.85rem; color: var(--gray); margin-top: 4px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.team-card { text-align: center; padding: 30px 20px; border-radius: var(--radius); transition: var(--transition); }
.team-card:hover { background: var(--light); transform: translateY(-8px); }
.team-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; display: block; border: 4px solid var(--light); transition: var(--transition); }
.team-card:hover .team-photo { border-color: var(--accent); }
.team-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.team-card .role { font-size: 0.85rem; color: var(--accent); font-weight: 500; letter-spacing: 0.5px; }
.team-card .team-desc { font-size: 0.85rem; color: var(--gray); margin-top: 10px; line-height: 1.6; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1300px; margin: 0 auto; }
.feature-card { text-align: center; padding: 40px 24px; border-radius: var(--radius); transition: var(--transition); }
.feature-card:hover { background: var(--light); transform: translateY(-5px); }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--accent), var(--pine)); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--white); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.feature-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

/* PROMO BANNER */
.promo-banner { padding: 0 60px; margin-bottom: 100px; }
.banner-inner { max-width: 1300px; margin: 0 auto; background: linear-gradient(135deg, #1a1a1a, #2a2a2a); border-radius: 24px; padding: 80px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.banner-inner::before { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(122,58,74,0.2), transparent 70%); top: -100px; right: 100px; border-radius: 50%; }
.banner-text { z-index: 2; max-width: 500px; }
.banner-text .discount { font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--sale); line-height: 1; margin-bottom: 10px; }
.banner-text h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--white); margin-bottom: 16px; }
.banner-text p { color: rgba(255,255,255,0.6); margin-bottom: 30px; line-height: 1.7; }
.banner-timer { display: flex; gap: 16px; z-index: 2; }
.timer-block { text-align: center; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 20px 24px; border-radius: 16px; min-width: 90px; }
.timer-block .number { font-size: 2.2rem; font-weight: 700; color: var(--white); display: block; }
.timer-block .label { font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* NEWSLETTER */
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 30px auto 0; }
.newsletter-form input { flex: 1; padding: 16px 24px; border: 2px solid var(--border); border-radius: 50px; font-size: 0.95rem; font-family: 'Inter', sans-serif; transition: var(--transition); background: var(--white); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button { padding: 16px 32px; background: var(--accent); color: var(--white); border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.newsletter-form button:hover { background: var(--accent-hover); transform: scale(1.05); }

/* FOOTER */
footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 80px 60px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; max-width: 1300px; margin: 0 auto; }
.footer-brand .logo { display: inline-block; margin-bottom: 20px; }
.footer-brand p { line-height: 1.8; font-size: 0.9rem; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8); text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-3px); }
.social-links svg { width: 22px; height: 22px; fill: currentColor; }
.social-links img { width: 22px; height: 22px; object-fit: contain; display: block; }

.footer-col h4 { color: var(--white); font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.contact-btn {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; cursor: pointer; font-size: 0.9rem; color: rgba(255,255,255,0.8);
    transition: var(--transition); width: fit-content;
}
.contact-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }
.contact-btn.copied { background: #10b981; border-color: #10b981; color: white; }

.footer-bottom { max-width: 1300px; margin: 60px auto 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.85rem; }

/* SIDEBARS */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.side-panel {
    position: fixed; top: 0; right: -460px; width: 440px; height: 100%;
    background: var(--white); z-index: 2001;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.side-panel.open { right: 0; }
.panel-header { padding: 30px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.panel-header h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; }
.panel-close { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--light); cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.panel-close:hover { background: var(--accent); color: var(--white); }
.panel-items { flex: 1; overflow-y: auto; padding: 20px 30px; }
.panel-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.panel-item-image { width: 80px; height: 100px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.panel-item-image img { width: 100%; height: 100%; object-fit: cover; }
.panel-item-info { flex: 1; }
.panel-item-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.panel-item-info .item-brand { font-size: 0.75rem; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.panel-item-info .item-price { font-weight: 700; font-size: 1rem; }
.item-meta { font-size: 0.8rem; color: var(--gray); margin: 4px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.item-meta .color-badge { display: inline-flex; align-items: center; gap: 4px; }
.item-meta .color-dot-small { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #eee; display: inline-block; }
.item-meta .size-badge { background: var(--light); padding: 2px 8px; border-radius: 4px; font-weight: 500; }
.quantity-control { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.quantity-control button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #ddd; background: var(--white); cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.quantity-control button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.quantity-control span { font-weight: 600; min-width: 20px; text-align: center; }
.item-remove { background: none; border: none; color: var(--gray); cursor: pointer; font-size: 1.1rem; transition: var(--transition); align-self: flex-start; }
.item-remove:hover { color: var(--accent); }
.panel-empty { text-align: center; padding: 60px 20px; color: var(--gray); }
.panel-empty .empty-icon { font-size: 4rem; margin-bottom: 16px; }
.panel-footer { padding: 30px; border-top: 1px solid #eee; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cart-total span { font-size: 1rem; color: var(--gray); }
.cart-total strong { font-size: 1.4rem; font-weight: 700; }
.checkout-btn { width: 100%; padding: 16px; background: var(--accent); color: var(--white); border: none; border-radius: 12px; font-size: 0.95rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: var(--transition); }
.checkout-btn:hover { background: var(--accent-hover); transform: scale(1.02); }

/* AUTH MODAL */
.auth-modal {
    max-width: 480px; padding: 0;
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.auth-header {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a, #4a4a4a);
    padding: 40px 40px 30px; text-align: center; position: relative;
}
.auth-header::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}
.auth-header .auth-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; color: var(--white);
    letter-spacing: 6px; margin-bottom: 8px;
}
.auth-header p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.auth-header .modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.2); border: none;
    cursor: pointer; font-size: 1.1rem; color: rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); z-index: 2;
}
.auth-header .modal-close:hover { background: rgba(255,255,255,0.3); color: var(--white); }

.auth-body {
    padding: 30px 40px 40px;
    background: linear-gradient(180deg, #faf9f6 0%, #f5f4f1 50%, #ffffff 100%);
}
.auth-tabs { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 2px solid var(--border); }
.auth-tab { flex: 1; padding: 12px; border: none; background: transparent; cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: var(--transition); color: var(--gray); position: relative; }
.auth-tab.active { color: var(--accent); }
.auth-tab.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--accent); border-radius: 2px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.input-group { position: relative; }
.input-group input {
    width: 100%; padding: 14px 44px 14px 16px;
    border: 2px solid var(--border); border-radius: 12px;
    font-size: 0.95rem; transition: var(--transition);
    font-family: 'Inter', sans-serif; background: rgba(255,255,255,0.8);
}
.input-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74,93,78,0.1); background: var(--white); }
.input-group input::placeholder { color: #a8a8a8; }
.toggle-pw {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; color: #a8a8a8;
    font-size: 1.1rem; padding: 4px; transition: var(--transition);
}
.toggle-pw:hover { color: var(--accent); }

.auth-form .btn-submit {
    width: 100%; padding: 15px; border-radius: 12px;
    font-weight: 600; letter-spacing: 0.5px; margin-top: 8px;
    font-size: 0.95rem; border: none; cursor: pointer;
    background: var(--accent); color: var(--white);
    transition: var(--transition);
}
.auth-form .btn-submit:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(74,93,78,0.3); }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.checkbox-row input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent);
    cursor: pointer; flex-shrink: 0;
}
.checkbox-row label {
    font-size: 0.85rem; color: var(--gray); line-height: 1.5; cursor: pointer;
}
.checkbox-row label a { color: var(--accent); text-decoration: none; font-weight: 500; }
.checkbox-row label a:hover { text-decoration: underline; }

.divider { display: flex; align-items: center; gap: 16px; margin: 16px 0 8px; }
.divider span { color: #b8b8b8; font-size: 0.85rem; white-space: nowrap; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.social-auth-title { text-align: center; font-size: 0.9rem; color: #a0a0a0; margin-bottom: 16px; font-weight: 500; }

.social-buttons { display: flex; gap: 12px; }
.social-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 16px; border: 2px solid var(--border); border-radius: 12px;
    background: rgba(255,255,255,0.8); cursor: pointer;
    font-size: 0.9rem; font-weight: 500; transition: var(--transition);
    font-family: 'Inter', sans-serif; color: var(--dark-gray);
}
.social-btn:hover { border-color: var(--accent); background: var(--white); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.social-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.social-btn img { width: 22px; height: 22px; flex-shrink: 0; object-fit: contain; }

.guest-link {
    display: block; text-align: center; margin-top: 16px;
    font-size: 0.85rem; color: #a8a8a8; text-decoration: none;
    cursor: pointer; transition: var(--transition);
}
.guest-link:hover { color: var(--accent); }

/* PRODUCT MODAL */
.product-modal { background: var(--white); border-radius: 20px; max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; transform: scale(0.9); transition: var(--transition); }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); padding: 20px; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-overlay.open .product-modal { transform: scale(1); }
.modal-image { height: 100%; min-height: 500px; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px 0 0 20px; transition: opacity 0.15s ease; }
.modal-content { padding: 40px; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: none; cursor: pointer; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: var(--transition); z-index: 10; }
.modal-close:hover { background: var(--accent); color: var(--white); }
.modal-content h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 8px; margin-top: 0; }
.modal-content .modal-price { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.modal-content .modal-price .old-price { font-size: 1rem; color: var(--gray); text-decoration: line-through; font-weight: 400; margin-left: 10px; }
.modal-content .modal-desc { color: var(--gray); line-height: 1.7; margin-bottom: 24px; font-size: 0.95rem; }
.modal-section { margin-bottom: 24px; }
.modal-section h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.5px; }
.modal-sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn { padding: 8px 18px; border: 2px solid #e0e0e0; border-radius: 8px; background: var(--white); cursor: pointer; font-size: 0.85rem; font-weight: 500; transition: var(--transition); }
.size-btn:hover { border-color: var(--primary); }
.size-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.modal-colors { display: flex; gap: 10px; }
.modal-color-dot { width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; transition: var(--transition); }
.modal-color-dot:hover, .modal-color-dot.active { border-color: var(--primary); transform: scale(1.15); }
.modal-reviews { background: var(--light); border-radius: 12px; padding: 20px; }
.review-item { padding: 12px 0; border-bottom: 1px solid #eee; }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.review-name { font-weight: 600; font-size: 0.9rem; }
.review-stars { color: var(--pine); font-size: 0.85rem; }
.review-text { color: var(--gray); font-size: 0.85rem; line-height: 1.6; }
.modal-add-btn { width: 100%; padding: 16px; background: var(--accent); color: var(--white); border: none; border-radius: 12px; font-size: 0.95rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: var(--transition); }
.modal-add-btn:hover { background: var(--accent-hover); transform: scale(1.02); }

/* INFO MODAL */
.info-modal { background: var(--white); border-radius: 20px; max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 50px; transform: scale(0.9); transition: var(--transition); position: relative; }
.modal-overlay.open .info-modal { transform: scale(1); }
.info-modal h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 20px; }
.info-modal p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.info-modal ul { margin-left: 20px; color: var(--gray); line-height: 2; }
.info-modal h4 { color: var(--primary); margin-top: 10px; }

/* MAP MODAL */
.map-modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: var(--transition);
    position: relative;
}
.modal-overlay.open .map-modal-content { transform: scale(1); }
.map-modal-content .map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}
.map-modal-content .map-info {
    padding: 24px 30px 30px;
}
.map-modal-content .map-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.map-modal-content .map-info p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}
.map-modal-content .map-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 5;
}
.map-modal-content .map-close:hover {
    background: var(--accent);
    color: var(--white);
}

/* TOAST */
.toast { position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: var(--white); padding: 16px 28px; border-radius: 12px; font-size: 0.9rem; font-weight: 500; z-index: 5000; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); transform: translateY(100px); opacity: 0; transition: var(--transition); }
.toast.show { transform: translateY(0); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about-content { flex-direction: column; gap: 40px; }
    .about-image { width: 100%; height: 300px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-inner { flex-direction: column; text-align: center; padding: 60px 40px; }
    .banner-timer { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-modal { grid-template-columns: 1fr; }
    .modal-image { min-height: 300px; }
    .modal-image img { border-radius: 20px 20px 0 0; }
    .auth-modal { max-width: 95vw; }
    .auth-header, .auth-body { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 768px) {
    header { padding: 15px 24px; }
    header.scrolled { padding: 12px 24px; }
    nav { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .products, .about-section, .features, .newsletter { padding: 60px 24px; }
    .section-header h2 { font-size: 2rem; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
    .features-grid, .team-grid { grid-template-columns: 1fr; }
    .promo-banner { padding: 0 24px; }
    .banner-inner { padding: 40px 24px; }
    .banner-text .discount { font-size: 3rem; }
    .banner-text h2 { font-size: 1.8rem; }
    .timer-block { padding: 14px 16px; min-width: 70px; }
    .timer-block .number { font-size: 1.5rem; }
    .newsletter-form { flex-direction: column; }
    .about-stats { flex-direction: column; gap: 30px; }
    footer { padding: 60px 24px 20px; }
    .side-panel { width: 100%; right: -100%; }
}