html {
    scroll-behavior: smooth;
}

:root {
    --bg-warm-top: #d8c5b5;
    --bg-warm-mid: #ccb8a8;
    --bg-warm-bottom: #bca795;
    --bg-warm-glow: rgba(206, 152, 103, 0.18);
    --bg-warm-fog: rgba(255, 244, 230, 0.35);
    --frame-border: rgba(107, 77, 52, 0.28);
    --frame-border-soft: rgba(107, 77, 52, 0.2);
    --panel-warm: rgba(250, 242, 233, 0.96);
}

body {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    background:
        linear-gradient(180deg, var(--bg-warm-top) 0%, var(--bg-warm-mid) 40%, var(--bg-warm-bottom) 100%);
}

body.search-modal-open {
    overflow: hidden;
}

body.card-payment-modal-open {
    overflow: hidden;
}

body.page-transition-ready main {
    opacity: 0.985;
    transition: opacity 0.12s ease;
}

body.page-transition-entered main {
    opacity: 1;
}

body.page-transition-ready.page-is-leaving main {
    opacity: 0.88;
}

body.page-is-loading main {
    cursor: progress;
}

.page-soft-enter {
    opacity: 0.96;
    transition: opacity 0.12s ease;
}

.page-soft-enter.page-soft-entered {
    opacity: 1;
}

.htmx-soft-loading {
    opacity: 0.86;
    transition: opacity 0.1s ease;
}

.htmx-soft-enter {
    opacity: 0.96;
    transition: opacity 0.14s ease;
}

.htmx-soft-enter.htmx-soft-entered {
    opacity: 1;
}

.footer-shell {
    background:
        linear-gradient(180deg, #8d7a70 0%, #78675f 48%, #62544f 100%);
}

.footer-pattern {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 80% 82%, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 2px, transparent 2px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%);
    background-size: auto, 120px 120px, 140px 140px, 34px 34px, 34px 34px;
    background-position: center, 0 0, 20px 20px, 0 0, 17px 17px;
}

a,
button {
    transition:
        color 0.24s ease,
        background-color 0.24s ease,
        border-color 0.24s ease,
        opacity 0.24s ease;
}

input,
select,
textarea {
    border-radius: 0.75rem !important;
}

.filter-number-input {
    min-height: 2.65rem;
    padding-right: 0.75rem !important;
    line-height: 1.25;
    -moz-appearance: textfield;
    appearance: textfield;
}

.filter-number-input::-webkit-outer-spin-button,
.filter-number-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.filter-panel {
    overflow: hidden;
    border: 1px solid rgba(138, 111, 90, 0.14);
    background: rgba(246, 238, 229, 0.74);
    box-shadow: 0 1px 0 rgba(255, 252, 248, 0.72) inset;
}

.filter-color-panel {
    overflow: visible;
}

.catalog-color-filter {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.catalog-color-filter__swatch {
    --filter-color: #a8a29e;
    display: block;
    width: 2.15rem;
    height: 2.15rem;
    border: 2px solid rgba(52, 46, 41, 0.2);
    border-radius: 0.55rem;
    background: var(--filter-color);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.58);
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.catalog-color-filter:hover .catalog-color-filter__swatch,
.catalog-color-filter__input:focus-visible + .catalog-color-filter__swatch {
    transform: translateY(-2px);
    border-color: #342e29;
}

.catalog-color-filter__input:focus-visible + .catalog-color-filter__swatch {
    outline: 2px solid #8a6f5a;
    outline-offset: 3px;
}

.catalog-color-filter__input:checked + .catalog-color-filter__swatch {
    border-color: #342e29;
    box-shadow: 0 0 0 2px #f6eee5, 0 0 0 4px #342e29,
        inset 0 0 0 2px rgba(255, 255, 255, 0.58);
}

.catalog-color-filter::after {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.55rem);
    z-index: 30;
    width: max-content;
    max-width: 12rem;
    transform: translate(-50%, 0.25rem);
    border-radius: 0.45rem;
    padding: 0.35rem 0.55rem;
    background: #342e29;
    color: #fff;
    content: attr(data-color-name);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 120ms ease, transform 120ms ease;
}

.catalog-color-filter:hover::after,
.catalog-color-filter:focus-within::after {
    transform: translate(-50%, 0);
    opacity: 1;
}

.filter-field {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.filter-field span {
    color: #7a6a5d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.filter-input {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    border: 1px solid rgba(138, 111, 90, 0.22) !important;
    background: rgba(252, 247, 241, 0.92) !important;
    color: #342e29;
    font-size: 0.92rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.filter-input:focus {
    border-color: rgba(138, 111, 90, 0.58) !important;
    box-shadow: 0 0 0 4px rgba(138, 111, 90, 0.09) !important;
}

.filter-drawer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    border: 1px solid rgba(138, 111, 90, 0.18);
    border-radius: 1rem;
    background: rgba(246, 238, 229, 0.72);
    padding: 0.9rem 1rem;
    cursor: pointer;
    list-style: none;
}

.filter-drawer__summary::-webkit-details-marker {
    display: none;
}

.filter-drawer__eyebrow,
.filter-drawer__title {
    display: block;
}

.filter-drawer__eyebrow {
    color: #857568;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.filter-drawer__title {
    margin-top: 0.2rem;
    color: #342e29;
    font-size: 1.15rem;
    font-weight: 700;
}

.filter-drawer__toggle {
    flex: 0 0 auto;
    border-radius: 0.8rem;
    background: #8a6f5a;
    padding: 0.5rem 0.75rem;
    color: #fffaf5;
    font-size: 0.78rem;
    font-weight: 700;
}

.filter-drawer:not([open]) .filter-drawer__toggle {
    background: #342e29;
    font-size: 0;
}

.filter-drawer:not([open]) .filter-drawer__toggle::after {
    content: "Показать";
    font-size: 0.78rem;
}

.category-hero-panel {
    border: 1px solid rgba(138, 111, 90, 0.2);
    background:
        linear-gradient(135deg, rgba(250, 244, 237, 0.98) 0%, rgba(238, 226, 214, 0.96) 52%, rgba(220, 202, 185, 0.94) 100%);
}

.category-stat-card {
    border: 1px solid rgba(138, 111, 90, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 250, 245, 0.72), rgba(239, 228, 217, 0.82));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.74) inset;
}

.catalog-panel,
.catalog-hero-panel {
    border-color: rgba(138, 111, 90, 0.2);
    background:
        linear-gradient(180deg, rgba(248, 240, 231, 0.98) 0%, rgba(238, 226, 214, 0.96) 60%, rgba(226, 209, 192, 0.94) 100%);
}

.catalog-hero-panel {
    background:
        linear-gradient(135deg, rgba(250, 244, 237, 0.98) 0%, rgba(238, 226, 214, 0.96) 52%, rgba(220, 202, 185, 0.94) 100%);
}

.catalog-tile {
    border-color: rgba(138, 111, 90, 0.16);
    background:
        linear-gradient(180deg, rgba(246, 238, 229, 0.9), rgba(226, 209, 192, 0.82));
}

.catalog-seo-panel {
    border: 1px solid rgba(138, 111, 90, 0.22);
    background:
        linear-gradient(135deg, rgba(229, 214, 198, 0.96), rgba(201, 181, 162, 0.94));
}

.catalog-select {
    border-color: rgba(138, 111, 90, 0.24) !important;
    background-color: rgba(246, 238, 229, 0.88) !important;
    color: #342e29;
}

.home-benefits-panel {
    border: 1px solid rgba(138, 111, 90, 0.2);
    background:
        linear-gradient(180deg, rgba(248, 240, 231, 0.98) 0%, rgba(238, 226, 214, 0.96) 60%, rgba(226, 209, 192, 0.94) 100%);
}

.home-benefit-card {
    border: 1px solid rgba(138, 111, 90, 0.16);
    background:
        linear-gradient(180deg, rgba(246, 238, 229, 0.92), rgba(226, 209, 192, 0.82));
}

.payment-method-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(138, 111, 90, 0.18);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(246, 238, 229, 0.92), rgba(226, 209, 192, 0.82));
    padding: 0.9rem;
    cursor: pointer;
}

.payment-method-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method-card:has(input:checked) {
    border-color: rgba(95, 122, 82, 0.54);
    box-shadow: 0 0 0 3px rgba(95, 122, 82, 0.12);
}

.payment-method-card__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.4rem;
    height: 3rem;
    border: 1px solid rgba(138, 111, 90, 0.14);
    border-radius: 0.85rem;
    background: rgba(255, 250, 245, 0.84);
    padding: 0.45rem;
}

.payment-method-card__logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-method-card__cash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 0.65rem;
    background: #342e29;
    color: #fffaf5;
    font-weight: 800;
}

.payment-method-card__text span,
.payment-method-card__text small {
    display: block;
}

.payment-method-card__text span {
    color: #342e29;
    font-weight: 800;
}

.payment-method-card__text small {
    margin-top: 0.15rem;
    color: #716459;
    font-size: 0.76rem;
}

