/* Header G shell — G1 desktop guest, G2 validated, G3 mobile drawer */

.dc-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--dc-space-2);
    font-family: var(--dc-font-display);
    font-weight: var(--dc-weight-extrabold);
    font-size: 1.375rem;
    letter-spacing: -0.025rem;
    color: var(--dc-pino);
    line-height: 1;
    text-decoration: none;
}

.dc-logo--negative {
    color: var(--dc-hueso);
}

.dc-logo__symbol {
    flex: 0 0 auto;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

.dc-logo__wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}

.dc-logo__deco {
    color: var(--dc-pino);
}

.dc-logo--negative .dc-logo__deco {
    color: var(--dc-hueso);
}

.dc-logo__accent {
    color: var(--dc-musgo);
}

.dc-logo--negative .dc-logo__accent {
    color: var(--dc-lima);
}

.dc-header__brand .dc-logo,
.dc-footer__brand .dc-logo {
    color: var(--dc-pino);
}

.dc-footer__brand .dc-logo {
    color: var(--dc-hueso);
}

.dc-header {
    background: var(--ab2b-surface);
    border-bottom: var(--dc-border-width) solid var(--ab2b-border);
}

.dc-header__topband {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ab2b-space-2);
    min-height: var(--dc-topband-height);
    padding: 0 var(--ab2b-space-4);
    background: var(--dc-bg-dark);
    color: var(--dc-text-inverse);
    font-size: 0.75rem;
    font-weight: var(--dc-weight-medium);
    text-align: center;
}

.dc-header__topband--g1,
.dc-header__topband--g2 {
    justify-content: stretch;
}

.dc-header__topband-spacer {
    flex: 0 0 13.75rem;
    max-width: 13.75rem;
}

.dc-header__topband-message {
    flex: 1 1 auto;
    text-align: center;
}

.dc-header__topband-message--full {
    display: none;
}

@media (min-width: 768px) {
    .dc-header__topband-message--compact {
        display: none;
    }

    .dc-header__topband-message--full {
        display: inline;
    }

    .dc-header__topband-spacer--desktop {
        display: block;
    }

    .dc-header__topband-link--desktop {
        display: block;
    }
}

.dc-header__topband-link {
    flex: 0 0 13.75rem;
    max-width: 13.75rem;
    text-align: right;
    font-size: 0.75rem;
    font-weight: var(--dc-weight-medium);
    color: var(--dc-hueso);
    text-decoration: underline;
}

.dc-header__topband a.dc-header__topband-link,
.dc-header__topband a.dc-header__topband-link:visited,
.dc-header__topband a.dc-header__topband-link:hover,
.dc-header__topband a.dc-header__topband-link:visited:hover,
.dc-header__topband a.dc-header__topband-link:focus-visible {
    color: var(--dc-hueso);
    text-decoration: underline;
}

.dc-header__nav-divider {
    width: 1px;
    height: 1.5rem;
    background: var(--dc-ceniza);
    flex: 0 0 auto;
}

.dc-header__bar--checkout {
    min-height: 4.75rem;
    gap: var(--dc-space-6);
}

.dc-header__checkout-secure {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--dc-space-2);
    margin: 0;
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-semibold);
    color: var(--dc-pino);
}

.dc-header__checkout-back {
    flex: 0 0 auto;
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-semibold);
    color: var(--dc-tinta);
    text-decoration: none;
    white-space: nowrap;
}

.dc-header__checkout-back:visited {
    color: var(--dc-tinta);
}

.dc-header__checkout-back:hover,
.dc-header__checkout-back:visited:hover {
    color: var(--dc-pino);
    text-decoration: underline;
}

.dc-header__text-link--muted {
    color: var(--dc-gris);
}

.dc-header__bar {
    display: flex;
    align-items: center;
    gap: var(--dc-space-6);
    padding-block: var(--ab2b-space-3);
}

.dc-header__bar-spacer {
    flex: 1 1 auto;
    min-width: 0;
    display: none;
}

.dc-header__bar-end {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--dc-space-4);
    flex: 0 0 auto;
    min-width: 0;
}

.dc-header__brand {
    display: inline-flex;
    text-decoration: none;
    flex: 0 0 auto;
    color: var(--dc-pino);
}

.dc-header__brand:visited,
.dc-header__brand:hover,
.dc-header__brand:visited:hover,
.dc-header__brand:focus-visible {
    color: var(--dc-pino);
    text-decoration: none;
}

.dc-header__brand:hover .dc-logo__deco {
    color: var(--dc-pino);
}

.dc-header__brand:hover .dc-logo__accent {
    color: var(--dc-musgo);
}

.dc-header__brand:hover .dc-logo--negative .dc-logo__deco {
    color: var(--dc-hueso);
}

.dc-header__brand:hover .dc-logo--negative .dc-logo__accent {
    color: var(--dc-lima);
}

.dc-header__search-combobox {
    position: relative;
    flex: 1 1 auto;
    display: none;
    min-width: 0;
}

.dc-header__search {
    display: flex;
    align-items: center;
    gap: var(--ab2b-space-2);
    min-height: var(--dc-control-height);
    padding: 0 0.875rem;
    background: var(--ab2b-surface);
    border: var(--dc-border-width) solid var(--ab2b-border);
    border-radius: var(--dc-radius-control);
    font-family: var(--ab2b-font-text);
    font-size: var(--dc-size-body-s);
    color: var(--ab2b-text);
}

