:root {
    --color-primary: #b21f2d;
    --color-primary-dark: #861722;
    --color-dark: #202124;
    --color-text: #333333;
    --color-muted: #666666;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-border: #dddddd;

    --header-height: 72px;
    --mobile-nav-height: 72px;

    --content-width: 1200px;
    --page-padding: 20px;

    --border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0 0 calc(
        var(--mobile-nav-height) + env(safe-area-inset-bottom)
    );

    color: var(--color-text);
    background: var(--color-white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

body.menu-is-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;

    padding: 10px 14px;

    color: var(--color-white);
    background: var(--color-dark);

    border-radius: 6px;

    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.content-container {
    width: min(
        100% - (var(--page-padding) * 2),
        var(--content-width)
    );

    margin-inline: auto;
}

/* Slide-out menu */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    transition: opacity 0.25s ease;
}

.menu-overlay--visible {
    opacity: 1;
}

.site-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1100;

    width: min(88vw, 380px);

    background: var(--color-white);
    box-shadow: var(--box-shadow);

    transform: translateX(105%);
    transition: transform 0.25s ease;

    overflow-y: auto;
}

.site-menu--open {
    transform: translateX(0);
}

.site-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 72px;
    padding: 14px 20px;

    border-bottom: 1px solid var(--color-border);
}

.site-menu__title {
    font-size: 1.3rem;
    font-weight: 800;
}

.site-menu__close {
    width: 44px;
    height: 44px;

    color: var(--color-dark);
    background: transparent;

    border: 0;
    border-radius: 8px;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
}

.site-menu__close:hover,
.site-menu__close:focus-visible {
    background: var(--color-light);
}

.site-menu__nav {
    display: flex;
    flex-direction: column;

    padding: 10px 20px 40px;
}

.site-menu__nav a {
    padding: 16px 4px;

    color: var(--color-dark);
    text-decoration: none;

    border-bottom: 1px solid var(--color-border);

    font-size: 1.05rem;
    font-weight: 700;
}

.site-menu__nav a:hover,
.site-menu__nav a:focus-visible {
    color: var(--color-primary);
}

/* Temporary homepage */

.homepage-placeholder {
    display: flex;
    align-items: center;

    min-height: calc(100vh - var(--header-height));
    padding: 60px 0 80px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f4f4f4 100%
        );
}

.homepage-placeholder__eyebrow {
    margin: 0 0 14px;

    color: var(--color-primary);

    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.homepage-placeholder h1 {
    max-width: 800px;
    margin: 0 auto 20px;

    color: var(--color-dark);

    font-size: clamp(2.1rem, 8vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.homepage-placeholder__text {
    max-width: 700px;
    margin: 0 auto 30px;

    color: var(--color-muted);

    font-size: clamp(1rem, 3vw, 1.25rem);
}

.homepage-placeholder__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;

    max-width: 340px;
    margin-inline: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 12px 22px;

    border: 2px solid transparent;
    border-radius: 10px;

    text-decoration: none;

    font-weight: 800;
}

.button--primary {
    color: var(--color-white);
    background: var(--color-primary);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: var(--color-primary-dark);
}

.button--secondary {
    color: var(--color-primary);
    background: var(--color-white);
    border-color: var(--color-primary);
}

.button--secondary:hover,
.button--secondary:focus-visible {
    color: var(--color-white);
    background: var(--color-primary);
}

/* Footer */

.site-footer {
    padding: 40px 0;

    color: #d8d8d8;
    background: var(--color-dark);

    text-align: center;
}

.site-footer__inner {
    width: min(
        100% - (var(--page-padding) * 2),
        var(--content-width)
    );

    margin-inline: auto;
}

.site-footer__name {
    margin-bottom: 4px;

    color: var(--color-white);

    font-size: 1.1rem;
    font-weight: 800;
}

.site-footer__links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: var(--color-white);
}

.site-footer__copyright {
    color: #aaaaaa;
    font-size: 0.85rem;
}

/* Mobile bottom navigation */

.mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 950;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    min-height: var(--mobile-nav-height);
    padding-bottom: env(safe-area-inset-bottom);

    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    padding: 7px 2px;

    color: var(--color-dark);
    text-decoration: none;
}

.mobile-nav__item:hover,
.mobile-nav__item:focus-visible {
    color: var(--color-primary);
    background: var(--color-light);
}

.mobile-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    font-size: 1.15rem;
    line-height: 1;
}

.mobile-nav__label {
    margin-top: 4px;

    font-size: clamp(0.65rem, 2.8vw, 0.78rem);
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav__item--primary {
    color: var(--color-white);
    background: var(--color-primary);
}

.mobile-nav__item--primary:hover,
.mobile-nav__item--primary:focus-visible {
    color: var(--color-white);
    background: var(--color-primary-dark);
}

/* Larger screens */

@media (min-width: 700px) {
    .homepage-placeholder__actions {
        flex-direction: row;
        justify-content: center;

        max-width: none;
    }

    .button {
        min-width: 180px;
    }
}

@media (min-width: 900px) {
    body {
        padding-bottom: 0;
    }

    .mobile-nav {
        display: none;
    }

    .homepage-placeholder {
        padding-bottom: 60px;
    }
}

/* ============================================================
   Homepage promotional hero
   ============================================================ */

.promo-hero {
    padding: 18px 0 12px;
    background: var(--color-white);
}

.promo-hero__container {
    width: min(
        100% - 24px,
        var(--content-width)
    );

    margin-inline: auto;
}

.promo-slider {
    position: relative;
}

.promo-slider__viewport {
    overflow: hidden;
    border-radius: 16px;
    background: var(--color-light);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    touch-action: pan-y;
}

.promo-slider__track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.promo-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.promo-slide__link {
    display: block;
    text-decoration: none;
}

@media (min-width: 900px) {
    .promo-hero__container {
        max-width: 1080px;
    }

    .promo-slide__image {
        width: 100%;
        height: 340px;
        max-height: 340px;

        object-fit: cover;
        object-position: center;
    }
}

/* Slider arrows */

.promo-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    display: none;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    padding: 0;

    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);

    font-size: 2.1rem;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);
}

.promo-slider__arrow:hover,
.promo-slider__arrow:focus-visible {
    color: var(--color-primary);
    background: var(--color-white);
}

.promo-slider__arrow--previous {
    left: 14px;
}

.promo-slider__arrow--next {
    right: 14px;
}

/* Slider dots */

.promo-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding-top: 13px;
}

.promo-slider__dot {
    width: 9px;
    height: 9px;
    padding: 0;

    background: #c9c9c9;

    border: 0;
    border-radius: 999px;

    cursor: pointer;

    transition:
        width 0.2s ease,
        background-color 0.2s ease;
}

.promo-slider__dot--active {
    width: 28px;
    background: var(--color-primary);
}

/* Desktop hero */

@media (min-width: 800px) {
    .promo-hero {
        padding: 28px 0 18px;
    }

    .promo-hero__container {
        width: min(
            100% - 40px,
            var(--content-width)
        );
    }

    .promo-slider__arrow {
        display: inline-flex;
    }

    .promo-slider__viewport {
    
        border-radius: 24px;
    
        overflow: hidden;
    
        box-shadow:
            0 12px 30px rgba(0,0,0,.15);
    
    }
}

/* Reduced motion preference */

@media (prefers-reduced-motion: reduce) {
    .promo-slider__track {
        transition: none;
    }
}

/* ============================================================
   Homepage section headings
   ============================================================ */

.featured-products {
    padding: 36px 0 48px;
    background: #f7f7f7;
}

.homepage-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 20px;
}

.homepage-section-heading__eyebrow {
    margin: 0 0 4px;

    color: var(--color-primary);

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.homepage-section-heading h2 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(1.65rem, 5vw, 2.4rem);
    line-height: 1.1;
}

.homepage-section-heading__link {
    flex: 0 0 auto;

    color: var(--color-primary);
    text-decoration: none;

    font-weight: 800;
}

.homepage-section-heading__link:hover,
.homepage-section-heading__link:focus-visible {
    text-decoration: underline;
}

/* ============================================================
   Product card layout
   ============================================================ */

.product-card-grid {
    display: grid;
    gap: 18px;
}

.product-card-grid--featured {
    display: flex;
    gap: 16px;

    margin-inline: calc(var(--page-padding) * -1);
    padding: 2px var(--page-padding) 14px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

/* adjust mobile card below */ 
.product-card-grid--featured .product-card {
    flex: 0 0 min(44vw, 180px);
    scroll-snap-align: start;
}

@media (max-width: 699px) {

    .product-card-grid--featured .product-card {
        flex: 0 0 min(44vw, 180px);
        border-radius: 12px;
    }

    .product-card-grid--featured .product-card__image-link {
        min-height: 145px;
        padding: 8px;
    }

    .product-card-grid--featured .product-card__image,
    .product-card-grid--featured .product-card__image-placeholder {
        height: 130px;
    }

    .product-card-grid--featured .product-card__body {
        padding: 11px;
    }

    .product-card-grid--featured .product-card__brand {
        font-size: .70rem;
    }

    .product-card-grid--featured .product-card__title {
        font-size: .88rem;
    }

    .product-card-grid--featured .product-card__model {
        font-size: .68rem;
    }

    .product-card-grid--featured .product-card__payment {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    
        margin-top: 10px;
        padding: 8px;
    }
    
    .product-card-grid--featured .product-card__payment-amount {
        justify-content: center;
    }
    
    .product-card-grid--featured .product-card__frequency {
        width: 100%;
        min-width: 0;
        font-size: 0.72rem;
    }    

    .product-card-grid--featured .product-card__payment-amount {
        font-size: 1.35rem;
    }

}

/* ============================================================
   Product card
   ============================================================ */

.product-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    overflow: hidden;

    background: var(--color-white);
    border: 1px solid #dedede;
    border-radius: 16px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}

.product-card__image-area {
    position: relative;

    background: #f4f4f4;
    border-bottom: 1px solid #e3e3e3;
}

.product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 250px;
    padding: 14px;

    text-decoration: none;
}

.product-card__image {
    display: block;

    width: 100%;
    height: 235px;

    object-fit: contain;
}

.product-card__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 235px;

    color: #777777;

    font-weight: 700;
    text-align: center;
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;

    padding: 7px 11px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 7px;

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}



.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 18px;
}

.product-card__brand {
    margin: 0 0 5px;

    color: #686868;

    font-size: 0.82rem;
    font-weight: 700;
}

.product-card__title {
    margin: 0;

    color: var(--color-dark);

    font-size: 1.1rem;
    line-height: 1.3;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
}

.product-card__title a:hover,
.product-card__title a:focus-visible {
    color: var(--color-primary);
}

.product-card__model {
    margin: 7px 0 0;

    color: #777777;
    font-size: 0.8rem;
}

.product-card__payment {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;

    margin-top: 18px;
    padding: 12px;

    background: #f2f6f2;
    border-radius: 10px;
}

.product-card__payment-amount {
    display: flex;
    align-items: baseline;

    color: var(--color-primary);

    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
}

.product-card__payment-amount > span:first-child {
    margin-right: 2px;

    font-size: 1.05rem;
}

.product-card__frequency {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 7px 8px;

    color: var(--color-dark);
    background: var(--color-white);

    border: 1px solid #cfcfcf;
    border-radius: 7px;

    font-weight: 700;
}

.product-card__frequency-note {
    margin-top: 6px;

    color: #777777;

    font-size: 0.74rem;
    text-align: right;
}

.product-card__details {
    display: flex;
    flex-direction: column;
    gap: 6px;

    margin-top: 14px;

    color: #555555;
    font-size: 0.82rem;
}

.product-card__delivery {
    color: #176b37;
    font-weight: 800;
}

.product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    margin-top: auto;
    padding: 11px 16px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 9px;

    text-decoration: none;
    text-align: center;

    font-weight: 850;
}

.product-card__button:hover,
.product-card__button:focus-visible {
    background: var(--color-primary-dark);
}

@media (min-width: 700px) {
    .product-card-grid--featured {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        margin-inline: 0;
        padding: 0;

        overflow: visible;
    }

    .product-card-grid--featured .product-card {
        min-width: 0;
    }
}

@media (min-width: 1050px) {
    .product-card-grid--featured {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .product-card__image-link {
        min-height: 225px;
    }

    .product-card__image,
    .product-card__image-placeholder {
        height: 205px;
    }
}

/* ============================================================
   Public shop page
   ============================================================ */

.shop-page {
    padding: 22px 0 60px;
    background: #f7f7f7;
}

.shop-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    margin-bottom: 22px;

    color: #686868;
    font-size: 0.82rem;
}

.shop-breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}

.shop-breadcrumbs a:hover,
.shop-breadcrumbs a:focus-visible {
    text-decoration: underline;
}

.shop-page__header {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-bottom: 24px;
}

.shop-page__eyebrow {
    margin: 0 0 5px;

    color: var(--color-primary);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-page__header h1 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(2rem, 8vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.shop-page__intro {
    max-width: 720px;
    margin: 12px 0 0;

    color: #666666;
    font-size: 1rem;
}

.shop-page__count {
    display: inline-flex;
    align-items: center;

    width: fit-content;
    padding: 8px 13px;

    color: var(--color-dark);
    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 800;
}

/* Filters */

.shop-filter {
    margin-bottom: 26px;
    padding: 18px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 14px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.shop-filter__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.shop-filter__top h2 {
    margin: 0 0 4px;

    color: var(--color-dark);
    font-size: 1.2rem;
}

.shop-filter__top p {
    margin: 0;

    color: #777777;
    font-size: 0.85rem;
}

.shop-filter__toggle {
    min-width: 88px;
    min-height: 42px;
    padding: 8px 14px;

    color: #ffffff;
    background: var(--color-primary);

    border: 0;
    border-radius: 8px;

    font-weight: 800;
    cursor: pointer;
}

.shop-filter__form {
    display: none;
    margin-top: 18px;
}

.shop-filter__form--open {
    display: block;
}

.shop-filter__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.shop-filter__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-filter__field label {
    color: var(--color-dark);

    font-size: 0.82rem;
    font-weight: 800;
}

.shop-filter__field input,
.shop-filter__field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;

    color: var(--color-dark);
    background: #ffffff;

    border: 1px solid #cccccc;
    border-radius: 8px;
}

.shop-filter__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 16px;
}

/* Product listing */

.shop-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.shop-empty {
    padding: 50px 22px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 14px;

    text-align: center;
}

.shop-empty h2 {
    margin-top: 0;
}

.shop-empty p {
    margin-bottom: 24px;
    color: #666666;
}

/* Pagination */

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 34px;
    padding-top: 22px;

    border-top: 1px solid #d5d5d5;
}

.shop-pagination__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 88px;
    min-height: 44px;
    padding: 9px 14px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 8px;

    text-decoration: none;
    font-weight: 800;
}

.shop-pagination__button:hover,
.shop-pagination__button:focus-visible {
    background: var(--color-primary-dark);
}

.shop-pagination__button--disabled {
    color: #888888;
    background: #dddddd;
}

.shop-pagination__status {
    color: #555555;

    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
}

@media (min-width: 620px) {
    .shop-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .shop-filter__actions {
        flex-direction: row;
    }
}

@media (min-width: 800px) {
    .shop-page {
        padding-top: 34px;
    }

    .shop-page__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .shop-filter__toggle {
        display: none;
    }

    .shop-filter__form {
        display: block;
    }

    .shop-filter__grid {
        grid-template-columns:
            1.4fr repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1050px) {
    .shop-product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .shop-product-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }
}

/* Mobile product-category navigation */

.mobile-nav--categories .mobile-nav__item {
    min-width: 0;
    padding-inline: 1px;
}

