/* ===== VARIABLES & THEMES ===== */
:root {
    --bg: #ffffff;
    --bg-2: #fafafa;
    --bg-3: #f0f0f0;
    --text: #1a1a1a;
    --text-2: #666;
    --text-3: #999;
    --border: #e5e5e5;
    --accent: #d4623c;
    --accent-hover: #b8502f;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Georgia', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] {
    --bg: #0f0f0f;
    --bg-2: #1a1a1a;
    --bg-3: #252525;
    --text: #f5f5f5;
    --text-2: #aaa;
    --text-3: #777;
    --border: #2a2a2a;
    --accent: #e87a55;
    --accent-hover: #ff8c66;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid transparent;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
}

.btn-block { width: 100%; justify-content: center; }

/* ===== ICON BUTTONS ===== */
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
    color: var(--text);
}

.icon-btn:hover {
    background: var(--bg-3);
    color: var(--accent);
}

.icon-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.icon-btn-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

.icon-btn-large:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.logo span { color: var(--accent); }

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    padding: 5px 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding-top: 76px;
    min-height: 100vh;
}

.page { display: none; animation: fadeIn 0.5s ease; }
.page.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO ===== */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 76px);
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-3);
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    animation: slideIn 0.6s ease;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    animation: slideIn 0.8s ease;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 450px;
    margin-bottom: 35px;
    animation: slideIn 1s ease;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: slideIn 1.2s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image {
    position: relative;
    animation: zoomIn 1s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero-floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--bg);
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-card strong { display: block; font-size: 0.95rem; }
.hero-floating-card span { font-size: 0.8rem; color: var(--text-2); }

/* ===== SECTIONS ===== */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-tag {
    display: block;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -1px;
}

/* ===== CATEGORY GRID ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img { transform: scale(1.1); }

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.category-overlay h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.category-overlay span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

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

.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: var(--bg-3);
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--text);
    color: var(--bg);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.product-card:hover .product-wishlist {
    opacity: 1;
    transform: translateY(0);
}

.product-wishlist.active {
    opacity: 1;
    color: var(--accent);
}

.product-info {
    padding: 18px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-name {
    font-size: 1rem;
    font-weight: 500;
    margin: 6px 0;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: var(--bg-2);
    padding: 100px 30px;
    text-align: center;
    margin: 40px 0;
}

.promo-content {
    max-width: 600px;
    margin: 0 auto;
}

.promo-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.promo-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
}

.promo-content p {
    color: var(--text-2);
    margin-bottom: 30px;
}

/* ===== PAGE HEADERS ===== */
.page-header {
    text-align: center;
    padding: 60px 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.page-header p { color: var(--text-2); }

/* ===== SHOP LAYOUT ===== */
.shop-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 80px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

.filters-sidebar {
    background: var(--bg-2);
    padding: 25px;
    border-radius: var(--radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.filters-header h3 { font-size: 1.1rem; font-weight: 600; }

.clear-filters {
    font-size: 0.8rem;
    color: var(--accent);
    cursor: pointer;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--text-2);
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-options label:hover { color: var(--accent); }

.size-options, .color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.size-btn:hover, .size-btn.active {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.color-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-dot:hover, .color-dot.active {
    border-color: var(--accent);
    transform: scale(1.15);
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: var(--bg-2);
    border-radius: var(--radius);
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
}

.result-count {
    font-size: 0.9rem;
    color: var(--text-2);
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg);
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
}

/* ===== CATEGORIES FULL PAGE ===== */
.categories-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-full-card {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.category-full-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.category-full-card:hover img { transform: scale(1.05); }

.category-full-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.category-full-content span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.category-full-content h2 {
    font-size: 3rem;
    font-weight: 300;
    margin: 10px 0;
}

.category-full-content p {
    margin-bottom: 20px;
    max-width: 300px;
}

.category-full-content .btn-primary {
    background: white;
    color: black;
    width: fit-content;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin: 15px 0 25px;
}

.about-hero-text p {
    color: var(--text-2);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-values {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-2);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-2);
    font-size: 0.9rem;
}

.about-stats {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.about-stats h2 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 5px;
}

.about-stats p {
    color: var(--text-2);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item h4 { margin-bottom: 5px; }
.contact-item p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--bg-2);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-2);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* ===== MODALS ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal.active { display: flex; }

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--accent);
    color: white;
}

/* Search Modal */
.search-container {
    background: var(--bg);
    width: 100%;
    max-width: 700px;
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    margin-top: 80px;
    animation: slideDown 0.4s ease;
}

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

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.search-input-wrap i { font-size: 1.2rem; color: var(--text-2); }

.search-input-wrap input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1.2rem;
    color: var(--text);
    outline: none;
}

.search-results {
    padding-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.search-hint {
    text-align: center;
    color: var(--text-3);
    padding: 20px;
}

.search-result-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover { background: var(--bg-2); }

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.search-result-info p { font-size: 0.85rem; color: var(--accent); font-weight: 600; }

/* ===== SIDE PANELS ===== */
.side-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.side-panel.active { right: 0; }

.panel-header {
    padding: 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 { font-size: 1.1rem; font-weight: 600; }

.close-panel {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-panel:hover { background: var(--bg-3); }

.panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.panel-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-3);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.cart-item-info .meta { font-size: 0.8rem; color: var(--text-2); margin-bottom: 8px; }
.cart-item-info .price { color: var(--accent); font-weight: 600; }

.cart-item-remove {
    color: var(--text-3);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-remove:hover { color: var(--accent); }

/* ===== PRODUCT MODAL ===== */
.product-modal-content {
    background: var(--bg);
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    animation: zoomIn 0.4s ease;
}

.product-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.main-image {
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-3);
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumb-gallery img:hover,
.thumb-gallery img.active {
    opacity: 1;
    border: 2px solid var(--accent);
}

.product-modal-info h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 8px 0 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #f5a623;
    margin-bottom: 15px;
}

.product-rating span {
    color: var(--text-2);
    font-size: 0.85rem;
    margin-left: 8px;
}

.product-modal-info .product-price {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.product-description {
    color: var(--text-2);
    margin-bottom: 25px;
    line-height: 1.7;
}

.product-option {
    margin-bottom: 20px;
}

.product-option label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-2);
}

.product-quantity {
    margin-bottom: 25px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
}

.qty-control button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.qty-control button:hover { background: var(--bg-3); }

.qty-control span {
    width: 40px;
    text-align: center;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.product-actions .btn-primary { flex: 1; }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-2);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.footer-logo span { color: var(--accent); }

.footer-col p {
    color: var(--text-2);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: var(--text-2);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: var(--bg-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg);
    color: var(--text);
    outline: none;
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.newsletter-form button:hover { background: var(--accent-hover); }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    color: var(--text-3);
    font-size: 0.85rem;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text);
    color: var(--bg);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 300;
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-lg);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px; }
    .hero-image img { height: 400px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .about-hero, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-values, .about-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .filters-sidebar { position: static; display: none; }
    .filters-sidebar.active { display: block; }
    .filter-toggle { display: flex; }
    .product-modal-grid { grid-template-columns: 1fr; }
    .main-image { height: 400px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.3s;
    }
    .nav-menu.active { transform: translateY(0); }
    .menu-toggle { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-image { height: 220px; }
    .categories-full { grid-template-columns: 1fr; }
    .category-full-card { height: 350px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-floating-card { left: 20px; }
    .side-panel { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}