/* National Trophies-specific component overrides. Tokens live in nt.css. */

.checkout-footer--nt {
    border-top: 5px solid #cfbe73;
    background: #080d5b;
    color: #fff;
}

.checkout-footer--nt .checkout-footer__inner {
    grid-template-columns: 210px auto 1fr auto;
    gap: 2rem;
    width: min(100%, 1440px);
    min-height: 4.55rem;
}

.checkout-footer__nt-logo {
    align-self: stretch;
    display: grid;
    place-items: center;
    min-height: 4.55rem;
    background: #cfbe73;
}

.checkout-footer__nt-logo img {
    width: auto;
    max-width: 128px;
    max-height: 52px;
}

.checkout-footer--nt .checkout-footer__copyright {
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}

.checkout-footer--nt .checkout-footer__payments {
    justify-self: center;
    filter: grayscale(1);
    opacity: .72;
}

.checkout-footer__nt-payments {
    width: auto;
    max-width: 330px;
    max-height: 32px;
}

.checkout-footer--nt .checkout-footer__links {
    gap: .55rem;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}

.checkout-footer--nt .checkout-footer__links a {
    color: #fff;
    text-decoration: underline;
}

.checkout-footer--nt .checkout-footer__links a + a::before {
    content: "|";
    display: inline-block;
    margin-right: .55rem;
    color: #fff;
    text-decoration: none;
}

body[data-style="nt"] .products-target .card.card-gold .card-front,
body[data-style="nt"] .products-target .card.card-silver .card-front,
body[data-style="nt"] .products-target .card.card-orange .card-front,
body[data-style="nt"] .products-target .card.card-gold .card-back,
body[data-style="nt"] .products-target .card.card-silver .card-back,
body[data-style="nt"] .products-target .card.card-orange .card-back {
    background: #fff;
}

.site-header--nt {
    background: #fff;
    border-bottom: 0;
    backdrop-filter: none;
}

.site-header--nt.is-fixed .site-header__inner--nt {
    padding-bottom: 0.9rem;
}

.site-header--nt.is-fixed .site-header__promo-row {
    gap: 1.25rem;
    margin-top: 0.2rem;
}

.site-header--nt.is-fixed .site-header__promo-image--full {
    display: none;
}

.site-header--nt.is-fixed .site-header__promo-image--slim {
    display: block;
    max-height: 3.1rem;
    margin: 0 auto;
}

.site-header--nt .site-header__inner--nt {
    display: grid;
    grid-template-columns: 13.5rem minmax(18rem, 1fr) auto;
    grid-template-areas:
        "brand search icons"
        "brand nav ."
        "promo promo promo";
    column-gap: clamp(1.5rem, 3.5vw, 4.5rem);
    row-gap: 0.7rem;
    align-items: center;
    width: min(100% - 2.5rem, 1520px);
    padding: 1rem 0 1.35rem;
}

.site-brand--nt {
    grid-area: brand;
    align-self: start;
    justify-self: start;
}

.site-brand__logo--nt {
    max-width: 9.7rem;
    height: auto;
}

.site-header--nt .site-header__utility-row {
    grid-area: utility;
    align-self: start;
    justify-self: end;
}

.site-header--nt .site-header__top-links {
    gap: 0;
    flex-wrap: nowrap;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 1rem;
    white-space: nowrap;
}

.site-header--nt .site-header__top-link {
    color: var(--site-accent-gold);
    line-height: 1;
}

.site-header--nt .site-header__top-link + .site-header__top-link::before {
    content: "|";
    display: inline-block;
    margin: 0 0.35rem;
    color: var(--site-primary);
}

.site-header--nt .site-header__search-row {
    grid-area: search;
    align-self: start;
}

.site-header--nt .site-header__search-wrap {
    width: 100%;
}

.site-header--nt .site-header__tagline {
    margin: 0 0 0.12rem 1.1rem;
    color: var(--site-primary);
    font-size: 0.95rem;
    line-height: 1;
}

.site-header--nt .site-search,
.site-header--nt .site-search .aa-Autocomplete,
.site-header--nt .site-search .aa-Form,
.site-header--nt .site-search__input {
    width: 100%;
}

.site-header--nt .site-search .aa-Form,
.site-header--nt .site-search__input {
    min-height: 2.35rem;
    height: 2.35rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--site-accent-gold);
    border-radius: 4px;
    background: #fffdf4;
}

