/* ==========================================================
   HOME DE LA TIENDA
   Composición editorial, plana y adaptable al branding.
   ========================================================== */

.home-page {
    --home-border: color-mix(in srgb, var(--web-text) 11%, transparent);
    --home-border-soft: color-mix(in srgb, var(--web-text) 7%, transparent);
    --home-surface-soft: color-mix(
        in srgb,
        var(--web-primary) 3%,
        var(--web-background)
    );
    background: var(--web-background);
    color: var(--web-text);
    overflow: clip;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

/* Hero */
.home-hero {
    position: relative;
    background: var(--home-surface-soft);
    border-bottom: 1px solid var(--home-border);
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--web-primary);
    pointer-events: none;
}

.home-hero-inner.container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    width: 100%;
    max-width: 1200px;
    min-height: clamp(320px, 30vw, 390px);
    padding-top: clamp(1.125rem, 2vw, 1.75rem);
    padding-bottom: clamp(1.125rem, 2vw, 1.75rem);
}

.home-hero-copy {
    min-width: 0;
}

.home-hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0 0 1.15rem;
    color: var(--web-text-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-hero-eyebrow::before {
    content: "";
    flex: 0 0 28px;
    width: 28px;
    height: 2px;
    background: var(--web-primary);
}

.home-hero-eyebrow-separator {
    color: color-mix(in srgb, var(--web-text) 34%, transparent);
}

.home-hero-title {
    max-width: 680px;
    margin: 0;
    color: var(--web-text);
    font-size: var(--web-title-hero-size);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.home-hero-text {
    max-width: 610px;
    margin: 1.4rem 0 0;
    color: var(--web-text-light);
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    line-height: 1.7;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.8rem;
}

.home-btn-primary,
.home-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 0;
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.home-btn-primary {
    background: var(--web-primary);
    border-color: var(--web-primary);
    color: var(--web-on-primary);
}

.home-btn-primary:hover {
    background: var(--web-primary-dark);
    border-color: var(--web-primary-dark);
    color: var(--web-on-primary-dark);
    transform: translateY(-1px);
}

.home-btn-ghost {
    background: var(--web-background);
    border-color: color-mix(in srgb, var(--web-text) 18%, transparent);
    color: var(--web-text);
}

.home-btn-ghost:hover {
    border-color: var(--web-primary);
    color: var(--web-primary-text);
    transform: translateY(-1px);
}

.home-btn-primary:focus-visible,
.home-btn-ghost:focus-visible,
.home-welcome-copy a:focus-visible {
    outline: 2px solid var(--web-background);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px var(--web-text);
}

.home-btn-primary i,
.home-btn-ghost i {
    flex: 0 0 auto;
    font-size: 0.78rem;
}

/* Visual real o abstracto del hero */
.home-hero-visual {
    order: initial;
    min-width: 0;
}

.home-hero-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 22px;
    background: var(--web-background-alt);
    box-shadow: 0 24px 55px -42px color-mix(
        in srgb,
        var(--web-text) 52%,
        transparent
    );
}

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

.home-hero-frame picture {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero-frame.is-abstract {
    isolation: isolate;
    background: color-mix(
        in srgb,
        var(--web-primary) 8%,
        var(--web-background)
    );
}

.home-abstract-accent {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: -1;
    width: 27%;
    background: var(--web-primary);
}

.home-abstract-index {
    position: absolute;
    right: 4%;
    bottom: -0.14em;
    z-index: -1;
    color: color-mix(in srgb, var(--web-primary) 13%, transparent);
    font-size: clamp(6rem, 13vw, 10rem);
    font-weight: 800;
    letter-spacing: -0.09em;
    line-height: 1;
    user-select: none;
}

.home-abstract-sheet {
    position: absolute;
    inset: 11% 8% 11% 16%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 3.2vw, 2rem);
    border: 1px solid var(--home-border);
    border-radius: 15px;
    background: var(--web-background);
    box-shadow: 0 24px 44px -34px color-mix(
        in srgb,
        var(--web-text) 55%,
        transparent
    );
}

.home-abstract-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--home-border);
    color: var(--web-text-light);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-abstract-name {
    display: -webkit-box;
    margin: auto 0;
    color: var(--web-text);
    font-size: clamp(1.55rem, 3.8vw, 2.65rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-abstract-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--home-border);
    color: var(--web-text-light);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.4;
}