.checkout-error-summary {
    border: 1px solid rgba(185, 72, 72, 0.28);
    border-radius: 1.2rem;
    background: #fff1f1;
    padding: 1rem;
    color: #7f1d1d;
}

.checkout-error-summary strong,
.checkout-error-summary span {
    display: block;
}

.checkout-error-summary strong {
    font-weight: 900;
}

.checkout-error-summary span {
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

.checkout-error-summary ul {
    margin-top: 0.75rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    list-style: disc;
}

.checkout-field--error input,
.checkout-field--error textarea,
.checkout-field--error select {
    border-color: rgba(185, 72, 72, 0.62) !important;
    box-shadow: 0 0 0 3px rgba(185, 72, 72, 0.1);
}

.checkout-field-error {
    margin-top: 0.45rem;
    color: #9f1d1d;
    font-size: 0.86rem;
    font-weight: 800;
}

.payment-demo-panel,
.payment-summary-card {
    border: 1px solid rgba(138, 111, 90, 0.2);
    background: linear-gradient(180deg, rgba(248, 240, 231, 0.98), rgba(226, 209, 192, 0.94));
}

.payment-checkout-page {
    min-height: calc(100vh - 7rem);
    background: #f6f3ef;
    padding: 2rem 1rem;
}

.payment-checkout-shell {
    max-width: 72rem;
    margin: 0 auto;
    border: 1px solid rgba(52, 46, 41, 0.1);
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 18px 46px rgba(52, 46, 41, 0.09);
    overflow: hidden;
}

.payment-checkout-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(52, 46, 41, 0.08);
    padding: 1rem 1.25rem;
}

.payment-back-link {
    color: #5f554d;
    font-size: 0.9rem;
    font-weight: 800;
}

.payment-checkout-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #342e29;
    font-weight: 900;
}

.payment-checkout-brand span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
    background: #342e29;
    color: #fffaf5;
    font-size: 0.72rem;
}

.payment-checkout-grid {
    display: grid;
    gap: 0;
}

@media (min-width: 900px) {
    .payment-checkout-grid {
        grid-template-columns: minmax(0, 1fr) 22rem;
    }
}

.payment-main-panel {
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.payment-method-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-method-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.8rem;
    height: 3.5rem;
    border: 1px solid rgba(52, 46, 41, 0.1);
    border-radius: 1rem;
    background: #faf8f5;
    padding: 0.65rem;
}

.payment-method-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-method-logo span {
    color: #342e29;
    font-size: 1.6rem;
    font-weight: 900;
}

.payment-method-identity p {
    color: #7a6a5d;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.payment-method-identity h1 {
    margin-top: 0.25rem;
    color: #342e29;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 900;
}

.payment-amount-block {
    margin-top: 2rem;
    border-bottom: 1px solid rgba(52, 46, 41, 0.1);
    padding-bottom: 1.6rem;
}

.payment-amount-block span,
.payment-amount-block small {
    display: block;
    color: #716459;
    font-size: 0.95rem;
}

.payment-amount-block strong {
    display: block;
    margin-top: 0.35rem;
    color: #342e29;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
}

.payment-amount-block small {
    margin-top: 0.5rem;
}

.payment-status-line {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
    color: #4f6b44;
    font-size: 0.95rem;
    font-weight: 900;
}

.payment-status-line__dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: #5f7a52;
    box-shadow: 0 0 0 4px rgba(95, 122, 82, 0.12);
}

.payment-action-area {
    margin-top: 1.7rem;
}

.payment-action-copy h2 {
    color: #342e29;
    font-size: 1.35rem;
    font-weight: 900;
}

.payment-action-copy p {
    max-width: 36rem;
    margin-top: 0.45rem;
    color: #64594f;
    font-size: 0.98rem;
    line-height: 1.7;
}

.payment-qr-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 18.5rem);
    margin-top: 1.2rem;
    border: 1px solid rgba(52, 46, 41, 0.12);
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
}

.payment-qr-large img {
    display: block;
    width: 100%;
    height: auto;
}

.payment-bank-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.payment-bank-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.4rem;
    border: 1px solid rgba(52, 46, 41, 0.12);
    border-radius: 999px;
    background: #fff;
    padding: 0.45rem 0.8rem;
    color: #342e29;
    font-size: 0.85rem;
    font-weight: 800;
}

.payment-bank-chip span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--bank-accent);
}

.payment-bank-chip.is-selected {
    border-color: rgba(95, 122, 82, 0.5);
    background: #f1f6ed;
}

.payment-app-preview {
    max-width: 23rem;
    border: 1px solid rgba(52, 46, 41, 0.1);
    border-radius: 1.2rem;
    background: #faf8f5;
    padding: 1.15rem;
}

.payment-app-preview__top {
    color: #342e29;
    font-weight: 900;
}

.payment-app-preview__merchant {
    margin-top: 1rem;
    color: #716459;
    font-size: 0.9rem;
}

.payment-app-preview__amount {
    margin-top: 0.25rem;
    color: #342e29;
    font-size: 2.2rem;
    font-weight: 900;
}

.payment-app-preview__notice {
    margin-top: 1rem;
    border-radius: 0.9rem;
    background: #eef5ea;
    padding: 0.8rem;
    color: #4f6b44;
    font-size: 0.9rem;
    font-weight: 900;
}

.payment-card-secure {
    max-width: 28rem;
    border: 1px solid rgba(52, 46, 41, 0.1);
    border-radius: 1.2rem;
    background: #faf8f5;
    padding: 1.15rem;
}

.payment-card-secure__logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-card-secure__logo img {
    width: 5.5rem;
    height: 2.2rem;
    object-fit: contain;
}

.payment-card-secure__logo span {
    color: #5f554d;
    font-size: 0.9rem;
    font-weight: 900;
}

.payment-card-secure label span {
    display: block;
    margin-bottom: 0.45rem;
    color: #5f554d;
    font-size: 0.82rem;
    font-weight: 900;
}

.payment-card-secure input {
    width: 100%;
    border: 1px solid rgba(52, 46, 41, 0.16);
    border-radius: 0.8rem;
    background: #fff;
    padding: 0.95rem 1rem;
    color: #342e29;
    font-weight: 900;
}

.payment-card-secure p {
    margin-top: 0.8rem;
    color: #64594f;
    font-size: 0.9rem;
    line-height: 1.6;
}

.payment-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.7rem;
}

@media (min-width: 560px) {
    .payment-actions {
        grid-template-columns: minmax(12rem, 18rem) minmax(8rem, 12rem);
    }
}

.payment-primary-button,
.payment-secondary-button {
    min-height: 3.15rem;
    border-radius: 0.9rem;
    font-size: 0.95rem;
    font-weight: 900;
}

.payment-primary-button {
    background: #342e29;
    color: #fffaf5;
}

.payment-secondary-button {
    border: 1px solid rgba(52, 46, 41, 0.16);
    background: #fff;
    color: #342e29;
}

.payment-order-panel {
    border-top: 1px solid rgba(52, 46, 41, 0.08);
    background: #faf8f5;
    padding: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 900px) {
    .payment-order-panel {
        border-top: 0;
        border-left: 1px solid rgba(52, 46, 41, 0.08);
    }
}

.payment-order-panel h2 {
    color: #342e29;
    font-size: 1.2rem;
    font-weight: 900;
}

.payment-order-panel dl {
    display: grid;
    gap: 0;
    margin-top: 1rem;
}

.payment-order-panel dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(52, 46, 41, 0.08);
    padding: 0.85rem 0;
}

.payment-order-panel dt {
    color: #716459;
    font-size: 0.9rem;
}

.payment-order-panel dd {
    max-width: 13rem;
    color: #342e29;
    font-size: 0.92rem;
    font-weight: 900;
    text-align: right;
    overflow-wrap: anywhere;
}

.payment-order-panel__total dd {
    font-size: 1.15rem;
}

.payment-security-note {
    margin-top: 1.2rem;
    border-radius: 1rem;
    background: #eef5ea;
    padding: 1rem;
}

.payment-security-note strong,
.payment-security-note span {
    display: block;
}

.payment-security-note strong {
    color: #4f6b44;
    font-weight: 900;
}

.payment-security-note span {
    margin-top: 0.35rem;
    color: #5f554d;
    font-size: 0.9rem;
    line-height: 1.55;
}

.payment-later-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    margin-top: 1rem;
    border-radius: 0.9rem;
    color: #5f554d;
    font-size: 0.92rem;
    font-weight: 900;
}

.payment-bank-header {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #302923 0%, #5f4a3a 52%, #7a5d48 100%);
    padding: 2rem;
}

.payment-demo-panel--sber .payment-bank-header {
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #123f2a 0%, #1f7a45 58%, #7cb342 100%);
}

.payment-demo-panel--tpay .payment-bank-header {
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #2d2612 0%, #8b6b14 56%, #f2c94c 100%);
}

.payment-demo-panel--sbp .payment-bank-header {
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #172d55 0%, #4b4aa7 52%, #20a3a6 100%);
}

.payment-demo-panel--card .payment-bank-header {
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #2f2924 0%, #6a5141 52%, #9a7a5e 100%);
}

