/**
 * MERCI COFFEE — HEADER / SALON MASTHEAD
 */

.mc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--mc-header-h);
    background: rgba(6, 59, 71, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mc-gold-hairline);
    box-shadow: 0 4px 20px rgba(3, 37, 46, 0.4);
    z-index: 1000;
    transition: transform var(--mc-transition-fast), background var(--mc-transition-fast);
}

.mc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

/* Brand Identity */
.mc-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--mc-gold-bright);
}

.mc-header__crest-img {
    width: 38px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(200, 164, 93, 0.4));
    transition: transform var(--mc-transition-fast);
}

.mc-header__brand:hover .mc-header__crest-img {
    transform: scale(1.08);
}

.mc-header__titles {
    display: flex;
    flex-direction: column;
}

.mc-header__wordmark {
    font-family: var(--mc-font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--mc-gold-bright);
}

.mc-header__submark {
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--mc-gold);
    opacity: 0.85;
    font-family: var(--mc-font-display);
}

/* Table Pill */
.mc-header__table-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--mc-radius-pill);
    background: rgba(56, 35, 31, 0.8);
    border: 1px solid var(--mc-gold);
    color: var(--mc-gold-light);
    font-size: 0.82rem;
    font-weight: 500;
    box-shadow: 0 0 12px rgba(200, 164, 93, 0.25);
}

.mc-header__table-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

/* Desktop Navigation */
.mc-header__nav {
    display: none;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 860px) {
    .mc-header__nav {
        display: flex;
    }
}

.mc-header__link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--mc-text-light);
    opacity: 0.85;
    padding: 6px 4px;
    position: relative;
    transition: color var(--mc-transition-fast), opacity var(--mc-transition-fast);
}

.mc-header__link:hover,
.mc-header__link.is-active {
    color: var(--mc-gold-bright);
    opacity: 1;
}

.mc-header__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mc-gold), transparent);
    opacity: 0;
    transform: scaleX(0.5);
    transition: all var(--mc-transition-fast);
}

.mc-header__link:hover::after,
.mc-header__link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Actions */
.mc-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-header__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--mc-radius-md);
    background: rgba(7, 85, 101, 0.4);
    border: 1px solid var(--mc-gold-hairline);
    color: var(--mc-gold-light);
    cursor: pointer;
    transition: all var(--mc-transition-fast);
    position: relative;
}

.mc-header__action-btn:hover {
    background: rgba(200, 164, 93, 0.18);
    border-color: var(--mc-gold);
    color: var(--mc-gold-bright);
}

.mc-header__cart-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: linear-gradient(135deg, var(--mc-rose), var(--mc-rose-deep));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1px solid var(--mc-gold-light);
}

