.home-main {
    width: 100%;
    max-width: none;
    padding: 0 0 2rem;
}

.home-hero-band {
    padding: 1rem 0 1.25rem;
}

.home-hero-shell,
.home-products-shell {
    width: min(var(--public-shell-max-width), calc(100% - var(--public-shell-gutter)));
    margin-inline: auto;
    padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    box-sizing: border-box;
}

.home-products-shell {
    display: grid;
    gap: 1.4rem;
    overflow: visible;
}

.home-hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
    padding: 1.85rem 1rem 2.1rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

.home-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    width: 100%;
}

.home-hero-copy h1 {
    margin: 0;
    font-size: clamp(1.95rem, 2.7vw, 2.65rem);
    line-height: 1.03;
    letter-spacing: -0.015em;
    min-height: 2.6em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--public-primary);
}

.home-hero-summary {
    margin: 0;
    color: var(--public-text-muted);
    font-size: 0.98rem;
    line-height: 1.35;
    max-width: none;
}

.home-hero-summary strong {
    color: var(--public-primary);
    font-weight: 700;
}

.home-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 22rem);
    min-height: 44px;
    padding-inline: 1rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.home-hero-search {
    width: min(100%, 60rem);
    max-width: none;
    margin-inline: auto;
}

.home-hero-search .input-group {
    min-height: 58px;
    border-radius: 0.78rem;
    background: #fff;
    border: 1px solid rgba(15, 34, 51, 0.16);
    box-shadow: none;
}

.home-hero-search .form-control {
    min-height: 58px;
    font-size: 0.95rem;
}

.home-hero-search .btn-store {
    min-width: 54px;
    color: rgba(2, 27, 53, 0.72);
}

.home-hero-search .public-search-suggestions {
    top: calc(100% + 0.35rem);
}

.home-hero-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
}

.home-step-card {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.42rem 0.68rem;
    background: rgba(255, 214, 10, 0.26);
    border: 1px solid rgba(255, 214, 10, 0.58);
    border-radius: 999px;
    color: var(--public-primary);
    font-size: 0.83rem;
    font-weight: 600;
}

.home-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    line-height: 1;
    border: 1px solid rgba(15, 34, 51, 0.16);
    background: #ffd60a;
    color: var(--public-primary);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.home-step-title {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--public-primary);
}

.home-step-card .bi {
    font-size: 0.9rem;
    color: var(--public-primary);
}

.home-hero-category-tags {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem 0.7rem;
}

.home-hero-category-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.22rem 0.58rem;
    border-radius: 999px;
    background: rgba(13, 90, 167, 0.06);
    border: 1px solid rgba(13, 90, 167, 0.1);
    color: var(--public-primary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-hero-category-tag:hover,
.home-hero-category-tag:focus {
    color: var(--public-link-color, #0d5aa7);
    background: rgba(13, 90, 167, 0.1);
    border-color: rgba(13, 90, 167, 0.16);
}

.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.home-section-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.home-section-link {
    color: #0d5aa7;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
}

.home-section-link:hover,
.home-section-link:focus {
    text-decoration: underline;
}

.home-featured-track {
    width: 100%;
    min-width: 0;
    overflow: visible;
    padding: 0;
    margin: 0;
}

.home-featured-strip {
    min-width: 0;
    overflow: visible;
}

.home-featured-row {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-featured-row .product-card {
    min-width: 0;
    box-shadow: 0 4px 12px rgba(16, 33, 50, 0.07);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-featured-row .product-card:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(16, 33, 50, 0.11);
}

.home-featured-more-product {
    display: none;
    position: relative;
    border-color: rgba(13, 90, 167, 0.32);
    box-shadow:
        0 0 0 1px rgba(13, 90, 167, 0.08),
        0 10px 22px rgba(16, 33, 50, 0.12);
}

.home-featured-more-product .product-card-media,
.home-featured-more-product .card-body {
    opacity: 0.72;
}

.home-featured-more-overlay {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: rgba(13, 90, 167, 0.9);
    z-index: 2;
}

.home-featured-more-overlay:hover,
.home-featured-more-overlay:focus {
    color: #fff;
    background: rgba(13, 90, 167, 0.94);
}

.home-featured-more-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.home-featured-more-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    min-width: 3.4rem;
    border-radius: 999px;
    background: rgba(255, 214, 10, 0.94);
    color: var(--public-primary);
    font-size: 0;
    font-weight: 400;
    line-height: 1;
}

.home-featured-more-plus::before {
    content: "+";
    display: block;
    font-size: 2.1rem;
    line-height: 1;
    transform: translateY(-0.04rem);
}

.home-featured-more-text {
    font-size: 0.96rem;
    line-height: 1;
    font-weight: 600;
    text-transform: none;
}

.home-categories-section {
    display: grid;
    gap: 0.7rem;
    min-width: 0;
    margin-bottom: 0.35rem;
}

.home-category-grid {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.home-category-grid-primary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-category-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.68rem;
    background: #fff;
    border: 1px solid rgba(15, 34, 51, 0.08);
    border-radius: 1.15rem;
    box-shadow: var(--public-shadow-sm);
    color: var(--public-primary);
    text-decoration: none;
}

.home-category-card:hover,
.home-category-card:focus {
    color: var(--public-primary);
    border-color: rgba(13, 90, 167, 0.18);
}

.home-category-card-large {
    min-height: 104px;
}

.home-category-media {
    flex: 0 0 auto;
    width: 96px;
    height: 72px;
    overflow: hidden;
    border-radius: 0.9rem;
    background: #fff;
}

.home-category-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
}

.home-category-placeholder {
    flex: 0 0 auto;
    width: 96px;
    height: 72px;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(15, 34, 51, 0.04), rgba(15, 34, 51, 0.08));
    border: 1px dashed rgba(15, 34, 51, 0.14);
}