.mobile-nav--categories .mobile-nav__label {
    max-width: 100%;

    font-size: clamp(
        0.58rem,
        2.45vw,
        0.73rem
    );
}

@media (max-width: 390px) {
    .mobile-nav--categories .mobile-nav__icon {
        font-size: 1rem;
    }

    .mobile-nav--categories .mobile-nav__label {
        font-size: 0.57rem;
    }
}

/* ============================================================
   Product detail page
   ============================================================ */

.product-detail {
    padding: 22px 0 70px;
    background: #f7f7f7;
}

.product-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    margin-bottom: 20px;

    color: #707070;
    font-size: 0.8rem;
}

.product-breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}

.product-detail__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.product-gallery,
.product-detail__information,
.product-description-section,
.product-manual-section {
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 16px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.product-gallery {
    padding: 14px;
}

.product-gallery__main {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 320px;

    background: #f5f5f5;
    border-radius: 12px;
}

.product-gallery__main-image {
    display: block;

    width: 100%;
    height: 340px;

    object-fit: contain;
}

.product-gallery__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 320px;

    color: #777777;
    font-weight: 700;
}

.product-detail__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;

    padding: 7px 12px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 7px;

    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-gallery__thumbnails {
    display: flex;
    gap: 10px;

    margin-top: 12px;
    padding-bottom: 3px;

    overflow-x: auto;
}

.product-gallery__thumbnail {
    flex: 0 0 76px;

    width: 76px;
    height: 76px;
    padding: 5px;

    background: #ffffff;
    border: 2px solid #dddddd;
    border-radius: 9px;

    cursor: pointer;
}

.product-gallery__thumbnail--active {
    border-color: var(--color-primary);
}

.product-gallery__thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.product-detail__information {
    padding: 22px;
}

.product-detail__brand {
    margin: 0 0 7px;

    color: #666666;

    font-size: 0.88rem;
    font-weight: 800;
}

.product-detail__information h1 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(1.8rem, 6vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.product-detail__identifiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    margin-top: 12px;

    color: #686868;
    font-size: 0.82rem;
}

.product-detail__payment {
    margin-top: 24px;
    padding: 18px;

    background: #f1f6f1;
    border: 1px solid #d8e6d8;
    border-radius: 12px;
}

.product-detail__payment-label {
    margin: 0 0 10px;

    color: var(--color-dark);
    font-weight: 850;
}

.product-detail__payment-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
}

.product-detail__payment-price {
    display: flex;
    align-items: baseline;

    color: var(--color-primary);
    line-height: 1;
}

.product-detail__payment-price > span {
    margin-right: 3px;
    font-size: 1.25rem;
}

.product-detail__payment-price strong {
    font-size: clamp(2rem, 8vw, 3rem);
}

.product-detail__frequency {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 9px 10px;

    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;

    font-weight: 800;
}

.product-detail__payment-note {
    margin: 7px 0 0;

    color: #686868;
    font-size: 0.78rem;
    text-align: right;
}

.product-detail__pricing-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;

    margin-top: 16px;
}

.product-detail__pricing-grid > div {
    padding: 14px;

    background: #f7f7f7;
    border-radius: 9px;
}

.product-detail__pricing-grid span,
.product-detail__pricing-grid strong {
    display: block;
}

.product-detail__pricing-grid span {
    margin-bottom: 4px;

    color: #777777;
    font-size: 0.75rem;
}

.product-detail__pricing-grid strong {
    color: var(--color-dark);
}

.product-detail__benefits {
    display: grid;
    gap: 10px;

    margin-top: 20px;
}

.product-detail__benefits > div {
    padding: 14px 15px;

    border-left: 4px solid var(--color-primary);
    background: #fafafa;
    border-radius: 6px;
}

.product-detail__benefits strong,
.product-detail__benefits span {
    display: block;
}

.product-detail__benefits strong {
    margin-bottom: 3px;

    color: var(--color-dark);
}

.product-detail__benefits span {
    color: #686868;
    font-size: 0.8rem;
    line-height: 1.45;
}

.product-detail__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;

    margin-top: 22px;
}

.product-detail__cart-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.product-detail__cart-note {
    margin: 8px 0 0;

    color: #777777;
    font-size: 0.75rem;
    text-align: center;
}

.product-description-section,
.product-manual-section {
    margin-top: 24px;
    padding: 22px;
}

.product-description-section h2,
.product-manual-section h2 {
    margin-top: 0;
}

.product-description-section__text {
    color: #4f4f4f;
    line-height: 1.7;
}

.product-manual-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-manual-section p {
    margin-bottom: 0;
    color: #666666;
}

.product-not-found {
    padding: 80px 0;
    text-align: center;
}

@media (min-width: 760px) {
    .product-detail__actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-manual-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 950px) {
    .product-detail {
        padding-top: 34px;
    }

    .product-detail__layout {
        grid-template-columns:
            minmax(0, 1.08fr)
            minmax(380px, 0.92fr);

        align-items: start;
    }

    .product-gallery {
        position: sticky;
        top: 100px;
    }

    .product-gallery__main {
        min-height: 470px;
    }

    .product-gallery__main-image {
        height: 480px;
    }

    .product-detail__information {
        padding: 28px;
    }
}

/* ============================================================
   Public header
   Mobile: logo/actions + search
   Desktop: logo + search + actions
   Entire header and trust strip remain sticky
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;

    width: 100%;

    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);

    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   Main header container
   ============================================================ */

.site-header__main {
    position: relative;

    width: min(
        100% - 20px,
        1400px
    );

    height: auto;
    min-height: 0;

    margin-inline: auto;
    padding: 8px 0 12px;
}

/* ============================================================
   Mobile top row
   ============================================================ */

.site-header__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    min-height: 54px;
}

/* ============================================================
   Logo
   ============================================================ */

.site-logo {
    display: inline-flex;
    align-items: center;

    min-width: 0;
    flex: 0 1 auto;

    color: var(--color-primary);
    text-decoration: none;
}

.site-logo__image {
    display: block;

    width: auto;
    height: 43px;
    max-width: 190px;

    object-fit: contain;
}

/* Old text-logo classes can remain harmless if unused */

.site-logo__name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.site-logo__subtext {
    margin-top: 4px;

    color: var(--color-dark);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ============================================================
   Header actions
   ============================================================ */

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;

    flex: 0 0 auto;
}

.header-icon-button,
.menu-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    padding: 0;

    color: var(--color-dark);
    background: transparent;

    border: 0;
    border-radius: 9px;

    text-decoration: none;
    cursor: pointer;
}

.header-icon-button:hover,
.header-icon-button:focus-visible,
.menu-button:hover,
.menu-button:focus-visible {
    color: var(--color-primary);
    background: var(--color-light);
}

.header-icon {
    width: 24px;
    height: 24px;
}

/* ============================================================
   Hamburger lines
   ============================================================ */

.menu-button {
    flex-direction: column;
    gap: 5px;

    z-index: 1200;
}

.menu-button__line {
    display: block;

    width: 25px;
    height: 3px;

    background: currentColor;
    border-radius: 10px;
}

/* ============================================================
   Cart count
   ============================================================ */

.header-cart-count {
    position: absolute;
    top: 0;
    right: -1px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;
    padding: 0 4px;

    color: var(--color-white);
    background: var(--color-primary);

    border: 2px solid var(--color-white);
    border-radius: 999px;

    font-size: 0.64rem;
    font-weight: 900;
    line-height: 1;
}

/* ============================================================
   Location button
   ============================================================ */

.header-location-link {
    display: none;
    align-items: center;
    gap: 7px;

    min-height: 44px;
    padding: 8px 13px;

    color: var(--color-dark);
    background: var(--color-light);

    border: 1px solid var(--color-border);
    border-radius: 9px;

    text-decoration: none;

    font-size: 0.88rem;
    font-weight: 800;
}

.header-location-link:hover,
.header-location-link:focus-visible {
    color: var(--color-primary);
    background: var(--color-white);
    border-color: var(--color-primary);
}

.header-location-link__icon {
    width: 21px;
    height: 21px;
}

/* ============================================================
   Search bar
   Mobile: second row
   ============================================================ */

.header-search {
    position: relative;

    display: block;

    width: 100%;
    margin: 8px 0 0;
    padding: 0;
}

.header-search__field {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 48px;

    overflow: hidden;

    background: var(--color-light);

    border: 1px solid #c9c9c9;
    border-radius: 999px;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.header-search__field:focus-within {
    background: var(--color-white);
    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px rgba(178, 31, 45, 0.13);
}

.header-search__leading-icon {
    flex: 0 0 auto;

    width: 21px;
    height: 21px;
    margin-left: 15px;

    color: var(--color-muted);
}

.header-search input {
    flex: 1 1 auto;
    min-width: 300px;

    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 10px;

    color: var(--color-dark);
    background: transparent;

    border: 0;
    outline: 0;

    font-size: 0.9rem;
}

.header-search input::placeholder {
    color: #777777;
}

.header-search__button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    margin-right: 4px;
    padding: 0;

    color: var(--color-white);
    background: var(--color-primary);

    border: 0;
    border-radius: 999px;

    cursor: pointer;
}

.header-search__button:hover,
.header-search__button:focus-visible {
    background: var(--color-primary-dark);
}

.header-search__button svg {
    width: 22px;
    height: 22px;
}

/* ============================================================
   Desktop trust strip
   It remains sticky because it is inside .site-header
   ============================================================ */

.site-header__trust-strip {
    display: none;

    color: var(--color-white);
    background: var(--color-primary-dark);
}

.site-header__trust-inner {
    width: min(
        100% - 40px,
        1400px
    );

    margin-inline: auto;
    padding: 8px 0;

    text-align: center;

    font-size: 0.78rem;
    font-weight: 750;
}

/* ============================================================
   Screen-reader utility
   ============================================================ */

.visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;

    border: 0 !important;
}

/* ============================================================
   Small mobile screens
   ============================================================ */

@media (max-width: 520px) {
    .site-header__main {
        width: min(
            100% - 18px,
            1400px
        );

        padding-top: 7px;
    }

    .site-logo__image {
        height: 42px;
        max-width: 190px;
    }

    .site-header__actions {
        gap: 1px;
    }

    .header-icon-button,
    .menu-button {
        width: 40px;
        height: 40px;
    }

    .header-icon {
        width: 23px;
        height: 23px;
    }

    .header-search {
        margin-top: 6px;
    }

    .header-search input {
        font-size: 0.86rem;
    }

    .header-search input::placeholder {
        font-size: 0.86rem;
    }
}


/* ============================================================
   Product card cart actions
   ============================================================ */

.product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;

    margin-top: auto;
    padding-top: 16px;
}

.product-card__button {
    margin-top: 0;
}

.product-card__cart-form {
    margin: 0;
}

.product-card__cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;
    padding: 11px 16px;

    color: var(--color-primary);
    background: var(--color-white);

    border: 2px solid var(--color-primary);
    border-radius: 9px;

    font-weight: 850;
    cursor: pointer;
}

.product-card__cart-button:hover,
.product-card__cart-button:focus-visible {
    color: var(--color-white);
    background: var(--color-primary);
}

/* ============================================================
   Product detail cart
   ============================================================ */

.product-detail__cart-form {
    margin: 0;
}

.product-detail__cart-controls {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 9px;
}

.product-detail__quantity {
    width: 100%;
    min-height: 52px;
    padding: 8px;

    text-align: center;

    border: 1px solid #cccccc;
    border-radius: 9px;

    font-weight: 800;
}

/* ============================================================
   Shopping cart page
   ============================================================ */

.cart-page {
    padding: 30px 0 70px;
    background: #f7f7f7;
}

.cart-page__header {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-bottom: 24px;
}

.cart-page__eyebrow {
    margin: 0 0 5px;

    color: var(--color-primary);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cart-page__header h1 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1.05;
}

.cart-page__header p {
    margin: 10px 0 0;
    color: #666666;
}

.cart-page__clear {
    width: fit-content;
    padding: 9px 13px;

    color: #a11722;
    background: #ffffff;

    border: 1px solid #d8a7ac;
    border-radius: 8px;

    font-weight: 800;
    cursor: pointer;
}

.cart-message {
    margin-bottom: 18px;
    padding: 13px 16px;

    border-radius: 9px;

    font-weight: 700;
}

.cart-message--success {
    color: #176b37;
    background: #eaf6ee;
    border: 1px solid #abd3b8;
}

.cart-message--error {
    color: #8a1c24;
    background: #fff0f1;
    border: 1px solid #e2aeb3;
}

.cart-empty {
    padding: 60px 22px;

    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 15px;

    text-align: center;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.cart-items {
    display: grid;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 15px;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 14px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.cart-item__fixed-quantity {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #f8fafc;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.cart-item__image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100px;

    background: #f5f5f5;
    border-radius: 10px;
}

.cart-item__image img {
    width: 100%;
    height: 100px;

    object-fit: contain;
}

.cart-item__placeholder {
    color: #777777;
    font-size: 0.75rem;
    text-align: center;
}

.cart-item__information {
    min-width: 0;
}

.cart-item__brand {
    margin: 0 0 3px;

    color: #777777;
    font-size: 0.75rem;
    font-weight: 750;
}

.cart-item__information h2 {
    margin: 0;

    font-size: 1rem;
    line-height: 1.3;
}

.cart-item__information h2 a {
    text-decoration: none;
}

.cart-item__model {
    margin: 5px 0 0;

    color: #777777;
    font-size: 0.76rem;
}

.cart-item__update-form {
    margin-top: 14px;
}

.cart-item__controls {
    display: grid;
    grid-template-columns: 1fr 72px;
    gap: 8px;
}

.cart-item__controls > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item__controls label {
    font-size: 0.72rem;
    font-weight: 800;
}

.cart-item__controls select,
.cart-item__controls input {
    width: 100%;
    min-height: 42px;
    padding: 7px 8px;

    background: #ffffff;

    border: 1px solid #cccccc;
    border-radius: 7px;
}

.cart-item__update-button {
    grid-column: 1 / -1;

    min-height: 42px;

    color: var(--color-white);
    background: var(--color-dark);

    border: 0;
    border-radius: 7px;

    font-weight: 800;
    cursor: pointer;
}

.cart-item__remove-form {
    margin-top: 10px;
}

.cart-item__remove-form button {
    padding: 0;

    color: var(--color-primary);
    background: transparent;

    border: 0;

    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.cart-item__pricing {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;

    padding-top: 14px;

    border-top: 1px solid #eeeeee;
}

.cart-item__pricing > div {
    padding: 10px;

    background: #f5f5f5;
    border-radius: 8px;
}

.cart-item__pricing span,
.cart-item__pricing strong {
    display: block;
}

.cart-item__pricing span {
    color: #777777;
    font-size: 0.7rem;
}

.cart-item__pricing strong {
    margin-top: 3px;
    color: var(--color-dark);
}

.cart-summary {
    padding: 20px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 14px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.cart-summary h2 {
    margin-top: 0;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding: 11px 0;

    border-bottom: 1px solid #eeeeee;
}

.cart-summary__notice {
    margin: 18px 0;

    color: #666666;

    font-size: 0.82rem;
    line-height: 1.55;
}

.cart-summary__checkout {
    width: 100%;
}

.cart-summary__continue {
    display: block;

    margin-top: 13px;

    color: var(--color-primary);

    text-align: center;
    font-weight: 800;
}

@media (min-width: 760px) {
    .cart-page__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .cart-item {
        grid-template-columns:
            140px
            minmax(0, 1fr)
            170px;

        padding: 18px;
    }

    .cart-item__image img {
        height: 135px;
    }

    .cart-item__pricing {
        grid-column: auto;

        display: flex;
        flex-direction: column;

        padding-top: 0;
        padding-left: 15px;

        border-top: 0;
        border-left: 1px solid #eeeeee;
    }
}

@media (min-width: 1050px) {
    .cart-layout {
        grid-template-columns:
            minmax(0, 1fr)
            340px;

        align-items: start;
    }

    .cart-summary {
        position: sticky;
        top: 125px;
    }
}

/* ============================================================
   Slide-out product menu
   ============================================================ */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;

    background: rgba(0, 0, 0, 0.56);
}

.menu-overlay[hidden] {
    display: none;
}
/* Edit the width of the menu on mobile below */
.site-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;

    display: flex;
    flex-direction: column;

    width: min(65vw, 320px);
    height: 100dvh;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        8px 0 28px rgba(0,0,0,.18);
    
    transform: translateX(-105%);

    visibility: hidden;
    pointer-events: none;

    transition:
        transform 0.24s ease,
        visibility 0.24s ease;
}

.site-menu.site-menu--open,
.site-menu.is-open {
    transform: translateX(0);

    visibility: visible;
    pointer-events: auto;
}

/*
 * Support a body-level open class too, in case the existing
 * JavaScript uses that method.
 */
body.menu-open .site-menu {
    transform: translateX(0);

    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* Menu heading */

.site-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    min-height: 60px;
    padding: 10px 18px;

    background: #ffffff;

    border-bottom: 1px solid #dddddd;
}

.site-menu__title {
    color: var(--color-dark);

    font-size: 1.25rem;
    font-weight: 900;
}

.site-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    color: var(--color-dark);
    background: transparent;

    border: 0;
    border-radius: 8px;

    font-family: inherit;
    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
}

.site-menu__close:hover,
.site-menu__close:focus-visible {
    color: var(--color-primary);
    background: #f3f3f3;
}

/* Scrollable menu contents */

.site-menu__nav {
    flex: 1 1 auto;

    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 0 22px 26px;
}

/* Home link */

.site-menu__home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    min-height: 58px;
    padding: 14px 4px;

    color: var(--color-dark);

    border-bottom: 1px solid #dddddd;

    text-decoration: none;

    font-size: 1rem;
    font-weight: 850;
}