@media (min-width: 768px) {
    .payment-bank-header {
        grid-template-columns: 1fr auto;
    }
}

.payment-bank-header__logos {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-bank-header__logos img {
    width: 7.2rem;
    height: 3.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.9rem;
    background: rgba(255, 250, 245, 0.92);
    padding: 0.55rem;
    object-fit: contain;
}

.payment-bank-header__token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7.2rem;
    height: 3.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.9rem;
    background: rgba(255, 250, 245, 0.14);
    color: #fffaf5;
    font-size: 0.8rem;
    font-weight: 900;
}

.payment-summary-strip {
    display: grid;
    gap: 0.8rem;
}

@media (min-width: 640px) {
    .payment-summary-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.payment-summary-strip > div {
    min-width: 0;
    border: 1px solid rgba(138, 111, 90, 0.16);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.72), rgba(239, 228, 217, 0.82));
    padding: 1rem;
}

.payment-summary-strip span {
    display: block;
    color: #7a6a5d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.payment-summary-strip strong {
    display: block;
    margin-top: 0.35rem;
    color: #342e29;
    font-size: 1.08rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.payment-provider-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    border: 1px solid rgba(138, 111, 90, 0.18);
    border-radius: 1rem;
    background: rgba(255, 250, 245, 0.78);
    padding: 1rem;
    text-align: center;
    color: #342e29;
    font-weight: 800;
}

.payment-provider-card img {
    display: block;
    max-width: 100%;
    max-height: 2.35rem;
    object-fit: contain;
}

.payment-process-card,
.payment-scenario-card,
.payment-card-form,
.receipt-card {
    border: 1px solid rgba(138, 111, 90, 0.18);
    background: linear-gradient(180deg, rgba(246, 238, 229, 0.92), rgba(226, 209, 192, 0.82));
}

.payment-scenario-card {
    display: grid;
    gap: 1.25rem;
    align-items: center;
}

@media (min-width: 768px) {
    .payment-scenario-card {
        grid-template-columns: 15rem 1fr;
    }
}

.payment-phone-preview {
    min-height: 20rem;
    border: 8px solid #342e29;
    border-radius: 2rem;
    background: linear-gradient(180deg, #fffaf5, #e8d8c7);
    padding: 1rem;
    box-shadow: 0 18px 38px rgba(52, 46, 41, 0.18);
}

.payment-phone-preview--sber {
    background: linear-gradient(180deg, #e9f7ee, #cce8d2);
}

.payment-phone-preview--tpay {
    background: linear-gradient(180deg, #fff8d8, #efd987);
}

.payment-phone-preview__top {
    border-radius: 1rem;
    background: rgba(52, 46, 41, 0.86);
    padding: 0.75rem;
    color: #fffaf5;
    font-size: 0.85rem;
    font-weight: 900;
}

.payment-phone-preview__amount {
    margin-top: 2rem;
    color: #342e29;
    font-size: 2rem;
    font-weight: 900;
}

.payment-phone-preview__merchant {
    margin-top: 0.6rem;
    color: #5f554d;
    font-size: 0.9rem;
    font-weight: 800;
}

.payment-phone-preview__push {
    margin-top: 2rem;
    border-radius: 1rem;
    background: rgba(255, 250, 245, 0.78);
    padding: 0.9rem;
    color: #342e29;
    font-size: 0.9rem;
    font-weight: 900;
}

.payment-card-form {
    background:
        linear-gradient(180deg, rgba(246, 238, 229, 0.92), rgba(226, 209, 192, 0.82));
}

.payment-card-input {
    min-height: 3.4rem;
    border: 1px solid rgba(138, 111, 90, 0.2);
    border-radius: 1rem;
    background: rgba(255, 250, 245, 0.78);
    padding: 1rem;
    color: #342e29;
    font-size: 1rem;
    font-weight: 900;
}

.payment-3ds-box,
.payment-bank-response {
    border: 1px solid rgba(95, 122, 82, 0.18);
    border-radius: 1.1rem;
    background: rgba(237, 244, 232, 0.72);
    padding: 1rem;
}

.payment-3ds-box strong,
.payment-3ds-box span {
    display: block;
}

.payment-3ds-box strong {
    color: #342e29;
    font-weight: 900;
}

.payment-3ds-box span,
.payment-bank-response p {
    margin-top: 0.3rem;
    color: #5f554d;
    font-size: 0.88rem;
    line-height: 1.6;
}

.payment-bank-response {
    min-height: 17.5rem;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.payment-bank-response__code {
    color: #342e29;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.payment-step-card {
    border: 1px solid rgba(138, 111, 90, 0.16);
    border-radius: 1rem;
    background: rgba(255, 250, 245, 0.64);
    padding: 1rem;
}

.payment-step-card.is-active {
    border-color: rgba(95, 122, 82, 0.48);
    background: linear-gradient(180deg, rgba(237, 244, 232, 0.9), rgba(213, 227, 203, 0.82));
}

.payment-step-card.is-done span {
    background: #5f7a52;
}

.payment-step-card.is-done {
    border-color: rgba(95, 122, 82, 0.3);
}

.payment-step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: #342e29;
    color: #fffaf5;
    font-size: 0.8rem;
    font-weight: 800;
}

.payment-step-card strong {
    display: block;
    margin-top: 0.7rem;
    color: #342e29;
    font-size: 0.9rem;
}

.receipt-card dt {
    color: #7a6a5d;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.receipt-card dd {
    margin-top: 0.25rem;
    color: #342e29;
    font-weight: 700;
}

.payment-secure-badge,
.payment-live-dot {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    border-radius: 999px;
    background: rgba(95, 122, 82, 0.13);
    padding: 0.45rem 0.8rem;
    color: #4f6b44;
    font-size: 0.75rem;
    font-weight: 800;
}

.payment-live-dot::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.45rem;
    border-radius: 999px;
    background: #5f7a52;
    box-shadow: 0 0 0 4px rgba(95, 122, 82, 0.12);
}

.payment-bank-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.payment-bank-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4.5rem;
    border: 1px solid rgba(138, 111, 90, 0.18);
    border-radius: 1rem;
    background: rgba(255, 250, 245, 0.62);
    padding: 0.85rem;
    text-align: left;
}

.payment-bank-option.is-selected {
    border-color: rgba(95, 122, 82, 0.54);
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.9), rgba(239, 228, 217, 0.88));
    box-shadow: 0 0 0 3px rgba(95, 122, 82, 0.1);
}

.payment-bank-option__mark {
    width: 0.9rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--bank-accent);
}

.payment-bank-option strong,
.payment-bank-option small {
    display: block;
}

.payment-bank-option strong {
    color: #342e29;
    font-weight: 800;
}

.payment-bank-option small {
    margin-top: 0.12rem;
    color: #716459;
    font-size: 0.76rem;
}

.payment-qr-panel {
    border: 1px solid rgba(138, 111, 90, 0.18);
    background:
        linear-gradient(180deg, rgba(250, 244, 237, 0.98) 0%, rgba(232, 218, 204, 0.94) 100%);
}

.payment-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(138, 111, 90, 0.2);
    border-radius: 1.35rem;
    background: #fffaf5;
    padding: 1rem;
}

.payment-qr-box img {
    display: block;
    width: min(100%, 17.5rem);
    height: auto;
}

.payment-result-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: rgba(52, 46, 41, 0.46);
    padding: 1rem;
}

.payment-result-modal {
    position: relative;
    width: min(100%, 30rem);
    border: 1px solid rgba(138, 111, 90, 0.22);
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(250, 244, 237, 0.98), rgba(226, 209, 192, 0.96));
    padding: 2rem;
    text-align: center;
    box-shadow: 0 24px 70px rgba(52, 46, 41, 0.26);
}

.payment-result-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 999px;
    color: #fffaf5;
    font-size: 2.1rem;
    font-weight: 900;
}

.payment-result-modal__icon.is-success {
    background: #5f7a52;
}

.payment-result-modal__icon.is-failed {
    background: #9d4f42;
}

.payment-result-modal__eyebrow {
    margin-top: 1.2rem;
    color: #7a6a5d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.payment-result-modal h2 {
    margin-top: 0.55rem;
    color: #342e29;
    font-size: 2rem;
    font-weight: 800;
}

.payment-result-modal p:not(.payment-result-modal__eyebrow) {
    margin-top: 0.8rem;
    color: #67594e;
    line-height: 1.7;
}

.payment-result-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.4rem;
    min-height: 2.9rem;
    border-radius: 999px;
    background: #342e29;
    padding: 0.75rem 1.3rem;
    color: #fffaf5;
    font-size: 0.9rem;
    font-weight: 800;
}

.payment-result-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 250, 245, 0.76);
    color: #342e29;
    font-size: 1.3rem;
    font-weight: 800;
}

.card-payment-modal[hidden] {
    display: none;
}

.card-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.card-payment-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(52, 46, 41, 0.52);
}

.card-payment-modal__dialog {
    position: relative;
    width: min(100%, 32rem);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border: 1px solid rgba(138, 111, 90, 0.22);
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(250, 244, 237, 0.98), rgba(226, 209, 192, 0.96));
    box-shadow: 0 24px 70px rgba(52, 46, 41, 0.28);
}