.home-category-name {
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.2;
}

.home-category-card-large .home-category-name {
    font-size: 0.94rem;
}

.home-brand-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.65rem;
    min-width: 0;
}

.home-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: 0;
    padding: 0.6rem 0.45rem;
    background: #fff;
    border: 1px solid rgba(15, 34, 51, 0.08);
    border-radius: 0.95rem;
    box-shadow: var(--public-shadow-sm);
    color: var(--public-primary);
    text-align: center;
    text-decoration: none;
}

.home-brand-card:hover,
.home-brand-card:focus {
    color: var(--public-primary);
    border-color: rgba(13, 90, 167, 0.18);
}

.home-brand-name {
    min-width: 0;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
}

.home-guides-section {
    display: grid;
    gap: 0.7rem;
    min-width: 0;
    margin-bottom: 0.35rem;
}

.home-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    min-width: 0;
}

.home-guide-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    min-height: 100%;
    background: #fff;
    border: 1px solid rgba(15, 34, 51, 0.08);
    border-radius: 1rem;
    box-shadow: var(--public-shadow-sm);
    overflow: hidden;
}

.home-guide-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9f1f7;
}

.home-guide-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-guide-copy {
    display: grid;
    align-content: start;
    gap: 0.48rem;
    min-width: 0;
    padding: 0.72rem;
}

.home-guide-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem 0.46rem;
    color: rgba(15, 34, 51, 0.58);
    font-size: 0.74rem;
    font-weight: 650;
}

.home-guide-meta span + span::before {
    content: "/";
    margin-right: 0.46rem;
    color: rgba(15, 34, 51, 0.3);
}

.home-guide-title {
    margin: 0;
    color: var(--public-primary);
    font-size: 0.98rem;
    line-height: 1.22;
}

.home-guide-title a {
    color: inherit;
    text-decoration: none;
}

.home-guide-title a:hover,
.home-guide-title a:focus {
    color: #0d5aa7;
    text-decoration: underline;
}

.home-guide-description {
    margin: 0;
    color: var(--public-text-muted);
    font-size: 0.84rem;
    line-height: 1.46;
}

.home-newsletter-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0.88rem;
    padding: clamp(0.92rem, 1.8vw, 1.28rem);
    border: 1px solid rgba(13, 90, 167, 0.18);
    border-radius: 1.02rem;
    background:
        radial-gradient(circle at top right, rgba(86, 157, 228, 0.24), transparent 34%),
        linear-gradient(135deg, #021b35 0%, #0a3d70 100%);
    color: #fff;
    overflow: hidden;
    scroll-margin-top: calc(var(--public-navbar-height, 72px) + 1rem);
}

.home-newsletter-copy,
.home-newsletter-form {
    position: relative;
    z-index: 1;
}

.home-newsletter-copy {
    display: grid;
    align-content: start;
    gap: 0.76rem;
}

.home-newsletter-kicker {
    margin: 0;
    background: rgba(235, 245, 255, 0.2);
    color: #eef6ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.home-newsletter-copy h2 {
    margin: 0;
    max-width: 17ch;
    color: #fff;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.home-newsletter-text {
    margin: 0;
    max-width: 54ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.94rem;
    line-height: 1.55;
}

.home-newsletter-form-wrap {
    display: grid;
}

.home-newsletter-form {
    display: grid;
    gap: 0.72rem;
    padding: 0.84rem;
    border: 1px solid rgba(15, 34, 51, 0.08);
    border-radius: 0.82rem;
    background: rgba(255, 255, 255, 0.97);
    color: var(--public-text);
    box-shadow: 0 12px 28px rgba(2, 27, 53, 0.16);
}

.home-newsletter-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.64rem;
}

.home-newsletter-field {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}

.home-newsletter-field-full {
    grid-column: 1 / -1;
}