.site-menu__home:hover,
.site-menu__home:focus-visible {
    color: var(--color-primary);
}

/* Product categories */

.product-menu {
    display: block;
}

.product-menu__category {
    border-bottom: 1px solid #dddddd;
}

.product-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    width: 100%;
    min-height: 44px;
    padding: 8px 4px;

    color: var(--color-dark);
    background: transparent;

    border: 0;
    border-radius: 0;

    font-family: inherit;
    font-size: 1rem;
    font-weight: 850;
    text-align: left;

    cursor: pointer;
}

.product-menu__toggle:hover,
.product-menu__toggle:focus-visible {
    color: var(--color-primary);
    background: transparent;
}

.product-menu__arrow {
    flex: 0 0 auto;

    color: var(--color-muted);

    font-size: 1.55rem;
    line-height: 1;

    transition: transform 0.18s ease;
}

.product-menu__toggle[aria-expanded="true"]
.product-menu__arrow {
    transform: rotate(90deg);
}

.product-menu__direct-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 12px 16px;

    color: inherit;
    font: inherit;
    font-weight: 700;
    text-decoration: none;

    transition: background 0.15s ease;
}

.product-menu__direct-link:hover,
.product-menu__direct-link:focus-visible {
    background: rgba(23, 79, 134, 0.08);
}

/* Subcategories */

.product-menu__submenu {
    padding: 0 0 12px 15px;
}

.product-menu__submenu[hidden] {
    display: none;
}

.product-menu__submenu a {
    display: block;

    padding: 6px 12px;

    color: #555555;

    border-left: 3px solid transparent;

    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 650;
}

.product-menu__submenu a:hover,
.product-menu__submenu a:focus-visible {
    color: var(--color-primary);
    background: #f6f6f6;

    border-left-color: var(--color-primary);
}

.product-menu__view-all {
    color: var(--color-primary) !important;
    font-weight: 850 !important;
}

.product-menu__empty {
    margin: 0;
    padding: 10px 12px;

    color: #777777;

    font-size: 0.86rem;
}

/* Bottom menu actions */

.site-menu__mobile-actions {
    display: grid;
    gap: 9px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 2px solid #eeeeee;
}

.site-menu__mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 11px 14px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 8px;

    text-decoration: none;
    text-align: center;

    font-weight: 850;
}

.site-menu__mobile-actions a:hover,
.site-menu__mobile-actions a:focus-visible {
    background: var(--color-primary-dark);
}

.site-menu__mobile-actions .site-menu__essential-link {
    color: #ffffff;
    background: #176b37;
}

.site-menu__mobile-actions .site-menu__essential-link:hover,
.site-menu__mobile-actions .site-menu__essential-link:focus-visible {
    color: #ffffff;
    background: #105429;
}

.site-menu__mobile-actions .site-menu__apply-link {
    color: #ffffff;
    background: var(--color-primary);
}

.site-menu__mobile-actions .site-menu__apply-link:hover,
.site-menu__mobile-actions .site-menu__apply-link:focus-visible {
    color: #ffffff;
    background: var(--color-primary-dark);
}

/* Desktop menu sizing */

@media (min-width: 800px) {
    .site-menu {
        width: min(440px, 40vw);
    }

    .site-menu__header {
        padding-inline: 26px;
    }

    .site-menu__nav {
        padding-inline: 26px;
    }
}

/* ============================================================
   Product detail desktop action spacing
   ============================================================ */

@media (min-width: 760px) {
    .product-detail__actions {
        display: grid;
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(190px, 0.85fr);
        gap: 14px;

        align-items: stretch;
    }

    .product-detail__cart-form {
        width: 100%;
        min-width: 0;
    }

    .product-detail__cart-controls {
        display: grid;
        grid-template-columns: 82px minmax(150px, 1fr);
        gap: 10px;

        width: 100%;
        height: 100%;
    }

    .product-detail__quantity,
    .product-detail__cart-button,
    .product-detail__actions > .button {
        min-height: 54px;
    }

    .product-detail__actions > .button {
        width: 100%;
        margin: 0;
    }
}

/* ============================================================
   Checkout
   ============================================================ */

.checkout-page {
    padding: 30px 0 75px;
    background: #f7f7f7;
}

.checkout-page__header {
    margin-bottom: 24px;
}

.checkout-page__eyebrow {
    margin: 0 0 5px;

    color: var(--color-primary);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.checkout-page__header h1 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1.05;
}

.checkout-page__header > p:last-child {
    max-width: 720px;
    margin: 10px 0 0;

    color: #666666;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.checkout-summary,
.checkout-form-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 15px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.05);
}

.checkout-summary h2,
.checkout-form-card h2 {
    margin-top: 0;
}

.checkout-summary__items {
    display: grid;
    gap: 12px;

    padding-bottom: 16px;

    border-bottom: 1px solid #dddddd;
}

.checkout-summary__item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.checkout-summary__item > div {
    min-width: 0;
}

.checkout-summary__item strong,
.checkout-summary__item span {
    display: block;
}

.checkout-summary__item > div > strong {
    font-size: 0.88rem;
}

.checkout-summary__item span {
    margin-top: 3px;

    color: #777777;
    font-size: 0.75rem;
}

.checkout-coupon {
    margin-top: 18px;
}

.checkout-coupon label {
    display: block;
    margin-bottom: 6px;

    font-size: 0.82rem;
    font-weight: 850;
}

.checkout-coupon__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.checkout-coupon__row input {
    min-width: 0;
    min-height: 46px;
    padding: 9px 11px;

    border: 1px solid #cccccc;
    border-radius: 8px;

    text-transform: uppercase;
}

.checkout-coupon__row button,
.checkout-location-tools button {
    min-height: 46px;
    padding: 9px 14px;

    color: var(--color-primary);
    background: #ffffff;

    border: 1px solid var(--color-primary);
    border-radius: 8px;

    font-weight: 850;
    cursor: pointer;
}

.checkout-coupon__applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 12px;
    padding: 12px;

    color: #176b37;
    background: #edf8f0;

    border: 1px solid #afd5bb;
    border-radius: 9px;
}

.checkout-coupon__applied strong,
.checkout-coupon__applied span {
    display: block;
}

.checkout-coupon__applied span {
    margin-top: 3px;
    font-size: 0.75rem;
}

.checkout-coupon__applied button {
    padding: 0;

    color: var(--color-primary);
    background: transparent;

    border: 0;

    font-weight: 850;
    cursor: pointer;
}

.checkout-summary__totals {
    margin-top: 18px;
}

.checkout-summary__totals > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding: 10px 0;

    border-bottom: 1px solid #eeeeee;
}

.checkout-summary__discount {
    color: #176b37;
}

.checkout-summary__free {
    color: var(--color-primary);
}

.checkout-summary__edit {
    display: block;

    margin-top: 17px;

    color: var(--color-primary);

    text-align: center;
    font-weight: 850;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-field label {
    color: var(--color-dark);

    font-size: 0.82rem;
    font-weight: 850;
}

.checkout-field label span {
    color: #777777;
    font-weight: 500;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
    width: 100%;
    min-height: 49px;
    padding: 10px 12px;

    color: var(--color-dark);
    background: #ffffff;

    border: 1px solid #cccccc;
    border-radius: 8px;
}

.checkout-field textarea {
    min-height: 110px;
    resize: vertical;
}

.checkout-location-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    margin-top: 4px;
}

.checkout-location-tools span {
    color: #666666;

    font-size: 0.77rem;
    line-height: 1.45;
}

.checkout-continue {
    width: 100%;
    margin-top: 20px;
}

@media (min-width: 680px) {
    .checkout-form-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .checkout-field--full {
        grid-column: 1 / -1;
    }

    .checkout-field--state {
        max-width: 150px;
    }
}

@media (min-width: 1000px) {
    .checkout-layout {
        grid-template-columns:
            minmax(300px, 0.75fr)
            minmax(0, 1.25fr);

        align-items: start;
    }

    .checkout-summary {
        position: sticky;
        top: 135px;
    }

    .checkout-form-card {
        padding: 28px;
    }
}

/* ============================================================
   Customer type selection
   ============================================================ */

.customer-type-page {
    padding: 38px 0 80px;
    background: #f7f7f7;
}

.customer-type-page__header {
    max-width: 760px;
    margin: 0 auto 28px;

    text-align: center;
}

.customer-type-page__eyebrow {
    margin: 0 0 7px;

    color: var(--color-primary);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.customer-type-page__header h1 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1.08;
}

.customer-type-page__header > p:last-child {
    margin: 13px 0 0;

    color: #666666;
    line-height: 1.6;
}

.customer-type-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;

    max-width: 900px;
    margin: 0 auto 22px;
}

.customer-type-summary > div {
    padding: 14px 16px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 10px;

    text-align: center;
}

.customer-type-summary span,
.customer-type-summary strong {
    display: block;
}

.customer-type-summary span {
    margin-bottom: 4px;

    color: #777777;
    font-size: 0.75rem;
}

.customer-type-summary strong {
    color: var(--color-dark);
}

.customer-type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;

    max-width: 900px;
    margin-inline: auto;
}

.customer-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0;
    padding: 28px 22px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 16px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);

    text-align: center;
}

.customer-type-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 999px;

    font-size: 1.8rem;
    font-weight: 900;
}

.customer-type-card h2 {
    margin: 17px 0 8px;
}

.customer-type-card p {
    flex: 1;

    margin: 0 0 22px;

    color: #666666;
    line-height: 1.55;
}

.customer-type-card .button {
    width: 100%;
}

.customer-type-page__back {
    display: block;

    width: fit-content;
    margin: 24px auto 0;

    color: var(--color-primary);

    font-weight: 850;
    text-align: center;
}

