@font-face {
    font-family: "Involve";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/involve-400.ttf) format("truetype");
}
@font-face {
    font-family: "Involve";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(/fonts/involve-500.ttf) format("truetype");
}
@font-face {
    font-family: "Involve";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/fonts/involve-600.ttf) format("truetype");
}
@font-face {
    font-family: "Involve";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/involve-700.ttf) format("truetype");
}

/* Sportoptika reference theme. Commerce state remains owned by Bagisto. */
:root {
    --gm-acid: #b5ff45;
    --gm-acid-soft: #e5ffa9;
    --gm-ink: #111;
    --gm-paper: #f7f7f7;
    --gm-muted: #929292;
    --gm-line: #d5d5d5;
    --gm-radius: 6px;
    --sp-gutter: clamp(16px, 2.6vw, 50px);
}
body,
#main.bg-white {
    background: var(--gm-paper) !important;
    color: #111;
}
body {
    font-family: "Involve", Arial, sans-serif;
    font-size: 16px;
}
h1,
h2,
h3,
.font-dmserif {
    font-family: inherit !important;
    letter-spacing: -0.025em;
}
button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}
button,
a {
    touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 2px solid #487d00;
    outline-offset: 4px;
}
input[type="checkbox"] {
    accent-color: #8ad52a;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.container {
    max-width: 1920px !important;
}
#main > .container {
    padding-inline: var(--sp-gutter);
}
.sp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gm-acid);
    border: 1px solid transparent;
    border-radius: 6px;
    color: #111;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s;
}
.sp-button:hover {
    background: #a5ed35;
}
.sp-button--soft {
    background: var(--gm-acid-soft);
}
.sp-button--soft:hover {
    background: #d3fa89;
}
.primary-button,
.secondary-button {
    border-radius: 6px !important;
    box-shadow: none !important;
}
.primary-button {
    background: var(--gm-acid) !important;
    color: #111 !important;
    border-color: transparent !important;
}
.sp-header {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 105px;
    margin: 0 var(--sp-gutter);
    border-bottom: 1px solid #777;
    position: relative;
    z-index: 30;
    background: var(--gm-paper);
}
.sp-logo {
    flex: none;
    display: block;
    width: 128px;
}
.sp-logo img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
.sp-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 460px;
    width: 28%;
    height: 46px;
    border: 1px solid #aaa;
    border-radius: 8px;
}
.sp-search > button {
    font-size: 24px;
    padding: 8px;
}
.sp-header .sp-search input[name="query"] {
    min-width: 0;
    width: 100%;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    min-height: 0;
    font-size: 16px !important;
    padding: 8px 35px 8px 0 !important;
    box-shadow: none;
}
.sp-header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2vw, 42px);
    margin-left: auto;
}
.sp-header__nav > a,
.sp-menu summary {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    font-size: 16px;
}
.sp-header__nav i {
    font-size: 25px;
    font-style: normal;
}
.sp-menu summary {
    cursor: pointer;
    list-style: none;
}
.sp-menu summary::-webkit-details-marker {
    display: none;
}
.sp-menu summary span {
    font-size: 26px;
}
.sp-menu nav {
    position: absolute;
    right: 0;
    top: 90px;
    width: 250px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 14px;
    box-shadow: 0 8px 24px #0001;
    display: grid;
    gap: 3px;
}
.sp-menu nav a {
    padding: 10px;
    border-radius: 4px;
}
.sp-menu nav a:hover {
    background: var(--gm-acid-soft);
}
.sp-hero {
    margin: 28px var(--sp-gutter) 36px;
    min-height: 300px;
    height: 25vw;
    max-height: 480px;
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    background: #86bada url("/images/storefront/catalog-hero.webp") no-repeat
        72% center;
    background-size: auto 100%;
    display: flex;
    align-items: center;
}
.sp-hero__copy {
    padding: 38px;
    position: relative;
    z-index: 1;
    width: 70%;
}
.sp-hero h1 {
    font-size: clamp(34px, 4.35vw, 84px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.045em;
    white-space: nowrap;
}
.sp-hero__copy > p {
    font-size: clamp(16px, 1.65vw, 32px);
    line-height: 1.4;
    margin-top: 8px;
}
.sp-hero__copy > .sp-button {
    margin-top: 40px;
    width: 380px;
    max-width: 80%;
    min-height: 54px;
    font-size: 16px;
}
.sp-hero__note {
    position: absolute;
    right: 2.2%;
    top: 13%;
    width: 210px;
    font-size: 16px;
    line-height: 1.3;
}
.sp-hero__note .sp-button {
    width: 100%;
    margin-top: 20px;
    min-height: 54px;
}
.sp-catalog {
    padding-inline: var(--sp-gutter) !important;
}
.sp-catalog__layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 26px;
}
.sp-catalog__results {
    flex: 1;
    min-width: 0;
}
.sp-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px 16px !important;
    margin-top: 24px !important;
    justify-items: stretch !important;
}
.gm-catalog-filters {
    width: 12.5%;
    min-width: 170px;
    flex: none;
    border-right: 1px solid #ddd;
    padding-right: 20px;
}
.gm-filter-panel {
    min-width: 0 !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.gm-filter-panel__header {
    gap: 6px;
    padding: 0 0 18px;
    font-size: 12px;
}
.gm-filter-panel__header > p:first-child {
    font-size: 16px;
}
.gm-filter-group {
    border-bottom: 1px solid #ddd !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 12px 0 !important;
}
.gm-filter-group__header {
    padding: 8px 0 !important;
    background: transparent !important;
}
.gm-filter-group__header p {
    font-size: 15px !important;
    font-weight: 500 !important;
}
.gm-filter-group__content {
    padding: 0 !important;
}
.gm-filter-group label,
.gm-filter-group li {
    font-size: 13px !important;
}
.gm-filter-group input:not([type="checkbox"]):not([type="range"]) {
    border-radius: 5px !important;
    padding: 7px !important;
    font-size: 13px !important;
}
.gm-filter-search__input {
    padding-left: 32px !important;
}
.gm-filter-group .icon-search {
    font-size: 19px;
    top: 7px !important;
    left: 7px !important;
}
.gm-filter-group [class*="text-2xl"] {
    font-size: 19px;
}
.sp-catalog__results > div.max-md\:hidden button {
    padding: 8px 14px;
    border-color: #aaa;
    border-radius: 6px;
    background: transparent;
    font-size: 14px;
}
.sp-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    position: relative;
}
.sp-card__image {
    aspect-ratio: 380/485;
    background: #fff;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.sp-card__image > a {
    display: block;
    width: 100%;
    height: 100%;
}
.sp-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.2s;
}
.sp-card__image > a:hover img {
    transform: scale(1.035);
}
.sp-card__tools {
    position: absolute;
    top: 16px;
    right: 14px;
    display: flex;
    gap: 10px;
}
.sp-card__tools button {
    font-size: 24px;
    min-width: 24px;
    min-height: 28px;
    background: transparent;
}
.sp-badge {
    position: absolute;
    top: 16px;
    left: 14px;
    background: #111;
    color: white;
    font-size: 12px;
    line-height: 1.5;
    padding: 2px 7px;
    border-radius: 3px;
}
.sp-badge--sale {
    background: #ff8500;
}
.sp-card__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    line-height: 1.25;
    margin-top: 5px;
}
.sp-card__summary > a {
    max-width: 65%;
    font-weight: 500;
}
.sp-card__price {
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
}
.sp-card__price * {
    font-size: inherit !important;
}
.sp-card__price .line-through {
    font-size: 12px !important;
    color: #999;
}
.sp-card__rating {
    font-size: 12px;
    color: #999;
    line-height: 1.3;
}
.sp-star {
    color: #ffc400;
    font-size: 16px;
}
.sp-card > .sp-button {
    width: 100%;
    min-height: 44px;
    margin-top: auto;
}
.sp-card .gm-try-on-card {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: var(--gm-acid-soft) !important;
    border: 0 !important;
    border-radius: 6px !important;
    min-height: 44px !important;
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #111 !important;
    margin: 0 !important;
}
.sp-card .gm-try-on-card:hover {
    background: #d4fa95 !important;
}
.sp-card .gm-try-on-card__label {
    font-size: 14px !important;
}
.sp-card .gm-try-on-card__icon {
    background: none !important;
    color: #111 !important;
}
.sp-card .gm-try-on-card__hint {
    display: none;
}
.sp-product-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px !important;
    margin-top: 24px !important;
    align-items: start;
}
.sp-product-details {
    max-width: none !important;
    width: 100%;
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
.sp-product-details h1 {
    font-size: clamp(22px, 1.8vw, 36px);
    line-height: 1.2;
    font-weight: 500;
}
.sp-product-details > .sp-product-price {
    font-size: 36px;
    margin: 10px 0 22px;
    font-weight: 600 !important;
}
.sp-product-details [class*="rounded-full"] {
    border: 0;
    background: transparent;
}
.sp-product-gallery {
    position: static !important;
    gap: 16px !important;
    min-width: 0;
    width: 100%;
}
.sp-product-gallery > div:first-child {
    min-width: 0;
    max-width: 15%;
    flex: 0 0 15%;
}
.sp-product-gallery > div:not(:first-child) {
    height: auto !important;
    max-width: none !important;
    width: 100% !important;
    aspect-ratio: 1/1.03;
    background: #fff;
    border-radius: 6px;
    flex: 1;
    min-width: 0;
}
.sp-product-gallery img {
    object-fit: contain !important;
    border-radius: 5px !important;
    background: #fff;
}
.sp-product-gallery > div:first-child img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    max-height: 180px;
}
.sp-spec-summary {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-top: 18px;
    padding: 16px 0;
    font-size: 14px;
}
.sp-spec-summary h2 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 14px;
}
.sp-spec-summary dl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.sp-spec-summary dl > div {
    display: flex;
    gap: 8px;
}
.sp-spec-summary dt {
    color: #999;
}
.sp-spec-summary > a {
    display: inline-block;
    color: #888;
    text-decoration: underline;
    margin-top: 14px;
}
.sp-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    align-items: stretch;
}
.sp-product-actions > .secondary-button {
    background: var(--gm-acid) !important;
    border: 0 !important;
    border-radius: 6px !important;
    flex: 1;
    min-width: 160px;
    width: auto !important;
    min-height: 48px;
    font-size: 14px;
    padding: 10px !important;
}
.sp-product-actions > .sp-button {
    flex: 1;
    min-width: 160px;
}
.sp-product-actions > .gm-try-on-launcher {
    flex: 1;
    min-width: 160px;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gm-acid-soft);
    border: 0;
    border-radius: 6px;
    padding: 10px;
    min-height: 48px;
}
.gm-try-on-launcher__icon {
    background: none !important;
    color: #111 !important;
    font-size: 20px;
}
.gm-try-on-launcher__copy strong {
    font-size: 14px;
    font-weight: 400;
}
.gm-try-on-launcher__eyebrow,
.gm-try-on-launcher__copy small,
.gm-try-on-launcher__arrow {
    display: none;
}
.sp-product-tabs {
    margin: 64px var(--sp-gutter) 0 !important;
}
.sp-product-tabs .container {
    margin-top: 32px !important;
}
.sp-product-tabs .bg-zinc-100 {
    background: transparent;
    gap: 16px;
    justify-content: flex-start !important;
}
.sp-product-tabs [id$="-button"] {
    background: #ececec;
    border-radius: 5px;
    font-size: 14px;
    padding: 12px 24px;
    border: 0;
}
.sp-product-tabs [id$="-button"].border-navyBlue {
    background: var(--gm-acid);
}
.sp-product-tabs [id$="-tab"] {
    scroll-margin-top: 30px;
}
.sp-product-tabs p.text-lg {
    font-size: 16px;
    line-height: 1.5;
    color: #222;
}
.sp-carousel {
    padding-inline: var(--sp-gutter);
    margin-top: 70px;
}
.sp-carousel h2 {
    font-size: 28px;
    font-weight: 500;
}
.sp-carousel [ref="swiperContainer"] {
    gap: 16px;
}
.sp-carousel .sp-card {
    min-width: calc((100vw - 2 * var(--sp-gutter) - 64px) / 4.6) !important;
    max-width: 400px;
    white-space: normal;
}
.sp-carousel .sp-card__image {
    aspect-ratio: 380/485;
}
.sp-footer {
    margin-top: 100px;
    padding: 42px var(--sp-gutter) 30px;
    background: #efefef;
}
.sp-footer__grid {
    display: grid;
    grid-template-columns: 2fr 0.7fr 0.9fr auto;
    gap: 50px;
}
.sp-footer h2 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.06;
    margin-bottom: 18px;
}
.sp-footer__consult > p {
    font-size: 14px;
    line-height: 1.3;
}
.sp-footer form {
    max-width: 455px;
    margin-top: 36px;
}
.sp-footer input[type="tel"],
.sp-consultation input:not([type="checkbox"]):not([type="hidden"]) {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #666;
    background: transparent;
    border-radius: 0;
    padding: 12px 0;
    font-size: 16px;
    outline-offset: 4px;
}
.sp-footer form > .sp-button {
    width: 100%;
    margin-top: 16px;
    min-height: 54px;
}
.sp-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.3;
    color: #999;
    margin-top: 16px;
}
.sp-consent input {
    margin-top: 1px;
    flex: none;
    width: 16px;
    height: 16px;
}
.sp-consent a {
    color: #111;
}
.sp-footer nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 14px;
}
.sp-footer h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
}
.sp-footer__legal {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 44px;
    font-size: 12px;
    color: #999;
}
.sp-consultation {
    position: fixed;
    inset: 0;
    margin: auto;
    width: 582px;
    max-width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    background: #f7f7f7;
    padding: 64px;
    border: 0;
    border-radius: 8px;
    color: #111;
}
.sp-consultation::backdrop {
    background: #0009;
}
.sp-consultation__close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    padding: 4px;
}
.sp-consultation h2 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 20px;
}
.sp-consultation > p {
    text-align: center;
    font-size: 16px;
    line-height: 1.35;
    margin: 0 -5px;
}
.sp-consultation form {
    margin-top: 44px;
}
.sp-consultation input:not([type="checkbox"]):not([type="hidden"]) {
    margin-top: 20px;
}
.sp-consultation form > .sp-button {
    width: 100%;
    margin-top: 34px;
    min-height: 54px;
    font-size: 16px;
}
.sp-consultation .sp-consent {
    font-size: 14px;
}
.sp-form-status {
    font-size: 14px;
    margin-top: 14px;
    line-height: 1.4;
}
.sp-form-status:empty {
    display: none;
}
.sp-modal-open {
    overflow: hidden;
}
@media (min-width: 1180px) {
    .sp-product-layout > .sp-product-details {
        padding: 0 !important;
    }
    .sp-product-layout > div:has(.sp-product-gallery) {
        min-width: 0;
    }
}
@media (max-width: 1400px) {
    .sp-header {
        gap: 20px;
        min-height: 86px;
    }
    .sp-logo {
        width: 100px;
    }
    .sp-header__nav {
        gap: 22px;
    }
    .sp-header__nav > a,
    .sp-menu summary {
        font-size: 13px;
        gap: 6px;
    }
    .sp-search {
        height: 38px;
    }
    .sp-header .sp-search input[name="query"] {
        font-size: 13px !important;
    }
    .sp-hero__copy {
        padding: 26px;
    }
    .sp-hero__note {
        width: 170px;
        font-size: 13px;
    }
    .sp-card__summary {
        font-size: 12px;
        gap: 6px;
    }
    .sp-card__price {
        font-size: 16px;
    }
    .sp-card > .sp-button,
    .sp-card .gm-try-on-card {
        font-size: 12px !important;
        min-height: 38px !important;
        padding: 8px !important;
        gap: 8px;
    }
    .sp-footer h2 {
        font-size: 26px;
    }
    .sp-product-details h1 {
        font-size: 26px;
    }
    .sp-consultation h2 {
        font-size: 30px;
    }
}
@media (max-width: 1179px) {
    .sp-header__nav > a > span {
        display: none;
    }
    .sp-header__nav > a {
        min-height: 40px;
        min-width: 28px;
        justify-content: center;
    }
    .sp-search {
        width: 40%;
    }
    .sp-hero {
        min-height: 280px;
    }
    .sp-hero__copy {
        width: 80%;
    }
    .sp-hero__note {
        display: none;
    }
    .sp-hero h1 {
        font-size: 5vw;
    }
    .sp-hero__copy > p {
        max-width: 65%;
        font-size: 18px;
    }
    .sp-hero__copy > .sp-button {
        margin-top: 28px;
        width: 300px;
        min-height: 46px;
    }
    .sp-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .sp-product-layout {
        grid-template-columns: 1fr !important;
        padding-inline: var(--sp-gutter);
    }
    .sp-product-layout > div {
        max-width: 100%;
    }
    .sp-product-details {
        padding: 0 !important;
    }
    .sp-footer__grid {
        gap: 28px;
        grid-template-columns: 1.7fr 0.7fr 1fr;
    }
    .sp-footer__grid > .sp-logo {
        display: none;
    }
    .sp-carousel .sp-card {
        min-width: 29vw !important;
    }
}
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    .sp-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0 14px;
        min-height: 0;
    }
    .sp-logo {
        width: 88px;
    }
    .sp-header__nav {
        gap: 14px;
    }
    .sp-header__nav i {
        font-size: 23px;
    }
    .sp-menu summary {
        font-size: 0;
        gap: 0;
    }
    .sp-menu nav {
        top: 65px;
    }
    .sp-search {
        order: 3;
        width: 100%;
        max-width: none;
        height: 40px;
    }
    .sp-hero {
        margin-top: 16px;
        margin-bottom: 24px;
        height: 330px;
        min-height: 0;
        background-position: 75% center;
        background-size: auto 100%;
        align-items: flex-end;
    }
    .sp-hero:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            0deg,
            #a2cce9 0%,
            #a2cce9ed 20%,
            #a2cce900 85%
        );
    }
    .sp-hero__copy {
        padding: 22px;
        width: 100%;
    }
    .sp-hero h1 {
        font-size: clamp(24px, 6.1vw, 40px);
        white-space: normal;
        max-width: 80%;
    }
    .sp-hero__copy > p {
        max-width: 85%;
        font-size: 14px;
        margin-top: 8px;
    }
    .sp-hero__copy > .sp-button {
        max-width: 100%;
        width: 260px;
        margin-top: 18px;
        font-size: 13px;
        min-height: 42px;
    }
    .sp-catalog__layout {
        margin-top: 16px;
        gap: 0;
    }
    .sp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 12px !important;
        margin-top: 12px !important;
    }
    .sp-card {
        gap: 6px;
    }
    .sp-card__image {
        aspect-ratio: 3/4;
    }
    .sp-card__image img {
        padding: 8px;
    }
    .sp-card__tools {
        top: 8px;
        right: 8px;
        gap: 6px;
    }
    .sp-card__tools button {
        font-size: 20px;
    }
    .sp-badge {
        top: 10px;
        left: 8px;
        font-size: 10px;
        padding: 2px 4px;
    }
    .sp-card__summary {
        display: block;
        font-size: 12px;
        line-height: 1.3;
        min-height: 55px;
    }
    .sp-card__summary > a {
        display: block;
        max-width: 100%;
    }
    .sp-card__price {
        font-size: 15px;
        margin-top: 5px;
    }
    .sp-card > .sp-button,
    .sp-card .gm-try-on-card {
        font-size: 11px !important;
        min-height: 40px !important;
        padding: 8px 4px !important;
    }
    .sp-card__rating {
        font-size: 11px;
    }
    .sp-product-layout {
        margin-top: 16px !important;
    }
    .sp-product-details h1 {
        font-size: 23px;
    }
    .sp-product-actions {
        gap: 8px;
        margin-top: 20px;
    }
    .sp-product-actions > .sp-button,
    .sp-product-actions > .gm-try-on-launcher {
        font-size: 12px;
        min-width: 130px;
    }
    .sp-spec-summary dl {
        font-size: 12px;
    }
    .sp-carousel {
        margin-top: 44px;
    }
    .sp-carousel h2 {
        font-size: 22px;
    }
    .sp-carousel .sp-card {
        min-width: 43vw !important;
    }
    .sp-footer {
        margin-top: 50px;
        padding: 30px 16px 90px;
    }
    .sp-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 18px;
    }
    .sp-footer__consult {
        grid-column: 1/-1;
    }
    .sp-footer h2 {
        font-size: 26px;
    }
    .sp-footer form {
        max-width: 100%;
        margin-top: 25px;
    }
    .sp-footer__consult > p {
        font-size: 13px;
    }
    .sp-footer__legal {
        display: grid;
        grid-template-columns: 1fr 1fr;
        font-size: 10px;
        gap: 18px;
        margin-top: 35px;
    }
    .sp-consultation {
        padding: 52px 24px 32px;
    }
    .sp-consultation h2 {
        font-size: 24px;
        white-space: normal;
    }
    .sp-consultation > p {
        font-size: 14px;
    }
    .sp-consultation > p br {
        display: none;
    }
    .sp-consultation form {
        margin-top: 26px;
    }
    .sp-consultation .sp-consent {
        font-size: 12px;
    }
    .sp-product-tabs {
        margin: 34px 16px 0 !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important;
    }
}
.sp-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.sp-filter-chips button {
    background: #ececec;
    padding: 3px 10px;
    font-size: 13px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sp-filter-chips button span {
    font-size: 20px;
    line-height: 1;
}
.sp-filter-chips .sp-filter-reset {
    background: transparent;
    text-decoration: underline;
    margin-left: auto;
}
.sp-try-promo {
    grid-column: span 2;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background: #85898a url("/images/storefront/try-on.webp") no-repeat right
        bottom;
    background-size: auto 83%;
    color: white;
    padding: 20px 24px;
    min-height: 430px;
}
.sp-try-promo h2 {
    font-size: clamp(40px, 5.5vw, 108px);
    font-weight: 600;
    line-height: 0.98;
    position: relative;
    letter-spacing: -0.045em;
}
.sp-try-promo h2 span {
    color: var(--gm-acid);
}
.sp-try-promo p {
    font-size: 14px;
    margin-top: 18px;
}
.sp-try-promo .sp-button {
    margin-top: 32px;
    width: 45%;
    position: relative;
}
.sp-try-promo small {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 33%;
    font-size: 12px;
    line-height: 1.3;
}
.sp-load-error {
    padding: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.sp-load-error button {
    text-decoration: underline;
}
.sp-reviews__layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.sp-reviews__summary {
    display: flex;
    align-items: center;
    gap: 30px;
}
.sp-reviews__summary .text-5xl {
    font-size: 90px;
    line-height: 1;
}
.sp-reviews__summary .h-4 {
    height: 5px;
}
.sp-reviews__summary .bg-amber-500 {
    background: var(--gm-acid);
}
.sp-review {
    border: 0;
    border-radius: 0;
    padding: 18px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    position: relative;
}
.sp-review > div:first-child {
    grid-column: 1;
    gap: 15px;
    align-items: center;
}
.sp-review > div:first-child > img,
.sp-review > div:first-child > div:first-child {
    min-height: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    border-radius: 50%;
}
.sp-review .text-xl {
    font-size: 14px;
}
.sp-review .text-3xl {
    font-size: 18px;
}
.sp-review > div:nth-child(2) {
    display: contents;
}
.sp-review > div:nth-child(2) > p {
    grid-column: 1;
    font-size: 14px;
    margin-top: 12px;
}
.sp-review > div:nth-child(2) > div {
    grid-column: 2;
    grid-row: 1/5;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}
.sp-review > div:nth-child(2) > div > div {
    width: 25%;
    height: auto;
    aspect-ratio: 1;
    background: white;
    border-radius: 5px;
    overflow: hidden;
}
.sp-review > div:nth-child(2) > div img,
.sp-review > div:nth-child(2) > div video {
    width: 100%;
    height: 100%;
    max-height: none;
    min-width: 0;
    object-fit: contain;
    border-radius: 5px;
}
.sp-reviews__empty {
    height: 140px !important;
    color: #999;
}
.sp-reviews__empty > img {
    display: none;
}
.sp-reviews__empty > p {
    font-size: 28px;
}
.sp-reviews h3 {
    display: none;
}
@media (max-width: 1179px) {
    .sp-try-promo {
        min-height: 380px;
    }
    .sp-try-promo h2 {
        font-size: 6vw;
    }
}
@media (max-width: 767px) {
    .sp-try-promo {
        min-height: 370px;
        padding: 20px;
        grid-column: span 2;
    }
    .sp-try-promo h2 {
        font-size: 52px;
    }
    .sp-try-promo p {
        font-size: 12px;
    }
    .sp-try-promo .sp-button {
        font-size: 12px;
        width: 52%;
        margin-top: 24px;
    }
    .sp-try-promo small {
        font-size: 10px;
        left: 20px;
        bottom: 20px;
        width: 40%;
    }
    .sp-reviews__summary {
        flex-wrap: wrap;
        gap: 16px;
    }
    .sp-reviews__summary .text-5xl {
        font-size: 64px;
    }
    .sp-review.max-md\:hidden {
        display: none;
    }
    .sp-filter-chips {
        gap: 5px;
    }
    .sp-filter-chips button {
        font-size: 11px;
    }
}
.gm-filter-group .gm-filter-option {
    gap: 5px;
}
.gm-filter-option__label {
    padding: 3px 0 !important;
    font-size: 13px !important;
    gap: 5px !important;
    line-height: 1.3;
}
.gm-filter-option__check {
    font-size: 18px !important;
    flex-shrink: 0;
}
.gm-filter-option__label img {
    width: 16px;
    height: 16px;
}
.gm-filter-option__label > span.rounded-full {
    width: 12px;
    height: 12px;
}
.sp-show-options {
    font-size: 12px;
    text-decoration: underline;
    color: #888;
    margin: 5px 0;
}
.gm-range-slider > div:first-child {
    display: block !important;
    font-size: 12px;
}
.gm-range-slider > div:first-child > span:first-child {
    display: none;
}
.gm-range-slider > div:first-child > span {
    white-space: normal !important;
}
.gm-range-slider__progress {
    background: var(--gm-acid) !important;
}
.gm-price-range [type="range"]::-webkit-slider-thumb {
    background: var(--gm-acid) !important;
    box-shadow: none !important;
    width: 14px !important;
    height: 14px !important;
}
.gm-price-range [type="range"]::-moz-range-thumb {
    background: var(--gm-acid) !important;
    box-shadow: none !important;
}
.sp-product-details .sp-product-actions > .secondary-button {
    color: #111 !important;
    font-weight: 400;
}
.sp-product-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sp-product-actions > div:first-child {
    grid-column: 1/-1;
    justify-self: start;
    border-radius: 5px;
    padding: 6px 12px !important;
    min-height: 36px;
    gap: 14px;
}
.sp-product-actions > .secondary-button,
.sp-product-actions > .gm-try-on-launcher,
.sp-product-actions > .sp-button {
    min-width: 0;
    min-height: 48px !important;
    margin: 0 !important;
    width: 100% !important;
}
.sp-product-actions .gm-try-on-launcher__copy strong {
    white-space: nowrap;
}
.sp-product-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
    padding: 18px 0;
}
.sp-product-services a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-product-services span {
    font-size: 20px;
}
.sp-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sp-description__text {
    font-size: 15px;
    line-height: 1.5;
    padding-right: 24px;
}
.sp-description__text h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 24px;
}
.sp-description__text p + p {
    margin-top: 12px;
}
.sp-description__feature {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 22px;
    padding: 16px;
    background: white;
    border-radius: 6px;
}
.sp-description__feature img {
    width: 100%;
    aspect-ratio: 1.3;
    object-fit: contain;
    background: #eaf0ff;
    border-radius: 5px;
}
.sp-description__feature dl {
    display: grid;
    gap: 24px;
    font-size: 14px;
}
.sp-description__feature dd {
    color: #888;
    margin-top: 5px;
}
.sp-description__image {
    background: white;
    border-radius: 6px;
    overflow: hidden;
}
.sp-description__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sp-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.sp-card__price .line-through {
    order: 1;
}
.sp-product-details .price-label {
    display: none;
}
@media (max-width: 767px) {
    .sp-description {
        grid-template-columns: 1fr;
    }
    .sp-description__text {
        padding: 0;
    }
    .sp-description__feature {
        gap: 12px;
    }
    .sp-product-services {
        font-size: 12px;
    }
    .sp-product-actions {
        grid-template-columns: 1fr 1fr;
    }
    .sp-product-actions > .sp-button {
        grid-column: 1/-1;
    }
}
.sp-hero {
    background-position: right center;
}
.sp-hero__note {
    top: 24.4%;
    right: 2.2%;
    width: 11.7%;
    min-width: 0;
}
.sp-hero__note .sp-button {
    margin: 0;
    min-height: 0;
    height: clamp(34px, 2.82vw, 54px);
    padding: 6px;
    font-size: clamp(10px, 0.84vw, 16px);
}
.sp-mobile-gallery-width {
    width: 100%;
    max-width: 100%;
}
.sp-product-layout .sp-mobile-gallery-width {
    aspect-ratio: 1/1.03;
    background: #fff;
}
.sp-mobile-gallery-width [ref="slide"] {
    flex: none;
}
.sp-product-layout .sp-mobile-gallery-width img {
    object-fit: contain !important;
    aspect-ratio: 1/1.03;
}
.sp-product-layout [ref="sliderContainer"] {
    width: 100%;
}
.sp-product-layout [ref="slide"] {
    min-width: 100%;
}
.gm-price-range > div:first-child {
    display: block;
}
.gm-price-range > div:first-child > p:first-child {
    display: none;
}
.gm-price-range > div:first-child > p {
    font-size: 12px;
    font-weight: 400;
    white-space: normal;
}
.gm-price-range > div:nth-child(2) {
    height: 45px;
    padding: 6px;
}
.sp-header .sp-search input[name="query"] {
    font-family: inherit;
}
@media (max-width: 767px) {
    .sp-hero {
        background-position: center top;
        background-size: auto 100%;
    }
    .sp-hero__note {
        display: none;
    }
    .sp-product-details > .sp-product-price {
        font-size: 28px;
    }
    .sp-product-details > .sp-product-price .line-through {
        font-size: 20px;
    }
}
.sp-icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sp-hero {
    background-image:
        linear-gradient(90deg, #86bada 0%, #86bada 40%, transparent 57%),
        url("/images/storefront/catalog-hero.webp");
    background-size:
        100% 100%,
        auto 100%;
    background-position:
        center,
        right center;
}
.sp-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}
.sp-toolbar > button {
    border: 1px solid #999;
    border-radius: 6px;
    padding: 8px 24px;
    min-width: 190px;
}
.sp-catalog__layout {
    position: relative;
}
.sp-category-title {
    margin: 32px var(--sp-gutter) 0;
    font-size: 24px;
    font-weight: 500;
}
.sp-mobile-slider {
    width: 100%;
}
.sp-mobile-slide {
    min-width: 100%;
    flex: 0 0 100%;
}
@media (min-width: 768px) {
    .sp-catalog__results > div.max-md\:hidden {
        position: absolute;
        right: 0;
        top: -68px;
    }
    .sp-catalog__layout {
        margin-top: 64px;
    }
    .sp-catalog .sp-product-grid {
        margin-top: 0 !important;
    }
    .sp-filter-chips {
        margin-top: 0;
        margin-bottom: 18px;
    }
    .gm-filter-panel__header {
        display: none;
    }
}
@media (max-width: 767px) {
    .sp-hero {
        background-image: url("/images/storefront/catalog-hero-mobile.webp");
        background-size: auto 100%;
        background-position: center top;
    }
    .sp-toolbar.max-md\:hidden {
        display: none;
    }
    .sp-category-title {
        font-size: 18px;
    }
    .sp-catalog__layout {
        margin-top: 20px;
    }
}
.gm-filter-group input.gm-filter-search__input {
    padding-left: 32px !important;
}
.sp-price-inputs {
    display: flex;
    gap: 7px;
}
.sp-price-inputs input {
    width: 50%;
    min-width: 0;
    border: 1px solid #bbb;
    background: transparent;
    font-size: 12px !important;
    padding: 6px !important;
    border-radius: 4px;
}
.sp-price-inputs input::-webkit-inner-spin-button {
    appearance: none;
}
.sp-price-inputs input {
    appearance: textfield;
}
.sp-menu summary .sp-account__label {
    font-size: inherit;
}
.sp-account nav {
    right: 80px;
}
.sp-mobile-account-link {
    display: none;
}
.sp-account nav form > button {
    padding: 10px;
    width: 100%;
    text-align: left;
}
.sp-account nav form > button:hover {
    background: var(--gm-acid-soft);
}
@media (max-width: 1179px) {
    .sp-account__label {
        display: none;
    }
    .sp-account summary {
        min-width: 28px;
        min-height: 40px;
        justify-content: center;
    }
}
.sp-header-cart {
    display: flex;
    align-items: center;
    gap: 9px;
}
.sp-header-cart__label {
    font-size: 16px;
}
.sp-header-cart .gm-mini-cart-toggle {
    display: flex;
    align-items: center;
}
.sp-header-cart .icon-cart {
    font-size: 25px;
}
.sp-header-cart .gm-mini-cart-toggle__badge {
    background: var(--gm-acid) !important;
    color: #111 !important;
    font-size: 10px;
    padding: 3px 5px;
    top: -8px;
}
@media (max-width: 1400px) {
    .sp-header-cart__label {
        font-size: 13px;
    }
}
@media (max-width: 1179px) {
    .sp-header-cart__label {
        display: none;
    }
}

