@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

/* PilotTheme - frontend theme layer for Magento 2 Luma.
   Design/admin colour infrastructure is CSS-variable based so a future admin
   module can override these variables without rebuilding the templates. */
:root {
    --pilot-bg: #f7f4ef;
    --pilot-surface: #ffffff;
    --pilot-ink: #0c1b22;
    --pilot-muted: #667078;
    --pilot-line: #e4ded6;
    --pilot-line-dark: #d7d0c7;
    --pilot-topbar-bg: #5f584f;
    --pilot-search-button-bg: #102936;
    --pilot-search-button-hover-bg: #071923;
    --pilot-primary-button-bg: #071923;
    --pilot-primary-button-hover-bg: #102936;
    --pilot-deal: #ef5b35;
    --pilot-radius: 6px;
    --pilot-max: 1168px;
    --pilot-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --pilot-serif: Georgia, "Times New Roman", serif;
}

body.pilot-theme {
    background: var(--pilot-bg);
    color: var(--pilot-ink);
    font-family: var(--pilot-font);
}

body.pilot-theme .page-wrapper,
body.pilot-theme .page-main,
body.pilot-theme .columns,
body.pilot-theme .column.main {
    background: var(--pilot-bg);
}

body.pilot-theme .page-main {
    box-sizing: border-box;
    max-width: none;
    padding: 0;
}

body.pilot-theme .columns .column.main {
    padding-bottom: 0;
}

/*
 * Hide only structural Magento UI that Pilot intentionally replaces.
 * Breadcrumbs and message containers must remain available: breadcrumbs are
 * part of the Pilot storefront navigation and messages carry real customer
 * success/error feedback. Header-panel and compare markup are removed in XML.
 */
body.pilot-theme .page-title-wrapper,
body.pilot-theme .sidebar-additional,
body.pilot-theme .sections.nav-sections .section-item-title,
body.pilot-theme .nav-sections .section-item-title {
    display: none !important;
}

body.pilot-theme a {
    color: inherit;
}

body.pilot-theme a:hover,
body.pilot-theme a:focus {
    color: inherit;
}

/* Header shell */
body.pilot-theme .page-header {
    background: var(--pilot-surface);
    border: 0;
    box-shadow: none;
    margin: 0;
}

.pilot-trustbar {
    background: var(--pilot-topbar-bg);
    color: #fff;
    font-family: var(--pilot-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
}

.pilot-trustbar__inner {
    align-items: center;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: var(--pilot-max);
    min-height: 45px;
    padding: 0 32px;
}

.pilot-trustbar__item {
    align-items: center;
    display: inline-flex;
    gap: 9px;
    justify-content: center;
    line-height: 1;
    min-width: 0;
    position: relative;
    white-space: nowrap;
}

.pilot-trustbar__item:not(:last-child)::after {
    background: rgba(255, 255, 255, .25);
    content: '';
    height: 20px;
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}

.pilot-trustbar__icon,
.pilot-trustbar__flag {
    flex: 0 0 auto;
    height: 18px;
    width: 18px;
}

.pilot-trustbar__flag {
    height: 13px;
    width: 20px;
}

.pilot-trustbar__icon path,
.pilot-trustbar__icon circle {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

/* Main header row */
body.pilot-theme .header.content {
    align-items: center;
    box-sizing: border-box;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 14px;
    margin: 0 auto;
    max-width: var(--pilot-max);
    min-height: 106px;
    padding: 22px 32px 20px;
}

body.pilot-theme .nav-toggle {
    display: none;
}

body.pilot-theme .logo {
    align-items: center;
    display: inline-flex;
    flex: 0 0 180px;
    height: 64px;
    margin: 0 34px 0 0;
    max-width: 180px;
    order: 1;
}

body.pilot-theme .logo img {
    display: block;
    height: auto;
    max-height: 64px;
    max-width: 178px;
    object-fit: contain;
    width: auto;
}

.pilot-all-categories-button,
.pilot-account-button,
body.pilot-theme .minicart-wrapper .action.showcart {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pilot-line-dark);
    border-radius: var(--pilot-radius);
    box-shadow: none;
    box-sizing: border-box;
    color: var(--pilot-ink) !important;
    display: inline-flex !important;
    font-family: var(--pilot-font);
    font-size: 14px;
    font-weight: 500;
    gap: 10px;
    height: 52px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    outline: none;
    text-decoration: none !important;
    white-space: nowrap;
}

.pilot-all-categories-button {
    border-bottom-right-radius: 0;
    border-right: 0;
    border-top-right-radius: 0;
    cursor: pointer;
    flex: 0 0 156px;
    order: 2;
    padding: 0 18px;
}

.pilot-all-categories-button__chevron {
    display: block;
    height: 18px;
    width: 18px;
}

.pilot-all-categories-button__chevron path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.pilot-all-categories-button:hover,
.pilot-all-categories-button:focus,
.pilot-account-button:hover,
.pilot-account-button:focus,
body.pilot-theme .minicart-wrapper .action.showcart:hover,
body.pilot-theme .minicart-wrapper .action.showcart:focus {
    background: #fbfaf7;
    border-color: var(--pilot-line-dark);
    color: var(--pilot-ink) !important;
}

/* Search */
body.pilot-theme .block-search,
body.pilot-theme .pilot-search {
    box-sizing: border-box;
    flex: 1 1 auto;
    float: none !important;
    margin: 0;
    min-width: 300px;
    order: 3;
    padding: 0;
    position: static;
    width: auto !important;
    z-index: 2;
}

body.pilot-theme .block-search .block-title,
body.pilot-theme .pilot-search .block-title,
body.pilot-theme .block-search .label {
    display: none !important;
}

body.pilot-theme .block-search .block-content,
body.pilot-theme .pilot-search .block-content,
body.pilot-theme .pilot-minisearch {
    margin: 0;
    width: 100%;
}

body.pilot-theme .pilot-minisearch {
    align-items: stretch;
    display: flex;
    height: 52px;
    position: relative;
}

body.pilot-theme .pilot-minisearch .field.search,
body.pilot-theme .pilot-minisearch .control {
    float: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

body.pilot-theme .pilot-minisearch .control {
    height: 100%;
}

body.pilot-theme .pilot-minisearch input.input-text {
    background: #fff;
    border: 1px solid var(--pilot-line-dark);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: var(--pilot-ink);
    font-family: var(--pilot-font);
    font-size: 14px;
    height: 52px;
    line-height: 52px;
    margin: 0;
    padding: 0 62px 0 20px;
    width: 100%;
}

body.pilot-theme .pilot-minisearch input.input-text::placeholder {
    color: #6d757b;
    opacity: .92;
}

body.pilot-theme .pilot-minisearch input.input-text:focus {
    border-color: var(--pilot-line-dark);
    box-shadow: none;
}

body.pilot-theme .pilot-minisearch .actions {
    bottom: 0;
    height: 52px;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 52px;
    z-index: 3;
}

body.pilot-theme .pilot-minisearch button.action.search {
    align-items: center;
    background: var(--pilot-search-button-bg) !important;
    border: 1px solid var(--pilot-search-button-bg) !important;
    border-radius: 0 var(--pilot-radius) var(--pilot-radius) 0;
    box-shadow: none !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    height: 52px;
    justify-content: center;
    margin: 0;
    opacity: 1 !important;
    padding: 0;
    width: 52px;
}

body.pilot-theme .pilot-minisearch button.action.search::before {
    display: none !important;
}

body.pilot-theme .pilot-minisearch button.action.search:hover,
body.pilot-theme .pilot-minisearch button.action.search:focus {
    background: var(--pilot-search-button-hover-bg) !important;
    border-color: var(--pilot-search-button-hover-bg) !important;
}

body.pilot-theme .pilot-minisearch button.action.search span {
    display: none;
}

.pilot-search-icon {
    display: block;
    height: 24px;
    width: 24px;
}

.pilot-search-icon circle,
.pilot-search-icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
}

body.pilot-theme .search-autocomplete {
    margin-top: 4px;
    width: calc(100% - 52px) !important;
}

/* Account button */
.pilot-account-button {
    flex: 0 0 110px;
    order: 4;
    padding: 0 18px;
}

.pilot-account-button__icon {
    display: block;
    height: 23px;
    width: 23px;
}

.pilot-account-button__icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

/* Cart button */
body.pilot-theme .minicart-wrapper {
    float: none;
    flex: 0 0 auto;
    margin: 0;
    order: 5;
    position: relative;
}

body.pilot-theme .minicart-wrapper .action.showcart {
    min-width: 128px;
    padding: 0 18px;
}

body.pilot-theme .minicart-wrapper .action.showcart::before {
    color: var(--pilot-ink) !important;
    font-size: 25px;
    line-height: 1;
    margin: 0 2px 0 0;
}

body.pilot-theme .minicart-wrapper .action.showcart .text {
    border: 0;
    clip: auto;
    font-size: 0;
    height: auto;
    margin: 0;
    overflow: visible;
    padding: 0;
    position: static;
    width: auto;
}

body.pilot-theme .minicart-wrapper .action.showcart .text::after {
    content: 'Cart';
    font-size: 14px;
    font-weight: 500;
}

body.pilot-theme .minicart-wrapper .action.showcart .counter.qty {
    align-items: center;
    background: transparent !important;
    border-radius: 0;
    color: var(--pilot-ink) !important;
    display: inline-flex !important;
    font-size: 14px;
    font-weight: 500;
    height: auto;
    line-height: 1;
    margin: 0 0 0 -4px;
    min-width: 0;
    padding: 0;
    position: static;
}

body.pilot-theme .minicart-wrapper .action.showcart .counter.qty.empty {
    display: inline-flex !important;
}

body.pilot-theme .minicart-wrapper .action.showcart .counter.qty::before {
    content: '(';
}

body.pilot-theme .minicart-wrapper .action.showcart .counter.qty::after {
    content: ')';
}

body.pilot-theme .minicart-wrapper .action.showcart .counter-number {
    display: inline;
    text-shadow: none;
}

body.pilot-theme .minicart-wrapper .action.showcart .counter-label {
    display: none;
}

body.pilot-theme .minicart-wrapper .block-minicart {
    right: 0;
}

/* Category navigation row */
body.pilot-theme .nav-sections {
    background: #fff;
    border-bottom: 1px solid var(--pilot-line);
    border-top: 1px solid var(--pilot-line);
    margin: 0;
}

body.pilot-theme .nav-sections-item-content {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: var(--pilot-max);
    padding: 0 32px;
}

body.pilot-theme .navigation.pilot-navigation,
body.pilot-theme .navigation {
    background: transparent;
    box-sizing: border-box;
    font-family: var(--pilot-font);
    font-size: 13px;
    font-weight: 700;
    height: 44px;
    max-width: none;
    padding: 0;
}

.pilot-navigation {
    align-items: center;
    display: flex;
    gap: 28px;
    width: 100%;
}

.pilot-show-categories-button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pilot-line-dark);
    border-radius: 4px;
    box-shadow: none;
    color: var(--pilot-ink);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: var(--pilot-font);
    font-size: 13px;
    font-weight: 700;
    gap: 9px;
    height: 28px;
    line-height: 1;
    padding: 0 16px;
    white-space: nowrap;
}