.card-payment-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 250, 245, 0.86);
    color: #342e29;
    font-size: 1.3rem;
    font-weight: 900;
}

.card-payment-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, #2f2924 0%, #6a5141 52%, #9a7a5e 100%);
    padding: 1.5rem;
}

.card-payment-modal__header h2 {
    margin-top: 0.35rem;
    color: #fffaf5;
    font-size: 1.7rem;
    font-weight: 900;
}

.card-payment-modal__header img {
    width: 5.8rem;
    height: 2.8rem;
    border-radius: 0.8rem;
    background: rgba(255, 250, 245, 0.94);
    padding: 0.45rem;
    object-fit: contain;
}

.card-payment-preview {
    margin: 1.3rem;
    min-height: 12rem;
    border: 1px solid rgba(255, 250, 245, 0.42);
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at 14% 14%, rgba(255, 255, 255, 0.18), transparent 22%),
        linear-gradient(135deg, #342e29 0%, #6a5141 58%, #9a7a5e 100%);
    padding: 1.25rem;
    color: #fffaf5;
    box-shadow: 0 16px 34px rgba(52, 46, 41, 0.18);
}

.card-payment-preview__chip {
    width: 3rem;
    height: 2.1rem;
    border-radius: 0.55rem;
    background: linear-gradient(135deg, #d7b46a, #f3df9f);
}

.card-payment-preview__number {
    margin-top: 2.2rem;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.card-payment-preview__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    color: rgba(255, 250, 245, 0.78);
    font-size: 0.78rem;
    font-weight: 800;
}

.card-payment-fields {
    display: grid;
    gap: 0.9rem;
    padding: 0 1.3rem;
}

.card-payment-fields label span {
    display: block;
    margin-bottom: 0.35rem;
    color: #6f6258;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card-payment-fields input {
    width: 100%;
    border: 1px solid rgba(138, 111, 90, 0.22);
    background: rgba(255, 250, 245, 0.86);
    padding: 0.95rem 1rem;
    color: #342e29;
    font-weight: 800;
}

.card-payment-3ds {
    margin: 1rem 1.3rem 0;
    border: 1px solid rgba(95, 122, 82, 0.18);
    border-radius: 1.1rem;
    background: rgba(237, 244, 232, 0.72);
    padding: 1rem;
}

.card-payment-3ds strong,
.card-payment-3ds span {
    display: block;
}

.card-payment-3ds strong {
    color: #342e29;
    font-weight: 900;
}

.card-payment-3ds span {
    margin-top: 0.25rem;
    color: #5f554d;
    font-size: 0.86rem;
    line-height: 1.6;
}

.card-payment-modal__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 2.6rem);
    min-height: 3rem;
    margin: 1.2rem 1.3rem 1.3rem;
    border-radius: 999px;
    background: #342e29;
    color: #fffaf5;
    font-size: 0.92rem;
    font-weight: 900;
}

::selection {
    background: rgba(138, 111, 90, 0.2);
}

.hero-grid {
    background-image:
        radial-gradient(circle at top left, rgba(154, 132, 110, 0.15), transparent 24%),
        radial-gradient(circle at bottom right, rgba(122, 116, 103, 0.11), transparent 20%),
        linear-gradient(180deg, rgba(255, 252, 248, 0.52), rgba(255, 250, 246, 0.12));
}

.topbar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border-radius: 0.7rem;
    padding: 0.42rem 0.78rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.topbar-action--primary {
    background: #342e29;
    color: #fffaf5;
}

.topbar-action--primary:hover,
.topbar-action--primary:focus-visible {
    background: #8a6f5a;
    color: #fffaf5;
}

.topbar-action--ghost {
    border: 1px solid rgba(138, 111, 90, 0.28);
    background: rgba(255, 250, 245, 0.68);
    color: #6e6258;
}

.topbar-action--ghost:hover,
.topbar-action--ghost:focus-visible {
    border-color: rgba(138, 111, 90, 0.5);
    background: rgba(255, 250, 245, 0.95);
    color: #342e29;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-link--empty {
    background: #342e29;
    color: #fffaf5;
}

.cart-link--empty:hover,
.cart-link--empty:focus-visible {
    background: #8a6f5a;
    color: #fffaf5;
}

.cart-link--active {
    background: #5f7a52;
    color: #fffaf5;
    box-shadow: 0 10px 22px rgba(95, 122, 82, 0.18);
}

.cart-link--active:hover,
.cart-link--active:focus-visible {
    background: #4f6d43;
    color: #fffaf5;
}

.cart-link__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: rgba(255, 250, 245, 0.96);
    color: #4f6d43;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.hero-grid .fade-up > span:first-child,
.hero-grid .fade-up > h1:nth-child(2),
.hero-grid .fade-up > p:nth-child(3) {
    display: none;
}

.hero-copy > :nth-child(5),
.hero-copy > :nth-child(6),
.hero-copy > :nth-child(7) {
    display: none;
}

.hero-copy__badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    border: 1px solid rgba(138, 111, 90, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.6rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #8a6f5a;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.hero-title-line {
    display: block;
}

.hero-title-line--sub {
    margin-top: 0.2rem;
    color: rgba(52, 46, 41, 0.9);
}

.hero-copy__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #6e6258;
}

.hero-copy__dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(138, 111, 90, 0.5);
}

.hero-copy__lead {
    max-width: 48rem;
}

.glass-panel {
    background: rgba(252, 246, 240, 0.9);
    border: 1px solid var(--frame-border-soft);
}

.soft-ring {
    box-shadow:
        0 0 0 1px rgba(255, 250, 245, 0.68) inset,
        0 1px 0 rgba(255, 251, 247, 0.88) inset,
        0 12px 30px rgba(73, 60, 49, 0.06);
}

.card-lift {
    border-color: var(--frame-border-soft);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(73, 60, 49, 0.1);
    border-color: rgba(138, 111, 90, 0.24);
}

.surface-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
        linear-gradient(90deg, rgba(31, 41, 55, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(31, 41, 55, 0.03) 1px, transparent 1px);
    background-size: auto, 24px 24px, 24px 24px;
}

.product-card__image {
    aspect-ratio: 4 / 3;
}

.product-card {
    min-height: 100%;
    border-color: rgba(138, 111, 90, 0.2);
    background:
        linear-gradient(180deg, rgba(248, 240, 231, 0.98) 0%, rgba(238, 226, 214, 0.97) 58%, rgba(226, 209, 192, 0.96) 100%);
    cursor: pointer;
}

.product-card__body {
    min-height: 0;
}

.product-card__title {
    display: -webkit-box;
    min-height: 3.5rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__title a {
    color: inherit;
}

.product-card__title a:hover,
.product-card__title a:focus-visible {
    color: #8a6f5a;
}

.product-card__media {
    position: relative;
    border: 1px solid rgba(138, 111, 90, 0.16);
    background:
        linear-gradient(140deg, #efe5d8 0%, #fffaf4 50%, #e1d1c0 100%);
    touch-action: pan-y;
    user-select: none;
}

.product-card__media img {
    transform: none !important;
}

.product-card__media:hover img {
    transform: none !important;
}

.product-card-gallery__track {
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
}

.product-card-gallery__slide {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.product-card-gallery__slide.is-active {
    opacity: 1;
}

.product-card-gallery__nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    cursor: pointer;
    z-index: 2;
}

.product-card-gallery__nav--prev {
    left: 0;
}

.product-card-gallery__nav--next {
    right: 0;
}

@media (hover: none), (pointer: coarse) {
    .product-card-gallery__nav {
        display: none;
        pointer-events: none;
    }
}

.product-card-gallery__dots {
    position: absolute;
    right: 0.9rem;
    bottom: 0.8rem;
    left: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    pointer-events: none;
    z-index: 3;
}

.product-card-gallery__dot {
    height: 0.42rem;
    width: 0.42rem;
    border-radius: 999px;
    background: rgba(52, 46, 41, 0.24);
    transition: width 0.16s ease, background-color 0.16s ease;
}

.product-card-gallery__dot.is-active {
    width: 1.1rem;
    background: rgba(52, 46, 41, 0.72);
}

.product-detail-top-grid > * {
    min-height: 0;
}

.product-detail-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 1.25rem;
}

/* Full HD can be exposed as only 960 CSS px with 200% Windows scaling. */
@media (min-width: 900px) {
    .product-detail-top-grid {
        position: relative;
        left: 50%;
        width: min(calc(100vw - 2rem), 84rem);
        transform: translateX(-50%);
        grid-template-columns: minmax(19rem, 1.08fr) minmax(16rem, 0.76fr) minmax(12.5rem, 0.52fr);
        gap: 1rem;
    }

    .product-detail-price-column {
        grid-column: auto;
    }
}

@media (min-width: 1280px) {
    .product-detail-top-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.76fr) minmax(15rem, 0.52fr);
        gap: 1.25rem;
    }
}

