.storefront-home-body {
    background: #fff;
}

/* Discreet, shareable group entry: keep the existing heading appearance. */
.catalog-group-heading-link,
.catalog-group-heading-link:visited,
.catalog-group-heading-link:hover,
.catalog-group-heading-link:active {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.catalog-group-heading-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.storefront-shell {
    width: min(1180px, 100%);
    max-width: 100vw;
    padding: 0 env(safe-area-inset-right, 0px) calc(136px + env(safe-area-inset-bottom, 0px)) env(safe-area-inset-left, 0px);
    overflow-x: hidden;
    background: #fff;
}

.storefront-home {
    --storefront-ink: #171717;
    --storefront-muted: #777;
    --storefront-line: #ececec;
    --storefront-soft: #faf8f3;
    --storefront-nav-height: calc(78px + env(safe-area-inset-top, 0px));
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    padding-top: var(--storefront-nav-height);
    overflow: clip;
    color: var(--storefront-ink);
    background: #fff;
}

.storefront-home a {
    text-decoration: none;
}

.storefront-category-header {
    height: 0;
    margin: 0;
    padding: 0;
}

.storefront-hero {
    position: relative;
    min-height: clamp(390px, 58vw, 680px);
    margin-bottom: 78px;
    background: #242424;
}

.storefront-hero::after {
    position: absolute;
    inset: 0 0 auto;
    height: 132px;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .52), transparent);
}

.storefront-hero-image {
    width: 100%;
    height: clamp(390px, 58vw, 680px);
    display: block;
    object-fit: cover;
    object-position: center 61%;
}

.storefront-hero-without-image {
    min-height: 0;
    margin-bottom: 18px;
    padding: 14px 18px 0;
    background: #fff;
}

.storefront-hero-without-image::after {
    display: none;
}

.storefront-hero-nav {
    position: fixed;
    z-index: 70;
    top: 0;
    left: 0;
    right: 0;
    width: min(1180px, 100vw);
    margin-inline: auto;
    min-height: var(--storefront-nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(14px + env(safe-area-inset-top, 0px)) max(25px, env(safe-area-inset-right, 0px)) 14px max(25px, env(safe-area-inset-left, 0px));
    color: var(--storefront-ink);
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(225, 225, 225, .92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .055);
    backdrop-filter: blur(14px);
}

.storefront-hero-nav-side {
    display: flex;
    align-items: center;
    gap: 8px;
}

.storefront-hero-nav-side a,
.storefront-hero-nav-side button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: #343434;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    text-shadow: none;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.storefront-hero-nav-side button {
    cursor: default;
}

.storefront-hero-nav-side .storefront-search-open {
    cursor: pointer;
}

.storefront-hero-nav-side .storefront-home-link {
    width: 46px;
    flex: 0 0 46px;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    border: 1px solid #e6e6e6;
}

.storefront-hero-nav-side a:hover,
.storefront-hero-nav-side button:not(:disabled):hover {
    color: #111;
    background: #f4f4f4;
}

.storefront-hero-nav-side .storefront-category-open {
    min-height: 48px;
    padding: 0 17px;
    color: #171717;
    background: #f4f4f4;
    border: 1px solid #e6e6e6;
    box-shadow: none;
    font-weight: 800;
    letter-spacing: .01em;
    text-shadow: none;
    backdrop-filter: none;
}

.storefront-hero-nav-side .storefront-category-open:not(:disabled) {
    cursor: pointer;
}

.storefront-hero-nav-side .storefront-category-open:not(:disabled):hover {
    background: #ececec;
}

.storefront-hero-nav-side .storefront-category-open:disabled {
    color: #777;
    cursor: not-allowed;
    opacity: .7;
}

.storefront-home-link:focus-visible,
.storefront-category-open:focus-visible,
.catalog-category-dialog button:focus-visible,
.catalog-category-dialog a:focus-visible {
    outline: 3px solid rgba(23, 23, 23, .24);
    outline-offset: 3px;
}

.storefront-hero-nav-side svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.storefront-profile {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: -56px;
    left: 24px;
    min-height: 132px;
    display: flex;
    align-items: center;
    gap: 21px;
    padding: 20px 26px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(24, 20, 26, .11);
    backdrop-filter: blur(13px);
}

