/* Pilot Storefront Editor — homepage styles */

.pilot-configurable-homepage--standard {
    padding-left: max(24px, calc((100vw - 1180px) / 2));
    padding-right: max(24px, calc((100vw - 1180px) / 2));
}

.pilot-homepage-h1--standalone {
    color: var(--pilot-home-pill-text, #3d4350);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.pilot-homepage-section, .pilot-homepage-banner {
    background: #fff;
    border: 1px solid #e1e4ea;
    border-radius: var(--pilot-home-radius);
    box-shadow: 0 8px 24px rgba(20, 31, 54, .06);
    padding: 28px;
}

.pilot-configurable-homepage > .pilot-homepage-section.pilot-homepage-section--open {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.pilot-configurable-homepage > .pilot-homepage-section.pilot-homepage-section--open .pilot-homepage-section__header {
    padding-left: 0;
    padding-right: 0;
}

.pilot-homepage-hero, .pilot-homepage-hero--wide-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.pilot-homepage-hero__copy {
    align-content: center;
    display: grid;
    justify-items: start;
    max-width: 920px;
    padding: 48px clamp(48px, 8vw, 150px) 64px;
}

.pilot-homepage-hero--wide-single .pilot-homepage-hero__tiles {
    display: none;
}

.pilot-homepage-hero h2 {
    color: #11131a;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 660px;
}

.pilot-homepage-hero p {
    color: #252936;
    font-size: 18px;
    margin: 0 0 26px;
}

.pilot-homepage-link-context {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.pilot-homepage-button {
    align-items: center;
    border-radius: 9px;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    text-decoration: none;
}

.pilot-homepage-button--dark {
    background: #11131a;
    color: #fff;
}

.pilot-homepage-button--light {
    background: #fff;
    color: #11131a;
}

.pilot-homepage-text-link {
    color: #11131a;
    font-weight: 600;
    margin-top: 30px;
    text-decoration: underline;
}

.pilot-homepage-placeholder, .pilot-homepage-banner > div:last-child span {
    background: linear-gradient(135deg, #f5f5f5, #e5e6e8);
    border-radius: 12px;
    display: block;
}

.pilot-homepage-dots {
    bottom: 24px;
    display: flex;
    gap: 8px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.pilot-homepage-dots b, .pilot-homepage-dots i {
    background: #c8c9cd;
    border-radius: 50%;
    display: block;
    height: 9px;
    width: 9px;
}

.pilot-homepage-dots b {
    background: #11131a;
}

.pilot-homepage-section__header {
    align-items: start;
    border-bottom: 1px solid #e6e7ea;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 20px;
}

.pilot-homepage-section__header h2, .pilot-homepage-banner h2, .pilot-homepage-categories > h2 {
    color: #11131a;
    font-size: clamp(24px, 2.2vw, 36px);
    line-height: 1.1;
    margin: 0;
}

.pilot-homepage-section__header p, .pilot-homepage-banner p {
    color: #3d4350;
    margin: 7px 0 0;
}

.pilot-homepage-horizontal::-webkit-scrollbar, .pilot-homepage-story-row::-webkit-scrollbar {
    display: none;
}

.pilot-homepage-story-row {
    display: grid;
    gap: 18px;
    grid-auto-columns: minmax(170px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    position: relative;
    scrollbar-width: none;
}

.pilot-homepage-story-row article {
    display: grid;
    min-width: 170px;
}

.pilot-homepage-story-row .pilot-homepage-placeholder {
    min-height: 245px;
}

.pilot-homepage-story-row strong {
    color: #11131a;
    margin-top: 12px;
}

.pilot-homepage-story-row small {
    color: #4c5260;
    margin-top: 6px;
}

.pilot-homepage-scroll-button {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(15, 25, 45, .15);
    color: #11131a;
    display: flex;
    font-size: 28px;
    height: 44px;
    justify-content: center;
    position: sticky;
    right: 4px;
    top: 45%;
    width: 44px;
    z-index: 2;
}

.pilot-homepage-banner h2, .pilot-homepage-banner p {
    color: inherit;
}

.pilot-homepage-banner > div:first-child > strong {
    background: #fff;
    border-radius: 999px;
    color: #11131a;
    display: inline-block;
    margin-top: 22px;
    padding: 13px 20px;
}

.pilot-homepage-banner > div:last-child {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}

.pilot-homepage-banner > div:last-child span {
    min-height: 160px;
}

.pilot-homepage-categories {
    padding: 22px 24px 28px;
}

.pilot-homepage-categories > h2 {
    font-size: 25px;
    margin-bottom: 16px;
}

.pilot-homepage-categories > div {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.pilot-homepage-categories a {
    color: #11131a;
    text-decoration: none;
}

.pilot-homepage-categories small {
    display: block;
    margin-top: 8px;
}

.pilot-configurable-homepage {
    --pilot-home-bg: #f7f8fa;
    --pilot-home-accent: #075be8;
    --pilot-home-accent-text: #fff;
    --pilot-home-radius: 20px;
    --pilot-home-gap: 24px;
    background: var(--pilot-home-bg);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--pilot-home-gap);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 24px max(24px, calc((100vw - 1440px) / 2));
    --pilot-home-pill-bg: #fff;
    --pilot-home-pill-text: #071b39;
    --pilot-home-tile-bg: #f3f7ff;
    --pilot-home-banner-radius: 20px;
    --pilot-home-pill-radius: 999px;
    --pilot-home-tile-radius: 12px;
}

.pilot-homepage-banner--no-tiles {
    grid-template-columns: 1fr;
}

.pilot-homepage-banner__pill, a.pilot-homepage-banner__pill {
    align-items: center;
    background: var(--pilot-home-pill-bg);
    border-radius: var(--pilot-home-pill-radius);
    color: var(--pilot-home-pill-text);
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    margin-top: 22px;
    min-height: 44px;
    padding: 0 20px;
    text-decoration: none;
}

.pilot-homepage-banner__tile img {
    border-radius: inherit;
    clip-path: inset(0 round var(--pilot-home-tile-radius, 12px));
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.pilot-homepage-hero-slide {
    display: none;
    min-height: 430px;
    overflow: hidden;
    position: relative;
}

.pilot-homepage-hero-slide.is-active {
    display: block;
}

.pilot-homepage-hero-slide>img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.pilot-homepage-hero-slide:after {
    background: linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.45) 52%,rgba(255,255,255,.05));
    content: "";
    inset: 0;
    position: absolute;
}

.pilot-homepage-hero-slide--center:after {
    background: rgba(255,255,255,.55);
}

.pilot-homepage-hero-slide--right:after {
    background: linear-gradient(270deg,rgba(255,255,255,.94),rgba(255,255,255,.45) 52%,rgba(255,255,255,.05));
}

.pilot-homepage-hero-slide .pilot-homepage-hero__copy {
    min-height: 430px;
    position: relative;
    z-index: 2;
}

.pilot-homepage-hero-slide--center .pilot-homepage-hero__copy {
    justify-items: center;
    margin: auto;
    text-align: center;
}

.pilot-homepage-hero-slide--right .pilot-homepage-hero__copy {
    justify-items: end;
    margin-left: auto;
    text-align: right;
}

.pilot-homepage-hero-slider .pilot-homepage-dots {
    bottom: 14px;
    gap: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.pilot-homepage-hero-slider .pilot-homepage-dots button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    padding: 0;
    width: 28px;
}

.pilot-homepage-hero-slider .pilot-homepage-dots button::before {
    background: #c8c9cd;
    border-radius: 50%;
    content: "";
    display: block;
    height: 9px;
    width: 9px;
}

.pilot-homepage-hero-slider .pilot-homepage-dots button.is-active::before {
    background: #11131a;
}

.pilot-homepage-hero-slider {
    display: block !important;
    padding: 0 !important;
    position: relative;
    --pilot-hero-radius: 20px;
    border-radius: var(--pilot-hero-radius);
    overflow: hidden;
}

.pilot-homepage-hero-slide::after {
    background: var(--pilot-hero-overlay, linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.78) 21%, rgba(255,255,255,.30) 30%, rgba(255,255,255,0) 38%));
}

.pilot-homepage-hero-slide .pilot-homepage-hero__copy h2 {
    color: var(--pilot-hero-heading-color, #071b39);
    font-size: var(--pilot-hero-heading-size, 48px);
    text-shadow: var(--pilot-hero-heading-shadow, none);
}

.pilot-homepage-hero-slide .pilot-homepage-hero__copy p {
    color: var(--pilot-hero-subtitle-color, #071b39);
    font-size: var(--pilot-hero-subtitle-size, 18px);
    text-shadow: var(--pilot-hero-subtitle-shadow, none);
}

.pilot-homepage-hero-slide .pilot-homepage-button, .pilot-homepage-hero-slide .pilot-homepage-button--dark {
    background: var(--pilot-hero-button-bg, #0b4dcc);
    border-radius: var(--pilot-hero-button-radius, 8px);
    color: var(--pilot-hero-button-text, #fff);
}

.pilot-homepage-promo-tile {
    align-content: center;
    background: var(--pilot-home-accent);
    border-radius: 16px;
    color: var(--pilot-home-accent-text);
    display: grid;
    min-height: 380px;
    padding: 22px;
    align-self: start;
    background: var(--pilot-featured-bg, var(--pilot-home-accent));
    border: var(--pilot-featured-border-width, 0) solid var(--pilot-featured-border, transparent);
    border-radius: var(--pilot-featured-radius, 16px);
    color: var(--pilot-featured-text, var(--pilot-home-accent-text));
    min-height: var(--pilot-featured-promo-height, 300px);
}

.pilot-homepage-promo-tile .pilot-homepage-promo-title {
    font-size: 28px;
    line-height: 1.1;
    margin: 0 0 18px;
    color: inherit;
    font-size: var(--pilot-featured-heading-size, 28px);
}

.pilot-homepage-promo-tile p {
    line-height: 1.45;
    margin: 0 0 24px;
    color: inherit;
    font-size: var(--pilot-featured-text-size, 15px);
}

.pilot-homepage-promo-tile .pilot-homepage-button {
    justify-self: start;
    background: var(--pilot-featured-button-bg, #fff);
    border-radius: var(--pilot-featured-button-radius, 8px);
    color: var(--pilot-featured-button-text, #071b39);
}

.pilot-homepage-promo-tile .pilot-homepage-button:hover, .pilot-homepage-promo-tile .pilot-homepage-button:focus, .pilot-homepage-promo-tile .pilot-homepage-button:active {
    background: var(--pilot-featured-button-bg, #fff);
    color: var(--pilot-featured-button-text, #071b39);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pilot-homepage-product-card .pilot-homepage-placeholder.has-image {
    background: #fff;
    overflow: hidden;
    padding: 12px;
}

.pilot-homepage-hero-arrow {
    background: rgba(255,255,255,.9);
    border: 1px solid #d8dee8;
    border-radius: 50%;
    display: flex;
    font-size: 30px;
    height: 44px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    z-index: 4;
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(17, 19, 26, .12);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .16);
    box-sizing: border-box;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    height: 50px;
    justify-content: center;
    line-height: 0;
    margin: 0;
    padding: 0;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
    width: 50px;
}

.pilot-homepage-hero-arrow svg {
    display: block;
    fill: none;
    height: 22px;
    overflow: visible;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
    width: 22px;
}

.pilot-homepage-hero-arrow:hover {
    background: var(--pilot-home-accent);
    border-color: transparent;
    box-shadow: 0 14px 34px rgba(17, 24, 39, .24);
    color: var(--pilot-home-accent-text);
    transform: translateY(-50%) scale(1.055);
}

.pilot-homepage-hero-arrow:active {
    box-shadow: 0 7px 18px rgba(17, 24, 39, .2);
    transform: translateY(-50%) scale(.98);
}

.pilot-homepage-hero-arrow:focus-visible {
    box-shadow: 0 0 0 4px rgba(7, 91, 232, .22), 0 10px 30px rgba(17, 24, 39, .16);
    outline: 0;
}

.pilot-homepage-hero-arrow--prev {
    left: 18px;
    left: 24px;
}

.pilot-homepage-hero-arrow--next {
    right: 18px;
    right: 24px;
}

.pilot-homepage-product-card:hover {
    border-color: rgba(11, 77, 204, .24);
    box-shadow: 0 14px 32px rgba(20, 31, 54, .12);
    transform: none;
}

.pilot-homepage-product-card .pilot-homepage-placeholder {
    min-height: 230px;
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: var(--pilot-featured-product-radius, 12px);
    display: flex;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
    padding: 8px;
}

.pilot-homepage-product-card .pilot-homepage-placeholder img {
    display: block;
    height: 100%;
    max-height: 204px;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.pilot-homepage-product-card > b {
    align-self: end;
    color: #11131a;
    font-size: 18px;
    margin-top: 18px;
    font-size: 19px;
    margin-top: 16px;
}

.pilot-homepage-hero-slider .pilot-homepage-hero-arrow {
    -webkit-appearance: none;
    align-items: center !important;
    appearance: none;
    background: var(--pilot-hero-arrow-bg, var(--pilot-home-accent)) !important;
    border: 1px solid var(--pilot-hero-arrow-border, var(--pilot-home-accent)) !important;
    border-radius: var(--pilot-hero-arrow-radius, 14px) !important;
    box-shadow: 0 9px 24px rgba(17, 24, 39, .18) !important;
    box-sizing: border-box;
    color: var(--pilot-hero-arrow-text, var(--pilot-home-accent-text)) !important;
    display: grid !important;
    font-size: 0 !important;
    height: 46px !important;
    justify-content: center !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
}

.pilot-homepage-hero-slider .pilot-homepage-hero-arrow svg {
    height: 22px !important;
    overflow: visible;
    transform: none !important;
    width: 22px !important;
    display: block !important;
    fill: none !important;
    height: 19px !important;
    margin: 0 !important;
    overflow: visible !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-width: 2.3 !important;
    width: 19px !important;
}

.pilot-homepage-hero-slider .pilot-homepage-hero-arrow--prev svg {
    transform: translateX(-1px) !important;
}

.pilot-homepage-hero-slider .pilot-homepage-hero-arrow--next svg {
    transform: translateX(1px) !important;
}

.pilot-homepage-hero-slider .pilot-homepage-hero-arrow:hover {
    filter: brightness(.9);
    color: var(--pilot-hero-arrow-text, var(--pilot-home-accent-text)) !important;
    box-shadow: 0 13px 30px rgba(17, 24, 39, .24) !important;
    filter: brightness(.94);
    transform: translateY(-50%) scale(1.04) !important;
}

.pilot-homepage-hero-slider .pilot-homepage-hero-arrow:active {
    box-shadow: 0 6px 16px rgba(17, 24, 39, .2) !important;
    transform: translateY(-50%) scale(.97) !important;
}

.pilot-homepage-product-card {
    background: #fff;
    border: 1px solid #e4e8ef;
    border-radius: var(--pilot-featured-product-radius, 12px);
    box-shadow: 0 8px 24px rgba(20, 31, 54, .07);
    box-sizing: border-box;
    display: block;
    min-width: 0;
    overflow: hidden;
    padding: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.pilot-homepage-product-card__link {
    color: inherit;
    display: grid;
    grid-template-rows: 220px auto auto auto;
    height: 100%;
    min-width: 0;
    text-decoration: none;
}

.pilot-homepage-product-card__link:hover,
.pilot-homepage-product-card__link:focus,
.pilot-homepage-product-card__link:active {
    color: inherit;
    text-decoration: none;
}

.pilot-homepage-product-card__link:focus-visible {
    border-radius: var(--pilot-featured-product-radius, 12px);
    outline: 3px solid var(--pilot-home-accent, #0b4dcc);
    outline-offset: 2px;
}

.pilot-homepage-product-card > small {
    color: #4c5260;
    line-height: 1.45;
    margin-top: 8px;
    min-height: 40px;
    display: none !important;
}

.pilot-homepage-product-rating > span:not(.pilot-homepage-product-rating__stars) {
    color: #344663;
}

.pilot-homepage-product-card > strong,
.pilot-homepage-product-card__link > strong {
    color: #11131a;
    line-height: 1.35;
    display: -webkit-box;
    font-size: 16px;
    line-height: 1.3;
    margin-top: 14px;
    min-height: 42px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #071b39 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: -.005em !important;
    line-height: 1.3 !important;
    margin: 12px 0 4px !important;
    min-height: 18px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.pilot-homepage-product-card > strong a {
    color: inherit;
    text-decoration: none;
    color: #071b39 !important;
    display: block !important;
    font: inherit !important;
    overflow-wrap: normal !important;
    text-decoration: none !important;
    word-break: normal !important;
}

.pilot-homepage-product-rating {
    align-items: center;
    color: #53627a;
    display: flex;
    font-size: 13px;
    gap: 6px;
    line-height: 1;
    margin-top: 10px;
    white-space: nowrap;
    align-items: center !important;
    color: #667085 !important;
    display: flex !important;
    font-size: 10px !important;
    gap: 5px !important;
    line-height: 1 !important;
    margin: 0 0 1px !important;
    min-height: 16px !important;
    white-space: nowrap !important;
}

.pilot-homepage-product-rating__stars {
    display: inline-block;
    font-size: 16px;
    height: 17px;
    letter-spacing: 1px;
    line-height: 17px;
    position: relative;
    font-size: 14px !important;
    height: 15px !important;
    letter-spacing: 0 !important;
    line-height: 15px !important;
}

.pilot-homepage-product-rating__stars i, .pilot-homepage-product-rating__stars b {
    font-style: normal;
    left: 0;
    letter-spacing: 1px;
    line-height: 17px;
    position: absolute;
    top: 0;
    white-space: nowrap;
    letter-spacing: 0 !important;
    line-height: 15px !important;
}

.pilot-homepage-product-rating__stars i {
    color: #d8dde6;
    position: relative;
    color: #d8dde6 !important;
}

.pilot-homepage-product-rating__stars b {
    color: #f5a000;
    overflow: hidden;
    color: #f5b400 !important;
}

.pilot-homepage-product-rating > small {
    color: #53627a;
    font-size: 13px;
    color: #667085 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
}

.pilot-homepage-product-card, .pilot-homepage-product-card:hover, .pilot-homepage-product-card:focus-within {
    transform: none !important;
}

.pilot-homepage-product-reviews {
    align-items: center !important;
    display: flex !important;
    margin: 0 0 1px !important;
    min-height: 16px;
    white-space: nowrap;
}

.pilot-homepage-product-reviews .rating-summary {
    margin-right: 6px !important;
}

.pilot-homepage-product-reviews .rating-summary .label {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

.pilot-homepage-product-reviews .reviews-actions {
    color: #667085 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.pilot-homepage-product-reviews .reviews-actions .action {
    color: inherit !important;
    font: inherit !important;
    text-decoration: none !important;
}

.pilot-homepage-product-reviews .reviews-actions .action:after {
    display: none !important;
}

.pilot-homepage-product-card > .pilot-homepage-product-price,
.pilot-homepage-product-card__link > .pilot-homepage-product-price {
    align-self: auto;
    font-size: 20px;
    line-height: 1.2;
    margin-top: 10px;
    color: #071b39 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 5px 0 8px !important;
    margin-top: 5px !important;
}

.pilot-homepage-promo-tile .pilot-homepage-button, .pilot-homepage-promo-tile .pilot-homepage-button:hover, .pilot-homepage-promo-tile .pilot-homepage-button:focus, .pilot-homepage-promo-tile .pilot-homepage-button:active {
    background: var(--pilot-featured-button-bg, #fff) !important;
    border-color: var(--pilot-featured-button-bg, #fff) !important;
    box-shadow: none !important;
    color: var(--pilot-featured-button-text, #071b39) !important;
    transform: none !important;
}

.pilot-homepage-promo-tile .pilot-homepage-button:hover, .pilot-homepage-promo-tile .pilot-homepage-button:focus {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.pilot-homepage-horizontal {
    display: grid;
    gap: 22px;
    grid-template-columns: 190px repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    position: relative;
    scrollbar-width: none;
    grid-template-columns: var(--pilot-featured-promo-width, 260px) repeat(5, minmax(150px, 1fr));
    align-items: stretch;
    box-sizing: border-box;
    padding-bottom: 28px !important;
}

.pilot-homepage-hero-slide .pilot-homepage-button, .pilot-homepage-hero-slide .pilot-homepage-button:hover, .pilot-homepage-hero-slide .pilot-homepage-button:focus, .pilot-homepage-hero-slide .pilot-homepage-button:active, .pilot-homepage-hero-slide .pilot-homepage-button--dark, .pilot-homepage-hero-slide .pilot-homepage-button--dark:hover, .pilot-homepage-hero-slide .pilot-homepage-button--dark:focus, .pilot-homepage-hero-slide .pilot-homepage-button--dark:active {
    background: var(--pilot-hero-button-bg, #0b4dcc) !important;
    border-color: var(--pilot-hero-button-bg, #0b4dcc) !important;
    box-shadow: none !important;
    color: var(--pilot-hero-button-text, #fff) !important;
    transform: none !important;
}

.pilot-homepage-hero-slide .pilot-homepage-button:hover, .pilot-homepage-hero-slide .pilot-homepage-button:focus, .pilot-homepage-hero-slide .pilot-homepage-button--dark:hover, .pilot-homepage-hero-slide .pilot-homepage-button--dark:focus {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.pilot-homepage-category-products {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(6,minmax(0,1fr));
    padding: 20px 0 8px;
}

.pilot-homepage-category-product-card {
    display: grid;
    gap: 9px;
    grid-template-rows: auto 36px 16px 18px;
    min-width: 0;
}

.pilot-homepage-category-product-card--linked {
    display: block;
}

.pilot-homepage-category-product-card__link {
    color: inherit;
    display: grid;
    gap: 9px;
    grid-template-rows: auto 36px 16px 18px;
    min-width: 0;
    text-decoration: none;
}

.pilot-homepage-category-product-card__link:hover,
.pilot-homepage-category-product-card__link:focus,
.pilot-homepage-category-product-card__link:active {
    color: inherit;
    text-decoration: none;
}

.pilot-homepage-category-product-card__link:focus-visible {
    border-radius: var(--pilot-home-radius, 20px);
    outline: 3px solid var(--pilot-home-accent, #0b4dcc);
    outline-offset: 3px;
}

.pilot-homepage-category-product-card__image {
    align-items: center;
    background: #f4f6fa;
    border: 1px solid #e2e8f0;
    border-radius: var(--pilot-home-radius, 20px);
    box-sizing: border-box;
    display: flex;
    aspect-ratio: 1/1;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    transition: border-color .2s ease,box-shadow .2s ease;
}

.pilot-homepage-category-product-card__image img {
    background: #fff;
    border-radius: 2px;
    display: block;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.pilot-homepage-category-product-card:hover .pilot-homepage-category-product-card__image,.pilot-homepage-category-product-card:focus-within .pilot-homepage-category-product-card__image {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(15,35,95,.14);
}

.pilot-homepage-category-product-card>strong,
.pilot-homepage-category-product-card__link>strong {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    height: 36px;
    line-height: 1.3;
    min-height: 36px;
    overflow: hidden;
}

.pilot-homepage-category-product-card>strong a {
    color: #071b39;
    display: -webkit-box;
    height: 36px;
    overflow: hidden;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pilot-homepage-category-product-card__link>strong {
    color: #071b39;
    display: -webkit-box;
    height: 36px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pilot-homepage-category-product-card>b,
.pilot-homepage-category-product-card__link>b {
    align-self: start;
    color: #071b39;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    min-height: 18px;
}

.pilot-homepage-category-product-card.is-placeholder {
    opacity: .72;
}

.pilot-homepage-category-product-card.is-placeholder small {
    color: #72819a;
}

.pilot-homepage-category-feature .pilot-homepage-section__header {
    align-items: flex-end;
}

@media (max-width:1100px) {
    .pilot-homepage-category-products {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (max-width:640px) {
    .pilot-homepage-category-products {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 14px;
    }
}

.pilot-homepage-category-product-card .pilot-homepage-product-reviews .reviews-actions .action {
    display: inline-flex;
    align-items: center;
}

.pilot-homepage-category-product-card .pilot-homepage-product-reviews .reviews-actions .action span {
    white-space: nowrap;
}

.pilot-homepage-categories .pilot-homepage-placeholder.has-image {
    background: #fff;
}

.pilot-homepage-categories .pilot-homepage-placeholder img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.pilot-homepage-categories a:hover .pilot-homepage-placeholder, .pilot-homepage-categories a:focus-visible .pilot-homepage-placeholder {
    border-color: rgba(11,77,204,.28);
    box-shadow: 0 10px 24px rgba(20,31,54,.12);
}

.pilot-homepage-categories a:hover, .pilot-homepage-categories a:focus-visible {
    color: #11131a;
    text-decoration: none;
}

.pilot-homepage-categories .pilot-homepage-placeholder {
    min-height: 118px;
    align-items: center;
    background: #f1f3f6;
    border: 1px solid #e4e8ef;
    border-radius: var(--pilot-home-radius, 20px);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1/1;
    min-height: 0;
}

.pilot-homepage-categories > div > a small {
    text-align: center;
    display: block;
    text-align: center !important;
}

.pilot-homepage-banner {
    align-items: center;
    background: var(--pilot-home-accent);
    color: var(--pilot-home-accent-text);
    display: grid;
    grid-template-columns: 1fr .8fr;
    min-height: 260px;
    padding: 42px 64px;
    border-radius: var(--pilot-home-banner-radius);
    overflow: hidden;
    --pilot-banner-surface: linear-gradient(135deg,#071a58 0%,#0b4dcc 56%,#1675f4 100%);
    --pilot-banner-heading: #fff;
    --pilot-banner-body: #eaf2ff;
    --pilot-banner-accent: #69b6ff;
    --pilot-banner-heading-size: 36px;
    --pilot-banner-font: inherit;
    background: var(--pilot-banner-surface) !important;
    border-color: rgba(255,255,255,.12);
    color: var(--pilot-banner-heading);
    grid-template-columns: minmax(0,1.25fr) minmax(420px,.95fr);
    min-height: 280px;
    padding: 38px clamp(38px,5vw,74px);
}

.pilot-homepage-banner__copy {
    min-width: 0;
    align-content: center;
    display: grid;
    font-family: var(--pilot-banner-font);
    max-width: 720px;
    padding-right: clamp(24px,4vw,72px);
}

.pilot-homepage-banner__eyebrow {
    color: var(--pilot-banner-accent);
    display: inline-grid;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    justify-self: start;
    letter-spacing: .18em;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pilot-homepage-banner__eyebrow::after {
    background: var(--pilot-banner-accent);
    content: "";
    height: 2px;
    margin-top: 8px;
    width: 34px;
}

.pilot-homepage-banner h2 {
    color: var(--pilot-banner-heading) !important;
    font-family: var(--pilot-banner-font) !important;
    font-size: var(--pilot-banner-heading-size) !important;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.08;
    margin: 0 0 12px;
}

.pilot-homepage-banner p {
    color: var(--pilot-banner-body) !important;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
    max-width: 650px;
}

.pilot-homepage-banner__features {
    align-items: center;
    color: var(--pilot-banner-body);
    display: flex;
    flex-wrap: wrap;
    font-family: inherit;
    gap: 14px 26px;
    margin-top: 24px;
}

.pilot-homepage-banner__features > span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.pilot-homepage-banner__feature-icon {
    align-items: center;
    color: var(--pilot-banner-accent);
    display: inline-flex;
    height: 19px;
    justify-content: center;
    width: 19px;
}

.pilot-homepage-banner__features svg {
    fill: none;
    height: 19px;
    stroke: var(--pilot-banner-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    width: 19px;
}

.pilot-homepage-banner__features b {
    color: inherit;
    font-size: 14px;
    font-weight: 500;
}

.pilot-homepage-banner__features > i {
    display: none;
}

.pilot-homepage-banner__tiles {
    display: grid;
    grid-template-columns: repeat(var(--pilot-home-banner-tile-count, 3), minmax(0, 1fr));
    align-items: center;
    gap: 16px;
}

.pilot-homepage-banner__tile {
    background: var(--pilot-home-tile-bg);
    border-radius: var(--pilot-home-tile-radius);
    display: block;
    min-height: 160px;
    overflow: hidden;
    position: relative;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.42);
    box-shadow: 0 12px 30px rgba(0,18,66,.14);
    min-height: 176px;
}

.pilot-homepage-banner__tile > span, .pilot-homepage-banner > div:last-child .pilot-homepage-banner__tile > span {
    background: linear-gradient(135deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .18));
    border-radius: 0;
    display: block;
    height: 100%;
    min-height: 160px;
    width: 100%;
    background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(224,233,248,.88));
    min-height: 176px;
}

@media (max-width: 1100px) {
    .pilot-homepage-banner {
        grid-template-columns: 1fr;
    }

    .pilot-homepage-banner__copy {
        padding-right: 0;
    }
}

@media (min-width: 1101px) {
    .pilot-homepage-horizontal {
        grid-template-columns: var(--pilot-featured-promo-width, 260px) repeat(5, minmax(0, 1fr)) !important;
    }

    .pilot-homepage-category-products {
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    }
}

.pilot-configurable-homepage > .pilot-homepage-section.pilot-homepage-section--open.pilot-homepage-categories {
    padding: 0;
    background: var(--pilot-category-surface, var(--pilot-home-accent)) !important;
    border: 0 !important;
    border-radius: var(--pilot-home-radius, 20px) !important;
    box-shadow: 0 12px 32px rgba(20, 31, 54, .12) !important;
    box-sizing: border-box;
    color: var(--pilot-category-heading, var(--pilot-home-accent-text));
    overflow: hidden;
    padding: clamp(28px, 3vw, 48px) !important;
}

.pilot-homepage-categories__header {
    border-bottom: 1px solid #e1e5ec;
    margin-bottom: 22px;
    padding: 0 12px 18px;
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    border-bottom: 0 !important;
    margin: 0 auto clamp(24px, 2.4vw, 34px) !important;
    max-width: 900px;
    padding: 0 !important;
    text-align: center !important;
}

.pilot-homepage-categories__header h2, .pilot-homepage-categories__header p {
    text-align: left !important;
    text-align: center !important;
}

.pilot-homepage-categories__header h2 {
    color: #11131a;
    font-size: clamp(24px, 2.2vw, 36px);
    line-height: 1.1;
    margin: 0;
    color: var(--pilot-category-heading, #fff) !important;
}

.pilot-homepage-categories__header p {
    color: #3d4350;
    margin: 7px 0 0;
    color: var(--pilot-category-body, #eaf2ff) !important;
}

.pilot-homepage-categories > div > a small, .pilot-homepage-categories a, .pilot-homepage-categories a:hover, .pilot-homepage-categories a:focus-visible {
    color: var(--pilot-category-heading, #fff) !important;
}

.pilot-homepage-products-group {
    overflow: visible;
}

.pilot-homepage-products-group__top-rated {
    min-width: 0;
    position: relative;
}

.pilot-homepage-products-group__category {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: clamp(30px, 2.4vw, 42px);
    padding: 0;
}

.pilot-homepage-products-group__category .pilot-homepage-section__header {
    padding-left: 0;
    padding-right: 0;
}

/* Campaign Tiles ---------------------------------------------------------
 * Shared campaign content must render consistently in every tile.
 * Tile shape is configurable with the same corner scale as the Hero.
 */
.pilot-homepage-campaign-grid {
    --pilot-campaign-tile-radius: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.pilot-homepage-campaign-grid--radius-square { --pilot-campaign-tile-radius: 0px; }
.pilot-homepage-campaign-grid--radius-soft { --pilot-campaign-tile-radius: 12px; }
.pilot-homepage-campaign-grid--radius-rounded { --pilot-campaign-tile-radius: 20px; }
.pilot-homepage-campaign-grid--radius-large { --pilot-campaign-tile-radius: 28px; }

.pilot-homepage-campaign-grid__tiles {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .58fr) minmax(0, .58fr) minmax(0, .9fr);
    grid-template-rows: 292px 292px;
}

.pilot-homepage-campaign-tile {
    background: var(--pilot-campaign-tile-bg, linear-gradient(135deg, #f2f7ff, #dce9ff));
    border-radius: var(--pilot-campaign-tile-radius, 12px);
    color: inherit;
    display: block;
    isolation: isolate;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.pilot-homepage-campaign-tile > img,
.pilot-homepage-campaign-tile > span[aria-hidden="true"] {
    display: block;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.pilot-homepage-campaign-tile > img {
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.pilot-homepage-campaign-tile > span[aria-hidden="true"] {
    background: var(--pilot-campaign-tile-bg, linear-gradient(135deg, #f2f7ff, #dce9ff));
    z-index: 0;
}

.pilot-homepage-campaign-tile.is-transparent-subject > img {
    object-fit: contain;
    object-position: center bottom;
}

.pilot-homepage-campaign-tile.is-full-graphic > img {
    object-fit: cover;
    object-position: center var(--pilot-campaign-image-position-y, 50%) !important;
}

.pilot-homepage-campaign-tile__copy {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 24px 24px 70px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.pilot-homepage-campaign-tile__copy strong {
    color: var(--pilot-campaign-title-color, #071b39);
    display: block;
    font-family: inherit;
    font-size: var(--pilot-campaign-title-size, 30px);
    font-weight: 750;
    letter-spacing: -.02em;
    line-height: 1.06;
    max-width: 92%;
    text-shadow: var(--pilot-campaign-title-shadow, none);
}

.pilot-homepage-campaign-tile__copy small {
    color: var(--pilot-campaign-link-color, #071b39);
    display: block;
    font-family: inherit;
    font-size: var(--pilot-campaign-link-size, 14px);
    font-weight: 600;
    line-height: 1.2;
    margin-top: 14px;
    text-decoration: underline;
    text-shadow: var(--pilot-campaign-link-shadow, none);
    text-underline-offset: 3px;
    width: max-content;
}

.pilot-homepage-campaign-tile--1 {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.pilot-homepage-campaign-tile--2 {
    grid-column: 2 / span 2;
    grid-row: 1;
}

.pilot-homepage-campaign-tile--3 {
    grid-column: 2;
    grid-row: 2;
}

.pilot-homepage-campaign-tile--4 {
    grid-column: 3;
    grid-row: 2;
}

.pilot-homepage-campaign-tile--5 {
    grid-column: 4;
    grid-row: 1 / span 2;
}

@media (max-width: 1180px) {
    .pilot-homepage-campaign-grid__tiles {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 240px);
    }

    .pilot-homepage-campaign-tile--1 {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .pilot-homepage-campaign-tile--2 {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    .pilot-homepage-campaign-tile--3 {
        grid-column: 1;
        grid-row: 3;
    }

    .pilot-homepage-campaign-tile--4 {
        grid-column: 2;
        grid-row: 3;
    }

    .pilot-homepage-campaign-tile--5 {
        grid-column: 1 / span 2;
        grid-row: 4;
    }
}

@media (max-width:767px) {
    .pilot-homepage-hero-slider,
    .pilot-homepage-hero-slide {
        height: 460px;
        min-height: 460px;
    }

    .pilot-homepage-hero-slide .pilot-homepage-hero__copy {
        align-content: end;
        box-sizing: border-box;
        height: 100%;
        min-height: 460px;
        padding: 28px 28px 76px;
        width: 100%;
    }

    .pilot-homepage-hero-arrow {
        height: 38px;
        width: 38px;
    }

    .pilot-homepage-campaign-tile__copy {
        padding: 20px 20px 60px;
    }

    .pilot-homepage-campaign-tile__copy strong {
        font-size: min(var(--pilot-campaign-title-size, 30px), 34px);
    }

    .pilot-homepage-campaign-tile__copy small {
        font-size: min(var(--pilot-campaign-link-size, 14px), 18px);
    }
}

@media (min-width: 1025px) {
    .pilot-configurable-homepage > .pilot-homepage-hero--wide-single, .pilot-configurable-homepage > .pilot-homepage-banner--wide {
        box-sizing: border-box;
        justify-self: center;
        max-width: none;
        min-width: 0;
        width: min(1680px, calc(100vw - 32px));
    }

    .pilot-configurable-homepage > .pilot-homepage-section, .pilot-configurable-homepage > .pilot-homepage-banner {
        box-sizing: border-box !important;
        justify-self: center !important;
        max-width: none !important;
        min-width: 0 !important;
        width: min(1680px, calc(100vw - 32px)) !important;
    }

    .pilot-homepage-hero-slide {
        aspect-ratio: 1680 / 542;
        min-height: 0;
    }

    .pilot-homepage-hero-slide .pilot-homepage-hero__copy {
        box-sizing: border-box;
        min-height: 0;
        width: var(--pilot-hero-copy-width, 44%);
        max-width: none;
        height: 100%;
    }

    .pilot-homepage-hero-slide--center .pilot-homepage-hero__copy {
        margin-left: auto;
        margin-right: auto;
    }

    .pilot-homepage-hero-slide--right .pilot-homepage-hero__copy {
        margin-left: auto;
    }
}

@media (max-width: 1024px) {
    .pilot-homepage-banner {
        grid-template-columns: 1fr;
    }

    .pilot-homepage-categories > div {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pilot-homepage-banner__tiles {
        margin-top: 28px;
    }

    .pilot-homepage-hero-slide .pilot-homepage-hero__copy {
        width: min(100%, var(--pilot-hero-copy-width, 58%));
    }
}

.pilot-homepage-hero-slider[data-mobile-buttons="0"] .pilot-homepage-button {
    display: none !important;
}

@media (max-width: 767px) {
    .pilot-configurable-homepage {
        gap: 16px;
        padding: 14px;
    }

    /* Keep every major homepage block on the same mobile content line. */
    .pilot-configurable-homepage > .pilot-homepage-section,
    .pilot-configurable-homepage > .pilot-homepage-banner {
        box-sizing: border-box;
        justify-self: stretch;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .pilot-homepage-section, .pilot-homepage-banner {
        padding: 18px;
    }

    /* Campaign tiles are visual banners, so do not inset them again inside the shared gutter. */
    .pilot-configurable-homepage > .pilot-homepage-campaign-grid {
        padding: 0;
    }

    .pilot-homepage-hero__copy {
        padding: 30px 4px 46px;
    }

    .pilot-homepage-hero h2 {
        font-size: 34px;
    }

    .pilot-homepage-section__header {
        gap: 14px;
    }

    .pilot-homepage-section__header .pilot-homepage-button {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 13px;
    }

    .pilot-homepage-promo-tile {
        min-height: 310px;
    }

    .pilot-homepage-banner > div:last-child {
        margin-top: 28px;
    }

    .pilot-homepage-banner > div:last-child span {
        min-height: 96px;
    }

    .pilot-homepage-categories > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pilot-homepage-banner__tiles::-webkit-scrollbar {
        display: none;
    }

    .pilot-homepage-banner__tile {
        min-height: 130px;
        scroll-snap-align: start;
    }

    .pilot-homepage-banner__tile > span, .pilot-homepage-banner > div:last-child .pilot-homepage-banner__tile > span {
        min-height: 130px;
    }

    .pilot-homepage-hero-slide .pilot-homepage-hero__copy h2 {
        font-size: min(var(--pilot-hero-heading-size, 48px), 38px);
    }

    .pilot-homepage-hero-slide .pilot-homepage-hero__copy p {
        font-size: min(var(--pilot-hero-subtitle-size, 18px), 18px);
    }

    /* Top Rated Products follows the same 50/50 mobile grid as Featured Category products. */
    .pilot-homepage-horizontal {
        display: grid;
        gap: 14px;
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 0 !important;
        scroll-snap-type: none;
    }

    .pilot-homepage-horizontal > * {
        min-width: 0;
        width: 100%;
    }

    .pilot-homepage-horizontal .pilot-homepage-promo-tile {
        box-sizing: border-box;
        min-height: 300px;
        padding: 16px;
    }

    .pilot-homepage-horizontal .pilot-homepage-promo-title {
        font-size: min(var(--pilot-featured-heading-size, 28px), 24px);
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card {
        padding: 10px;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card__link {
        grid-template-rows: 150px auto auto auto;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card .pilot-homepage-placeholder {
        min-height: 150px;
    }

    .pilot-homepage-hero-arrow {
        border-radius: 12px;
        height: 42px;
        width: 42px;
    }

    .pilot-homepage-hero-arrow svg {
        height: 19px;
        width: 19px;
    }

    .pilot-homepage-hero-arrow--prev {
        left: 12px;
    }

    .pilot-homepage-hero-arrow--next {
        right: 12px;
    }

    .pilot-homepage-product-card__link {
        grid-template-rows: 190px auto auto auto;
    }

    .pilot-homepage-product-card .pilot-homepage-placeholder {
        min-height: 190px;
    }

    .pilot-homepage-hero-slider .pilot-homepage-hero-arrow {
        height: 40px !important;
        width: 40px !important;
    }

    .pilot-homepage-hero-slider .pilot-homepage-hero-arrow svg {
        height: 17px !important;
        width: 17px !important;
    }

    .pilot-homepage-banner {
        padding: 28px 22px;
    }

    .pilot-homepage-banner h2 {
        font-size: min(var(--pilot-banner-heading-size),34px) !important;
    }

    .pilot-homepage-banner p {
        font-size: 14px;
    }

    .pilot-homepage-banner__features {
        align-items: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
        margin-top: 22px;
    }

    .pilot-homepage-banner__features > span {
        width: 100%;
    }

    .pilot-homepage-banner__tiles {
        gap: 12px;
        grid-auto-columns: minmax(180px, 72vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        margin-left: -2px;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        margin-top: 30px !important;
    }

    .pilot-configurable-homepage > .pilot-homepage-section.pilot-homepage-section--open.pilot-homepage-categories {
        padding: 24px 18px !important;
    }

    .pilot-homepage-products-group__category {
        margin-top: 28px;
    }

    .pilot-homepage-campaign-grid__tiles {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 16px;
    }

    .pilot-homepage-campaign-tile--1,.pilot-homepage-campaign-tile--2,.pilot-homepage-campaign-tile--3,.pilot-homepage-campaign-tile--4,.pilot-homepage-campaign-tile--5 {
        grid-column: auto;
        grid-row: auto;
        min-height: 220px;
    }

    .pilot-homepage-hero-slide .pilot-homepage-hero__copy {
        align-content: end;
        box-sizing: border-box;
        max-width: 100%;
        padding: 28px 28px 76px;
        width: 100%;
    }

    .pilot-homepage-hero-slider .pilot-homepage-hero-arrow {
        display: none !important;
    }

    .pilot-homepage-hero-slider[data-mobile-buttons="0"]
        .pilot-homepage-hero__copy {
        padding-bottom: 56px;
    }

    .pilot-homepage-hero-slide .pilot-homepage-hero__copy h2 {
        font-size: min(var(--pilot-hero-heading-size, 48px), 32px);
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
    }

    .pilot-homepage-hero-slide .pilot-homepage-hero__copy p {
        box-sizing: border-box;
        max-width: 100%;
    }
}

/* Dark homepage palette ----------------------------------------------------
 * The homepage preset previously changed only the page-level variables while
 * product/section components retained hard-coded light surfaces. Keep the
 * existing component layout and switch only presentation when Dark is active.
 */
.pilot-configurable-homepage[data-colour-preset="dark"] {
    --pilot-home-dark-surface: #0d1523;
    --pilot-home-dark-card: #101827;
    --pilot-home-dark-media: #172235;
    --pilot-home-dark-border: #2b3648;
    --pilot-home-dark-primary: #f8fafc;
    --pilot-home-dark-secondary: #cbd5e1;
    --pilot-home-dark-muted: #a8b5c9;
    --pilot-home-dark-link: #8ab4ff;
    --pilot-home-dark-focus: #5d8dff;
}

.pilot-configurable-homepage[data-colour-preset="dark"] > .pilot-homepage-section:not(.pilot-homepage-hero):not(.pilot-homepage-campaign-grid),
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-products-group {
    background: var(--pilot-home-dark-surface);
    border-color: var(--pilot-home-dark-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-section__header {
    border-bottom-color: var(--pilot-home-dark-border);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-section__header h2,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-section-label,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-categories > h2 {
    color: var(--pilot-home-dark-primary) !important;
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-h1,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-section__header p,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-banner p,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-story-row small {
    color: var(--pilot-home-dark-secondary) !important;
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-text-link,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-categories a,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-categories a:hover,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-categories a:focus-visible {
    color: var(--pilot-home-dark-primary);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-text-link:hover,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-text-link:focus-visible {
    color: var(--pilot-home-dark-link);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card {
    background: var(--pilot-home-dark-card);
    border-color: var(--pilot-home-dark-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card:hover,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card:focus-within {
    border-color: var(--pilot-home-dark-focus);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card .pilot-homepage-placeholder,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card .pilot-homepage-placeholder.has-image,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card__image,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-categories .pilot-homepage-placeholder {
    background: var(--pilot-home-dark-media);
    border-color: var(--pilot-home-dark-border);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card__image img {
    background: transparent;
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card > strong,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card > strong a,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card__link > strong,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card > .pilot-homepage-product-price,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card__link > .pilot-homepage-product-price,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card > strong,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card > strong a,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card__link > strong,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card > b,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card__link > b,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-story-row strong {
    color: var(--pilot-home-dark-primary) !important;
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-rating,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-rating > span:not(.pilot-homepage-product-rating__stars),
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-rating > small,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-reviews .reviews-actions,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card.is-placeholder small {
    color: var(--pilot-home-dark-muted) !important;
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-rating__stars i {
    color: #526079 !important;
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card:hover .pilot-homepage-category-product-card__image,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card:focus-within .pilot-homepage-category-product-card__image,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-categories a:hover .pilot-homepage-placeholder,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-categories a:focus-visible .pilot-homepage-placeholder {
    border-color: var(--pilot-home-dark-focus);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-scroll-button {
    background: var(--pilot-home-dark-card);
    border-color: var(--pilot-home-dark-border);
    color: var(--pilot-home-dark-primary);
}

.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-product-card__link:focus-visible,
.pilot-configurable-homepage[data-colour-preset="dark"] .pilot-homepage-category-product-card__link:focus-visible {
    outline-color: var(--pilot-home-dark-focus);
}


/* Pilot mobile/tablet Top Rated: mirror Featured Category product layout. */
.pilot-homepage-product-reviews .reviews-actions {
    display: none !important;
}

@media (max-width: 1100px) {
    .pilot-homepage-horizontal {
        display: grid !important;
        gap: 18px !important;
        grid-auto-flow: row !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        overflow: visible !important;
        padding: 20px 0 8px !important;
        scroll-snap-type: none !important;
    }

    .pilot-homepage-horizontal > * {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Blue promo tile is one grid position, followed by four products. */
    .pilot-homepage-horizontal > .pilot-homepage-product-card:nth-of-type(n + 6) {
        display: none !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-promo-tile {
        align-self: stretch !important;
        box-sizing: border-box !important;
        min-height: 100% !important;
        padding: 18px !important;
    }

    /* Product cards use the same clean presentation as Featured Category. */
    .pilot-homepage-horizontal .pilot-homepage-product-card {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card__link {
        display: grid !important;
        gap: 9px !important;
        grid-template-rows: auto 36px 16px 18px !important;
        height: auto !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card .pilot-homepage-placeholder {
        align-items: center !important;
        aspect-ratio: 1 / 1 !important;
        background: #f4f6fa !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: center !important;
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 8px !important;
        width: 100% !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card .pilot-homepage-placeholder.has-image {
        background: #fff !important;
        padding: 8px !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card .pilot-homepage-placeholder img {
        height: 100% !important;
        max-height: none !important;
        max-width: none !important;
        object-fit: contain !important;
        width: 100% !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card__link > strong {
        display: -webkit-box !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        height: 36px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        min-height: 36px !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-reviews {
        margin: 0 !important;
        min-height: 16px !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-product-card__link > .pilot-homepage-product-price {
        align-self: start !important;
        font-size: 14px !important;
        line-height: 18px !important;
        margin: 0 !important;
        min-height: 18px !important;
    }
}

@media (max-width: 640px) {
    .pilot-homepage-horizontal {
        gap: 14px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-promo-tile {
        padding: 16px !important;
    }

    .pilot-homepage-horizontal .pilot-homepage-promo-title {
        font-size: min(var(--pilot-featured-heading-size, 28px), 24px) !important;
    }
}

/* Pilot homepage polish: mobile hero controls + six Featured Category items. */
@media (max-width: 1100px) {
    /* Keep Featured Category rows balanced: 3x2 on tablet, 2x3 on mobile. */
    .pilot-homepage-category-products > .pilot-homepage-category-product-card:nth-child(n + 7) {
        display: none !important;
    }
}

@media (max-width: 767px) {
    /* Match Premium mobile CTA placement. */
    .pilot-homepage-hero-slide .pilot-homepage-button {
        margin-top: 0 !important;
        transform: none !important;
    }
}

/* Commerce Base per-section corner controls. */
.pilot-homepage-products-group {
    border-radius: var(--pilot-products-group-radius, var(--pilot-home-radius, 20px));
}

.pilot-homepage-product-card,
.pilot-homepage-product-card .pilot-homepage-placeholder {
    border-radius: var(--pilot-featured-product-radius, 12px);
}

.pilot-homepage-product-card .pilot-homepage-placeholder img {
    border-radius: inherit;
}

@media (max-width: 1100px) {
    .pilot-homepage-horizontal .pilot-homepage-product-card .pilot-homepage-placeholder {
        border-radius: var(--pilot-featured-product-radius, 12px) !important;
    }
}

.pilot-homepage-category-product-card__link:focus-visible {
    border-radius: var(--pilot-content-product-radius, var(--pilot-home-radius, 20px));
}

.pilot-homepage-category-product-card__image {
    border-radius: var(--pilot-content-product-radius, var(--pilot-home-radius, 20px));
    overflow: hidden;
}

.pilot-homepage-category-product-card__image img {
    border-radius: inherit;
}

.pilot-configurable-homepage > .pilot-homepage-section.pilot-homepage-section--open.pilot-homepage-categories {
    border-radius: var(--pilot-category-section-radius, var(--pilot-home-radius, 20px)) !important;
}

.pilot-homepage-categories .pilot-homepage-placeholder {
    border-radius: var(--pilot-category-tile-radius, var(--pilot-home-radius, 20px));
}

.pilot-homepage-categories .pilot-homepage-placeholder img,
.pilot-homepage-banner__tile > span,
.pilot-homepage-campaign-tile > img,
.pilot-homepage-campaign-tile > span[aria-hidden="true"] {
    border-radius: inherit;
}

/* Mobile commitment gallery: keep all three supporting images visible together. */
@media (max-width: 767px) {
    .pilot-homepage-banner__tiles {
        gap: 10px;
        grid-auto-columns: initial;
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-left: 0;
        margin-top: 30px !important;
        overflow: visible;
        padding: 0;
        width: 100%;
    }

    .pilot-homepage-banner__tile {
        aspect-ratio: 1 / 1;
        min-height: 0;
        min-width: 0;
        scroll-snap-align: none;
        width: 100%;
    }

    .pilot-homepage-banner__tile > span,
    .pilot-homepage-banner > div:last-child .pilot-homepage-banner__tile > span {
        height: 100%;
        min-height: 0;
    }
}