.pilot-show-categories-button__icon {
    height: 17px;
    width: 17px;
}

.pilot-show-categories-button__icon path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

body.pilot-theme .pilot-navigation__list,
body.pilot-theme .navigation ul.pilot-navigation__list {
    align-items: center;
    display: flex !important;
    flex: 1 1 auto;
    gap: 0;
    justify-content: space-between;
    margin: 0;
    min-width: 0;
    padding: 0;
}

body.pilot-theme .navigation .level0 {
    display: inline-flex;
    float: none;
    margin: 0;
    position: relative;
}

body.pilot-theme .navigation .level0 > .level-top {
    align-items: center;
    border: 0;
    color: var(--pilot-ink) !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    height: 44px;
    line-height: 1;
    padding: 0 10px;
    text-decoration: none !important;
}

body.pilot-theme .navigation .level0 > .level-top:hover,
body.pilot-theme .navigation .level0 > .level-top:focus,
body.pilot-theme .navigation .level0.active > .level-top,
body.pilot-theme .navigation .level0.has-active > .level-top {
    color: var(--pilot-ink) !important;
}

body.pilot-theme .navigation .level0 .submenu {
    border-color: var(--pilot-line);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
    font-weight: 500;
}

body.pilot-theme .navigation .level0 .submenu a {
    color: var(--pilot-ink);
}

.pilot-navigation__deal .level-top {
    color: var(--pilot-deal) !important;
    gap: 5px;
}

.pilot-navigation__deal-icon {
    height: 16px;
    width: 16px;
}