.home-abstract-arrow {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--web-primary);
    color: var(--web-on-primary);
}

/* Secciones */
.home-section {
    padding: clamp(1.5rem, 2.75vw, 2.25rem) 0;
}

.home-section + .home-section {
    padding-top: 0;
}

.home-section-inner.container {
    width: 100%;
    max-width: 1200px;
}

.home-welcome {
    display: grid;
    grid-template-columns: minmax(135px, 0.25fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    padding-top: 0.625rem;
    border-top: 1px solid var(--home-border);
}

.home-section-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    color: var(--web-text-light);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.45;
    text-transform: uppercase;
}

.home-section-label::before {
    content: "";
    flex: 0 0 22px;
    width: 22px;
    height: 2px;
    background: var(--web-primary);
}

.home-welcome-body {
    min-width: 0;
    max-width: 880px;
}

.home-welcome-title,
.home-benefits-title {
    margin: 0;
    color: var(--web-text);
    font-size: var(--web-title-section-size);
    font-weight: 720;
    letter-spacing: -0.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.home-welcome-title {
    margin-bottom: 1.35rem;
}

.home-welcome-copy {
    color: var(--web-text-light);
    font-size: 0.97rem;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.home-welcome-copy p {
    margin: 0 0 1rem;
}

.home-welcome-copy p:last-child {
    margin-bottom: 0;
}

.home-welcome-copy h2,
.home-welcome-copy h3,
.home-welcome-copy h4 {
    margin: 1.6rem 0 0.7rem;
    color: var(--web-text);
    font-weight: 700;
    line-height: 1.25;
}

.home-welcome-copy ul,
.home-welcome-copy ol {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.home-welcome-copy li + li {
    margin-top: 0.35rem;
}

.home-welcome-copy a {
    color: var(--web-primary-text);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.home-welcome-copy blockquote {
    margin: 1.2rem 0;
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 3px solid var(--web-primary);
    color: var(--web-text);
}

/* Información útil */
.home-benefits-heading {
    display: grid;
    grid-template-columns: minmax(135px, 0.25fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: 1.6rem;
    padding-top: 0.625rem;
    border-top: 1px solid var(--home-border);
}

.home-highlights {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 300px), 1fr)
    );
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-highlight {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    min-width: 0;
    min-height: 126px;
    padding: 1.2rem;
    border: 1px solid var(--home-border-soft);
    border-radius: 13px;
    background: var(--web-background);
}

.home-highlight-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid color-mix(
        in srgb,
        var(--web-primary) 16%,
        transparent
    );
    border-radius: 10px;
    background: color-mix(
        in srgb,
        var(--web-primary) 7%,
        var(--web-background)
    );
    color: var(--web-primary-text);
    font-size: 0.92rem;
}

.home-highlight strong {
    display: block;
    margin: 0 0 0.3rem;
    color: var(--web-text);
    font-size: 0.9rem;
    font-weight: 680;
    letter-spacing: -0.01em;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.home-highlight span {
    display: block;
    color: var(--web-text-light);
    font-size: 0.8rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    .home-welcome-copy--columns > p:only-child {
        column-count: 2;
        column-gap: clamp(2rem, 4vw, 3.4rem);
        column-rule: 1px solid var(--home-border-soft);
    }
}

@media (max-width: 991.98px) {
    .home-hero-inner.container {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
        gap: 1.25rem;
        min-height: 310px;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .home-hero-frame {
        aspect-ratio: 1.3 / 1;
    }

}

@media (max-width: 700px) {
    .home-hero::before {
        width: 3px;
    }

    .home-hero-inner.container {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: 0;
        padding: 1.125rem 16px 1.25rem;
    }

    .home-hero-title {
        font-size: var(--web-title-hero-size);
        line-height: 1.02;
    }

    .home-hero-text {
        margin-top: 1rem;
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 1.45rem;
    }

    .home-hero-actions > :only-child {
        grid-column: 1 / -1;
    }

    .home-hero-frame {
        aspect-ratio: 16 / 9;
        border-radius: 18px;
    }

    .home-abstract-sheet {
        inset: 10% 7% 10% 15%;
        padding: 1rem;
        border-radius: 12px;
    }

    .home-abstract-index {
        font-size: clamp(5rem, 29vw, 7rem);
    }

    .home-abstract-name {
        font-size: clamp(1.45rem, 8vw, 2.25rem);
        -webkit-line-clamp: 2;
    }

    .home-section {
        padding: 1.5rem 0;
    }

    .home-section + .home-section {
        padding-top: 0;
    }

    .home-section-inner.container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-welcome,
    .home-benefits-heading {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .home-welcome-title {
        margin-bottom: 1.1rem;
    }

    .home-welcome-copy {
        font-size: 0.94rem;
        line-height: 1.72;
    }

    .home-highlights {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .home-highlight {
        min-height: 0;
        padding: 1rem;
    }
}

@media (max-width: 359.98px) {
    .home-hero-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-btn-primary,
    .home-btn-ghost {
        transition: none;
    }
}

/* ==========================================================
   F2 — escaparate comercial y rail manual reutilizable
   ========================================================== */

.home-rail-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: clamp(18px, 4vw, 44px);
    margin-bottom: clamp(20px, 3vw, 30px);
    padding-top: 0.625rem;
    border-top: 1px solid var(--home-border);
}

.home-rail-heading > div:first-child {
    min-width: 0;
}

.home-rail-heading h2 {
    margin: 0.55rem 0 0;
    color: var(--web-text);
    font-size: var(--web-title-section-size);
    font-weight: 760;
    letter-spacing: -0.04em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.home-rail-heading p {
    max-width: 58ch;
    margin: 0.7rem 0 0;
    color: var(--web-text-light);
    font-size: 0.86rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.home-rail-heading__actions,
.home-rail-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.home-rail-heading__actions {
    gap: 14px;
}

.home-rail-actions button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--home-border);
    border-radius: 50%;
    background: var(--web-background);
    color: var(--web-text);
    font: inherit;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.home-rail-actions button:hover:not(:disabled) {
    border-color: var(--web-primary);
    background: color-mix(in srgb, var(--web-primary) 7%, var(--web-background));
    color: var(--web-primary-text);
    transform: translateY(-1px);
}

.home-rail-actions button:disabled {
    cursor: default;
    opacity: 0.36;
}

.home-rail-actions button:focus-visible,
.home-rail:focus-visible,
.home-category-card:focus-visible,
.home-product-card > a:focus-visible,
.home-offer-callout:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--web-primary) 72%, transparent);
    outline-offset: 3px;
}

.home-rail-shell,
.home-product-rail-wrap {
    position: relative;
    min-width: 0;
}

.home-rail {
    display: flex;
    max-width: 100%;
    gap: clamp(12px, 2vw, 20px);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 3px 16px;
    scroll-behavior: smooth;
    scroll-padding-inline: 3px;
    scroll-snap-type: inline mandatory;
    scrollbar-color:
        color-mix(in srgb, var(--web-primary) 30%, transparent)
        transparent;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}

.home-rail::-webkit-scrollbar {
    height: 6px;
}

.home-rail::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: color-mix(in srgb, var(--web-primary) 30%, transparent);
}

.home-category-card {
    display: flex;
    flex: 0 0 clamp(240px, 27vw, 304px);
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 18px;
    background: var(--web-background);
    color: var(--web-text);
    scroll-snap-align: start;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.home-category-card:hover {
    border-color: color-mix(in srgb, var(--web-primary) 34%, transparent);
    color: var(--web-text);
    box-shadow: 0 18px 40px -32px color-mix(in srgb, var(--web-text) 52%, transparent);
    transform: translateY(-2px);
}

.home-category-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: color-mix(in srgb, var(--web-primary) 6%, var(--web-background));
}

.home-category-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.home-category-card:hover .home-category-card__media img {
    transform: scale(1.025);
}

.home-category-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: color-mix(in srgb, var(--web-primary) 72%, var(--web-text));
    font-size: clamp(3rem, 9vw, 5rem);
    font-weight: 780;
    letter-spacing: -0.08em;
}

.home-category-card__count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 0.38rem 0.62rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--web-text) 9%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--web-background) 91%, transparent);
    color: var(--web-text);
    font-size: 0.68rem;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.home-category-card__body {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
}

