/**
 * AliPearl Header Styles
 * Matches https://www.alipearlhair.com/ exactly
 * Primary color: #ff1c9d
 */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Theme Tokens)
   ========================================================================== */
:root {
    --alipearl-primary: #ff1c9d;
    --alipearl-primary-hover: #e6007e;
    --alipearl-primary-light: #fff0f6;
    --alipearl-secondary: #1a1a1a;
    --alipearl-text: #333333;
    --alipearl-text-light: #888888;
    --alipearl-bg: #ffffff;
    --alipearl-bg-light: #f9f9f9;
    --alipearl-border: #eeeeee;
    --alipearl-radius: 8px;
    --alipearl-radius-sm: 4px;
    --alipearl-radius-lg: 12px;
    --alipearl-radius-xl: 20px;
    --alipearl-radius-full: 9999px;
    --alipearl-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --alipearl-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --alipearl-transition: all 0.3s ease;
    --alipearl-transition-fast: all 0.15s ease;
    --alipearl-font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --alipearl-font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --alipearl-container-max: 1440px;
    --alipearl-container-padding: 0 30px;
}

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

.header-top-banner-box,
.websit-header {
    font-family: var(--alipearl-font-main);
    color: var(--alipearl-text);
    background: var(--alipearl-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header-top-banner-box img,
.websit-header img {
    max-width: 100%;
    height: auto;
    display: block;
}

.header-top-banner-box a,
.websit-header a {
    text-decoration: none;
    color: inherit;
}

.header-top-banner-box button,
.websit-header button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================================================
   TOP PROMOTIONAL BANNER - header-top-banner-box
   Pink gradient banner at the very top of the page
   ========================================================================== */
.header-top-banner-box {
    background: linear-gradient(135deg, #ff1c9d 0%, #ff6b6b 100%);
    color: #ffffff;
    text-align: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1001;
}

.header-top-banner-box a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.header-top-banner-box a:hover {
    opacity: 0.85;
}

.header-top-banner-box strong {
    font-weight: 800;
    color: #ffffff;
}

/* ==========================================================================
   MAIN HEADER - websit-header
   White background, sticky positioning, z-index 1000
   ========================================================================== */
.websit-header {
    background: var(--alipearl-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--alipearl-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   HEADER TOP ROW - websit-header-top
   Max-width 1440px, flex layout, align center, gap 20px, padding 14px 30px
   ========================================================================== */
.websit-header-top {
    max-width: var(--alipearl-container-max);
    margin: 0 auto;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* ==========================================================================
   LOGO - websit-header-logo
   Font-size 28px, font-weight 800, color #ff1c9d
   ========================================================================== */
.websit-header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.websit-header-logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--alipearl-primary);
    font-family: var(--alipearl-font-display);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.websit-header-logo a:hover {
    color: var(--alipearl-primary-hover);
    transform: scale(1.02);
}

.websit-header-logo img {
    height: 44px;
    width: auto;
}

/* ==========================================================================
   SEARCH BAR - websit-header-search
   Flex 1, max-width 560px
   ========================================================================== */
.websit-header-search {
    flex: 1;
    max-width: 560px;
}

.websit-header-search form {
    display: flex;
    border: 2px solid var(--alipearl-primary);
    border-radius: 50px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    background: var(--alipearl-bg);
}

.websit-header-search form:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 28, 157, 0.15);
    border-color: var(--alipearl-primary);
}

.websit-header-search select {
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 13px;
    font-family: var(--alipearl-font-main);
    color: var(--alipearl-text);
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    border-right: 1px solid var(--alipearl-border);
    min-width: 120px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.websit-header-search select:focus {
    background-color: var(--alipearl-bg-light);
}

.websit-header-search input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 14px;
    font-family: var(--alipearl-font-main);
    color: var(--alipearl-text);
    background: transparent;
    min-width: 0;
}

.websit-header-search input[type="search"]::placeholder {
    color: var(--alipearl-text-light);
}

.websit-header-search button[type="submit"] {
    padding: 10px 20px;
    background: var(--alipearl-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.websit-header-search button[type="submit"]:hover {
    background: var(--alipearl-primary-hover);
}

/* ==========================================================================
   HEADER ACTIONS - websit-header-actions
   Flex, gap 22px
   ========================================================================== */
.websit-header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.websit-header-actions a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--alipearl-secondary);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 6px;
    position: relative;
}

.websit-header-actions a:hover {
    color: var(--alipearl-primary);
    transform: translateY(-1px);
}

.websit-header-actions a svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ==========================================================================
   CART LINK - websit-header-cart
   Relative position for badge
   ========================================================================== */
.websit-header-cart {
    position: relative;
    display: flex;
    align-items: center;
}

.websit-header-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 6px;
    color: var(--alipearl-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.websit-header-cart-link:hover {
    color: var(--alipearl-primary);
}

.websit-header-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--alipearl-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
}

.websit-header-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--alipearl-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--alipearl-bg);
}

/* ==========================================================================
   ACCOUNT LINK
   ========================================================================== */
.websit-header-account {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    color: var(--alipearl-secondary);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    font-size: 14px;
    font-weight: 600;
}

.websit-header-account:hover {
    color: var(--alipearl-primary);
    transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE - 1280px
   ========================================================================== */
@media (max-width: 1280px) {
    :root {
        --alipearl-container-padding: 0 24px;
    }

    .websit-header-logo a {
        font-size: 26px;
    }

    .websit-header-search {
        max-width: 480px;
    }

    .websit-header-search select {
        min-width: 100px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .websit-header-search input[type="search"] {
        padding: 8px 12px;
        font-size: 13px;
    }

    .websit-header-search button[type="submit"] {
        padding: 8px 16px;
    }
}

/* ==========================================================================
   RESPONSIVE - 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .websit-header-top {
        padding: 12px 24px;
        gap: 16px;
    }

    .websit-header-logo a {
        font-size: 24px;
    }

    .websit-header-search {
        max-width: 400px;
    }

    .websit-header-actions {
        gap: 18px;
    }

    .websit-header-actions a {
        font-size: 13px;
    }

    .websit-header-search select {
        display: none;
    }

    .websit-header-search input[type="search"] {
        padding: 10px 16px;
    }
}

/* ==========================================================================
   RESPONSIVE - 768px
   ========================================================================== */
@media (max-width: 768px) {
    .header-top-banner-box {
        font-size: 12px;
        padding: 7px 16px;
    }

    .websit-header-top {
        padding: 10px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .websit-header-logo {
        order: 1;
        flex: 1;
    }

    .websit-header-logo a {
        font-size: 22px;
    }

    .websit-header-actions {
        order: 2;
        gap: 14px;
    }

    .websit-header-search {
        order: 3;
        flex: 100%;
        max-width: 100%;
    }

    .websit-header-search form {
        border-radius: 50px;
    }

    .websit-header-search input[type="search"] {
        padding: 10px 14px;
    }

    .websit-header-search button[type="submit"] {
        padding: 10px 14px;
    }
}

/* ==========================================================================
   RESPONSIVE - 480px
   ========================================================================== */
@media (max-width: 480px) {
    .header-top-banner-box {
        font-size: 11px;
        padding: 6px 12px;
    }

    .websit-header-top {
        padding: 8px 12px;
        gap: 10px;
    }

    .websit-header-logo a {
        font-size: 20px;
    }

    .websit-header-actions {
        gap: 12px;
    }

    .websit-header-actions a {
        font-size: 12px;
    }

    .websit-header-actions a svg {
        width: 20px;
        height: 20px;
    }

    .websit-header-search input[type="search"] {
        padding: 9px 12px;
        font-size: 13px;
    }

    .websit-header-search button[type="submit"] {
        padding: 9px 12px;
        font-size: 14px;
    }
}

/* ==========================================================================
   RESPONSIVE - 375px (Small phones)
   ========================================================================== */
@media (max-width: 375px) {
    .header-top-banner-box {
        font-size: 10px;
        padding: 5px 10px;
    }

    .websit-header-top {
        padding: 8px 10px;
        gap: 8px;
    }

    .websit-header-logo a {
        font-size: 18px;
    }

    .websit-header-actions {
        gap: 10px;
    }

    .websit-header-actions a {
        font-size: 11px;
        padding: 4px;
    }

    .websit-header-actions a svg {
        width: 18px;
        height: 18px;
    }

    .websit-header-search input[type="search"] {
        padding: 8px 10px;
        font-size: 12px;
    }

    .websit-header-search button[type="submit"] {
        padding: 8px 10px;
    }
}

/* ==========================================================================
   LARGE DISPLAY (4K / 2560px+)
   ========================================================================== */
@media (min-width: 2560px) {
    :root {
        --alipearl-container-max: 1600px;
        --alipearl-container-padding: 0 48px;
    }

    .websit-header-logo a {
        font-size: 32px;
    }

    .websit-header-search {
        max-width: 640px;
    }

    .websit-header-search input[type="search"] {
        font-size: 15px;
        padding: 12px 20px;
    }

    .websit-header-actions a {
        font-size: 15px;
    }
}

/* ==========================================================================
   ACCESSIBILITY - FOCUS STATES
   ========================================================================== */
.header-top-banner-box a:focus-visible,
.websit-header a:focus-visible,
.websit-header button:focus-visible {
    outline: 2px solid var(--alipearl-primary);
    outline-offset: 2px;
}

.websit-header-search input[type="search"]:focus {
    outline: none;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .header-top-banner-box *,
    .websit-header *,
    .websit-header *::before,
    .websit-header *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */
@media (prefers-contrast: high) {
    .header-top-banner-box {
        background: #000000;
        color: #ffffff;
    }

    .websit-header {
        border-bottom: 2px solid #000000;
    }

    .websit-header-search form {
        border-width: 3px;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .header-top-banner-box,
    .websit-header {
        display: none !important;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.alipearl-header-logo-text {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */
.websit-header ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.websit-header ::-webkit-scrollbar-track {
    background: transparent;
}

.websit-header ::-webkit-scrollbar-thumb {
    background: rgba(255, 28, 157, 0.3);
    border-radius: 3px;
}

.websit-header ::-webkit-scrollbar-thumb:hover {
    background: var(--alipearl-primary);
}

/* ==========================================================================
   ADDITIONAL HEADER COMPONENTS
   ========================================================================== */

/* Search dropdown suggestions */
.websit-header-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--alipearl-border);
    border-radius: var(--alipearl-radius-lg);
    box-shadow: var(--alipearl-shadow-hover);
    z-index: 1000;
    margin-top: 4px;
    overflow: hidden;
    display: none;
}

.websit-header-search-suggestions.is-open {
    display: block;
}

.websit-header-search-suggestion {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--alipearl-text);
    text-decoration: none;
    transition: background 0.15s ease;
}

.websit-header-search-suggestion:hover {
    background: var(--alipearl-bg-light);
    color: var(--alipearl-primary);
}

/* Wishlist icon */
.websit-header-wishlist {
    display: flex;
    align-items: center;
    padding: 6px;
    color: var(--alipearl-secondary);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.websit-header-wishlist:hover {
    color: var(--alipearl-primary);
    transform: translateY(-1px);
}

/* Compare icon */
.websit-header-compare {
    display: flex;
    align-items: center;
    padding: 6px;
    color: var(--alipearl-secondary);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.websit-header-compare:hover {
    color: var(--alipearl-primary);
    transform: translateY(-1px);
}

/* Help / Support link */
.websit-header-help {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--alipearl-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 6px;
}

.websit-header-help:hover {
    color: var(--alipearl-primary);
}

/* Currency / Language selector */
.websit-header-locale {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--alipearl-secondary);
    text-decoration: none;
    border: 1px solid var(--alipearl-border);
    border-radius: var(--alipearl-radius);
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
}

.websit-header-locale:hover {
    border-color: var(--alipearl-primary);
    color: var(--alipearl-primary);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes alipearl-header-slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alipearl-header-slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.websit-header.is-sticky {
    animation: alipearl-header-slideDown 0.3s ease forwards;
}

/* ==========================================================================
   HOVER EFFECTS
   ========================================================================== */
.websit-header-logo a::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--alipearl-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    margin-top: 2px;
}

.websit-header-logo a:hover::after {
    transform: scaleX(1);
}

/* ==========================================================================
   CART DRAWER / MINI CART
   ========================================================================== */
.websit-header-minicart {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    background: #ffffff;
    border: 1px solid var(--alipearl-border);
    border-radius: var(--alipearl-radius-lg);
    box-shadow: var(--alipearl-shadow-hover);
    z-index: 1000;
    margin-top: 8px;
    display: none;
    flex-direction: column;
}

.websit-header-minicart.is-open {
    display: flex;
    animation: alipearl-header-slideDown 0.2s ease forwards;
}

.websit-header-minicart-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--alipearl-border);
    font-size: 16px;
    font-weight: 700;
    color: var(--alipearl-secondary);
}

.websit-header-minicart-items {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    padding: 16px 20px;
}

.websit-header-minicart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--alipearl-border);
}

.websit-header-minicart-item:last-child {
    border-bottom: none;
}

.websit-header-minicart-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--alipearl-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--alipearl-bg-light);
}

.websit-header-minicart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.websit-header-minicart-item-details {
    flex: 1;
    min-width: 0;
}

.websit-header-minicart-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--alipearl-secondary);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.websit-header-minicart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--alipearl-primary);
}