.dc-header__search-combobox.is-open .dc-header__search,
.dc-header__search-combobox:focus-within .dc-header__search {
    border-color: var(--dc-musgo);
    box-shadow: var(--dc-ring-focus);
}

.dc-header__search-combobox.is-open .dc-header__search {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: var(--ab2b-border);
    box-shadow: none;
}

.dc-header__search-icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--ab2b-muted);
}

.dc-header__search-combobox.is-open .dc-header__search-icon,
.dc-header__search-combobox:focus-within .dc-header__search-icon {
    color: var(--dc-musgo);
}

.dc-header__search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: var(--dc-z-overlay);
    background: var(--ab2b-surface);
    border: var(--dc-border-width) solid var(--ab2b-border);
    border-top: 0;
    border-radius: 0 0 var(--dc-radius-card) var(--dc-radius-card);
    box-shadow: var(--dc-shadow-1);
    overflow: hidden;
}

.dc-header__search-option {
    display: flex;
    align-items: center;
    gap: var(--dc-space-3);
    min-height: 3.5rem;
    padding: 0 0.875rem;
    text-decoration: none;
    color: var(--ab2b-text);
    border-bottom: 1px solid var(--ab2b-border);
}

a.dc-header__search-option:visited {
    color: var(--ab2b-text);
}

.dc-header__search-option:hover,
.dc-header__search-option:focus-visible,
a.dc-header__search-option:visited:hover {
    background: var(--dc-hueso, var(--ab2b-surface-muted));
    color: var(--ab2b-text);
    text-decoration: none;
    outline: none;
}

.dc-header__search-option:hover .dc-header__search-ref,
a.dc-header__search-option:visited:hover .dc-header__search-ref {
    color: var(--ab2b-muted);
}

.dc-header__search-option:hover .dc-header__search-guest-lock,
a.dc-header__search-option:visited:hover .dc-header__search-guest-lock {
    color: var(--dc-musgo);
}

.dc-header__search-thumb {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--dc-radius-sm);
    border: 1px solid var(--ab2b-border);
    background: var(--dc-hueso, var(--ab2b-surface-muted));
    display: grid;
    place-items: center;
    overflow: hidden;
}

.dc-header__search-thumb-image,
.dc-header__search-thumb-symbol {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-header__search-thumb-symbol {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

.dc-header__search-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.dc-header__search-name {
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-medium);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dc-header__search-ref {
    font-size: 0.75rem;
    color: var(--ab2b-muted);
    font-variant-numeric: var(--dc-numeric-tabular);
}

.dc-header__search-meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1875rem;
}

.dc-header__search-price {
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-semibold);
    font-variant-numeric: var(--dc-numeric-tabular);
    white-space: nowrap;
}

.dc-header__search-guest-lock {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.375rem;
    max-width: 12.5rem;
    font-size: var(--dc-size-small);
    font-weight: var(--dc-weight-semibold);
    line-height: var(--dc-lh-h2);
    color: var(--dc-musgo);
    text-align: right;
    white-space: nowrap;
}

.dc-header__search-guest-lock svg {
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
}

.dc-header__search-view-all {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0 0.875rem;
    font-size: var(--dc-size-small);
    font-weight: var(--dc-weight-semibold);
    color: var(--ab2b-text);
    text-decoration: none;
}

a.dc-header__search-view-all:visited {
    color: var(--ab2b-text);
}

.dc-header__search-view-all:hover,
.dc-header__search-view-all:focus-visible,
a.dc-header__search-view-all:visited:hover {
    background: var(--dc-hueso, var(--ab2b-surface-muted));
    color: var(--ab2b-text);
    text-decoration: none;
    outline: none;
}

.dc-header__search-empty {
    padding: var(--dc-space-5) 0.875rem;
    font-size: var(--dc-size-body-s);
    color: var(--ab2b-muted);
}

body .dc-header .dc-header__megamenu {
    display: none;
}

.dc-header__nav {
    display: none;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--dc-space-6);
}

.dc-header__nav--session {
    gap: var(--dc-space-4);
}

.dc-header__action {
    display: inline-flex;
    align-items: center;
    gap: var(--ab2b-space-2);
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: var(--dc-space-2) var(--dc-space-1);
    font-family: var(--ab2b-font-text);
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-medium);
    color: var(--ab2b-text);
    position: relative;
    max-width: none;
}

.dc-header__action span {
    white-space: normal;
    text-align: left;
}

.dc-header__action.is-active {
    font-weight: var(--dc-weight-semibold);
    color: var(--dc-pino);
}

.dc-header__cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dc-header__cart-icon-wrap .dc-header__cart-badge:not(.dc-header__cart-badge--mobile) {
    position: absolute;
    top: -0.4375rem;
    right: -0.5625rem;
    min-width: 1.125rem;
    width: 1.125rem;
    height: 1.125rem;
    padding: 0;
    border-radius: var(--dc-radius-pill);
    background: var(--dc-lima);
    color: var(--dc-pino);
    font-size: var(--dc-size-caption);
    font-weight: var(--dc-weight-bold);
    display: grid;
    place-items: center;
    font-variant-numeric: var(--dc-numeric-tabular);
}

