*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-accent: #e91e8c;
    --color-accent-hover: #c4177a;
    --color-border: #e8e8e8;
    --color-star: #f5a623;
    --color-star-empty: #d4d4d4;
    --color-control-bg: #f3f3f3;
    --color-control-hover: #e8e8e8;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --max-width: 1080px;
}

[data-theme="dark"] {
    --color-bg: #121212;
    --color-surface: #1e1e1e;
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0a0;
    --color-accent: #f04daa;
    --color-accent-hover: #e91e8c;
    --color-border: #333333;
    --color-star: #f5a623;
    --color-star-empty: #555555;
    --color-control-bg: #2a2a2a;
    --color-control-hover: #383838;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    min-width: 0;
}

/* Header */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo__img {
    height: 2rem;
    width: auto;
    max-width: min(160px, 42vw);
}

.site-logo__img--on-dark {
    display: none;
}

[data-theme="dark"] .site-logo__img--on-light {
    display: none;
}

[data-theme="dark"] .site-logo__img--on-dark {
    display: block;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher {
    display: flex;
    background: var(--color-control-bg);
    border-radius: 50px;
    padding: 3px;
    gap: 2px;
}

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.3125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 50px;
    color: var(--color-text-muted);
    transition: background 0.15s, color 0.15s;
}

.lang-switcher__btn:hover {
    color: var(--color-text);
}

.lang-switcher__btn.is-active {
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: var(--color-control-bg);
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--color-control-hover);
}

.theme-toggle__icon--dark {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--light {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--dark {
    display: block;
}

/* Main */
.site-main {
    flex: 1;
    padding: 1.5rem 0 3rem;
}

/* Footer */
.site-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Stars */
.stars {
    display: inline-flex;
    gap: 2px;
    vertical-align: middle;
}

.star {
    font-size: 1.125rem;
    line-height: 1;
}

.star--full {
    color: var(--color-star);
}

.star--half {
    color: var(--color-star);
    opacity: 0.55;
}

.star--empty {
    color: var(--color-star-empty);
}

.rating-value {
    font-weight: 600;
    font-size: 0.9375rem;
}

.rating-count {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* CTA */
.cta-button {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-align: center;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
}

.cta-button:hover {
    background: var(--color-accent-hover);
}

.cta-button:disabled,
.cta-button:disabled:hover {
    opacity: 0.55;
    cursor: not-allowed;
    background: var(--color-accent);
}

.cta-button--secondary {
    background: var(--color-text);
    max-width: 240px;
}

.cta-button--secondary:hover {
    background: var(--color-control-hover);
}

[data-theme="dark"] .cta-button--secondary {
    background: var(--color-control-bg);
    color: var(--color-text);
}

[data-theme="dark"] .cta-button--secondary:hover {
    background: var(--color-control-hover);
}

/* Home */
.home__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.home__subtitle {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.product-section {
    margin-bottom: 2.5rem;
}

.product-section:last-child {
    margin-bottom: 0;
}

.product-section__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
}

.price--old {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-card__price,
.landing__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.landing__price {
    margin-top: 0;
}

.landing__price .price {
    font-size: 1.25rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.product-card {
    display: flex;
    gap: 1rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.product-card__image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
}

.product-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    font-weight: 600;
}

.product-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.product-card__rating .star {
    font-size: 0.875rem;
}

/* Landing */
.landing {
    padding: 0.25rem 0 0.5rem;
}

.landing__hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.landing__gallery {
    width: 100%;
    max-width: min(100%, 28rem);
    margin: 0 auto;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.gallery__main {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
}

.gallery__main:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.gallery__main-image,
.gallery__main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--color-bg);
}

.gallery__main-image[hidden],
.gallery__main-video[hidden] {
    display: none;
}

.gallery__main-video {
    background: #000;
}

.gallery__counter {
    position: absolute;
    right: 0.625rem;
    bottom: 0.625rem;
    z-index: 2;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    pointer-events: none;
}

[data-theme="dark"] .gallery__counter {
    background: rgba(0, 0, 0, 0.72);
}

.gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

[data-theme="dark"] .gallery__nav {
    background: rgba(30, 30, 30, 0.92);
}

.gallery__nav:hover {
    background: var(--color-surface);
    border-color: var(--color-accent);
}

.gallery__nav:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.gallery__nav--prev {
    left: 0.5rem;
}

.gallery__nav--next {
    right: 0.5rem;
}

.gallery__nav span {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    margin: 0 auto;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.gallery__nav--prev span {
    transform: translateX(15%) rotate(-135deg);
}

.gallery__nav--next span {
    transform: translateX(-15%) rotate(45deg);
}

.gallery__thumbs-track {
    position: relative;
    min-width: 0;
}

.gallery__thumbs-track::before,
.gallery__thumbs-track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1.25rem;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery__thumbs-track::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg), transparent);
}

.gallery__thumbs-track::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg), transparent);
}