.websit-header-minicart-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--alipearl-border);
    background: var(--alipearl-bg-light);
    border-radius: 0 0 var(--alipearl-radius-lg) var(--alipearl-radius-lg);
}

.websit-header-minicart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--alipearl-secondary);
}

.websit-header-minicart-checkout {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: var(--alipearl-primary);
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--alipearl-radius);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.websit-header-minicart-checkout:hover {
    background: var(--alipearl-primary-hover);
    transform: translateY(-1px);
}

/* Empty cart state */
.websit-header-minicart-empty {
    text-align: center;
    padding: 40px 20px;
}

.websit-header-minicart-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.websit-header-minicart-empty-text {
    font-size: 14px;
    color: var(--alipearl-text-light);
    margin-bottom: 16px;
}

.websit-header-minicart-empty-link {
    display: inline-block;
    padding: 10px 24px;
    background: var(--alipearl-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--alipearl-radius);
    text-decoration: none;
    transition: background 0.2s ease;
}

.websit-header-minicart-empty-link:hover {
    background: var(--alipearl-primary-hover);
}

/* ==========================================================================
   RESPONSIVE TWEAKS FOR MINICART
   ========================================================================== */
@media (max-width: 480px) {
    .websit-header-minicart {
        width: 100%;
        right: -10px;
        left: -10px;
        border-radius: var(--alipearl-radius-lg) var(--alipearl-radius-lg) 0 0;
    }
}