/* Mobile layouts from the supplied storefront screens. */
.sp-search-toggle,
.sp-mobile-sort {
    display: none;
}
.sp-sheet {
    border: 0;
    padding: 0;
    color: #111;
    background: #f7f7f7;
}
.sp-sheet::backdrop {
    background: #0009;
}
.sp-sheet__header {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
}
.sp-sheet__header h2 {
    font-size: 18px;
    font-weight: 600;
}
.sp-sheet__header > button:first-child {
    font-size: 26px;
}
.sp-sheet__reset {
    color: #777;
    text-decoration: underline;
    font-size: 16px;
}
.sp-sheet__body {
    padding: 0 16px;
    overflow-y: auto;
    min-height: 0;
}
.sp-sheet__footer {
    padding: 20px 16px max(16px, env(safe-area-inset-bottom));
}
.sp-sheet__footer > button {
    width: 100%;
    border: 1px solid #111;
    border-radius: 8px;
    min-height: 44px;
    font-size: 16px;
}
.sp-sort-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 16px;
}
.sp-sort-option input {
    accent-color: #111;
    width: 18px;
    height: 18px;
}
@media (max-width: 767px) {
    .sp-header {
        display: grid;
        grid-template-columns: 44px 44px 1fr 44px 44px;
        height: 74px;
        min-height: 74px;
        margin: 0;
        padding: 0 12px;
        gap: 4px;
        border: 0;
        z-index: 50;
    }
    .sp-header__nav {
        display: contents;
    }
    .sp-header__nav > a:not(.sp-header-cart) {
        display: none;
    }
    .sp-mobile-account-link {
        display: block;
    }
    .sp-header .sp-logo {
        grid-column: 3;
        grid-row: 1;
        width: 96px;
        justify-self: center;
    }
    .sp-main-menu {
        grid-column: 1;
        grid-row: 1;
    }
    .sp-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 2;
        grid-row: 1;
        height: 44px;
        font-size: 25px;
    }
    .sp-header-cart {
        grid-column: 4;
        grid-row: 1;
        justify-content: center;
    }
    .sp-account {
        grid-column: 5;
        grid-row: 1;
    }
    .sp-menu summary {
        height: 44px;
        justify-content: center;
    }
    .sp-menu nav {
        top: 74px;
        left: 16px;
        right: 16px;
        width: auto;
    }
    .sp-header .sp-search {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        width: auto;
        height: 60px;
        margin: 0;
        padding: 8px 16px;
        border: 0;
        background: #f7f7f7;
        border-radius: 0;
    }
    .sp-header.sp-search-open .sp-search {
        display: flex;
    }
    .sp-search-open .sp-search::before {
        content: "";
        position: absolute;
        inset: 0 16px 8px;
        border: 1px solid #999;
        border-radius: 8px;
        pointer-events: none;
    }
    .sp-search-backdrop {
        position: fixed;
        inset: 74px 0 0;
        background: #0009;
        z-index: 40;
    }
    .sp-hero {
        margin: 0 0 34px !important;
        width: 100%;
        height: 330px;
        border-radius: 0;
        background-position: right center;
        background-size: auto 100%;
    }
    .sp-hero::before {
        display: none;
    }
    .sp-hero__copy {
        position: absolute;
        inset: 0;
        padding: 14px 16px;
        width: 100%;
    }
    .sp-hero h1 {
        font-size: clamp(37px, 13.2vw, 64px);
        line-height: 1.1;
        letter-spacing: -0.04em;
        max-width: 100%;
        margin: 0;
    }
    .sp-hero__copy > p {
        width: 49%;
        max-width: 190px;
        font-size: 16px;
        line-height: 1.2;
        margin-top: 8px;
    }
    .sp-hero__copy > .sp-button {
        position: absolute;
        bottom: 16px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        min-height: 46px;
        font-size: 16px;
        margin: 0;
    }
    .sp-mobile-controls {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 8px 0 18px;
    }
    .sp-mobile-control {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid #aaa;
        border-radius: 6px;
        font-size: 28px;
    }
    .sp-mobile-sort {
        display: block;
    }
    .sp-sheet[open] {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 90px);
        margin: 90px 0 0;
        border-radius: 8px 8px 0 0;
    }
    .sp-filter-sheet {
        height: calc(100dvh - 90px);
    }
    .sp-sort-sheet[open] {
        margin-top: auto;
        margin-bottom: 0;
        background: #fff;
    }
    .sp-sheet::backdrop {
        top: 74px;
    }
    .sp-filter-panel--mobile {
        display: block;
        width: 100%;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0;
        border: 0;
    }
    .sp-filter-panel--mobile .gm-filter-group {
        border: 0;
        padding: 0;
    }
    .sp-filter-panel--mobile .gm-filter-group__header {
        display: none;
    }
    .sp-filter-panel--mobile .gm-price-filter::before {
        content: "Цена";
        display: block;
        font-size: 16px;
        margin-bottom: 16px;
    }
    .sp-filter-panel--mobile .gm-price-range > div:first-child > p {
        font-size: 16px;
    }
    .sp-filter-panel--mobile .sp-price-inputs {
        margin: 14px 0 16px;
    }
    .sp-filter-panel--mobile .sp-price-inputs input {
        height: 36px;
        font-size: 16px;
    }
    .sp-filter-categories {
        display: grid;
    }
    .sp-filter-categories button {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #ccc;
        min-height: 45px;
        font-size: 16px;
        text-align: left;
    }
    .sp-filter-categories button > span:last-child {
        font-size: 26px;
    }
    .sp-filter-panel--mobile .gm-filter-option {
        position: relative;
        min-height: 32px;
        margin-bottom: 0;
        padding-right: 28px !important;
        font-size: 16px;
    }
    .sp-filter-panel--mobile .gm-filter-option > input {
        position: absolute;
        right: 0;
        opacity: 1;
        width: 18px;
        height: 18px;
        accent-color: #111;
        appearance: auto;
    }
    .sp-filter-panel--mobile .gm-filter-option > label {
        padding: 0;
        width: 100%;
        font-size: 16px;
    }
    .sp-filter-panel--mobile .gm-filter-option > label[class*="icon-"] {
        display: none;
    }
    .sp-filter-panel--mobile .gm-filter-search__input {
        height: 44px;
        border-radius: 8px;
        font-size: 16px !important;
        margin-bottom: 16px;
    }
    .sp-product-grid {
        gap: 16px 8px !important;
        margin-top: 0 !important;
    }
    .sp-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px 4px;
    }
    .sp-card__image,
    .sp-card__summary,
    .sp-card__rating {
        grid-column: 1/-1;
    }
    .sp-card__image {
        aspect-ratio: 0.79;
    }
    .sp-card__summary {
        min-height: 0;
        font-size: 14px;
    }
    .sp-card__price {
        font-size: 16px;
        margin-top: 6px;
    }
    .sp-card__rating {
        font-size: 12px;
    }
    .sp-card > .sp-button,
    .sp-card .gm-try-on-card {
        font-size: 0 !important;
        min-height: 44px !important;
        margin: 0 !important;
        width: 100%;
    }
    .sp-card > .sp-button .icon-cart {
        font-size: 24px;
    }
    .sp-card .gm-try-on-card__label {
        display: none;
    }
    .sp-card .gm-try-on-card__icon {
        width: 24px;
        height: 24px;
    }
    .sp-try-promo {
        grid-column: 1/-1;
        min-height: 310px;
    }
    .sp-product-layout {
        margin: 0 16px !important;
        width: auto !important;
        gap: 14px !important;
    }
    .sp-product-details {
        padding: 0 !important;
    }
    .sp-product-details h1 {
        font-size: 18px;
        line-height: 1.2;
    }
    .sp-product-layout .sp-mobile-gallery-width {
        aspect-ratio: auto;
        background: transparent;
    }
    .sp-product-layout .sp-mobile-slide,
    .sp-product-layout .sp-mobile-slide img {
        aspect-ratio: 0.775;
        background: white;
        border-radius: 7px;
    }
    .sp-spec-summary dl {
        display: grid;
        gap: 6px;
        font-size: 14px;
    }
    .sp-spec-summary h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .sp-product-services {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 24px;
        padding: 16px 0;
        font-size: 14px;
        scrollbar-width: none;
    }
    .sp-product-services > * {
        flex: none;
        white-space: nowrap;
    }
    .sp-product-actions {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .sp-product-actions > .secondary-button,
    .sp-product-actions > .sp-button,
    .sp-product-actions > .gm-try-on-launcher {
        width: 100% !important;
        min-height: 46px;
        flex: auto;
        font-size: 14px;
    }
    .sp-product-tabs {
        margin: 56px 16px 0 !important;
    }
    .sp-product-tabs [id$="-button"] {
        padding: 9px 12px;
        font-size: 12px;
        white-space: nowrap;
        flex: 1;
        text-align: center;
    }
    .sp-product-tabs .bg-zinc-100 {
        gap: 8px;
    }
    .sp-product-tabs [id$="-tab"] {
        margin-top: 26px !important;
    }
    .sp-product-tabs .container {
        padding: 0 !important;
        margin-top: 0;
    }
    #information-tab .grid-cols-\[auto_1fr\] {
        grid-template-columns: 44% 1fr;
        gap: 8px 12px;
    }
    #information-tab p {
        font-size: 14px;
        line-height: 1.3;
    }
    #information-tab .text-black {
        color: #999;
    }
    #information-tab .text-zinc-500 {
        color: #111;
    }
    .sp-description__feature {
        display: flex;
        flex-direction: column;
        padding: 12px;
    }
    .sp-description__feature img {
        width: 100%;
    }
    .sp-description__feature dl {
        width: 100%;
    }
    .sp-carousel .sp-card {
        min-width: calc((100vw - 40px) / 2) !important;
        width: calc((100vw - 40px) / 2) !important;
    }
    .sp-footer {
        padding-bottom: 28px;
    }
    .sp-footer .sp-logo {
        grid-column: 1/-1;
        justify-self: start;
    }
    .sp-consultation {
        width: calc(100% - 32px);
        max-height: calc(100dvh - 106px);
        margin-top: max(90px, calc((100dvh - 530px) / 2));
        padding: 58px 16px 32px;
    }
    .sp-consultation::backdrop {
        top: 74px;
    }
    .sp-consultation > p {
        font-size: 16px;
    }
    .sp-consultation form {
        margin-top: 36px;
    }
}
@media (max-width: 767px) {
    .sp-header {
        position: sticky;
        top: 0;
    }
    .sp-catalog__layout {
        display: block;
    }
    .gm-catalog-filters.sp-mobile-controls {
        border: 0;
        padding: 0;
    }
    .sp-filter-panel--mobile .gm-filter-option > input {
        display: block;
    }
    .sp-filter-panel--mobile .gm-filter-group__content {
        display: block !important;
    }
}
.sp-description__media {
    display: contents;
}
.sp-description__progress {
    display: none;
}
.sp-review-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}
.sp-review-controls > button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #aaa;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    font-size: 24px;
}
.sp-review-controls > label {
    border: 1px solid #111;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sp-review-controls input {
    accent-color: #111;
}
.sp-reviews .sp-sheet {
    width: min(500px, calc(100% - 32px));
    border-radius: 8px;
}
.sp-mobile-gallery {
    width: 100%;
    min-width: 0;
}
.sp-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}
.sp-gallery-track::-webkit-scrollbar {
    display: none;
}
.sp-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    aspect-ratio: 0.775;
    background: #fff;
    border-radius: 7px;
    overflow: hidden;
}
.sp-product-layout .sp-gallery-slide img,
.sp-gallery-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: auto;
}
.sp-gallery-progress {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
}
.sp-gallery-progress button {
    flex: 1;
    border-top: 3px solid #e9e9e9;
    padding-bottom: 8px;
}
.sp-gallery-progress button.active {
    border-color: #111;
}
@media (max-width: 767px) {
    .sp-filter-panel--mobile .gm-filter-group {
        padding: 0 !important;
        border: 0 !important;
    }
    .sp-filter-panel--mobile .gm-filter-option__label {
        font-size: 16px !important;
        min-height: 32px;
    }
    .sp-filter-panel--mobile .gm-filter-options,
    .sp-filter-panel--mobile .gm-filter-option {
        background: transparent !important;
    }
    .sp-filter-panel--mobile .gm-filter-group input.gm-filter-search__input {
        padding: 8px 12px 8px 40px !important;
        background: transparent;
        font-size: 16px !important;
        border-radius: 8px !important;
        border-color: #aaa;
    }
    .sp-filter-panel--mobile .gm-filter-group .icon-search {
        top: 10px !important;
        left: 12px !important;
        font-size: 24px;
    }
    .sp-filter-panel--mobile .gm-filter-option__label > span.rounded-full {
        width: 18px;
        height: 18px;
    }
    .sp-card .gm-try-on-card > span:last-child {
        display: none;
    }
    .sp-description__media {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .sp-description__media::-webkit-scrollbar {
        display: none;
    }
    .sp-description__media > * {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        margin: 0;
    }
    .sp-description__progress {
        position: relative;
        display: block;
        width: 100%;
        height: 4px;
        margin-top: 10px;
        overflow: hidden;
        border-radius: 999px;
        background: #e5e5e5;
    }
    .sp-description__progress-thumb {
        position: absolute;
        inset: 0 auto 0 0;
        min-width: 36px;
        border-radius: inherit;
        background: #a7a7a7;
        transform: translateX(0);
        will-change: transform;
    }
    .sp-reviews .sp-sheet {
        width: 100%;
        border-radius: 8px 8px 0 0;
    }
    .sp-reviews__summary {
        grid-template-columns: 1fr 2fr !important;
        align-items: center;
    }
    .sp-reviews__summary > div:first-child {
        border: 0;
    }
    .sp-reviews__summary > div:first-child > p:first-child {
        font-size: 90px !important;
        line-height: 1;
    }
    .sp-reviews__summary > div:first-child > div {
        display: none;
    }
    .sp-reviews__summary .row .h-4 {
        height: 4px;
        border-radius: 4px;
    }
    .sp-reviews__summary .row .bg-amber-500 {
        background: var(--gm-acid);
    }
    .sp-footer .sp-logo {
        display: block !important;
    }
}
@media (max-width: 767px) {
    .sp-product-layout {
        padding: 0 !important;
    }
    .sp-filter-panel--mobile .gm-filter-group__content > div {
        background: transparent !important;
    }
}
@media (max-width: 767px) {
    .sp-hero {
        background-color: #9bc8e0;
        background-size: auto 86%;
        background-position: calc(100% + 38px) bottom;
        background-repeat: no-repeat;
    }
    .sp-hero h1 {
        font-size: clamp(36px, 12vw, 64px);
    }
    .sp-catalog > div > h2 {
        font-size: 23px;
        font-weight: 600;
    }
    .sp-filter-panel--mobile .gm-filter-options {
        padding: 0 !important;
        border-radius: 0 !important;
    }
    .sp-filter-panel--mobile .gm-filter-group__content > div {
        box-shadow: none !important;
        padding: 0 !important;
    }
}
.gm-catalog-filters:not(.sp-mobile-controls) .sp-sheet__body {
    padding: 0;
    overflow: visible;
}
@media (max-width: 767px) {
    .sp-card__price {
        text-align: left;
        justify-content: flex-start;
    }
    .sp-consultation h2 {
        font-weight: 700;
    }
    .sp-product-quantity {
        display: none;
    }
    .sp-product-compare {
        position: absolute;
        right: 36px;
        top: 0;
        width: 28px;
        height: 28px;
        font-size: 0 !important;
    }
    .sp-product-details h1 {
        padding-right: 32px;
    }
    .sp-reviews__summary {
        display: grid;
        gap: 16px;
    }
    .sp-reviews__summary > div:nth-child(2) {
        width: 100%;
        min-width: 0;
    }
    .sp-reviews__summary .row {
        grid-template-columns: 30px minmax(0, 1fr);
        width: 100%;
    }
    .sp-reviews__summary .row > div:last-child {
        width: 100%;
    }
    .sp-review {
        display: block;
        padding: 12px 0;
    }
    .sp-review > div:first-child {
        display: flex;
    }
    .sp-review > div:nth-child(2) {
        display: flex;
    }
    .sp-review > div:nth-child(2) > div {
        display: flex;
        overflow-x: auto;
        width: 100%;
    }
    .sp-review > div:nth-child(2) > div > div {
        flex: 0 0 72px;
        height: 72px;
    }
    .sp-review > div:nth-child(2) > p {
        font-size: 14px;
        color: #111;
        line-height: 1.4;
    }
}
.sp-catalog-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.sp-catalog-heading h2 {
    font-size: 24px;
    font-weight: 600;
}
.sp-catalog-heading > span {
    font-size: 14px;
}
@media (max-width: 767px) {
    .sp-catalog-heading {
        margin-top: 0;
        gap: 8px;
    }
    .sp-catalog-heading h2 {
        font-size: 22px;
    }
    .sp-catalog-heading > span {
        font-size: 12px;
    }
}
@media (max-width: 767px) {
    .sp-filter-panel--mobile .gm-filter-group__content {
        background: transparent !important;
    }
}
/* Rating composition shared with the mobile design. */
.sp-review-scope {
    display: flex;
    width: 340px;
    max-width: 100%;
    border: 1px solid var(--gm-acid);
    border-radius: 7px;
    overflow: hidden;
}
.sp-review-scope button {
    flex: 1;
    padding: 10px 8px;
    font-size: 14px;
    border-radius: 6px;
}
.sp-review-scope button[aria-pressed="true"] {
    background: var(--gm-acid);
}
.sp-rating-score__number {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 96px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.07em;
}
.sp-rating-score__number > span {
    font-size: 26px;
    letter-spacing: -0.02em;
    color: #999;
}
.sp-rating-score__count {
    margin-top: 8px;
    font-size: 15px;
    color: #999;
    white-space: nowrap;
}
.sp-rating-bars {
    display: grid;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.sp-rating-bars__row {
    display: grid;
    grid-template-columns: 22px 14px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    font-size: 16px;
    color: #999;
    line-height: 1;
}
.sp-rating-bars__row > .sp-star {
    font-size: 23px;
    color: #ffca00;
}
.sp-rating-bars__track {
    height: 5px;
    background: #c8c8c8;
    border-radius: 8px;
    overflow: hidden;
}
.sp-rating-bars__track > span {
    display: block;
    height: 100%;
    background: #a2ef20;
    border-radius: inherit;
}
.sp-reviews__summary .sp-rating-score {
    border: 0;
    padding: 0;
    margin: 0;
}
.sp-reviews__summary .sp-rating-score > p:first-child {
    font-size: 96px !important;
}
@media (max-width: 767px) {
    .sp-hero {
        height: auto;
        aspect-ratio: 750 / 660;
        background-image: url("/images/storefront/catalog-hero-mobile-v2.webp");
        background-size: cover;
        background-position: center;
    }
    .sp-hero__copy {
        padding: 14px 16px;
    }
    .sp-hero h1 {
        font-size: clamp(36px, 13.15vw, 76px);
        line-height: 1.08;
        letter-spacing: -0.055em;
    }
    .sp-hero__copy > p {
        width: 49%;
        max-width: 210px;
        font-size: clamp(14px, 4vw, 20px);
        margin-top: 8px;
    }
    .sp-hero__copy > .sp-button {
        min-height: 46px;
        bottom: 16px;
    }
    .sp-mobile-controls {
        margin-top: 24px;
        margin-bottom: 26px;
    }
    .sp-product-grid {
        row-gap: 20px !important;
    }
    .sp-card__tools {
        top: 12px;
        right: 12px;
        gap: 10px;
    }
    .sp-reviews__layout {
        gap: 24px;
    }
    .sp-review-scope {
        width: 100%;
        margin-bottom: 0;
    }
    .sp-review-scope button {
        min-height: 42px;
        font-size: 16px;
    }
    .sp-reviews__summary {
        display: grid;
        grid-template-columns: 33% minmax(0, 1fr) !important;
        gap: 12px;
        align-items: center;
        margin: 0 0 8px;
    }
    .sp-reviews__summary .sp-rating-score > p:first-child {
        font-size: clamp(94px, 28vw, 150px) !important;
        font-weight: 600;
    }
    .sp-rating-score__number > span {
        font-size: clamp(21px, 6vw, 32px);
    }
    .sp-rating-score__count {
        font-size: clamp(13px, 4vw, 19px);
        margin-top: 8px;
    }
    .sp-rating-bars {
        gap: 12px;
        width: 100%;
    }
    .sp-rating-bars__row {
        grid-template-columns: 22px 12px minmax(0, 1fr);
        gap: 4px;
        font-size: 16px;
    }
    .sp-rating-bars__track {
        height: 5px;
    }
    .sp-review-controls {
        margin-top: 20px;
        margin-bottom: 4px;
    }
}
@media (max-width: 767px) {
    .sp-reviews
        .sp-reviews__summary
        .sp-rating-score
        > p.sp-rating-score__number {
        font-size: clamp(110px, 36vw, 180px) !important;
        line-height: 1;
    }
    .sp-reviews
        .sp-reviews__summary
        .sp-rating-score
        > p.sp-rating-score__number.sp-rating-score--fractional {
        font-size: clamp(78px, 25vw, 126px) !important;
        letter-spacing: -0.075em;
    }
}

.sp-card__top {
    display: contents;
}

/* Product questions */
.sp-questions {
    margin: 0 auto;
    max-width: 1180px;
}
.sp-questions__heading {
    align-items: end;
    display: flex;
    gap: 32px;
    justify-content: space-between;
}
.sp-questions__heading h2 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 8px;
}
.sp-questions__heading p:last-child,
.sp-muted {
    color: #6b6b6b;
    margin-top: 8px;
}
.sp-question-form {
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
    padding: 24px;
}
.sp-question-form label {
    display: grid;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
}
.sp-question-form input,
.sp-question-form textarea {
    background: #f8f8f8;
    border: 1px solid #b8b8b8;
    border-radius: 6px !important;
    font: inherit;
    padding: 12px;
}
.sp-question-form__question,
.sp-question-form__footer,
.sp-question-form__consent {
    grid-column: 1 / -1;
}
.sp-question-form label.sp-question-form__consent {
    align-items: start;
    display: flex;
    font-size: 12px;
    font-weight: 400;
}
.sp-question-form__consent input {
    accent-color: #111;
    flex: none;
    height: 18px;
    padding: 0;
    width: 18px;
}
.sp-question-form__consent a {
    text-decoration: underline;
}
.sp-question-form__footer {
    align-items: center;
    display: flex;
    gap: 16px;
}
.sp-question-form__trap {
    left: -10000px;
    position: fixed;
}
.sp-question-form__error {
    color: #a22518;
}
.sp-question-list {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}
.sp-question {
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    padding: 24px;
}
.sp-question > header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}
.sp-question time {
    color: #777;
    font-size: 13px;
}
.sp-question__text {
    font-size: 17px;
    margin-top: 12px;
}
.sp-question__answer {
    background: #efffcf;
    border-radius: 6px;
    margin-top: 18px;
    padding: 16px;
}
.sp-question__answer p {
    margin-top: 6px;
    white-space: pre-line;
}
.sp-question-more {
    border: 1px solid #111;
    border-radius: 6px;
    justify-self: center;
    padding: 12px 28px;
}
.sp-questions__empty {
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    margin-top: 24px;
    padding: 32px;
    text-align: center;
}