.storefront-profile > img {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.storefront-profile h1 {
    margin: 0 0 7px;
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1;
    letter-spacing: .01em;
}

.storefront-profile p {
    margin: 0 0 8px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

.storefront-profile span {
    color: #929292;
    font-size: 13px;
}

.storefront-hero-without-image .storefront-profile {
    position: static;
    min-height: 94px;
    gap: 15px;
    padding: 14px 18px;
    background: #fff;
    border-color: var(--storefront-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(24, 20, 26, .065);
    backdrop-filter: none;
}

.storefront-hero-without-image .storefront-profile > img {
    width: 64px;
    height: 64px;
}

.storefront-hero-without-image .storefront-profile h1 {
    margin-bottom: 5px;
    font-size: 24px;
}

.storefront-hero-without-image .storefront-profile p {
    margin-bottom: 5px;
    font-size: 11px;
}

.storefront-hero-without-image .storefront-profile span {
    font-size: 11px;
}

.storefront-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 0 18px;
}

.storefront-content > * {
    min-width: 0;
    max-width: 100%;
}

.storefront-search-dialog {
    width: min(650px, calc(100vw - 28px));
    max-width: none;
    padding: 0;
    overflow: visible;
    color: var(--storefront-ink);
    background: transparent;
    border: 0;
}

.storefront-search-dialog::backdrop {
    background: rgba(12, 12, 12, .56);
    backdrop-filter: blur(3px);
}

.storefront-search-dialog:target:not([open]) {
    position: fixed;
    z-index: 80;
    inset: 50% auto auto 50%;
    display: block;
    transform: translate(-50%, -50%);
}

.storefront-search-dialog-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
}

html.has-category-browser,
body.has-category-browser {
    overflow: hidden;
}

.catalog-category-dialog {
    width: min(1080px, calc(100vw - 48px));
    max-width: none;
    height: min(780px, calc(100dvh - 48px));
    max-height: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: var(--storefront-ink);
    background: transparent;
    border: 0;
}

.catalog-category-dialog::backdrop {
    background: rgba(8, 8, 8, .66);
    backdrop-filter: blur(5px);
}

.catalog-category-panel {
    height: 100%;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    display: flex;
    overflow: hidden;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 22px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .34);
}

.catalog-category-header {
    min-height: 86px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    border-bottom: 1px solid #e9e9e9;
}

.catalog-category-header > div {
    display: grid;
    gap: 3px;
}

.catalog-category-header span,
.catalog-category-group-panel > header span {
    color: #999;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.catalog-category-header h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.1;
}

.catalog-category-header button {
    width: 46px;
    height: 46px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    color: #333;
    background: #f1f1f1;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 31px;
    line-height: 1;
}

.catalog-category-dialog button:focus-visible,
.catalog-category-dialog a:focus-visible {
    outline-color: rgba(23, 23, 23, .38);
}

.catalog-category-body {
    min-height: 0;
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: 230px minmax(0, 1fr);
}

.catalog-category-groups,
.catalog-category-panels {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.catalog-category-groups {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    background: #f5f5f5;
    border-right: 1px solid #e9e9e9;
}

.catalog-category-groups button {
    position: relative;
    width: 100%;
    min-height: 54px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 13px;
    color: #707070;
    background: transparent;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
}

.catalog-category-groups button > span {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.catalog-category-groups button > small {
    min-width: 25px;
    padding: 3px 6px;
    color: #aaa;
    background: rgba(255, 255, 255, .7);
    border-radius: 999px;
    font-size: 9px;
    text-align: center;
}

.catalog-category-groups button[aria-current="true"] {
    color: #171717;
    background: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .08);
    font-weight: 800;
}

.catalog-category-groups button[aria-current="true"]::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 3px;
    content: "";
    background: #171717;
    border-radius: 0 4px 4px 0;
}

.catalog-category-panels {
    padding: 25px 27px 34px;
}

.catalog-category-group-panel {
    scroll-margin-top: 24px;
}

.catalog-category-group-panel + .catalog-category-group-panel {
    margin-top: 38px;
    padding-top: 34px;
    border-top: 1px solid #dedede;
}

.catalog-category-group-panel > header {
    min-height: 54px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8e8e8;
}

.catalog-category-group-panel > header > div {
    display: grid;
    gap: 4px;
}

.catalog-category-group-panel > header h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
}

.catalog-category-group-panel > header small {
    color: #888;
    font-size: 11px;
    white-space: nowrap;
}

.catalog-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 14px;
}

.catalog-category-card {
    min-width: 0;
    display: grid;
    gap: 9px;
    color: #333;
    text-align: center;
}

.catalog-category-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(110deg, #f3f3f3 30%, #fafafa 48%, #f3f3f3 66%);
    background-size: 220% 100%;
    border: 1px solid #ededed;
    border-radius: 11px;
}

.catalog-category-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform .2s ease;
}

img[data-category-cover][data-cover-load-failed] {
    opacity: 0;
}

.catalog-category-card:hover .catalog-category-thumbnail img {
    transform: scale(1.035);
}