.dc-header__cart-badge {
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    border-radius: var(--dc-radius-pill);
    background: var(--ab2b-accent);
    color: var(--ab2b-on-accent);
    font-size: 0.75rem;
    font-weight: var(--dc-weight-semibold);
    display: inline-grid;
    place-items: center;
    font-variant-numeric: var(--dc-numeric-tabular);
}

.dc-header__cart-total {
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-semibold);
    font-variant-numeric: var(--dc-numeric-tabular);
    white-space: nowrap;
}

a.dc-header__action[data-dc-nav="cart"],
a.dc-header__action[data-dc-nav="cart"]:hover,
a.dc-header__action[data-dc-nav="cart"]:visited,
a.dc-header__action[data-dc-nav="cart"]:visited:hover,
a.dc-header__action[data-dc-nav="cart"]:focus-visible {
    text-decoration: none;
}

.dc-header__cta {
    padding: 0.625rem 1.125rem;
    height: auto;
}

.dc-header__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: var(--dc-space-2);
    color: var(--ab2b-text);
}

.dc-header__menu-toggle--bar {
    display: none;
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 0;
}

.dc-header__mobile-bar-end {
    display: none;
    align-items: center;
    gap: var(--dc-space-4);
    flex: 0 0 auto;
    margin-left: auto;
}

.dc-header__mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--dc-tinta);
    text-decoration: none;
}

.dc-header__mobile-action:visited {
    color: var(--dc-tinta);
}

.dc-header__mobile-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dc-header__cart-badge--mobile {
    position: absolute;
    top: -0.4375rem;
    right: -0.5625rem;
    min-width: 1.125rem;
    width: 1.125rem;
    height: 1.125rem;
    padding: 0;
    font-size: var(--dc-size-caption);
    font-weight: var(--dc-weight-bold);
    background: var(--dc-lima);
    color: var(--dc-pino);
}

.dc-header__cart-badge--tab {
    top: -0.375rem;
    right: calc(-1 * var(--dc-space-2));
}

.dc-header__mobile-search {
    display: none;
    background: var(--ab2b-surface);
    border-bottom: var(--dc-border-width) solid var(--ab2b-border);
}

.dc-header__mobile-search-field {
    padding: 0 var(--dc-space-4) var(--dc-space-3);
}

.dc-header__mobile-search-body {
    padding: var(--dc-space-4);
    background: var(--dc-hueso);
}

.dc-header__mobile-search-label {
    margin: 0 0 var(--dc-space-3);
    font-size: var(--dc-size-caption);
    letter-spacing: var(--dc-ls-caption);
    text-transform: uppercase;
    color: var(--dc-gris);
}

.dc-header__mobile-search-cats {
    display: flex;
    flex-direction: column;
    gap: var(--dc-space-3);
}

.dc-header__mobile-search-cat {
    font-size: var(--dc-size-body);
    color: var(--dc-tinta);
    text-decoration: none;
}

a.dc-header__mobile-search-cat:visited {
    color: var(--dc-tinta);
}

.dc-header__mobile-search-cat:hover,
a.dc-header__mobile-search-cat:visited:hover {
    color: var(--dc-pino);
}

.dc-header__mobile-search-guest-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: calc(var(--dc-z-overlay, 10) - 1);
    padding: var(--dc-space-4);
    padding-inline: max(var(--dc-space-4), env(safe-area-inset-left, 0px)) max(var(--dc-space-4), env(safe-area-inset-right, 0px));
    background: var(--dc-hueso);
}

.dc-header__mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--dc-z-overlay);
    display: none;
    pointer-events: none;
}

.dc-header__mobile-drawer.is-open {
    display: block;
    pointer-events: auto;
}

.dc-header__drawer-scrim {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background: var(--dc-scrim);
    cursor: pointer;
}

.dc-header__drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(20.75rem, 100%);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--dc-hueso);
    box-shadow: var(--dc-shadow-1);
}

.dc-header__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--dc-space-3);
    height: 3.75rem;
    min-height: 3.75rem;
    padding: 0 var(--dc-space-4);
    background: var(--ab2b-surface);
    border-bottom: var(--dc-border-width) solid var(--ab2b-border);
}

.dc-header__drawer-brand {
    display: inline-flex;
    text-decoration: none;
}

.dc-header__drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--dc-tinta);
}

.dc-header__drawer-body {
    flex: 1 1 auto;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: var(--dc-space-4);
    padding: var(--dc-space-4);
}

.dc-header__drawer-account-card {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.dc-header__drawer-account-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--dc-space-2);
    min-width: 0;
}

.dc-header__drawer-account-name {
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-semibold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--dc-tinta);
}

.dc-header__drawer-account-level {
    margin: 0;
    font-size: var(--dc-size-small);
    color: var(--dc-gris);
}

.dc-header__drawer-account-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dc-space-3) var(--dc-space-5);
}

.dc-header__drawer-account-link {
    font-size: var(--dc-size-body-s);
    color: var(--dc-musgo);
    text-decoration: none;
}

a.dc-header__drawer-account-link:visited {
    color: var(--dc-musgo);
}

.dc-header__drawer-account-link:hover,
.dc-header__drawer-account-link:focus-visible,
a.dc-header__drawer-account-link:visited:hover {
    color: var(--dc-pino);
    text-decoration: none;
}