.product-detail-gallery-layout {
    display: grid;
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: 0.8rem;
    height: 100%;
    min-height: clamp(32rem, 45vw, 36rem);
}

.product-detail-gallery-layout.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.product-detail-gallery-panel,
.product-detail-info-panel {
    min-height: 0;
}

.product-detail-gallery-panel,
.product-detail-info-panel {
    height: 100%;
}

.product-detail-thumb-slot {
    position: relative;
    min-width: 0;
    min-height: 0;
}

.product-detail-thumb-rail {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0.45rem;
}

.product-detail-thumb-list {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0.55rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.2rem;
    scrollbar-width: none;
}

.product-detail-thumb-list::-webkit-scrollbar {
    display: none;
}

.product-detail-thumb-scroll {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(138, 111, 90, 0.2);
    border-radius: 999px;
    background: rgba(248, 240, 231, 0.96);
    color: #5f554d;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1;
    justify-self: center;
    box-shadow: 0 5px 14px rgba(63, 47, 37, 0.08);
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.product-detail-thumb-scroll:hover,
.product-detail-thumb-scroll:focus-visible {
    border-color: rgba(52, 46, 41, 0.55);
    background: #fff;
    color: #342e29;
    outline: none;
    transform: translateY(-1px);
}

.product-detail-thumb {
    width: 100%;
    flex: 0 0 auto;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-detail-thumb.is-active {
    border-color: rgba(52, 46, 41, 0.72);
    box-shadow: 0 0 0 3px rgba(138, 111, 90, 0.16);
}

.product-detail-main-image {
    position: relative;
    height: 100%;
    min-height: 0;
    cursor: default;
}

.product-option-panel {
    border: 1px solid rgba(138, 111, 90, 0.16);
    background: linear-gradient(135deg, rgba(232, 216, 199, 0.64), rgba(246, 238, 229, 0.5));
}

.product-detail-price-panel {
    align-self: start;
    height: auto;
}

[data-product-characteristics]:not(.is-expanded) .product-characteristic-extra {
    display: none;
}

[data-product-characteristics].is-expanded .product-characteristic-extra {
    display: flex;
}

.product-characteristics-toggle:hover,
.product-characteristics-toggle:focus-visible {
    color: #342e29;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    outline: none;
}

.product-detail-main-image::after {
    content: "";
    display: none;
}

.product-detail-main-image.is-zooming::after {
    display: none;
}

.product-detail-main-image.is-zooming [data-product-detail-main] {
    opacity: 1;
}

.product-lightbox-open {
    overflow: hidden;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem);
}

.product-lightbox.is-open {
    display: flex;
}

.product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 19, 17, 0.82);
}

.product-lightbox__stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1120px, 100%);
    height: min(760px, 86vh);
}

.product-lightbox__image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-lightbox__close,
.product-lightbox__arrow {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 250, 245, 0.28);
    border-radius: 999px;
    background: rgba(255, 250, 245, 0.92);
    color: #342e29;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.product-lightbox__close {
    top: 0;
    right: 0;
    height: 2.8rem;
    width: 2.8rem;
}

.product-lightbox__close::before,
.product-lightbox__close::after {
    position: absolute;
    height: 1.15rem;
    width: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.product-lightbox__close::before {
    transform: rotate(45deg);
}

.product-lightbox__close::after {
    transform: rotate(-45deg);
}

.product-lightbox__arrow {
    top: 50%;
    height: 3.1rem;
    width: 3.1rem;
    transform: translateY(-50%);
}

.product-lightbox__arrow--prev {
    left: 0;
}

.product-lightbox__arrow--next {
    right: 0;
}

.product-lightbox__arrow::before {
    height: 0.78rem;
    width: 0.78rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
}

.product-lightbox__arrow--prev::before {
    transform: rotate(-135deg);
}

.product-lightbox__arrow--next::before {
    transform: rotate(45deg);
}

.product-lightbox__counter {
    position: absolute;
    bottom: 0;
    left: 50%;
    border-radius: 999px;
    background: rgba(255, 250, 245, 0.92);
    padding: 0.45rem 0.8rem;
    color: #342e29;
    font-size: 0.8rem;
    font-weight: 700;
    transform: translateX(-50%);
}

.product-badge {
    border: 1px solid rgba(138, 111, 90, 0.2);
    background: transparent;
}

.product-badge--brand {
    color: #6e6258;
}

.product-badge--stock {
    border-color: rgba(95, 122, 82, 0.28);
    color: #5f7a52;
}

.product-badge--sale {
    border-color: rgba(154, 95, 63, 0.36);
    background: transparent;
    color: #9a5f3f;
}

.product-dimensions span {
    border-right: 1px solid rgba(138, 111, 90, 0.2);
    padding-right: 0.55rem;
    color: #716459;
    font-size: 0.78rem;
    line-height: 1.25;
}

.product-dimensions span:last-child {
    border-right: 0;
    padding-right: 0;
}

.product-card__bottom {
    margin-top: auto;
    padding-top: 1.25rem;
}

.product-price-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 5.1rem;
    border-top: 1px solid rgba(138, 111, 90, 0.16);
    border-bottom: 1px solid rgba(138, 111, 90, 0.12);
    border-left: 0;
    border-right: 0;
    border-radius: 0 !important;
    background:
        linear-gradient(90deg, rgba(232, 216, 199, 0.36), rgba(232, 216, 199, 0));
}

.product-mini-action,
.product-primary-action,
.product-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    line-height: 1.15;
}

.product-mini-action,
.product-secondary-action {
    border: 1px solid rgba(138, 111, 90, 0.22);
    background: transparent;
    color: #5f554d;
}

.product-mini-action:hover,
.product-secondary-action:hover {
    border-color: rgba(138, 111, 90, 0.5);
    background: rgba(138, 111, 90, 0.08);
    color: #342e29;
}

.product-primary-action {
    background: #342e29;
    color: #fffaf5;
    box-shadow: 0 10px 22px rgba(52, 46, 41, 0.12);
}

.product-card form {
    min-width: 0;
}

.product-primary-action:hover {
    background: #8a6f5a;
}

.product-detail-panel {
    border: 1px solid rgba(138, 111, 90, 0.2);
    background:
        linear-gradient(180deg, rgba(248, 240, 231, 0.98) 0%, rgba(238, 226, 214, 0.97) 58%, rgba(226, 209, 192, 0.96) 100%);
}

.product-detail-badge {
    border: 1px solid rgba(138, 111, 90, 0.2);
    background: transparent;
    color: #6e6258;
}

.product-buy-panel {
    border: 1px solid rgba(138, 111, 90, 0.16);
    background:
        linear-gradient(135deg, rgba(232, 216, 199, 0.78), rgba(246, 238, 229, 0.6));
}

[data-variant-size] option:disabled {
    color: #9ca3af;
    text-decoration: line-through;
}

.product-color-swatch {
    --swatch-color: #a8a29e;
    position: relative;
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(138, 111, 90, 0.28);
    border-radius: 0.55rem;
    background: var(--swatch-color);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.58);
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.product-color-swatch:hover,
.product-color-swatch:focus-visible {
    z-index: 5;
    transform: translateY(-2px);
    border-color: #342e29;
    outline: none;
}

.product-color-swatch[aria-checked="true"] {
    border-color: #342e29;
    box-shadow: 0 0 0 2px #f6eee5, 0 0 0 4px #342e29;
}

.product-color-swatch:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.product-color-swatch::after {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.55rem);
    z-index: 20;
    width: max-content;
    max-width: 12rem;
    transform: translate(-50%, 0.25rem);
    border-radius: 0.45rem;
    padding: 0.35rem 0.55rem;
    background: #342e29;
    color: #fff;
    content: attr(data-color-name);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease, transform 120ms ease;
}

.product-color-swatch:hover::after,
.product-color-swatch:focus-visible::after {
    transform: translate(-50%, 0);
    opacity: 1;
}

.product-detail-secondary-action {
    border: 1px solid rgba(138, 111, 90, 0.24);
    background: transparent;
    color: #5f554d;
}

.product-detail-secondary-action:hover {
    border-color: rgba(138, 111, 90, 0.5);
    background: rgba(138, 111, 90, 0.08);
    color: #342e29;
}

.product-metric-card {
    border: 1px solid rgba(138, 111, 90, 0.16);
    background:
        linear-gradient(180deg, rgba(246, 238, 229, 0.92), rgba(226, 209, 192, 0.88));
}

.product-characteristic-row {
    border: 1px solid rgba(138, 111, 90, 0.12);
    background: rgba(232, 216, 199, 0.34);
}

.logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.2rem 0.2rem 0.2rem 1.15rem;
    min-width: 201px;
    min-height: 62px;
}

.logo-frame__image {
    display: block;
    width: clamp(160px, 21.6vw, 225px);
    height: auto;
    max-height: 68px;
    object-fit: contain;
    object-position: left;
}

.mobile-app-header,
.mobile-bottom-nav {
    display: none;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
}

.search-modal.is-open {
    display: block;
}

.search-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(52, 46, 41, 0.24);
}

