* {
    box-sizing: border-box
}

:root {
    --navy: #00275f;
    --blue: #007cff;
    --ink: #071329;
    --pale: #f2f5f9
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff
}

button,
input,
a {
    -webkit-tap-highlight-color: transparent
}

button,
a {
    touch-action: manipulation
}

button,
input {
    font: inherit
}

button,
a {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

button {
    color: inherit
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid #28a2ff;
    outline-offset: 4px
}

button {
    border: 0
}

.container {
    width: calc(100% - 36px);
    max-width: 1320px;
    margin: auto
}

.site-header {
    /* The shared storefront CSS treats every header as a single flex row. */
    display: block;
    height: auto !important;
    min-height: 0;
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 30;
    box-shadow: none;
    color: white;
    background: linear-gradient(115deg, #00438d, #00215a)
}

.topbar {
    background: #002759;
    font-size: 13px
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 35px;
    gap: 20px
}

.promises,
.toplinks {
    display: flex;
    align-items: center;
    gap: 22px
}

.promises span {
    display: flex;
    align-items: center;
    gap: 8px
}

.promises span+span:before {
    content: '|';
    opacity: .65;
    margin-right: 12px
}

.toplinks {
    gap: 12px
}

.masthead {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    padding: 6px 22px
}

.brand {
    display: block;
    position: relative;
    width: 180px;
    height: 82px;
    flex-shrink: 0;
    overflow: hidden
}

.brand img {
    position: absolute;
    width: 180px;
    max-width: none;
    left: 3px;
    top: -48px;
    filter: grayscale(1) contrast(5);
    mix-blend-mode: screen
}

.search {
    display: flex;
    height: 38px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    flex: 1;
    max-width: 560px;
    margin-left: 28px
}

.search input {
    border: 0;
    min-width: 0;
    width: 100%;
    padding: 0 20px;
    outline: 0;
    color: #26334b;
    font-size: 14px
}

.search button {
    background: var(--blue);
    color: #fff;
    width: 53px;
    flex-shrink: 0
}

.header-actions {
    display: flex;
    gap: 25px;
    align-items: center
}

.header-action {
    display: flex;
    align-items: center;
    gap: 9px;
    background: none;
    color: #fff;
    padding: 0;
    white-space: nowrap;
    text-align: left;
    position: relative
}

.header-action strong {
    display: block;
    font-size: 14px
}

.header-action small {
    font-size: 11px
}

.cart-count {
    position: absolute;
    right: -8px;
    top: -12px;
    border-radius: 50%;
    background: #fff;
    color: #00326e;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center
}

.icon {
    width: 23px;
    height: 23px;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.header-action>.icon {
    width: 29px;
    height: 29px
}

.nav {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2px;
    font-weight: 700;
    font-size: 14px
}

.nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    gap: 5px;
    white-space: nowrap
}

.nav a:hover {
    background: #ffffff18
}

.nav .home {
    background: white;
    color: #003b80;
    border-radius: 12px 12px 0 0;
    min-width: 53px
}

.nav .campaign-link {
    background: var(--blue);
    border-radius: 14px 14px 0 0;
    padding: 0 24px
}

.chevron {
    font-size: 12px;
    font-weight: 400
}

.mobile-toggle {
    display: none;
    background: none;
    color: white;
    padding: 5px
}

.hero {
    position: relative;
    aspect-ratio: 989/302;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px
}

.slice {
    background-image: url('design-reference.png');
    background-repeat: no-repeat;
    background-size: var(--size);
    background-position: var(--position);
    aspect-ratio: var(--ratio);
    display: block
}

.hero-image {
    width: 100%;
    height: 100%
}

.hero-link {
    position: absolute;
    left: 9.6%;
    top: 73.5%;
    width: 19%;
    height: 13%;
    border-radius: 25px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.hero-arrow {
    position: absolute;
    top: 42%;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #003570;
    background: white;
    font-size: 32px;
    line-height: 1
}

.hero-arrow.prev {
    left: 1.3%
}

.hero-arrow.next {
    right: 1.3%
}

.hero-dots {
    position: absolute;
    bottom: 4.5%;
    left: 46.7%;
    display: flex;
    gap: 10px;
    background: transparent
}

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 2px #335
}

.hero-dots button[aria-current=true] {
    background: #0085ff
}

.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin: 13px 22px 31px
}

.category-card {
    background: linear-gradient(130deg, #f5f7fa, #edf1f6);
    border-radius: 13px;
    overflow: hidden;
    text-align: center;
    font-weight: 750;
    font-size: 16px;
    padding-bottom: 10px
}

.category-card:hover {
    box-shadow: 0 4px 15px #00275f20;
    transform: translateY(-2px)
}

.category-image {
    width: 100%;
    aspect-ratio: 147/91
}

.category-card span:last-child {
    display: block;
    padding-top: 4px
}

.section {
    margin: 0 22px 13px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.section-heading h2 {
    font-size: 22px;
    letter-spacing: -.7px;
    color: #111;
    margin: 0;
    padding-bottom: 8px;
    position: relative
}

.section-heading h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 68px;
    background: var(--blue)
}

.section-heading a {
    font-size: 14px;
    color: #002859;
    display: flex;
    gap: 10px;
    align-items: center
}

.products-wrap {
    position: relative
}

.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0 10px
}

.product {
    min-width: 0;
    position: relative;
    border-radius: 14px;
    background: linear-gradient(120deg, #f4f5f7, #fafbfc);
    overflow: hidden;
    padding: 0 15px 14px
}

.product-photo {
    margin: 0 -15px;
    aspect-ratio: 222/160
}

.favorite {
    position: absolute;
    right: 7px;
    top: 7px;
    background: #f5f6f8;
    padding: 3px;
    width: 29px;
    height: 29px;
    z-index: 1;
    border-radius: 6px
}

.favorite[aria-pressed=true] {
    color: #006cf0
}

.favorite[aria-pressed=true] svg {
    fill: #006cf033
}

.product h3 {
    font-size: 14px;
    color: #111;
    margin: 5px 0 2px;
    letter-spacing: -.4px
}

.product p {
    font-size: 12px;
    margin: 0;
    color: #111
}

.price {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: #111;
    margin: 11px 0 10px;
    letter-spacing: -.6px
}

.add-cart {
    width: 100%;
    height: 33px;
    border-radius: 6px;
    background: linear-gradient(120deg, #003d90, #003078);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px
}

.add-cart .icon {
    width: 19px;
    height: 19px
}

.add-cart:hover {
    background: #0078f3
}

.product-arrow {
    position: absolute;
    top: 35%;
    background: #fff;
    font-size: 33px;
    padding: 0;
    line-height: 1
}

.product-arrow.prev {
    left: -16px
}

.product-arrow.next {
    right: -16px
}

.running-banner {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin: 12px 0
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin-bottom: 19px
}

.benefit {
    border-radius: 12px;
    background: var(--pale);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 61px;
    padding: 10px
}

.benefit>.icon {
    color: #005bc8;
    width: 36px;
    height: 36px;
    flex-shrink: 0
}

.benefit strong {
    font-size: 15px;
    display: block;
    color: #111;
    margin-bottom: 3px;
    letter-spacing: -.4px
}

.benefit small {
    font-size: 11px
}

.campaigns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-bottom: 26px
}

.campaign-card {
    border-radius: 12px;
    overflow: hidden
}

.campaign-card:hover,
.running-banner:hover {
    filter: brightness(1.04)
}

.campaign-section {
    margin: 0
}

.site-footer {
    background: linear-gradient(110deg, #00408b, #001b50);
    color: white;
    padding: 15px 0 14px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr .95fr 1.12fr .9fr;
    gap: 27px;
    padding: 0 22px
}

.footer-brand {
    margin: auto 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
}

.footer-brand .brand {
    display: block;
    position: relative;
    width: 180px;
    max-width: 100%;
    height: auto;
    overflow: visible;
}

.footer-brand .brand img {
    display: block;
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: none;
    mix-blend-mode: normal;
}

.footer-grid>div+div {
    border-left: 1px solid #ffffff0b;
    padding-left: 14px
}

.footer-grid h3 {
    font-size: 13px;
    margin: 0 0 8px
}

.footer-grid a:not(.brand) {
    font-size: 11px;
    display: block;
    margin-bottom: 5px
}

.socials {
    display: flex;
    gap: 13px
}

.socials a {
    font-size: 21px !important
}

.socials .icon {
    width: 20px;
    height: 20px
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #00275f;
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 4px 20px #001b5040;
    z-index: 20;
    font-size: 14px
}

.toast[hidden] {
    display: none
}

dialog {
    border: 0;
    border-radius: 18px;
    padding: 28px;
    width: min(620px, calc(100% - 28px));
    max-height: 85vh;
    color: var(--ink);
    box-shadow: 0 20px 100px #001b5050
}

dialog::backdrop {
    background: #00132c90
}

dialog h2 {
    margin: 0 35px 20px 0;
    font-size: 23px
}

.dialog-close {
    position: absolute;
    right: 18px;
    top: 14px;
    background: #edf2f7;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    font-size: 23px
}

.dialog-content {
    font-size: 15px;
    line-height: 1.6
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e1e7ee;
    padding: 14px 0
}

.cart-row .slice {
    width: 80px;
    flex-shrink: 0;
    border-radius: 8px
}

.cart-row strong {
    font-size: 14px
}

.cart-row p {
    margin: 4px 0;
    font-size: 13px
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 10px
}

.cart-controls button {
    border-radius: 4px;
    background: #e8eef7;
    min-width: 26px;
    padding: 2px 6px
}

.cart-total {
    font-size: 20px;
    font-weight: 700;
    text-align: right;
    margin: 20px 0
}

.catalog-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.catalog-results .product h3 {
    font-size: 14px
}

.empty-state {
    padding: 25px 0;
    color: #536176
}

.notice {
    background: #f0f5fc;
    border-radius: 9px;
    padding: 12px;
    font-size: 13px
}

.info-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.info-links button {
    padding: 10px;
    border-radius: 6px;
    background: #edf3fa
}

.dialog-content a {
    text-decoration: underline
}

.no-scroll {
    overflow: hidden
}

@media(min-width:1200px) {
    .masthead {
        height: 112px
    }

    .nav {
        height: 48px
    }

    .hero {
        margin-top: 20px
    }

    .categories {
        margin-top: 17px;
        margin-bottom: 40px;
        gap: 18px
    }

    .category-card {
        font-size: 20px;
        padding-bottom: 14px
    }

    .section-heading h2 {
        font-size: 28px
    }

    .section-heading a {
        font-size: 16px
    }

    .product h3 {
        font-size: 18px
    }

    .product p {
        font-size: 15px
    }

    .price {
        font-size: 24px
    }

    .add-cart {
        height: 42px;
        font-size: 14px
    }

    .product {
        padding: 0 20px 18px
    }

    .product-photo {
        margin: 0 -20px
    }

    .benefit {
        min-height: 80px
    }

    .benefit strong {
        font-size: 18px
    }

    .benefit small {
        font-size: 13px
    }

    .section {
        margin-bottom: 18px
    }

    .site-footer {
        padding: 22px 0
    }

    .footer-grid h3 {
        font-size: 16px
    }

    .footer-grid a:not(.brand) {
        font-size: 14px
    }

    .hero-arrow {
        width: 46px;
        height: 46px
    }

    .hero-dots {
        gap: 13px
    }

    .hero-dots button {
        width: 15px;
        height: 15px
    }

    .running-banner {
        margin: 16px 0
    }

    .campaigns {
        margin-bottom: 34px
    }
}

@media(max-width:850px) {
    .masthead {
        gap: 18px;
        padding: 8px 0
    }

    .brand {
        width: 150px
    }

    .search {
        margin: 0
    }

    .header-actions {
        gap: 15px
    }

    .header-action small {
        display: none
    }

    .header-action strong {
        font-size: 12px
    }

    .nav a {
        padding: 0 9px;
        font-size: 12px
    }

    .nav .campaign-link {
        padding: 0 15px
    }

    .promises {
        gap: 12px
    }

    .promises span+span:before {
        margin-right: 2px
    }

    .topbar {
        font-size: 11px
    }

    .categories {
        margin-left: 0;
        margin-right: 0;
        gap: 9px
    }

    .section {
        margin-left: 0;
        margin-right: 0
    }

    .products {
        gap: 10px;
        padding: 0
    }

    .product {
        padding: 0 10px 12px
    }

    .product-photo {
        margin: 0 -10px
    }

    .product h3 {
        font-size: 12px
    }

    .product p {
        font-size: 11px
    }

    .price {
        font-size: 17px
    }

    .benefit {
        gap: 7px;
        padding: 8px
    }

    .benefit strong {
        font-size: 12px
    }

    .benefit small {
        font-size: 10px
    }

    .benefit>.icon {
        width: 27px
    }

    .footer-grid {
        padding: 0;
        gap: 12px
    }

.footer-brand {
    width: 100%;
    height: auto;
}

.footer-brand .brand {
    width: 145px;
}

    .hero-arrow {
        width: 28px;
        height: 28px
    }

    .hero-dots button {
        width: 10px;
        height: 10px
    }

    .hero-dots {
        gap: 8px
    }
}

@media(max-width:600px) {
    .container {
        width: calc(100% - 24px)
    }

    .topbar .container {
        min-height: 29px;
        justify-content: center
    }

    .promises span:not(:first-child),
    .toplinks {
        display: none
    }

    .masthead {
        height: auto;
        min-height: 116px;
        flex-wrap: wrap;
        gap: 8px;
        padding: 5px 0 10px
    }

    .masthead .brand {
        width: 138px;
        height: 64px
    }

    .brand img {
        width: 145px;
        top: -39px;
        left: 0
    }

    .header-actions {
        margin-left: auto;
        gap: 22px
    }

    .header-action strong {
        font-size: 11px
    }

    .header-action>.icon {
        width: 24px
    }

    .search {
        order: 3;
        max-width: none;
        flex-basis: 100%;
        height: 36px
    }

    .mobile-toggle {
        display: block
    }

    .nav {
        height: auto;
        min-height: 40px;
        position: relative;
        justify-content: flex-start;
        gap: 0
    }

    .nav a {
        display: none;
        min-height: 40px
    }

    .nav .home,
    .nav .campaign-link {
        display: flex
    }

    .nav .campaign-link {
        margin-left: auto
    }

    .nav.is-open {
        flex-wrap: wrap
    }

    .nav.is-open a {
        display: flex;
        flex-basis: 33.33%;
        font-size: 13px
    }

    .nav.is-open .home {
        flex-basis: 40px
    }

    .nav.is-open .campaign-link {
        flex-basis: 100%;
        border-radius: 6px
    }

    .hero {
        margin-top: 12px;
        aspect-ratio: 989/302
    }

    .hero-image {
        background-size: var(--size);
        background-position: var(--position);
        height: 100%
    }

    .hero-arrow {
        width: 24px;
        height: 24px;
        font-size: 24px
    }

    .hero-dots {
        bottom: 4%;
        left: 46%;
        gap: 5px
    }

    .hero-dots button {
        width: 7px;
        height: 7px
    }

    .hero-link {
        left: 9%;
        top: 72%;
        width: 26%;
        height: 16%
    }

    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 9px;
        margin-top: 12px;
        margin-bottom: 24px
    }

    .category-card {
        font-size: 14px
    }

    .section-heading h2 {
        font-size: 20px
    }

    .section-heading a {
        font-size: 12px;
        gap: 4px
    }

    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .product h3 {
        font-size: 13px
    }

    .product p {
        font-size: 11px;
        min-height: 26px
    }

    .price {
        font-size: 18px
    }

    .product-arrow {
        display: none
    }

    .running-banner {
        margin: 18px 0;
        aspect-ratio: 989/150
    }

    .benefits {
        grid-template-columns: 1fr 1fr;
        gap: 6px
    }

    .benefit {
        justify-content: flex-start;
        min-height: 65px;
        padding: 10px
    }

    .benefit strong {
        font-size: 13px
    }

    .benefit small {
        font-size: 10px
    }

    .benefit>.icon {
        width: 30px
    }

    .campaigns {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .campaign-card {
        max-height: none
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

 .footer-brand {
    grid-column: 1/-1;
    width: 100%;
    height: auto;
    justify-content: center;
}

.footer-brand .brand {
    width: 140px;
}

    .footer-grid>div+div {
        padding: 0;
        border: 0
    }

    .footer-grid h3 {
        font-size: 14px
    }

    .footer-grid a:not(.brand) {
        font-size: 12px
    }

    .site-footer {
        padding: 18px 0
    }

    .catalog-results .product {
        padding: 0 8px 12px
    }

    .catalog-results .product h3 {
        font-size: 12px
    }

    .catalog-results .price {
        font-size: 16px
    }

    dialog {
        padding: 22px 16px
    }

    .toast {
        width: calc(100% - 30px);
        text-align: center;
        bottom: 15px
    }
}