.catalog-category-name {
    min-height: 2.7em;
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-category-card.active .catalog-category-thumbnail {
    box-shadow: inset 0 0 0 3px #171717;
}

.catalog-category-card.active .catalog-category-name {
    font-weight: 800;
}

.storefront-search-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.storefront-search-dialog-head strong {
    font-size: 16px;
}

.storefront-search-dialog-head button,
.storefront-search-dialog-head a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #555;
    background: #f3f3f3;
    border: 0;
    border-radius: 50%;
    font-size: 25px;
    line-height: 1;
    text-decoration: none;
}

.storefront-contact-banner {
    overflow: hidden;
    display: block;
    background: #fff;
    border-radius: 7px;
}

.storefront-contact-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.storefront-announcement {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    overflow: hidden;
    color: #ef8b21;
    background: #fff9e9;
    font-size: 14px;
    white-space: nowrap;
}

.storefront-announcement svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: currentColor;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.storefront-announcement span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.storefront-review-carousel {
    position: relative;
    min-width: 0;
}

.storefront-review-strip {
    display: flex;
    gap: 12px;
    padding: 8px 0 13px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.storefront-review-strip::-webkit-scrollbar {
    display: none;
}

.storefront-review-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: rgba(35, 35, 35, .58);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(5px);
}

.storefront-review-control-prev {
    left: 12px;
}

.storefront-review-control-next {
    right: 12px;
}

.storefront-review-control svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.storefront-review-control:hover:not(:disabled) {
    background: rgba(20, 20, 20, .82);
}

.storefront-review-control:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .92);
    outline-offset: 2px;
}

.storefront-review-control:disabled {
    visibility: hidden;
    pointer-events: none;
}

.storefront-review-card {
    width: calc((100% - 24px) / 2.3);
    min-width: calc((100% - 24px) / 2.3);
    margin: 0;
    scroll-snap-align: start;
}

.storefront-review-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    display: block;
    object-fit: contain;
    background: #fff;
}

.storefront-shop-review-entry {
    min-height: 64px; display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; color: var(--storefront-ink); background: #fff;
    border: 1px solid var(--storefront-line); border-left: 3px solid #b5a3c4;
    border-radius: 14px; text-decoration: none; transition: border-color .18s ease;
}
.storefront-shop-review-entry:hover { border-color: #a18cb3; }
.storefront-shop-review-entry:focus-visible { outline: 3px solid #b5a3c466; outline-offset: 3px; }
.storefront-review-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; color: #8c719f; background: #f6f1f9; border-radius: 10px; }
.storefront-review-icon svg { width: 23px; height: 23px; }
.storefront-review-copy { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
.storefront-review-copy strong { font-size: 14px; line-height: 1.35; }
.storefront-review-copy small { color: var(--storefront-muted); font-size: 11px; line-height: 1.4; }
.storefront-review-action { flex: 0 0 auto; max-width: 38%; display: flex; align-items: center; gap: 5px; color: #806293; font-size: 11px; line-height: 1.4; }
.storefront-review-action i { font-size: 20px; line-height: 1; font-style: normal; }

.storefront-feature-tiles {
    display: grid;
    gap: 2px;
    padding: 4px 0 0;
}

.storefront-feature-section {
    display: grid;
    min-width: 0;
}

.storefront-feature-section + .storefront-feature-section {
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--storefront-line);
}

.storefront-feature-section-without-image .category-group-featured {
    padding-top: 0;
}

.storefront-feature-tile {
    display: block;
    overflow: hidden;
    background: #fff;
}

.storefront-feature-tile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.storefront-category-sections,
.catalog-results {
    scroll-margin-top: calc(var(--storefront-nav-height) + 18px);
}

.storefront-category-sections {
    display: grid;
    gap: 2px;
}

.storefront-category-sections > .category-groups {
    gap: 34px;
    padding: 18px 7px 0;
}

.storefront-homepage-footer-groups {
    display: grid;
    gap: 0;
    margin-top: 0;
    padding: 16px 7px 8px;
    border-top: 1px solid var(--storefront-line);
}

.storefront-homepage-footer-groups > .category-group + .category-group {
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--storefront-line);
}

.try-on-picker-intro {
    scroll-margin-top: calc(var(--storefront-nav-height) + 18px);
    display: grid;
    gap: 17px;
    padding: 22px;
    background: linear-gradient(145deg, #f7f2fb, #fff);
    border: 1px solid #eadff1;
    border-radius: 18px;
}

.try-on-picker-back {
    width: fit-content;
    color: #6f6375;
    font-size: 11px;
    font-weight: 700;
}

.try-on-picker-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.try-on-picker-heading > div {
    display: grid;
    gap: 5px;
}

.try-on-picker-heading span {
    color: #8a3fc2;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .15em;
}

.try-on-picker-heading h2,
.try-on-picker-heading p {
    margin: 0;
}

.try-on-picker-heading h2 {
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.1;
}

.try-on-picker-heading p {
    color: #736b78;
    font-size: 12px;
    line-height: 1.55;
}

.try-on-picker-switch {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid #e1d7e7;
    border-radius: 999px;
}

.try-on-picker-switch a {
    min-width: 72px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #766b7c;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.try-on-picker-switch a[aria-current="page"] {
    color: #fff;
    background: #6c2799;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px auto;
    min-height: 58px;
    padding: 5px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .05);
}

.search-label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
}

.search-label svg,
.camera-button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.search-label svg {
    color: #777;
}

.search-label input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    color: #202020;
    background: transparent;
    border: 0;
    outline: 0;
}

