/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --cyan: #00bfa5;
    --cyan-dark: #00a892;
    --black: #000;
    --white: #fff;
    --gray-light: #f5f5f5;
    --gray-mid: #e0e0e0;
    --gray-dark: #333;
    --text: #111;
    --text-muted: #666;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; color: var(--text); background: #fff; overflow-x: hidden; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* === TOP BANNER === */
.top-banner {
    background: var(--cyan);
    color: #000;
    text-align: center;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.banner-arrow {
    background: none; border: none; font-size: 1rem; cursor: pointer;
    font-weight: 900; color: #000; padding: 0 8px;
}

/* === NAVBAR === */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-box {
    background: #000;
    border-radius: 12px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-text { font-family: 'Anton', sans-serif; color: var(--cyan); font-size: 1.1rem; letter-spacing: 0.05em; }
.logo-sub { font-family: 'Anton', sans-serif; color: #fff; font-size: 0.65rem; letter-spacing: 0.2em; }

/* Nav links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    flex: 1;
    flex-wrap: wrap;
}
.nav-links li { position: relative; }
.nav-links a {
    padding: 8px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #111;
    white-space: nowrap;
    border-radius: 6px;
    transition: color 0.2s;
    display: block;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.promo-link { color: var(--cyan) !important; }

/* Dropdown */
.has-dropdown:hover .dropdown { display: flex; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 16px;
    min-width: 220px;
    z-index: 200;
}
.dropdown-main { list-style: none; }
.dropdown-main li { padding: 4px 0; }
.dropdown-main a {
    font-size: 0.82rem;
    color: #333;
    padding: 6px 8px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dropdown-main a:hover { color: var(--cyan); background: #f8f8f8; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-icon {
    background: none; border: none; font-size: 1.2rem; cursor: pointer;
    display: flex; align-items: center; gap: 4px; color: #111; font-family: inherit;
}
.cart-icon { position: relative; }
.cart-count {
    background: var(--cyan); color: #000; font-size: 0.7rem; font-weight: 700;
    border-radius: 999px; padding: 1px 6px; min-width: 18px; text-align: center;
}

/* === SEARCH BAR === */
.search-bar {
    display: none;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    padding: 12px 24px;
    position: relative;
}
.search-bar.open { display: block; }
.search-bar input {
    width: 100%; max-width: 600px; display: block; margin: 0 auto;
    padding: 12px 20px; border: 1px solid #ddd; border-radius: 999px;
    font-size: 0.95rem; font-family: inherit;
}
.search-results {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    width: 600px; max-width: 90vw; background: #fff; border: 1px solid #eee;
    border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 200; display: none;
}
.search-results.open { display: block; }
.search-result-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0; transition: background 0.15s; cursor: pointer;
}
.search-result-item:hover { background: #f8f8f8; }
.search-result-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }

/* === HERO === */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #0a4a6b 0%, #0e7490 50%, #06b6d4 100%);
    display: flex;
    align-items: flex-end;
    padding: 60px 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(0,191,165,0.25) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: #fff;
    line-height: 1;
    max-width: 600px;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.3);
}
.hero-cta {
    display: inline-block;
    margin-top: 24px;
    background: #fff;
    color: #000;
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding: 14px 32px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}
.hero-cta:hover { background: var(--cyan); color: #000; }

/* === TRUST BAR === */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 20px;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; }

/* === SECTIONS === */
.products-section {
    max-width: 1400px;
    margin: 64px auto;
    padding: 0 24px;
}
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}
.section-title {
    font-family: 'Anton', sans-serif;
    font-size: 5rem;
    line-height: 0.9;
    color: #000;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #000;
    border-bottom: 3px solid var(--cyan);
    padding-bottom: 4px;
    margin-bottom: 32px;
}

/* === CAROUSEL === */
.products-carousel {
    position: relative;
    overflow: hidden;
}
.products-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.products-track::-webkit-scrollbar { display: none; }
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #000;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.carousel-btn:hover { background: var(--cyan); color: #000; }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }

/* === PRODUCT CARDS === */
.product-card {
    min-width: 260px;
    max-width: 300px;
    flex-shrink: 0;
    position: relative;
    background: #fff;
}
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-img-wrap {
    background: #f5f5f5;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 12px;
}
.product-img-wrap img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--cyan);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.05em;
    z-index: 2;
}
.product-name { font-weight: 700; font-size: 0.9rem; color: #111; margin-bottom: 6px; }
.product-price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.price-promo { color: var(--cyan); font-weight: 700; font-size: 0.9rem; }
.price-original { color: #999; font-size: 0.85rem; text-decoration: line-through; }
.price-normal { font-weight: 700; font-size: 0.95rem; color: #111; }
.product-stars { font-size: 0.8rem; color: #555; }

/* === BRANDS MARQUEE === */
.brands-marquee {
    overflow: hidden;
    background: #fff;
    padding: 24px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}
.marquee-track {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    align-items: center;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #333;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

/* Buttons */
.btn-outline {
    display: block;
    width: fit-content;
    margin: 32px auto 0;
    padding: 14px 40px;
    border: 2px solid #000;
    border-radius: 999px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: #000;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #000; color: #fff; }

/* === BOUTIQUE PAGE === */
.boutique-page {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
}
.filters-sidebar { }
.filters-sidebar h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #111;
}
.filter-group { margin-bottom: 32px; }
.filter-group h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #888; margin-bottom: 12px; }
.filter-group ul { list-style: none; }
.filter-group li a { display: block; padding: 6px 0; font-size: 0.9rem; color: #333; border-bottom: 1px solid #f0f0f0; transition: color 0.15s; }
.filter-group li a:hover, .filter-group li a.active { color: var(--cyan); font-weight: 600; }

.boutique-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.boutique-title { font-family: 'Anton', sans-serif; font-size: 2.5rem; color: #000; }
.sort-bar { display: flex; align-items: center; gap: 16px; }
.sort-select { padding: 8px 16px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 0.85rem; cursor: pointer; }
.results-count { color: #888; font-size: 0.85rem; }

.empty-state { text-align: center; padding: 64px; color: #888; }
.empty-state p { margin-bottom: 16px; font-size: 1.1rem; }

/* === PRODUCT DETAIL PAGE === */
.breadcrumb { max-width: 1400px; margin: 0 auto; padding: 16px 24px; font-size: 0.85rem; color: #888; }
.breadcrumb a:hover { color: var(--cyan); }

.product-detail {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.gallery-main { background: #f5f5f5; border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; }
.thumb { width: 80px; height: 80px; object-fit: contain; background: #f5f5f5; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.thumb.active, .thumb:hover { border-color: var(--cyan); }

.product-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.meta-reviews { font-size: 0.85rem; color: #888; }
.meta-badge { background: var(--cyan); color: #000; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.promo-notice { background: #f0fff8; border: 1px solid #00bfa520; color: var(--cyan); font-size: 0.85rem; font-weight: 600; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.detail-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.2rem; line-height: 1.1; margin-bottom: 8px; }
.detail-brand { font-size: 0.9rem; color: #666; margin-bottom: 10px; }
.detail-stars { margin-bottom: 16px; font-size: 0.9rem; color: #555; }
.detail-price { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.price-big { font-family: 'Anton', sans-serif; font-size: 2.2rem; color: #111; }
.price-old { font-size: 1.1rem; color: #999; text-decoration: line-through; }

.size-selector { margin-bottom: 24px; }
.size-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 10px; color: #555; }
.sizes-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
    min-width: 56px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px;
    background: #fff; font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: all 0.15s;
}
.size-btn:hover { border-color: #000; }
.size-btn.active { background: #000; color: #fff; border-color: #000; }

.quantity-row { margin-bottom: 20px; }
.qty-selector { display: flex; align-items: center; width: fit-content; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.qty-selector button { padding: 10px 16px; border: none; background: #f5f5f5; cursor: pointer; font-size: 1.1rem; font-weight: 700; transition: background 0.15s; }
.qty-selector button:hover { background: #e0e0e0; }
.qty-selector input { width: 56px; text-align: center; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; font-size: 1rem; font-family: inherit; padding: 10px 0; }

.btn-add-cart {
    width: 100%; padding: 18px; background: #111; color: #fff; border: none; border-radius: 12px;
    font-family: 'Anton', sans-serif; font-size: 1.1rem; letter-spacing: 0.08em; cursor: pointer;
    margin-bottom: 12px; transition: background 0.2s;
}
.btn-add-cart:hover { background: var(--cyan); color: #000; }
.btn-buy-now {
    width: 100%; padding: 18px; background: #fff; color: #111; border: 2px solid #111; border-radius: 12px;
    font-family: 'Anton', sans-serif; font-size: 1.1rem; letter-spacing: 0.08em; cursor: pointer;
    margin-bottom: 24px; transition: all 0.2s;
}
.btn-buy-now:hover { background: #111; color: #fff; }

.product-description { border-top: 1px solid #eee; padding-top: 20px; }
.product-description h3 { font-weight: 700; margin-bottom: 10px; }
.product-description p { font-size: 0.9rem; color: #555; line-height: 1.7; }

.related-section { max-width: 1400px; margin: 0 auto; padding: 0 24px 64px; }
.related-grid { grid-template-columns: repeat(4, 1fr); }

/* === FOOTER === */
.footer { background: #111; color: #ccc; padding: 48px 24px 24px; margin-top: 64px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: 'Anton', sans-serif; font-size: 1.5rem; color: var(--cyan); margin-bottom: 12px; }
.footer p { font-size: 0.9rem; color: #888; }
.footer h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 0.9rem; color: #888; transition: color 0.15s; }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid #222; padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: #555; }

/* === PLACEHOLDER SVG === */
.no-img-placeholder { width: 100%; aspect-ratio: 1; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 2rem; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 3rem; }
    .boutique-page { grid-template-columns: 1fr; }
    .filters-sidebar { display: none; }
    .product-detail { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === VARIANT SELECTORS (couleurs & tailles) === */
.variant-selector { margin-bottom: 20px; }
.variant-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 10px; color: #555; }
.variant-label strong { color: #00bfa5; }

.colors-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.color-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 3px solid transparent;
    cursor: pointer; position: relative; transition: all .15s; flex-shrink: 0;
}
.color-btn:hover { transform: scale(1.1); }
.color-btn.active { border-color: #00bfa5; box-shadow: 0 0 0 2px #00bfa5; transform: scale(1.1); }
.color-btn.active::after {
    content: '✓'; position: absolute; inset: 0; display: flex; align-items: center;
    justify-content: center; font-size: 14px; font-weight: 900; color: rgba(255,255,255,0.9);
}