.pilot-navigation__deal-icon path,
.pilot-navigation__deal-icon circle {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

/* Homepage */
.pilot-home-hero {
    background-color: #f3eee7;
    background-image: linear-gradient(90deg, rgba(248, 243, 236, 1) 0%, rgba(248, 243, 236, .96) 28%, rgba(248, 243, 236, .72) 45%, rgba(248, 243, 236, .08) 68%), url('../images/pilot/hero-sample.jpg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: auto 100%;
    border-bottom: 1px solid #eee7df;
    margin: 0;
    min-height: 236px;
}

.pilot-home-hero__inner {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: var(--pilot-max);
    min-height: 236px;
    padding: 38px 32px 30px;
}

.pilot-home-hero__content {
    max-width: 420px;
}

.pilot-home-hero h1 {
    color: var(--pilot-ink);
    font-family: var(--pilot-serif);
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: .96;
    margin: 0 0 16px;
}

.pilot-home-hero p {
    color: var(--pilot-ink);
    font-family: var(--pilot-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 20px;
    max-width: 360px;
}

.pilot-home-hero__actions {
    align-items: center;
    display: flex;
    gap: 14px;
}

.pilot-button {
    align-items: center;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-flex;
    font-family: var(--pilot-font);
    font-size: 13px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    line-height: 1;
    min-width: 132px;
    padding: 0 20px;
    text-decoration: none !important;
}

.pilot-button--primary {
    background: var(--pilot-primary-button-bg);
    border: 1px solid var(--pilot-primary-button-bg);
    color: #fff !important;
}

.pilot-button--primary:hover,
.pilot-button--primary:focus {
    background: var(--pilot-primary-button-hover-bg);
    border-color: var(--pilot-primary-button-hover-bg);
    color: #fff !important;
}

.pilot-button--secondary {
    background: rgba(255, 255, 255, .58);
    border: 1px solid #9f978d;
    color: var(--pilot-ink) !important;
}

.pilot-button--secondary:hover,
.pilot-button--secondary:focus {
    background: #fff;
    color: var(--pilot-ink) !important;
}

/* Benefits strip */
.pilot-benefits {
    background: #fff;
    border-bottom: 1px solid #eee7df;
    margin: 0;
}

.pilot-benefits__inner {
    box-sizing: border-box;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    max-width: var(--pilot-max);
    padding: 16px 32px 14px;
}

.pilot-benefit {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 38px;
    padding: 0 24px;
    position: relative;
}

.pilot-benefit:not(:last-child)::after {
    background: var(--pilot-line);
    content: '';
    height: 34px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}

.pilot-benefit__icon {
    align-items: center;
    color: var(--pilot-ink);
    display: inline-flex;
    justify-content: center;
}

.pilot-benefit__icon svg {
    height: 29px;
    width: 29px;
}

.pilot-benefit__icon path,
.pilot-benefit__icon circle {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.pilot-benefit strong {
    color: var(--pilot-ink);
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 4px;
}

.pilot-benefit span:last-child {
    color: var(--pilot-ink);
    display: block;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

/* Category cards */
.pilot-category-cards {
    background: #fbfaf8;
    margin: 0;
    padding: 12px 0 22px;
}

.pilot-category-cards__inner {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: var(--pilot-max);
    padding: 0 32px;
}

.pilot-section-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 0 12px;
}

.pilot-section-heading h2 {
    color: var(--pilot-ink);
    font-family: var(--pilot-font);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.2;
    margin: 0;
}

.pilot-view-all-categories {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--pilot-ink);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--pilot-font);
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
    padding: 0;
}

.pilot-category-card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pilot-category-card {
    background: #fff;
    border: 1px solid #eee8e0;
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(50, 43, 35, .04);
    color: var(--pilot-ink) !important;
    display: block;
    min-height: 116px;
    overflow: hidden;
    text-decoration: none !important;
}

.pilot-category-card:hover,
.pilot-category-card:focus {
    border-color: #d8d0c6;
    box-shadow: 0 12px 30px rgba(50, 43, 35, .08);
    color: var(--pilot-ink) !important;
}

.pilot-category-card__image {
    background-color: #f4eee6;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    height: 78px;
}

.pilot-category-card__body {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 14px;
}

.pilot-category-card strong {
    color: var(--pilot-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pilot-category-card__arrow {
    color: var(--pilot-ink);
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

/* Tablet */
@media (max-width: 1100px) {
    :root {
        --pilot-max: 100%;
    }

    body.pilot-theme .header.content {
        gap: 10px;
        padding-left: 22px;
        padding-right: 22px;
    }

    body.pilot-theme .logo {
        flex-basis: 150px;
        margin-right: 16px;
    }

    .pilot-all-categories-button {
        flex-basis: 144px;
    }

    .pilot-category-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pilot-trustbar__inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .pilot-trustbar__item {
        font-size: 11px;
        gap: 6px;
    }

    body.pilot-theme .header.content {
        flex-wrap: wrap;
    }

    body.pilot-theme .block-search,
    body.pilot-theme .pilot-search {
        flex-basis: calc(100% - 168px);
        min-width: 0;
    }

    .pilot-account-button {
        display: none !important;
    }

    .pilot-benefits__inner {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 14px;
    }

    .pilot-benefit:nth-child(2)::after {
        display: none;
    }

    .pilot-home-hero h1 {
        font-size: 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.pilot-theme {
        min-width: 0;
    }

    .pilot-trustbar {
        font-size: 8px;
        letter-spacing: 0;
    }

    .pilot-trustbar__inner {
        gap: 0;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        min-height: 34px;
        padding: 0 6px;
    }

    .pilot-trustbar__item {
        flex-direction: column;
        gap: 2px;
        justify-content: center;
        line-height: 1.05;
        overflow: hidden;
        text-align: center;
        white-space: normal;
    }

    .pilot-trustbar__item:not(:last-child)::after {
        display: none;
    }

    .pilot-trustbar__icon {
        height: 12px;
        width: 12px;
    }

    .pilot-trustbar__flag {
        height: 9px;
        width: 14px;
    }

    body.pilot-theme .header.content {
        display: grid !important;
        gap: 10px;
        grid-template-columns: 44px minmax(0, 1fr) 54px;
        min-height: 0;
        padding: 10px 12px 16px;
    }

    body.pilot-theme .nav-toggle {
        align-items: center;
        background: transparent;
        border: 0;
        color: var(--pilot-ink);
        display: inline-flex !important;
        grid-column: 1;
        grid-row: 1;
        height: 42px;
        justify-content: center;
        left: auto;
        order: 1;
        position: static;
        top: auto;
        width: 42px;
    }

    body.pilot-theme .nav-toggle::before {
        color: var(--pilot-ink);
        font-size: 24px;
        line-height: 1;
    }

    body.pilot-theme .logo {
        flex: none;
        grid-column: 2;
        grid-row: 1;
        height: 42px;
        justify-content: center;
        margin: 0;
        max-width: none;
        order: 2;
        width: 100%;
    }

    body.pilot-theme .logo img {
        max-height: 40px;
        max-width: 120px;
    }

    body.pilot-theme .minicart-wrapper {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        order: 3;
    }

    body.pilot-theme .minicart-wrapper .action.showcart {
        border: 0;
        height: 42px;
        min-width: 42px;
        padding: 0;
        width: 42px;
    }

    body.pilot-theme .minicart-wrapper .action.showcart::before {
        font-size: 24px;
        margin: 0;
    }

    body.pilot-theme .minicart-wrapper .action.showcart .counter.qty {
        display: none !important;
    }

    /* Keep the cart label available to screen readers while the mobile UI
       remains icon-only. */
    body.pilot-theme .minicart-wrapper .action.showcart .text {
        border: 0 !important;
        clip: rect(0, 0, 0, 0) !important;
        clip-path: inset(50%) !important;
        display: block !important;
        height: 1px !important;
        margin: -1px !important;
        overflow: hidden !important;
        padding: 0 !important;
        position: absolute !important;
        white-space: nowrap !important;
        width: 1px !important;
    }

    body.pilot-theme .block-search,
    body.pilot-theme .pilot-search {
        flex: none;
        grid-column: 1 / 4;
        grid-row: 2;
        min-width: 0;
        order: 4;
        width: 100% !important;
    }

    body.pilot-theme .pilot-minisearch,
    body.pilot-theme .pilot-minisearch input.input-text,
    body.pilot-theme .pilot-minisearch .actions,
    body.pilot-theme .pilot-minisearch button.action.search {
        height: 42px;
    }

    body.pilot-theme .pilot-minisearch input.input-text {
        border-radius: 2px 0 0 2px;
        font-size: 11px;
        line-height: 42px;
        padding-left: 12px;
    }

    body.pilot-theme .pilot-minisearch .actions,
    body.pilot-theme .pilot-minisearch button.action.search {
        width: 42px;
    }

    .pilot-search-icon {
        height: 18px;
        width: 18px;
    }

    .pilot-all-categories-button {
        border: 1px solid var(--pilot-line-dark);
        border-radius: 2px;
        flex: none;
        grid-column: 1 / 4;
        grid-row: 3;
        height: 42px;
        justify-content: space-between;
        order: 5;
        padding: 0 16px;
        width: 100%;
    }

    .pilot-account-button {
        display: none !important;
    }

    body.pilot-theme .nav-sections {
        background: #fff;
        border: 0;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
        display: none;
        margin: 0;
    }

    body.pilot-theme .nav-sections.pilot-menu-expanded,
    body.pilot-theme.nav-open .nav-sections,
    body.pilot-theme .nav-sections[style*="display: block"] {
        display: block !important;
    }

    body.pilot-theme .nav-sections-item-content {
        padding: 0 12px 12px;
    }

    body.pilot-theme .navigation.pilot-navigation,
    body.pilot-theme .navigation {
        display: block;
        height: auto;
        padding: 0;
    }

    .pilot-show-categories-button {
        display: none;
    }

    body.pilot-theme .pilot-navigation__list,
    body.pilot-theme .navigation ul.pilot-navigation__list {
        display: block !important;
        width: 100%;
    }

    body.pilot-theme .navigation .level0 {
        border-bottom: 1px solid #f0ebe4;
        display: block;
        width: 100%;
    }

    body.pilot-theme .navigation .level0 > .level-top {
        box-sizing: border-box;
        display: flex;
        height: 42px;
        justify-content: space-between;
        padding: 0 8px;
        width: 100%;
    }

    body.pilot-theme .navigation .level0 .submenu {
        box-shadow: none;
        position: static;
    }

    .pilot-home-hero {
        background-image: linear-gradient(90deg, rgba(248, 243, 236, .95) 0%, rgba(248, 243, 236, .9) 55%, rgba(248, 243, 236, .2) 100%), url('../images/pilot/hero-sample.jpg');
        background-position: 56% center;
        background-size: auto 100%;
        min-height: 268px;
    }

    .pilot-home-hero__inner {
        min-height: 268px;
        padding: 24px 22px 22px;
    }

    .pilot-home-hero__content {
        max-width: 245px;
    }

    .pilot-home-hero h1 {
        font-size: 31px;
        line-height: 1.02;
        margin-bottom: 10px;
    }

    .pilot-home-hero p {
        font-size: 12px;
        line-height: 1.42;
        margin-bottom: 16px;
        max-width: 220px;
    }

    .pilot-home-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .pilot-button {
        font-size: 11px;
        height: 31px;
        min-width: 132px;
        padding: 0 14px;
    }

    .pilot-benefits__inner {
        background: #fff;
        border-bottom: 1px solid #f0ebe4;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 12px 8px 10px;
    }

    .pilot-benefit {
        display: block;
        min-height: 0;
        padding: 0 4px;
        text-align: center;
    }

    .pilot-benefit::after {
        display: none !important;
    }

    .pilot-benefit__icon {
        margin: 0 auto 5px;
    }

    .pilot-benefit__icon svg {
        height: 22px;
        width: 22px;
    }

    .pilot-benefit strong {
        font-size: 8px;
        line-height: 1.15;
        margin-bottom: 2px;
    }

    .pilot-benefit span:last-child {
        font-size: 0;
    }

    .pilot-category-cards {
        padding: 14px 0 18px;
    }

    .pilot-category-cards__inner {
        padding: 0 12px;
    }

    .pilot-section-heading {
        margin-bottom: 10px;
    }

    .pilot-section-heading h2 {
        font-size: 17px;
    }

    .pilot-view-all-categories {
        font-size: 10px;
    }

    .pilot-category-card-grid {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pilot-category-card {
        min-height: 116px;
    }

    .pilot-category-card__image {
        height: 78px;
    }

    .pilot-category-card__body {
        min-height: 36px;
        padding: 0 10px;
    }

    .pilot-category-card strong {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .pilot-home-hero h1 {
        font-size: 28px;
    }

    .pilot-home-hero__content {
        max-width: 220px;
    }
}

/* --------------------------------------------------------------------------
   v11 correction: restore full reference-style home stack.
   Keeps this theme responsive and leaves colour values as variables for later
   admin configurability.
---------------------------------------------------------------------------- */
:root {
    --pilot-bg: #f7f3ec;
    --pilot-surface: #ffffff;
    --pilot-ink: #0d1c24;
    --pilot-muted: #5f6870;
    --pilot-line: #e8e1d8;
    --pilot-line-dark: #d7cfc5;
    --pilot-topbar-bg: #5a554d;
    --pilot-search-button-bg: #071923;
    --pilot-search-button-hover-bg: #0f2834;
    --pilot-primary-button-bg: #071923;
    --pilot-primary-button-hover-bg: #0f2834;
    --pilot-deal: #ef5b35;
    --pilot-hero-bg: #f4eee6;
    --pilot-card-bg: #ffffff;
    --pilot-radius: 5px;
    --pilot-max: 1200px;
}

body.pilot-theme,
body.pilot-theme .page-wrapper,
body.pilot-theme .page-main,
body.pilot-theme .columns,
body.pilot-theme .column.main {
    background: var(--pilot-bg) !important;
}

body.pilot-theme.cms-index-index .page-main,
body.pilot-theme.cms-home .page-main {
    max-width: none !important;
    padding: 0 !important;
}

body.pilot-theme.cms-index-index .columns,
body.pilot-theme.cms-home .columns,
body.pilot-theme.cms-index-index .column.main,
body.pilot-theme.cms-home .column.main {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
}

/* Header + navigation row */
body.pilot-theme .page-header {
    background: var(--pilot-surface) !important;
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.pilot-theme .header.content {
    min-height: 100px !important;
    max-width: var(--pilot-max) !important;
    padding: 21px 32px 18px !important;
}

body.pilot-theme .logo {
    flex: 0 0 175px !important;
    margin-right: 22px !important;
}

body.pilot-theme .logo img {
    max-height: 62px !important;
    max-width: 170px !important;
}

body.pilot-theme .nav-sections {
    background: #fff !important;
    border-top: 1px solid var(--pilot-line) !important;
    border-bottom: 1px solid var(--pilot-line) !important;
    box-shadow: none !important;
    display: block !important;
    margin: 0 !important;
}

body.pilot-theme .nav-sections-items,
body.pilot-theme .nav-sections-item-content {
    display: block !important;
    margin: 0 auto !important;
    max-width: var(--pilot-max) !important;
    padding: 0 32px !important;
}

body.pilot-theme .navigation.pilot-navigation,
body.pilot-theme .pilot-navigation {
    align-items: center !important;
    background: #fff !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 26px !important;
    height: 44px !important;
    justify-content: flex-start !important;
    max-width: none !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
}

body.pilot-theme .pilot-show-categories-button {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid var(--pilot-line-dark) !important;
    border-radius: 4px !important;
    color: var(--pilot-ink) !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    gap: 9px !important;
    height: 28px !important;
    line-height: 1 !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
}

body.pilot-theme .pilot-navigation__scroller {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

body.pilot-theme .pilot-navigation__list {
    align-items: center !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    justify-content: space-between !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

body.pilot-theme .pilot-navigation__item {
    align-items: center !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

body.pilot-theme .pilot-navigation__link {
    align-items: center !important;
    border: 0 !important;
    color: var(--pilot-ink) !important;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    gap: 4px !important;
    height: 44px !important;
    line-height: 1 !important;
    padding: 0 9px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.pilot-theme .pilot-navigation__link:hover,
body.pilot-theme .pilot-navigation__link:focus {
    color: var(--pilot-ink) !important;
    text-decoration: none !important;
}

body.pilot-theme .pilot-navigation__chevron {
    height: 13px !important;
    width: 13px !important;
}

body.pilot-theme .pilot-navigation__chevron path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-width: 1.8 !important;
}

body.pilot-theme .pilot-navigation__deal .pilot-navigation__link {
    color: var(--pilot-deal) !important;
}

/* Homepage: hero, benefits and product-line cards */
body.pilot-theme .pilot-home-hero {
    background-color: var(--pilot-hero-bg) !important;
    background-image: linear-gradient(90deg, rgba(247,242,235,1) 0%, rgba(247,242,235,.98) 31%, rgba(247,242,235,.73) 44%, rgba(247,242,235,.07) 64%), url('../images/pilot/hero-sample.jpg') !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
    background-size: auto 100% !important;
    border-bottom: 1px solid #eee7df !important;
    margin: 0 !important;
    min-height: 240px !important;
}

body.pilot-theme .pilot-home-hero__inner {
    box-sizing: border-box !important;
    margin: 0 auto !important;
    max-width: var(--pilot-max) !important;
    min-height: 240px !important;
    padding: 36px 32px 30px !important;
}

body.pilot-theme .pilot-home-hero__content {
    max-width: 420px !important;
}

body.pilot-theme .pilot-home-hero h1 {
    color: var(--pilot-ink) !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 49px !important;
    font-weight: 600 !important;
    letter-spacing: -.045em !important;
    line-height: .98 !important;
    margin: 0 0 14px !important;
}

body.pilot-theme .pilot-home-hero p {
    color: var(--pilot-ink) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin: 0 0 19px !important;
    max-width: 365px !important;
}

body.pilot-theme .pilot-home-hero__actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
}

body.pilot-theme .pilot-button {
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 34px !important;
    min-width: 132px !important;
}

body.pilot-theme .pilot-benefits {
    background: #fff !important;
    border-bottom: 1px solid #eee7df !important;
    display: block !important;
    margin: 0 !important;
}

body.pilot-theme .pilot-benefits__inner {
    background: #fff !important;
    box-sizing: border-box !important;
    display: grid !important;
    gap: 0 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin: 0 auto !important;
    max-width: var(--pilot-max) !important;
    padding: 16px 32px 14px !important;
}

body.pilot-theme .pilot-benefit {
    align-items: center !important;
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    min-height: 38px !important;
    padding: 0 24px !important;
    position: relative !important;
    text-align: left !important;
}

body.pilot-theme .pilot-benefit:not(:last-child)::after {
    background: var(--pilot-line) !important;
    content: '' !important;
    display: block !important;
    height: 34px !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1px !important;
}

body.pilot-theme .pilot-benefit strong {
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin: 0 0 4px !important;
}

body.pilot-theme .pilot-benefit span:last-child {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

body.pilot-theme .pilot-category-cards {
    background: #fbfaf8 !important;
    display: block !important;
    margin: 0 !important;
    padding: 13px 0 24px !important;
}

body.pilot-theme .pilot-category-cards__inner {
    box-sizing: border-box !important;
    margin: 0 auto !important;
    max-width: var(--pilot-max) !important;
    padding: 0 32px !important;
}

body.pilot-theme .pilot-section-heading {
    align-items: center !important;
    display: flex !important;
    justify-content: space-between !important;
    margin: 0 0 12px !important;
}

body.pilot-theme .pilot-section-heading h2 {
    color: var(--pilot-ink) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: .01em !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

body.pilot-theme .pilot-view-all-categories {
    background: transparent !important;
    border: 0 !important;
    color: var(--pilot-ink) !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 0 !important;
}

body.pilot-theme .pilot-category-card-grid {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

body.pilot-theme .pilot-category-card {
    background: #fff !important;
    border: 1px solid #eee8e0 !important;
    border-radius: 5px !important;
    box-shadow: 0 8px 24px rgba(50,43,35,.04) !important;
    color: var(--pilot-ink) !important;
    display: block !important;
    min-height: 116px !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

body.pilot-theme .pilot-category-card__image {
    background-color: #f4eee6 !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    display: block !important;
    height: 78px !important;
}

body.pilot-theme .pilot-category-card__body {
    align-items: center !important;
    display: flex !important;
    justify-content: space-between !important;
    min-height: 38px !important;
    padding: 0 14px !important;
}

body.pilot-theme .pilot-category-card strong {
    color: var(--pilot-ink) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

@media (max-width: 1100px) {
    body.pilot-theme .pilot-category-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.pilot-theme .pilot-navigation__list {
        min-width: 760px !important;
    }

    body.pilot-theme .pilot-navigation__scroller {
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    body.pilot-theme .pilot-navigation__scroller::-webkit-scrollbar {
        display: none !important;
    }
}

@media (max-width: 900px) {
    body.pilot-theme .header.content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.pilot-theme .pilot-benefits__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        row-gap: 14px !important;
    }

    body.pilot-theme .pilot-benefit:nth-child(2)::after {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body.pilot-theme .header.content {
        display: grid !important;
        gap: 10px !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px !important;
        min-height: 0 !important;
        padding: 10px 12px 14px !important;
    }

    body.pilot-theme .nav-toggle {
        display: inline-flex !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    body.pilot-theme .logo {
        flex: none !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: center !important;
        margin: 0 !important;
        width: 100% !important;
    }

    body.pilot-theme .minicart-wrapper {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    body.pilot-theme .block-search,
    body.pilot-theme .pilot-search {
        grid-column: 1 / 4 !important;
        grid-row: 2 !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    body.pilot-theme .pilot-all-categories-button {
        border: 1px solid var(--pilot-line-dark) !important;
        border-radius: 2px !important;
        grid-column: 1 / 4 !important;
        grid-row: 3 !important;
        height: 42px !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    body.pilot-theme .nav-sections {
        display: block !important;
        height: auto !important;
    }

    body.pilot-theme .nav-sections-items,
    body.pilot-theme .nav-sections-item-content {
        padding: 0 !important;
        max-width: none !important;
    }

    body.pilot-theme .navigation.pilot-navigation,
    body.pilot-theme .pilot-navigation {
        display: block !important;
        height: auto !important;
        padding: 0 12px 8px !important;
    }

    body.pilot-theme .pilot-show-categories-button {
        display: none !important;
    }

    body.pilot-theme .pilot-navigation__scroller {
        background: #fff !important;
        overflow-x: auto !important;
        width: 100% !important;
    }

    body.pilot-theme .pilot-navigation__list {
        display: flex !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        min-width: max-content !important;
        padding: 8px 0 !important;
        width: auto !important;
    }

    body.pilot-theme .pilot-navigation__link {
        background: #fbfaf8 !important;
        border: 1px solid var(--pilot-line) !important;
        border-radius: 3px !important;
        font-size: 11px !important;
        height: 30px !important;
        padding: 0 10px !important;
    }

    body.pilot-theme .pilot-home-hero {
        background-image: linear-gradient(90deg, rgba(247,242,235,.97) 0%, rgba(247,242,235,.92) 48%, rgba(247,242,235,.18) 100%), url('../images/pilot/hero-sample.jpg') !important;
        background-position: 58% center !important;
        background-size: auto 100% !important;
        min-height: 250px !important;
    }

    body.pilot-theme .pilot-home-hero__inner {
        min-height: 250px !important;
        padding: 24px 22px 22px !important;
    }

    body.pilot-theme .pilot-home-hero__content {
        max-width: 270px !important;
    }

    body.pilot-theme .pilot-home-hero h1 {
        font-size: 34px !important;
        line-height: 1.02 !important;
        margin-bottom: 10px !important;
    }

    body.pilot-theme .pilot-home-hero p {
        font-size: 12px !important;
        max-width: 235px !important;
    }

    body.pilot-theme .pilot-home-hero__actions {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    body.pilot-theme .pilot-benefits__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        padding: 12px 8px 10px !important;
    }

    body.pilot-theme .pilot-benefit {
        display: block !important;
        min-height: 0 !important;
        padding: 0 4px !important;
        text-align: center !important;
    }

    body.pilot-theme .pilot-benefit::after {
        display: none !important;
    }

    body.pilot-theme .pilot-benefit__icon {
        justify-content: center !important;
        margin: 0 auto 5px !important;
    }

    body.pilot-theme .pilot-benefit__icon svg {
        height: 22px !important;
        width: 22px !important;
    }

    body.pilot-theme .pilot-benefit strong {
        font-size: 8px !important;
        line-height: 1.15 !important;
    }

    body.pilot-theme .pilot-benefit span:last-child {
        display: none !important;
    }

    body.pilot-theme .pilot-category-cards {
        padding: 14px 0 18px !important;
    }

    body.pilot-theme .pilot-category-cards__inner {
        padding: 0 12px !important;
    }

    body.pilot-theme .pilot-section-heading h2 {
        font-size: 17px !important;
    }

    body.pilot-theme .pilot-view-all-categories {
        font-size: 10px !important;
    }

    body.pilot-theme .pilot-category-card-grid {
        gap: 10px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.pilot-theme .pilot-category-card,
    body.pilot-theme .pilot-category-card__image {
        min-height: 0 !important;
    }

    body.pilot-theme .pilot-category-card__image {
        height: 78px !important;
    }
}

/* --------------------------------------------------------------------------
   v12: full-width commercial header/footer pass.
   Competitor-inspired structure: full-bleed bars, wider search, stronger nav,
   and a complete footer. Content still keeps responsive side padding.
---------------------------------------------------------------------------- */
:root {
    --pilot-page-pad: clamp(18px, 4.5vw, 86px);
    --pilot-max: none;
    --pilot-bg: #f7f3ec;
    --pilot-topbar-bg: #5a554d;
    --pilot-header-bg: #ffffff;
    --pilot-nav-bg: #fbfaf8;
    --pilot-footer-bg: #0d1c24;
    --pilot-footer-muted-bg: #132a35;
}

body.pilot-theme .page-wrapper {
    overflow-x: hidden;
}

/* Full-bleed top bar/header/nav */
body.pilot-theme .page-header,
body.pilot-theme .pilot-trustbar,
body.pilot-theme .nav-sections {
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    position: relative;
    right: 50%;
    width: 100vw !important;
}

body.pilot-theme .pilot-trustbar__inner,
body.pilot-theme .header.content,
body.pilot-theme .nav-sections-items,
body.pilot-theme .nav-sections-item-content,
body.pilot-theme .pilot-home-hero__inner,
body.pilot-theme .pilot-benefits__inner,
body.pilot-theme .pilot-category-cards__inner {
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    padding-left: var(--pilot-page-pad) !important;
    padding-right: var(--pilot-page-pad) !important;
    width: 100% !important;
}

body.pilot-theme .pilot-trustbar {
    background: var(--pilot-topbar-bg) !important;
}

body.pilot-theme .pilot-trustbar__inner {
    min-height: 42px !important;
}

body.pilot-theme .pilot-trustbar__item {
    font-size: 13px !important;
    font-weight: 600 !important;
    justify-content: center !important;
}

body.pilot-theme .header.content {
    background: var(--pilot-header-bg) !important;
    gap: 18px !important;
    min-height: 104px !important;
    padding-bottom: 20px !important;
    padding-top: 22px !important;
}

body.pilot-theme .logo {
    flex: 0 0 clamp(170px, 15vw, 240px) !important;
    margin-right: clamp(10px, 2vw, 30px) !important;
}

body.pilot-theme .logo img {
    max-height: 66px !important;
    max-width: 205px !important;
}

body.pilot-theme .pilot-all-categories-button {
    flex: 0 0 166px !important;
}

body.pilot-theme .block-search,
body.pilot-theme .pilot-search {
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 360px !important;
}

body.pilot-theme .pilot-account-button {
    flex: 0 0 122px !important;
}

body.pilot-theme .minicart-wrapper .action.showcart {
    min-width: 130px !important;
}

/* Make category nav feel more complete across desktop width. */
body.pilot-theme .nav-sections {
    background: var(--pilot-nav-bg) !important;
    border-bottom: 1px solid var(--pilot-line) !important;
    border-top: 1px solid var(--pilot-line) !important;
}

body.pilot-theme .navigation.pilot-navigation,
body.pilot-theme .pilot-navigation {
    background: var(--pilot-nav-bg) !important;
    gap: 34px !important;
    height: 48px !important;
}

body.pilot-theme .pilot-show-categories-button {
    background: #fff !important;
    height: 32px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

body.pilot-theme .pilot-navigation__list {
    min-width: 0 !important;
}

body.pilot-theme .pilot-navigation__link {
    height: 48px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Full-width homepage bands while preserving the actual design. */
body.pilot-theme .pilot-home-hero,
body.pilot-theme .pilot-benefits,
body.pilot-theme .pilot-category-cards {
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    position: relative;
    right: 50%;
    width: 100vw !important;
}

body.pilot-theme .pilot-home-hero {
    background-color: #f4eee6 !important;
    min-height: 270px !important;
}

body.pilot-theme .pilot-home-hero__inner {
    min-height: 270px !important;
    padding-bottom: 34px !important;
    padding-top: 42px !important;
}

body.pilot-theme .pilot-home-hero__content {
    max-width: min(440px, 38vw) !important;
}

body.pilot-theme .pilot-category-cards {
    background: var(--pilot-bg) !important;
    padding-bottom: 34px !important;
}

body.pilot-theme .pilot-category-card-grid {
    grid-template-columns: repeat(6, minmax(130px, 1fr)) !important;
}

body.pilot-theme .pilot-category-card__image {
    height: clamp(78px, 6.2vw, 112px) !important;
}

/* Hide any leftover Luma footer blocks and replace with a full-width footer. */
body.pilot-theme .page-footer {
    background: var(--pilot-footer-bg) !important;
    border: 0 !important;
    color: #fff !important;
    left: 50%;
    margin: 0 -50vw 0 !important;
    padding: 0 !important;
    position: relative;
    right: 50%;
    width: 100vw !important;
}

body.pilot-theme .page-footer .footer.content {
    box-sizing: border-box !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

body.pilot-theme .page-footer .footer.content > *:not(.pilot-footer) {
    display: none !important;
}

.pilot-footer,
.pilot-footer * {
    box-sizing: border-box;
}

.pilot-footer {
    background: var(--pilot-footer-bg);
    color: #fff;
    font-family: var(--pilot-font);
    width: 100%;
}

.pilot-footer a {
    color: inherit !important;
    text-decoration: none !important;
}

.pilot-footer a:hover,
.pilot-footer a:focus {
    text-decoration: underline !important;
}

.pilot-footer__service-row {
    background: var(--pilot-footer-muted-bg);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pilot-footer__service-inner,
.pilot-footer__inner,
.pilot-footer__bottom-inner {
    margin: 0;
    max-width: none;
    padding-left: var(--pilot-page-pad);
    padding-right: var(--pilot-page-pad);
    width: 100%;
}

.pilot-footer__service-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 54px;
}

.pilot-footer__service-inner a {
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, .10);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 9px;
    justify-content: center;
    min-width: 0;
    padding: 0 14px;
    text-align: center;
}

.pilot-footer__service-inner a:first-child {
    border-left: 1px solid rgba(255, 255, 255, .10);
}

.pilot-footer__service-inner span {
    color: #f0c79f;
    font-size: 16px;
    line-height: 1;
}

.pilot-footer__main {
    background: var(--pilot-footer-bg);
}

.pilot-footer__inner {
    display: grid;
    gap: clamp(24px, 3vw, 56px);
    grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(130px, .75fr)) minmax(240px, 1fr);
    padding-bottom: 42px;
    padding-top: 42px;
}

.pilot-footer__brand strong {
    display: block;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: .24em;
    line-height: .9;
}

.pilot-footer__brand > span {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .56em;
    margin-top: 10px;
}

.pilot-footer__brand p,
.pilot-footer__newsletter p {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.6;
    margin: 18px 0 0;
    max-width: 320px;
}

.pilot-footer__column h3,
.pilot-footer__newsletter h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0 0 14px;
}

.pilot-footer__column a {
    color: rgba(255, 255, 255, .72) !important;
    display: block;
    font-size: 13px;
    line-height: 1.35;
    margin: 0 0 11px;
}

.pilot-footer__cta {
    align-items: center;
    background: #fff;
    border-radius: 4px;
    color: var(--pilot-ink) !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    margin-top: 18px;
    padding: 0 18px;
}

.pilot-footer__bottom {
    background: #09161d;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.pilot-footer__bottom-inner {
    align-items: center;
    color: rgba(255, 255, 255, .68);
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    min-height: 48px;
}

.pilot-footer__bottom-links {
    display: inline-flex;
    gap: 20px;
}

/* Wide screens: avoid the header looking empty by giving search more presence. */
@media (min-width: 1400px) {
    body.pilot-theme .pilot-minisearch,
    body.pilot-theme .pilot-minisearch input.input-text,
    body.pilot-theme .pilot-minisearch .actions,
    body.pilot-theme .pilot-minisearch button.action.search,
    body.pilot-theme .pilot-all-categories-button,
    body.pilot-theme .pilot-account-button,
    body.pilot-theme .minicart-wrapper .action.showcart {
        height: 54px !important;
    }

    body.pilot-theme .pilot-minisearch input.input-text {
        line-height: 54px !important;
    }

    body.pilot-theme .pilot-minisearch .actions,
    body.pilot-theme .pilot-minisearch button.action.search {
        width: 56px !important;
    }

    body.pilot-theme .pilot-home-hero,
    body.pilot-theme .pilot-home-hero__inner {
        min-height: 292px !important;
    }
}

@media (max-width: 1100px) {
    :root {
        --pilot-page-pad: 22px;
    }

    body.pilot-theme .header.content {
        gap: 10px !important;
    }

    body.pilot-theme .block-search,
    body.pilot-theme .pilot-search {
        min-width: 240px !important;
    }

    body.pilot-theme .pilot-category-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .pilot-footer__inner {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .pilot-footer__newsletter {
        grid-column: 2 / 4;
    }
}

@media (max-width: 900px) {
    body.pilot-theme .pilot-trustbar__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    body.pilot-theme .pilot-trustbar__item {
        font-size: 11px !important;
    }

    body.pilot-theme .logo {
        flex-basis: 140px !important;
    }

    body.pilot-theme .pilot-all-categories-button {
        flex-basis: 142px !important;
    }

    .pilot-footer__service-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    :root {
        --pilot-page-pad: 12px;
    }

    body.pilot-theme .page-header,
    body.pilot-theme .pilot-trustbar,
    body.pilot-theme .nav-sections,
    body.pilot-theme .pilot-home-hero,
    body.pilot-theme .pilot-benefits,
    body.pilot-theme .pilot-category-cards,
    body.pilot-theme .page-footer {
        left: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        right: auto !important;
        width: 100% !important;
    }

    body.pilot-theme .pilot-trustbar__inner {
        min-height: 34px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    body.pilot-theme .pilot-trustbar__item {
        font-size: 8px !important;
        font-weight: 600 !important;
    }

    body.pilot-theme .header.content {
        gap: 10px !important;
        grid-template-columns: 42px minmax(0, 1fr) 42px !important;
        padding: 10px 12px 14px !important;
    }

    body.pilot-theme .block-search,
    body.pilot-theme .pilot-search {
        min-width: 0 !important;
    }

    body.pilot-theme .pilot-all-categories-button {
        flex: none !important;
    }

    body.pilot-theme .pilot-home-hero__content {
        max-width: 270px !important;
    }

    body.pilot-theme .pilot-category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pilot-footer__service-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 0;
        padding-right: 0;
    }

    .pilot-footer__service-inner a {
        font-size: 11px;
        min-height: 44px;
        padding: 0 8px;
    }

    .pilot-footer__inner {
        gap: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: 30px;
        padding-top: 30px;
    }

    .pilot-footer__brand,
    .pilot-footer__newsletter {
        grid-column: 1 / 3;
    }

    .pilot-footer__brand strong {
        font-size: 30px;
    }

    .pilot-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        min-height: 64px;
        padding-bottom: 12px;
        padding-top: 12px;
    }
}

/* ================================================================
   Pilot functional category navigation + search alignment
   ================================================================ */

/* The category selector is a separate control, so it needs a complete box. */
body.pilot-theme .pilot-all-categories-button {
    border: 1px solid var(--pilot-line-dark) !important;
    border-radius: var(--pilot-radius) !important;
}

body.pilot-theme .pilot-all-categories-button[aria-expanded="true"],
body.pilot-theme .pilot-show-categories-button[aria-expanded="true"] {
    background: #f7f4ef !important;
    border-color: #bfb6aa !important;
}

body.pilot-theme .pilot-all-categories-button[aria-expanded="true"] .pilot-all-categories-button__chevron,
body.pilot-theme .pilot-navigation__link[aria-expanded="true"] .pilot-navigation__chevron {
    transform: rotate(180deg);
}

body.pilot-theme .pilot-all-categories-button__chevron,
body.pilot-theme .pilot-navigation__chevron {
    transition: transform .18s ease;
}

/* Keep the search action in the flex flow instead of absolutely overlaying it. */
body.pilot-theme .pilot-minisearch {
    align-items: stretch !important;
    display: flex !important;
    position: relative !important;
}

body.pilot-theme .pilot-minisearch .field.search {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
}

body.pilot-theme .pilot-minisearch .control {
    height: 100% !important;
    width: 100% !important;
}

body.pilot-theme .pilot-minisearch input.input-text {
    border-radius: var(--pilot-radius) 0 0 var(--pilot-radius) !important;
    border-right: 0 !important;
    padding-right: 20px !important;
}

body.pilot-theme .pilot-minisearch .actions {
    bottom: auto !important;
    display: block !important;
    flex: 0 0 52px !important;
    height: 52px !important;
    margin: 0 !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: 52px !important;
    z-index: auto !important;
}

body.pilot-theme .pilot-minisearch button.action.search {
    border-radius: 0 var(--pilot-radius) var(--pilot-radius) 0 !important;
    display: inline-flex !important;
    height: 100% !important;
    min-width: 0 !important;
    position: static !important;
    width: 100% !important;
}

body.pilot-theme .search-autocomplete {
    left: 0 !important;
    margin-top: 4px !important;
    position: absolute !important;
    top: 100% !important;
    width: calc(100% - 52px) !important;
    z-index: 1100 !important;
}

/* Mega-menu shell. */
body.pilot-theme .nav-sections,
body.pilot-theme .nav-sections-items,
body.pilot-theme .nav-sections-item-content,
body.pilot-theme .navigation.pilot-navigation,
body.pilot-theme .pilot-navigation {
    overflow: visible !important;
}

body.pilot-theme .pilot-navigation {
    position: relative !important;
}

body.pilot-theme .pilot-navigation__item {
    position: relative !important;
}

body.pilot-theme button.pilot-navigation__link {
    appearance: none;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: var(--pilot-font) !important;
    margin: 0 !important;
}

body.pilot-theme button.pilot-navigation__link:hover,
body.pilot-theme button.pilot-navigation__link:focus,
body.pilot-theme button.pilot-navigation__link[aria-expanded="true"] {
    background: #f8f5f0 !important;
}

body.pilot-theme .pilot-mega-menu {
    background: #fff;
    border: 1px solid var(--pilot-line-dark);
    border-radius: 0 0 7px 7px;
    box-shadow: 0 22px 52px rgba(16, 31, 39, .18);
    box-sizing: border-box;
    display: none;
    left: 0;
    max-height: min(620px, calc(100vh - 170px));
    min-height: 340px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 1200;
}

body.pilot-theme .pilot-navigation.pilot-category-menu--open .pilot-mega-menu {
    display: block;
}

body.pilot-theme .pilot-mega-menu__inner {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    height: 100%;
    max-height: inherit;
    min-height: 340px;
}

body.pilot-theme .pilot-mega-menu__sidebar {
    background: #f7f4ef;
    border-right: 1px solid var(--pilot-line);
    box-sizing: border-box;
    overflow-y: auto;
    padding: 20px 0;
}

body.pilot-theme .pilot-mega-menu__sidebar-title {
    color: #7a746d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    padding: 0 22px 12px;
    text-transform: uppercase;
}

body.pilot-theme .pilot-mega-menu__departments {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.pilot-theme .pilot-mega-menu__departments li {
    margin: 0;
    padding: 0;
}

body.pilot-theme .pilot-mega-menu__department {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--pilot-ink);
    cursor: pointer;
    display: flex;
    font-family: var(--pilot-font);
    font-size: 13px;
    font-weight: 700;
    gap: 12px;
    justify-content: space-between;
    margin: 0;
    min-height: 42px;
    padding: 8px 18px 8px 19px;
    text-align: left;
    width: 100%;
}

body.pilot-theme .pilot-mega-menu__department:hover,
body.pilot-theme .pilot-mega-menu__department:focus,
body.pilot-theme .pilot-mega-menu__department.is-active {
    background: #fff;
    border-left-color: var(--pilot-search-button-bg);
    color: var(--pilot-ink);
}

body.pilot-theme .pilot-mega-menu__department svg {
    flex: 0 0 auto;
    height: 15px;
    width: 15px;
}

body.pilot-theme .pilot-mega-menu__department svg path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

body.pilot-theme .pilot-mega-menu__content {
    background: #fff;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 25px 30px 32px;
}

body.pilot-theme .pilot-mega-menu__panel {
    display: none;
}

body.pilot-theme .pilot-mega-menu__panel.is-active {
    display: block;
}

body.pilot-theme .pilot-mega-menu__panel-header {
    align-items: flex-end;
    border-bottom: 1px solid var(--pilot-line);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 0 0 23px;
    padding: 0 0 16px;
}

body.pilot-theme .pilot-mega-menu__eyebrow {
    color: #817a72;
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

body.pilot-theme .pilot-mega-menu__panel h2 {
    color: var(--pilot-ink);
    font-family: var(--pilot-font);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

body.pilot-theme .pilot-mega-menu__view-all {
    align-items: center;
    color: var(--pilot-ink) !important;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    gap: 8px;
    padding: 6px 0;
    text-decoration: none !important;
}

body.pilot-theme .pilot-mega-menu__view-all:hover,
body.pilot-theme .pilot-mega-menu__view-all:focus {
    text-decoration: underline !important;
}

body.pilot-theme .pilot-mega-menu__grid {
    display: grid;
    /*gap: 28px 30px;*/
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

body.pilot-theme .pilot-mega-menu__group {
    min-width: 0;
}

body.pilot-theme .pilot-mega-menu__group-title {
    color: var(--pilot-ink) !important;
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
    text-decoration: none !important;
}

body.pilot-theme .pilot-mega-menu__group-title:hover,
body.pilot-theme .pilot-mega-menu__group-title:focus {
    text-decoration: underline !important;
}

body.pilot-theme .pilot-mega-menu__nested {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.pilot-theme .pilot-mega-menu__nested-item {
    margin: 0 0 7px;
    padding: 0;
    border-bottom: 1px solid #faf6f6;
}

body.pilot-theme .pilot-mega-menu__nested-item > a {
    color: #5e686e !important;
    display: inline-block;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.00 !important;
    text-decoration: none !important;
    padding-bottom: 9px !important;
}

body.pilot-theme .pilot-mega-menu__nested-item > a:hover,
body.pilot-theme .pilot-mega-menu__nested-item > a:focus {
    color: var(--pilot-ink) !important;
    text-decoration: underline !important;
}

body.pilot-theme .pilot-mega-menu__nested .pilot-mega-menu__nested {
    border-left: 1px solid var(--pilot-line);
    margin: 6px 0 9px 3px;
    padding-left: 10px;
}

body.pilot-theme .pilot-mega-menu__empty {
    background: #faf8f5;
    border: 1px solid var(--pilot-line);
    border-radius: 5px;
    padding: 22px;
}

body.pilot-theme .pilot-mega-menu__empty p {
    color: var(--pilot-muted);
    font-size: 13px;
    margin: 0 0 12px;
}

body.pilot-theme .pilot-mega-menu__empty a {
    color: var(--pilot-ink) !important;
    font-size: 13px;
    font-weight: 800;
}

@media (min-width: 1400px) {
    body.pilot-theme .pilot-minisearch .actions {
        flex-basis: 56px !important;
        height: 54px !important;
        width: 56px !important;
    }

    body.pilot-theme .search-autocomplete {
        width: calc(100% - 56px) !important;
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    body.pilot-theme .pilot-mega-menu__inner {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    body.pilot-theme .pilot-mega-menu__content {
        padding-left: 22px;
        padding-right: 22px;
    }

    body.pilot-theme .pilot-mega-menu__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.pilot-theme .pilot-minisearch .actions {
        flex-basis: 42px !important;
        height: 42px !important;
        width: 42px !important;
    }

    body.pilot-theme .search-autocomplete {
        width: calc(100% - 42px) !important;
    }

    body.pilot-theme .pilot-navigation {
        padding-bottom: 0 !important;
        position: static !important;
    }

    body.pilot-theme .pilot-navigation__scroller {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.pilot-theme .pilot-mega-menu {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
        box-shadow: 0 16px 30px rgba(16, 31, 39, .16);
        left: 0;
        max-height: calc(100vh - 150px);
        min-height: 0;
        position: absolute;
        right: 0;
        top: 100%;
        width: 100%;
    }

    body.pilot-theme .pilot-mega-menu__inner {
        display: block;
        max-height: inherit;
        min-height: 0;
        overflow-y: auto;
    }

    body.pilot-theme .pilot-mega-menu__sidebar {
        border-bottom: 1px solid var(--pilot-line);
        border-right: 0;
        max-height: 190px;
        padding: 13px 0;
    }

    body.pilot-theme .pilot-mega-menu__sidebar-title {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.pilot-theme .pilot-mega-menu__department {
        min-height: 38px;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.pilot-theme .pilot-mega-menu__content {
        overflow: visible;
        padding: 20px 16px 26px;
    }

    body.pilot-theme .pilot-mega-menu__panel-header {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    body.pilot-theme .pilot-mega-menu__panel h2 {
        font-size: 20px;
    }

    body.pilot-theme .pilot-mega-menu__grid {
        gap: 22px;
        grid-template-columns: 1fr;
    }
}

body.pilot-theme .pilot-mega-menu__panel h2,
body.pilot-theme .pilot-mega-menu__group-title {
    position: relative;
    margin-bottom: 18px;
}

body.pilot-theme .pilot-mega-menu__panel h2::after,
body.pilot-theme .pilot-mega-menu__group-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 11px;
    background: currentColor;
    opacity: 0.22;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Pilot Storefront Editor footer bridge.
   The service strip intentionally stays empty and acts as a colour separator.
---------------------------------------------------------------------------- */
body.pilot-theme .pilot-footer {
    background: var(--pilot-footer-background, var(--pilot-footer-bg)) !important;
    color: var(--pilot-footer-text, #b8c4cc) !important;
}

body.pilot-theme .pilot-footer__service-row {
    background: var(--pilot-footer-separator-bg, var(--pilot-footer-muted-bg)) !important;
    border-bottom: 1px solid var(--pilot-footer-divider, rgba(255, 255, 255, .08)) !important;
    min-height: 54px !important;
}

body.pilot-theme .pilot-footer__service-inner {
    min-height: 54px !important;
}

body.pilot-theme .pilot-footer__main {
    background: var(--pilot-footer-background, var(--pilot-footer-bg)) !important;
}

body.pilot-theme .pilot-footer__brand strong,
body.pilot-theme .pilot-footer__brand > span,
body.pilot-theme .pilot-footer__column h3,
body.pilot-theme .pilot-footer__newsletter h3 {
    color: var(--pilot-footer-heading, #fff) !important;
}

body.pilot-theme .pilot-footer__brand p,
body.pilot-theme .pilot-footer__newsletter p {
    color: var(--pilot-footer-text, rgba(255, 255, 255, .72)) !important;
}

body.pilot-theme .pilot-footer__column a {
    color: var(--pilot-footer-link, rgba(255, 255, 255, .72)) !important;
}

body.pilot-theme .pilot-footer__column a:hover,
body.pilot-theme .pilot-footer__column a:focus,
body.pilot-theme .pilot-footer__bottom-links a:hover,
body.pilot-theme .pilot-footer__bottom-links a:focus {
    color: var(--pilot-footer-hover, #fff) !important;
}

body.pilot-theme .pilot-footer__cta {
    background: var(--pilot-footer-button-bg, #fff) !important;
    color: var(--pilot-footer-button-text, #071b39) !important;
}

body.pilot-theme .pilot-footer__bottom {
    background: var(--pilot-footer-bottom-bg, #09161d) !important;
    border-top-color: var(--pilot-footer-divider, rgba(255, 255, 255, .08)) !important;
}

body.pilot-theme .pilot-footer__bottom-inner,
body.pilot-theme .pilot-footer__bottom-links a {
    color: var(--pilot-footer-bottom-text, rgba(255, 255, 255, .68)) !important;
}


/* v12.2 Preserve editor-entered footer line breaks. */
body.pilot-theme .pilot-footer__brand p,
body.pilot-theme .pilot-footer__newsletter p {
    white-space: pre-line;
}


/* Centered Retail header template
   --------------------------------------------------------------------------
   PilotTheme owns the frontend structure and layout. StorefrontEditor only
   supplies configuration variables. No icon or cart markup is moved by JS. */

.pilot-centered-actions {
    display: none;
}

html[data-pilot-header-layout="centered-retail"] body.pilot-theme .page-header,
html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content {
    background: var(--pilot-editor-light, #f6f9ff);
}

html[data-pilot-header-layout="centered-retail"][data-pilot-header-template="retail-blue"] body.pilot-theme .page-header,
html[data-pilot-header-layout="centered-retail"][data-pilot-header-template="retail-blue"] body.pilot-theme .header.content,
html[data-pilot-header-layout="centered-retail"][data-pilot-header-template="marketplace"] body.pilot-theme .page-header,
html[data-pilot-header-layout="centered-retail"][data-pilot-header-template="marketplace"] body.pilot-theme .header.content {
    background: var(--pilot-editor-primary, #0b4dcc);
    --pilot-centered-action-color: var(--pilot-editor-primary-text, #fff);
    --pilot-centered-action-surface: var(--pilot-editor-primary, #0b4dcc);
}

html[data-pilot-header-layout="centered-retail"][data-pilot-header-template="split-brand"] body.pilot-theme .page-header,
html[data-pilot-header-layout="centered-retail"][data-pilot-header-template="split-brand"] body.pilot-theme .header.content,
html[data-pilot-header-layout="centered-retail"][data-pilot-header-template="clean"] body.pilot-theme .page-header,
html[data-pilot-header-layout="centered-retail"][data-pilot-header-template="clean"] body.pilot-theme .header.content {
    background: var(--pilot-editor-light, #fff);
    --pilot-centered-action-color: var(--pilot-editor-light-text, #071b39);
    --pilot-centered-action-surface: var(--pilot-editor-light, #fff);
}

@media (min-width: 769px) {
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content {
        box-sizing: border-box;
        min-height: 96px;
        padding: 0 54px;
        position: relative;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .logo {
        left: 50%;
        margin: 0;
        max-width: min(360px, 34vw);
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 4;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .logo img {
        display: block;
        height: auto;
        max-height: 58px;
        max-width: 100%;
        width: auto;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .pilot-all-categories-button,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .pilot-orders-button,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .pilot-account-button {
        display: none !important;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-actions {
        align-items: center;
        display: flex;
        gap: 14px;
        height: 40px;
        margin: 0;
        position: absolute;
        right: 114px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 8;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-action,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .action.showcart {
        align-items: center;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        box-sizing: border-box;
        color: var(--pilot-centered-action-color, var(--pilot-editor-light-text, #071b39)) !important;
        display: inline-flex;
        flex: 0 0 36px;
        height: 36px;
        justify-content: center;
        margin: 0 !important;
        min-width: 36px;
        padding: 0 !important;
        text-decoration: none !important;
        width: 36px;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-action:hover,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-action:focus-visible,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .action.showcart:hover,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .action.showcart:focus-visible {
        background: transparent !important;
        color: var(--pilot-centered-action-color, var(--pilot-editor-light-text, #071b39)) !important;
        outline: 1px solid color-mix(in srgb, currentColor 28%, transparent);
        outline-offset: 3px;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-action__icon,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-action__icon svg {
        display: block;
        height: 20px;
        width: 20px;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-action__icon svg,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-action__icon svg * {
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.65;
        vector-effect: non-scaling-stroke;
    }

    /* Magento's real minicart remains in its original layout position. It is
       styled in place rather than reparented by JavaScript. */
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper {
        float: none !important;
        position: absolute !important;
        right: 64px !important;
        top: 50% !important;
        transform: translateY(-50%);
        z-index: 8;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .action.showcart::before {
        display: none !important;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .action.showcart::after {
        background-color: currentColor;
        content: "";
        display: block;
        height: 21px;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.25 8.25h11.5l-.7 11H6.95l-.7-11Z' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3Cpath d='M9 8.25V6.9a3 3 0 0 1 6 0v1.35' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'/%3E%3C/svg%3E");
        -webkit-mask-position: center;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.25 8.25h11.5l-.7 11H6.95l-.7-11Z' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3Cpath d='M9 8.25V6.9a3 3 0 0 1 6 0v1.35' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round'/%3E%3C/svg%3E");
        mask-position: center;
        mask-repeat: no-repeat;
        mask-size: contain;
        width: 21px;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .action.showcart .text {
        display: none !important;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .action.showcart > .counter.qty,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .action.showcart > .counter.qty.empty {
        align-items: center !important;
        background: var(--pilot-centered-action-color, var(--pilot-editor-light-text, #071b39)) !important;
        border: 0 !important;
        border-radius: 50% !important;
        box-shadow: none !important;
        color: var(--pilot-centered-action-surface, #fff) !important;
        display: flex !important;
        font-family: inherit !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        height: 16px !important;
        justify-content: center !important;
        line-height: 16px !important;
        margin: 0 !important;
        min-width: 16px !important;
        padding: 0 !important;
        position: absolute !important;
        right: -3px !important;
        top: -3px !important;
        width: 16px !important;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .counter-number {
        color: inherit !important;
        font: inherit !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .counter-label,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .counter.qty::before,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper .counter.qty::after {
        display: none !important;
    }

    /* Existing Magento search stays where layout XML renders it. JS toggles
       only the open state; it never moves or recreates this block. */
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .pilot-search,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .block-search {
        background: var(--pilot-editor-search-dropdown-background, #fff);
        border: 1px solid var(--pilot-editor-search-dropdown-border, rgba(7, 27, 57, .14));
        border-radius: 10px;
        box-shadow: 0 16px 38px rgba(7, 27, 57, .14);
        box-sizing: border-box;
        display: block !important;
        left: 50% !important;
        margin: 0 !important;
        max-width: calc(100vw - 48px);
        opacity: 0;
        padding: 12px;
        pointer-events: none;
        position: absolute !important;
        right: auto !important;
        top: calc(100% + 10px) !important;
        transform: translate(-50%, -8px);
        transition: opacity .16s ease, transform .16s ease;
        visibility: hidden;
        width: 560px !important;
        z-index: 40;
    }

    html[data-pilot-header-layout="centered-retail"][data-pilot-centered-search-open="1"] body.pilot-theme .header.content > .pilot-search,
    html[data-pilot-header-layout="centered-retail"][data-pilot-centered-search-open="1"] body.pilot-theme .header.content > .block-search {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
        visibility: visible;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .pilot-search .pilot-minisearch,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .pilot-search .form.minisearch,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .block-search .pilot-minisearch,
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .block-search .form.minisearch {
        margin: 0 !important;
        width: 100% !important;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .nav-sections {
        border-bottom: 1px solid color-mix(in srgb, var(--pilot-editor-light-text, #071b39) 12%, transparent);
        border-top: 1px solid color-mix(in srgb, var(--pilot-editor-light-text, #071b39) 12%, transparent);
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-actions {
        right: 94px;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .minicart-wrapper {
        right: 44px !important;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content > .logo {
        max-width: 30vw;
    }
}

@media (max-width: 768px) {
    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .header.content {
        min-height: 72px;
        position: relative;
    }

    html[data-pilot-header-layout="centered-retail"] body.pilot-theme .pilot-centered-actions {
        display: none;
    }
}

/* ========================================================================
   Accessibility hardening
   ======================================================================== */

/* Keep primary storefront copy comfortably above WCAG AA contrast. */
body.pilot-theme .column.main,
body.pilot-theme .product-info-main,
body.pilot-theme .product-item-details,
body.pilot-theme .product-item-name,
body.pilot-theme .product-item-link {
    color: var(--pilot-ink) !important;
}

/* Magento's default success green can be too light on Pilot's pale surfaces. */
body.pilot-theme .stock.available,
body.pilot-theme .stock.available strong,
body.pilot-theme .product-info-stock-sku .stock.available,
body.pilot-theme .product-info-stock-sku .stock.available strong,
body.pilot-theme .product-info-main .stock.available,
body.pilot-theme .product-info-main .stock.available strong {
    color: #166534 !important;
}

/* Preserve visible keyboard focus across links, buttons and form controls. */
body.pilot-theme a:focus-visible,
body.pilot-theme button:focus-visible,
body.pilot-theme input:focus-visible,
body.pilot-theme select:focus-visible,
body.pilot-theme textarea:focus-visible,
body.pilot-theme [tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid #005fcc !important;
    outline-offset: 3px !important;
}

/* Generated Magento gallery controls receive names in pilot-theme.js. */
body.pilot-theme .fotorama__arr[role="button"]:focus-visible,
body.pilot-theme .fotorama__fullscreen-icon[role="button"]:focus-visible,
body.pilot-theme .fotorama__nav__frame[role="button"]:focus-visible {
    outline: 3px solid #005fcc !important;
    outline-offset: 2px !important;
}


/* Pilot Storefront Editor Commerce Base 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 {
    overflow: hidden;
}

.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));
    overflow: hidden;
}

.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;
}

.pilot-trending-deals {
    border-radius: var(--pilot-trending-section-radius, var(--pilot-home-radius, 20px));
}

.pilot-trending-card__media {
    border-radius: var(--pilot-trending-product-radius, 14px);
    overflow: hidden;
}

.pilot-trending-card__media img,
.pilot-trending-card__image,
.pilot-trending-card__image img {
    border-radius: inherit;
}