.camera-button,
.search-button {
    min-height: 46px;
    border: 0;
}

.camera-button {
    display: grid;
    place-items: center;
    color: #a0a0a0;
    background: transparent;
}

.search-button {
    padding: 0 20px;
    color: #fff;
    background: #171717;
    border-radius: 6px;
    font-weight: 700;
}

.taxonomy {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--storefront-line);
}

.taxonomy-top,
.results-head,
.category-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.taxonomy-top {
    padding-bottom: 17px;
    border-bottom: 2px solid #151515;
}

.taxonomy-top > div,
.results-head > div:first-child {
    display: grid;
    gap: 3px;
}

.taxonomy-top span,
.results-head > div:first-child > span {
    color: #999;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.taxonomy-top h2,
.results-head h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
}

.all-products-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #555;
    border: 1px solid #dedede;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.all-products-link.active {
    color: #fff;
    background: #171717;
    border-color: #171717;
}

.category-empty {
    display: grid;
    gap: 6px;
    padding: 28px 2px 8px;
}

.category-empty strong {
    font-size: 15px;
}

.category-empty span {
    color: var(--storefront-muted);
    font-size: 12px;
    line-height: 1.6;
}

.category-groups {
    display: grid;
    gap: 27px;
    padding-top: 23px;
}

.category-group {
    min-width: 0;
}

.category-group-featured {
    padding: 22px 7px 0;
}

.category-group-featured .category-thumbnail {
    background: #fff;
}

.category-grid-viewport {
    position: relative;
    min-width: 0;
}

.category-group[data-category-expandable-enhanced="true"][data-category-expanded="false"] .category-grid-viewport {
    max-height: var(--category-collapsed-height);
    overflow: hidden;
}

.category-group[data-category-expandable-enhanced="true"][data-category-expanded="false"] .category-grid-viewport::after {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--category-preview-height);
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .82) 54%, #fff 100%);
}

.category-group[data-category-expanded="false"] [data-category-expandable-item][inert] {
    pointer-events: none;
}

.storefront-category-more-row {
    display: flex;
    justify-content: center;
    padding: 7px 7px 8px;
}

.storefront-category-more-row[hidden] {
    display: none;
}

.storefront-category-more {
    min-width: 126px;
    min-height: 62px;
    display: inline-grid;
    align-items: center;
    justify-items: center;
    gap: 5px;
    padding: 8px 18px;
    color: #171717;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.2;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.storefront-category-more:hover {
    background: #f7f7f7;
    transform: translateY(1px);
}

.storefront-category-more:focus-visible {
    outline: 2px solid #171717;
    outline-offset: 3px;
}

.storefront-category-more svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .2s ease;
}

.category-group-head {
    margin-bottom: 13px;
}

.category-group-head h3 {
    margin: 0;
    font-size: 15px;
}

.category-group-head span {
    color: #999;
    font-size: 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px 11px;
}

.category-card {
    min-width: 0;
    display: grid;
    gap: 8px;
    text-align: center;
}

.category-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f6f6f6;
    border: 1px solid #eee;
}

.category-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform .22s ease;
}

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

.category-name {
    overflow: hidden;
    color: #333;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-card.active .category-thumbnail {
    box-shadow: inset 0 0 0 3px #171717;
}

.category-card.active .category-name {
    font-weight: 800;
}

.catalog-results {
    display: grid;
    gap: 20px;
    padding: 28px 0 30px;
}

.results-head {
    padding: 0 2px 14px;
    border-bottom: 2px solid #171717;
}

.results-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    color: #777;
    font-size: 11px;
}

.results-meta a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 13px;
}

.product-card {
    min-width: 0;
}

.product-detail-link {
    display: grid;
    gap: 10px;
}

.product-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f6f6f6;
}

.product-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .24s ease;
}

.product-detail-link:hover .product-image {
    transform: scale(1.018);
}