.home-category-card__body strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 0.95rem;
    font-weight: 730;
    line-height: 1.35;
}

.home-category-card__body i {
    flex: 0 0 auto;
    color: var(--web-primary-text);
    font-size: 0.76rem;
}

.home-product-rail .home-product-card {
    flex: 0 0 clamp(228px, 24vw, 276px);
    scroll-snap-align: start;
}

.home-section--offers {
    background: color-mix(in srgb, var(--web-primary) 3%, var(--web-background));
}

.home-offer-callout {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto 24px;
    align-items: center;
    gap: 16px;
    min-width: 0;
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--web-primary) 22%, transparent);
    border-radius: 16px;
    background: var(--web-background);
    color: var(--web-text);
    text-decoration: none;
}

.home-offer-callout:hover {
    border-color: color-mix(in srgb, var(--web-primary) 45%, transparent);
    color: var(--web-text);
}

.home-offer-callout__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--web-primary) 10%, var(--web-background));
    color: var(--web-primary-text);
}

.home-offer-callout__copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.home-offer-callout__copy small {
    color: var(--web-primary-text);
    font-size: 0.66rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-offer-callout__copy strong {
    overflow-wrap: anywhere;
    font-size: 1rem;
    font-weight: 750;
}

.home-offer-callout__copy > span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--web-text-light);
    font-size: 0.8rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-offer-callout__date {
    color: var(--web-text-light);
    font-size: 0.75rem;
    font-weight: 680;
    white-space: nowrap;
}

