:root {
    --color-bg: #FFFFFF;
    --color-text: #000000;
    --color-accent: #CCFF00;
    /* Neon Lime Green */
    --color-grey-light: #F3F4F6;
    --color-grey-dark: #333333;

    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-padding: 40px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

/* --- Utils --- */
button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Animations --- */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links.left a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color var(--transition-speed);
}

.nav-links.left a:hover {
    color: var(--color-grey-dark);
}

.icon-btn {
    position: relative;
    color: var(--color-text);
    transition: transform 0.2s;
}

.icon-btn:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-accent);
    color: black;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(4px) brightness(0.8);
    /* Added blur and slight dim */
    transform: scale(1.1);
    /* Scale to avoid blurred edges */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Slight dark tint for contrast */
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 90%;
    z-index: 1;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(40px, 8vw, 120px);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-family: 'Syne', sans-serif;
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 700;
    margin-bottom: 40px;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: white;
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border: 1px solid white;
    transition: all var(--transition-speed);
}

.cta-button:hover {
    background-color: var(--color-accent);
    color: black;
    border-color: var(--color-accent);
}



/* --- Feature Strip --- */
.feature-strip {
    background: black;
    color: white;
    padding: 30px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #333;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.feature-icon {
    font-size: 24px;
}

.feature-text {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- Hot Section --- */
.hot-section {
    background: black;
    color: white;
    padding: 80px var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.hot-content {
    max-width: 500px;
}

.hot-badge {
    background: var(--color-accent);
    color: black;
    padding: 5px 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
}

.hot-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hot-desc {
    color: #ccc;
    line-height: 1.6;
    font-size: 20px;
    max-width: 400px;
}

.hot-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hot-img-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #222;
}

.hot-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: grayscale(100%);
}

.hot-img-wrapper:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.hot-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 2;
}

@media (max-width: 768px) {
    .feature-strip {
        gap: 20px;
    }

    .hot-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hot-content {
        margin: 0 auto;
    }

    .hot-desc {
        margin: 0 auto;
    }
}


/* --- Products Section --- */
.products-section {
    padding: 80px var(--container-padding);
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-transform: uppercase;
}

.categories {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 10px 24px;
    border: 1px solid #ddd;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    background: transparent;
}

.filter-chip:hover,
.filter-chip.active {
    background: black;
    color: white;
    border-color: black;
    transform: translateY(-2px);
}

.filter-chip.active {
    background: var(--color-accent);
    color: black;
    border-color: var(--color-accent);
}


/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background-color: var(--color-grey-light);
    position: relative;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #e5e5e5;
    margin-bottom: 15px;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    /* Helps integrate isolated images */
    transition: transform 0.5s ease;
}

.product-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.add-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: all 0.2s;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.add-btn:hover {
    background: var(--color-accent);
    transform: rotate(90deg);
}

.product-info {
    padding: 0 15px;
}

.product-title {
    font-family: var(--font-body);
    font-weight: 700;
    /* Bold */
    font-size: 16px;
    margin-bottom: 4px;
}

.product-sub {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.product-price {
    font-weight: 500;
    font-size: 14px;
}

/* --- Cart Drawer --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 101;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: white;
    z-index: 102;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-left: 2px solid black;
    font-family: 'Courier New', Courier, monospace;
    /* Facture style */
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px dashed black;
    padding-bottom: 20px;
}

.cart-header h3 {
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 2px;
}

.close-cart {
    font-size: 32px;
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
}

.item-qty {
    margin-right: 10px;
}

.item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

.cart-footer {
    border-top: 2px dashed black;
    padding-top: 20px;
    margin-top: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    background: black;
    color: white;
    padding: 15px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: var(--font-body);
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: var(--color-accent);
    color: black;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links.left {
        display: none;
    }

    .hero-title {
        font-size: 48px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .cart-drawer {
        width: 100%;
    }
}

/* --- Checkout Page --- */
.checkout-container {
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.checkout-form .form-group {
    margin-bottom: 20px;
}

.checkout-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.checkout-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.2s;
}

.checkout-form input:focus {
    border-color: black;
    outline: none;
}

.promo-input {
    display: flex;
    gap: 10px;
}

.apply-btn {
    background: black;
    color: white;
    padding: 0 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.payment-info {
    margin: 30px 0;
    padding: 20px;
    background: var(--color-grey-light);
    border: 1px solid #ddd;
    text-align: center;
    font-weight: 600;
}

.order-summary {
    background: var(--color-grey-light);
    padding: 40px;
    height: fit-content;
}

.order-summary h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid black;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        padding-top: 20px;
    }
}