.category-thumbnail::after,
.catalog-category-thumbnail::after,
.product-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.category-card:is(:active, [data-catalog-pending]) .category-thumbnail::after,
.catalog-category-card:is(:active, [data-catalog-pending]) .catalog-category-thumbnail::after,
.product-detail-link:is(:active, [data-catalog-pending]) .product-frame::after {
    background: rgba(20, 20, 18, .1);
    box-shadow: inset 0 0 0 2px rgba(20, 20, 18, .45);
}

.category-card:focus-visible,
.product-detail-link:focus-visible {
    outline: 2px solid #171717;
    outline-offset: 4px;
}

.try-on-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 6px 9px;
    color: #fff;
    background: rgba(18, 18, 18, .82);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.product-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.product-code {
    color: #8c8c8c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.product-title {
    height: 2.76em;
    min-height: 2.76em;
    white-space: normal;
    overflow-wrap: anywhere;
    line-clamp: 2;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    color: #222;
    font-size: 13px;
    line-height: 1.38;
    font-weight: 550;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-category-page .storefront-category-content {
    gap: 16px;
    padding: 0 18px 28px;
    scroll-margin-top: var(--storefront-nav-height);
}

/* Category, buyer-showcase and search titles share the two-line product-title rule. */

.category-product-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid var(--storefront-line);
}

.category-product-tabs a {
    position: relative;
    padding: 18px 2px 14px;
    color: #8a8a8a;
    font-size: 15px;
    font-weight: 550;
}

.category-product-tabs a[aria-current="page"] {
    color: #171717;
    font-weight: 750;
}

.category-product-tabs a[aria-current="page"]::after {
    position: absolute;
    right: 3px;
    bottom: 0;
    left: 3px;
    height: 3px;
    border-radius: 3px;
    background: #171717;
    content: "";
}

.category-products-heading,
.category-search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.category-products-heading h1 {
    margin: 0;
    padding: 7px 12px;
    border-radius: 7px;
    background: #f6f6f6;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 550;
    overflow-wrap: anywhere;
}

.category-products-heading > span,
.category-search-summary {
    color: #888;
    font-size: 11px;
}

.category-products-heading > span,
.category-search-summary a {
    flex-shrink: 0;
}

.category-search-summary span {
    overflow-wrap: anywhere;
}

.category-search-summary a {
    color: #444;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-card-actions {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
}

.product-card-action {
    min-width: 0;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 6px;
    border: 1px solid #d8d8d8;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.product-card-try-on {
    color: #fff;
    background: #171717;
    border-color: #171717;
}

.product-card-contact {
    color: #222;
    background: #fff;
}

.product-card-action:hover {
    border-color: #8e8e8e;
}

.product-card-try-on:hover {
    background: #343434;
    border-color: #343434;
}

.product-card-action:focus-visible {
    outline: 3px solid rgba(20, 20, 18, .2);
    outline-offset: 2px;
}

.product-card-action.is-disabled {
    color: #969696;
    background: #f1f1f1;
    border-color: #e8e8e8;
    cursor: not-allowed;
}

.product-card-action.is-disabled:hover {
    color: #969696;
    background: #f1f1f1;
    border-color: #e8e8e8;
}

.product-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 54px 22px;
    color: #777;
    background: #fafafa;
    text-align: center;
}

.product-empty h3,
.product-empty p {
    margin: 0;
}

.product-empty h3 {
    color: #222;
    font-size: 18px;
}

.product-empty p {
    max-width: 520px;
    font-size: 12px;
    line-height: 1.65;
}

.product-empty a {
    margin-top: 7px;
    padding-bottom: 3px;
    color: #222;
    border-bottom: 1px solid currentColor;
    font-size: 12px;
    font-weight: 700;
}

.pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    padding-top: 10px;
}

.pagination-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    padding: 0 17px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.pagination-link:last-child {
    justify-self: end;
}

.pagination-link.disabled {
    opacity: .38;
}

.page-state {
    color: #999;
    font-size: 11px;
}