.gallery__thumbs-track.is-scrollable:not(.is-scrolled-start)::before,
.gallery__thumbs-track.is-scrollable:not(.is-scrolled-end)::after {
    opacity: 1;
}

.gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 0.125rem 0.25rem 0.25rem;
}

.gallery__thumbs.is-hidden {
    display: none;
}

.gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.gallery__thumb {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-surface);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    position: relative;
    scroll-snap-align: start;
}

.gallery__thumb:hover {
    transform: scale(1.04);
}

.gallery__thumb--video {
    background: #fff;
}

.gallery__thumb-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.gallery__thumb-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 4px 0 4px 7px;
    border-color: transparent transparent transparent var(--color-accent);
}

.gallery__thumb.is-active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-surface), 0 0 0 2px var(--color-accent);
}

.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variant-picker {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    padding: 0.875rem 0.75rem 0.75rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.variant-picker__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0 0.125rem;
}

.variant-picker__selected {
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1.3;
    margin-bottom: 0;
    min-width: 0;
    flex: 1;
}

.variant-picker__toggle {
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
    white-space: nowrap;
}

.variant-picker__toggle:hover {
    color: var(--color-accent);
}

.variant-picker__track {
    position: relative;
    min-width: 0;
}

.variant-picker__track::before,
.variant-picker__track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1.25rem;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.variant-picker__track::before {
    left: 0;
    background: linear-gradient(to right, var(--color-surface), transparent);
}

.variant-picker__track::after {
    right: 0;
    background: linear-gradient(to left, var(--color-surface), transparent);
}

.variant-picker__track.is-scrollable.is-scrolled-start::before,
.variant-picker__track.is-scrollable.is-scrolled-end::after {
    opacity: 0;
}

.variant-picker__track.is-scrollable:not(.is-scrolled-start)::before,
.variant-picker__track.is-scrollable:not(.is-scrolled-end)::after {
    opacity: 1;
}

.variant-picker__swatches {
    gap: 0.625rem;
}

.variant-picker__swatches.is-collapsed {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 0.125rem 0.125rem 0.25rem;
}

.variant-picker__swatches.is-collapsed::-webkit-scrollbar {
    display: none;
}

.variant-picker__swatches.is-expanded {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem 0.5rem;
    max-height: none;
    padding: 0.125rem;
}

.variant-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    min-width: 0;
    scroll-snap-align: start;
}

.variant-picker__swatches.is-collapsed .variant-swatch {
    flex: 0 0 auto;
    width: 3.25rem;
}

.variant-swatch__color {
    position: relative;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}

[data-theme="dark"] .variant-swatch__color {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.variant-swatch:hover .variant-swatch__color {
    transform: scale(1.04);
}

.variant-swatch.is-active .variant-swatch__color::after {
    content: "";
    position: absolute;
    right: -0.0625rem;
    bottom: -0.0625rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background-color: var(--color-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.6875rem;
    box-shadow: 0 0 0 2px var(--color-surface);
    pointer-events: none;
    z-index: 1;
}

.variant-swatch.is-active.is-unavailable .variant-swatch__color::after {
    background-color: var(--color-text-muted);
}

.variant-swatch.is-active .variant-swatch__color {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.variant-swatch__name {
    font-size: 0.625rem;
    text-align: center;
    color: var(--color-text-muted);
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.variant-picker__swatches.is-collapsed .variant-swatch__name {
    display: none;
}

.variant-picker__swatches.is-expanded .variant-swatch__name {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.6875rem;
    line-height: 1.25;
    min-height: 2.5em;
}

.variant-swatch.is-active .variant-swatch__name {
    color: var(--color-text);
    font-weight: 600;
}

.variant-swatch.is-unavailable {
    cursor: pointer;
    opacity: 0.55;
}

.variant-swatch.is-unavailable:hover .variant-swatch__color {
    transform: scale(1.04);
}

.variant-swatch.is-unavailable .variant-swatch__color::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(
        to top right,
        transparent calc(50% - 1px),
        var(--color-text-muted) calc(50% - 1px),
        var(--color-text-muted) calc(50% + 1px),
        transparent calc(50% + 1px)
    );
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

.variant-swatch__status {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.5625rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: lowercase;
}

.variant-picker__swatches.is-collapsed .variant-swatch__status {
    display: none;
}

.is-hidden {
    display: none !important;
}

.order-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    padding: 0.875rem;
    margin-top: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.order-form__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.order-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.625rem;
    font-size: 0.8125rem;
}

.order-form__field input,
.order-form__field textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-text);
    font: inherit;
}

.order-form__field input:focus,
.order-form__field textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 1px;
}