.dc-header__drawer-accordion-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--dc-space-2);
    padding: 0.875rem var(--dc-space-1);
    border-bottom: var(--dc-border-width) solid var(--ab2b-border);
    font-size: var(--dc-size-body);
    font-weight: var(--dc-weight-medium);
    color: var(--dc-tinta);
    text-decoration: none;
}

.dc-header__drawer-accordion-label {
    min-width: 0;
}

.dc-header__drawer-accordion-chevron {
    flex-shrink: 0;
    color: var(--dc-gris);
}

a.dc-header__drawer-accordion-row:visited {
    color: var(--dc-tinta);
}

.dc-header__drawer-accordion-row:hover,
.dc-header__drawer-accordion-row:focus-visible,
a.dc-header__drawer-accordion-row:visited:hover {
    color: var(--dc-pino);
    text-decoration: none;
}

.dc-header__drawer-footer-link {
    font-size: var(--dc-size-body);
    color: var(--dc-tinta);
    text-decoration: none;
}

a.dc-header__drawer-footer-link:visited {
    color: var(--dc-tinta);
}

.dc-header__drawer-footer-link:hover,
.dc-header__drawer-footer-link:focus-visible,
a.dc-header__drawer-footer-link:visited:hover {
    color: var(--dc-pino);
    text-decoration: none;
}

.dc-header__drawer-lang {
    display: flex;
    align-items: center;
    gap: var(--dc-space-2);
    padding: var(--dc-space-4);
    border-top: var(--dc-border-width) solid var(--ab2b-border);
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-medium);
    color: var(--dc-tinta);
}

.dc-header__tab-bar {
    display: none;
}

body.dc-header-scroll-lock {
    overflow: hidden;
}

