/* Shared measurements from the desktop and mobile Sportoptika components. */
:root {
    --gm-acid: #bdfd4e;
    --gm-acid-soft: #e3ffb2;
    --gm-ink: #000;
    --gm-paper: #f8f8f8;
    --gm-muted: #999;
    --gm-line: #ccc;
    --gm-radius: 8px;
}
body, #main.bg-white { color: var(--gm-ink); }
body { font-weight: 500; line-height: 1.3; }
h1, h2, h3, .font-dmserif { letter-spacing: 0; }
.sp-asset-icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
.sp-button { min-height: 54px; border-radius: 8px; font-size: 16px; font-weight: 500; line-height: 1.1; gap: 16px; color: #000; }
.sp-header { height: 104px; min-height: 104px; padding: 24px 0 16px; gap: 24px; border-color: #999; }
.sp-logo { width: 127px; }
.sp-logo img { display: block; height: 64px; object-fit: contain; mix-blend-mode: normal; }
.sp-search { width: min(460px, 30%); height: 44px; }
.sp-header__nav { gap: 8px; }
.sp-header__nav > a, .sp-header-cart, .sp-menu summary { gap: 8px; padding: 10px 16px; font-size: 16px; font-weight: 500; }
.sp-menu summary span.sp-account__label { font-size: inherit; }
.sp-header i, .sp-header [class^="icon-"], .sp-card__tools button, .sp-product-compare .icon-compare, .sp-product-wishlist, .sp-mobile-control > span { font-size: 0 !important; }
.sp-header .icon-search::before, .sp-header .icon-compare::before, .sp-header .icon-heart::before,
.sp-header .icon-cart::before, .sp-header .icon-users::before, .sp-header .icon-hamburger::before,
.sp-card .icon-compare::before, .sp-card .icon-heart::before, .sp-card .icon-cart::before,
.sp-product-compare .icon-compare::before, .sp-product-wishlist.icon-heart::before, .sp-mobile-control .icon-filter-1::before {
    content: ""; display: block; width: 24px; height: 24px; background: center / 24px 24px no-repeat var(--sp-icon);
}
.sp-header .icon-search { --sp-icon: url('/images/storefront/figma/search.svg'); }
.sp-header .icon-compare, .sp-card .icon-compare, .sp-product-compare .icon-compare { --sp-icon: url('/images/storefront/figma/compare.svg'); }
.sp-header .icon-heart, .sp-card .icon-heart, .sp-product-wishlist.icon-heart { --sp-icon: url('/images/storefront/figma/heart.svg'); }
.sp-header .icon-cart, .sp-card .icon-cart { --sp-icon: url('/images/storefront/figma/cart.svg'); }
.sp-header .icon-users { --sp-icon: url('/images/storefront/figma/profile.svg'); }
.sp-header .icon-hamburger { --sp-icon: url('/images/storefront/figma/menu.svg'); }
.sp-mobile-control .icon-filter-1 { --sp-icon: url('/images/storefront/figma/filter.svg'); }
.sp-card .icon-heart-fill::before, .sp-product-wishlist.icon-heart-fill::before { font-size: 24px; color: #000; }
.sp-hero { margin-top: 24px !important; margin-bottom: 40px !important; border-radius: 8px; height: clamp(330px, 25vw, 480px); background-image: url('/images/storefront/figma/hero-desktop.png'); background-size: 237.65% auto; background-position: 48.66% 36.04%; }
.sp-hero__mobile-photo { display: none; }
.sp-hero__copy { padding: 0 38px; transform: translateY(6px); }
.sp-hero h1 { font-size: clamp(44px, 4.16vw, 80px); line-height: 1.1; font-weight: 700; letter-spacing: 0; }
.sp-hero__copy > p { font-size: clamp(18px, 1.35vw, 26px); font-weight: 500; line-height: 1.3; margin-top: 0; }
.sp-hero__copy > .sp-button { height: 54px; width: 380px; margin-top: 40px; font-size: 16px; }
.sp-hero__note { top: 12.71%; right: 2.25%; width: 212px; font-size: 16px; line-height: 1.3; }
.sp-hero__note::before { content: ''; position: absolute; top: 11px; right: calc(100% + 8px); width: 77px; height: 59px; border-top: 1px solid #000; border-left: 1px solid #000; }
.sp-hero__note::after { content: ''; position: absolute; top: 64px; right: calc(100% + 78px); width: 13px; height: 13px; border-radius: 50%; background: #000; }
.sp-hero__note .sp-button { margin-top: 16px; height: 54px; font-size: 16px; }
.sp-catalog-heading { gap: 8px; align-items: baseline; min-height: 44px; margin-top: 0; }
.sp-catalog-heading h2 { font-size: 24px; line-height: 1; font-weight: 700; }
.sp-catalog-heading > span { font-size: 16px; line-height: 1.3; }
.sp-product-grid { gap: 16px !important; margin-top: 0 !important; align-items: start; }
.sp-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 54px 24px 54px 54px; gap: 8px; align-content: start; }
.sp-card__image { grid-row: 1; aspect-ratio: 3 / 4; border-radius: 8px; padding: 0; margin-bottom: 8px; overflow: hidden; }
.sp-card__image > a { width: 100%; height: 100%; padding: 0; margin-top: 0; aspect-ratio: auto; }
.sp-card__image img { width: 100%; height: 100%; padding: 0; object-fit: contain; object-position: center; }
.sp-card__image > a:hover img { transform: none; }
.sp-card__top { position: absolute; inset: 12px 12px auto 16px; display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 32px; background: transparent; z-index: 1; pointer-events: none; }
.sp-card__top > .sp-badge, .sp-card__top > .sp-card__tools { position: static; }
.sp-card__top .sp-card__tools { display: flex; margin-left: auto; gap: 4px; }
.sp-card__top .sp-card__tools button { padding: 4px; width: 32px; height: 32px; min-width: 32px; background: transparent; pointer-events: auto; }
.sp-badge { font-size: 16px; line-height: 1.3; padding: 4px 8px; border-radius: 4px; background: #000; }
.sp-badge--sale { background: #f17c0a; }
.sp-card__summary { grid-row: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 0; min-height: 0; }
.sp-card__summary > a { font-size: 18px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.sp-card__price { flex: none; text-align: right; font-size: 24px; font-weight: 600; line-height: 1.3; margin: 0; }
.sp-card__price .line-through { font-size: 14px; font-weight: 500; color: #999; }
.sp-card__price .price-label { font-size: 14px; }
.sp-card__rating { grid-row: 3; min-height: 24px; font-size: 16px; color: #999; gap: 0; line-height: 1.3; }
.sp-star { display: inline-flex; align-items: center; justify-content: center; color: #fc0; width: 24px; height: 24px; font-size: 24px; }
.sp-card > .sp-button { grid-row: 4; margin: 0; min-height: 54px; height: 54px; font-size: 16px; }
.sp-card .gm-try-on-card { grid-row: 5; height: 54px !important; min-height: 54px !important; margin: 0 !important; border-radius: 8px !important; font-size: 16px !important; font-weight: 500; gap: 16px; }
.sp-card .gm-try-on-card__icon { width: 24px; height: 24px; }
.sp-filter-chips { margin: 0 0 24px; gap: 8px; }
.sp-filter-chips button { font-size: 16px; font-weight: 500; border-radius: 4px; background: #ebebeb; padding: 6px 12px; }
.sp-filter-chips .sp-filter-reset { font-size: 14px; background: transparent; }
.sp-filter-color { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; border: 1px solid #999; }
.sp-filter-count { color: #999; white-space: nowrap; }
.gm-filter-search__input::placeholder { color: #666; opacity: 1; }
.sp-try-promo { border-radius: 8px; background-image: url('/images/storefront/figma/try-on.png'); background-size: 214.86% 131.11%; background-position: 16.5% 27.23%; padding: 24px; min-height: 0; aspect-ratio: 774 / 707; }
.sp-try-promo h2 { font-size: clamp(40px, 5.05vw, 97px); line-height: 1; font-weight: 700; letter-spacing: 0; }
.sp-try-promo p { margin-top: 24px; font-size: 16px; line-height: 1.3; }
.sp-try-promo .sp-button { width: 320px; max-width: 80%; margin-top: 40px; }
.sp-try-promo small { width: 260px; max-width: 40%; font-size: 14px; line-height: 1.3; }
.sp-product-layout { display: grid !important; grid-template-columns: minmax(0, 886fr) minmax(0, 910fr); gap: 24px !important; margin-top: 24px !important; align-items: start; }
.sp-product-layout > .sp-product-details { min-width: 0; width: auto !important; max-width: none !important; padding: 0 !important; }
.sp-product-layout > div:has(.sp-product-gallery) { width: auto !important; min-width: 0; }
.sp-product-gallery { position: static; display: flex; gap: 16px; width: 100%; }
.sp-product-gallery > div:first-child { width: 16%; flex: 0 0 16%; min-width: 0; max-width: 141px; order: 0; height: auto; gap: 16px; }
.sp-product-gallery > div:first-child > div { width: 100%; max-height: 620px; gap: 16px; }
.sp-product-gallery > div:first-child img { width: 100%; height: auto; aspect-ratio: 141 / 180; max-width: none; border-radius: 8px; object-fit: contain; background: #fff; }
.sp-product-gallery > div:not(:first-child) { width: 0; flex: 1; max-width: none; height: auto; aspect-ratio: 3 / 4; border-radius: 8px; background: white; }
.sp-product-gallery > div:not(:first-child) img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.sp-product-details h1 { font-size: 32px; font-weight: 600; line-height: 1.3; padding-right: 0; }
.sp-product-heading { padding-right: 76px; }
.sp-product-wishlist, .sp-product-compare { position: absolute; top: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; background: transparent; border-radius: 6px; }
.sp-product-wishlist { right: 0; }
.sp-product-compare { right: 36px; font-size: 0 !important; }
.sp-product-additional-actions { margin: 0; }
.sp-product-rating { display: flex; align-items: center; height: 24px; margin-top: 4px; font-size: 16px; color: #999; }
.sp-product-rating img { flex: 0 0 24px; }
.sp-product-details > .sp-product-price { margin-top: 8px !important; font-size: 38px !important; font-weight: 600 !important; line-height: 1.1; }
.sp-variants { margin: 16px 0 0; padding: 16px 0; border-top: 1px solid #ccc; }
.sp-variants__group--colors .sp-variant { width: 94px; height: 94px; padding: 8px; border: 2px solid transparent; border-radius: 8px; background: #fff; }
.sp-variants__group--colors .sp-variant--selected { border-color: #000; }
.sp-variants__options { gap: 8px; }
.sp-spec-summary { margin-top: 16px; padding: 16px 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.sp-variants + .sp-spec-summary { margin-top: 0; }
.sp-spec-summary h2 { margin-bottom: 16px; font-size: 18px; line-height: 1.3; font-weight: 600; }
.sp-spec-summary dl { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-template-columns: auto auto auto; gap: 8px 24px; font-size: 16px; line-height: 1.3; }
.sp-spec-summary dl > div { display: flex; gap: 8px; align-items: baseline; }
.sp-spec-summary dt { color: #999; }
.sp-spec-summary dd { color: #000; }
.sp-spec-summary > a { display: inline-block; margin-top: 16px; font-size: 16px; color: #666; line-height: 1.1; }
.sp-product-services { margin: 16px 0 0; padding: 0; border: 0; display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 16px 24px; font-size: 16px; }
.sp-product-services > a, .sp-product-services > button { gap: 8px; min-height: 32px; }
.sp-product-actions { margin-top: 40px; gap: 8px; }
.sp-product-details .sp-product-actions > button, .sp-product-details .sp-product-actions > a { min-height: 54px !important; border-radius: 8px !important; font-size: 16px !important; gap: 16px; }
.sp-product-tabs { width: 100%; max-width: 1920px; margin: 64px auto 0 !important; padding-inline: var(--sp-gutter); }
.sp-product-tabs .bg-zinc-100 { gap: 16px; }
.sp-product-tabs [id$="-button"] { padding: 13px 24px; border-radius: 6px; min-height: 44px; font-size: 16px; font-weight: 500; line-height: 1.1; }
.sp-product-tabs [id$="-tab"] { margin-top: 24px !important; }
.sp-specifications { margin-top: 0; font-size: 16px; gap: 8px 24px; }
.sp-specifications > .grid > .text-black { color: #999; }
.sp-specifications > .grid > .text-zinc-500 { color: #000; }
.sp-carousel { margin-top: 64px !important; }
.sp-carousel h2 { font-size: 32px; line-height: 1.3; font-weight: 600; }
.sp-footer { margin-top: 64px; background: #f0f0f0; padding: 40px var(--sp-gutter); }
.sp-footer__grid { grid-template-columns: minmax(300px, 1fr) minmax(0, .35fr) minmax(0, .45fr) auto; gap: clamp(32px, 8vw, 150px); }
.sp-footer__consult { max-width: 453px; }
.sp-footer h2 { font-size: 34px; line-height: 1.1; font-weight: 700; margin-bottom: 16px; }
.sp-footer__consult > p { font-size: 16px; line-height: 1.3; }
.sp-footer form { margin-top: 34px; }
.sp-footer nav { font-size: 16px; line-height: 1.1; gap: 8px; }
.sp-footer h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.sp-consent { font-size: 14px; line-height: 1.3; gap: 8px; }
.sp-consent input { width: 18px; height: 18px; accent-color: #000; }
.sp-footer__legal { margin-top: 40px; font-size: 16px; line-height: 1.3; color: #999; }
.sp-consultation { background: #f8f8f8; border-radius: 8px; }

@media (min-width: 768px) {
    .container:has(> .sp-product-layout) { padding-inline: var(--sp-gutter) !important; }
    .sp-catalog { position: relative; }
    .sp-catalog__layout { margin-top: 24px; position: static; }
    .sp-catalog__results > div.max-md\:hidden { position: absolute; top: 0; right: var(--sp-gutter); margin: 0; }
    .sp-toolbar { gap: 16px; }
    .sp-catalog__results .sp-toolbar .sp-toolbar__reset, .sp-catalog__results .sp-toolbar .sp-toolbar__sort { height: 44px; min-height: 44px; border: 1px solid #999; padding: 10px 16px; border-radius: 6px; font-size: 16px; color: #000; text-decoration: none; font-weight: 500; }
    .sp-catalog__results .sp-toolbar .sp-toolbar__reset { width: 222px; }
    .sp-catalog__results .sp-toolbar .sp-toolbar__sort { width: 290px; max-width: none; gap: 12px; }
    .gm-catalog-filters { width: 228px; min-width: 228px; padding-right: 21px; border-color: #ccc; }
    .gm-filter-panel .gm-filter-group { padding: 24px 0 !important; border-color: #ccc !important; }
    .gm-filter-group .gm-filter-group__header p { font-size: 18px !important; font-weight: 600 !important; line-height: 1.3; }
    .gm-filter-panel .gm-filter-group input.gm-filter-search__input { height: 44px; margin: 0 0 16px; font-size: 16px !important; padding: 10px 8px 10px 40px !important; }
    .gm-filter-group .gm-filter-search .icon-search { top: 10px !important; left: 10px !important; }
    .gm-filter-panel .gm-filter-option { min-height: 21px; gap: 8px; }
    .gm-filter-panel .gm-filter-option__label { padding: 0 !important; font-size: 16px !important; line-height: 1.3; font-weight: 500; gap: 4px; }
    .gm-filter-options { display: grid; gap: 8px; padding-bottom: 0; }
    .gm-filter-panel .gm-filter-group .sp-price-inputs input { height: 38px; padding: 8px 10px !important; }
    .gm-price-range > div:first-child > p { font-size: 16px; font-weight: 500; line-height: 1.3; }
    .gm-filter-group .sp-show-options { margin-top: 16px; font-size: 16px; line-height: 1.1; }
}
@media (min-width: 768px) and (max-width: 1500px) {
    .sp-header__nav > a, .sp-header-cart, .sp-menu summary { padding-inline: 8px; }
    .sp-card__summary { flex-direction: column; gap: 4px; }
    .sp-card { grid-template-rows: auto 96px 24px 54px 54px; }
    .sp-card__summary > a { font-size: 16px; flex-shrink: 0; }
    .sp-card__price { font-size: 20px; }
    .sp-badge { font-size: 12px; }
    .sp-product-details h1 { font-size: 26px; }
    .sp-spec-summary dl { grid-auto-flow: row; grid-template-columns: 1fr; }
    .sp-product-details .sp-product-actions > button, .sp-product-details .sp-product-actions > a { gap: 8px; font-size: 14px !important; }
}
@media (min-width: 768px) and (max-width: 1179px) {
    .sp-product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .sp-product-layout > div { width: auto !important; }
    .sp-catalog-heading { padding-bottom: 68px; }
    .sp-catalog__results > div.max-md\:hidden { top: 44px; }
    .sp-catalog .sp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .sp-footer__grid { gap: 32px; }
}
@media (max-width: 1179px) {
    .sp-product-gallery { display: none; }
}
@media (max-width: 767px) {
    html { scrollbar-width: none; }
    html::-webkit-scrollbar { display: none; }
    .sp-button { min-height: 46px; font-size: 14px; }
    .sp-header { height: 74px; min-height: 74px; padding: 0 16px; gap: 16px; grid-template-columns: 44px 44px minmax(0, 1fr) 44px 44px; border: 0; }
    .sp-header .sp-logo { width: 87px; }
    .sp-header .sp-logo img { width: 87px; height: 44px; }
    .sp-header-cart, .sp-menu summary { padding: 10px; }
    .sp-main-menu summary { font-size: 0; gap: 0; }
    .sp-header-cart { min-width: 44px; }
    .sp-header .sp-search { background: #f8f8f8; }
    .sp-hero { margin: 0 0 40px !important; height: 330px; min-height: 330px; aspect-ratio: auto; border-radius: 0; background: #a6d0e7; }
    .sp-hero__mobile-photo { display: block; position: absolute; width: 136.21%; max-width: none; height: auto; left: -20.26%; top: 0; }
    .sp-hero__copy { padding: 16px; transform: none; }
    .sp-hero h1 { font-size: clamp(42px, 13.6vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: 0; }
    .sp-hero__copy > p { font-size: 14px; line-height: 1.3; width: 190px; max-width: 58%; margin-top: 0; }
    .sp-hero__copy > .sp-button { height: 46px; min-height: 46px; width: auto; font-size: 14px; margin-top: 0; gap: 16px; }
    .sp-catalog-heading { min-height: 24px; gap: 8px; align-items: baseline; flex-wrap: wrap; }
    .sp-catalog-heading h2 { font-size: 24px; line-height: 1; letter-spacing: 0; }
    .sp-catalog-heading > span { font-size: 14px; line-height: 1.3; }
    .sp-catalog__layout { margin-top: 24px; gap: 0; }
    .sp-mobile-controls { margin: 0 0 24px; padding: 0; border: 0; }
    .sp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 8px !important; }
    .sp-card { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 61px 24px 46px; gap: 8px 4px; }
    .sp-card .sp-card__image { grid-column: 1 / -1; margin: 0; padding: 0; aspect-ratio: 3 / 4; }
    .sp-card__image > a { padding: 0; height: 100%; }
    .sp-card__top { inset: 8px 8px auto; min-height: 32px; }
    .sp-card__top > .sp-badge { padding: 3px 4px; font-size: 10px; line-height: 1.3; }
    .sp-card__top .sp-card__tools { gap: 0; }
    .sp-card__top .sp-card__tools button { width: 28px; height: 32px; min-width: 28px; padding: 4px 2px; }
    .sp-card__summary { grid-column: 1 / -1; flex-direction: column; justify-content: flex-start; gap: 4px; height: 61px; }
    .sp-card__summary > a { font-size: 14px; line-height: 1.3; font-weight: 500; min-height: 36px; -webkit-line-clamp: 2; }
    .sp-card__price { font-size: 16px; font-weight: 600; line-height: 1.3; text-align: left; margin: 0; display: flex; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px; }
    .sp-card__price .price-label, .sp-card__price .line-through { font-size: 10px; }
    .sp-card__rating { grid-row: 3; grid-column: 1 / -1; font-size: 14px; min-height: 24px; line-height: 1.3; }
    .sp-card > .sp-button { grid-row: 4; grid-column: 1; height: 46px; min-height: 46px !important; padding: 11px 0; }
    .sp-card .gm-try-on-card { grid-row: 4; grid-column: 2; height: 46px !important; min-height: 46px !important; padding: 11px 0 !important; font-size: 0 !important; }
    .sp-card:not(:has(.gm-try-on-card)) > .sp-button { grid-column: 1 / -1; }
    .sp-filter-chips button { font-size: 14px; }
    .sp-try-promo { height: 313px; min-height: 313px; padding: 16px; background-size: 214.86% 131.11%; background-position: 16.5% 27.23%; }
    .sp-try-promo h2 { font-size: 42px; line-height: 1; font-weight: 700; letter-spacing: 0; }
    .sp-try-promo p { font-size: 14px; width: 122px; margin-top: 8px; line-height: 1.3; }
    .sp-try-promo .sp-button { position: absolute; left: 16px; bottom: 50px; width: 186px; height: 46px; min-height: 46px; margin: 0; font-size: 14px; padding: 11px 16px; gap: 16px; white-space: nowrap; }
    .sp-try-promo small { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: 304px; font-size: 10px; line-height: 1.3; }
    .sp-product-layout { display: flex !important; flex-direction: column; margin: 0 16px !important; width: calc(100% - 32px) !important; gap: 16px !important; }
    .sp-product-layout > div { width: 100% !important; padding: 0 !important; }
    .sp-product-layout > .sp-product-details { width: 100% !important; max-width: 100% !important; }
    .sp-product-layout .sp-mobile-gallery-width { width: 100% !important; max-width: 100%; }
    .sp-gallery-slide { aspect-ratio: 3 / 4; }
    .sp-gallery-slide img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
    .sp-gallery-progress { margin-top: 8px; }
    .sp-product-details h1 { font-size: 16px; font-weight: 600; line-height: 1.3; padding-right: 0; }
    .sp-product-heading { padding-right: 80px; }
    .sp-product-rating { margin-top: 0; font-size: 14px; }
    .sp-product-details > .sp-product-price { font-size: 24px !important; font-weight: 600 !important; line-height: 1; margin-top: 8px !important; }
    .sp-variants { margin-top: 16px; padding: 0; border: 0; }
    .sp-variants__group--colors .sp-variant { width: 64px; height: 64px; padding: 4px; }
    .sp-spec-summary { margin-top: 16px; padding: 16px 0; }
    .sp-spec-summary h2 { margin-bottom: 8px; font-size: 14px; line-height: 1.3; }
    .sp-spec-summary dl { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
    .sp-spec-summary > a { margin-top: 16px; font-size: 14px; }
    .sp-product-services { margin-top: 16px; padding: 0; font-size: 14px; flex-wrap: nowrap; gap: 16px; overflow-x: auto; }
    .sp-product-actions { margin-top: 24px; gap: 4px; }
    .sp-product-details .sp-product-actions > button, .sp-product-details .sp-product-actions > a { min-height: 46px !important; height: 46px; font-size: 14px !important; }
    .sp-product-tabs { margin: 64px auto 0 !important; padding-inline: 16px; }
    .sp-product-tabs .bg-zinc-100 {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        gap: 4px;
    }
    .sp-product-tabs [id$="-button"] {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 40px;
        padding: 8px 2px;
        overflow-wrap: anywhere;
        white-space: normal;
        font-size: clamp(10px, 2.8vw, 12px);
        line-height: 1.1;
        text-align: center;
    }
    .sp-product-tabs [id$="-tab"] { margin-top: 24px !important; }
    .sp-description__text, .sp-description__text p { font-size: 14px; line-height: 1.3; }
    .sp-description__text h2, .sp-description__text h3, .sp-description__text strong { font-size: 16px; font-weight: 600; line-height: 1.3; }
    .sp-specifications { grid-template-columns: 46% minmax(0, 1fr) !important; gap: 8px !important; }
    .sp-specifications p { overflow-wrap: anywhere; }
    .sp-carousel h2 { font-size: 24px; line-height: 1; font-weight: 700; }
    .sp-footer { padding: 32px 16px; margin-top: 64px; }
    .sp-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 8px; }
    .sp-footer__consult { grid-column: 1 / -1; max-width: none; }
    .sp-footer h2 { font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
    .sp-footer__consult > p { font-size: 14px; line-height: 1.3; }
    .sp-footer form { margin-top: 24px; max-width: none; }
    .sp-footer input[type="tel"] { font-size: 14px; height: 42px; padding: 18px 0 8px; }
    .sp-footer form > .sp-button { min-height: 46px; margin-top: 16px; }
    .sp-consent { font-size: 10px; line-height: 1.3; }
    .sp-footer nav { font-size: 14px; gap: 8px; }
    .sp-footer h3 { font-size: 16px; line-height: 1.3; margin-bottom: 8px; }
    .sp-footer .sp-logo { width: 88px; }
    .sp-footer .sp-logo img { height: 44px; }
    .sp-footer__legal { margin-top: 24px; font-size: 10px; gap: 8px; grid-template-columns: 1fr 1fr; }
    .sp-footer__legal > :nth-child(2) { grid-column: 1; grid-row: 2; }
    .sp-footer__legal > :nth-child(3) { grid-column: 2; grid-row: 1; }
    .sp-sheet { background: #f8f8f8; }
    .sp-sheet__header { padding: 24px 16px; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 16px; }
    .sp-sheet__header > button:first-child { height: 28px; line-height: 1; }
    .sp-sheet__header h2 { font-size: 16px; font-weight: 600; line-height: 1.3; }
    .sp-sheet__header--center { position: relative; }
    .sp-sheet__header--center h2 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
    .sp-sheet__header--center .sp-sheet__reset { grid-column: 3; }
    .sp-sheet__reset { font-size: 14px; color: #666; }
    .sp-sheet__body { scrollbar-color: #a0f01b #ccc; scrollbar-width: thin; }
    .sp-sheet__footer { padding: 24px 16px max(16px, env(safe-area-inset-bottom)); }
    .sp-sheet__footer > button { font-size: 14px; line-height: 1.1; }
    .sp-sort-option { min-height: 24px; margin-bottom: 8px; font-size: 14px; line-height: 1.3; }
    .sp-sort-sheet .sp-sheet__body { padding-bottom: 12px; }
    .sp-filter-panel--mobile .gm-filter-option { min-height: 32px; padding: 0 28px 0 0 !important; }
    .sp-filter-panel--mobile .gm-filter-option input[type="checkbox"] { border-radius: 4px !important; }
    .sp-filter-panel--mobile .gm-filter-options { padding-top: 8px; }
    .sp-filter-panel--mobile .gm-filter-option__label { font-size: 14px !important; line-height: 1.3; gap: 4px; padding: 0 !important; }
    .sp-filter-panel--mobile .gm-filter-search__input { height: 44px; font-size: 14px !important; border-radius: 8px !important; padding: 10px 16px 10px 40px !important; }
    .sp-filter-categories button { min-height: 45px; font-size: 14px; }
    .sp-consultation { margin: auto 16px; padding: 64px 16px 32px; max-height: calc(100dvh - 106px); }
    .sp-consultation h2 { font-size: 24px; line-height: 1; font-weight: 700; margin: 0; }
    .sp-consultation > p { font-size: 14px; line-height: 1.3; margin-top: 16px; }
    .sp-consultation > p br { display: none; }
    .sp-consultation form { margin-top: 26px; }
    .sp-consultation input:not([type="checkbox"]):not([type="hidden"]) { height: 41px; font-size: 14px; margin: 0 0 16px; }
    .sp-consultation input[type="tel"] { margin-bottom: 0 !important; }
    .sp-consultation form > .sp-button { min-height: 46px; margin-top: 34px; }
    .sp-consultation .sp-consent { font-size: 10px; margin-top: 16px; }
}
@media (max-width: 359px) {
    .sp-header { gap: 4px; }
    .sp-catalog-heading h2 { font-size: 22px; }
    .sp-catalog-heading > span { font-size: 12px; }
    .sp-card__top .sp-card__tools button { width: 24px; min-width: 24px; padding: 4px 0; }
    .sp-card__top > .sp-badge { font-size: 9px; padding-inline: 3px; }
    .sp-sheet__header { gap: 8px; }
}

/* Storefront revision: menus, contained controls and product media. */
.sp-main-menu nav { width: 300px; max-width: calc(100vw - 32px); }
.sp-description--manual { display: block; }
.sp-description--manual .sp-description__text { padding-right: 0; overflow-wrap: anywhere; }
.sp-description--manual img, .sp-description--manual video { max-width: 100%; height: auto; }
.sp-description--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.sp-description--rich .sp-description__text { min-width: 0; overflow-wrap: anywhere; }
.sp-description--rich .sp-description__text img { max-width: 100%; height: auto; }
.sp-description--rich .sp-description__image { margin: 0; min-width: 0; aspect-ratio: auto; }
.sp-description--rich .sp-description__image img { display: block; width: 100%; height: auto; object-fit: contain; }
.sp-variants__group--colors .sp-variant { aspect-ratio: 1; flex: 0 0 auto; }
.sp-variants__group--colors .sp-variant__image { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 767px) {
    .sp-description--rich { display: block; }
    .sp-description--rich .sp-description__text { padding: 0; margin-bottom: 20px; }
    .sp-description--rich .sp-description__media { display: flex; align-items: start; scrollbar-width: none; }
}
@media (max-width: 374px) {
    .sp-product-tabs [id$="-button"] { padding-inline: 1px; }
}
.sp-guide { max-width: 900px; line-height: 1.5; }
.sp-guide h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 600; line-height: 1.2; margin-bottom: 32px; }
.sp-guide h2 { font-size: 20px; font-weight: 600; margin: 24px 0 8px; }
.sp-order-row { display: grid; align-items: center; gap: 16px; padding: 20px 16px; border-bottom: 1px solid #ccc; }
.sp-order-row:hover, .sp-order-row:focus-visible { background: #ebebeb; }
.sp-order-row > span { min-width: 0; overflow-wrap: anywhere; }
.sp-order-row > .icon-eye { justify-self: end; }
.sp-compare-item .sp-card__tools { display: none; }
.sp-toolbar__sort-label { min-width: 0; text-align: left; white-space: normal; line-height: 1.1; }
.sp-toolbar__sort > .icon-arrow-down { flex: 0 0 24px; }
.sp-card__image > a { display: block; overflow: hidden; border-radius: 6px; }
.sp-product-tabs .container { max-width: 100% !important; width: 100%; padding-inline: 0 !important; }
.sp-carousel__track { gap: 16px !important; }
.sp-carousel .sp-card { flex: 0 0 300px !important; width: 300px !important; min-width: 0 !important; max-width: 300px; }
.sp-carousel .sp-card__summary { flex-direction: column; gap: 4px; }
.sp-carousel .sp-card { grid-template-rows: auto 84px 24px 54px 54px; }
.sp-carousel .sp-card__summary > a { font-size: 16px; }
.sp-carousel .sp-card__price { font-size: 20px; }
.sp-specifications-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 32px; }
.sp-specifications-layout > .sp-specifications { min-width: 0; max-width: 100%; margin-top: 0; align-content: space-between; }
.sp-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; width: 100%; max-width: 400px; justify-self: end; align-content: start; }
.sp-dimension__drawing { aspect-ratio: 1; border-radius: 8px; background: #fff; display: flex; align-items: center; }
.sp-dimension svg { width: 100%; height: auto; }
.sp-dimension figcaption { margin-top: 8px; font-size: 15px; line-height: 1.3; }
.sp-dimension figcaption span { color: #999; }
.sp-dimension strong { white-space: nowrap; font-weight: 500; }
.sp-review-overview { display: flex; align-items: center; gap: 40px; min-width: 0; }
.sp-review-overview .sp-reviews__summary { flex: 0 1 500px; flex-wrap: wrap; min-width: 0; }
.sp-review-overview .sp-rating-bars { flex: 1; }
.sp-review-gallery { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.sp-review-gallery__track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.sp-review-gallery__track > button { position: relative; flex: 0 0 132px; width: 132px; height: 132px; background: #fff; border-radius: 8px; overflow: hidden; }
.sp-review-gallery__track img, .sp-review-gallery__track video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-review-gallery__previous, .sp-review-gallery__next { flex: 0 0 24px; }
.sp-review-gallery__play { position: absolute; inset: 0; display: grid; place-content: center; color: #fff; text-shadow: 0 1px 4px #000; font-size: 28px; }
@media (max-width: 1179px) {
    .sp-specifications-layout { grid-template-columns: minmax(0, 1fr); }
    .sp-review-overview { gap: 24px; }
}
@media (max-width: 767px) {
    .sp-carousel .sp-card { flex-basis: calc((100% - 16px) / 2) !important; width: calc((100% - 16px) / 2) !important; max-width: none; grid-template-rows: auto 61px 24px 46px; }
    .sp-carousel .sp-card__summary > a { font-size: 14px; }
    .sp-carousel .sp-card__price { font-size: 16px; }
    .sp-review-overview { flex-direction: column; align-items: stretch; }
    .sp-review-overview .sp-reviews__summary { flex: none; width: 100%; }
    .sp-review-gallery__track > button { flex-basis: 96px; width: 96px; height: 96px; }
    .sp-dimensions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sp-product-brand { display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; margin-left: auto; width: 120px; height: 64px; }
.sp-product-brand img { width: 100%; height: 100%; object-fit: contain; }
.sp-square-thumbnail { aspect-ratio: 1; object-fit: contain; object-position: center; }
.sp-order-thumbnail { display: inline-block; width: 64px; height: 64px; margin-right: 12px; vertical-align: middle; }
@media (max-width: 1179px) { .sp-dimensions { justify-self: start; } }
@media (max-width: 767px) { .sp-product-brand { width: 96px; height: 52px; } }