@media (max-width: 767px) {
    .sp-questions__heading {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }
    .sp-questions__heading h2 {
        font-size: 24px;
    }
    .sp-question-form {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .sp-question-form__question,
    .sp-question-form__footer,
    .sp-question-form__consent {
        grid-column: auto;
    }
    .sp-question-form__footer {
        align-items: stretch;
        flex-direction: column;
    }
    .sp-question {
        padding: 16px;
    }
}

/* Mobile card controls share a row above the product photo. */
@media (max-width: 767px) {
    body .sp-button.sp-button,
    .sp-product-tabs button,
    .sp-filter-sheet button {
        font-weight: 500;
        font-size: 14px;
        line-height: 1.1;
        letter-spacing: 0;
    }
    .sp-card .sp-card__image {
        aspect-ratio: auto;
    }
    .sp-card__image > a {
        height: auto;
        aspect-ratio: 1;
        margin-top: 44px;
    }
    .sp-card__top {
        position: absolute;
        inset: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 4px;
        height: 44px;
        padding: 8px;
    }
    .sp-card__top .sp-card__tools {
        position: static;
        margin-left: auto;
        flex-shrink: 0;
        gap: 2px;
    }
    .sp-card__top .sp-card__tools button {
        width: 22px;
        min-width: 22px;
        height: 28px;
        font-size: 20px;
    }
    .sp-card__top > .sp-badge {
        position: static;
        white-space: nowrap;
        font-size: 9px;
        padding: 2px 4px;
    }
    body .sp-card > .sp-button {
        font-size: 0;
    }
}

button:not([class*="icon-"]),
input,
select,
textarea {
    font-family: "Involve", Arial, sans-serif;
}

@media (max-width: 767px) {
    .sp-catalog__results > .sp-filter-chips {
        margin-top: 0;
        margin-bottom: 24px;
        row-gap: 12px;
    }
}

/* Desktop filters follow the same open, unboxed layout as the catalog. */
@media (min-width: 768px) {
    .gm-catalog-filters {
        width: 250px;
        min-width: 250px;
    }
    .gm-filter-panel .gm-filter-group {
        padding: 24px 0 !important;
    }
    .gm-filter-panel .gm-filter-group:first-child {
        padding-top: 0 !important;
    }
    .gm-filter-group .gm-filter-group__header {
        padding: 0 0 16px !important;
    }
    .gm-filter-group .gm-filter-group__header p {
        font-size: 20px !important;
        font-weight: 500 !important;
    }
    .gm-filter-group__header > span {
        display: none;
    }
    .gm-filter-group__content,
    .gm-filter-group__content > div,
    .gm-filter-group__content ul {
        background: transparent !important;
        border-radius: 0 !important;
    }
    .gm-filter-panel .gm-filter-group input.gm-filter-search__input {
        height: 46px;
        padding: 10px 12px 10px 42px !important;
        border: 1px solid #999;
        border-radius: 8px !important;
        font-size: 16px !important;
        background: transparent;
        margin-bottom: 12px;
    }
    .gm-filter-group .gm-filter-search .icon-search {
        top: 12px !important;
        left: 12px !important;
        font-size: 22px;
    }
    .gm-filter-panel .gm-filter-option {
        gap: 8px;
        min-height: 30px;
    }
    .gm-filter-panel .gm-filter-option > input[type="checkbox"] {
        display: block;
        appearance: none;
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        border: 1px solid #999;
        border-radius: 4px !important;
        background: transparent;
        cursor: pointer;
    }
    .gm-filter-panel .gm-filter-option > input:checked {
        background: center / 14px no-repeat
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E");
    }
    .gm-filter-panel .gm-filter-option__check {
        display: none;
    }
    .gm-filter-panel .gm-filter-option__label {
        font-size: 16px !important;
        font-weight: 400;
    }
    .gm-filter-options {
        padding-bottom: 4px;
    }
    .gm-filter-group .sp-show-options {
        font-size: 16px;
        margin-top: 8px;
    }
    .gm-price-range > div:first-child p {
        font-size: 16px;
        font-weight: 400;
    }
    .gm-price-range .sp-price-inputs {
        align-items: center;
        gap: 8px;
    }
    .gm-filter-panel .gm-filter-group .sp-price-inputs input {
        width: 0;
        flex: 1;
        height: 40px;
        padding: 8px 10px !important;
        border: 1px solid #999;
        border-radius: 7px !important;
        font-size: 16px !important;
    }
    .gm-price-range [type="range"]::-webkit-slider-thumb {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (min-width: 768px) {
    .sp-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 54px 20px 44px 44px;
        align-content: start;
    }
    .sp-card__image {
        grid-row: 1;
    }
    .sp-card__summary {
        grid-row: 2;
        margin-top: 0;
    }
    .sp-card__summary > a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        min-width: 0;
    }
    .sp-card__rating {
        grid-row: 3;
    }
    .sp-card > .sp-button {
        grid-row: 4;
        margin-top: 0;
        height: 44px;
    }
    .sp-card .gm-try-on-card {
        grid-row: 5;
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
    }
}

/* Keep the product purchase controls aligned for simple and variant products. */
.sp-product-actions .sp-product-quantity {
    display: none;
}
.sp-product-services > a,
.sp-product-services > button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    padding: 0;
    color: #111;
    font: inherit;
}
.sp-product-services .sp-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.sp-product-details .sp-product-actions > button,
.sp-product-details .sp-product-actions > a {
    max-width: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    min-height: 48px !important;
    font-family: "Involve", Arial, sans-serif;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.1;
}
.sp-product-add .sp-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .sp-product-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 28px;
    }
    .sp-product-actions:has(.gm-try-on-launcher) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sp-product-compare {
        position: absolute;
        top: 0;
        right: 40px;
        width: 28px;
        height: 28px;
        font-size: 0 !important;
    }
    .sp-product-details h1 {
        padding-right: 80px;
    }
    .sp-product-services {
        margin-top: 12px;
        padding: 20px 0;
    }
}

