/**
 * BienHabillé - Header Desktop CSS
 * 
 * Styles DESKTOP uniquement (>= 992px)
 */

/* ============================================== */
/* HIDE ON MOBILE */
/* ============================================== */
.bh-header-desktop { display: block; }

@media (max-width: 991px) {
    .bh-header-desktop { display: none !important; }
}

/* ============================================== */
/* TOPBAR (Announcement) */
/* ============================================== */
.bhd-topbar {
    position: relative;
    overflow: hidden;
    padding: 10px 50px 10px 0;
    font-size: 13px;
}

.bhd-topbar__track {
    display: flex;
    width: max-content;
}

.bhd-topbar__scroll {
    display: flex;
    animation: bhd-scroll linear infinite;
}

.bhd-topbar__text {
    white-space: nowrap;
    padding: 0 60px;
}

@keyframes bhd-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.bhd-topbar__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
}
.bhd-topbar__close:hover { opacity: 1; }

/* ============================================== */
/* LOGO */
/* ============================================== */
.bhd-logo {
    padding: 20px 0;
    text-align: center;
}

.bhd-logo a {
    display: inline-block;
    text-decoration: none;
}

.bhd-logo__img {
    max-height: 50px;
    width: auto;
    display: block;
}

.bhd-logo__text {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: #1d2327;
}

/* ============================================== */
/* MAIN BAR */
/* ============================================== */
.bhd-mainbar {
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.bhd-mainbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* HOMME */
.bhd-mainbar__left { flex-shrink: 0; }

.bhd-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.bhd-brand__title {
    font-size: 16px;
    font-weight: 700;
    color: #1d2327;
    letter-spacing: 0.02em;
}

.bhd-brand__tagline {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
    margin-top: 2px;
}

/* SEARCH */
.bhd-mainbar__center {
    flex: 1;
    max-width: 550px;
}

.bhd-search {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 100px;
    padding: 0 20px;
    height: 48px;
}

.bhd-search:focus-within {
    box-shadow: 0 0 0 2px #1d2327;
}

.bhd-search__icon {
    color: #9ca3af;
    margin-right: 12px;
}

.bhd-search__input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #1d2327;
    outline: none;
}

.bhd-search__input::placeholder { color: #9ca3af; }

/* ICONS */
.bhd-mainbar__right { flex-shrink: 0; }

.bhd-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bhd-icons__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #1d2327;
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.2s;
}

.bhd-icons__item:hover { background: #f3f4f6; }

.bhd-icons__dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
}

.bhd-icons__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    border-radius: 100px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.bhd-icons__badge.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================== */
/* CONTAINER */
/* ============================================== */
.bh-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================== */
/* UTILITIES */
/* ============================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: #1d2327;
    color: #fff;
    z-index: 9999;
}
.skip-link:focus { top: 10px; }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}