.home-newsletter-label {
    color: var(--public-primary);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-newsletter-required {
    color: #b42318;
}

.home-newsletter-label-optional {
    font-weight: 400;
    color: var(--public-text-muted);
}

.home-newsletter-input {
    min-height: 2.68rem;
    font-size: 0.92rem;
    border-color: rgba(15, 34, 51, 0.12);
    border-radius: 0.66rem;
    box-shadow: none;
}

.home-newsletter-input:focus {
    border-color: rgba(13, 90, 167, 0.32);
    box-shadow: 0 0 0 0.18rem rgba(13, 90, 167, 0.12);
}

.home-newsletter-message {
    margin: 0;
}

.home-newsletter-actions {
    display: grid;
    gap: 0.54rem;
}

.home-newsletter-submit {
    width: 100%;
    min-height: 44px;
    font-weight: 700;
    background: var(--public-accent);
    border-color: var(--public-accent);
    color: var(--public-primary);
}

.home-newsletter-submit:hover,
.home-newsletter-submit:focus {
    background: #e9a000;
    border-color: #e9a000;
    color: var(--public-primary);
}

.home-newsletter-disclaimer {
    margin: 0;
    color: var(--public-text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

@media (max-width: 1399.98px) {
    .home-featured-track {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        padding: 0.35rem 0.3rem 0.65rem;
        scrollbar-width: thin;
        background: transparent;
    }

    .home-featured-row {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
        scroll-snap-type: x proximity;
    }

    .home-featured-row .product-card {
        flex: 0 0 248px;
        width: 248px;
        scroll-snap-align: start;
    }
}

@media (max-width: 1199.98px) {
    .home-category-grid-primary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-brand-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .home-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .home-hero-shell,
    .home-products-shell {
        width: min(100%, calc(100% - 1rem));
    }

    .home-newsletter-section {
        grid-template-columns: 1fr;
    }

    .home-newsletter-copy h2 {
        max-width: none;
    }

    .home-hero-steps {
        justify-content: center;
    }

    .home-hero-card {
        padding: 1.3rem 0.75rem 1.5rem;
    }

    .home-hero-copy h1 {
        font-size: clamp(1.6rem, 6.3vw, 2.1rem);
    }

    .home-hero-search {
        width: min(100%, 60rem);
    }

    .home-hero-cta {
        width: min(100%, 20rem);
    }

    .home-category-grid-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-category-card-large {
        min-height: 96px;
    }

    .home-featured-row .product-card {
        flex-basis: 232px;
        width: 232px;
    }
}

@media (max-width: 767.98px) {
    .home-main {
        padding-bottom: 0.65rem;
    }

    .home-hero-band {
        padding: 0.75rem 0 1rem;
    }

    .home-hero-card {
        gap: 0.8rem;
        padding: 1rem 0.5rem 1.1rem;
    }

    .home-hero-copy h1 {
        font-size: 1.58rem;
        min-height: 3.2em;
    }

    .home-hero-summary {
        font-size: 0.9rem;
    }

    .home-hero-cta {
        width: min(100%, 16rem);
        min-height: 42px;
    }

    .home-hero-search .input-group,
    .home-hero-search .form-control {
        min-height: 48px;
    }

    .home-step-card {
        min-height: 34px;
        padding: 0.36rem 0.56rem;
        font-size: 0.77rem;
    }

    .home-step-number {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        font-size: 0.66rem;
    }

    .home-step-title {
        font-size: 0.77rem;
    }

    .home-hero-category-tags {
        gap: 0.24rem 0.45rem;
    }

    .home-hero-category-tag {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
    }

    .home-newsletter-section {
        padding: 0.84rem;
        border-radius: 0.94rem;
    }

    .home-newsletter-form {
        padding: 0.74rem;
        border-radius: 0.76rem;
    }

    .home-newsletter-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-newsletter-field-full {
        grid-column: auto;
    }

    .home-newsletter-copy h2 {
        font-size: 1.34rem;
    }

    .home-featured-row .product-card {
        flex-basis: min(76vw, 260px);
        width: min(76vw, 260px);
    }

    .home-featured-more-product {
        display: flex;
        flex: 0 0 min(76vw, 260px);
        width: min(76vw, 260px);
        scroll-snap-align: start;
    }

    .home-featured-more-product .product-card-actions {
        position: static;
        z-index: auto;
    }

    .home-category-grid-primary {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-category-card {
        width: 100%;
        padding: 0.72rem;
    }

    .home-category-card-large {
        min-height: 88px;
    }

    .home-category-media {
        width: 70px;
        height: 52px;
    }

    .home-category-placeholder {
        width: 70px;
        height: 52px;
        border-radius: 0.7rem;
    }

    .home-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .home-brand-card:nth-child(n + 13) {
        display: none;
    }

    .home-brand-card {
        min-height: 46px;
        padding: 0.55rem 0.4rem;
    }

    .home-brand-name {
        font-size: 0.82rem;
    }

    .home-guide-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-guide-card:nth-child(n + 3) {
        display: none;
    }

    .home-guide-copy {
        padding: 0.7rem;
    }

    .home-guide-description {
        font-size: 0.83rem;
    }
}

@media (min-width: 390px) and (max-width: 767.98px) {
    .home-category-grid-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-category-card {
        flex-direction: column;
        justify-content: center;
        gap: 0.48rem;
        padding: 0.62rem 0.48rem;
        text-align: center;
    }

    .home-category-card-large {
        min-height: 128px;
    }

    .home-category-media,
    .home-category-placeholder {
        width: 78px;
        height: 54px;
    }

    .home-category-card-large .home-category-name {
        font-size: 0.82rem;
        line-height: 1.18;
    }
}
