/* Home storefront polish: compact discovery, trust, accessible tabs and about. */
.home_value_strip,
.home_value_strip * {
    box-sizing: border-box;
}

.home_value_strip {
    margin: -8px 0 24px;
}

.home_value_strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.home_value_strip__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .05);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home_value_strip__item:hover,
.home_value_strip__item:focus-visible {
    color: #1f2937;
    border-color: rgba(227, 38, 54, .22);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
    text-decoration: none;
}

.home_value_strip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(227, 38, 54, .08);
    color: #d62031;
}

.home_value_strip__item > span:last-child {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.home_value_strip__item strong {
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home_value_strip__item small {
    color: #667085;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.home_section_heading {
    margin: 30px 0 18px;
}

.home_section_heading h2 {
    margin: 0;
    color: #1f2937;
    font-size: clamp(22px, 1.15rem + .45vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.home_section_heading h2::after {
    display: block;
    width: 48px;
    height: 4px;
    margin: 12px auto 10px;
    border-radius: 999px;
    background: #e32636;
    content: "";
}

.home_section_heading p {
    max-width: 680px;
    margin: 0 auto;
    color: #667085;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.popular_categories_grid.home_category_rail {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 0 -4px;
    padding: 8px 4px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline proximity;
    scrollbar-color: rgba(227, 38, 54, .45) rgba(15, 23, 42, .05);
    scrollbar-width: thin;
}

.popular_categories_grid.home_category_rail::-webkit-scrollbar {
    height: 6px;
}

.popular_categories_grid.home_category_rail::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(15, 23, 42, .05);
}

.popular_categories_grid.home_category_rail::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(227, 38, 54, .38);
}

.home_category_rail .popular_category_item {
    flex: 0 0 clamp(164px, 15vw, 220px);
    min-width: 164px;
    scroll-snap-align: start;
}

.home_category_rail .popular_category_img_wrp {
    height: 138px;
}

.home_category_rail .popular_category_name {
    min-height: 54px;
    padding: 10px;
    font-size: 14px;
}

.home_popular_products {
    margin-top: 22px;
}

.home_popular_products .panels_tabs {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 -2px 12px;
    padding: 3px 2px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-color: rgba(227, 38, 54, .4) rgba(15, 23, 42, .05);
    scrollbar-width: thin;
    text-align: left;
}

.home_popular_products .panels_tabs .panels_tabs_item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 999px;
    background: #fff;
    color: #344054;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .04);
    cursor: pointer;
    scroll-snap-align: start;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home_popular_products .panels_tabs .panels_tabs_item .panels_tabs_name {
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
}

.home_popular_products .panels_tabs .panels_tabs_item:hover {
    border-color: rgba(227, 38, 54, .22);
    background: rgba(227, 38, 54, .04);
    color: #c91f2e;
}

.home_popular_products .panels_tabs .panels_tabs_item.current,
.home_popular_products .panels_tabs .panels_tabs_item[aria-selected="true"] {
    padding: 8px 14px;
    border-color: #e32636;
    background: #e32636;
    color: #fff;
    box-shadow: 0 6px 16px rgba(227, 38, 54, .2);
}

.home_popular_products .panels_tabs .panels_tabs_item.current .panels_tabs_name,
.home_popular_products .panels_tabs .panels_tabs_item[aria-selected="true"] .panels_tabs_name {
    color: #fff;
}

.home_popular_products .panels_tabs .panels_tabs_item:focus-visible,
.home_category_rail:focus-visible {
    outline: 2px solid rgba(37, 99, 235, .8);
    outline-offset: 3px;
}

.home_popular_products .panels_wrp,
.home_recommended .panels_wrp {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(15, 23, 42, .06);
}

.home_popular_products .panel_item {
    padding: 0;
}

.home_popular_products .panel_item[aria-hidden="false"] {
    height: auto;
    padding: 12px 14px 14px;
    visibility: visible;
}

.home_popular_products .panel_item[aria-hidden="true"] {
    height: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
}

.home_recommended .panel_item {
    padding: 12px 14px 14px;
}

.home_recommended {
    margin-top: 28px;
}

.seo_text.home_about {
    margin: 34px 0 0;
    padding: 0;
    background: transparent;
}

.seo_text.home_about::before {
    display: none;
}

.home_about__details {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0, #f8fafc 100%);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.home_about__details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 86px;
    padding: 18px 22px;
    color: #1f2937;
    cursor: pointer;
    list-style: none;
}

.home_about__details > summary::-webkit-details-marker {
    display: none;
}

.home_about__details > summary > span {
    display: grid;
    gap: 4px;
}

.home_about__details > summary strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.home_about__details > summary small {
    color: #667085;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.home_about__details > summary svg {
    flex: 0 0 auto;
    color: #e32636;
    transition: transform .2s ease;
}

.home_about__details[open] > summary svg {
    transform: rotate(180deg);
}

.home_about__details > summary:hover,
.home_about__details > summary:focus-visible {
    background: rgba(227, 38, 54, .03);
}

.home_about__details > summary:focus-visible {
    outline: 2px solid rgba(37, 99, 235, .8);
    outline-offset: -3px;
}

.home_about__content {
    padding: 2px 22px 24px;
    border-top: 1px solid rgba(15, 23, 42, .07);
    color: #475467;
    font-size: 15px;
    line-height: 1.65;
}

.home_about__content > :first-child {
    margin-top: 20px;
}

@media (max-width: 1100px) {
    .home_value_strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home_value_strip {
        margin: -2px 0 18px;
    }

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

    .home_value_strip__item {
        align-items: flex-start;
        min-height: 92px;
        padding: 12px;
        border-radius: 14px;
    }

    .home_value_strip__icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .home_value_strip__item strong {
        white-space: normal;
    }

    .home_value_strip__item small {
        font-size: 11px;
    }

    .home_section_heading {
        margin: 24px 0 14px;
        padding: 0 8px;
    }

    .home_section_heading h2 {
        font-size: 22px;
    }

    .home_section_heading h2::after {
        margin-top: 9px;
        margin-bottom: 8px;
    }

    .home_section_heading p {
        font-size: 13px;
    }

    .popular_categories_grid.home_category_rail {
        gap: 10px;
        margin-right: -2%;
        padding-right: 7%;
    }

    .home_category_rail .popular_category_item {
        flex-basis: min(68vw, 260px);
        min-width: 158px;
    }

    .home_category_rail .popular_category_img_wrp {
        height: 132px;
    }

    .home_popular_products,
    .home_recommended {
        margin-top: 18px;
    }

    .home_popular_products .panels_tabs {
        margin-right: -2%;
        padding-right: 7%;
    }

    .home_popular_products .panels_tabs .panels_tabs_item {
        min-height: 38px;
        padding: 7px 12px;
    }

    .home_popular_products .panels_wrp,
    .home_recommended .panels_wrp {
        margin: 0 -2%;
        border-right: 0;
        border-left: 0;
        border-radius: 16px;
    }

    .home_popular_products .panel_item {
        padding: 0;
    }

    .home_popular_products .panel_item[aria-hidden="false"],
    .home_recommended .panel_item {
        padding: 10px 0 12px;
    }

    .seo_text.home_about {
        margin-top: 26px;
    }

    .home_about__details {
        border-radius: 16px;
    }

    .home_about__details > summary {
        min-height: 76px;
        padding: 15px 16px;
    }

    .home_about__details > summary strong {
        font-size: 16px;
    }

    .home_about__content {
        padding: 2px 16px 20px;
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .home_value_strip__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home_value_strip__item {
        align-items: center;
        min-height: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home_value_strip__item,
    .home_about__details > summary svg {
        transition: none;
    }

    .home_value_strip__item:hover,
    .home_value_strip__item:focus-visible {
        transform: none;
    }
}