@media (max-width: 767px) {
    body .dc-header .dc-header__lang-switch,
    body .dc-header .dc-header__nav-divider {
        display: none;
    }

    body:is(
    .dc-home-page,
    .dc-catalog-listing-page,
    .dc-catalog-index-page,
    .dc-my-account-page,
    .dc-cart-page,
    .dc-checkout-page,
    .dc-order-received-flow,
    .dc-quick-order-page,
    .dc-content-contact-page,
    .dc-access-auth-page,
    .dc-legal-page,
    .dc-not-found-page,
    .dc-product-page-view,
    .dc-maintenance-page
    ) .dc-header--g1 .dc-header__search-combobox,
    body:is(
    .dc-home-page,
    .dc-catalog-listing-page,
    .dc-catalog-index-page,
    .dc-my-account-page,
    .dc-cart-page,
    .dc-checkout-page,
    .dc-order-received-flow,
    .dc-quick-order-page,
    .dc-content-contact-page,
    .dc-access-auth-page,
    .dc-legal-page,
    .dc-not-found-page,
    .dc-product-page-view,
    .dc-maintenance-page
    ) .dc-header--g1 .dc-header__nav,
    body:is(
    .dc-home-page,
    .dc-catalog-listing-page,
    .dc-catalog-index-page,
    .dc-my-account-page,
    .dc-cart-page,
    .dc-checkout-page,
    .dc-order-received-flow,
    .dc-quick-order-page,
    .dc-content-contact-page,
    .dc-access-auth-page,
    .dc-legal-page,
    .dc-not-found-page,
    .dc-product-page-view,
    .dc-maintenance-page
    ) .dc-header--g2 .dc-header__search-combobox,
    body:is(
    .dc-home-page,
    .dc-catalog-listing-page,
    .dc-catalog-index-page,
    .dc-my-account-page,
    .dc-cart-page,
    .dc-checkout-page,
    .dc-order-received-flow,
    .dc-quick-order-page,
    .dc-content-contact-page,
    .dc-access-auth-page,
    .dc-legal-page,
    .dc-not-found-page,
    .dc-product-page-view,
    .dc-maintenance-page
    ) .dc-header--g2 .dc-header__nav,
    body:is(
    .dc-home-page,
    .dc-catalog-listing-page,
    .dc-catalog-index-page,
    .dc-my-account-page,
    .dc-cart-page,
    .dc-checkout-page,
    .dc-order-received-flow,
    .dc-quick-order-page,
    .dc-content-contact-page,
    .dc-access-auth-page,
    .dc-legal-page,
    .dc-not-found-page,
    .dc-product-page-view,
    .dc-maintenance-page
    ) .dc-header--g3 .dc-header__search-combobox,
    body:is(
    .dc-home-page,
    .dc-catalog-listing-page,
    .dc-catalog-index-page,
    .dc-my-account-page,
    .dc-cart-page,
    .dc-checkout-page,
    .dc-order-received-flow,
    .dc-quick-order-page,
    .dc-content-contact-page,
    .dc-access-auth-page,
    .dc-legal-page,
    .dc-not-found-page,
    .dc-product-page-view,
    .dc-maintenance-page
    ) .dc-header--g3 .dc-header__nav,
    body:is(
    .dc-home-page,
    .dc-catalog-listing-page,
    .dc-catalog-index-page,
    .dc-my-account-page,
    .dc-cart-page,
    .dc-checkout-page,
    .dc-order-received-flow,
    .dc-quick-order-page,
    .dc-content-contact-page,
    .dc-access-auth-page,
    .dc-legal-page,
    .dc-not-found-page,
    .dc-product-page-view,
    .dc-maintenance-page
    ) .dc-header--g1 .dc-header__search,
    body:is(
    .dc-home-page,
    .dc-catalog-listing-page,
    .dc-catalog-index-page,
    .dc-my-account-page,
    .dc-cart-page,
    .dc-checkout-page,
    .dc-order-received-flow,
    .dc-quick-order-page,
    .dc-content-contact-page,
    .dc-access-auth-page,
    .dc-legal-page,
    .dc-not-found-page,
    .dc-product-page-view,
    .dc-maintenance-page
    ) .dc-header--g2 .dc-header__search {
        display: none;
    }

    .dc-header--g1 .dc-header__menu-toggle,
    .dc-header--g2 .dc-header__menu-toggle,
    .dc-header--g3 .dc-header__menu-toggle {
        display: inline-flex;
    }

    .dc-header--g1 .dc-header__topband-spacer--desktop,
    .dc-header--g1 .dc-header__topband-link--desktop,
    .dc-header--g2 .dc-header__topband-spacer--desktop,
    .dc-header--g2 .dc-header__topband-link--desktop {
        display: none;
    }

    .dc-header--g1 .dc-header__topband,
    .dc-header--g2 .dc-header__topband {
        justify-content: center;
    }

    .dc-header--g1 .dc-header__bar,
    .dc-header--g2 .dc-header__bar,
    .dc-header--g3 .dc-header__bar {
        min-width: 0;
        min-height: 3.75rem;
        padding: 0 var(--dc-space-4);
        gap: var(--dc-space-4);
        overflow-x: clip;
    }

    .dc-header--g1 .dc-header__menu-toggle--bar,
    .dc-header--g2 .dc-header__menu-toggle--bar,
    .dc-header--g3 .dc-header__menu-toggle--bar {
        display: inline-flex;
    }

    .dc-header__nav--session > .dc-header__menu-toggle {
        display: none;
    }

    .dc-header--g1 .dc-header__brand,
    .dc-header--g2 .dc-header__brand,
    .dc-header--g3 .dc-header__brand {
        flex: 1 1 auto;
        justify-content: center;
    }

    .dc-header__bar-end--desktop {
        display: none;
    }

    .dc-header--g1 .dc-header__mobile-bar-end,
    .dc-header--g2 .dc-header__mobile-bar-end,
    .dc-header--g3 .dc-header__mobile-bar-end {
        display: flex;
    }

    .dc-header--g1 .dc-header__brand .dc-logo,
    .dc-header--g2 .dc-header__brand .dc-logo,
    .dc-header--g3 .dc-header__brand .dc-logo {
        font-size: 1.0625rem;
    }

    .dc-header--g1 .dc-header__brand .dc-logo__symbol,
    .dc-header--g2 .dc-header__brand .dc-logo__symbol,
    .dc-header--g3 .dc-header__brand .dc-logo__symbol {
        width: 1.0625rem;
        height: 1.0625rem;
    }

    .dc-header--g1 .dc-header__drawer-brand .dc-logo,
    .dc-header--g2 .dc-header__drawer-brand .dc-logo,
    .dc-header--g3 .dc-header__drawer-brand .dc-logo {
        font-size: 1.0625rem;
    }

    .dc-header--g1 .dc-header__drawer-brand .dc-logo__symbol,
    .dc-header--g2 .dc-header__drawer-brand .dc-logo__symbol,
    .dc-header--g3 .dc-header__drawer-brand .dc-logo__symbol {
        width: 1.0625rem;
        height: 1.0625rem;
    }

    .dc-header--g1.dc-header--search-open .dc-header__bar,
    .dc-header--g2.dc-header--search-open .dc-header__bar,
    .dc-header--g3.dc-header--search-open .dc-header__bar {
        background: var(--ab2b-surface);
        border-bottom: 0;
    }

    .dc-header--g1.dc-header--search-open .dc-header__category-bar,
    .dc-header--g2.dc-header--search-open .dc-header__category-bar,
    .dc-header--g3.dc-header--search-open .dc-header__category-bar {
        display: none;
    }

    .dc-header--g1.dc-header--search-open .dc-header__mobile-search,
    .dc-header--g2.dc-header--search-open .dc-header__mobile-search,
    .dc-header--g3.dc-header--search-open .dc-header__mobile-search {
        display: block;
        background: var(--dc-hueso);
        border-bottom: 0;
    }

    .dc-header--g1.dc-header--search-open .dc-header__mobile-search-field,
    .dc-header--g2.dc-header--search-open .dc-header__mobile-search-field,
    .dc-header--g3.dc-header--search-open .dc-header__mobile-search-field {
        background: var(--ab2b-surface);
        border-bottom: var(--dc-border-width) solid var(--ab2b-border);
    }

    .dc-header--g1.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox,
    .dc-header--g2.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox,
    .dc-header--g3.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox {
        display: block;
    }

    .dc-header--g1.dc-header--search-open .dc-header__mobile-search .dc-header__search,
    .dc-header--g2.dc-header--search-open .dc-header__mobile-search .dc-header__search {
        display: flex;
        min-height: 2.75rem;
    }

    .dc-header--g3.dc-header--search-open .dc-header__mobile-search .dc-header__search {
        display: flex;
        min-height: 2.75rem;
    }

    .dc-header__mobile-search .dc-header__search-combobox {
        position: relative;
    }

    .dc-header__mobile-search .dc-header__search-panel {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: auto;
        max-height: min(50vh, 20rem);
        margin-top: var(--dc-space-2);
        overflow-x: hidden;
        overflow-y: auto;
        border: var(--dc-border-width) solid var(--ab2b-border);
        border-radius: var(--dc-radius-card);
        box-shadow: var(--dc-shadow-1);
    }

    .dc-header__mobile-search .dc-header__search-combobox.is-open .dc-header__search {
        border-bottom-left-radius: var(--ab2b-radius-input);
        border-bottom-right-radius: var(--ab2b-radius-input);
        border-bottom-color: var(--ab2b-border);
        box-shadow: var(--dc-ring-focus);
    }

    .dc-header--g1.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox.is-open .dc-header__search,
    .dc-header--g1.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox:focus-within .dc-header__search,
    .dc-header--g2.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox.is-open .dc-header__search,
    .dc-header--g2.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox:focus-within .dc-header__search,
    .dc-header--g3.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox.is-open .dc-header__search,
    .dc-header--g3.dc-header--search-open .dc-header__mobile-search .dc-header__search-combobox:focus-within .dc-header__search {
        min-height: 2.75rem;
        border-color: var(--dc-musgo);
        box-shadow: var(--dc-ring-focus);
    }

    .dc-header__mobile-search .dc-header__search-option {
        align-items: flex-start;
        gap: 0.625rem;
        min-height: 3.5rem;
        padding-block: var(--dc-space-2);
    }

    .dc-header__mobile-search .dc-header__search-copy {
        flex: 1 1 0;
        min-width: 0;
    }

    .dc-header__mobile-search .dc-header__search-meta {
        flex: 0 0 auto;
        max-width: 42%;
        align-items: flex-end;
    }

    .dc-header__mobile-search .dc-header__search-guest-lock {
        flex: 0 0 auto;
        max-width: 38%;
        font-size: 0.75rem;
        white-space: normal;
        text-align: right;
    }

    .dc-header__mobile-search-body {
        flex: 1 1 auto;
        min-height: 0;
    }

    body.dc-has-mobile-tab-bar .dc-header__tab-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: calc(var(--dc-z-overlay, 1200) - 2);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: calc(var(--dc-tab-bar-height) + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
        background: var(--ab2b-surface);
        border-top: var(--dc-border-width) solid var(--ab2b-border);
        box-shadow: var(--dc-shadow-1);
    }

    body.dc-has-mobile-tab-bar .dc-header.dc-header--search-open .dc-header__tab-bar {
        display: none;
    }

    .dc-header__tab-bar-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--dc-space-1);
        text-decoration: none;
        color: var(--dc-gris);
        -webkit-tap-highlight-color: transparent;
    }

    .dc-header__tab-bar-link:visited {
        color: var(--dc-gris);
    }

    .dc-header__tab-bar-link:hover,
    .dc-header__tab-bar-link:visited:hover,
    .dc-header__tab-bar-link:focus-visible {
        color: var(--dc-gris);
        text-decoration: none;
    }

    .dc-header__tab-bar-link.is-active,
    .dc-header__tab-bar-link.is-active:visited,
    .dc-header__tab-bar-link.is-active:hover,
    .dc-header__tab-bar-link.is-active:visited:hover,
    .dc-header__tab-bar-link.is-active:focus-visible {
        color: var(--dc-pino);
    }

    .dc-header__tab-bar-label {
        font-size: var(--dc-size-caption);
    }

    .dc-header__tab-bar-link.is-active .dc-header__tab-bar-label {
        font-weight: var(--dc-weight-semibold);
    }

    .dc-header__tab-bar-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--dc-gris);
    }

    .dc-header__tab-bar-link.is-active .dc-header__tab-bar-icon {
        color: var(--dc-pino);
    }

    .dc-header__tab-bar-icon--pill {
        width: 2.5rem;
        height: 1.625rem;
        border-radius: var(--dc-radius-pill);
        background: var(--dc-lima-300);
        color: var(--dc-pino);
    }

    .dc-header--g1 .dc-header__action,
    .dc-header--g2 .dc-header__action {
        min-width: 0;
        flex-shrink: 1;
    }

    .dc-header--g1.dc-header--drawer-open .dc-header__mobile-drawer,
    .dc-header--g2.dc-header--drawer-open .dc-header__mobile-drawer,
    .dc-header--g3.dc-header--drawer-open .dc-header__mobile-drawer {
        display: block;
        pointer-events: auto;
    }
}