.order-form__submit {
    width: 100%;
    max-width: none;
    margin-top: 0.25rem;
}

.order-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.recaptcha-widget {
    margin: 0.25rem 0 1rem;
}

.recaptcha-widget__frame {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 78px;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-control-bg);
    overflow: hidden;
}

.recaptcha-widget__slot {
    display: flex;
    justify-content: center;
    min-height: 78px;
    line-height: 0;
}

.recaptcha-widget__slot > div {
    line-height: 0;
}

[data-theme="dark"] .recaptcha-widget--order {
    margin: 0.375rem 0 1rem;
}

[data-theme="dark"] .recaptcha-widget--order .recaptcha-widget__frame {
    display: contents;
}

[data-theme="dark"] .recaptcha-widget--order .recaptcha-widget__slot {
    justify-content: flex-start;
    min-height: 0;
}

@media (max-width: 400px) {
    .recaptcha-widget__frame {
        padding: 0.5rem;
    }

    [data-theme="dark"] .recaptcha-widget--order .recaptcha-widget__slot > div {
        transform: scale(0.94);
        transform-origin: left center;
    }

    .recaptcha-widget:not(.recaptcha-widget--order) .recaptcha-widget__slot > div {
        transform: scale(0.92);
        transform-origin: center center;
    }
}

.order-form__message {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    padding: 0.75rem;
    border-radius: 8px;
}

.order-form__message.is-success {
    background: #e8f7ee;
    color: #1b6b3a;
}

.order-form__message.is-error {
    background: #fdecec;
    color: #9b1c1c;
}

[data-theme="dark"] .order-form__message.is-success {
    background: #1a3d2a;
    color: #8fdfaa;
}

[data-theme="dark"] .order-form__message.is-error {
    background: #3d1a1a;
    color: #f0a0a0;
}

.landing__details {
    margin-top: 1.25rem;
    width: 100%;
}

.product-tabs {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    background: var(--color-surface);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-tabs__nav {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.product-tabs__nav::-webkit-scrollbar {
    display: none;
}

.product-tabs__tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0.9375rem 0.875rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-text-muted);
    font: inherit;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.product-tabs__tab:hover {
    color: var(--color-text);
}

.product-tabs__tab.is-active {
    color: var(--color-text);
}

.product-tabs__tab.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1.5rem;
    height: 2px;
    transform: translateX(-50%);
    background: var(--color-accent);
    border-radius: 2px 2px 0 0;
}

.product-tabs__tab:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
    z-index: 1;
}

.product-tabs__icon {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    color: var(--color-text-muted);
    position: relative;
    opacity: 0.65;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.product-tabs__tab:hover .product-tabs__icon {
    opacity: 0.85;
}

.product-tabs__tab.is-active .product-tabs__icon {
    color: var(--color-accent);
    opacity: 1;
}

.product-tabs__icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: currentColor;
    mask: var(--product-section-icon) center / contain no-repeat;
    -webkit-mask: var(--product-section-icon) center / contain no-repeat;
}

.product-tabs__tab[data-section="description"] {
    --product-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");
}

.product-tabs__tab[data-section="results"] {
    --product-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z'/%3E%3C/svg%3E");
}

.product-tabs__tab[data-section="tips"] {
    --product-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E");
}

.product-tabs__tab[data-section="pack"] {
    --product-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z'/%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7'/%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3C/svg%3E");
}

.product-tabs__tab[data-section="ingredients"] {
    --product-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v7.31'/%3E%3Cpath d='M14 9.3V2'/%3E%3Cpath d='M8.5 2h7'/%3E%3Cpath d='M14 9.3a6.5 6.5 0 1 1-4 0'/%3E%3Cpath d='M5.52 16h12.96'/%3E%3C/svg%3E");
}

.product-tabs__tab[data-section="disposal"] {
    --product-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6'/%3E%3Cpath d='M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2'/%3E%3Cline x1='10' x2='10' y1='11' y2='17'/%3E%3Cline x1='14' x2='14' y1='11' y2='17'/%3E%3C/svg%3E");
}