@media (min-width: 680px) {
    .customer-type-summary {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .customer-type-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .customer-type-card {
        padding: 34px 28px;
    }
}

/* ============================================================
   Application landing page
   ============================================================ */

.application-page {
    min-height: 60vh;
    padding: 40px 0 80px;
    background: #f7f7f7;
}

.application-page__header {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.application-page__eyebrow {
    margin: 0 0 7px;

    color: var(--color-primary);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.application-page__header h1 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1.08;
}

.application-page__header > p:last-child {
    margin: 14px 0 0;

    color: #666666;
    line-height: 1.6;
}

.application-placeholder {
    max-width: 760px;
    margin-inline: auto;
    padding: 26px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 16px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);
}

.application-placeholder h2 {
    margin-top: 0;
}

.application-placeholder__details {
    display: grid;
    gap: 10px;

    margin: 22px 0 0;
}

.application-placeholder__details > div {
    padding: 13px 15px;

    background: #f5f5f5;
    border-radius: 9px;
}

.application-placeholder__details dt {
    color: #777777;

    font-size: 0.75rem;
    font-weight: 750;
}

.application-placeholder__details dd {
    margin: 4px 0 0;

    color: var(--color-dark);
    font-weight: 850;
}

.customer-type-page__saved {
    max-width: 700px;
    margin: 22px auto 0;

    color: #176b37;

    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
}

/* ============================================================
   Checkout submission feedback
   ============================================================ */
/* Checkout submission feedback */

.checkout-continue {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
}

.checkout-continue:disabled {
    opacity: 0.78;
    cursor: wait;
}

.checkout-continue__loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-continue__loading[hidden] {
    display: none !important;
}

.checkout-continue--loading
.checkout-continue__loading {
    display: inline-flex;
}

.checkout-continue--loading
.checkout-continue__text {
    display: none;
}

.checkout-continue__spinner {
    width: 19px;
    height: 19px;

    border: 3px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;

    animation: checkout-button-spin 0.75s linear infinite;
}

@keyframes checkout-button-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================
   FINAL DESKTOP HEADER
   ========================================================== */


@media (min-width:900px) {


    .site-header__main {

        width:calc(100% - 180px);
        max-width:1800px;

        margin:auto;
        padding:12px 0;

    }


    .site-header__desktop-row {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 20px;
    }



    /* Logo */
    
    .site-logo {
        flex: 0 0 220px;
        width: 220px;
        min-width: 220px;
    }    

    .site-logo__image {
        width: 220px;
        height: auto;
        max-width: 220px;
    }



    /* Navigation */

    .desktop-navigation {

        display:flex;

        align-items:center;

        gap:20px;

        flex:0 0 auto;

        white-space:nowrap;

    }


    .desktop-navigation a,
    .desktop-shop-button {

        color:#202124;

        background:none;

        border:0;

        font-size:.9rem;

        font-weight:800;

        cursor:pointer;

        text-decoration:none;

    }


    .desktop-navigation a:hover,
    .desktop-shop-button:hover {

        color:var(--color-primary);

    }



    /* Search */

    .header-search {

        flex:1 1 auto;

        display:flex;

        height:48px;

        margin:0;

        border:1px solid #cccccc;

        border-radius:999px;

        overflow:hidden;

        background:white;

    }


    .header-search input {

        flex:1;

        height:46px;

        border:0;

        outline:none;

        padding:0 20px;

        font-size:.95rem;

    }


    .header-search button {

        width:52px;

        height:48px;

        border:0;

        color:white;

        background:var(--color-primary);

    }



    /* Actions */

    .header-actions {

        display:flex;

        align-items:center;

        gap:15px;

        flex:0 0 auto;

    }



    /* Cart */

    .header-cart-button {

        position:relative;

        width:55px;

        height:55px;

        display:flex;

        align-items:center;

        justify-content:center;

        font-size:30px;

        text-decoration:none;

    }


    .header-cart-button span {

        position:absolute;

        top:0;

        right:0;

        background:var(--color-primary);

        color:white;

        width:22px;

        height:22px;

        border-radius:50%;

        display:flex;

        align-items:center;

        justify-content:center;

        font-size:12px;

        font-weight:bold;

    }



    /* Payment */

    .header-payment-button {

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        color:#202124;

        text-decoration:none;

        font-size:25px;

    }


    .header-payment-button small {

        font-size:11px;

        font-weight:800;

    }



    /* Remove desktop hamburger */

    .menu-button {

        display:none;

    }


}

/* Trust banner */

.site-header__trust-strip {

    display:block;

    background:var(--color-primary-dark);

    color:white;

}


.site-header__trust-inner {

    display:flex;

    justify-content:center;

    gap:16px;

    padding:8px;

    font-size:.82rem;

    font-weight:700;

}

/* ==========================================================
   MOBILE HEADER ONLY
   Hamburger | Centered Logo | Cart
   Full-width search underneath
   ========================================================== */

@media (max-width: 899px) {

    .site-header__main {
        width: calc(100% - 28px);
        margin-inline: auto;
        padding: 10px 0 12px;
    }

    .site-header__desktop-row {
        display: grid;

        grid-template-columns:
            48px
            minmax(0, 1fr)
            48px;

        grid-template-rows:
            56px
            auto;

        align-items: center;

        column-gap: 10px;
        row-gap: 10px;

        width: 100%;
    }

    /* Hide desktop-only items */

    .desktop-navigation,
    .header-payment-button {
        display: none;
    }

    /* Let action buttons participate in the mobile grid */

    .header-actions {
        display: contents;
    }

    /* Hamburger */

    .menu-button {
        grid-column: 1;
        grid-row: 1;

        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        width: 48px;
        height: 48px;
        padding: 0;

        color: var(--color-dark);
        background: transparent;

        border: 0;
        border-radius: 8px;

        cursor: pointer;
    }

    .menu-button__line {
        display: block;

        width: 28px;
        height: 3px;

        background: currentColor;
        border-radius: 999px;
    }

    /* Centered logo */

    .site-logo {
        grid-column: 2;
        grid-row: 1;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-width: 0;
    }

    .site-logo__image {
        display: block;

        width: auto;
        height: 50px;
        max-width: 225px;

        object-fit: contain;
    }

    /* Cart */

    .header-cart-button {
        grid-column: 3;
        grid-row: 1;

        position: relative;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 48px;
        height: 48px;

        font-size: 29px;
        text-decoration: none;
    }

    .header-cart-button span {
        position: absolute;
        top: -2px;
        right: -2px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-width: 21px;
        height: 21px;
        padding: 0 4px;

        color: #ffffff;
        background: var(--color-primary);

        border: 2px solid #ffffff;
        border-radius: 999px;

        font-size: 11px;
        font-weight: 900;
        line-height: 1;
    }

    /* Search row */

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;

        display: block;

        width: 100%;
        min-width: 0;
        height: auto;

        margin: 0;
        padding: 0;

        background: transparent;
        border: 0;
        overflow: visible;
    }

    .header-search__field {
        display: flex;
        align-items: center;

        width: 100%;
        min-height: 50px;

        overflow: hidden;

        background: #ffffff;

        border: 1px solid #a8a8a8;
        border-radius: 8px;

        box-shadow: none;
    }

    .header-search__field:focus-within {
        border-color: var(--color-primary);

        box-shadow:
            0 0 0 3px rgba(178, 31, 45, 0.12);
    }

    .header-search input {
        flex: 1 1 auto;

        width: 100%;
        min-width: 0;
        height: 48px;
        padding: 0 14px;

        color: var(--color-dark);
        background: transparent;

        border: 0;
        outline: 0;

        font-size: 0.9rem;
    }

    .header-search input::placeholder {
        color: #747474;
        font-size: 0.9rem;
    }

    .header-search__button {
        flex: 0 0 50px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 50px;
        height: 48px;
        margin: 0;
        padding: 0;

        color: var(--color-primary);
        background: transparent;

        border: 0;
        border-left: 1px solid #d5d5d5;
        border-radius: 0;

        cursor: pointer;
    }

    .header-search__button:hover,
    .header-search__button:focus-visible {
        color: var(--color-primary-dark);
        background: #f7f7f7;
    }

    .header-search__button svg {
        width: 26px;
        height: 26px;
    }

    /* Mobile already has payment/location links below */

    .site-header__trust-strip {
        display: none;
    }
}

@media (max-width: 699px) {

    .shop-page .shop-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .shop-page .product-card {
        border-radius: 12px;
    }

    .shop-page .product-card__image-link {
        min-height: 145px;
        padding: 8px;
    }

    .shop-page .product-card__image,
    .shop-page .product-card__image-placeholder {
        height: 130px;
    }

    .shop-page .product-card__body {
        padding: 10px;
    }

    .shop-page .product-card__brand {
        font-size: 0.68rem;
    }

    .shop-page .product-card__title {
        font-size: 0.84rem;
        line-height: 1.22;
    }

    .shop-page .product-card__model {
        font-size: 0.66rem;
    }

    .shop-page .product-card__payment {
        grid-template-columns: 1fr;
        gap: 6px;

        margin-top: 9px;
        padding: 7px;
    }

    .shop-page .product-card__payment-amount {
        justify-content: center;
        font-size: 1.25rem;
    }

    .shop-page .product-card__frequency {
        width: 100%;
        min-height: 34px;

        font-size: 0.7rem;
    }

    .shop-page .product-card__details {
        margin-top: 8px;
        font-size: 0.68rem;
    }

    .shop-page .product-card__actions {
        gap: 6px;
        padding-top: 9px;
    }

    .shop-page .product-card__button,
    .shop-page .product-card__cart-button {
        min-height: 38px;
        padding: 7px 6px;

        font-size: 0.7rem;
    }

    .shop-page .product-card__badge {
        top: 6px;
        left: 6px;

        padding: 4px 6px;

        font-size: 0.55rem;
    }
}

/* ==========================================
   Product Deal Badges
   ========================================== */

.product-card__badge--clearance {
    color: #ffffff;
    background: #f57c00;   /* Bright Orange */
}

.product-card__badge--featured {
    color: #ffffff;
    background: #d50000;   /* Bright Red - Hot Buy */
}

.product-card__badge--essential {
    color: #ffffff;
    background: #176b37;   /* Continental Green */
}

.product-card__badge--clearance {
    background: #7b1fa2;
}

.product-card__badge--special {
    background: #d97706;
}

.product-card__badge--on_sale {
    background: #1565c0;
}

.product-card__badge--featured {
    background: #176b37;
}

/* =========================================================
   PUBLIC FOOTER
   ========================================================= */

.site-footer {
    margin-top: 60px;
    background: #252525;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
}

.site-footer__inner {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 52px 0 44px;

    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
    gap: 64px;
    align-items: start;
}


/* Footer link columns */

.site-footer__links {
    display: grid;
    grid-template-columns:
        minmax(140px, 0.8fr)
        minmax(170px, 1fr)
        minmax(190px, 1.15fr)
        minmax(190px, 1fr);
    gap: 38px;
}

.footer-section {
    min-width: 0;
}

.footer-section__title {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    list-style: none;
    cursor: default;
}

.footer-section__title::-webkit-details-marker {
    display: none;
}

.footer-section__content {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-section__content nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-section__content a {
    display: block;
    width: fit-content;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.footer-section__content a:hover,
.footer-section__content a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-subheading {
    margin: 27px 0 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}


/* Store hours */

.footer-hours {
    margin: 0;
}

.footer-hours > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 8px;
    margin-bottom: 5px;
}

.footer-hours dt {
    color: #ffffff;
    font-weight: 700;
}

.footer-hours dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.footer-hours__note {
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}


/* General Manager message */

.footer-message {
    padding-left: 44px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.footer-message__heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-message__name {
    margin: 0;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
}

.footer-message__position {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.2;
}

.footer-message__quote {
    max-width: 450px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-style: normal;
    line-height: 1.48;
}

.footer-message__location-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    margin-top: 25px;
    padding: 11px 22px;

    border: 2px solid #ffffff;
    border-radius: 7px;

    color: #ffffff;
    font-weight: 800;
    text-decoration: none;

    transition:
        background-color 0.18s ease,
        color 0.18s ease;
}

.footer-message__location-button:hover,
.footer-message__location-button:focus-visible {
    background: #ffffff;
    color: #222222;
}

.footer-message__photo {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid rgba(255, 255, 255, 0.95);
    background: #ffffff;
}


/* Bottom copyright bar */

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: #1d1d1d;
}

.site-footer__bottom-inner {
    width: min(1500px, calc(100% - 48px));
    min-height: 68px;
    margin: 0 auto;
    padding: 17px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

/* =========================================================
   FOOTER DESKTOP ONLY
   ========================================================= */

@media (min-width: 761px) {

    .site-footer__links {
        text-align: left;
    }

    .footer-section__title,
    .footer-section__content,
    .footer-section__content nav {
        text-align: left;
        align-items: flex-start;
    }

}



/* =========================================================
   FOOTER TABLET
   ========================================================= */

@media (max-width: 1150px) {

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .site-footer__links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px;
    }

    .footer-message {
        max-width: 760px;
        margin: 0 auto;
        padding: 34px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
    }

}


/* =========================================================
   FOOTER MOBILE ACCORDION
   ========================================================= */

@media (max-width: 760px) {

    .site-footer {
        margin-top: 42px;

        /*
         * Prevent the mobile sticky navigation from covering
         * the final copyright area.
         */
        padding-bottom: 72px;
    }

    .site-footer__inner {
        width: 100%;
        padding: 0;
        display: block;
    }

    .site-footer__links {
        display: block;
    }

    .footer-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .footer-section__title {
        position: relative;
        margin: 0;
        padding: 18px 54px 18px 20px;
        cursor: pointer;
        font-size: 17px;
        user-select: none;
    }

    .footer-section__title::after {
        content: "+";
        position: absolute;
        top: 50%;
        right: 22px;
        transform: translateY(-50%);
        font-size: 25px;
        font-weight: 400;
        line-height: 1;
    }

    .footer-section[open] > .footer-section__title::after {
        content: "−";
    }

    .footer-section__content {
        padding: 0 20px 21px;
        gap: 10px;
    }

    .footer-section__content nav {
        gap: 10px;
    }

    .footer-section__content a {
        width: 100%;
        padding: 2px 0;
        color: rgba(255, 255, 255, 0.9);
    }

    .footer-subheading {
        margin-top: 24px;
    }

    .footer-message {
        margin: 0;
        padding: 34px 22px 38px;
        border-top: 0;
        border-left: 0;
    }

    .footer-message__name {
        font-size: 20px;
    }

    .footer-message__quote {
        font-size: 15px;
        line-height: 1.55;
    }

    .footer-message__location-button {
        width: 100%;
        max-width: 340px;
    }

    .site-footer__bottom-inner {
        width: 100%;
        min-height: 0;
        padding: 22px 20px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        text-align: center;
    }

}

/* ==========================================================
   ONLINE PAYMENT PAGE
   ========================================================== */

.payment-page {
    padding: 34px 0 70px;
    background:
        linear-gradient(
            180deg,
            #f5f7fa 0%,
            #ffffff 100%
        );
}

.payment-page__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: #64748b;
}

.payment-page__breadcrumbs a {
    color: #245a9f;
    text-decoration: none;
}

.payment-page__breadcrumbs a:hover {
    text-decoration: underline;
}

.payment-page__card {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: 52px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.10);
}

.payment-page__header {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

.payment-page__eyebrow {
    margin: 0 0 10px;
    color: #245a9f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.payment-page__header h1 {
    margin: 0;
    color: #d71934;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.08;
}

.payment-page__intro {
    max-width: 620px;
    margin: 18px auto 0;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.65;
}

.payment-page__form {
    width: min(590px, 100%);
    margin: 0 auto;
}

.payment-page__field {
    display: grid;
    gap: 9px;
}

.payment-page__field label {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 800;
}

.payment-page__field select {
    width: 100%;
    min-height: 58px;
    padding: 0 48px 0 16px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    background-color: #ffffff;
    color: #0f172a;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.payment-page__field select:focus {
    border-color: #245a9f;
    outline: 3px solid rgba(36, 90, 159, 0.15);
}

.payment-page__button {
    display: block;
    width: min(340px, 100%);
    min-height: 54px;
    margin: 24px auto 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 800;
}

.payment-page__error {
    width: min(590px, 100%);
    margin: 0 auto 22px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-weight: 700;
    text-align: center;
}

.payment-page__notice {
    width: min(650px, 100%);
    margin: 38px auto 0;
    padding: 25px;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
}

.payment-page__notice h2 {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 1.15rem;
}

.payment-page__notice p {
    margin: 10px 0 0;
    line-height: 1.65;
}

.payment-page__help {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.payment-page__help p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.payment-page__help a {
    display: inline-block;
    margin-top: 8px;
    color: #d71934;
    font-weight: 800;
    text-decoration: none;
}

.payment-page__help a:hover {
    text-decoration: underline;
}

.payment-page__unavailable {
    text-align: center;
}

.payment-page__unavailable h2 {
    margin-top: 0;
    color: #1e293b;
}

.payment-page__unavailable p {
    max-width: 560px;
    margin: 0 auto 24px;
    color: #475569;
    line-height: 1.65;
}

@media (max-width: 700px) {

    .payment-page {
        padding: 20px 0 45px;
    }

    .payment-page__card {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .payment-page__header {
        margin-bottom: 26px;
    }

    .payment-page__intro {
        font-size: 1rem;
    }

    .payment-page__field select {
        min-height: 56px;
    }

    .payment-page__notice {
        padding: 20px;
    }

}

/* =========================================================
   PUBLIC CAREER CENTER
   ========================================================= */

.careers-page {
    background: #f6f7f7;
    color: #202524;
}

.careers-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.careers-hero {
    padding: 42px 0 46px;
    background:
        linear-gradient(
            135deg,
            #075b34,
            #0b7545
        );
    color: #fff;
}

.careers-eyebrow {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.careers-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.08;
}

.careers-hero__intro {
    max-width: 780px;
    margin: 16px 0 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.94);
}

.careers-breadcrumbs {
    border-bottom: 1px solid #dfe4e1;
    background: #fff;
}

.careers-breadcrumbs .careers-container {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    font-size: 0.9rem;
}

.careers-breadcrumbs a {
    color: #075b34;
    font-weight: 700;
    text-decoration: none;
}

.careers-introduction {
    padding: 64px 0;
}

.careers-introduction__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
    gap: 42px;
    align-items: start;
}

.careers-introduction h2,
.careers-section-heading h2,
.careers-equal-opportunity h2 {
    margin: 0 0 18px;
    color: #173229;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.careers-introduction p {
    line-height: 1.75;
}

.careers-benefits-card {
    padding: 30px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(21, 48, 39, 0.1);
}

.careers-benefits-card h2 {
    font-size: 1.45rem;
}

.careers-benefits-card ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding-left: 20px;
}

.careers-openings {
    padding: 64px 0;
    background: #fff;
}

.careers-section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.careers-section-heading p:last-child {
    color: #5f6d68;
    line-height: 1.65;
}

.careers-job-list {
    display: grid;
    gap: 20px;
}

.careers-job-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border: 1px solid #dfe5e2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 48, 39, 0.06);
}

.careers-job-card__heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
}

.careers-job-card__location {
    margin: 0 0 7px;
    color: #087544;
    font-size: 0.88rem;
    font-weight: 800;
}

.careers-job-card h3 {
    margin: 0;
    color: #172f27;
    font-size: 1.55rem;
}