@media (min-width: 768px) {
    .dc-header--g1 .dc-header__search-combobox,
    .dc-header--g2 .dc-header__search-combobox,
    .dc-header--g3 .dc-header__search-combobox {
        display: block;
    }

    .dc-header--g1 .dc-header__nav,
    .dc-header--g2 .dc-header__nav,
    .dc-header--g3 .dc-header__nav {
        display: flex;
    }

    .dc-header--g1 .dc-header__search-combobox,
    .dc-header--g2 .dc-header__search-combobox {
        flex: 1 1 auto;
        min-width: 0;
        max-width: min(32.5rem, 100%);
    }

    .dc-header__bar-spacer {
        display: block;
    }

    .dc-header__bar-end {
        margin-left: auto;
    }

    .dc-header--g1 .dc-header__nav,
    .dc-header--g2 .dc-header__nav {
        flex: 0 0 auto;
    }

    .dc-header--g1 .dc-header__action,
    .dc-header--g2 .dc-header__action {
        align-items: center;
        white-space: nowrap;
    }

    .dc-header--g1 .dc-header__action svg,
    .dc-header--g2 .dc-header__action svg {
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }

    .dc-header--g1 .dc-header__action span,
    .dc-header--g2 .dc-header__action span {
        white-space: nowrap;
    }

    .dc-header--g1 .dc-header__menu-toggle,
    .dc-header--g2 .dc-header__menu-toggle,
    .dc-header--g3 .dc-header__menu-toggle {
        display: none;
    }

    .dc-header__menu-toggle--bar {
        display: none;
    }

    .dc-header[data-dc-header-variant="guest"] .dc-header__nav--guest-marketing {
        display: flex;
        align-items: center;
        gap: var(--dc-space-4);
    }

    .dc-header[data-dc-header-variant="guest"] .dc-header__nav--session .dc-header__action--guest-mobile,
    .dc-header[data-dc-header-variant="guest"] .dc-header__nav--session .dc-header__cta--guest-mobile {
        display: none;
    }

    .dc-header[data-dc-header-variant="guest"] .dc-header__nav--session {
        display: none;
    }

    .dc-header[data-dc-header-variant="pending"] .dc-header__nav--pending-session {
        display: flex;
        align-items: center;
        gap: var(--dc-space-4);
    }

    .dc-header[data-dc-header-variant="pending"] .dc-header__nav--session {
        display: none;
    }

    .dc-header__lang-switch,
    .dc-header__nav-divider {
        display: inline-flex;
    }
}