.product-tabs__panels {
    position: relative;
    min-height: 3.5rem;
    padding: 0 1.125rem 1.375rem;
}

.product-tabs__panel[hidden] {
    display: none !important;
}

.product-tabs__panel.is-active .product-tabs__content {
    animation: product-tab-fade 0.22s ease;
}

@keyframes product-tab-fade {
    from {
        opacity: 0;
        transform: translateY(0.35rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-tabs__content {
    padding: 1.125rem 0 0;
    color: var(--color-text);
    font-size: 0.9375rem;
    line-height: 1.8;
    opacity: 0.82;
}

.product-tabs__panel[data-section="ingredients"] .product-tabs__content {
    font-size: 0.8125rem;
    line-height: 1.75;
    word-break: break-word;
    opacity: 0.78;
}

.product-tabs__content br + br {
    display: block;
    content: "";
    margin-top: 0.65rem;
}

@media (max-width: 767px) {
    .product-tabs__nav {
        justify-content: stretch;
    }

    .product-tabs__tab {
        flex: 1;
        min-width: 2.75rem;
        padding: 0.9375rem 0.25rem;
    }

    .product-tabs__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .product-tabs__icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .product-tabs__panels {
        padding: 0 1rem 1.25rem;
    }
}

@media (min-width: 768px) {
    .product-tabs__nav {
        flex-wrap: nowrap;
        overflow-x: visible;
    }

    .product-tabs__tab {
        flex: 1;
        font-size: 0.75rem;
        padding: 1rem 0.75rem;
        gap: 0.5rem;
    }

    .product-tabs__tab.is-active::after {
        left: 1rem;
        right: 1rem;
        width: auto;
        transform: none;
    }

    .product-tabs__panels {
        padding: 0 1.375rem 1.5rem;
    }

    .product-tabs__content {
        padding-top: 1.25rem;
    }
}

.landing__description {
    margin-top: 2.5rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.landing__description-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--color-border);
}

.landing__description-text {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.landing__info {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    min-width: 0;
    max-width: 100%;
}

.landing__pitch {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.landing__pitch .landing__desc {
    margin: 0;
}

.landing__pitch .landing__benefits {
    margin: 0;
}

.landing__summary {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.landing__header {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.landing__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.landing__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    line-height: 1.2;
    min-width: 0;
}

.landing__meta .landing__category::before {
    content: "·";
    margin-right: 0.375rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.landing__headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.625rem;
}

.landing__headline .landing__title {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.landing__headline .landing__price {
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0;
    text-align: right;
}

.landing__headline .landing__price .price {
    font-size: 1.125rem;
    line-height: 1.2;
}

.landing__headline .landing__price .price--old {
    margin-left: 0;
    font-size: 0.75rem;
}

.landing__rating {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
    flex-shrink: 0;
}

.landing__rating .star {
    font-size: 0.75rem;
}

.landing__rating .rating-value {
    font-size: 0.75rem;
}

.landing__rating .rating-count {
    font-size: 0.6875rem;
}

.variant-picker--embedded {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.625rem 0 0;
    margin-top: 0.625rem;
    border-top: 1px solid var(--color-border);
}

.variant-picker--embedded .variant-picker__head {
    margin-bottom: 0.625rem;
    padding: 0;
    gap: 0.5rem;
}

.variant-picker__aside {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.625rem;
}

.variant-picker__price {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    line-height: 1.2;
}

.variant-picker__price .price {
    font-size: 1rem;
    font-weight: 700;
}

.variant-picker__price .price--old {
    margin-left: 0;
    font-size: 0.6875rem;
}

@media (max-width: 639px) {
    .site-main:has(.landing) {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .gallery__thumbs {
        gap: 0.375rem;
    }

    .gallery__thumb {
        width: 3.125rem;
        height: 3.125rem;
    }

    .gallery__nav {
        width: 1.75rem;
        height: 1.75rem;
    }

    .product-tabs__content {
        font-size: 0.875rem;
        line-height: 1.65;
    }
}

@media (max-width: 420px) {
    .variant-picker__head {
        flex-wrap: wrap;
    }

    .variant-picker__aside {
        width: 100%;
        justify-content: space-between;
    }
}

.landing__brand {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.landing__category {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    font-weight: 600;
    line-height: 1.2;
}

.landing__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
}

.landing__desc {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.landing__benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
}

.landing__benefits li {
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.landing__benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* 404 */
.not-found {
    text-align: center;
    padding: 3rem 0;
}

.not-found h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.not-found p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Tablet+ */
@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-main:has(.landing) {
        padding-top: 1.25rem;
    }

    .landing {
        padding-bottom: 1rem;
    }

    .landing__hero {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }

    .landing__gallery {
        flex: 0 0 44%;
        max-width: none;
        margin: 0;
        position: sticky;
        top: 1rem;
    }

    .gallery__thumb {
        width: 3.75rem;
        height: 3.75rem;
    }

    .landing__info {
        flex: 1;
        padding-top: 0;
        gap: 0.75rem;
    }

    .landing__title {
        font-size: 1.375rem;
    }

    .landing__benefits {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.375rem 1rem;
    }

    .variant-picker__price .price {
        font-size: 1.125rem;
    }

    .variant-picker__swatches.is-expanded {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .landing__gallery {
        max-width: none;
    }

    .gallery__thumb {
        width: 3.75rem;
        height: 3.75rem;
    }

    .landing__details {
        margin-top: 1.75rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --max-width: 1120px;
    }

    .landing__hero {
        gap: 2.5rem;
    }

    .landing__gallery {
        flex-basis: 42%;
    }

    .landing__title {
        font-size: 1.5rem;
    }

    .landing__desc {
        font-size: 0.875rem;
    }

    .landing__benefits li {
        font-size: 0.875rem;
    }

    .order-form {
        padding: 1rem;
    }

    .order-form__field {
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 768px) {
    .home__title {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.site-footer__bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.35rem 0;
    text-align: center;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
}

.site-footer__col--nav {
    gap: 0;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 0;
}

.site-footer__nav a {
    color: inherit;
    text-decoration: none;
    font-size: 0.8125rem;
    opacity: 0.9;
    transition: opacity 0.15s ease, color 0.15s ease;
    padding: 0.15rem 0.65rem;
}

.site-footer__nav a:not(:last-child)::after {
    content: "·";
    margin-left: 0.65rem;
    opacity: 0.45;
    pointer-events: none;
}

.site-footer__nav a:hover {
    opacity: 1;
    color: var(--color-text);
}

.site-footer__nav-contact {
    opacity: 0.8;
}

.site-footer__copy {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.82;
    white-space: nowrap;
}

.site-footer__credit {
    font-size: 0.8125rem;
    opacity: 0.82;
    white-space: nowrap;
}

.site-footer__credit a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    opacity: 1;
}

.site-footer__credit a:hover {
    text-decoration: underline;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .site-footer__bar {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 2rem;
    }

    .site-footer__col--copy {
        justify-self: start;
        align-items: flex-start;
        text-align: left;
    }

    .site-footer__col--nav {
        justify-self: center;
        align-items: center;
        text-align: center;
    }

    .site-footer__col--credit {
        justify-self: end;
        align-items: flex-end;
        text-align: right;
    }
}

@media (max-width: 767px) {
    .site-footer__copy,
    .site-footer__credit {
        white-space: normal;
    }
}

.legal-page {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.legal-page__title {
    margin: 0 0 1.5rem;
    font-size: 1.75rem;
    line-height: 1.25;
}

.legal-page__section {
    margin-bottom: 1.5rem;
}

.legal-page__section h2 {
    margin: 0 0 0.625rem;
    font-size: 1.125rem;
}

.legal-page__section p {
    margin: 0 0 0.75rem;
    line-height: 1.6;
    color: var(--text-muted, #52525b);
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 22rem;
    margin: 0 auto;
    padding: 1rem 1.125rem 1.125rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow), 0 12px 40px rgba(0, 0, 0, 0.14);
    animation: cookie-banner-in 0.35s ease;
}

@keyframes cookie-banner-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner__icon {
    font-size: 1.125rem;
    line-height: 1;
}

.cookie-banner__title {
    font-size: 0.9375rem;
    font-weight: 600;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.cookie-banner__btn {
    min-width: 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cookie-banner__btn--accept {
    background: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-surface);
}

.cookie-banner__btn--accept:hover {
    opacity: 0.92;
}

.cookie-banner__btn--reject {
    background: var(--color-control-bg);
    border-color: var(--color-border);
    color: var(--color-text);
}

.cookie-banner__btn--reject:hover {
    background: var(--color-control-hover);
}

@media (min-width: 640px) {
    .cookie-banner {
        right: 1.25rem;
        left: auto;
        bottom: 1.25rem;
        margin: 0;
    }
}