.home-offer-callout__arrow {
    color: var(--web-primary-text);
    font-size: 0.76rem;
}

.home-rail-actions--floating {
    justify-content: end;
    margin: -2px 0 10px;
}

@container storefront-home (width < 820px) {
    .home-rail-heading {
        align-items: start;
    }

    .home-rail-heading__actions {
        align-items: end;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .home-rail-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .home-rail-heading__actions {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
    }

    .home-rail-actions {
        margin-left: auto;
    }

    .home-category-card,
    .home-product-rail .home-product-card {
        flex-basis: min(78vw, 292px);
    }

    .home-offer-callout {
        grid-template-columns: 44px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 15px;
    }

    .home-offer-callout__icon {
        width: 44px;
        height: 44px;
    }

    .home-offer-callout__date {
        grid-column: 2 / -1;
        grid-row: 2;
        white-space: normal;
    }

    .home-offer-callout__arrow {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-rail {
        scroll-behavior: auto;
    }

    .home-rail-actions button,
    .home-category-card,
    .home-category-card__media img {
        transition: none;
    }

    .home-rail-actions button:hover:not(:disabled),
    .home-category-card:hover,
    .home-category-card:hover .home-category-card__media img {
        transform: none;
    }
}

/* ==========================================================
   F1/F2 — contacto y tarjetas de producto
   ========================================================== */

.home-page {
    container: storefront-home / inline-size;
}

.home-highlight--action {
    display: block;
    padding: 0;
}

.home-highlight--action > a {
    min-height: 126px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: start;
    gap: 0.85rem;
    padding: 1.2rem;
    color: inherit;
    text-decoration: none;
}

.home-highlight-arrow {
    margin-top: 12px;
    color: var(--web-primary-text);
    font-size: 0.7rem;
}

.home-section.home-section--contact {
    padding-top: 0.5rem;
}

.home-contact {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 64px);
    overflow: hidden;
    padding: clamp(28px, 5vw, 50px);
    border: 1px solid color-mix(in srgb, var(--web-primary) 17%, transparent);
    border-radius: 22px;
    background:
        linear-gradient(
            115deg,
            color-mix(in srgb, var(--web-primary) 8%, var(--web-background)),
            var(--web-background) 68%
        );
}

.home-contact::after {
    position: absolute;
    z-index: -1;
    right: -70px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    border: 42px solid color-mix(in srgb, var(--web-primary) 7%, transparent);
    border-radius: 50%;
    content: "";
}

.home-contact__copy {
    min-width: 0;
    max-width: 650px;
}

.home-contact__copy h2 {
    margin: 0.8rem 0 0;
    color: var(--web-text);
    font-size: var(--web-title-section-size);
    font-weight: 740;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.home-contact__copy p {
    max-width: 58ch;
    margin: 0.8rem 0 0;
    color: var(--web-text-light);
    font-size: 0.9rem;
    line-height: 1.65;
}

.home-contact__actions {
    min-width: min(100%, 220px);
    display: grid;
    gap: 8px;
}

.home-section--featured {
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--web-primary) 3%, var(--web-background)) 0%,
            var(--web-background) 100%
        );
}

