﻿:root {
    --white: #ffffff;
    --ink: #2f1c14;
    --muted: #7a5a48;
    --line: #eadfd4;
    --brand-yellow: #f0b429;
    --brand-yellow-deep: #e39a18;
    --brown: #3d271c;
    --caramel: #a9652f;
    --success: #59764a;
    --danger: #a94135;
    --radius: 18px;
    --shadow: 0 14px 34px rgba(61, 39, 28, 0.08);
    --font: "Manrope", "Segoe UI", system-ui, sans-serif;
    --font-brand: "Nunito", "Manrope", system-ui, sans-serif;
    --yuki-dot: url("../images/yuki/dot.png");
    --product-photo-bg: #f2f3f5;
}

* { box-sizing: border-box; }

:focus {
    outline: none;
}

:focus-visible {
    outline: none;
}

img {
    max-width: 100%;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.5;
    position: relative;
}

.bg-yuki {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-yuki-face {
    position: absolute;
    width: clamp(56px, 8vw, 96px);
    height: auto;
    opacity: 0.18;
    filter: drop-shadow(0 8px 14px rgba(61, 39, 28, 0.08));
    user-select: none;
}

.bg-yuki-1 { top: 12%; left: 3%; transform: rotate(-14deg); width: clamp(64px, 9vw, 110px); }
.bg-yuki-2 { top: 28%; right: 4%; transform: rotate(12deg); opacity: 0.14; }
.bg-yuki-3 { top: 58%; left: 6%; transform: rotate(8deg); width: clamp(48px, 7vw, 84px); opacity: 0.16; }
.bg-yuki-4 { bottom: 18%; right: 7%; transform: rotate(-10deg); width: clamp(72px, 10vw, 120px); opacity: 0.15; }
.bg-yuki-5 { bottom: 8%; left: 18%; transform: rotate(16deg); width: clamp(44px, 6vw, 72px); opacity: 0.12; }

.site-header,
.page-shell,
.site-footer,
.flash-stack {
    position: relative;
    z-index: 1;
}

@media (max-width: 700px) {
    .bg-yuki-3,
    .bg-yuki-5 { display: none; }
    .bg-yuki-face { opacity: 0.12; }
}

a {
    color: var(--caramel);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
}
a:hover { color: var(--brand-yellow-deep); }

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(234, 223, 212, 0.9);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-symbol {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff7ea;
    border: 1px solid var(--line);
    padding: 3px;
}

.brand-symbol img { width: 100%; height: 100%; object-fit: contain; }

.navbar-collapse {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav-main {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.nav-mobile-footer {
    display: none;
}

@media (min-width: 993px) {
    .navbar-collapse {
        flex: 1;
        margin-left: 0;
        justify-content: flex-end;
    }

    .nav-main {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

.nav-link {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.nav-link:hover { background: #fff4e5; color: var(--ink); }

.nav-link em {
    font-style: normal;
    margin-left: 4px;
    background: var(--brand-yellow);
    color: var(--ink);
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 0.78rem;
}

.auth-panel {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-email {
    color: var(--muted);
    font-size: 0.86rem;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
}

.page-shell {
    padding: 28px 0 64px;
    flex: 1 0 auto;
}

.btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    padding: 10px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--brown);
    color: #fff;
}

.btn-primary:hover { background: var(--caramel); color: #fff; }

.btn-outline {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.btn-outline:hover { background: #fff7ea; }

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.flash-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 80;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.flash {
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(61, 42, 30, 0.14);
    pointer-events: auto;
    animation: flash-in 0.25s ease;
}

.flash.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.flash-success { background: #eef6ea; color: var(--success); }
.flash-error { background: #fdeceb; color: var(--danger); }

@keyframes flash-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-white {
    position: relative;
    min-height: min(72vh, 640px);
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 28px;
    background: #fff;
}

.hero-brand {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 16px 24px;
}

.brand-logo-text {
    margin: 0;
    color: var(--brand-yellow);
    font-family: var(--font-brand);
    font-weight: 900;
    font-size: clamp(2.6rem, 9vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(227, 154, 24, 0.25);
    animation: brandIn 0.8s ease both;
    display: flex;
    justify-content: center;
}

.brand-logo-stack {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.22em;
}

.brand-logo-lines {
    display: inline;
}

.brand-logo-line {
    display: inline;
}

.brand-logo-text i {
    font-style: normal;
    font-size: 0.45em;
    vertical-align: super;
    margin-left: 0.12em;
}

.hero-lead {
    margin: 22px auto 0;
    max-width: 520px;
    color: var(--muted);
    font-size: 1.05rem;
    animation: fadeUp 0.8s ease 0.15s both;
}

.hero-yuki {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.yuki-face {
    position: absolute;
    width: clamp(42px, 7vw, 72px);
    opacity: 0.92;
    transform: rotate(var(--rot));
    animation: floatY 5.5s ease-in-out infinite;
    animation-delay: var(--delay);
    filter: drop-shadow(0 8px 14px rgba(61, 39, 28, 0.12));
}

.yuki-face-1 { top: 8%; left: 8%; }
.yuki-face-2 { top: 14%; right: 10%; }
.yuki-face-3 { top: 42%; left: 4%; }
.yuki-face-4 { top: 48%; right: 5%; }
.yuki-face-5 { bottom: 12%; left: 14%; }
.yuki-face-6 { bottom: 10%; right: 16%; }
.yuki-face-7 { top: 26%; left: 22%; width: clamp(34px, 5vw, 52px); }
.yuki-face-8 { top: 22%; right: 24%; width: clamp(34px, 5vw, 52px); }
.yuki-face-9 { bottom: 28%; left: 28%; width: clamp(30px, 4.5vw, 46px); }
.yuki-face-10 { bottom: 30%; right: 30%; width: clamp(30px, 4.5vw, 46px); }

@keyframes brandIn {
    from { opacity: 0; transform: translateY(18px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
    0%, 100% { transform: rotate(var(--rot)) translateY(0); }
    50% { transform: rotate(var(--rot)) translateY(-10px); }
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.section-head h2,
.page-title,
.soft-card h1,
.soft-card h2 {
    margin: 0;
    font-family: var(--font-brand);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 560px;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 650;
    line-height: 1.45;
}

.catalog-intro {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.catalog-kicker {
    margin: 0;
    color: var(--caramel);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.catalog-intro h2 {
    margin: 0;
    font-family: var(--font-brand);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.product-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-info-panel {
        padding: 16px 18px 56px;
        gap: 10px;
        justify-content: flex-start;
    }

    .nutrition-panel {
        gap: 10px;
    }

    .nutrition-grid {
        flex: 0 1 auto;
        gap: 8px;
    }

    .nutrition-cell {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .nutrition-cell strong {
        font-size: clamp(1.35rem, 7vw, 1.85rem);
    }

    .meta-line {
        margin-top: 2px;
        padding-bottom: 6px;
    }

    .swiper-dots {
        bottom: 14px;
    }
}

.product-card {
    background: var(--card-tint);
    border: 1px solid color-mix(in srgb, var(--card-tint) 55%, #d9c2aa);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(61, 39, 28, 0.12);
}

.product-swiper {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    background: var(--card-tint);
}

.product-track {
    display: flex;
    width: 500%;
    transition: transform 0.35s ease;
}

.product-slide {
    width: 20%;
    flex: 0 0 20%;
    background: var(--card-tint);
}

.product-slide:first-child {
    background: var(--product-photo-bg);
}

.product-image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: var(--product-photo-bg);
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: var(--product-photo-bg);
}

.product-info-panel {
    aspect-ratio: 1 / 1;
    padding: 22px 22px 52px;
    overflow: hidden;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    box-sizing: border-box;
    background: var(--card-tint);
}

.product-info-panel h4 {
    margin: 0;
    font-size: clamp(1.25rem, 2.6vw, 1.55rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.panel-kicker {
    margin: 0;
    color: var(--caramel);
    font-size: clamp(0.85rem, 1.6vw, 0.98rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nutrition-panel {
    gap: 16px;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 1;
    min-height: 0;
    align-content: stretch;
}

.nutrition-cell {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(61, 39, 28, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 0;
}

.nutrition-cell span {
    color: var(--muted);
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    font-weight: 700;
}

.nutrition-cell strong {
    font-size: clamp(1.55rem, 3.4vw, 2.1rem);
    line-height: 1.05;
    font-weight: 900;
}

.nutrition-cell small {
    color: var(--muted);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.meta-line {
    margin: 0;
    color: var(--muted);
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    font-weight: 650;
    flex-shrink: 0;
}

.facts-panel {
    justify-content: center;
    gap: 18px;
    padding-top: 8px;
}

.ingredients-text {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.45;
    font-weight: 600;
}

.storage-list {
    margin: 8px 0 0;
    padding-left: 1.15em;
    color: var(--ink);
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.45;
    font-weight: 600;
}

.storage-list li + li { margin-top: 8px; }

.swiper-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 2;
    width: max-content;
    margin: 0;
    padding: 0;
    pointer-events: auto;
}

.swiper-dots button {
    width: 18px;
    height: 10px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.swiper-dots button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(61, 39, 28, 0.22);
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, background 0.2s ease;
}

.swiper-dots button.is-active::after {
    width: 18px;
    background: var(--ink);
}

.swiper-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(61, 39, 28, 0.1);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--ink);
    pointer-events: auto;
}

.swiper-nav.prev { left: 6px; }
.swiper-nav.next { right: 6px; }

.swiper-nav.is-disabled,
.swiper-nav:disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

.product-body {
    padding: 16px;
    display: grid;
    gap: 10px;
    flex: 1;
}

.product-body h3 {
    margin: 0;
    font-family: var(--font-brand);
    font-size: 1.35rem;
    font-weight: 900;
}

.product-description {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid rgba(61, 39, 28, 0.1);
    padding-top: 10px;
}

.product-meta-line span { color: var(--muted); font-weight: 700; }
.product-meta-line strong { font-size: 1.15rem; }

.product-actions { margin-top: auto; }
.product-actions .btn { width: 100%; }

.storage-note,
.soft-card,
.auth-card,
.summary-panel,
.table-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.storage-note {
    margin-top: 34px;
    padding: 22px 24px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.storage-note h2 { font-size: 1.35rem; margin-bottom: 8px; }
.storage-note p { margin: 0; color: var(--muted); }

.storage-note-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 18px;
    background: #fffaf4;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--caramel);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.storage-note-link:hover {
    background: #fff4e5;
    border-color: #e2c9a8;
    color: var(--caramel);
    transform: translateY(-1px);
}

.wholesale-strip {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(61, 39, 28, 0.1);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #fff9f1 0%, #f7ebe0 52%, #edd9c4 100%);
}

.wholesale-strip-photo {
    min-height: 100%;
    overflow: hidden;
}

.wholesale-strip-photo img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    pointer-events: none;
}

.wholesale-strip-copy {
    padding: 22px 24px;
    display: grid;
    gap: 8px;
    align-content: center;
}

.wholesale-strip-kicker {
    margin: 0;
    color: var(--caramel);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wholesale-strip h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    line-height: 1.15;
}

.wholesale-strip-copy p {
    margin: 0;
    color: var(--muted);
    max-width: 52ch;
    line-height: 1.45;
}

.wholesale-strip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.wholesale-strip-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(61, 39, 28, 0.08);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.wholesale-strip-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin: 16px 20px 16px 0;
    min-width: 0;
    max-width: 200px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--brown);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 8px 22px rgba(61, 39, 28, 0.18);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wholesale-strip-cta span {
    white-space: nowrap;
}

.wholesale-strip-cta:hover {
    color: #fff;
    background: var(--caramel);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(61, 39, 28, 0.22);
}

@media (max-width: 860px) {
    .wholesale-strip {
        grid-template-columns: 1fr;
    }

    .wholesale-strip-photo img {
        min-height: 140px;
        max-height: 180px;
    }

    .wholesale-strip-cta {
        margin: 0 22px 22px;
        max-width: none;
        width: calc(100% - 44px);
    }
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fffaf5;
    padding: 34px 0;
    color: var(--ink);
    flex-shrink: 0;
    margin-top: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-about {
    max-width: 420px;
}

.footer-brand {
    font-family: var(--font-brand);
    font-weight: 900;
    font-size: 1.25rem;
}

.footer-copy { color: var(--muted); margin: 6px 0 0; }

.footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(61, 39, 28, 0.08);
}

.footer-inn {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.footer-socials {
    margin-top: 22px;
}

.footer-socials-label {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.footer-socials-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.footer-social {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(47, 28, 20, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.footer-social:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 28px rgba(47, 28, 20, 0.2);
    filter: brightness(1.05);
}

.footer-social:active {
    transform: translateY(-1px) scale(1.02);
}

.footer-social-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    background: none;
    color: inherit;
    box-shadow: none;
}

.footer-social-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.footer-social-vk .footer-social-svg-vk {
    width: 24px;
    height: 24px;
    transform: translateY(1.5px);
}

.footer-social:hover .footer-social-icon {
    background: none;
    transform: none;
    box-shadow: none;
}

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

.footer-social-vk {
    background: linear-gradient(145deg, #5b8dcc 0%, #4680c2 55%, #3b6ea8 100%);
}

.footer-social-tiktok {
    background: linear-gradient(145deg, #2a2a2a 0%, #121212 100%);
    box-shadow:
        0 8px 18px rgba(47, 28, 20, 0.12),
        2px 0 0 rgba(37, 244, 238, 0.55),
        -2px 0 0 rgba(254, 44, 85, 0.45);
}

.footer-social-instagram {
    background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%);
}

.footer-social-telegram {
    background: linear-gradient(145deg, #54b3e7 0%, #2a9fd6 55%, #1e8bc3 100%);
}

.footer-social-vk:hover,
.footer-social-tiktok:hover,
.footer-social-instagram:hover,
.footer-social-telegram:hover {
    color: #fff;
}

.footer-social-vk .footer-social-icon,
.footer-social-tiktok .footer-social-icon,
.footer-social-instagram .footer-social-icon,
.footer-social-telegram .footer-social-icon {
    background: none;
    color: inherit;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: flex-end;
    align-content: flex-start;
    margin-left: auto;
    text-align: right;
}

.footer-links a { color: var(--ink); font-size: 0.92rem; }
.footer-links a:hover { color: var(--caramel); }

.auth-shell {
    min-height: 60vh;
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(480px, 100%);
    padding: 28px;
}

.auth-card h1 {
    margin: 0 0 22px;
    font-size: 1.8rem;
}

.form-group { margin-bottom: 16px; }

.checkout-pvz-block {
    margin: 4px 0 18px;
    padding: 16px 16px 4px;
    border-radius: 18px;
    background: linear-gradient(165deg, #fffdf9 0%, #fff4e5 100%);
    border: 1px solid rgba(61, 39, 28, 0.1);
}

.checkout-pvz-kicker {
    margin: 0 0 12px;
    color: var(--caramel);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-group label:not(.checkbox-row) {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--ink);
}

.form-control,
.form-select,
textarea.form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px 13px;
    font: inherit;
    background: #fff;
    color: var(--ink);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a6a4f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: #fffaf4;
    cursor: pointer;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    outline: 0;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.18);
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #8a6a4f;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.15s ease, background 0.15s ease;
}

.password-toggle:hover {
    color: var(--ink);
    background: rgba(61, 39, 28, 0.06);
}

.password-toggle:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 1px;
}

.password-toggle-icon--hide {
    display: none;
}

.password-field.is-visible .password-toggle-icon--show {
    display: none;
}

.password-field.is-visible .password-toggle-icon--hide {
    display: block;
}

textarea.form-control,
.form-control-fixed {
    resize: none;
}

.filter-bar {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-bar .form-group {
    min-width: 180px;
}

.pretty-select {
    position: relative;
    min-width: 180px;
}

.pretty-select-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.pretty-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 11px 14px;
    font: inherit;
    font-weight: 650;
    background: #fffaf4;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pretty-select-trigger:hover {
    border-color: #d2b48c;
}

.pretty-select.is-disabled .pretty-select-trigger {
    opacity: 0.55;
    cursor: not-allowed;
}

.pretty-select.is-open .pretty-select-trigger,
.pretty-select-trigger:focus-visible {
    outline: 0;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.18);
}

.pretty-select-trigger::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #8a6a4f;
    border-bottom: 2px solid #8a6a4f;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.pretty-select.is-open .pretty-select-trigger::after {
    transform: rotate(225deg) translate(-1px, -1px);
}

.pretty-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(61, 39, 28, 0.14);
    z-index: 40;
    display: none;
    max-height: 260px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pretty-select-menu::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.pretty-select.is-open .pretty-select-menu {
    display: grid;
    gap: 2px;
}

.pretty-select-option {
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    font: inherit;
    font-weight: 650;
    color: var(--ink);
    cursor: pointer;
}

.pretty-select-option:hover {
    background: #fff4e5;
}

.pretty-select-option.is-selected {
    background: linear-gradient(145deg, #f0c46a, var(--brand-yellow, #f0b429));
    color: #3d271c;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    user-select: none;
}

.checkbox-row > span {
    flex: 1;
    min-width: 0;
    padding-top: 0;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 8px;
}

.form-actions .btn {
    width: auto;
}

.checkbox-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: grid;
    place-content: center;
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    align-self: center;
    border: 2px solid #d2b48c;
    border-radius: 6px;
    background: #fffaf4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    cursor: pointer;
    position: relative;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.checkbox-row input[type="checkbox"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border: none;
    background: center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 9.5 17 19 7'/%3E%3C/svg%3E");
    transform: scale(0.6);
    opacity: 0;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

.checkbox-row input[type="checkbox"]:hover {
    border-color: var(--caramel);
    box-shadow: 0 0 0 3px rgba(196, 140, 74, 0.14);
}

.checkbox-row input[type="checkbox"]:checked {
    background: linear-gradient(145deg, #e0a35a, var(--caramel));
    border-color: var(--caramel);
    box-shadow: 0 4px 12px rgba(168, 108, 48, 0.28);
}

.checkbox-row input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-row input[type="checkbox"]:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.35);
}

.auth-card .btn { width: 100%; }

.captcha-group {
    margin-bottom: 18px;
}

.hp-field {
    position: absolute !important;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.form-error {
    color: var(--danger);
    font-size: 0.88rem;
    margin-top: 6px;
}

.form-hint {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.84rem;
}

.form-hint a,
.form-hint-action {
    color: var(--caramel);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.form-hint-action:hover {
    color: var(--brown);
}

.auth-switch {
    margin: 16px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.auth-switch a {
    font-weight: 800;
}

.soft-card { padding: 24px; margin-bottom: 18px; }

.page-title { margin-bottom: 18px; font-size: clamp(1.8rem, 4vw, 2.6rem); }

.grid-2 {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
}

.grid-2 > .soft-card,
.grid-2 > .summary-panel {
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.grid-2 > .summary-panel .cart-checkout-btn {
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
}

.cart-page {
    margin-bottom: 40px;
}

.cart-hero {
    margin-bottom: 0;
}

.cart-hero .info-hero-side {
    padding-top: 4px;
}

.cart-story {
    margin-top: 22px;
}

.cart-photo-slot {
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: repeating-linear-gradient(
        -45deg,
        #f7efe6,
        #f7efe6 10px,
        #f1e4d6 10px,
        #f1e4d6 20px
    );
    border: 1px dashed rgba(61, 39, 28, 0.22);
    box-shadow: none;
}

.cart-photo-placeholders .info-hero-main.cart-photo-slot {
    width: 100%;
    height: 340px;
    border-radius: 28px;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.cart-photo-placeholders .info-hero-float.cart-photo-slot {
    object-fit: unset;
    background-image: none;
    padding: 12px;
    font-size: 0.72rem;
    line-height: 1.25;
}

.cart-photo-slot--empty {
    width: 100%;
    min-height: 220px;
    border-radius: 22px;
    margin-bottom: 8px;
}

.cart-photo-slot--thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    flex-shrink: 0;
    font-size: 0.58rem;
    line-height: 1.15;
    padding: 4px;
}

.cart-item-media.cart-photo-slot--item {
    aspect-ratio: 1;
    border-radius: 14px;
    font-size: 0.58rem;
    line-height: 1.15;
    padding: 6px;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.7) 8px,
        rgba(241, 228, 214, 0.85) 8px,
        rgba(241, 228, 214, 0.85) 16px
    );
}

.cart-copy {
    min-width: 0;
}

.cart-side {
    margin-top: 22px;
}

.cart-side--empty {
    width: min(100%, 320px);
    margin-left: auto;
    display: grid;
    gap: 14px;
}

.cart-pick-cta {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(165deg, #fffdf9 0%, #fff4e5 100%);
    border: 1px solid rgba(61, 39, 28, 0.1);
    box-shadow: var(--shadow);
    color: var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cart-pick-cta:hover {
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(61, 39, 28, 0.1);
    border-color: rgba(169, 101, 47, 0.28);
}

.cart-pick-cta-label {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cart-pick-cta-action {
    font-family: "Caveat", cursive;
    font-size: clamp(1.65rem, 3.4vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--caramel);
}

.cart-pick-cta-action span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.cart-pick-cta:hover .cart-pick-cta-action span {
    transform: translateX(4px);
}

.cart-side-photo {
    margin: 0;
}

.cart-side-photo img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(61, 39, 28, 0.08);
    box-shadow: var(--shadow);
    background: #f7efe6;
}

.cart-box {
    background: linear-gradient(165deg, #f4ebe1 0%, #e8d7c4 48%, #dfc9b0 100%);
    border: 1px solid rgba(61, 39, 28, 0.12);
    border-radius: 26px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: min(72vh, 680px);
}

.cart-box-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(61, 39, 28, 0.08);
    background: rgba(255, 253, 249, 0.55);
}

.cart-box-kicker {
    margin: 0;
    color: var(--caramel);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cart-box-count {
    margin: 2px 0 0;
    font-size: 1.05rem;
    font-weight: 850;
}

.cart-side-list {
    display: grid;
    gap: 10px;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 1 auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(61, 39, 28, 0.28) transparent;
}

.cart-side-list::-webkit-scrollbar {
    width: 6px;
}

.cart-side-list::-webkit-scrollbar-thumb {
    background: rgba(61, 39, 28, 0.28);
    border-radius: 999px;
}

.cart-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--card-tint) 72%, white);
    border: 1px solid color-mix(in srgb, var(--card-tint) 45%, #d9c2aa);
    box-shadow: 0 8px 18px rgba(61, 39, 28, 0.05);
}

.cart-item-media {
    aspect-ratio: 1;
    border-radius: 14px;
    background: var(--product-photo-bg);
    display: grid;
    place-items: center;
    padding: 0;
}

.cart-item-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: var(--product-photo-bg);
}

.cart-item-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.cart-item-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.cart-item-meta {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 650;
}

.cart-item-sum {
    font-size: 1.1rem;
    font-weight: 900;
    white-space: nowrap;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(61, 39, 28, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    line-height: 1;
}

.qty-btn:hover {
    background: #fff4e5;
}

.qty-value {
    min-width: 2ch;
    text-align: center;
    font-weight: 800;
    font-size: 0.98rem;
    padding: 0 2px;
}

.cart-remove {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 6px 0;
}

.cart-remove:hover {
    color: var(--danger);
}

.cart-summary {
    padding: 14px 14px 16px;
    margin: 0;
    background: rgba(255, 253, 249, 0.92);
    border: 0;
    border-top: 1px solid rgba(61, 39, 28, 0.1);
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 0;
}

.cart-summary-title {
    margin: 0 0 14px;
    font-size: 1.2rem;
    font-weight: 900;
}

.cart-promo {
    margin-bottom: 16px;
}

.cart-promo label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--muted);
    font-size: 0.86rem;
}

.cart-promo-row {
    display: grid;
    grid-template-columns: 1fr;
}

.cart-promo-ok {
    margin: 8px 0 0;
    color: var(--success);
    font-size: 0.86rem;
    font-weight: 700;
}

.cart-summary .cart-checkout-btn {
    width: 100%;
    margin-top: 6px;
}

.cart-auth-note {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.cart-summary .cart-checkout-btn--secondary {
    margin-top: 10px;
    background: transparent;
}

.cart-continue {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-continue:hover {
    color: var(--caramel);
}

@media (min-width: 993px) {
    .cart-side {
        width: min(100%, 380px);
        margin-left: auto;
    }

    .cart-hero .info-hero-float {
        width: min(38%, 170px);
    }
}

@media (max-width: 768px) {
    .cart-box {
        max-height: none;
        overflow: visible;
    }

    .cart-side-list {
        flex: none;
        min-height: auto;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 520px) {
    .cart-box {
        border-radius: 22px;
    }

    .cart-item {
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 8px;
    }

    .cart-item-top {
        flex-direction: column;
        gap: 4px;
    }
}

.cart-line,
.order-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.cart-line:last-child,
.order-line:last-child { border-bottom: 0; }

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-control input {
    width: 64px;
    text-align: center;
}

.summary-panel { padding: 20px; position: sticky; top: 96px; }

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
    color: var(--muted);
}

.order-line + .summary-row {
    margin-top: 12px;
}

.summary-row strong { color: var(--ink); }

.summary-total {
    border-top: 1px solid var(--line);
    margin-top: 4px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 800;
}

.payment-details {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.payment-details div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffaf4;
}

.payment-details dt { color: var(--muted); font-weight: 700; margin: 0; }
.payment-details dd { margin: 0; font-weight: 800; word-break: break-word; }

.payment-comment {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 4px 8px;
}

.table-card { overflow: auto; }

table.shop-table {
    width: 100%;
    border-collapse: collapse;
}

.shop-table th,
.shop-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.shop-table th {
    background: #fff7ea;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-pill {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff4e5;
    border: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 750;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.admin-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    background: #fff;
}

.admin-nav a:hover,
.admin-nav a.is-active {
    background: var(--brown);
    border-color: var(--brown);
    color: #fff;
}

.promo-usage-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}

.promo-usage-item:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.promo-usage-name {
    display: block;
}

.promo-usage-meta {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.86rem;
}

.promo-usage-item:hover .promo-usage-name {
    color: var(--caramel);
}

.stats-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.stat-card span { color: var(--muted); display: block; font-size: 0.88rem; }
.stat-card strong { font-size: 1.6rem; }

.empty-state {
    padding: 28px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 14px;
}

@media (max-width: 992px) {
    .grid-2,
    .storage-note { grid-template-columns: 1fr; }
    .footer-top,
    .section-head {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-links { justify-content: flex-start; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-menu-toggle { display: inline-flex; }
    .navbar-collapse {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow);
        margin-left: 0;
    }
    .navbar-collapse.is-open { display: flex; }
    .nav-main { flex-direction: column; }
    .nav-mobile-footer {
        display: flex;
        flex-direction: column;
        gap: 4px;
        border-top: 1px solid var(--line);
        padding-top: 12px;
        margin-top: 4px;
    }
    .auth-panel {
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid var(--line);
        padding-top: 12px;
    }
    .auth-panel .btn { width: 100%; }
}

@media (max-width: 576px) {
    .brand-logo-text {
        font-size: clamp(2rem, 11vw, 2.8rem);
        line-height: 0.95;
        width: 100%;
    }

    .brand-logo-stack {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .brand-logo-lines {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 0.06em;
    }

    .brand-logo-line {
        display: block;
    }

    .brand-logo-line--karamel {
        position: relative;
        display: inline-block;
    }

    .brand-logo-line--karamel i {
        position: absolute;
        left: 100%;
        top: 0.08em;
        margin-left: 0.06em;
        vertical-align: baseline;
    }

    .payment-details div { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .yuki-face-1 { top: 6%; left: 6%; }
    .yuki-face-2 { top: 10%; right: 6%; }
    .yuki-face-3 { top: 22%; left: 2%; }
    .yuki-face-4 { top: 24%; right: 2%; }
    .yuki-face-5 { bottom: 16%; left: 10%; }
    .yuki-face-6 { bottom: 14%; right: 10%; }
    .yuki-face-7,
    .yuki-face-8,
    .yuki-face-9,
    .yuki-face-10 { display: none; }
}

.info-page { margin-bottom: 36px; }

.info-hero {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    margin-bottom: 12px;
}

.info-hero-side {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.info-hero-visual {
    position: relative;
    min-height: 340px;
    padding-bottom: 96px;
}

.info-hero-visual.is-solo {
    padding-bottom: 0;
    min-height: 0;
}

.info-hero-visual.is-solo .info-hero-main {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 380px;
}

.info-hero-note {
    margin: 18px 0 0;
    max-width: 15ch;
    display: grid;
    gap: 6px;
    transform: rotate(-3deg);
    transform-origin: left center;
}

.info-hero-note-label {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.info-hero-note-days {
    display: inline-block;
    width: fit-content;
    padding: 2px 10px 4px;
    color: var(--ink);
    font-family: "Caveat", cursive;
    font-size: clamp(1.85rem, 3.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.05;
    background: linear-gradient(180deg, transparent 62%, rgba(233, 176, 98, 0.55) 62%);
    border-radius: 4px;
}

.info-hero-note-days em {
    font-style: normal;
    color: var(--caramel);
}

.info-hero-main {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(61, 39, 28, 0.08);
    box-shadow: var(--shadow);
    background: #f7efe6;
}

.info-hero-float {
    position: absolute;
    right: -10%;
    bottom: 8px;
    width: min(44%, 210px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
    border: 4px solid #fff;
    box-shadow: 0 16px 36px rgba(61, 39, 28, 0.14);
    background: #f7efe6;
    transform: rotate(3deg);
    z-index: 2;
}

.info-hero-copy {
    padding: clamp(8px, 2vw, 18px) 0;
}

.info-hero-copy .page-title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.05;
}

.info-lead {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2.1vw, 1.22rem);
    line-height: 1.45;
    max-width: 28ch;
}

.info-hero-stack {
    position: relative;
    margin-top: 36px;
    margin-left: auto;
    width: min(100%, 300px);
    aspect-ratio: 1 / 1.05;
    transform: translate(8px, 6px);
    overflow: visible;
}

.info-hero-stack-a,
.info-hero-stack-b {
    position: absolute;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(61, 39, 28, 0.18);
    background: #f7efe6;
}

.info-hero-stack-a {
    top: 0;
    left: -20%;
    width: 62%;
    aspect-ratio: 4 / 5;
    transform: rotate(-5deg);
    z-index: 2;
}

.info-hero-stack-b {
    right: 0;
    bottom: 0;
    width: 58%;
    aspect-ratio: 3 / 4;
    transform: rotate(5deg);
    z-index: 1;
}


.info-extra-stack {
    position: relative;
    justify-self: end;
    width: min(100%, 260px);
    min-height: 210px;
    margin-top: 4px;
}

.info-extra-a,
.info-extra-b {
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0 14px 30px rgba(61, 39, 28, 0.12);
    background: #f7efe6;
}

.info-extra-a {
    width: 78%;
    aspect-ratio: 4 / 5;
    display: block;
    transform: rotate(-3deg);
}

.info-extra-b {
    position: absolute;
    right: -4%;
    bottom: -6%;
    width: 64%;
    aspect-ratio: 3 / 4;
    transform: rotate(5deg);
    z-index: 2;
}
.info-body {
    margin-top: 8px;
    padding: 0;
    max-width: none;
    position: relative;
    z-index: 1;
}

.profile-page {
    margin-bottom: 40px;
}

.profile-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 22px;
}

.profile-head .info-lead {
    margin: 8px 0 0;
    max-width: 42ch;
}

.profile-head .profile-actions {
    margin-top: 0;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.profile-actions form {
    margin: 0;
}

.profile-delivery {
    margin-top: 8px;
    padding: 22px 24px;
    border-radius: 24px;
    background: linear-gradient(165deg, #fffdf9 0%, #fff4e5 100%);
    border: 1px solid rgba(61, 39, 28, 0.1);
    box-shadow: var(--shadow);
    max-width: 640px;
}

.profile-delivery-kicker {
    margin: 0 0 6px;
    color: var(--caramel);
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.35;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: visible;
}

.profile-delivery h2,
.profile-password-title {
    margin: 0 0 16px;
    font-family: var(--font-brand);
    font-weight: 900;
    font-size: clamp(1.35rem, 2.8vw, 1.7rem);
    letter-spacing: -0.02em;
    color: var(--ink);
}

.profile-password-title {
    margin: 8px 0 16px;
}

.profile-delivery-details {
    margin: 0;
}

.profile-edit-hero {
    margin-bottom: 8px;
}

.profile-edit-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.profile-edit-grid .profile-delivery {
    max-width: none;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-sizing: border-box;
}

.profile-edit-grid .profile-delivery form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.profile-edit-grid .profile-delivery .profile-actions {
    margin-top: auto;
    padding-top: 8px;
}

@media (max-width: 860px) {
    .profile-edit-grid {
        grid-template-columns: 1fr;
    }
}

.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(100%, 280px);
}

.info-hero-copy .about-gallery {
    margin-top: 28px;
    margin-left: auto;
}

.about-gallery-item {
    margin: 0;
}

.info-hero-copy .about-gallery .about-gallery-item:not(.is-full) img {
    aspect-ratio: 1 / 1;
    max-height: 140px;
    object-fit: cover;
}

.about-gallery-item:not(.is-full) img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.about-gallery-item.is-full img {
    aspect-ratio: auto;
    max-height: none;
    height: auto;
    object-fit: contain;
}

.about-gallery-item img {
    display: block;
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(61, 39, 28, 0.08);
    box-shadow: 0 14px 32px rgba(61, 39, 28, 0.12);
    background: #f7efe6;
}

.about-gallery-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--muted);
    text-align: center;
}

.info-body-row {
    display: grid;
    gap: 28px;
    align-items: center;
}

.info-body-row.has-aside {
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.75fr);
}

.info-body .prose p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--ink);
}

.info-body .prose p + p { margin-top: 12px; }

.legal-page {
    margin-bottom: 40px;
}

.legal-shell {
    max-width: 760px;
    margin: 0 auto;
}

.legal-hero {
    margin-bottom: 20px;
}

.legal-hero .page-title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 2.6rem);
    line-height: 1.08;
}

.legal-hero .info-lead {
    margin: 14px 0 0;
    max-width: none;
}

.legal-meta {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.legal-card {
    padding: 28px 30px;
}

.legal-card h2 {
    margin: 28px 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card ul {
    margin: 8px 0 0;
    padding-left: 1.2em;
    color: var(--ink);
}

.legal-card li + li {
    margin-top: 6px;
}

.legal-card a {
    color: var(--caramel);
    font-weight: 700;
}

.privacy-consent {
    align-items: center;
}

.privacy-consent a {
    color: var(--caramel);
    font-weight: 700;
}

.info-story {
    display: grid;
    gap: 18px;
    max-width: 38rem;
    padding: 4px 0 8px 18px;
    border-left: 3px solid rgba(169, 101, 47, 0.35);
}

.info-aside {
    justify-self: end;
    width: min(100%, 320px);
}

.info-aside img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 28px;
    border: 1px solid rgba(61, 39, 28, 0.08);
    box-shadow: var(--shadow);
    background: #f3e4d4;
}

.info-story-lead,
.info-story-line {
    margin: 0;
    color: var(--ink);
    line-height: 1.55;
}

.info-story-lead {
    font-family: var(--font-brand);
    font-size: clamp(1.15rem, 2.2vw, 1.38rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.info-story-line {
    font-size: 1.08rem;
    color: var(--muted);
}

.info-body h2 { margin: 24px 0 12px; font-size: 1.15rem; }

.info-list {
    margin: 0;
    padding-left: 1.15em;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.55;
}

.info-list li + li { margin-top: 12px; }

.delivery-regions {
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
    background: #fffaf4;
    border: 1px solid var(--line);
}

.delivery-regions h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.delivery-regions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px 18px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.delivery-regions-list li {
    color: var(--ink);
    font-size: 0.94rem;
    line-height: 1.35;
}

.delivery-regions-excluded {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.delivery-regions-excluded span {
    color: var(--ink);
}

.wholesale-box {
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
    background: #fffaf4;
    border: 1px solid var(--line);
}

.wholesale-box h2 { margin-top: 0; }
.wholesale-prices { display: grid; gap: 8px; }

.wholesale-price-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(61, 39, 28, 0.08);
    color: var(--muted);
}

.wholesale-price-row strong { color: var(--ink); font-size: 1.1rem; }
.wholesale-note { color: var(--muted); margin: 12px 0 16px; }

.info-cta-box {
    margin-top: 20px;
}

.info-cta-box .btn {
    width: 100%;
}

.social-block {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid rgba(61, 39, 28, 0.08);
}

.social-head {
    margin-bottom: 18px;
    max-width: 34rem;
}

.social-kicker {
    margin: 0 0 8px;
    color: var(--caramel);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.social-block h2 {
    margin: 0;
    font-family: var(--font-brand);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    line-height: 1.1;
}

.social-lead {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.45;
}

.social-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid transparent;
    background:
        linear-gradient(#fffaf4, #fffaf4) padding-box,
        linear-gradient(135deg, rgba(240, 180, 41, 0.55), rgba(169, 101, 47, 0.25)) border-box;
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(61, 39, 28, 0.1);
}

.social-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    color: var(--caramel);
    box-shadow: inset 0 0 0 1px rgba(61, 39, 28, 0.06);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-meta {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.social-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.social-card strong {
    font-family: var(--font-brand);
    font-size: 1.05rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-arrow {
    color: var(--caramel);
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.18s ease;
}

.social-card:hover .social-arrow { transform: translateX(3px); }

.social-vk .social-icon { color: #4a76a8; }
.social-tiktok .social-icon { color: #2f1c14; }
.social-instagram .social-icon { color: #c13584; }
.social-telegram .social-icon { color: #2a9fd6; }

@media (max-width: 900px) {
    .info-hero {
        grid-template-columns: 1fr;
    }

    .info-hero-visual { min-height: 260px; }
    .info-hero-main { height: 260px; }
    .info-hero-float {
        width: min(40%, 160px);
        bottom: 4px;
        right: -4%;
    }

    .info-hero-copy { order: -1; }

    .info-hero-stack {
        width: min(100%, 240px);
        margin-top: 28px;
        transform: translate(4px, 4px);
    }

    .info-hero-stack-a { left: -16%; }

    .info-body-row.has-aside {
        grid-template-columns: 1fr;
    }

    .info-hero-copy .about-gallery {
        margin-top: 24px;
        max-width: min(100%, 240px);
    }

    .about-gallery,
    .info-aside,
    .info-extra-stack {
        justify-self: start;
        width: min(100%, 240px);
    }

    .info-extra-stack { min-height: 190px; }
}

@media (max-width: 576px) {
    .social-grid { grid-template-columns: 1fr; }
    .info-hero-float { display: none; }
    .info-hero-visual { padding-bottom: 0; }
    .info-hero-stack { width: min(100%, 200px); }
    .info-hero-stack-a { left: -12%; }
}

