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

:root {
    --ink: #111111;
    --paper: #ffffff;
    --muted: #8d8d8d;
    --surface: #f5f5f5;
    --line: #e5e5e5;
    --bf-orange: #ff6b35;
    --bf-dark: #1a1a1a;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-top {
    background: var(--ink);
    color: var(--paper);
    padding: 8px 0;
    font-size: 12px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-arrow {
    background: none;
    border: none;
    color: var(--paper);
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    transition: opacity 0.3s;
}

.carousel-arrow:hover {
    opacity: 0.7;
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-links a {
    color: var(--paper);
    text-decoration: none;
    transition: opacity 0.3s;
}

.header-links a:hover {
    opacity: 0.7;
}

.navbar {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--ink);
    cursor: pointer;
}

.logo-wordmark {
    color: inherit;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

.nav-link.active {
    color: var(--bf-orange);
    font-weight: 700;
}

.nav-link:hover {
    color: var(--bf-orange);
}

.nav-actions {
    display: flex;
    gap: 20px;
}

.search-btn,
.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    padding: 5px;
    transition: opacity 0.3s;
}

.search-btn:hover,
.cart-btn:hover {
    opacity: 0.6;
}

/* Black Friday Hero Banner */
.black-friday-hero {
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 50%, #3a3a3a 100%);
    color: var(--paper);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grainy texture overlay */
.black-friday-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(0,0,0,0.1) 0px, transparent 1px, transparent 2px, rgba(0,0,0,0.1) 3px),
        repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0px, transparent 1px, transparent 2px, rgba(0,0,0,0.1) 3px);
    background-size: 2px 2px;
    opacity: 0.3;
    pointer-events: none;
}

/* Hero texture */
.black-friday-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    width: 1000px;
    height: 500px;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        ),
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.5) 2px, transparent 2px),
        radial-gradient(circle at 25% 35%, rgba(255,255,255,0.4) 1.5px, transparent 1.5px),
        radial-gradient(circle at 35% 30%, rgba(255,255,255,0.45) 2px, transparent 2px),
        radial-gradient(circle at 45% 40%, rgba(255,255,255,0.35) 1.5px, transparent 1.5px),
        radial-gradient(circle at 55% 35%, rgba(255,255,255,0.4) 2px, transparent 2px),
        radial-gradient(circle at 65% 45%, rgba(255,255,255,0.35) 1.5px, transparent 1.5px),
        radial-gradient(circle at 75% 40%, rgba(255,255,255,0.4) 2px, transparent 2px),
        radial-gradient(circle at 85% 50%, rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
    background-size: 
        100% 100%,
        100% 100%,
        120px 120px,
        100px 100px,
        130px 130px,
        110px 110px,
        125px 125px,
        105px 105px,
        115px 115px,
        100px 100px;
    background-position:
        0 0,
        0 0,
        10% 20%,
        20% 30%,
        30% 25%,
        40% 35%,
        50% 30%,
        60% 40%,
        70% 35%,
        80% 45%;
    mask-image: url("data:image/svg+xml,%3Csvg width='1000' height='500' viewBox='0 0 1000 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M80 250 Q250 120 500 250 T920 250' stroke='white' stroke-width='90' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='1000' height='500' viewBox='0 0 1000 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M80 250 Q250 120 500 250 T920 250' stroke='white' stroke-width='90' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    opacity: 0.7;
    pointer-events: none;
}

.bf-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.bf-text-left {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: left;
    position: absolute;
    bottom: 30px;
    left: 40px;
    z-index: 3;
}

.bf-text-right {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: right;
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 3;
}

.bf-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 3;
}

.bf-title {
    font-size: 140px;
    font-weight: 900;
    letter-spacing: -6px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bf-subtitle {
    font-size: 100px;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bf-btn {
    background: var(--ink);
    color: var(--paper);
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.bf-btn:hover {
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Lifestyle Section */
.lifestyle-section {
    padding: 0;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: center;
}

.lifestyle-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    background: var(--paper);
}

.brand-bf-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lifestyle-divider svg {
    width: 30px;
    height: 20px;
    color: var(--ink);
}

.lifestyle-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

/* Best Discounts Section */
.best-discounts {
    padding: 80px 0;
    background: var(--paper);
    text-align: center;
}

.discounts-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.discounts-btn {
    background: var(--ink);
    color: var(--paper);
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.discounts-btn:hover {
    background: var(--bf-orange);
}

/* Featured Products */
.featured-products {
    padding: 60px 0;
    background: var(--paper);
}

.featured-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--bf-orange);
    margin-bottom: 40px;
    text-align: left;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: var(--ink);
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    color: var(--paper);
}

.product-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--paper);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.product-favorite:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.product-favorite.active {
    color: #ff0000;
    background: rgba(255, 255, 255, 0.9);
}

a .product-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-badge-bf {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bf-orange);
    color: var(--paper);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
}

.product-image {
    width: 100%;
    height: 300px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-info {
    padding: 20px;
    text-align: center;
    background: var(--ink);
}

.product-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--paper);
}

.product-category {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-prices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.old-price {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 16px;
}

.new-price {
    color: var(--paper);
    font-size: 24px;
    font-weight: 700;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--paper);
    color: var(--ink);
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.add-to-cart-btn:hover {
    background: var(--bf-orange);
    color: var(--paper);
}

/* Bottom Promo Section */
.bottom-promo {
    padding: 60px 0;
    background: var(--paper);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.promo-item {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.promo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--paper);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--ink);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-location span {
    font-weight: 500;
}

.footer-legal {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal p {
    color: var(--muted);
    font-size: 12px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
}

.legal-links a:hover {
    color: var(--ink);
}

/* Responsive */
@media (max-width: 1024px) {
    .bf-title {
        font-size: 80px;
    }
    
    .bf-subtitle {
        font-size: 60px;
    }
    
    .bf-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bf-text-left,
    .bf-text-right {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .bf-title {
        font-size: 60px;
    }
    
    .bf-subtitle {
        font-size: 40px;
    }
    
    .discounts-title {
        font-size: 32px;
    }

    .lifestyle-grid,
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .lifestyle-image,
    .promo-item {
        height: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

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