/* ============================================
   HOME PAGE - home.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');
   
:root {
    --primary: #E53E3E;
    --primary-dark: #c53030;
    --background: #ffffff;
    --foreground: #000000;
    --secondary: #f7fafc;
    --accent: #1a1a1a;
    --muted: #6b7280;
    --border: #e5e7eb;
    --container-width: 1280px;
}

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

* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ============================================
   UTILITIES
   ============================================ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.logo-winter {
    color: var(--primary);
}

.logo-shop {
    color: var(--background);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo-shop {
    color: var(--accent);
}

.navbar.scrolled .nav-link {
    color: var(--accent);
}

.navbar.scrolled .nav-link.active {
    color: var(--primary);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.navbar.scrolled .nav-link {
    color: var(--accent);
}

.navbar.scrolled .nav-link.active::after {
    background-color: var(--primary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    color: var(--background);
}

@media (min-width: 768px) {
    .nav-icon {
        display: flex;
    }
}

.navbar.scrolled .nav-icon {
    color: var(--accent);
}

.navbar.scrolled .nav-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    color: var(--background);
}

.navbar.scrolled .nav-cart {
    color: var(--accent);
}

.navbar.scrolled .nav-cart:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-cart:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-badge.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--background);
    padding-top: 80px;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-overlay-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.3));
}

/* Grid Pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Snowflakes */
.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.snowflake-1 {
    top: 80px;
    left: 15%;
    animation-delay: 0s;
}

.snowflake-2 {
    top: 160px;
    right: 20%;
    font-size: 5rem;
    opacity: 0.05;
    animation-delay: 0.7s;
}

.snowflake-3 {
    bottom: 128px;
    left: 25%;
    font-size: 4rem;
    opacity: 0.05;
    animation-delay: 1s;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 6rem 0;
    }
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5.5rem;
    }
}

.hero-line-1 {
    display: block;
    color: var(--background);
}