.search-modal__panel {
    position: relative;
    width: min(760px, calc(100% - 2rem));
    margin: 8vh auto 0;
    border: 1px solid var(--frame-border);
    border-radius: 1.6rem;
    background: rgba(247, 242, 236, 0.98);
    box-shadow: 0 18px 42px rgba(73, 60, 49, 0.16);
    padding: 2rem;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid var(--frame-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.88);
    padding: 1rem 1.1rem;
}

.search-close {
    border: 1px solid var(--frame-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #342e29;
}

.search-close:hover,
.search-close:focus-visible {
    border-color: #8a6f5a;
    color: #8a6f5a;
}

.price-display {
    white-space: nowrap;
}

.price-ruble {
    font-size: 0.72em;
    font-weight: 700;
    vertical-align: 0.08em;
}

.auth-input {
    min-height: 3.35rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(108, 89, 73, 0.28) !important;
    border-radius: 1rem !important;
    padding: 0.95rem 1rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 0 0 1px rgba(255, 248, 242, 0.55);
}

.auth-input:focus {
    border-color: rgba(138, 111, 90, 0.35) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 0 0 4px rgba(138, 111, 90, 0.08) !important;
}

.auth-panel {
    border-color: rgba(108, 89, 73, 0.22) !important;
    box-shadow:
        0 0 0 1px rgba(255, 248, 242, 0.5) inset,
        0 22px 52px rgba(73, 60, 49, 0.08);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.42s ease var(--reveal-delay, 0ms),
        transform 0.42s ease var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.badge-soft {
    border: 1px solid var(--frame-border-soft);
    background: rgba(249, 244, 238, 0.7);
}

.shadow-soft {
    box-shadow:
        0 1px 0 rgba(255, 250, 246, 0.86) inset,
        0 10px 26px rgba(73, 60, 49, 0.055);
}

.shadow-soft.bg-white,
.shadow-soft[class*="bg-white"] {
    background-color: var(--panel-warm) !important;
}

.shadow-soft[class*="bg-stone-50"] {
    background-color: rgba(245, 235, 225, 0.96) !important;
}

[class~="border-stone-200"] {
    border-color: var(--frame-border) !important;
}

[class*="border-stone-200/70"] {
    border-color: var(--frame-border-soft) !important;
}

aside[class*="bg-white"],
article[class*="bg-white"],
div[class*="bg-white"][class*="shadow-soft"],
section[class*="bg-white"][class*="shadow-soft"] {
    position: relative;
}

aside[class*="bg-white"]::before,
article[class*="bg-white"]::before,
div[class*="bg-white"][class*="shadow-soft"]::before,
section[class*="bg-white"][class*="shadow-soft"]::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.nav-pill:hover,
.nav-pill:focus-visible {
    transform: translateY(-1px);
}

.nav-pill {
    border-color: var(--frame-border) !important;
    background-color: rgba(253, 248, 242, 0.98) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55) inset,
        0 6px 18px rgba(73, 60, 49, 0.04);
}

.nav-pill:hover,
.nav-pill:focus-visible {
    border-color: rgba(138, 111, 90, 0.5) !important;
    background-color: rgba(255, 250, 245, 1) !important;
}

.category-tab,
.category-tab-mobile {
    border-radius: 0 !important;
}

.category-tab:hover,
.category-tab:focus-visible {
    border-color: rgba(138, 111, 90, 0.5) !important;
    background-color: #8a6f5a !important;
    color: #fffaf5 !important;
    box-shadow: 0 8px 18px rgba(138, 111, 90, 0.16);
}

.category-tab-mobile:hover,
.category-tab-mobile:focus-visible {
    border-color: rgba(138, 111, 90, 0.5) !important;
    background-color: #8a6f5a !important;
    color: #fffaf5 !important;
}

.catalog-nav-label,
.catalog-nav-heading {
    text-align: center;
}

.catalog-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    border: 1px solid var(--frame-border-soft);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(252, 248, 243, 0.98), rgba(247, 240, 233, 0.98));
    color: #3c342f;
    font-size: 1.14rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    transition:
        background-color 0.24s ease,
        color 0.24s ease,
        border-color 0.24s ease;
}

