/* ============================================================
   Scoped styles for the Header pattern.
   ALL rules are prefixed with .is-style-header-sitewide
   ============================================================ */

.is-style-header-sitewide {
    width: 100%;
    background: #ffffff;
}

.is-style-header-sitewide .header-top-banner {
    background: #EDFAFF;
    border-bottom: 1px solid rgba(9, 129, 159, 0.1);
}

.is-style-header-sitewide .header-top-inner {
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.is-style-header-sitewide .header-top-banner p {
    margin: 0;
    color: #FF0000;
    font-size: 13px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.is-style-header-sitewide .header-main-bar {
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.is-style-header-sitewide .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.is-style-header-sitewide .logo-img {
    height: 43px;
    width: auto;
    display: block;
}

.is-style-header-sitewide .header-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.is-style-header-sitewide .header-navigation a {
    color: rgba(18, 28, 33, 0.75);
    text-decoration: none;
    font-size: 16px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    transition: color 0.2s ease;
}

.is-style-header-sitewide .header-navigation a:hover {
    color: #09819F;
}

.is-style-header-sitewide .header-navigation a.is-active {
    color: #09819F;
    font-weight: 700;
}

.is-style-header-sitewide .header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.is-style-header-sitewide .action-icon {
    color: #121C21;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: color 0.2s ease;
}

.is-style-header-sitewide .action-icon:hover {
    color: #09819F;
}

.is-style-header-sitewide .cart-badge-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #09819F;
    color: #ffffff;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-style-header-sitewide .btn-wholesale-pricing {
    background: #09819F;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 6.8px;
    font-size: 16px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0px 2px 4px rgba(18, 28, 33, 0.04);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.is-style-header-sitewide .btn-wholesale-pricing:hover {
    background: #071820;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .is-style-header-sitewide .header-navigation {
        display: none;
    }
}

@media (max-width: 768px) {
    .is-style-header-sitewide .header-top-banner {
        flex-direction: column;
        padding: 8px 20px;
        gap: 6px;
        text-align: center;
    }
    .is-style-header-sitewide .header-top-banner p {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    .is-style-header-sitewide .header-main-bar {
        padding: 12px 20px;
    }
    .is-style-header-sitewide .btn-wholesale-pricing {
        padding: 8px 16px;
        font-size: 14px;
    }
    .is-style-header-sitewide .header-actions {
        gap: 16px;
    }
}

/* Ensure the landing header remains sticky on scroll, even when nested under the wrapper group */
body.has-fixed-header header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
}