.hero-line-2 {
    display: block;
    margin-top: 0.75rem;
    background: linear-gradient(to right, var(--primary), #f56565, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.125rem;
}

.hero-subtitle {
    margin-top: 2rem;
    font-size: 1.125rem;
    line-height: 1.5;
    color: #d1d5db;
    max-width: 28rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    min-width: 260px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .btn {
        width: 100%;
        min-width: 0;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: var(--background);
    box-shadow: 0 10px 25px rgba(229, 62, 62, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 15px 35px rgba(229, 62, 62, 0.4);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--background);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .trust-badges {
        gap: 3rem;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.scroll-wheel {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* Hero Stats */
.hero-stats {
    display: none;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 2rem;
    z-index: 10;
}

@media (min-width: 1280px) {
    .hero-stats {
        display: flex;
    }
}

.stat {
    text-align: right;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--background);
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   COLLECTION BANNER
   ============================================ */

.collection-banner {
    background: linear-gradient(135deg, var(--foreground));
    padding: 1rem 0;
}

.collection-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.collection-spark {
    font-size: 1.5rem;
}

.collection-label {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--background);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.collection-text {
    font-weight: 600;
    color: var(--background);
}

.collection-link {
    color: var(--primary);
    text-decoration: underline;
    margin-left: 0.5rem;
    transition: opacity 0.3s ease;
}

.collection-link:hover {
    opacity: 0.8;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */

.featured-products {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .featured-products {
        padding: 8rem 0;
    }
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-header-center {
    justify-content: center;
    text-align: center;
}

.header-center {
    width: 100%;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-desc {
    margin-top: 0.75rem;
    color: #9ca3af;
    max-width: 28rem;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.view-all:hover {
    gap: 1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    cursor: pointer;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f3f4f6;
    margin-bottom: 1rem;
}

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

.product-image-wrapper:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
    display: flex;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.product-image-wrapper:hover .product-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-add {
    flex: 1;
    height: 44px;
    background: transparent;
    color: white;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.2s ease;
    padding: 0;
    border-radius: 0;
}

.btn-add:hover {
    background: var(--primary);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
}

.badge-new {
    background-color: var(--primary);
    color: var(--foreground);
}

.badge-sale {
    background-color: #10b981;
    color: var(--foreground);
}

/* Product Info */
.product-info {
    padding: 0 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-price {
    margin-top: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.product-price-original {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */

.categories {
    padding: 5rem 0;
    background-color: rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
    .categories {
        padding: 8rem 0;
    }
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.category-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), transparent);
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3), transparent);
}

/* Category Content */
.category-content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--background);
}

@media (min-width: 768px) {
    .category-content {
        padding: 1.5rem;
    }
}

.category-count {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
}

.category-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .category-name {
        font-size: 1.875rem;
    }
}

.category-desc {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-top: 0.25rem;
}

.category-link-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-card:hover .category-link-text {
    color: var(--primary);
}

.category-link-text svg {
    transition: transform 0.3s ease;
}

.category-card:hover .category-link-text svg {
    transform: translateX(4px);
}

/* ============================================
   PROMO BANNER
   ============================================ */

.promo-banner {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .promo-banner {
        padding: 6rem 0;
    }
}

.promo-effects {
    position: absolute;
    inset: 0;
}

.promo-effects::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 384px;
    height: 384px;
    background-color: rgba(229, 62, 62, 0.3);
    border-radius: 50%;
    filter: blur(96px);
}

.promo-effects::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 256px;
    height: 256px;
    background-color: rgba(229, 62, 62, 0.2);
    border-radius: 50%;
    filter: blur(64px);
}

/* Promo Grid */
.promo-grid {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: linear-gradient(to right, white 1px, transparent 1px), linear-gradient(to bottom, white 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Promo Content */
.promo-content {
    position: relative;
    background-color: var(--accent);
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    z-index: 10;
}

@media (min-width: 768px) {
    .promo-content {
        padding: 6rem 4rem;
    }
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(229, 62, 62, 0.2);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.promo-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--background);
}

@media (min-width: 768px) {
    .promo-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .promo-title {
        font-size: 4.375rem;
    }
}

.promo-offer {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.promo-percent {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
}

@media (min-width: 768px) {
    .promo-percent {
        font-size: 4.5rem;
    }
}

.promo-off {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .promo-off {
        font-size: 1.875rem;
    }
}

.promo-text {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.promo-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .promo-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.promo-timer {
    font-size: 0.875rem;
    color: #9ca3af;
}

.promo-timer span {
    color: var(--foreground);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--foreground);
    color: var(--background);
}

/* Newsletter Section */
.newsletter-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .newsletter-section {
        padding: 4rem 0;
    }
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .newsletter-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.newsletter-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .newsletter-title {
        font-size: 1.875rem;
    }
}

.newsletter-text {
    margin-top: 0.5rem;
    color: #9ca3af;
}

.newsletter-form {
    display: flex;
    width: 100%;
}

@media (min-width: 768px) {
    .newsletter-form {
        width: auto;
    }
}

.newsletter-form input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    padding: 1rem 1.5rem;
    color: var(--foreground);
    font-family: inherit;
    border-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

@media (min-width: 768px) {
    .newsletter-form input {
        width: 320px;
    }
}

.newsletter-form input::placeholder {
    color: #6b7280;
}

.newsletter-form .btn-primary {
    border-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Footer Main */
.footer-main {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .footer-main {
        padding: 4rem 0;
    }
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-brand .logo-winter {
    color: var(--primary);
}

.footer-brand .logo-shop {
    color: var(--background);
}

.footer-desc {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-icon:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #9ca3af;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 1rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-contact svg,
.footer-contact i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
    display: inline-block;
    font-size: 20px;
    line-height: 1;
}

.footer-contact a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: left;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: #6b7280;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .category-name {
        font-size: 1.25rem;
    }
}

.nav-cart {
    position: relative;
    display: flex; /* important */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    color: var(--background);
    text-decoration: none; /* FIX anchor underline */
}

/* ============================================
   NAVBAR LIGHT — for pages with white/light
   backgrounds (product, cart). Applies the 
   scrolled style immediately without waiting
   for the user to scroll.
   ============================================ */

.navbar-light {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Logo */
.navbar-light .logo-shop {
    color: var(--accent);
}

/* Nav links */
.navbar-light .nav-link {
    color: var(--accent);
}

.navbar-light .nav-link.active {
    color: var(--primary);
}

/* Icons */
.navbar-light .nav-icon {
    color: var(--accent);
}

.navbar-light .nav-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Cart icon */
.navbar-light .nav-cart {
    color: var(--accent);
}

.navbar-light .nav-cart:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Remove default bullet points from all lists in footer */
.footer-links,
.footer-contact {
    list-style: none;
}

.cart-toast {
    position: fixed;
    top: 96px;
    right: 32px;
    width: fit-content;
    height: fit-content;
    background: var(--foreground);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    max-width: 300px;
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .cart-toast {
        top: 80px;
        right: 16px;
        left: auto;
        max-width: calc(100vw - 32px);
        white-space: normal;
    }
}

.cart-toast i { color: #10b981; font-size: 18px; }

/* Add at the bottom of the PRODUCT BADGE section in home.css */
.badge-out {
    background-color: #6b7280;
    color: #ffffff;
}

.badge-low {
    background-color: #f59e0b;
    color: #ffffff;
}

/* ============================================
   MOBILE NAVBAR LAYOUT
   ============================================ */

/* Three-zone layout for navbar */
/* ============================================
   MOBILE NAVBAR LAYOUT
   ============================================ */

/* KEEP DESKTOP ORIGINAL */
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* MOBILE ONLY */
@media (max-width: 767px) {

    .navbar-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        height: 68px;
    }

    .logo {
        justify-self: center;
    }

    .desktop-nav {
        display: none;
    }

    .nav-actions {
        justify-self: end;
    }
}

/* LEFT zone */
.nav-left {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-start;
}

/* RIGHT zone */
.nav-right {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

/* Logo always centered */
.logo {
    justify-self: center;
    text-align: center;
}

/* Desktop nav sits between left and center — hide the grid center slot */
.desktop-nav {
    display: none; /* hidden on mobile */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Hamburger — only on mobile */
.nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.nav-hamburger:hover {
    background: rgba(255,255,255,0.1);
}

.navbar-light .nav-hamburger,
.navbar.scrolled .nav-hamburger {
    color: var(--accent);
}

.navbar-light .nav-hamburger:hover,
.navbar.scrolled .nav-hamburger:hover {
    background: rgba(0,0,0,0.05);
}

/* nav-icon already has display:none below 768px — make search always visible */
.nav-search-btn {
    display: flex !important; /* override the 768px hide */
}

/* On desktop: restore original layout */
@media (min-width: 768px) {
    .navbar-content {
        display: flex;
        height: 80px;
    }

    .nav-left    { display: none; }   /* search moves into nav-actions area */
    .nav-right   { display: none; }   /* actions are in original .nav-actions */

    /* Show the original desktop nav + actions */
    .desktop-nav    { display: flex; position: static; transform: none; }
    .nav-actions    { display: flex; }

    .nav-hamburger  { display: none !important; }

    /* Put search back inside nav-actions (it was moved to nav-left for mobile) */
    .nav-search-btn { order: -1; }
}

/* Keep original .nav-actions hidden on mobile but show nav-right instead */
.nav-actions {
    display: none;
}

@media (min-width: 768px) {
    .nav-actions { display: flex; }
}

/* ============================================
   MOBILE MENU DRAWER
   ============================================ */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.open { display: block; }

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #0a0a0a;
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-menu-close:hover { background: rgba(255,255,255,0.12); }

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
}

.mobile-nav-link {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: white;
    background: rgba(255,255,255,0.05);
    border-left-color: var(--primary);
}

/* ============================================
   HOME PAGE — MOBILE RESPONSIVE
   ============================================ */

/* Hero section */
@media (max-width: 767px) {
    .hero {
        min-height: 100svh;
        padding-top: 68px;
    }

    .hero-content {
        padding: 3rem 0 5rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-top: 1.25rem;
    }

    .hero-buttons {
        margin-top: 2rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
        justify-content: center;
    }

    .trust-badges {
        gap: 1.25rem;
        margin-top: 2.5rem;
    }

    .trust-badge {
        font-size: 0.75rem;
    }
}

/* Collection banner */
@media (max-width: 767px) {
    .collection-content {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0 1rem;
        font-size: 0.875rem;
    }
}

/* Featured products */
@media (max-width: 767px) {
    .featured-products {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-name {
        font-size: 0.875rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .view-all {
        font-size: 0.875rem;
    }
}

/* Categories */
@media (max-width: 767px) {
    .categories {
        padding: 3rem 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .category-name {
        font-size: 1.1rem;
    }

    .category-desc {
        display: none; /* too cramped on small screens */
    }
}

/* Promo banner */
@media (max-width: 767px) {
    .promo-banner {
        padding: 3rem 0;
    }

    .promo-content {
        padding: 2.5rem 1.25rem;
    }

    .promo-title {
        font-size: 2rem;
    }

    .promo-percent {
        font-size: 2.75rem;
    }

    .promo-off {
        font-size: 1.25rem;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .promo-actions .btn {
        width: 100%;
    }
}

/* Footer */
@media (max-width: 767px) {
    .newsletter-content {
        gap: 1.25rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form input {
        border-right: 1px solid rgba(255,255,255,0.2);
        border-radius: 4px;
        width: 100%;
    }

    .newsletter-form .btn-primary {
        border-radius: 4px;
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1; /* full width */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* hide hamburger on desktop */
.mobile-left {
    display: none;
}

/* mobile only */
@media (max-width: 767px) {

    .mobile-left {
        display: flex;
        align-items: center;
    }

    .nav-actions .nav-icon:first-child,
    .nav-actions .nav-icon:nth-child(2) {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: white;
    }

    .navbar-light .nav-hamburger,
    .navbar.scrolled .nav-hamburger {
        color: var(--accent);
    }
}

/* =========================================
   MOBILE NAVBAR ICONS
========================================= */

@media (max-width: 767px) {

    .navbar-content {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        height: 68px;
    }

    .mobile-left {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    /* SHOW icons on mobile */
    .mobile-search,
    .mobile-user,
    .nav-cart {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .nav-icon,
    .nav-cart,
    .nav-hamburger {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .logo {
        justify-self: center;
    }

    .desktop-nav {
        display: none;
    }
}

/* ============================================
   PAGE LOADER SPINNER
   Shown by default on every page load.
   Fades out once JS calls hideLoader().
   ============================================ */

.page-loader {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

/* Hidden state — added by hideLoader() */
.page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Logo */
.loader-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.loader-logo .logo-winter {
    color: var(--primary);
}

.loader-logo-shop {
    color: rgba(255, 255, 255, 0.85);
}

/* Three-dot bounce animation */
.loader-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loader-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    animation: loaderBounce 0.9s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.15s; }
.loader-dots span:nth-child(3) { animation-delay: 0.30s; }

@keyframes loaderBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity:   0.4;
    }
    40% {
        transform: scale(1.0);
        opacity:   1;
    }
}

/* ============================================
   CURRENCY TOGGLE
   ============================================ */

.currency-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.currency-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.currency-divider {
    opacity: 0.4;
    font-weight: 300;
}

/* Active currency is bright, inactive is dimmed */
.currency-active {
    color: inherit;
    font-weight: 700;
}

.currency-inactive {
    opacity: 0.45;
    font-weight: 500;
}

/* When USD is active, highlight it differently */
.currency-toggle[data-active="USD"] .currency-active {
    color: #68d391; /* soft green — signals "non-default" mode */
}

/* Scrolled navbar (dark → light bg) */
.navbar.scrolled .currency-toggle,
.navbar-light .currency-toggle {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent);
}

.navbar.scrolled .currency-toggle:hover,
.navbar-light .currency-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Mobile — slightly smaller */
@media (max-width: 767px) {
    .currency-toggle {
        height: 30px;
        padding: 0 8px;
        font-size: 0.7rem;
        gap: 4px;
    }
}