.storefront-floating-actions {
    position: fixed;
    z-index: 44;
    right: max(16px, env(safe-area-inset-right, 0px), calc((100vw - 1180px) / 2 + 16px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    display: grid;
    gap: 8px;
    max-width: min(220px, calc(100vw - 32px));
}

.floating-action {
    box-sizing: border-box;
    width: auto;
    min-width: 136px;
    min-height: 48px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(22, 37, 31, .18);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-action span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.floating-action svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.floating-action-contact {
    background: #03c160;
    border-color: rgba(255, 255, 255, .7);
}

.floating-action-try-on {
    min-height: 44px;
    padding-top: 9px;
    padding-bottom: 9px;
    color: #fff;
    background: #652b91;
    border-color: rgba(255, 255, 255, .7);
    box-shadow: 0 3px 12px rgba(53, 32, 71, .12);
}

.floating-action-try-on svg {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
}

.floating-action:focus-visible {
    outline: 3px solid #152c24;
    outline-offset: 3px;
}

@media (hover: hover) {
    .floating-action-contact:hover { background: #02aa54; }
    .floating-action-try-on:hover { background: #512273; }
}

.home-try-on-sheet {
    width: min(760px, calc(100% - 28px));
    max-width: 760px;
    padding: 0;
    color: #171717;
    background: transparent;
    border: 0;
    border-radius: 22px;
}

.home-try-on-sheet::backdrop {
    background: rgba(10, 10, 10, .58);
    backdrop-filter: blur(5px);
}

.home-try-on-panel {
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .28);
}

.home-try-on-panel > header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding: 21px 22px 17px;
    border-bottom: 1px solid #ededed;
}

.home-try-on-panel > header span {
    color: #8a3fc2;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .16em;
}

.home-try-on-panel h2 {
    margin: 3px 0 0;
    font-size: 22px;
}

.home-try-on-panel > header button {
    width: 40px;
    height: 40px;
    padding: 0;
    color: #333;
    background: #f2f2f2;
    border: 0;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
}

.home-try-on-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 14px;
    padding: 18px;
}

.home-model-column,
.home-outfit-column {
    min-width: 0;
}

.home-model-column {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 16px;
    background: linear-gradient(160deg, #f4f0f8, #ece8ef);
    border-radius: 16px;
    text-align: center;
}

.home-model-placeholder {
    width: 100%;
    min-height: 226px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, #fff, #e7e0eb 72%);
    border-radius: 12px;
}

.home-model-placeholder svg {
    width: 125px;
    height: 188px;
    fill: rgba(91, 53, 111, .14);
    stroke: rgba(63, 34, 80, .7);
    stroke-width: 2;
}

.home-model-column strong {
    font-size: 14px;
}

.home-model-column a,
.home-model-column button,
.home-outfit-slot a,
.home-try-on-panel > footer a {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
}

.home-model-column a {
    color: #fff;
    background: #171717;
}

.home-model-column button {
    color: #999;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(0, 0, 0, .08);
}

.home-outfit-column {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.home-outfit-slot {
    min-height: 180px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    padding: 16px;
    background: #fafafa;
    border: 1px dashed #cfcfcf;
    border-radius: 16px;
    text-align: center;
}

.home-outfit-slot > span {
    color: #8d8d8d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-outfit-slot strong {
    font-size: 14px;
}

.home-outfit-slot a {
    min-height: 34px;
    color: #4c176c;
    background: #f1e8f7;
}

.home-try-on-panel > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 20px 19px;
    border-top: 1px solid #ededed;
}

.home-try-on-panel > footer p {
    max-width: 430px;
    margin: 0;
    color: #777;
    font-size: 11px;
    line-height: 1.55;
}

.home-try-on-panel > footer a {
    flex: 0 0 auto;
    color: #fff;
    background: #6c2799;
}

.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;
}

@media (max-width: 760px) {
    .storefront-home {
        --storefront-nav-height: calc(66px + env(safe-area-inset-top, 0px));
    }

    .storefront-shell {
        padding: 0 env(safe-area-inset-right, 0px) 112px env(safe-area-inset-left, 0px);
    }

    .storefront-hero,
    .storefront-hero-image {
        min-height: 0;
        height: 360px;
    }

    .storefront-hero {
        margin-bottom: 73px;
    }

    .storefront-hero.storefront-hero-without-image {
        height: auto;
        min-height: 0;
        margin-bottom: 12px;
        padding: 10px 10px 0;
    }

    .storefront-hero-image {
        object-position: center 60%;
    }

    .storefront-hero-nav {
        min-height: var(--storefront-nav-height);
        padding: calc(9px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 9px max(12px, env(safe-area-inset-left, 0px));
        /* Keep mobile navigation independent of the scrolling backdrop layer. */
        background: #fff;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .storefront-hero-nav-side {
        gap: 2px;
    }

    .storefront-hero-nav-side a,
    .storefront-hero-nav-side button {
        min-height: 44px;
        gap: 5px;
        padding: 0 8px;
        background: transparent;
        font-size: 13px;
    }

    .storefront-hero-nav-side svg {
        width: 20px;
        height: 20px;
    }

    .storefront-hero-nav-side .storefront-category-open {
        min-height: 44px;
        gap: 7px;
        padding: 0 13px;
        color: #171717;
        background: #f4f4f4;
        box-shadow: none;
        font-size: 13px;
    }

    .storefront-hero-nav-side .storefront-home-link {
        width: 40px;
        flex-basis: 40px;
        padding: 0;
    }

    .catalog-category-dialog {
        width: 100vw;
        height: 100dvh;
        max-height: none;
        margin: 0;
        background: #fff;
    }

    .catalog-category-dialog::backdrop {
        background: #fff;
        backdrop-filter: none;
    }

    .catalog-category-panel {
        padding-bottom: env(safe-area-inset-bottom);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .catalog-category-header {
        min-height: calc(74px + env(safe-area-inset-top));
        padding: calc(13px + env(safe-area-inset-top)) 14px 13px;
    }

    .catalog-category-header h2 {
        font-size: 21px;
    }

    .catalog-category-header button {
        width: 44px;
        height: 44px;
        font-size: 29px;
    }

    .catalog-category-body {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .catalog-category-groups {
        gap: 3px;
        padding: 8px 6px;
        scrollbar-gutter: auto;
        -webkit-overflow-scrolling: touch;
    }

    .catalog-category-groups button {
        min-height: 51px;
        gap: 5px;
        padding: 7px 8px;
        border-radius: 10px;
    }

    .catalog-category-groups button > span {
        font-size: 11px;
    }

    .catalog-category-groups button > small {
        min-width: 20px;
        padding: 2px 4px;
        font-size: 8px;
    }

    .catalog-category-panels {
        padding: 14px 10px 26px;
        scrollbar-gutter: auto;
        -webkit-overflow-scrolling: touch;
    }

    .catalog-category-group-panel > header {
        min-height: 48px;
        align-items: center;
        margin-bottom: 15px;
        padding: 0 2px 10px;
    }

    .catalog-category-group-panel > header h3 {
        font-size: 17px;
    }

    .catalog-category-group-panel > header small {
        font-size: 9px;
    }

    .catalog-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 7px;
    }

    .catalog-category-card {
        gap: 7px;
    }

    .catalog-category-thumbnail {
        border-radius: 8px;
    }

    .catalog-category-name {
        font-size: 10px;
    }

    .storefront-profile {
        right: 12px;
        bottom: -54px;
        left: 12px;
        min-height: 118px;
        gap: 14px;
        padding: 17px;
        border-radius: 14px;
    }

    .storefront-profile > img {
        width: 76px;
        height: 76px;
    }

    .storefront-profile h1 {
        margin-bottom: 5px;
        font-size: 24px;
    }

    .storefront-profile p {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .storefront-profile span {
        font-size: 11px;
    }

    .storefront-hero-without-image .storefront-profile {
        min-height: 86px;
        gap: 12px;
        padding: 11px 13px;
    }

    .storefront-hero-without-image .storefront-profile > img {
        width: 58px;
        height: 58px;
    }

    .storefront-hero-without-image .storefront-profile h1 {
        font-size: 21px;
    }

    .storefront-content {
        gap: 10px;
        padding: 0 10px;
    }

    .storefront-announcement {
        min-height: 48px;
        padding-inline: 11px;
        font-size: 12px;
    }

    .storefront-review-strip {
        gap: 8px;
    }

    .storefront-review-control {
        display: none;
    }

    .storefront-review-card {
        width: calc((100% - 16px) / 2.3);
        min-width: calc((100% - 16px) / 2.3);
    }

    .storefront-feature-tiles {
        padding-bottom: 0;
    }

    .storefront-feature-section + .storefront-feature-section {
        margin-top: 0;
        padding-top: 14px;
    }

    .storefront-homepage-footer-groups {
        gap: 0;
        margin-top: 0;
        padding: 14px 2px 6px;
    }

    .storefront-homepage-footer-groups > .category-group + .category-group {
        margin-top: 0;
        padding-top: 14px;
    }

    .try-on-picker-intro {
        gap: 14px;
        padding: 17px 14px;
        border-radius: 14px;
    }

    .try-on-picker-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .try-on-picker-heading h2 {
        font-size: 24px;
    }

    .try-on-picker-switch {
        width: 100%;
    }

    .try-on-picker-switch a {
        width: 100%;
    }

    .search-form {
        grid-template-columns: minmax(0, 1fr) 42px 54px;
        min-height: 53px;
        padding: 4px;
    }

    .search-label {
        gap: 7px;
        padding-left: 8px;
    }

    .search-label svg {
        width: 17px;
        height: 17px;
    }

    .search-label input {
        height: 43px;
        font-size: 12px;
    }

    .camera-button,
    .search-button {
        min-height: 43px;
    }

    .search-button {
        padding: 0;
        font-size: 11px;
    }

    .taxonomy {
        padding: 16px 10px 18px;
    }

    .taxonomy-top {
        padding-inline: 2px;
    }

    .taxonomy-top h2,
    .results-head h2 {
        font-size: 18px;
    }

    .all-products-link {
        min-height: 33px;
        padding-inline: 11px;
        font-size: 10px;
    }

    .category-groups {
        gap: 24px;
        padding-top: 20px;
    }

    .category-group-head {
        padding-inline: 2px;
    }

    .category-group-head h3 {
        font-size: 13px;
    }

    .category-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 18px 6px;
    }

    .category-name {
        min-height: 2.6em;
        display: -webkit-box;
        font-size: 10px;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .storefront-category-more-row {
        padding-right: 7px;
    }

    .catalog-results {
        gap: 15px;
        padding-top: 22px;
    }

    .results-head {
        align-items: end;
        padding-inline: 2px;
    }

    .results-meta {
        max-width: 48%;
        flex-wrap: wrap;
        gap: 5px 8px;
    }

    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 6px;
    }

    .product-title {
        font-size: 11px;
    }

    .product-empty {
        padding: 42px 15px;
    }

    .storefront-floating-actions {
        right: max(12px, env(safe-area-inset-right, 0px));
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        max-width: min(208px, calc(100vw - 24px));
    }

    .floating-action {
        min-width: 132px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-try-on-sheet {
        width: 100%;
        max-width: none;
        max-height: calc(100vh - 18px);
        margin: auto 0 0;
        border-radius: 22px 22px 0 0;
    }

    .home-try-on-panel {
        border-radius: 22px 22px 0 0;
    }

    .home-try-on-panel > header {
        padding: 17px 15px 13px;
    }

    .home-try-on-panel h2 {
        font-size: 18px;
    }

    .home-try-on-workspace {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: 8px;
        padding: 10px;
    }

    .home-model-column {
        gap: 7px;
        padding: 10px 7px;
        border-radius: 13px;
    }

    .home-model-placeholder {
        min-height: 181px;
    }

    .home-model-placeholder svg {
        width: 96px;
        height: 150px;
    }

    .home-model-column a,
    .home-model-column button {
        width: 100%;
        min-height: 36px;
        padding-inline: 6px;
        font-size: 9px;
    }

    .home-outfit-column {
        gap: 8px;
    }

    .home-outfit-slot {
        min-height: 142px;
        gap: 7px;
        padding: 8px;
        border-radius: 13px;
    }

    .home-outfit-slot strong {
        font-size: 12px;
    }

    .home-outfit-slot a {
        min-height: 31px;
        padding-inline: 9px;
        font-size: 9px;
    }

    .home-try-on-panel > footer {
        display: grid;
        justify-items: stretch;
        gap: 10px;
        padding: 12px 13px calc(14px + env(safe-area-inset-bottom));
    }

    .home-try-on-panel > footer a {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .storefront-hero,
    .storefront-hero-image {
        height: 326px;
    }

    .storefront-hero-nav-side-end button span,
    .storefront-hero-nav-side-end a {
        font-size: 12px;
    }

    .storefront-home-link ~ .storefront-search-open span {
        display: none;
    }

    .storefront-profile > img {
        width: 70px;
        height: 70px;
    }

    .storefront-profile h1 {
        font-size: 21px;
    }

    .catalog-category-body {
        grid-template-columns: 106px minmax(0, 1fr);
    }

    .catalog-category-groups button > small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-home *,
    .storefront-home *::before,
    .storefront-home *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

.storefront-shell.storefront-category-shell {
    padding-bottom: calc(136px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 760px) {
    .storefront-category-page .storefront-category-content {
        gap: 12px;
        padding-inline: 10px;
    }

    .category-product-tabs a {
        padding-top: 14px;
        padding-bottom: 12px;
        font-size: 14px;
    }

    .category-products-heading h1 {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Bottom clearance lets the full pagination row scroll above the quick actions. */
.storefront-category-page .pagination {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    padding-right: 0;
}

.storefront-category-page .pagination-link {
    min-width: 0;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .storefront-category-page .pagination {
        padding-right: 0;
    }

    .storefront-category-page .pagination-link {
        padding-inline: 10px;
    }
}

/* Compact home store-review entry, scheme B. */
.storefront-shop-review-entry.storefront-shop-review-entry-compact {
    min-height: 56px;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 112px);
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    color: #382545;
    background: #f5effa;
    border: 1px solid #e7dcee;
    border-radius: 11px;
}
.storefront-shop-review-entry-compact .storefront-review-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.storefront-shop-review-entry-compact .storefront-review-copy strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.storefront-shop-review-entry-compact .storefront-review-copy small {
    color: #86738f;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.storefront-shop-review-entry-compact .storefront-review-cta {
    min-width: 0;
    max-width: 112px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 6px;
    padding: 0 10px;
    color: #713ba0;
    background: #fff;
    border: 1px solid #eadff2;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(87, 55, 118, .02);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
}
.storefront-shop-review-entry-compact .storefront-review-cta > span { min-width: 0; }
.storefront-shop-review-entry-compact .storefront-review-cta svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
