/* ============================================
   HEADER 2 — VELVET GLASS
   ============================================ */

/* --- Announcement Bar --- */
.velvet-announcement {
    background: var(--awb-primary, #d81b60);
    color: #fff;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-family: var(--awb-ui-font, Inter), sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.velvet-announcement__track {
    display: flex;
    align-items: center;
    animation: velvet-marquee 20s linear infinite;
}

.velvet-announcement__item {
    padding: 0 16px;
}

.velvet-announcement__sep {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
}

@keyframes velvet-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Header --- */
.velvet-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #FFF8FB 0%, #F8EEF3 50%, #FFF8FB 100%);
    border-bottom: 1px solid var(--awb-border, #e3bdc3);
    transition: all 0.3s ease;
    padding: 6px 0;
}

.velvet-header--compact {
    padding: 2px 0;
}

.velvet-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--awb-max-width, 1280px);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Logo --- */
.velvet-header__logo {
    font-family: var(--awb-heading-font, 'Playfair Display'), serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--awb-primary, #d81b60);
    text-decoration: none;
    text-transform: uppercase;
    flex-shrink: 0;
}

.velvet-header__logo:hover {
    color: var(--awb-primary, #d81b60);
}

.velvet-header__logo img.custom-logo {
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

.velvet-header__logo-text {
    display: block;
    line-height: 1;
}

/* --- Menu Trigger (Mobile) --- */
.velvet-header__menu-trigger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 8px;
    cursor: pointer;
}

.velvet-header__menu-trigger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--awb-text, #1c1c1c);
    border-radius: 2px;
    transition: all 0.3s;
}

/* --- Nav --- */
.velvet-header__nav {
    display: flex;
    align-items: center;
}

.velvet-header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.velvet-header__menu > li {
    position: relative;
}

.velvet-header__menu > li > a {
    display: block;
    font-family: var(--awb-ui-font, Inter), sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--awb-text, #1c1c1c);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.velvet-header__menu > li.current-menu-item > a,
.velvet-header__menu > li.current_page_item > a,
.velvet-header__menu > li > a:hover {
    color: var(--awb-primary, #d81b60);
    border-bottom-color: var(--awb-primary, #d81b60);
}

/* --- Submenu --- */
.velvet-header__menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-bottom: 2px;
    transition: transform 0.2s;
}

.velvet-header__menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(227, 189, 195, 0.3);
    border-radius: 0;
    box-shadow: 0 10px 40px -10px rgba(216, 27, 96, 0.1);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 999;
}

.velvet-header__menu > li:hover > ul.sub-menu,
.velvet-header__menu > li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.velvet-header__menu ul.sub-menu li {
    padding: 0;
}

.velvet-header__menu ul.sub-menu li a {
    display: block;
    padding: 8px 20px;
    font-family: var(--awb-ui-font, Inter), sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--awb-text, #1c1c1c);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s;
}

.velvet-header__menu ul.sub-menu li a:hover {
    background: rgba(216, 27, 96, 0.05);
    color: var(--awb-primary, #d81b60);
}

/* --- Actions (icons) --- */
.velvet-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.velvet-header__action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    color: var(--awb-text, #1c1c1c);
    text-decoration: none;
    transition: color 0.2s;
}

.velvet-header__action:hover {
    color: var(--awb-primary, #d81b60);
}

.velvet-header__action .hicn {
    width: 20px;
    height: 20px;
    display: block;
}

.velvet-header__count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--awb-primary, #d81b60);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
    .velvet-header__nav {
        display: none;
    }

    .velvet-header__menu-trigger {
        display: flex;
    }

    .velvet-header__inner {
        padding: 0 16px;
    }

    .velvet-header__logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .velvet-header__logo img.custom-logo {
        max-height: 40px !important;
    }

    .velvet-header {
        padding: 6px 0;
    }
}

@media screen and (max-width: 768px) {
    .velvet-header__menu-trigger {
        margin-left: -32px;
    }

    .velvet-header__logo {
        font-size: 22px;
    }

    .velvet-header__logo img.custom-logo {
        max-height: 30px !important;
    }

    .velvet-header__action {
        width: 24px;
        height: 24px;
    }

    .velvet-header__action .hicn {
        width: 18px;
        height: 18px;
    }

    .velvet-header__count {
        top: -2px;
        right: -2px;
        width: 13px;
        height: 13px;
        font-size: 7px;
    }

    .velvet-announcement {
        height: 34px;
        font-size: 10px;
    }
}
