.site-shell--storefront {
    --ak-discovery-content-width: min(100%, 1230px);
}

@media (width < 1240px) {
    .site-shell--storefront {
        --ak-discovery-content-width: calc(100% - 64px);
    }
}

@media (width < 768px) {
    .site-shell--storefront {
        --ak-discovery-content-width: calc(100% - 32px);
    }
}

.storefront-home.layout-container {
    width: var(--ak-discovery-content-width);
    max-width: 1230px;
    padding-block: 0 24px;
}

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
    min-height: 68px;
}

.home-benefits p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #252525;
    font-size: 14px;
    line-height: 1.5;
}

.home-benefits svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-feature {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 48px;
    min-height: 500px;
    padding: 48px 32px;
    border-radius: 6px;
    background: #f4f4f4;
    color: #111;
}

.home-feature__copy {
    max-width: 420px;
}

.home-feature__copy .eyebrow {
    margin: 0 0 12px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .07em;
}

.home-feature__copy h1 {
    max-width: 16ch;
    margin: 0;
    color: #111;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.home-feature__copy > p:not(.eyebrow) {
    max-width: 380px;
    margin: 16px 0 20px;
    color: #626262;
    font-size: 16px;
    line-height: 1.5;
}

.home-feature__copy .button {
    min-height: 42px;
    padding-inline: 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-feature__art {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.home-feature__display {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #050505;
    font-size: clamp(36px, 3.1vw, 64px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -.055em;
    overflow-wrap: normal;
}

.home-feature__covers {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.home-feature__cover {
    display: block;
    height: 104px;
    overflow: hidden;
    border-radius: 6px;
    background: #ececec;
    outline-offset: 4px;
}

.home-feature__cover img,
.home-feature__cover .product-artwork {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.home-feature__art--identity {
    display: block;
    justify-self: center;
}

.storefront-home .quick-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.storefront-home .quick-categories a {
    gap: 8px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    transform: none;
}

.storefront-home .quick-categories a:hover {
    border-color: #555;
    background: #f7f7f7;
    color: #111;
    transform: none;
}

.storefront-home .quick-categories svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    color: inherit;
}

.storefront-home .quick-categories__sale {
    border-color: #ddd !important;
    background: #fff !important;
}

.storefront-home .storefront-shelf {
    padding-top: 32px;
}

.storefront-home .storefront-shelf__heading,
.category-landing .storefront-shelf__heading {
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.storefront-home .storefront-shelf__heading h2,
.category-landing .storefront-shelf__heading h2 {
    margin: 0;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.533333;
    letter-spacing: -.108px;
}

.storefront-home .text-link,
.category-landing .text-link {
    color: #333;
    font-size: 14px;
    font-weight: 400;
}

.storefront-home .storefront-shelf__heading p { margin: 4px 0 0; color: #666; font-size: 14px; line-height: 20px; }

.storefront-home .storefront-empty-row {
    display: block;
    min-height: 0;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}

.storefront-home .storefront-principles {
    margin-top: 48px;
    border-color: #ddd;
    border-radius: 4px;
    background: #fafafa;
}

.storefront-home .storefront-principles p {
    border-color: #ddd;
}

.storefront-home .storefront-principles strong {
    color: #222;
    font-size: 14px;
}

.storefront-home .storefront-principles span {
    color: #666;
    font-size: 14px;
}

.category-landing .layout-container {
    width: var(--ak-discovery-content-width);
    max-width: 1230px;
}

.category-landing .category-landing__intro {
    padding-top: 16px;
    padding-bottom: 28px;
}

.category-landing .category-breadcrumbs {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.category-landing .category-breadcrumbs a {
    color: #666;
}

.category-landing .category-landing__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 24px 48px;
    min-height: 300px;
    padding: 32px;
    border-radius: 6px;
    background: #f4f4f4;
}

.category-landing .category-landing__heading > div:first-child {
    grid-column: 1;
    align-self: end;
}

.category-landing .category-landing__heading .eyebrow {
    margin-bottom: 12px;
    color: #444;
    font-size: 14px;
}

.category-landing .category-landing__heading h1 {
    max-width: none;
    color: #111;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.category-landing .category-landing__heading > div:first-child > p:last-child {
    margin: 16px 0 0;
    color: #626262;
    font-size: 16px;
    line-height: 1.5;
}

.category-landing .page-intro__stat {
    grid-column: 1;
    align-self: start;
    justify-self: start;
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.category-landing .page-intro__stat strong {
    display: inline;
    color: #222;
    font-size: 16px;
    font-weight: 600;
}

.category-landing .page-intro__stat span {
    display: inline;
    margin-left: 6px;
    color: #666;
    font-size: 14px;
}

.category-landing__visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
    height: 236px;
    overflow: hidden;
    border-radius: 6px;
    background: #e9e9e9;
}

.category-landing__visual img,
.category-landing__visual .product-artwork {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.category-landing .category-landing__browse {
    padding-top: 24px;
    border-color: #e2e2e2;
}

.category-landing .category-landing__products {
    padding-top: 24px;
    margin-top: 28px;
    border-color: #e2e2e2;
}

.category-landing .storefront-shelf__heading .eyebrow {
    display: none;
}

.category-landing .subcategory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-landing .subcategory-card {
    min-height: 112px;
    align-content: start;
    gap: 8px;
    overflow: hidden;
    padding: 0 0 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #222;
    transform: none;
}

.category-landing .subcategory-card:hover,
.category-landing .subcategory-card.is-active {
    border-color: #335bc6;
    background: #f3f6ff;
    transform: none;
}

.category-landing .subcategory-card > span {
    margin-inline: 16px;
    font-size: 16px;
    font-weight: 600;
}

.category-landing .subcategory-card > small {
    margin-inline: 16px 32px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.subcategory-card__art { aspect-ratio: 3 / 2; overflow: hidden; background: #f4f4f4; }
.subcategory-card__art img,
.subcategory-card__art .product-artwork { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }

.category-landing .subcategory-card i {
    right: 12px;
    bottom: 12px;
    color: #335bc6;
}

@media (max-width: 1100px) {
    .home-benefits {
        gap: 16px;
    }

    .home-benefits p {
        font-size: 12px;
    }

    .home-feature {
        gap: 24px;
        min-height: 420px;
        padding: 32px 24px;
    }

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

    .home-feature__display {
        font-size: 40px;
        line-height: 1;
    }

    .home-feature__display br {
        display: none;
    }

    .home-feature__covers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .home-feature__cover {
        height: 96px;
    }

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

@media (max-width: 800px) {
    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 20px;
        padding-block: 16px;
    }

    .home-feature {
        gap: 20px;
        min-height: 380px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .home-feature__copy h1 {
        font-size: 30px;
    }

    .home-feature__display {
        font-size: 32px;
    }

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

    .home-feature__cover {
        height: 70px;
    }

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

    .category-landing .category-landing__heading {
        column-gap: 24px;
        padding: 24px;
    }
}

@media (max-width: 540px) {
    .home-benefits {
        gap: 12px;
    }

    .home-benefits p {
        align-items: start;
    }

    .home-feature {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        min-height: 0;
        padding: 28px 20px;
    }

    .home-feature__copy h1 {
        font-size: 28px;
    }

    .home-feature__art {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .home-feature__display {
        font-size: 32px;
        max-width: 100%;
    }

    .home-feature__covers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .home-feature__cover {
        height: 80px;
    }

    .storefront-home .quick-categories {
        gap: 8px;
        margin-top: 20px;
    }

    .storefront-home .quick-categories a {
        min-height: 42px;
    }

    .storefront-home .storefront-shelf__heading,
    .category-landing .storefront-shelf__heading {
        align-items: start;
        gap: 16px;
    }

    .storefront-home .storefront-principles {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 32px;
    }

    .storefront-home .storefront-principles p {
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }

    .storefront-home .storefront-principles p:last-child {
        border-bottom: 0;
    }

    .category-landing .category-landing__heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        min-height: 0;
        padding: 24px 20px;
    }

    .category-landing .category-landing__heading h1 {
        font-size: 28px;
    }

    .category-landing__visual {
        grid-column: 1;
        grid-row: auto;
        height: 176px;
    }

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

    .category-landing .subcategory-card {
        min-height: 0;
    }
}

@media (width < 1024px) {
    .home-benefits { display: flex; gap: 32px; min-height: 0; padding-block: 16px; overflow-x: auto; scrollbar-width: none; }
    .home-benefits::-webkit-scrollbar { display: none; }
    .home-benefits p { flex: 0 0 auto; align-items: center; font-size: 14px; line-height: 20px; white-space: nowrap; }
    .home-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; padding: 48px 16px 16px; border-radius: 8px; }
    .home-feature__copy h1 { font-size: 28px; font-weight: 500; line-height: 32px; letter-spacing: -.168px; }
    .storefront-home .quick-categories { gap: 12px; margin-top: 32px; }
    .storefront-home .quick-categories a { min-height: 34px; padding: 6px 8px; line-height: 20px; border-radius: 6px; }
    .storefront-home .quick-categories svg { width: 20px; height: 20px; }
}

@media (max-width: 540px) {
    .home-feature { width: calc(100% + 32px); margin-inline: -16px; }
}