.site-header--nt .site-search .aa-Input,
.site-header--nt .site-search__input {
    color: var(--site-primary);
    font-size: 1rem;
}

.site-header--nt .site-search .aa-Input::placeholder,
.site-header--nt .site-search__input::placeholder {
    color: transparent;
}

.site-header--nt .site-header__icons-row {
    grid-area: icons;
    align-self: end;
    justify-self: end;
}

.site-header--nt .site-header__icons {
    gap: 1.4rem;
}

.site-header--nt .site-header__icon-link {
    min-width: auto;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--site-primary);
}

.site-header--nt .site-header__icon-link:hover,
.site-header--nt .site-header__icon-link:focus,
.site-header--nt .site-header__help:not(:hover) .site-header__icon-link:not(:focus-visible) {
    border-color: transparent;
    background: transparent;
    color: var(--site-primary);
    box-shadow: none;
}

.site-header--nt .site-header__icon-link:focus-visible,
.site-header--nt .site-header__icon-button:focus-visible {
    border-color: transparent;
    box-shadow: 0 0 0 0.18rem rgba(8, 13, 91, 0.18);
}

.site-header--nt .site-header__icon-link .las {
    font-size: 1.85rem;
}

.site-header--nt .site-header__cart-count {
    top: 0.63rem;
    right: 0.61rem;
    min-width: 0;
    width: 0.9rem;
    height: 0.9rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--site-primary);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.site-header--nt .site-header__mobile-cart-count {
    top: 0.53rem;
    right: 0.39rem;
    min-width: 0;
    width: 0.85rem;
    height: 0.85rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--site-primary);
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.site-header--nt .site-header__nav-row {
    grid-area: nav;
}

.site-nav--nt {
    justify-content: flex-start;
    gap: clamp(1.15rem, 2.1vw, 2.35rem);
    flex-wrap: nowrap;
}

.site-nav--nt .site-nav__item {
    position: static;
}

.site-nav--nt .site-nav__link {
    gap: 0.25rem;
    padding: 0;
    border-radius: 0;
    color: var(--site-primary);
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.site-nav--nt .site-nav__link::after {
    content: "";
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    margin-left: 0.35rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-0.15rem) rotate(45deg);
}

.site-nav--nt .site-nav__link:hover,
.site-nav--nt .site-nav__link:focus,
.site-nav--nt .site-nav__item.is-open > .site-nav__link {
    background: transparent;
    color: var(--site-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35rem;
}

.site-header--nt .site-nav__panel {
    top: 7.85rem;
    right: 0;
    left: 0;
    width: auto;
    min-width: 0;
    margin-left: 0;
    transform: translateY(0.75rem);
}

.site-header--nt .site-nav__panel::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 1.7rem;
}

.site-header--nt .site-nav__item.is-open > .site-nav__panel,
.site-header--nt .site-nav__item:focus-within > .site-nav__panel {
    transform: translateY(0);
}

.site-header--nt.is-fixed .site-nav__panel {
    top: 6.35rem;
}

.site-header--nt .site-header__promo-row {
    grid-area: promo;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 5rem);
    align-items: center;
    justify-items: stretch;
    margin-top: 1.15rem;
}

.site-header--nt .site-header__promo-item {
    display: block;
    min-width: 0;
}

.site-header--nt .site-header__promo-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.site-header--nt .site-header__promo-image--slim {
    display: none;
}

.site-header--nt .site-header__promo-item {
    color: var(--site-primary);
    text-decoration: none;
}

.site-header--nt .site-header__promo-item:hover,
.site-header--nt .site-header__promo-item:focus {
    color: var(--site-primary);
    text-decoration: none;
}

.site-nav--nt-mobile {
    display: grid;
    gap: 0.15rem;
}