.catalog-nav-item:hover,
.catalog-nav-item:focus-visible {
    border-color: rgba(138, 111, 90, 0.5);
    background: linear-gradient(180deg, #9a806a 0%, #7f6755 100%);
    color: #fffaf5;
    box-shadow: 0 8px 18px rgba(138, 111, 90, 0.16);
}

.nav-strip {
    background:
        linear-gradient(180deg, rgba(249, 241, 233, 0.94), rgba(241, 231, 220, 0.9));
}

.category-strip-grid {
    display: flex;
    flex-wrap: wrap;
    border-left: 1px solid var(--frame-border-soft);
}

.category-strip-item {
    display: flex;
    flex: 1 1 140px;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: 0.75rem 1rem;
    border-right: 1px solid var(--frame-border-soft);
    border-bottom: 1px solid var(--frame-border-soft);
    color: #342e29;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0;
    background: transparent;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
}

.category-strip-item:hover,
.category-strip-item:focus-visible {
    background: #8a6f5a;
    color: #fffaf5;
}

.category-strip-item--catalog:hover,
.category-strip-item--catalog:focus-visible {
    background: #7c6655;
}

.category-strip-item--brands:hover,
.category-strip-item--brands:focus-visible {
    background: #9a785c;
}

.category-strip-item--sale:hover,
.category-strip-item--sale:focus-visible {
    background: #9a5f3f;
}

.category-strip-item--delivery:hover,
.category-strip-item--delivery:focus-visible {
    background: #8a7566;
}

.category-strip-item--warranty:hover,
.category-strip-item--warranty:focus-visible {
    background: #7a6b58;
}

.cta-shadow {
    box-shadow: 0 10px 24px rgba(73, 60, 49, 0.11);
}

.rounded-full,
button.rounded-full,
a.rounded-full {
    border-radius: 0.85rem !important;
}

.rounded-2xl,
[class*="rounded-[2.6rem]"],
[class*="rounded-[2.5rem]"],
[class*="rounded-[2.4rem]"],
[class*="rounded-[2.2rem]"],
[class*="rounded-[2.1rem]"],
[class*="rounded-[2rem]"] {
    border-radius: 1rem !important;
}

[class*="rounded-[1.8rem]"],
[class*="rounded-[1.7rem]"],
[class*="rounded-[1.6rem]"],
[class*="rounded-[1.5rem]"],
[class*="rounded-[1.4rem]"],
[class*="rounded-[1.3rem]"],
[class*="rounded-[1.2rem]"] {
    border-radius: 0.8rem !important;
}

.surface-grid {
    background-image:
        linear-gradient(rgba(251, 247, 242, 0.78), rgba(251, 247, 242, 0.78)),
        linear-gradient(90deg, rgba(90, 75, 61, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(90, 75, 61, 0.04) 1px, transparent 1px);
    background-size: auto, 24px 24px, 24px 24px;
}

.fade-up {
    animation: fade-up 0.6s ease both;
}

.fade-delay-1 {
    animation-delay: 0.08s;
}

.fade-delay-2 {
    animation-delay: 0.16s;
}

.fade-delay-3 {
    animation-delay: 0.24s;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        background:
            linear-gradient(180deg, #dfcfc1 0%, #c9b4a3 48%, #b69f8e 100%);
    }

    body {
        padding-bottom: calc(4.8rem + env(safe-area-inset-bottom));
    }

    main {
        min-width: 0;
    }

    main *,
    footer * {
        min-width: 0;
        max-width: 100%;
    }

    header * {
        min-width: 0;
    }

    img,
    video,
    svg {
        max-width: 100%;
        height: auto;
    }

    table {
        width: max-content;
        min-width: 100%;
    }

    main table,
    main .overflow-hidden:has(table),
    main .shadow-soft:has(table) {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    main p,
    main h1,
    main h2,
    main h3,
    main li,
    main dd,
    main dt,
    main span,
    main a,
    main button {
        overflow-wrap: anywhere;
    }

    main .tracking-\[0\.22em\],
    main .tracking-\[0\.24em\],
    main .tracking-\[0\.28em\],
    footer .tracking-\[0\.22em\],
    footer .tracking-\[0\.28em\] {
        letter-spacing: 0.08em !important;
    }

    main > section {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        padding-top: 1.8rem !important;
        padding-bottom: 1.8rem !important;
    }

    main h1,
    main .text-5xl,
    main .text-6xl {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
        line-height: 1.08 !important;
    }

    main h2,
    main .text-4xl {
        font-size: clamp(1.65rem, 7vw, 2.15rem) !important;
        line-height: 1.12 !important;
    }

    main .text-3xl {
        font-size: clamp(1.45rem, 6vw, 1.85rem) !important;
        line-height: 1.16 !important;
    }

    main p,
    main .leading-8 {
        line-height: 1.65 !important;
    }

    main .flex {
        min-width: 0;
    }

    main .flex.items-end.justify-between,
    main .flex.items-center.justify-between,
    main .flex.flex-col.gap-4.sm\:flex-row,
    main .flex.flex-wrap.items-center.gap-4,
    main .flex.flex-wrap.items-end.justify-between {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    main .flex.items-center.justify-between,
    main .flex.items-end.justify-between,
    main .flex.flex-wrap.items-end.justify-between {
        flex-wrap: wrap;
    }

    main > section > .flex,
    main section > .flex.items-end,
    main section > .flex.items-center.justify-between {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 70;
        border-bottom: 1px solid rgba(107, 77, 52, 0.16);
        background: rgba(246, 238, 229, 0.96);
        box-shadow: 0 8px 22px rgba(73, 60, 49, 0.08);
        backdrop-filter: blur(14px);
    }

    .header-topbar,
    .header-main,
    .nav-strip {
        display: none !important;
    }

    .mobile-app-header {
        display: block;
        padding: 0.65rem 0.85rem 0.7rem;
    }

    .mobile-app-header__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
    }

    .mobile-logo {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }

    .mobile-logo img {
        display: block;
        width: 8.9rem;
        max-width: 48vw;
        height: auto;
    }

    .mobile-app-header__actions {
        display: flex;
        align-items: center;
        gap: 0.45rem;
    }

    .mobile-icon-button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.7rem;
        height: 2.7rem;
        border: 1px solid rgba(138, 111, 90, 0.2);
        border-radius: 999px;
        background: rgba(255, 250, 245, 0.86);
        color: #342e29;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.84) inset;
    }

    .mobile-icon-button--cart {
        background: #342e29;
        color: #fffaf5;
    }

    .mobile-cart-count {
        position: absolute;
        top: -0.25rem;
        right: -0.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.25rem;
        height: 1.25rem;
        border: 2px solid #f6eee5;
        border-radius: 999px;
        background: #5f7a52;
        color: #fffaf5;
        font-size: 0.68rem;
        font-weight: 800;
        line-height: 1;
    }

    .mobile-icon {
        position: relative;
        display: inline-block;
        width: 1.2rem;
        height: 1.2rem;
        color: inherit;
    }

    .mobile-icon--search {
        border: 2px solid currentColor;
        border-radius: 999px;
    }

    .mobile-icon--search::after {
        position: absolute;
        right: -0.22rem;
        bottom: -0.2rem;
        width: 0.52rem;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        content: "";
        transform: rotate(45deg);
    }

    .mobile-icon--cart {
        height: 1rem;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 0 0 0.26rem 0.26rem;
        margin-top: 0.15rem;
    }

    .mobile-icon--cart::before {
        position: absolute;
        top: -0.34rem;
        left: 0.24rem;
        width: 0.55rem;
        height: 0.55rem;
        border: 2px solid currentColor;
        border-bottom: 0;
        border-radius: 999px 999px 0 0;
        content: "";
    }

    .mobile-icon--home::before {
        position: absolute;
        inset: 0.2rem 0.15rem 0.1rem;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 0.14rem;
        content: "";
    }

    .mobile-icon--home::after {
        position: absolute;
        top: 0.05rem;
        left: 0.21rem;
        width: 0.78rem;
        height: 0.78rem;
        border-top: 2px solid currentColor;
        border-left: 2px solid currentColor;
        content: "";
        transform: rotate(45deg);
    }

    .mobile-icon--catalog {
        display: grid;
        grid-template-columns: repeat(2, 0.46rem);
        grid-template-rows: repeat(2, 0.46rem);
        gap: 0.18rem;
        place-content: center;
    }

    .mobile-icon--catalog::before {
        width: 0.46rem;
        height: 0.46rem;
        border-radius: 0.12rem;
        background: currentColor;
        box-shadow: 0.64rem 0 currentColor, 0 0.64rem currentColor, 0.64rem 0.64rem currentColor;
        content: "";
    }

    .mobile-icon--heart::before,
    .mobile-icon--heart::after {
        position: absolute;
        top: 0.22rem;
        width: 0.62rem;
        height: 0.9rem;
        border-radius: 999px 999px 0 0;
        background: currentColor;
        content: "";
    }

    .mobile-icon--heart::before {
        left: 0.16rem;
        transform: rotate(-45deg);
        transform-origin: 0 100%;
    }

    .mobile-icon--heart::after {
        right: 0.16rem;
        transform: rotate(45deg);
        transform-origin: 100% 100%;
    }

    .mobile-category-rail {
        display: flex;
        gap: 0.45rem;
        margin: 0.65rem -0.85rem 0;
        overflow-x: auto;
        padding: 0 0.85rem 0.2rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-category-rail::-webkit-scrollbar {
        display: none;
    }

    .mobile-app-header nav {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .mobile-app-header nav::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .mobile-category-rail a {
        flex: 0 0 auto;
        max-width: none;
        border: 1px solid rgba(138, 111, 90, 0.18);
        border-radius: 999px;
        background: rgba(255, 250, 245, 0.78);
        padding: 0.55rem 0.82rem;
        color: #4f453e;
        font-size: 0.82rem;
        font-weight: 800;
        line-height: 1;
        overflow-wrap: normal;
        white-space: nowrap;
    }

    .mobile-app-header nav a {
        flex: 0 0 auto;
        max-width: none;
        overflow-wrap: normal;
        white-space: nowrap;
    }

    .mobile-category-rail a:first-child {
        background: #342e29;
        color: #fffaf5;
    }

    .mobile-menu-drawer {
        margin-top: 0.55rem;
    }

    .mobile-menu-drawer summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
        min-height: 2.75rem;
        border: 1px solid rgba(138, 111, 90, 0.18);
        border-radius: 0.9rem;
        background: rgba(255, 250, 245, 0.72);
        padding: 0.58rem 0.78rem;
        color: #342e29;
        cursor: pointer;
        list-style: none;
    }

    .mobile-menu-drawer summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu-drawer summary span:first-child {
        font-size: 0.9rem;
        font-weight: 850;
    }

    .mobile-menu-drawer summary span:last-child {
        overflow: hidden;
        color: #74675d;
        font-size: 0.74rem;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-menu-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        margin-top: 0.55rem;
        border: 1px solid rgba(138, 111, 90, 0.16);
        border-radius: 1rem;
        background: rgba(255, 250, 245, 0.86);
        padding: 0.55rem;
    }

    .mobile-menu-drawer[open] .mobile-menu-panel {
        position: fixed;
        top: 8.75rem;
        right: 0.85rem;
        left: 0.85rem;
        z-index: 90;
        max-height: calc(100vh - 14rem);
        overflow: auto;
        box-shadow: 0 18px 38px rgba(73, 60, 49, 0.16);
    }

    .mobile-menu-panel a,
    .mobile-menu-panel button {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.65rem;
        border: 1px solid rgba(138, 111, 90, 0.14);
        border-radius: 0.75rem;
        background: rgba(246, 238, 229, 0.8);
        color: #342e29;
        font-size: 0.84rem;
        font-weight: 800;
        text-align: center;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 75;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.15rem;
        border-top: 1px solid rgba(107, 77, 52, 0.18);
        background: rgba(250, 244, 238, 0.96);
        padding: 0.42rem 0.4rem calc(0.42rem + env(safe-area-inset-bottom));
        box-shadow: 0 -10px 26px rgba(73, 60, 49, 0.1);
        backdrop-filter: blur(14px);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.22rem;
        min-width: 0;
        min-height: 3.45rem;
        border: 0;
        border-radius: 0.82rem;
        background: transparent;
        color: #5f554d;
        font-size: 0.66rem;
        font-weight: 800;
        line-height: 1;
        text-align: center;
    }

    .mobile-bottom-nav a:active,
    .mobile-bottom-nav button:active {
        background: rgba(138, 111, 90, 0.1);
        color: #342e29;
    }

    .hero-grid .mx-auto {
        padding-top: 2rem !important;
    }

    .hero-copy__meta {
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.78rem;
    }

    .hero-copy__dot {
        display: none;
    }

    .glass-panel,
    .home-benefits-panel,
    .home-benefit-card,
    .catalog-panel,
    .catalog-hero-panel,
    .category-hero-panel,
    .product-detail-panel,
    .payment-demo-panel,
    .payment-process-card,
    .payment-qr-panel,
    .receipt-card,
    .shadow-soft[class*="p-8"],
    section[class*="bg-white"][class*="shadow-soft"],
    div[class*="bg-white"][class*="shadow-soft"] {
        padding: 1rem !important;
    }

    .category-hero-panel .grid,
    .category-stat-card,
    .payment-summary-strip,
    .payment-method-grid,
    .payment-bank-grid {
        grid-template-columns: 1fr !important;
    }

    .category-stat-card {
        padding: 0.75rem !important;
    }

    .category-stat-card .text-2xl,
    .category-stat-card .text-lg {
        font-size: 1.15rem !important;
        line-height: 1.2 !important;
    }

    .catalog-panel,
    .category-hero-panel,
    .catalog-hero-panel {
        overflow: hidden;
    }

    .filter-drawer__summary {
        min-height: 3.2rem;
        padding: 0.75rem;
    }

    .filter-drawer__title {
        font-size: 1rem;
    }

    .filter-panel {
        padding: 0.85rem !important;
    }

    .filter-panel .grid {
        grid-template-columns: 1fr !important;
    }

    .filter-panel button,
    .filter-panel a,
    .filter-input,
    .catalog-select {
        min-height: 2.85rem;
        font-size: 1rem;
    }

    #category-results {
        padding: 0.78rem !important;
        border-radius: 1rem !important;
    }

    #category-results > .flex:first-child {
        gap: 0.75rem;
    }

    #category-results > .flex:first-child h2 {
        font-size: 1.35rem !important;
    }

    #category-results > .mt-6.grid,
    section .grid.md\:grid-cols-2.xl\:grid-cols-4,
    section .grid.md\:grid-cols-2.xl\:grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.68rem !important;
    }

    .product-card {
        border-radius: 0.95rem !important;
        padding: 0.55rem !important;
        box-shadow:
            0 1px 0 rgba(255, 250, 246, 0.86) inset,
            0 6px 16px rgba(73, 60, 49, 0.055);
    }

    .product-card > .flex:first-child {
        min-height: 1.35rem;
        gap: 0.25rem;
    }

    .product-card > .flex:first-child .flex {
        gap: 0.22rem;
    }

    .product-badge {
        max-width: 100%;
        overflow: hidden;
        padding: 0.28rem 0.42rem !important;
        font-size: 0.56rem !important;
        letter-spacing: 0.04em !important;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-badge--brand {
        display: none;
    }

    .product-card__image {
        aspect-ratio: 1 / 1;
        margin-top: 0.38rem !important;
        border-radius: 0.75rem !important;
    }

    .product-card__media img {
        padding: 0.2rem;
    }

    .product-card__body {
        margin-top: 0.58rem !important;
    }

    .product-card__body > .text-xs {
        display: none;
    }

    .product-card__title {
        min-height: 2.3rem;
        margin-top: 0 !important;
        font-size: 0.86rem !important;
        line-height: 1.28 !important;
        -webkit-line-clamp: 2;
    }

    .product-dimensions {
        display: none !important;
    }

    .product-card__bottom {
        padding-top: 0.55rem;
    }

    .product-price-panel {
        min-height: 2.55rem;
        padding: 0.45rem 0 !important;
        background: transparent;
    }

    .product-price-panel .text-2xl {
        font-size: clamp(0.98rem, 4.2vw, 1.18rem) !important;
        line-height: 1.1 !important;
    }

    .product-price-panel .text-sm {
        font-size: 0.68rem !important;
        line-height: 1.1 !important;
    }

    .product-card .mt-4.grid.grid-cols-2 {
        display: none !important;
    }

    .product-card .mt-5.grid.grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.35rem !important;
        margin-top: 0.5rem !important;
    }

    .product-mini-action,
    .product-primary-action,
    .product-secondary-action {
        min-height: 2.35rem;
        border-radius: 0.72rem !important;
        padding: 0.52rem 0.45rem !important;
        font-size: 0.76rem !important;
        line-height: 1.1;
    }

    .product-secondary-action {
        display: none;
    }

    .product-detail-gallery-layout {
        display: flex;
        height: auto;
        min-height: 0;
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-detail-gallery-panel {
        order: 1;
        height: auto;
    }

    .product-detail-main-image {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .product-detail-thumb-slot {
        order: 2;
        height: 4.75rem;
    }

    .product-detail-thumb-rail {
        position: relative;
        inset: auto;
        grid-template: minmax(0, 1fr) / auto minmax(0, 1fr) auto;
        align-items: center;
        height: 100%;
    }

    .product-detail-thumb-list {
        min-width: 0;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .product-detail-thumb {
        width: 4.3rem;
    }

    .product-detail-thumb-scroll {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0;
    }

    .product-detail-thumb-scroll::before {
        font-size: 1.05rem;
    }

    .product-detail-thumb-scroll[data-product-detail-thumbs-scroll="-1"]::before {
        content: "←";
    }

    .product-detail-thumb-scroll[data-product-detail-thumbs-scroll="1"]::before {
        content: "→";
    }

    .product-lightbox {
        padding: 0.75rem;
    }

    .product-lightbox__stage {
        height: 84vh;
    }

    .product-lightbox__close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .product-lightbox__arrow--prev {
        left: 0.5rem;
    }

    .product-lightbox__arrow--next {
        right: 0.5rem;
    }

    .product-buy-panel {
        padding: 1rem !important;
    }

    .product-buy-panel .grid {
        grid-template-columns: 1fr !important;
    }

    .cart-link__count {
        min-width: 1.55rem;
        height: 1.55rem;
    }

    .payment-bank-header {
        padding: 1.2rem;
    }

    .payment-bank-header__logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .payment-bank-header__logos img,
    .payment-bank-header__token {
        width: 100%;
    }

    .payment-step-card {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        padding: 0.75rem;
    }

    .payment-step-card strong {
        margin-top: 0;
    }

    .payment-card-input,
    .payment-bank-option,
    .payment-method-card {
        min-height: 4rem;
    }

    .payment-qr-box img {
        width: min(100%, 15rem);
    }

    .card-payment-modal {
        align-items: end;
        padding: 0;
    }

    .card-payment-modal__dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 1.2rem 1.2rem 0 0 !important;
    }

    .card-payment-preview {
        min-height: 10.5rem;
        margin: 1rem;
    }

    .card-payment-preview__number {
        font-size: 1rem;
    }

    .card-payment-fields {
        padding: 0 1rem;
    }

    .card-payment-3ds {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .card-payment-modal__button {
        width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .payment-result-modal {
        padding: 1.35rem;
    }

    .search-modal__panel {
        width: 100%;
        max-height: min(82vh, 42rem);
        overflow: auto;
        margin: auto 0 0;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 1.25rem 1.25rem 0 0 !important;
        padding: 1.1rem 0.9rem calc(1.2rem + env(safe-area-inset-bottom));
    }

    .card-lift:hover {
        transform: none;
        box-shadow: none;
    }

    .search-modal.is-open {
        display: flex;
        align-items: flex-end;
    }

    .search-modal__backdrop {
        background: rgba(52, 46, 41, 0.34);
    }

    .search-modal__panel {
        box-shadow: 0 -18px 42px rgba(73, 60, 49, 0.18);
    }

    .search-input-wrap {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.8rem;
    }

    .search-input-wrap button {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 3rem;
    }

    .footer-shell {
        margin-top: 2.5rem;
    }

    .footer-pattern .mx-auto {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }
}

@media (max-width: 480px) {
    main > section {
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }

    .hero-grid .mx-auto,
    main .mx-auto.max-w-7xl,
    main .mx-auto.max-w-6xl,
    main .mx-auto.max-w-5xl,
    main .mx-auto.max-w-4xl {
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }

    .glass-panel,
    .home-benefits-panel,
    .home-benefit-card,
    .catalog-panel,
    .catalog-hero-panel,
    .category-hero-panel,
    .product-detail-panel,
    .product-buy-panel,
    .catalog-seo-panel,
    .shadow-soft[class*="p-8"],
    section[class*="bg-white"][class*="shadow-soft"],
    div[class*="bg-white"][class*="shadow-soft"] {
        padding: 0.78rem !important;
    }

    main .text-2xl {
        font-size: 1.25rem !important;
        line-height: 1.28 !important;
    }

    main .text-xl {
        font-size: 1.08rem !important;
        line-height: 1.35 !important;
    }

    .hero-grid .grid.gap-4.sm\:grid-cols-2,
    .hero-grid .grid.gap-4.sm\:grid-cols-3,
    .home-benefits-panel .grid,
    .product-buy-panel .grid,
    .product-detail-panel .grid,
    .payment-method-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-grid .rounded-\[2\.2rem\],
    .hero-grid .rounded-\[2\.4rem\],
    .hero-grid .glass-panel {
        border-radius: 0.85rem !important;
    }

    .hero-grid .bg-graphite,
    .hero-grid .bg-white,
    .hero-grid .glass-panel {
        padding: 0.9rem !important;
    }

    .mobile-app-header {
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }

    .mobile-app-header nav {
        margin-left: -0.55rem;
        margin-right: -0.55rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .header-main .flex.flex-wrap.items-center.justify-end {
        grid-template-columns: 1fr;
    }

    .cart-link {
        grid-column: auto;
    }

    .product-card .grid.grid-cols-2,
    .cart-link,
    .payment-qr-panel form {
        grid-template-columns: 1fr !important;
    }

    .product-card .grid.grid-cols-2 form,
    .product-card .grid.grid-cols-2 a {
        min-width: 0;
    }

    .card-payment-fields .grid.grid-cols-2,
    .payment-card-form .grid.grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body.page-transition-ready main,
    body.page-transition-entered main,
    body.page-transition-ready.page-is-leaving main,
    .page-soft-enter,
    .page-soft-enter.page-soft-entered,
    .htmx-soft-loading,
    .htmx-soft-enter,
    .htmx-soft-enter.htmx-soft-entered {
        opacity: 1;
        transition: none;
    }

    .fade-up {
        animation: none;
    }

    .reveal-on-scroll,
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    a,
    button {
        transition-duration: 0.12s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}