.dc-header__text-link {
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-medium);
    color: var(--ab2b-text);
    text-decoration: none;
    white-space: nowrap;
}

.dc-header__text-link:visited {
    color: var(--ab2b-text);
}

.dc-header__text-link:hover,
.dc-header__text-link:visited:hover,
.dc-header__text-link:focus-visible {
    color: var(--dc-pino);
}

.dc-header__text-link.is-active,
.dc-header__text-link.is-active:visited,
.dc-header__text-link.is-active:hover,
.dc-header__text-link.is-active:visited:hover {
    color: var(--dc-pino);
}

.dc-header__action--quick {
    color: var(--dc-musgo);
    font-weight: var(--dc-weight-semibold);
    text-decoration: none;
}

.dc-header__action--quick.is-active,
.dc-header__action--quick:visited {
    color: var(--dc-musgo);
}

.dc-header__action--quick:hover,
.dc-header__action--quick:visited:hover {
    color: var(--dc-pino);
}

.dc-header__category-bar {
    position: relative;
    display: none;
    background: var(--dc-hueso);
    border-bottom: 1px solid var(--dc-ceniza);
}

.dc-header__category-nav {
    display: block;
    overflow-x: auto;
}

.dc-header__category-nav-inner {
    display: flex;
    align-items: stretch;
    gap: var(--dc-space-8);
    min-height: 3rem;
    padding: 0 max(var(--dc-gutter-mobile), calc((100% - var(--dc-container)) / 2));
}

.dc-header__category-link {
    display: inline-flex;
    align-items: center;
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-medium);
    color: var(--dc-tinta);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 -2px 0 transparent;
}

.dc-header__category-link:visited {
    color: var(--dc-tinta);
}

/* Hover shows the active item's lima line instead of the global `a:hover` underline (base.css). */
.dc-header__category-link:hover,
.dc-header__category-link:visited:hover {
    color: var(--dc-pino);
    text-decoration: none;
    box-shadow: inset 0 -2px 0 var(--dc-lima);
}

.dc-header__category-link.is-active {
    font-weight: var(--dc-weight-semibold);
    color: var(--dc-pino);
    box-shadow: inset 0 -2px 0 var(--dc-lima);
}

.dc-header__megamenu {
    background: var(--dc-blanco);
    border-bottom: 1px solid var(--dc-ceniza);
    box-shadow: var(--dc-shadow-1);
}

.dc-header__megamenu-inner {
    padding: var(--dc-space-8) max(var(--dc-gutter-mobile), calc((100% - var(--dc-container)) / 2));
}

.dc-header__megamenu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr minmax(17.5rem, 23.75rem);
    gap: var(--dc-space-12);
}

.dc-header__megamenu-column {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.dc-header__megamenu-link {
    font-size: var(--dc-size-body);
    color: var(--dc-tinta);
    text-decoration: none;
}

.dc-header__megamenu-link:visited {
    color: var(--dc-tinta);
}

.dc-header__megamenu-link:hover,
.dc-header__megamenu-link:visited:hover {
    color: var(--dc-pino);
    text-decoration: underline;
}

.dc-header__megamenu-promo {
    overflow: hidden;
}

.dc-header__megamenu-promo-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: 10.5rem;
    padding: var(--dc-space-4);
    background: var(--dc-hueso);
    text-align: center;
}

.dc-header__megamenu-promo-visual--image {
    padding: 0;
}

.dc-header__megamenu-promo-image {
    display: block;
    width: 100%;
    height: 10.5rem;
    object-fit: cover;
}

.dc-header__megamenu-promo-body {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: var(--dc-space-4);
}

.dc-header__megamenu-promo-title {
    font-family: var(--dc-font-display);
    font-weight: var(--dc-weight-bold);
    font-size: var(--dc-size-h3);
    letter-spacing: -0.03125rem;
    color: var(--dc-tinta);
}