.careers-job-card__type {
    display: inline-flex;
    flex-shrink: 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e8f4ed;
    color: #075b34;
    font-size: 0.82rem;
    font-weight: 800;
}

.careers-job-card__summary {
    max-width: 800px;
    margin: 16px 0 0;
    color: #4e5d58;
    line-height: 1.65;
}

.careers-job-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin: 18px 0 0;
}

.careers-job-card__details div {
    display: flex;
    gap: 7px;
}

.careers-job-card__details dt {
    color: #253c34;
    font-weight: 800;
}

.careers-job-card__details dd {
    margin: 0;
    color: #5d6b66;
}

.careers-job-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
}

.careers-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.careers-button--primary {
    background: #087544;
    color: #fff;
}

.careers-button--primary:hover {
    background: #075f38;
}

.careers-button--secondary {
    border-color: #087544;
    background: #fff;
    color: #087544;
}

.careers-button--secondary:hover {
    background: #eef7f2;
}

.careers-empty-state {
    padding: 44px;
    border: 1px dashed #bdc9c3;
    border-radius: 16px;
    background: #f8faf9;
    text-align: center;
}

.careers-empty-state h3 {
    margin-top: 0;
    color: #173229;
}

.careers-equal-opportunity {
    padding: 55px 0;
}

.careers-equal-opportunity__card {
    padding: 28px;
    border-left: 5px solid #087544;
    border-radius: 10px;
    background: #fff;
}

.careers-equal-opportunity__card h2 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.careers-equal-opportunity__card p {
    margin: 0;
    color: #56635f;
    line-height: 1.65;
}

@media (max-width: 820px) {
    .careers-container {
        width: min(100% - 28px, 1180px);
    }

    .careers-hero {
        padding: 32px 0 36px;
    }
    
    .careers-hero h1 {
        font-size: clamp(1.9rem, 10vw, 2.65rem);
    }
    
    .careers-hero__intro {
        margin-top: 14px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .careers-introduction {
        padding: 44px 0;
    }

    .careers-introduction__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .careers-openings {
        padding: 44px 0;
    }

    .careers-job-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .careers-job-card__heading {
        flex-direction: column;
        gap: 12px;
    }

    .careers-job-card__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .careers-job-card__actions {
        grid-template-columns: 1fr;
    }

    .careers-job-card__details {
        display: grid;
        gap: 10px;
    }

    .careers-job-card__details div {
        display: block;
    }
}

/* =========================================================
   PUBLIC CAREER POSITION
   ========================================================= */

.career-job-page {
    background: #f6f7f7;
    color: #202524;
}

.career-job-hero {
    padding: 28px 0 40px;
    background:
        linear-gradient(
            135deg,
            #075b34,
            #0b7545
        );
    color: #fff;
}

.career-job-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
}

.career-job-breadcrumbs a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.career-job-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
}

.career-job-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
}

.career-job-hero__summary {
    max-width: 820px;
    margin: 18px 0 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
}

.career-job-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.career-job-hero__tags span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.84rem;
    font-weight: 800;
}

.careers-button--light {
    background: #fff;
    color: #075b34;
}

.careers-button--light:hover {
    background: #eef6f1;
}

.career-job-content {
    padding: 52px 0 64px;
}

.career-job-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.career-job-main {
    display: grid;
    gap: 24px;
}

.career-job-section,
.career-job-detail-card,
.career-job-apply-card {
    padding: 28px;
    border: 1px solid #dfe5e2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 48, 39, 0.06);
}

.career-job-section h2,
.career-job-detail-card h2,
.career-job-apply-card h2 {
    margin: 0 0 18px;
    color: #173229;
    font-size: 1.55rem;
}

.career-job-copy {
    color: #4e5d58;
    line-height: 1.75;
}

.career-job-requirements {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
    color: #4e5d58;
    line-height: 1.6;
}

.career-job-sidebar {
    position: sticky;
    top: 120px;
}

.career-job-detail-card dl {
    display: grid;
    gap: 18px;
    margin: 0;
}

.career-job-detail-card dl div {
    padding-bottom: 16px;
    border-bottom: 1px solid #e3e8e5;
}

.career-job-detail-card dl div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.career-job-detail-card dt {
    margin-bottom: 5px;
    color: #6a7772;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.career-job-detail-card dd {
    margin: 0;
    color: #213b32;
    font-weight: 700;
    line-height: 1.5;
}

.career-job-detail-card__button {
    width: 100%;
    margin-top: 24px;
}

.career-job-back-link {
    display: inline-block;
    margin-top: 18px;
    color: #075b34;
    font-weight: 800;
    text-decoration: none;
}

.career-job-apply-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    border-color: #bcd7c8;
    background: #edf7f1;
}

.career-job-apply-card h2 {
    margin-bottom: 8px;
}

.career-job-apply-card p {
    margin: 0;
    color: #52635c;
}

.career-job-not-found {
    padding: 70px 0;
}

.career-job-not-found__card {
    max-width: 700px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 35px rgba(21, 48, 39, 0.1);
}

.career-job-not-found__card h1 {
    margin: 0 0 16px;
    color: #173229;
}

.career-job-not-found__card p {
    margin: 0 0 24px;
    color: #596762;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .career-job-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .career-job-hero__action {
        display: none;
    }

    .career-job-layout {
        grid-template-columns: 1fr;
    }

    .career-job-sidebar {
        position: static;
    }
}

@media (max-width: 620px) {
    .career-job-hero {
        padding: 22px 0 30px;
    }

    .career-job-breadcrumbs {
        margin-bottom: 20px;
    }

    .career-job-hero h1 {
        font-size: 2.1rem;
    }

    .career-job-hero__summary {
        font-size: 1rem;
        line-height: 1.55;
    }

    .career-job-content {
        padding: 34px 0 46px;
    }

    .career-job-section,
    .career-job-detail-card,
    .career-job-apply-card {
        padding: 21px;
    }

    .career-job-apply-card {
        display: grid;
        grid-template-columns: 1fr;
    }

    .career-job-apply-card .careers-button {
        width: 100%;
    }
}

/* =========================================================
   PUBLIC CAREER APPLICATION
   ========================================================= */

.career-apply-page {
    background: #f5f7f6;
    color: #202524;
}

.career-apply-hero {
    padding: 26px 0 34px;
    background: linear-gradient(135deg, #075b34, #0b7545);
    color: #fff;
}

.career-apply-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.1;
}

.career-apply-hero > .careers-container > p:last-child {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.career-apply-content {
    padding: 46px 0 64px;
}

.career-application-form {
    display: grid;
    gap: 24px;
    max-width: 1050px;
    margin: 0 auto;
}

.career-apply-card {
    padding: 28px;
    border: 1px solid #dfe5e2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 48, 39, 0.06);
}

.career-apply-card__heading {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3e8e5;
}

.career-apply-card__heading > span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #087544;
    color: #fff;
    font-weight: 900;
}

.career-apply-card__heading h2 {
    margin: 0 0 5px;
    color: #173229;
    font-size: 1.45rem;
}

.career-apply-card__heading p {
    margin: 0;
    color: #66736f;
}

.career-apply-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.career-apply-grid--spaced {
    margin-top: 24px;
}

.career-apply-field {
    display: grid;
    gap: 7px;
}

.career-apply-field--full {
    grid-column: 1 / -1;
}

.career-apply-field label,
.career-apply-label {
    color: #263c34;
    font-weight: 800;
}

.career-apply-field input,
.career-apply-field select,
.career-apply-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #bcc7c2;
    border-radius: 8px;
    background: #fff;
    color: #202524;
    font: inherit;
}

.career-apply-field textarea {
    min-height: 110px;
    resize: vertical;
}

.career-apply-field input:focus,
.career-apply-field select:focus,
.career-apply-field textarea:focus {
    outline: 3px solid rgba(8, 117, 68, 0.15);
    border-color: #087544;
}

.career-apply-field small {
    color: #6b7773;
    line-height: 1.5;
}

.career-apply-stack {
    display: grid;
    gap: 14px;
}

.career-apply-inline-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.career-apply-check {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    cursor: pointer;
    color: #42514c;
    line-height: 1.5;
}

.career-apply-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #087544;
}

.career-employer-list {
    display: grid;
    gap: 22px;
}

.career-employer-card {
    margin: 0;
    padding: 22px;
    border: 1px solid #ccd5d1;
    border-radius: 12px;
    background: #fafcfb;
}

.career-employer-card legend {
    padding: 0 8px;
    color: #173229;
    font-size: 1.05rem;
    font-weight: 900;
}

.career-apply-statement {
    margin-bottom: 22px;
    padding: 20px;
    border-left: 4px solid #087544;
    border-radius: 8px;
    background: #f0f7f3;
    color: #4c5c56;
    line-height: 1.7;
}

.career-apply-statement p {
    margin-top: 0;
}

.career-apply-statement p:last-child {
    margin-bottom: 0;
}

.career-apply-errors {
    max-width: 1050px;
    margin: 0 auto 24px;
    padding: 18px 20px;
    border: 1px solid #d99b9b;
    border-radius: 10px;
    background: #fff0f0;
    color: #8e2020;
}

.career-apply-errors ul {
    margin-bottom: 0;
}

.career-apply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.career-apply-actions button {
    cursor: pointer;
    font: inherit;
}

.career-apply-confirmation,
.career-apply-not-found {
    padding: 70px 0;
}

.career-apply-message-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 35px rgba(21, 48, 39, 0.1);
}

.career-apply-message-card h1 {
    margin: 0 0 16px;
    color: #173229;
}

.career-apply-message-card p {
    color: #596762;
    line-height: 1.7;
}

.career-apply-confirmation__number {
    margin: 24px 0;
    padding: 14px;
    border-radius: 8px;
    background: #edf7f1;
}


/* =========================================================
   COMPACT DESKTOP CAREER APPLICATION
   ========================================================= */

@media (min-width: 721px) {
    .career-application-form {
        gap: 16px;
    }

    .career-apply-content {
        padding-top: 30px;
        padding-bottom: 48px;
    }

    .career-apply-card {
        padding: 20px 24px;
    }

    .career-apply-card__heading {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .career-apply-card__heading > span {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 0.9rem;
    }

    .career-apply-card__heading h2 {
        font-size: 1.3rem;
    }

    .career-apply-card__heading p {
        font-size: 0.9rem;
    }

    .career-apply-grid {
        gap: 14px 18px;
    }

    .career-apply-grid--spaced {
        margin-top: 18px;
    }

    .career-apply-field {
        gap: 5px;
    }

    .career-apply-field input,
    .career-apply-field select {
        min-height: 42px;
        padding: 8px 11px;
    }

    .career-apply-field textarea {
        min-height: 88px;
        padding: 9px 11px;
    }

    .career-apply-stack {
        gap: 10px;
    }

    .career-employer-list {
        gap: 14px;
    }

    .career-employer-card {
        padding: 17px 20px;
    }

    .career-apply-statement {
        margin-bottom: 16px;
        padding: 15px 18px;
    }

    .career-apply-statement p {
        margin-bottom: 10px;
    }
}


@media (max-width: 720px) {
    .career-apply-content {
        padding: 32px 0 48px;
    }

    .career-apply-card {
        padding: 20px;
    }

    .career-apply-grid {
        grid-template-columns: 1fr;
    }

    .career-apply-field--full {
        grid-column: auto;
    }

    .career-apply-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .career-apply-actions .careers-button {
        width: 100%;
    }

    .career-employer-card {
        padding: 17px;
    }
}

@media (max-width: 480px) {
    .career-apply-hero {
        padding: 20px 0 28px;
    }

    .career-apply-hero h1 {
        font-size: 2rem;
    }

    .career-apply-card__heading {
        align-items: center;
    }

    .career-apply-card__heading p {
        display: none;
    }

    .career-apply-message-card {
        padding: 28px 20px;
    }
}

/*  Adding to try and fix admin display */

/*
|--------------------------------------------------------------------------
| Compact Admin Layout
|--------------------------------------------------------------------------
*/

.admin-content {
    padding: 22px 24px 36px;
}

.page-heading {
    margin-bottom: 18px;
}

.page-heading h2 {
    margin: 0 0 5px;
    font-size: 1.65rem;
    line-height: 1.15;
}

.page-heading p {
    margin: 0;
    line-height: 1.4;
}

.page-heading-actions {
    gap: 16px;
}

.card {
    margin-bottom: 18px;
    padding: 18px;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 13px;
}

.form-group label {
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    min-height: 40px;
    padding: 8px 10px;
}

.form-group textarea {
    min-height: 90px;
}

.form-group small {
    display: block;
    margin-top: 4px;
    line-height: 1.3;
}

.btn {
    min-height: 38px;
    padding: 8px 13px;
}

.admin-table th,
.admin-table td {
    padding: 9px 10px;
    vertical-align: middle;
}

.alert {
    margin-bottom: 14px;
    padding: 11px 13px;
}

@media (max-width: 760px) {
    .admin-content {
        padding: 16px 14px 28px;
    }

    .card {
        padding: 15px;
    }
}

/* Special Order product deal pill */
.product-card__badge--special_order {
    color: #1e3a8a;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 999px;
}
/* =========================================================
   HOMEPAGE LAUNCH SECTIONS
   Announcement, featured carousel, tire feature, brands,
   and tire shopping steps
   ========================================================= */

/* Homepage announcement */

.homepage-announcement {
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            var(--color-primary-dark),
            var(--color-primary)
        );
}

.homepage-announcement__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 46px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.homepage-announcement__message {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;

    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.homepage-announcement__label {
    display: inline-flex;
    align-items: center;

    min-height: 24px;
    padding: 3px 9px;

    color: var(--color-primary-dark);
    background: #ffffff;

    border-radius: 999px;

    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.homepage-announcement__link {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #ffffff;
    text-decoration: none;

    font-size: 0.88rem;
    font-weight: 900;
    white-space: nowrap;
}

.homepage-announcement__link:hover,
.homepage-announcement__link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Featured product carousel */

.featured-products {
    padding: 42px 0 52px;
    overflow: hidden;
    background: #f7f7f7;
}

.featured-products__heading-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-products__controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-products__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    padding: 0;

    color: var(--color-dark);
    background: #ffffff;

    border: 1px solid #d4d4d4;
    border-radius: 999px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);

    font-size: 1.8rem;
    line-height: 1;

    cursor: pointer;
}

.featured-products__arrow:hover,
.featured-products__arrow:focus-visible {
    color: #ffffff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.featured-products__arrow:disabled {
    opacity: 0.42;
    cursor: default;
}

.featured-products-carousel {
    position: relative;
}

.featured-products-carousel__viewport {
    width: 100%;
    padding: 2px 2px 16px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;

    touch-action: pan-x pan-y pinch-zoom;
}

.featured-products-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.featured-products-carousel__viewport:focus-visible {
    outline: 3px solid rgba(178, 31, 45, 0.22);
    outline-offset: 5px;
    border-radius: 14px;
}

.featured-products-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 18px;
}

.featured-products-carousel__track > .product-card {
    min-width: 0;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Override the old featured grid rules. */

.product-card-grid--featured {
    display: block;
    margin: 0;
    padding: 0;
    overflow: visible;
}

@media (min-width: 620px) {
    .featured-products-carousel__track {
        grid-auto-columns:
            calc((100% - 18px) / 2);
    }
}

@media (min-width: 1050px) {
    .featured-products-carousel__track {
        grid-auto-columns:
            calc((100% - 54px) / 4);
    }
}

/* Tire feature hero */

.homepage-tires {
    padding: 58px 0 32px;
    background: #ffffff;
}

.homepage-tires__card {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr);

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fff7f8 0%,
            #ffffff 58%,
            #ffffff 100%
        );

    border: 1px solid #eadadd;
    border-radius: 24px;

    box-shadow:
        0 18px 48px rgba(62, 25, 30, 0.12);
}