.home-featured-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(22px, 4vw, 36px);
}

.home-featured-heading h2 {
    margin: 0.5rem 0 0;
    color: var(--web-text);
    font-size: var(--web-title-section-size);
    font-weight: 760;
    letter-spacing: -0.04em;
}

.home-featured-all {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    color: var(--web-primary-text);
    font-size: 0.86rem;
    font-weight: 720;
    text-decoration: none;
}

.home-featured-all:hover,
.home-featured-all:focus-visible {
    color: var(--web-primary);
}

.home-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 22px);
}

.home-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--web-text) 11%, transparent);
    border-radius: 18px;
    background: var(--web-background);
    transition: border-color 180ms ease, transform 180ms ease;
}

.home-product-card:hover {
    border-color: color-mix(in srgb, var(--web-primary) 35%, transparent);
    transform: translateY(-3px);
}

.home-product-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.home-product-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: color-mix(in srgb, var(--web-text) 3%, var(--web-background));
}

.home-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.home-product-card:hover .home-product-card__media img {
    transform: scale(1.025);
}

.home-product-card__index {
    position: absolute;
    top: 12px;
    left: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--web-text) 10%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--web-background) 90%, transparent);
    color: var(--web-text);
    font-size: 0.68rem;
    font-weight: 780;
    backdrop-filter: blur(8px);
}

.home-product-card__body {
    display: flex;
    min-height: 154px;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.home-product-card__category {
    overflow: hidden;
    color: var(--web-text-light);
    font-size: 0.68rem;
    font-weight: 720;
    letter-spacing: 0.07em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-product-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0.45rem 0 1.1rem;
    color: var(--web-text);
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 710;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.home-product-card__price {
    display: grid;
    min-width: 0;
    gap: 0.1rem;
}

.home-product-card__price small,
.home-product-card__price del {
    color: var(--web-text-light);
    font-size: 0.68rem;
}

.home-product-card__price strong {
    color: var(--web-primary-text);
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    font-weight: 780;
    font-variant-numeric: tabular-nums;
}

.home-product-card__arrow {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--web-primary) 9%, transparent);
    color: var(--web-primary-text);
    font-size: 0.75rem;
}

@container storefront-home (width < 820px) {
    .home-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .home-contact {
        align-items: stretch;
        flex-direction: column;
    }

    .home-highlight--action > a {
        min-height: 0;
        padding: 1rem;
    }

    .home-contact {
        border-radius: 18px;
    }

    .home-contact__actions {
        width: 100%;
    }

    .home-contact__actions a {
        width: 100%;
    }

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

    .home-product-card__body {
        min-height: 136px;
        padding: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-product-card,
    .home-product-card__media img {
        transition: none;
    }

    .home-product-card:hover,
    .home-product-card:hover .home-product-card__media img {
        transform: none;
    }
}