.site-nav--nt-mobile a {
    display: block;
    padding: 0.78rem 0.2rem;
    border-bottom: 1px solid #ececec;
    color: var(--site-primary);
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav--nt-mobile a:hover,
.site-nav--nt-mobile a:focus {
    color: var(--site-link-hover);
    text-decoration: underline;
}

body[data-style="nt"] .delivery-info-modal .modal-header {
    background: var(--site-primary);
}

body[data-style="nt"] .delivery-options .production-option-title,
body[data-style="nt"] .checkout-delivery .production-option-title {
    background: #f6f2e5;
}

body[data-style="nt"] .delivery-options .production-option-btn.standard .production-option-title,
body[data-style="nt"] .checkout-delivery .production-option-btn.on .production-option-title {
    background: #d8eaf5;
}

body[data-style="nt"] .btn-success,
body[data-style="nt"] a.btn-success,
body[data-style="nt"] button.btn-success {
    border-color: var(--site-accent-gold);
    background: var(--site-accent-gold);
    color: var(--site-primary);
}

body[data-style="nt"] .btn-success:hover,
body[data-style="nt"] .btn-success:focus,
body[data-style="nt"] .btn-success:active,
body[data-style="nt"] .btn-success.active {
    border-color: #b7a55b;
    background: #b7a55b;
    color: var(--site-primary);
}

body[data-style="nt"] .btn-success:disabled,
body[data-style="nt"] .btn-success.disabled {
    border-color: #dacd91;
    background: #dacd91;
    color: rgba(var(--site-primary-rgb), 0.72);
}

body[data-style="nt"] .link-success,
body[data-style="nt"] a.link-success {
    color: #9b842d;
}

body[data-style="nt"] .link-success:hover,
body[data-style="nt"] .link-success:focus {
    color: #75621d;
}

@keyframes ntPromoRotate {
    0%,
    28% {
        opacity: 1;
    }

    33%,
    100% {
        opacity: 0;
    }
}

@media (max-width: 1320px) {
    .site-header--nt .site-header__inner--nt {
        grid-template-columns: 10.5rem minmax(16rem, 1fr) auto;
        column-gap: 1.5rem;
    }

    .site-header--nt .site-brand__logo--nt {
        max-width: 8.4rem;
    }

    .site-nav--nt {
        gap: 1.25rem;
    }

    .site-header--nt .site-header__promo-row {
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .site-header--nt .site-header__inner--nt {
        grid-template-columns: 9rem minmax(0, 1fr) auto;
        grid-template-areas:
            "brand . icons"
            "search search search"
            "nav nav nav"
            "promo promo promo";
    }

    .site-nav--nt {
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .site-header--nt .site-header__inner--nt {
        display: grid;
        grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
        grid-template-areas:
            "toggle brand cart"
            "promo promo promo";
        align-items: center;
        width: min(100% - 1.5rem, 720px);
        gap: 0.35rem;
        padding: 0.35rem 0 0.45rem;
    }

    .site-header--nt .site-header__menu-toggle--mobile {
        grid-area: toggle;
        display: inline-flex;
        justify-self: start;
        width: 2.3rem;
        height: 2.3rem;
        border: 0;
        background: transparent;
    }

    .site-header--nt .site-header__menu-toggle .las {
        color: var(--site-primary);
        font-size: 1.85rem;
    }

    .site-header--nt .site-brand--nt {
        grid-area: brand;
        justify-self: center;
        align-self: center;
    }

    .site-header--nt .site-brand__logo--nt {
        max-width: 7.35rem;
    }

    .site-header--nt .site-header__search-row,
    .site-header--nt .site-header__icons-row,
    .site-header--nt .site-header__nav-row {
        display: none;
    }

    .site-header--nt .site-header__mobile-cart {
        grid-area: cart;
        display: inline-flex;
        justify-self: end;
        color: var(--site-primary);
        font-size: 1.35rem;
    }

    .site-header--nt .site-header__promo-row {
        position: relative;
        grid-area: promo;
        display: block;
        width: 100%;
        height: 3.15rem;
        margin-top: 0.2rem;
        overflow: hidden;
    }

    .site-header--nt .site-header__promo-image--full {
        display: none;
    }

    .site-header--nt .site-header__promo-image--slim {
        display: block;
        max-height: 3.1rem;
        margin: 0 auto;
    }

    .site-header--nt .site-header__promo-item {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        animation: ntPromoRotate 12s infinite;
    }

    .site-header--nt .site-header__promo-item:nth-child(2) {
        animation-delay: 4s;
    }

    .site-header--nt .site-header__promo-item:nth-child(3) {
        animation-delay: 8s;
    }
}

@media (max-width: 767.98px) {
    .site-header--nt .site-header__top-row,
    .site-header--nt .site-header__search-row,
    .site-header--nt .site-header__promo-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