.homepage-tires__card::before {
    content: "";

    position: absolute;
    top: -170px;
    left: -150px;

    width: 380px;
    height: 380px;

    background: rgba(178, 31, 45, 0.07);
    border-radius: 50%;
}

.homepage-tires__content {
    position: relative;
    z-index: 2;

    padding: 34px 24px 30px;
}

.homepage-tires__eyebrow {
    margin: 0 0 9px;

    color: var(--color-primary);

    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.homepage-tires h2 {
    max-width: 620px;
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.homepage-tires__intro {
    max-width: 650px;
    margin: 18px 0 0;

    color: #5e5e5e;

    font-size: 1.02rem;
    line-height: 1.65;
}

.homepage-tires__benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;

    margin: 23px 0 0;
    padding: 0;

    list-style: none;
}

.homepage-tires__benefits li {
    position: relative;

    min-height: 28px;
    padding-left: 34px;

    color: #303030;

    font-size: 0.93rem;
    font-weight: 800;
}

.homepage-tires__benefits li::before {
    content: "✓";

    position: absolute;
    top: -1px;
    left: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    color: #ffffff;
    background: #176b37;

    border-radius: 50%;

    font-size: 0.8rem;
    font-weight: 900;
}

.homepage-tires__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;

    margin-top: 26px;
}

.homepage-tires__button {
    width: 100%;
}

.homepage-tires__fine-print {
    margin: 13px 0 0;

    color: #777777;

    font-size: 0.78rem;
    font-weight: 700;
}

.homepage-tires__visual {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    min-height: 340px;
    padding: 15px 18px 0;

    overflow: hidden;
    background: #ffffff;
}

.homepage-tires__visual::before {
    content: "";

    position: absolute;
    top: 8%;
    right: -8%;

    width: 90%;
    height: 90%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(178, 31, 45, 0.09) 0%,
            rgba(178, 31, 45, 0.025) 58%,
            transparent 75%
        );
}

.homepage-tires__image-backdrop {
    display: none;
}

.homepage-tires__image {
    position: relative;
    z-index: 2;

    width: min(100%, 610px);
    height: auto;

    object-fit: contain;
}

.homepage-tires__payment-card {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 3;

    padding: 11px 14px;

    color: #ffffff;
    background: rgba(32, 33, 36, 0.92);

    border-radius: 10px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.17);
}

.homepage-tires__payment-card span,
.homepage-tires__payment-card strong {
    display: block;
}

.homepage-tires__payment-card span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.homepage-tires__payment-card strong {
    margin-top: 2px;
    font-size: 0.9rem;
}

@media (min-width: 560px) {
    .homepage-tires__benefits {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .homepage-tires__actions {
        display: flex;
        flex-wrap: wrap;
    }

    .homepage-tires__button {
        width: auto;
    }
}

@media (min-width: 920px) {

    .homepage-tires {
        padding-top: 72px;
    }

    .homepage-tires__card {
        position: relative;

        display: grid;
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(380px, 0.95fr);

        align-items: stretch;
        overflow: hidden;

        background:
            linear-gradient(
                120deg,
                #ffffff 0%,
                #ffffff 48%,
                #f7f7f8 100%
            );

        border: 1px solid #dedede;
        border-top: 5px solid var(--color-primary);
        border-radius: 24px;

        box-shadow:
            0 16px 40px rgba(0, 0, 0, 0.10);
    }

    .homepage-tires__card::before {
        content: "";

        position: absolute;
        top: 0;
        right: -80px;
        bottom: 0;

        width: 48%;

        background:
            linear-gradient(
                135deg,
                rgba(178, 31, 45, 0) 0%,
                rgba(178, 31, 45, 0.035) 55%,
                rgba(178, 31, 45, 0.10) 100%
            );

        transform: skewX(-10deg);
        transform-origin: bottom right;

        pointer-events: none;
    }

    .homepage-tires__content {
        align-self: center;
        padding: 54px 20px 54px 54px;
    }

    .homepage-tires__visual {
        min-height: 430px;
        padding: 30px 26px 0 10px;

        background: transparent;
    }

    .homepage-tires__image {
        width: min(100%, 620px);
        max-height: 470px;

        object-fit: contain;
    }

    .homepage-tires__payment-card {
        right: 32px;
        bottom: 32px;
    }
}

/* Tire brand marquee */

.tire-brands {
    padding: 18px 0 54px;
    overflow: hidden;
    background: #ffffff;
}

.tire-brands__marquee {
    position: relative;

    width: 100%;
    overflow: hidden;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 6%,
            #000 94%,
            transparent
        );
    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 6%,
            #000 94%,
            transparent
        );
}
/*  Adjust Tire Brand Logo scroll here */
.tire-brands__track {
    display: flex;
    width: max-content;

    animation: tire-brand-scroll 24s linear infinite;
}

.tire-brands__group {
    display: flex;
    align-items: stretch;
    gap: 16px;

    padding-right: 16px;
}

.tire-brands__logo-card {
    flex: 0 0 178px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 178px;
    height: 92px;
    padding: 18px;

    background: #ffffff;

    border: 1px solid #e0e0e0;
    border-radius: 14px;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
}

.tire-brands__logo-card img {
    width: 100%;
    max-height: 54px;
    object-fit: contain;
}

.tire-brands__marquee:hover .tire-brands__track,
.tire-brands__marquee:focus-within .tire-brands__track {
    animation-play-state: paused;
}

@keyframes tire-brand-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 800px) {
    .tire-brands__group {
        gap: 22px;
        padding-right: 22px;
    }

    .tire-brands__logo-card {
        flex-basis: 220px;
        width: 220px;
        height: 108px;
        padding: 22px;
    }

    .tire-brands__logo-card img {
        max-height: 62px;
    }
}

/* Tire steps */

.tire-steps {
    padding: 46px 0 58px;
    background: #f6f7f8;
}

.tire-steps__heading {
    max-width: 760px;
    margin: 0 auto 29px;
    text-align: center;
}

.tire-steps__heading h2 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(1.8rem, 6vw, 2.8rem);
    line-height: 1.08;
}

.tire-steps__heading > p:last-child {
    margin: 13px 0 0;

    color: #666666;
    line-height: 1.6;
}

.tire-steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;

    margin: 0;
    padding: 0;

    list-style: none;
    counter-reset: none;
}

.tire-step-card {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 15px;

    min-width: 0;
    padding: 20px;

    background: #ffffff;

    border: 1px solid #dddddd;
    border-radius: 15px;

    box-shadow: 0 5px 17px rgba(0, 0, 0, 0.05);
}

.tire-step-card__number {
    flex: 0 0 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 50%;

    font-size: 1rem;
    font-weight: 900;
}

.tire-step-card h3 {
    margin: 1px 0 6px;

    color: var(--color-dark);
    font-size: 1.02rem;
}

.tire-step-card p {
    margin: 0;

    color: #666666;
    font-size: 0.88rem;
    line-height: 1.5;
}

.tire-steps__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    margin-top: 30px;
    text-align: center;
}

.tire-steps__text-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 850;
}

.tire-steps__text-link:hover,
.tire-steps__text-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (min-width: 650px) {
    .tire-steps__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1050px) {
    .tire-steps__grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .tire-step-card {
        display: block;
        min-height: 165px;
        padding: 20px;
    }

    .tire-step-card:not(:last-child)::after {
        content: "›";

        position: absolute;
        top: 50%;
        right: -18px;
        z-index: 3;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 34px;
        height: 34px;

        color: var(--color-primary);
        background: #f6f7f8;

        border-radius: 50%;

        font-size: 1.8rem;
        font-weight: 700;

        transform: translateY(-50%);
    }

    .tire-step-card h3 {
        margin-top: 13px;
    }
}

