/* =========================================================
   ===== HOME BOUTIQUE — header e-commerce, search, panier =
   ========================================================= */

/* Topbar boutique : 3 messages à gauche, hotline à droite */
.topbar {
    background: var(--c-deep);
    color: rgba(255, 255, 255, .92);
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.topbar-left {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}
.topbar-left span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.topbar-left .pin {
    color: var(--c-yellow);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .04em;
}
.topbar-trust {
    display: flex;
    gap: 18px;
    align-items: center;
}
.topbar-trust a {
    color: var(--c-yellow);
    font-weight: 600;
    text-decoration: none;
}

/* ===== HEADER BOUTIQUE ===== */
header.site {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--c-line);
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 1px 0 rgba(11, 31, 58, .04);
}
.header-shop {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}
.logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.logo-wrap img {
    height: 56px;
    width: auto;
    display: block;
}

/* Search bar centrale */
.header-search {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}
.header-search input {
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--c-line);
    border-radius: 999px;
    padding: 0 56px 0 22px;
    font-size: 15px;
    color: var(--c-ink);
    background: var(--c-bg);
    transition: all .25s var(--easing);
}
.header-search input::placeholder {
    color: var(--c-ink-soft);
}
.header-search input:focus {
    outline: none;
    border-color: var(--c-deep);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 31, 58, .07);
}
.header-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--c-deep);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .25s ease;
}
.header-search button:hover { background: var(--c-accent); }

/* Actions à droite : compte, wishlist, panier */
.header-actions-shop {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-icon-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: transparent;
    color: var(--c-deep);
    display: grid;
    place-items: center;
    transition: all .25s ease;
    text-decoration: none;
}
.header-icon-btn:hover {
    background: var(--c-bg);
    color: var(--c-accent);
}
.header-icon-btn .badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--c-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    font-family: 'JetBrains Mono', monospace;
}
.header-cta {
    margin-left: 6px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--c-accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s ease;
}
.header-cta:hover {
    background: var(--c-accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 138, 0, .35);
}
.header-cta svg { width: 14px; height: 14px; }

/* Sous-bandeau navigation catégories */
.header-nav {
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: 0;
}
.header-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
}
.header-nav-inner::-webkit-scrollbar { display: none; }
.header-nav-inner a {
    flex-shrink: 0;
    padding: 12px 18px;
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all .2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.header-nav-inner a:hover {
    background: var(--c-bg);
    color: var(--c-deep);
}
.header-nav-inner a.active {
    color: var(--c-accent);
    font-weight: 600;
}
.header-nav-inner a.cta {
    background: var(--c-yellow);
    color: var(--c-deep);
    font-weight: 700;
    margin-left: auto;
}
.header-nav-inner a.cta:hover {
    background: var(--c-accent);
    color: #fff;
}

/* ===== QUICK CATEGORIES STRIP ===== */
.cat-strip {
    background: var(--c-bg);
    padding: 56px 0 36px;
    border-bottom: 1px solid var(--c-line);
}
.cat-strip-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px;
    gap: 24px;
}
.cat-strip-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    color: var(--c-deep);
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0;
}
.cat-strip-head a {
    color: var(--c-accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cat-strip-head a:hover { text-decoration: underline; }
.cat-strip-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 14px;
}
.cat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 10px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--c-line);
    text-decoration: none;
    color: var(--c-ink);
    transition: all .3s var(--easing);
    text-align: center;
}
.cat-pill:hover {
    border-color: var(--c-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(11, 31, 58, .08);
}
.cat-pill .pic {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c-bg);
    overflow: hidden;
    display: grid;
    place-items: center;
    transition: transform .4s var(--easing);
}
.cat-pill:hover .pic { transform: scale(1.05); }
.cat-pill .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-pill h3 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-deep);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -.01em;
}
.cat-pill .badge-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--c-accent);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: .04em;
    font-weight: 600;
}
.cat-pill { position: relative; }

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: linear-gradient(95deg, var(--c-deep), var(--c-steel));
    color: #fff;
    padding: 22px 0;
    overflow: hidden;
    position: relative;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 196, 0, .25), transparent 70%);
    transform: translateY(-50%);
}
.promo-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.promo-banner .pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--c-yellow);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.promo-banner h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 2.4vw, 28px);
    color: #fff;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
}
.promo-banner h3 em {
    color: var(--c-yellow);
    font-style: italic;
    font-weight: 500;
}
.promo-banner .cta-yellow {
    background: var(--c-yellow);
    color: var(--c-deep);
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s ease;
    flex-shrink: 0;
}
.promo-banner .cta-yellow:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 196, 0, .3);
}
.promo-banner .cta-yellow svg { width: 14px; height: 14px; }

.promo-countdown {
    display: flex;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
}
.promo-countdown .cd-cell {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
    min-width: 56px;
}
.promo-countdown .cd-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    line-height: 1;
}
.promo-countdown .cd-label {
    font-size: 10px;
    color: rgba(255, 255, 255, .6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ===== Footer logo image override ===== */
footer.site .logo-wrap img {
    height: 60px;
    filter: brightness(0) invert(1);
}

/* ===== RESPONSIVE BOUTIQUE ===== */
@media (max-width: 1100px) {
    .cat-strip-grid { grid-template-columns: repeat(5, 1fr); }
    .cat-strip-grid .cat-pill:nth-child(n+10) { display: none; }
    .header-shop { grid-template-columns: auto 1fr auto; gap: 18px; }
    .header-search { max-width: 360px; }
}

@media (max-width: 900px) {
    .topbar-trust { display: none; }
    .topbar-left { gap: 14px; font-size: 12px; }
    .header-shop { grid-template-columns: auto auto; gap: 14px; }
    .header-search { display: none; }
    .header-cta { display: none; }
    .cat-strip-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cat-strip-grid .cat-pill:nth-child(n+10) { display: none; }
    .promo-banner-inner { flex-direction: column; align-items: flex-start; }
    .promo-countdown { display: none; }
    .header-icon-btn { width: 40px; height: 40px; }
    .logo-wrap img { height: 44px; }
    .header-nav-inner { padding: 2px 0; }
    .header-nav-inner a { padding: 9px 12px; font-size: 13px; }
}

@media (max-width: 480px) {
    .topbar-left .item-2,
    .topbar-left .item-3 { display: none; }
    .cat-strip-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-pill { padding: 12px 6px 10px; }
    .cat-pill .pic { width: 48px; height: 48px; }
    .cat-pill h3 { font-size: 11px; }
}