/* ==========================================================================
   MOBILE MENU TRIGGER
   ========================================================================== */
.websit-header-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
    flex-shrink: 0;
}

.websit-header-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--alipearl-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.websit-header-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.websit-header-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.websit-header-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .websit-header-menu-toggle {
        display: flex;
    }
}

/* ==========================================================================
   SEARCH OVERLAY (Full-screen search)
   ========================================================================== */
.websit-header-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
}

.websit-header-search-overlay.is-open {
    display: flex;
    animation: alipearl-fadeIn 0.2s ease forwards;
}

.websit-header-search-overlay-form {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.websit-header-search-overlay-input {
    width: 100%;
    padding: 16px 24px;
    font-size: 20px;
    font-family: var(--alipearl-font-main);
    border: 2px solid var(--alipearl-border);
    border-radius: 50px;
    outline: none;
    transition: border-color 0.2s ease;
}

.websit-header-search-overlay-input:focus {
    border-color: var(--alipearl-primary);
}

.websit-header-search-overlay-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--alipearl-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 24px;
    color: var(--alipearl-secondary);
    transition: background 0.2s ease;
}

.websit-header-search-overlay-close:hover {
    background: var(--alipearl-primary-light);
    color: var(--alipearl-primary);
}

/* ==========================================================================
   FINAL RESPONSIVE TWEAKS
   ========================================================================== */
@media (min-width: 1920px) {
    :root {
        --alipearl-container-max: 1600px;
    }

    .websit-header-logo a {
        font-size: 30px;
    }

    .websit-header-search {
        max-width: 640px;
    }
}