/* Keep inherited Bagisto text controls on the storefront typeface. */
body,
#app,
.font-sans,
button:not([class*="icon-"]),
input,
select,
textarea {
    font-family: "Involve", Arial, sans-serif !important;
}
.sp-variants {
    margin: 24px 0;
    min-width: 0;
}
.sp-variants__group {
    border: 0;
    padding: 0;
    margin: 0 0 16px;
    min-width: 0;
}
.sp-variants__group legend {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}
.sp-variants__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sp-variant {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 64px;
    max-width: 120px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}
.sp-variant--selected {
    border-color: #111;
}
.sp-variant:focus-within {
    outline: 2px solid #487d00;
    outline-offset: 3px;
}
.sp-variant__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.sp-variant__image {
    width: 64px;
    height: 52px;
    object-fit: contain;
}
.sp-variant__color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #d5d5d5;
}
.sp-variant__label {
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
}
.sp-variants__hint {
    color: #929292;
    font-size: 13px;
}
@media (max-width: 767px) {
    .sp-variants {
        margin: 16px 0;
    }
    .sp-variants__options {
        gap: 8px;
    }
}
@media (min-width: 768px) {
    .gm-catalog-filters {
        align-self: start;
        border-right: 1px solid var(--gm-line);
        padding-right: 20px;
    }
    .gm-filter-panel .gm-filter-option {
        gap: 8px !important;
    }
    .gm-filter-panel .gm-filter-option__label {
        padding: 4px 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .sp-catalog .sp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .sp-card {
        grid-template-rows: auto 96px 20px 44px 44px;
    }
    .sp-card__summary {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 6px;
    }
    .sp-card__summary > a {
        max-width: 100%;
    }
    .sp-card__price {
        text-align: left;
    }
    .sp-card__top {
        display: flex;
        position: absolute;
        inset: 10px 10px auto;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
    }
    .sp-card__top .sp-badge,
    .sp-card__top .sp-card__tools {
        position: static;
    }
    .sp-card__top .sp-card__tools {
        margin-left: auto;
        gap: 4px;
    }
    .sp-card__top .sp-badge {
        font-size: 10px;
        padding: 3px 5px;
    }
    .sp-card__tools button {
        width: 22px;
        font-size: 20px;
    }
}

#main,
.sp-product-layout,
.sp-catalog {
    font-family: "Involve", Arial, sans-serif !important;
}
@media (max-width: 767px) {
    .sp-product-layout > div {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .sp-product-layout .sp-mobile-gallery-width {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Bagisto's universal font rule must inherit the storefront typeface. */
body *:not([class*="icon-"]) {
    font-family: inherit;
}

/* Keep catalog controls in flow with room before the product grid. */
@media (min-width: 768px) {
    .sp-catalog__layout {
        margin-top: 32px;
    }
    .sp-catalog__results > div.max-md\:hidden {
        position: static;
        margin-bottom: 24px;
    }
    .sp-toolbar {
        align-items: center;
        gap: 24px;
    }
    .sp-catalog__results .sp-toolbar .sp-toolbar__reset {
        min-width: 0;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #666;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.1;
        white-space: nowrap;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    .sp-catalog__results .sp-toolbar .sp-toolbar__sort {
        width: auto;
        max-width: none;
        min-height: 44px;
        height: 44px;
        padding: 0 16px;
        gap: 20px;
        border: 1px solid #999;
        border-radius: 6px;
        background: transparent;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.1;
        white-space: nowrap;
    }
    .sp-toolbar__sort .icon-arrow-down {
        flex: none;
        font-size: 20px;
    }
}

.sp-variants__group--colors legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.sp-variants__group--colors .sp-variant {
    width: 64px;
    min-width: 64px;
    height: 64px;
    padding: 6px;
}
.sp-variants__group--colors .sp-variant__image {
    width: 100%;
    height: 100%;
}