@media (max-width: 700px) {
    .homepage-announcement__inner {
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .homepage-announcement__message {
        justify-content: flex-start;
        text-align: left;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .homepage-announcement__label {
        display: none;
    }

    .homepage-announcement__link {
        font-size: 0.76rem;
    }

    .featured-products {
        padding-top: 34px;
        padding-bottom: 42px;
    }

    .homepage-section-heading {
        align-items: center;
    }

    .featured-products__heading-actions {
        gap: 9px;
    }

    .featured-products__controls {
        display: none;
    }

    .homepage-tires {
        padding-top: 42px;
    }

    .homepage-tires__payment-card {
        right: 12px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .featured-products-carousel__viewport {
        scroll-behavior: auto;
    }

    .tire-brands__track {
        animation: none;
        transform: none;
    }

    .tire-brands__marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .tire-brands__group[aria-hidden="true"] {
        display: none;
    }
}

/* =========================================================
   HOMEPAGE MOBILE CLEANUP
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------------------
       A. Featured products: two visible on mobile
       ----------------------------------------------------- */

    .featured-products-carousel__track {
        grid-auto-columns:
            calc((100% - 10px) / 2);

        gap: 10px;
    }

    .featured-products-carousel__track > .product-card {
        border-radius: 12px;
    }

    .featured-products-carousel__track
    .product-card__image-link {
        min-height: 132px;
        padding: 7px;
    }

    .featured-products-carousel__track
    .product-card__image,
    .featured-products-carousel__track
    .product-card__image-placeholder {
        height: 120px;
    }

    .featured-products-carousel__track
    .product-card__body {
        padding: 10px;
    }

    .featured-products-carousel__track
    .product-card__brand {
        font-size: 0.67rem;
    }

    .featured-products-carousel__track
    .product-card__title {
        font-size: 0.82rem;
        line-height: 1.24;
    }

    .featured-products-carousel__track
    .product-card__model {
        font-size: 0.65rem;
    }

    .featured-products-carousel__track
    .product-card__payment {
        grid-template-columns: 1fr;
        gap: 6px;

        margin-top: 9px;
        padding: 7px;
    }

    .featured-products-carousel__track
    .product-card__payment-amount {
        justify-content: center;
        font-size: 1.25rem;
    }

    .featured-products-carousel__track
    .product-card__frequency {
        min-height: 35px;
        font-size: 0.7rem;
    }

    .featured-products-carousel__track
    .product-card__frequency-note {
        font-size: 0.64rem;
        text-align: center;
    }

    .featured-products-carousel__track
    .product-card__details {
        margin-top: 8px;
        font-size: 0.68rem;
    }

    .featured-products-carousel__track
    .product-card__actions {
        gap: 6px;
        padding-top: 9px;
    }

    .featured-products-carousel__track
    .product-card__button,
    .featured-products-carousel__track
    .product-card__cart-button {
        min-height: 38px;
        padding: 7px 5px;

        font-size: 0.7rem;
    }

    .featured-products-carousel__track
    .product-card__badge {
        top: 6px;
        left: 6px;

        padding: 4px 6px;

        font-size: 0.53rem;
    }


    /* -----------------------------------------------------
       B. Make the mobile tire hero feel like one card
       ----------------------------------------------------- */

    .homepage-tires {
        padding-top: 32px;
        padding-bottom: 16px;
    }

    .homepage-tires__card {
        border-radius: 18px;
    }

    .homepage-tires__content {
        padding:
            26px
            18px
            8px;
    }

    .homepage-tires h2 {
        font-size:
            clamp(
                1.65rem,
                8vw,
                2.15rem
            );

        line-height: 1.08;
    }

    .homepage-tires__intro {
        margin-top: 13px;

        font-size: 0.9rem;
        line-height: 1.5;
    }

    .homepage-tires__benefits {
        gap: 7px;
        margin-top: 17px;
    }

    .homepage-tires__benefits li {
        min-height: 23px;
        padding-left: 29px;

        font-size: 0.78rem;
    }

    .homepage-tires__benefits li::before {
        width: 20px;
        height: 20px;

        font-size: 0.68rem;
    }

    .homepage-tires__actions {
        gap: 8px;
        margin-top: 18px;
    }

    .homepage-tires__button {
        min-height: 44px;
        padding: 9px 12px;

        font-size: 0.82rem;
    }

    .homepage-tires__fine-print {
        margin-top: 9px;
        font-size: 0.67rem;
    }

    .homepage-tires__visual {
        min-height: 250px;
        margin-top: -8px;
        padding: 0 8px;

        background: transparent;
    }

    .homepage-tires__visual::before {
        top: 3%;
        right: 0;

        width: 100%;
        height: 100%;
    }

    .homepage-tires__image {
        width: min(100%, 390px);
        max-height: 285px;

        object-fit: contain;
    }

    .homepage-tires__payment-card {
        right: 10px;
        bottom: 10px;

        padding: 8px 10px;
    }

    .homepage-tires__payment-card span {
        font-size: 0.58rem;
    }

    .homepage-tires__payment-card strong {
        font-size: 0.76rem;
    }


    /* -----------------------------------------------------
       C. Tire brand logos: approximately 25% smaller
       ----------------------------------------------------- */

    .tire-brands {
        padding-top: 10px;
        padding-bottom: 36px;
    }

    .tire-brands__group {
        gap: 12px;
        padding-right: 12px;
    }

    .tire-brands__logo-card {
        flex-basis: 134px;

        width: 134px;
        height: 69px;
        padding: 12px;

        border-radius: 10px;
    }

    .tire-brands__logo-card img {
        max-height: 41px;
    }


    /* -----------------------------------------------------
       D. Tire steps: two-by-two mobile grid
       ----------------------------------------------------- */

    .tire-steps {
        padding:
            38px
            0
            48px;
    }

    .tire-steps__heading {
        margin-bottom: 21px;
    }

    .tire-steps__heading h2 {
        font-size:
            clamp(
                1.55rem,
                7vw,
                2rem
            );
    }

    .tire-steps__heading > p:last-child {
        margin-top: 9px;
        font-size: 0.85rem;
    }

    .tire-steps__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .tire-step-card {
        display: block;

        min-height: 172px;
        padding: 14px;

        border-radius: 12px;
    }

    .tire-step-card__number {
        width: 32px;
        height: 32px;
        flex-basis: 32px;

        font-size: 0.85rem;
    }

    .tire-step-card h3 {
        margin: 10px 0 5px;

        font-size: 0.88rem;
        line-height: 1.25;
    }

    .tire-step-card p {
        font-size: 0.74rem;
        line-height: 1.4;
    }
}


/*
 * Very narrow phones need one tire-step card per row.
 */
@media (max-width: 350px) {

    .tire-steps__grid {
        grid-template-columns: 1fr;
    }

    .tire-step-card {
        min-height: 0;
    }
}

/* =========================================================
   FINAL COMPACT MOBILE TIRE HERO
   ========================================================= */

@media (max-width: 700px) {

    .homepage-tires {
        padding: 26px 0 12px;
    }

    .homepage-tires__card {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            142px;

        grid-template-areas:
            "eyebrow visual"
            "heading visual"
            "benefits benefits"
            "actions actions";

        column-gap: 4px;
        align-items: center;

        overflow: hidden;

        background:
            linear-gradient(
                135deg,
                #fff7f8 0%,
                #ffffff 58%,
                #f7f7f8 100%
            );

        border: 1px solid #e3d5d8;
        border-top: 4px solid var(--color-primary);
        border-radius: 17px;

        box-shadow:
            0 10px 28px rgba(62, 25, 30, 0.10);
    }

    /*
     * The content wrapper no longer needs its own box.
     * Its children become part of the main grid.
     */
    .homepage-tires__content {
        display: contents;
    }

    .homepage-tires__card::before {
        top: -120px;
        left: -135px;

        width: 300px;
        height: 300px;

        background: rgba(178, 31, 45, 0.055);
    }

    /* Eyebrow */

    .homepage-tires__eyebrow {
        grid-area: eyebrow;

        position: relative;
        z-index: 3;

        margin: 0;
        padding:
            17px
            0
            5px
            16px;

        font-size: 0.61rem;
        line-height: 1.2;
        letter-spacing: 0.1em;
    }

    /* Main message */

    .homepage-tires h2 {
        grid-area: heading;

        position: relative;
        z-index: 3;

        max-width: 220px;
        margin: 0;
        padding:
            0
            4px
            13px
            16px;

        font-size: 1.28rem;
        line-height: 1.06;
        letter-spacing: -0.025em;
    }

    /*
     * The headline and benefits tell the story sufficiently
     * on a small screen.
     */
    .homepage-tires__intro {
        display: none;
    }

    /* Tire image */

    .homepage-tires__visual {
        grid-area: visual;

        position: relative;
        align-self: stretch;

        display: flex;
        align-items: flex-end;
        justify-content: center;

        width: 100%;
        height: 165px;
        min-height: 0;

        margin: 0;
        padding: 0;

        overflow: hidden;

        background:
            linear-gradient(
                135deg,
                rgba(247, 247, 248, 0) 0%,
                #eeeeef 48%,
                #e7e7e8 100%
            );
    }

    .homepage-tires__visual::before {
        display: none;
    }

    .homepage-tires__image-backdrop {
        display: none;
    }

    .homepage-tires__image {
        position: relative;
        z-index: 2;

        width: 205px;
        max-width: none;
        max-height: none;
        height: auto;

        object-fit: contain;

        transform:
            translate(
                -17px,
                11px
            );

        mix-blend-mode: multiply;
    }

    .homepage-tires__payment-card {
        display: none;
    }

    /* All four benefits remain visible */

    .homepage-tires__benefits {
        grid-area: benefits;

        position: relative;
        z-index: 4;

        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px 10px;

        margin: 0;
        padding:
            12px
            15px
            13px;

        background: rgba(255, 255, 255, 0.76);
        border-top: 1px solid rgba(178, 31, 45, 0.10);
    }

    /*
     * Explicitly restore every list item in case an older
     * mobile rule is still cached.
     */
    .homepage-tires__benefits li,
    .homepage-tires__benefits li:nth-child(2),
    .homepage-tires__benefits li:nth-child(4) {
        display: block;
    }

    .homepage-tires__benefits li {
        min-height: 18px;
        padding-left: 23px;

        color: #303030;

        font-size: 0.69rem;
        line-height: 1.25;
        font-weight: 800;
    }

    .homepage-tires__benefits li::before {
        top: 0;

        width: 17px;
        height: 17px;

        font-size: 0.56rem;
    }

    /* Lead buttons */

    .homepage-tires__actions {
        grid-area: actions;

        position: relative;
        z-index: 4;

        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;

        margin: 0;
        padding:
            2px
            14px
            14px;
    }

    .homepage-tires__button {
        width: 100%;
        min-width: 0;
        min-height: 43px;

        padding: 8px 5px;

        font-size: 0.73rem;
        line-height: 1.15;
    }

    .homepage-tires__fine-print {
        display: none;
    }
}

@media (max-width: 370px) {

    .homepage-tires__card {
        grid-template-columns:
            minmax(0, 1fr)
            124px;
    }

    .homepage-tires h2 {
        font-size: 1.16rem;
    }

    .homepage-tires__visual {
        height: 158px;
    }

    .homepage-tires__image {
        width: 190px;

        transform:
            translate(
                -18px,
                10px
            );
    }

    .homepage-tires__benefits {
        gap: 7px;
        padding-inline: 12px;
    }

    .homepage-tires__benefits li {
        font-size: 0.64rem;
    }

    .homepage-tires__button {
        font-size: 0.67rem;
    }
}

/* =========================================================
   FINAL MOBILE TIRE WIDTH ADJUSTMENT
   Wider tire image, narrower text area
   ========================================================= */

@media (min-width: 371px) and (max-width: 700px) {

    .homepage-tires__card {
        grid-template-columns:
            minmax(0, 1fr)
            172px;

        column-gap: 0;
    }

    .homepage-tires__eyebrow {
        padding-left: 14px;
        padding-right: 2px;
    }

    .homepage-tires h2 {
        max-width: 175px;

        padding-left: 14px;
        padding-right: 2px;

        font-size: 1.17rem;
        line-height: 1.04;
    }

    .homepage-tires__visual {
        height: 170px;
    }

    .homepage-tires__image {
        width: 245px;

        transform:
            translate(
                -31px,
                11px
            );
    }
}


/* Smaller phones */

@media (max-width: 370px) {

    .homepage-tires__card {
        grid-template-columns:
            minmax(0, 1fr)
            148px;
    }

    .homepage-tires__eyebrow {
        padding-left: 12px;
    }

    .homepage-tires h2 {
        max-width: 150px;

        padding-left: 12px;
        padding-right: 1px;

        font-size: 1.06rem;
        line-height: 1.04;
    }

    .homepage-tires__visual {
        height: 158px;
    }

    .homepage-tires__image {
        width: 220px;

        transform:
            translate(
                -29px,
                10px
            );
    }
}

/* =========================================================
   iPHONE / MODERN MOBILE TIRE HERO TWEAK
   Wider tire image, narrower text column
   ========================================================= */

@media (min-width: 380px) and (max-width: 430px) {

    .homepage-tires__card {
        grid-template-columns:
            minmax(0, 1fr)
            168px;

        column-gap: 0;
    }

    .homepage-tires__eyebrow {
        padding:
            16px
            0
            5px
            14px;

        font-size: 0.60rem;
    }

    .homepage-tires h2 {
        max-width: 165px;

        padding:
            0
            2px
            12px
            14px;

        font-size: 1.18rem;
        line-height: 1.02;
        letter-spacing: -0.03em;
    }

    .homepage-tires__visual {
        height: 172px;
    }

    .homepage-tires__image {
        width: 230px;

        transform:
            translate(
                -24px,
                10px
            );
    }
}
/* =========================================================
   PRODUCT SALE PRICING + COMPACT PRODUCT ADMIN
   Added August 2026
   ========================================================= */

/* Public product cards */
.product-card--sale .product-card__payment {
    background: #fff5f5;
    border: 1px solid #ffd1d1;
}

.product-card__payment-copy {
    min-width: 0;
}

.product-card__regular-payment {
    margin-bottom: 4px;
    color: #707070;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-card__regular-payment span:last-child,
.product-card__regular-cash {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.product-card__sale-label {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 6px;
    color: #b91c1c;
    background: #fee2e2;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.product-card__payment-amount--sale,
.product-card__sale-cash {
    color: #c81e1e;
}

.product-card__regular-cash {
    display: inline !important;
    margin-right: 5px;
    color: #777777;
    font-weight: 600;
}

.product-card__sale-cash {
    display: inline !important;
    font-weight: 900;
}

/* Public product detail */
.product-detail__payment--sale {
    background: #fff5f5;
    border-color: #ffc9c9;
}

.product-detail__regular-payment {
    margin-bottom: 7px;
    color: #6f6f6f;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-detail__regular-payment span:last-child,
.product-detail__regular-value {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.product-detail__payment-price--sale {
    color: #c81e1e;
}

.product-detail__sale-label {
    align-self: center;
    margin-right: 7px !important;
    padding: 4px 7px;
    color: #ffffff;
    background: #c81e1e;
    border-radius: 6px;
    font-size: 0.66rem !important;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
}

.product-detail__pricing-grid .product-detail__regular-value {
    margin: 5px 0 2px;
    color: #777777;
    font-size: 0.8rem;
    font-weight: 650;
}

.product-detail__pricing-grid .product-detail__sale-value {
    color: #c81e1e;
    font-weight: 900;
}

/* Product admin index */
.product-admin-page .product-admin-heading {
    margin-bottom: 12px;
}

.product-admin-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 12px;
}

.product-admin-tools a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    color: inherit;
    background: #ffffff;
    border: 1px solid #dde3e8;
    border-radius: 9px;
    text-decoration: none;
}

.product-admin-tools a:hover,
.product-admin-tools a:focus-visible {
    border-color: var(--color-primary);
}

.product-admin-tools strong {
    color: var(--color-primary);
    font-size: 1.05rem;
}

.product-admin-tools span {
    font-size: 0.82rem;
    font-weight: 800;
}

.product-filter-card--compact {
    margin-bottom: 12px;
    padding: 13px 15px;
}

.product-filter-card--compact .product-filter-grid {
    gap: 10px;
}

.product-filter-card--compact .form-group {
    margin-bottom: 8px;
}

.product-filter-card--compact .product-filter-actions {
    margin-top: 3px;
}

.product-catalog-card__heading h3,
.product-catalog-card__heading p {
    margin-top: 0;
}

.product-catalog-card__heading p {
    margin-bottom: 10px;
}

.product-admin-table td {
    vertical-align: top;
}

.product-table-meta--internal {
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.72rem;
}

.admin-sale-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.admin-sale-price__regular {
    color: #777777;
    font-size: 0.78rem;
    text-decoration: line-through;
}

.admin-sale-price strong {
    color: #c81e1e;
}

/* Add / Edit product */
.product-editor .product-form-section {
    margin-bottom: 12px;
    padding: 15px 17px;
}

.product-editor .product-form-section > h3,
.product-editor .product-section-heading h3 {
    margin: 0 0 9px;
}

.product-section-heading p {
    margin: -3px 0 11px;
    color: #667085;
    font-size: 0.8rem;
}

.product-editor .form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 12px;
}

.product-editor .form-group {
    min-width: 0;
    margin-bottom: 0;
}

.product-editor .form-group.full-width {
    grid-column: 1 / -1;
}

.product-editor textarea {
    min-height: 78px;
}

.product-editor #long_description {
    min-height: 110px;
}

.field-optional {
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 650;
}

.product-pricing-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-price-panel {
    min-width: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid #dce3e8;
    border-radius: 10px;
}

.product-price-panel legend {
    padding: 0 5px;
    font-size: 0.88rem;
    font-weight: 900;
}

.product-price-panel--sale {
    background: #fffafa;
    border-color: #f2c5c5;
}

.product-price-panel--sale legend,
.calculated-payment--sale {
    color: #b91c1c;
}

.product-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 10px;
}

.product-sale-help {
    margin: 0 0 9px;
    color: #6b4a4a;
    font-size: 0.76rem;
    line-height: 1.35;
}

.product-promotion-grid {
    margin-top: 11px;
}

@media (max-width: 1050px) {
    .product-editor .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-pricing-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .product-admin-tools {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .product-admin-tools a {
        flex-direction: column;
        gap: 1px;
        padding: 7px 4px;
    }

    .product-editor .form-grid,
    .product-price-grid {
        grid-template-columns: 1fr;
    }

    .product-editor .form-group.full-width {
        grid-column: auto;
    }

    .product-card__regular-payment {
        text-align: center;
    }

    .product-card__sale-label {
        display: table;
        margin-right: auto;
        margin-left: auto;
    }
}

/* =========================================================
   FINAL SALE PRODUCT CARD
   Desktop promotion treatment
   ========================================================= */

/*
 * Sale cash pricing anywhere on the product card.
 */
.product-card--sale .product-card__regular-cash {
    color: #777777;
}

.product-card--sale .product-card__sale-cash {
    color: #d71934 !important;
    font-weight: 900;
}


/*
 * If the On Sale banner is selected in Admin,
 * make that ribbon bright red too.
 */
.product-card__badge--on_sale {
    color: #ffffff;
    background: #e0001b;

    box-shadow:
        0 3px 9px rgba(180, 0, 20, 0.22);
}


/* =========================================================
   DESKTOP / TABLET SALE PAYMENT
   ========================================================= */

@media (min-width: 700px) {

    /*
     * Bright promotional panel.
     *
     * Row 1 = original payment
     * Row 2 = sale payment + frequency selector
     */
    .product-card--sale .product-card__payment {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            116px;

        grid-template-rows:
            auto
            auto;

        align-items: center;

        column-gap: 10px;
        row-gap: 7px;

        margin-top: 18px;
        padding: 11px 12px 12px;

        color: #ffffff;

        background:
            linear-gradient(
                135deg,
                #e0001b 0%,
                #c31629 100%
            );

        border: 1px solid #b91021;
        border-left: 0;

        border-radius: 10px;

        box-shadow:
            0 5px 13px rgba(178, 31, 45, 0.18);
    }


    /*
     * Let children of payment-copy participate
     * directly in the payment container's grid.
     *
     * This is what prevents $19.99 from running
     * underneath the Weekly selector.
     */
    .product-card--sale
    .product-card__payment-copy {
        display: contents;
    }


    /*
     * Original payment gets the entire first row.
     */
    .product-card--sale
    .product-card__regular-payment {
        grid-column: 1 / -1;
        grid-row: 1;

        display: flex;
        align-items: baseline;
        gap: 3px;

        margin: 0;

        color: rgba(255, 255, 255, 0.82);

        font-size: 0.67rem;
        font-weight: 750;
        line-height: 1;

        white-space: nowrap;
    }

    .product-card--sale
    .product-card__regular-payment span:last-child {
        color: rgba(255, 255, 255, 0.78);

        text-decoration: line-through;
        text-decoration-thickness: 1.5px;
    }


    /*
     * No duplicate SALE pill.
     * The top ribbon is the promotion label.
     */
    .product-card--sale
    .product-card__sale-label {
        display: none !important;
    }


    /*
     * Main sale payment.
     */
    .product-card--sale
    .product-card__payment-amount--sale {
        grid-column: 1;
        grid-row: 2;

        display: flex;
        align-items: baseline;

        min-width: 0;
        margin: 0;

        color: #ffffff !important;

        font-size: 1.82rem;
        font-weight: 950;
        line-height: 1;

        letter-spacing: -0.025em;

        white-space: nowrap;
    }

    .product-card--sale
    .product-card__payment-amount--sale
    > span:first-child {
        margin-right: 2px;

        font-size: 0.95rem;
        font-weight: 900;
    }


    /*
     * Frequency selector gets its own guaranteed
     * column. It cannot overlap the payment.
     */
    .product-card--sale
    .product-card__frequency {
        grid-column: 2;
        grid-row: 2;

        width: 116px;
        min-width: 116px;
        min-height: 46px;

        padding: 7px 8px;

        color: #202124;
        background: #ffffff;

        border: 0;
        border-radius: 8px;

        box-shadow:
            0 1px 4px rgba(0, 0, 0, 0.16);

        font-weight: 850;
    }


    /*
     * Keep the note underneath understated.
     */
    .product-card--sale
    .product-card__frequency-note {
        color: #777777;
    }
}

/* =========================================================
   FINAL PRODUCT BADGES + MOBILE SALE
   August 2026
   Keep this at the VERY BOTTOM of public.css
   ========================================================= */


/* ---------------------------------------------------------
   ALL PRODUCT BADGES
   Cleaner compact pill style
   --------------------------------------------------------- */

.product-card__badge {
    top: 12px;
    left: 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 7px 14px;

    color: #ffffff;

    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.18);

    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;

    letter-spacing: 0.07em;
    text-transform: uppercase;

    white-space: nowrap;
}


/* ON SALE - matches the sale payment panel */

.product-card__badge--on_sale {
    color: #ffffff;
    background: #e0001b;

    box-shadow:
        0 4px 11px rgba(224, 0, 27, 0.28);
}


/* CLEARANCE */

.product-card__badge--clearance {
    color: #ffffff;
    background: #f57c00;

    box-shadow:
        0 4px 11px rgba(245, 124, 0, 0.25);
}


/* SPECIAL */

.product-card__badge--special {
    color: #ffffff;
    background: #7b1fa2;

    box-shadow:
        0 4px 11px rgba(123, 31, 162, 0.24);
}


/* SPECIAL ORDER */

.product-card__badge--special_order {
    color: #174f86;
    background: #e8f2ff;

    border-color: #ffffff;

    box-shadow:
        0 4px 10px rgba(23, 79, 134, 0.16);
}


/* HOT BUY */

.product-card__badge--featured {
    color: #ffffff;
    background: #b21f2d;

    box-shadow:
        0 4px 11px rgba(178, 31, 45, 0.26);
}


/* ESSENTIAL */

.product-card__badge--essential {
    color: #ffffff;
    background: #176b37;

    box-shadow:
        0 4px 11px rgba(23, 107, 55, 0.24);
}


/* =========================================================
   MOBILE SALE PAYMENT
   Same promotion language as desktop, but stacked
   so narrow cards never collide.
   ========================================================= */

@media (max-width: 699px) {

    .shop-page
    .product-card--sale
    .product-card__payment {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;

        gap: 7px;

        margin-top: 9px;
        padding: 9px;

        color: #ffffff;

        background:
            linear-gradient(
                135deg,
                #e0001b 0%,
                #c31629 100%
            );

        border: 1px solid #b91021;
        border-radius: 9px;

        box-shadow:
            0 4px 10px rgba(178, 31, 45, 0.17);
    }


    /*
     * Restore the wrapper on mobile.
     * Desktop uses display: contents.
     */
    .shop-page
    .product-card--sale
    .product-card__payment-copy {
        display: flex;

        flex-direction: column;
        align-items: center;

        gap: 4px;

        min-width: 0;
    }


    /* Original payment */

    .shop-page
    .product-card--sale
    .product-card__regular-payment {
        margin: 0;

        color: rgba(255, 255, 255, 0.82);

        font-size: 0.56rem;
        font-weight: 750;
        line-height: 1;

        text-align: center;
        white-space: nowrap;
    }

    .shop-page
    .product-card--sale
    .product-card__regular-payment span:last-child {
        color: rgba(255, 255, 255, 0.78);

        text-decoration: line-through;
        text-decoration-thickness: 1.25px;
    }


    /* No duplicate SALE label */

    .shop-page
    .product-card--sale
    .product-card__sale-label {
        display: none !important;
    }


    /* Main sale price */

    .shop-page
    .product-card--sale
    .product-card__payment-amount--sale {
        display: flex;
        align-items: baseline;
        justify-content: center;

        width: 100%;
        margin: 0;

        color: #ffffff !important;

        font-size: 1.4rem;
        font-weight: 950;
        line-height: 1;

        letter-spacing: -0.02em;

        white-space: nowrap;
    }

    .shop-page
    .product-card--sale
    .product-card__payment-amount--sale
    > span:first-child {
        margin-right: 2px;

        font-size: 0.75rem;
    }


    /* Frequency selector gets its own row */

    .shop-page
    .product-card--sale
    .product-card__frequency {
        width: 100%;
        min-width: 0;
        min-height: 34px;

        padding: 6px 7px;

        color: #202124;
        background: #ffffff;

        border: 0;
        border-radius: 7px;

        box-shadow:
            0 1px 4px rgba(0, 0, 0, 0.15);

        font-size: 0.68rem;
        font-weight: 850;
    }


    /*
     * Smaller badge pill for two-column mobile cards.
     */
    .shop-page .product-card__badge {
        top: 6px;
        left: 6px;

        min-height: 25px;
        padding: 5px 8px;

        border-width: 1.5px;

        font-size: 0.49rem;
        letter-spacing: 0.055em;
    }
}

/* =========================================================
   PRODUCT DETAIL SALE POLISH
   Add to the VERY BOTTOM of public.css
   ========================================================= */

.product-detail__payment--sale {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #e0001b 0%,
            #c31629 100%
        );
    border: 1px solid #b91021;
    box-shadow:
        0 7px 18px rgba(178, 31, 45, 0.18);
}

.product-detail__payment--sale
.product-detail__payment-label {
    color: #ffffff;
}

.product-detail__payment--sale
.product-detail__regular-payment {
    color: rgba(255, 255, 255, 0.84);
}

.product-detail__payment--sale
.product-detail__regular-payment span:last-child {
    color: rgba(255, 255, 255, 0.80);
}

.product-detail__payment--sale
.product-detail__payment-row {
    grid-template-columns:
        minmax(0, 1fr)
        minmax(190px, 0.9fr);
    gap: 14px;
}

.product-detail__payment--sale
.product-detail__payment-price--sale {
    color: #ffffff !important;
}

.product-detail__payment--sale
.product-detail__frequency {
    color: #202124;
    background: #ffffff;
    border: 0;
    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.16);
}