.dc-header__megamenu-promo-cta {
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-semibold);
    color: var(--dc-musgo);
    text-decoration: none;
}

.dc-header__account-dropdown {
    position: relative;
}

.dc-header__account-trigger-label {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dc-header__account-menu {
    position: absolute;
    top: calc(100% + var(--dc-space-2));
    right: 0;
    z-index: 30;
    width: 14.5rem;
    padding: var(--dc-space-2);
}

.dc-header__account-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--dc-space-2);
    padding: var(--dc-space-2) 0.625rem 0.625rem;
}

.dc-header__account-menu-name {
    font-size: var(--dc-size-small);
    font-weight: var(--dc-weight-semibold);
    color: var(--dc-tinta);
}

.dc-header__account-menu-divider {
    height: 1px;
    margin: 0 0.625rem 0.375rem;
    background: var(--dc-ceniza);
}

.dc-header__account-menu-link {
    display: block;
    padding: 0.5625rem 0.625rem;
    border-radius: var(--dc-radius-sm);
    font-size: var(--dc-size-body-s);
    color: var(--dc-tinta);
    text-decoration: none;
}

.dc-header__account-menu-link:visited {
    color: var(--dc-tinta);
}

.dc-header__account-menu-link:hover,
.dc-header__account-menu-link:visited:hover {
    background: var(--dc-hueso);
    color: var(--dc-pino);
}

@media (min-width: 768px) {
    .dc-header__category-bar {
        display: block;
    }
}

@media (min-width: 768px) {
    .dc-header__category-nav-inner,
    .dc-header__megamenu-inner {
        padding-inline: max(var(--dc-gutter), calc((100% - var(--dc-container)) / 2));
    }
}

@media (max-width: 767px) {
    body .dc-header .dc-header__megamenu,
    body .dc-header .dc-header__account-menu {
        display: none;
    }
}


.dc-header[data-dc-header-variant="access"][data-dc-access-layout="minimal"] {
    background: var(--dc-blanco, var(--ab2b-surface));
    border-bottom-color: var(--dc-ceniza, var(--ab2b-border));
}

.dc-header[data-dc-header-variant="access"][data-dc-access-layout="minimal"] .dc-header__bar--access-minimal {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    height: 4.75rem;
    min-height: 4.75rem;
    margin: 0;
    padding: 0 var(--dc-gutter, var(--dc-space-6));
    padding-block: 0;
    gap: 0;
    box-sizing: border-box;
}

.dc-header[data-dc-header-variant="access"][data-dc-access-layout="minimal"] .dc-header__access-spacer {
    flex: 1 1 0;
    min-width: 0;
}

.dc-header[data-dc-header-variant="access"][data-dc-access-layout="minimal"] .dc-header__brand {
    flex: 0 0 auto;
}

.dc-header[data-dc-header-variant="access"][data-dc-access-layout="minimal"] .dc-header__nav--access-lang {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    min-width: 0;
}

.dc-header__lang-switch {
    display: inline-flex;
    align-items: center;
    gap: var(--dc-space-1);
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-family: var(--dc-font-text);
    font-size: var(--dc-size-body-s);
    font-weight: var(--dc-weight-medium);
    color: var(--dc-tinta);
    white-space: nowrap;
}

.dc-header__lang-switch:visited,
.dc-header__lang-switch:hover,
.dc-header__lang-switch:visited:hover,
.dc-header__lang-switch:focus-visible {
    color: var(--dc-tinta);
}

.dc-header__lang-code {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.dc-header__lang-globe {
    flex: 0 0 auto;
}

@media (min-width: 1200px) {
    .dc-access-auth-page .dc-header[data-dc-header-variant="access"][data-dc-access-layout="minimal"] .dc-header__bar--access-minimal {
        padding-inline: max(var(--dc-gutter), calc((100% - var(--dc-container)) / 2));
    }
}

/* Mobile sticky header: the main bar stays at the top while scrolling (<= 767px, the header's mobile layout).
   Sticky (not fixed) keeps the header in flow: no content jump and no iOS fixed-position jank with inputs.
   The sticky header is a stacking context, so it takes the overlay level to keep the drawer and the tab bar it
   contains above page content; modals and filter drawers come later in the DOM and win the tie.
   The thin top band scrolls away: the header sticks with the band's height off-screen. */
@media (max-width: 767px) {
    html {
        scroll-padding-top: 4.5rem;
    }

    .dc-header {
        position: sticky;
        top: 0;
        z-index: var(--dc-z-overlay);
    }

    .dc-header:has(> .dc-header__topband) {
        top: calc(-1 * var(--dc-topband-height));
    }
}

/* The admin bar is fixed from 601px to 782px and absolute (scrolls away) up to 600px. */
@media (min-width: 601px) and (max-width: 767px) {
    html:has(body.admin-bar) {
        scroll-padding-top: calc(4.5rem + var(--wp-admin--admin-bar--height, 2.875rem));
    }

    body.admin-bar .dc-header {
        top: var(--wp-admin--admin-bar--height, 2.875rem);
    }

    body.admin-bar .dc-header:has(> .dc-header__topband) {
        top: calc(var(--wp-admin--admin-bar--height, 2.875rem) - var(--dc-topband-height));
    }
}