.product-detail__pricing-grid
.product-detail__sale-value {
    color: #d71934;
    font-weight: 900;
}

.product-detail__pricing-grid
.product-detail__regular-value {
    color: #777777;
}

@media (max-width: 620px) {
    .product-detail__payment--sale
    .product-detail__payment-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-detail__payment--sale
    .product-detail__payment-price {
        justify-content: center;
    }

    .product-detail__payment--sale
    .product-detail__regular-payment {
        text-align: center;
    }

    .product-detail__payment--sale
    .product-detail__frequency {
        width: 100%;
    }
}

/* =========================================================
   PRODUCT DETAIL TITLE SIZE
   ========================================================= */

.product-detail__information h1 {
    font-size: clamp(
        1.4rem,
        4.5vw,
        2.1rem
    );

    line-height: 1.12;
    letter-spacing: -0.02em;
}

/*
|--------------------------------------------------------------------------
| Saved Spin to Win coupon
|--------------------------------------------------------------------------
*/

.saved-coupon-dock {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1500;
    width: min(340px, calc(100vw - 32px));
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.saved-coupon-dock[hidden] {
    display: none !important;
}

.saved-coupon-dock__eyebrow {
    margin-bottom: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.saved-coupon-dock__prize {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.saved-coupon-dock__code-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.saved-coupon-dock__code-row code {
    flex: 1 1 auto;
    padding: 9px 11px;
    border: 1px dashed rgba(0, 0, 0, 0.28);
    border-radius: 10px;
    background: #f7f8fa;
    color: #111111;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: center;
}

.saved-coupon-dock__copy,
.cart-saved-coupon__copy,
.spin-popup-copy-coupon {
    border: 0;
    border-radius: 10px;
    padding: 10px 13px;
    background: #111111;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.saved-coupon-dock__copy:hover,
.cart-saved-coupon__copy:hover,
.spin-popup-copy-coupon:hover {
    opacity: 0.88;
}

.saved-coupon-dock__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 9px;
    font-size: 0.82rem;
}

.saved-coupon-dock__footer span {
    color: #657080;
}

.saved-coupon-dock__footer a {
    font-weight: 800;
    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Cart saved coupon card
|--------------------------------------------------------------------------
*/

.cart-saved-coupon {
    margin: 0 0 18px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 14px;
    background: #f7f8fa;
}

.cart-saved-coupon[hidden] {
    display: none !important;
}

.cart-saved-coupon__eyebrow {
    margin-bottom: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cart-saved-coupon__prize {
    margin-bottom: 10px;
    font-size: 1rem;
}

.cart-saved-coupon__code-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-saved-coupon__code-row code {
    flex: 1 1 auto;
    padding: 9px 10px;
    border: 1px dashed rgba(0, 0, 0, 0.25);
    border-radius: 9px;
    background: #ffffff;
    color: #111111;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-align: center;
}

.cart-saved-coupon p {
    margin: 10px 0 0;
    font-size: 0.85rem;
    line-height: 1.4;
}


/*
|--------------------------------------------------------------------------
| Spin popup winner saved message
|--------------------------------------------------------------------------
*/

.spin-popup-coupon-saved {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f7f8fa;
    text-align: center;
}

.spin-popup-coupon-saved strong,
.spin-popup-coupon-saved span {
    display: block;
}

.spin-popup-coupon-saved span {
    margin-top: 3px;
    font-size: 0.86rem;
}

.spin-popup-copy-coupon {
    display: block;
    width: 100%;
    margin-top: 10px;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 700px) {
    .saved-coupon-dock {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        padding: 12px 13px;
        border-radius: 14px;
    }

    .saved-coupon-dock__prize {
        font-size: 0.95rem;
    }

    .saved-coupon-dock__code-row code {
        font-size: 0.92rem;
    }

    .saved-coupon-dock__footer {
        font-size: 0.78rem;
    }
}

/* Hide floating saved coupon on mobile.
   Coupon is still saved and will still display in the cart. */
@media (max-width: 700px) {
    .saved-coupon-dock {
        display: none !important;
    }
}

/* =========================================================
   V.I.P. COLLECTION
   Compact Value Item Program banner
   ========================================================= */

.shop-page--vip {
    padding-top: 20px;
}


/* ---------------------------------------------------------
   Compact banner
   --------------------------------------------------------- */

.vip-collection-banner {
    position: relative;

    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: 30px;

    min-height: 145px;

    margin-bottom: 24px;
    padding: 22px 28px;

    overflow: hidden;

    background:
        linear-gradient(
            105deg,
            #ffffff 0%,
            #ffffff 68%,
            #f5f5f5 100%
        );

    border: 1px solid #dddddd;
    border-top: 4px solid var(--color-primary);
    border-radius: 16px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.07);
}


/* Small subtle background accent */

.vip-collection-banner::before {
    content: "";

    position: absolute;
    top: -75px;
    left: -65px;

    width: 180px;
    height: 180px;

    background:
        rgba(178, 31, 45, 0.045);

    border-radius: 50%;

    pointer-events: none;
}


/* ---------------------------------------------------------
   Brand
   --------------------------------------------------------- */

.vip-collection-banner__brand {
    position: relative;
    z-index: 2;

    min-width: 275px;
}


.vip-collection-banner__label {
    display: inline-flex;

    margin-bottom: 7px;
    padding: 4px 9px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 999px;

    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.10em;
}


.vip-collection-banner h1 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(
        2rem,
        3.4vw,
        3rem
    );

    line-height: 1;

    letter-spacing: -0.04em;
}


/* ---------------------------------------------------------
   Message
   --------------------------------------------------------- */

.vip-collection-banner__message {
    position: relative;
    z-index: 2;

    padding-left: 28px;

    border-left:
        1px solid #dedede;
}


.vip-collection-banner__message strong {
    display: block;

    max-width: 570px;

    color: var(--color-primary);

    font-size: 1.05rem;
    line-height: 1.35;
}


.vip-collection-banner__message p {
    max-width: 570px;

    margin:
        6px
        0
        0;

    color: #666666;

    font-size: 0.82rem;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   Small VIP mark
   --------------------------------------------------------- */

.vip-collection-banner__mark {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-width: 145px;
    min-height: 82px;

    padding: 13px 18px;

    color: var(--color-primary);

    background: #ffffff;

    border:
        2px solid
        rgba(178, 31, 45, 0.22);

    border-radius: 12px;

    text-align: center;
}


.vip-collection-banner__mark span {
    font-size: 1.85rem;
    font-weight: 950;
    line-height: 1;

    letter-spacing: -0.04em;
}


.vip-collection-banner__mark small {
    margin-top: 5px;

    color: #777777;

    font-size: 0.52rem;
    font-weight: 850;

    letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   Results immediately below banner
   --------------------------------------------------------- */

.vip-results-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.vip-results-header h2 {
    margin: 0;

    color: var(--color-dark);

    font-size: clamp(
        1.55rem,
        3vw,
        2.2rem
    );

    line-height: 1.08;
}


.vip-results-header
.shop-page__eyebrow {
    margin-bottom: 3px;
}


.vip-results-header
.shop-page__intro {
    margin-top: 6px;
    font-size: 0.88rem;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .vip-collection-banner {
        grid-template-columns:
            minmax(0, 1fr)
            auto;

        gap: 14px;

        min-height: 0;

        padding: 20px;

        margin-bottom: 21px;
    }


    .vip-collection-banner__brand {
        min-width: 0;
    }


    .vip-collection-banner h1 {
        font-size:
            clamp(
                2rem,
                9vw,
                2.75rem
            );
    }


    .vip-collection-banner__message {
        grid-column: 1 / -1;

        padding:
            12px
            0
            0;

        border-top:
            1px solid #e3e3e3;

        border-left: 0;
    }


    .vip-collection-banner__message strong {
        font-size: 0.93rem;
    }


    .vip-collection-banner__message p {
        font-size: 0.78rem;
    }


    .vip-collection-banner__mark {
        min-width: 105px;
        min-height: 70px;

        padding: 10px;
    }


    .vip-collection-banner__mark span {
        font-size: 1.5rem;
    }


    .vip-collection-banner__mark small {
        font-size: 0.45rem;
    }

}


/* ---------------------------------------------------------
   Phones
   --------------------------------------------------------- */

@media (max-width: 520px) {

    .shop-page--vip {
        padding-top: 15px;
    }


    .shop-page--vip
    .shop-breadcrumbs {
        margin-bottom: 12px;
    }


    .vip-collection-banner {
        grid-template-columns:
            minmax(0, 1fr)
            88px;

        padding: 16px;

        border-radius: 14px;
    }


    .vip-collection-banner__label {
        font-size: 0.52rem;
    }


    .vip-collection-banner h1 {
        font-size: 2rem;
    }


    .vip-collection-banner__mark {
        min-width: 88px;
        min-height: 62px;

        padding: 8px 5px;
    }


    .vip-collection-banner__mark span {
        font-size: 1.3rem;
    }


    .vip-collection-banner__mark small {
        display: none;
    }


    .vip-collection-banner__message {
        padding-top: 10px;
    }


    .vip-collection-banner__message strong {
        font-size: 0.86rem;
    }


    /*
     * The secondary sentence is expendable on
     * small phones. Products are more important.
     */
    .vip-collection-banner__message p {
        display: none;
    }


    .vip-results-header {
        gap: 8px;
        margin-bottom: 15px;
    }


    .vip-results-header h2 {
        font-size: 1.35rem;
    }


    .vip-results-header
    .shop-page__intro {
        font-size: 0.76rem;
    }


    .vip-results-header
    .shop-page__count {
        padding: 5px 8px;
        font-size: 0.64rem;
    }

}

/* =========================================================
   V.I.P. COLLECTION - FINAL GREEN BRANDING
   ========================================================= */

.shop-page--vip {
    --vip-green: #176b37;
    --vip-green-dark: #105429;
}


/* Banner top accent */

.shop-page--vip
.vip-collection-banner {
    border-top-color: var(--vip-green);

    box-shadow:
        0 8px 24px rgba(23, 107, 55, 0.08);
}


/* Very subtle green background accent */

.shop-page--vip
.vip-collection-banner::before {
    background:
        rgba(23, 107, 55, 0.055);
}


/* VALUE ITEM PROGRAM pill */

.shop-page--vip
.vip-collection-banner__label {
    color: #ffffff;
    background: var(--vip-green);
}


/* Main payment-plan statement */

.shop-page--vip
.vip-collection-banner__message strong {
    color: var(--vip-green);
}


/* Right-side V.I.P. box */

.shop-page--vip
.vip-collection-banner__mark {
    color: var(--vip-green);

    border-color:
        rgba(23, 107, 55, 0.28);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5faf7 100%
        );
}


/* Small text beneath V.I.P. */

.shop-page--vip
.vip-collection-banner__mark small {
    color: var(--vip-green-dark);
}


/* V.I.P. COLLECTION eyebrow above products */

.shop-page--vip
.shop-page__eyebrow {
    color: var(--vip-green);
}