/* ==========================================================================
   Арго — публичный сайт
   Палитра: тёплый крем, глубокий хвойный, шалфей, песок
   ========================================================================== */

:root {
    --cream: #f7f3ea;
    --cream-soft: #fbf8f2;
    --paper: #fffdf8;
    --ink: #162b27;
    --ink-soft: #2c423d;
    --muted: #64746e;
    --muted-light: #8b9a94;
    --teal: #0d7a6f;
    --teal-600: #12887b;
    --teal-700: #0b665d;
    --teal-800: #0a4f47;
    --teal-900: #0b3d38;
    --sage: #e5ecdf;
    --sand: #f0e5d2;
    --blush: #f3e3dd;
    --mist: #e1ecea;
    --clay: #eee0d6;
    --sky: #e3eaf0;
    --olive: #e8ead9;
    --peach: #f6e7da;
    --line: rgba(22, 43, 39, 0.12);
    --line-soft: rgba(22, 43, 39, 0.08);
    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 30px;
    --shadow-sm: 0 10px 30px -18px rgba(9, 57, 51, 0.35);
    --shadow: 0 30px 70px -35px rgba(9, 57, 51, 0.45);
    --font-display: 'Prata', 'Times New Roman', Georgia, serif;
    --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--cream-soft);
    background-image: radial-gradient(circle at 12% -10%, #f1ebe0 0, transparent 38%);
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, p, ul, ol {
    margin-top: 0;
}

::selection {
    background: var(--teal);
    color: var(--paper);
}

:focus-visible {
    outline: 3px solid rgba(13, 122, 111, 0.45);
    outline-offset: 3px;
    border-radius: 4px;
}

[hidden] {
    display: none !important;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 500;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--teal-900);
    color: var(--paper);
    font-size: 13px;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.2s;
}

.skip-link:focus {
    transform: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 92px 0;
}

.section--paper {
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.section--sage {
    background: linear-gradient(180deg, #eef2e8 0%, #e5ecdf 100%);
    border-top: 1px solid rgba(22, 43, 39, 0.06);
    border-bottom: 1px solid rgba(22, 43, 39, 0.06);
}

.section--cta {
    padding-top: 72px;
    padding-bottom: 72px;
}

/* --------------------------------------------------------------------------
   Типографика
   -------------------------------------------------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.eyebrow--light {
    color: #a6d4ca;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.012em;
    margin: 16px 0 0;
    color: var(--ink);
}

.section-subtitle {
    margin: 14px 0 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 580px;
}

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

.section-head--center {
    justify-content: center;
    text-align: center;
}

.section-head--center .section-subtitle {
    margin-inline: auto;
}

.section-head--center .eyebrow::before {
    display: none;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
}

.link-arrow .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.link-arrow:hover {
    border-color: var(--teal);
}

.link-arrow:hover .icon {
    transform: translateX(3px);
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.prose {
    max-width: 760px;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    margin: 38px 0 14px;
    line-height: 1.25;
}

.prose h2:first-of-type {
    margin-top: 18px;
}

.prose p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 14px;
}

.prose ul {
    margin: 0 0 18px;
    padding-left: 20px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.8;
}

.prose li {
    margin-bottom: 6px;
}

.prose a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose--narrow {
    max-width: 820px;
}

.prose__meta {
    font-size: 12px !important;
    color: var(--muted-light) !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.prose__notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--cream);
    border-radius: 12px;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    margin-top: 28px !important;
}

.prose__notice .icon {
    width: 17px;
    height: 17px;
    flex: none;
    color: var(--teal);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Кнопки, иконки, бейджи
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.005em;
    cursor: pointer;
    transition: background-color 0.22s, color 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
    white-space: nowrap;
    text-align: center;
}

.btn .icon {
    width: 18px;
    height: 18px;
    flex: none;
}

.btn--lg {
    min-height: 58px;
    padding: 0 32px;
    font-size: 15px;
}

.btn--sm {
    min-height: 42px;
    padding: 0 18px;
    font-size: 12.5px;
}

.btn--primary {
    background: var(--teal);
    color: var(--paper);
    box-shadow: 0 16px 32px -16px rgba(13, 122, 111, 0.65);
}

.btn--primary:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -18px rgba(13, 122, 111, 0.7);
}

.btn--ghost {
    border-color: var(--line);
    background: rgba(255, 253, 248, 0.4);
    color: var(--ink);
}

.btn--ghost:hover {
    background: var(--paper);
    border-color: rgba(22, 43, 39, 0.25);
    transform: translateY(-1px);
}

.btn--light {
    background: var(--paper);
    color: var(--teal-900);
}

.btn--light:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: #17864b;
    color: #fff;
}

.btn--whatsapp:hover {
    background: #106d3b;
    transform: translateY(-2px);
}

.btn--block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

.icon-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
    flex: none;
}

.icon-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.icon-btn .icon {
    width: 20px;
    height: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--teal);
    color: var(--paper);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
}

.badge--sale {
    background: #b4563f;
}

/* --------------------------------------------------------------------------
   Верхняя полоса и шапка
   -------------------------------------------------------------------------- */

.topbar {
    background: var(--teal-900);
    color: rgba(255, 253, 248, 0.78);
    font-size: 12px;
    padding: 9px 0;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar__note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.topbar__note .icon,
.topbar__links .icon {
    width: 14px;
    height: 14px;
    color: #86c0b4;
}

.topbar__links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.topbar__links a:hover {
    color: var(--paper);
}

.topbar__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.3);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(251, 248, 242, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow 0.25s;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 34px -30px rgba(9, 57, 51, 0.55);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.brand__logo {
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.site-header__menu {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-inline: auto;
}

.main-nav a {
    position: relative;
    padding: 7px 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1.5px;
    background: var(--teal);
    transition: right 0.24s;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    right: 0;
}

.main-nav a:hover {
    color: var(--teal);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 214px;
    height: 44px;
    padding: 0 4px 0 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    transition: width 0.22s, border-color 0.22s;
}

.header-search:focus-within {
    width: 252px;
    border-color: var(--teal);
}

.header-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: none;
    font-size: 12.5px;
}

.header-search input::placeholder {
    color: var(--muted-light);
}

.header-search button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    color: var(--paper);
    cursor: pointer;
    flex: none;
}

.header-search button .icon {
    width: 15px;
    height: 15px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.header-phone__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sage);
    color: var(--teal-800);
}

.header-phone__icon .icon {
    width: 17px;
    height: 17px;
}

.header-cart {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: var(--paper);
    transition: background-color 0.2s, transform 0.2s;
    flex: none;
}

.header-cart:hover {
    background: var(--teal-900);
    transform: translateY(-1px);
}

.header-cart .icon {
    width: 20px;
    height: 20px;
}

.header-cart__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 2px solid var(--cream-soft);
    background: var(--paper);
    color: var(--teal-900);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.2s;
}

.header-cart__count.is-bump {
    transform: scale(1.25);
}

/* Мобильное меню */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 140;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
}

.mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 42, 38, 0.48);
    backdrop-filter: blur(3px);
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(410px, 92vw);
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 24px 30px;
    background: var(--paper);
    transform: translateX(102%);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: none;
}

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mobile-search {
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream-soft);
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    outline: 0;
    background: none;
    font-size: 13.5px;
}

.mobile-search button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: var(--teal);
    color: var(--paper);
    cursor: pointer;
}

.mobile-search button .icon {
    width: 16px;
    height: 16px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 17px;
    font-weight: 600;
}

.mobile-nav a span {
    color: var(--teal);
    display: grid;
    place-items: center;
}

.mobile-nav .icon {
    width: 18px;
    height: 18px;
}

.mobile-menu__contacts {
    display: grid;
    gap: 12px;
    margin-top: auto;
    font-size: 12.5px;
    color: var(--muted);
}

.mobile-menu__contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.mobile-menu__contacts p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 11.5px;
    line-height: 1.5;
}

.mobile-menu__contacts .icon {
    width: 16px;
    height: 16px;
    flex: none;
    color: var(--teal);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    padding: 72px 0 86px;
    overflow: hidden;
    background:
        radial-gradient(1000px 620px at 82% 12%, #efe7d6 0%, transparent 62%),
        radial-gradient(700px 500px at 10% 90%, #eef2e8 0%, transparent 60%),
        linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 56px;
    align-items: center;
}

.hero__content {
    max-width: 640px;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(42px, 5vw, 74px);
    line-height: 1.04;
    letter-spacing: -0.022em;
    margin: 22px 0 24px;
    color: var(--ink);
}

.hero__lead {
    max-width: 530px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0 30px;
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12.5px;
    color: var(--ink-soft);
}

.hero__points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__points .icon {
    width: 21px;
    height: 21px;
    padding: 3px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--teal-800);
    flex: none;
}

.hero__visual {
    position: relative;
    min-height: 566px;
    display: grid;
    place-items: center;
}

.hero__blob {
    position: absolute;
    width: 470px;
    height: 470px;
    max-width: 100%;
    border-radius: 52% 48% 60% 40% / 44% 54% 46% 56%;
    background: linear-gradient(145deg, #edf1e6 0%, #dfe8dc 58%, #f0e6d4 100%);
    transform: rotate(-8deg);
    box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.5);
}

.hero__botanical {
    position: absolute;
    top: -14px;
    right: -22px;
    width: 246px;
    color: var(--teal);
    opacity: 0.5;
    pointer-events: none;
}

.hero__product-card {
    position: relative;
    width: 358px;
    max-width: 78%;
    padding: 15px 15px 17px;
    border-radius: 28px;
    background: var(--paper);
    box-shadow: var(--shadow);
    transform: rotate(-2.4deg);
    animation: heroCardIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero__product-media {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 20px;
    background: #f4efe4;
}

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

.hero__product-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 15px 7px 1px;
}

.hero__product-tag {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
}

.hero__product-info strong {
    font-size: 15.5px;
    font-weight: 700;
}

.hero__product-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--teal-900);
}

.hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border-radius: 15px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    font-size: 11.5px;
    line-height: 1.35;
    animation: floatY 7s ease-in-out infinite;
}

.hero__float strong {
    display: block;
    font-size: 12.5px;
}

.hero__float small {
    color: var(--muted);
    font-size: 10.5px;
}

.hero__float--top {
    top: 40px;
    left: 0;
    transform: rotate(-3deg);
}

.hero__float--bottom {
    right: -2px;
    bottom: 56px;
    transform: rotate(2deg);
    animation-delay: -2.6s;
}

.hero__float-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sage);
    color: var(--teal-800);
    flex: none;
}

.hero__float-icon .icon {
    width: 17px;
    height: 17px;
}

.hero__year {
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--teal-900);
    color: var(--paper);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero__year strong {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0;
}

@keyframes heroCardIn {
    from {
        opacity: 0;
        transform: rotate(-2.4deg) translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: rotate(-2.4deg) translateY(0) scale(1);
    }
}

@keyframes floatY {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}

/* Полоса преимуществ */

.trust-strip {
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 24px 0;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 28px;
    border-right: 1px solid var(--line-soft);
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--sage);
    color: var(--teal-800);
    flex: none;
}

.trust-item__icon .icon {
    width: 21px;
    height: 21px;
}

.trust-item h2 {
    font-size: 14.5px;
    margin: 0 0 3px;
}

.trust-item p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Категории
   -------------------------------------------------------------------------- */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    position: relative;
    min-height: 192px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
    transition: transform 0.25s, box-shadow 0.25s;
    isolation: isolate;
}

.category-card::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -56px;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.4);
    z-index: -1;
}

.category-card--sage { background: var(--sage); }
.category-card--sand { background: var(--sand); }
.category-card--blush { background: var(--blush); }
.category-card--mist { background: var(--mist); }
.category-card--clay { background: var(--clay); }
.category-card--sky { background: var(--sky); }
.category-card--olive { background: var(--olive); }
.category-card--peach { background: var(--peach); }

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.category-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.66);
    color: var(--teal-800);
}

.category-card__icon .icon {
    width: 22px;
    height: 22px;
}

.category-card__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 26px;
}

.category-card__name {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.2;
}

.category-card__meta {
    font-size: 11px;
    color: rgba(22, 43, 39, 0.58);
}

.category-card__arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.66);
    color: var(--teal-900);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.22s, transform 0.22s;
}

.category-card:hover .category-card__arrow {
    opacity: 1;
    transform: none;
}

.category-card__arrow .icon {
    width: 15px;
    height: 15px;
}

/* --------------------------------------------------------------------------
   Карточка товара
   -------------------------------------------------------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f4efe4;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
    transform: scale(1.045);
}

.product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 18px 19px;
}

.product-card__cat {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
}

.product-card__title {
    margin: 0 0 6px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 43px;
}

.product-card__title a:hover {
    color: var(--teal);
}

.product-card__short {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 37px;
    margin: 0 0 14px;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--muted);
}

.product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.product-price__current {
    font-size: 18px;
    font-weight: 800;
    color: var(--teal-900);
    white-space: nowrap;
}

.product-price__old {
    font-size: 11.5px;
    color: var(--muted-light);
    text-decoration: line-through;
    white-space: nowrap;
}

.product-card__add {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    color: var(--paper);
    cursor: pointer;
    flex: none;
    transition: background-color 0.2s, transform 0.2s;
}

.product-card__add:hover {
    background: var(--teal-900);
    transform: scale(1.06);
}

.product-card__add .icon {
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   О компании
   -------------------------------------------------------------------------- */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 76px;
    align-items: center;
    margin-bottom: 72px;
}

.about__media {
    position: relative;
    padding: 16px 0 46px;
}

.about__image {
    overflow: hidden;
    background: var(--paper);
}

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

.about__image--main {
    width: 86%;
    aspect-ratio: 1;
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
}

.about__image--small {
    position: absolute;
    right: 0;
    bottom: 14px;
    width: 42%;
    aspect-ratio: 1;
    border: 8px solid var(--paper);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.about__note {
    position: absolute;
    left: -6px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 18px;
    background: var(--teal-900);
    color: var(--paper);
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about__note-number {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0;
}

.about__content > p {
    max-width: 560px;
    margin: 0 0 14px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--muted);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 30px 0;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    color: var(--teal-800);
}

.stat span {
    display: block;
    margin-top: 8px;
    font-size: 10.5px;
    line-height: 1.55;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding-top: 52px;
    border-top: 1px solid rgba(22, 43, 39, 0.12);
}

.value__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 14px;
    background: var(--paper);
    color: var(--teal);
}

.value__icon .icon {
    width: 21px;
    height: 21px;
}

.value h3 {
    margin: 0 0 7px;
    font-size: 14px;
}

.value p {
    max-width: 250px;
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Доставка и CTA
   -------------------------------------------------------------------------- */

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.delivery-card {
    position: relative;
    min-height: 252px;
    padding: 28px;
    border: 1px solid var(--line-soft);
    border-radius: 24px;
    background: var(--paper);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.delivery-card__index {
    position: absolute;
    top: 16px;
    right: 22px;
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 1;
    color: rgba(13, 122, 111, 0.1);
}

.delivery-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 16px;
    background: var(--sage);
    color: var(--teal-800);
}

.delivery-card__icon .icon {
    width: 23px;
    height: 23px;
}

.delivery-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.delivery-card p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--muted);
}

.delivery-note {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    padding: 22px 26px;
    border-radius: 20px;
    background: var(--teal-900);
    color: var(--paper);
}

.delivery-note__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 253, 248, 0.12);
    color: #a6d4ca;
    flex: none;
}

.delivery-note__icon .icon {
    width: 21px;
    height: 21px;
}

.delivery-note strong {
    font-size: 13.5px;
}

.delivery-note p {
    max-width: 620px;
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 253, 248, 0.7);
}

.delivery-note .link-arrow {
    margin-left: auto;
    color: #a6d4ca;
}

.cta {
    position: relative;
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 40px;
    align-items: center;
    padding: 60px 64px;
    border-radius: 32px;
    background:
        radial-gradient(600px 400px at 90% 10%, rgba(90, 163, 148, 0.32) 0%, transparent 70%),
        linear-gradient(118deg, var(--teal-900) 0%, #0c5a51 100%);
    color: var(--paper);
    overflow: hidden;
}

.cta__leaves {
    position: absolute;
    right: 25%;
    bottom: -40px;
    width: 300px;
    color: #9ed2c6;
    opacity: 0.22;
    pointer-events: none;
}

.cta__content {
    position: relative;
    z-index: 1;
}

.cta__content h2 {
    margin: 16px 0 14px;
    font-family: var(--font-display);
    font-size: clamp(30px, 3.3vw, 45px);
    font-weight: 400;
    line-height: 1.12;
}

.cta__content p {
    max-width: 560px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 253, 248, 0.7);
}

.cta__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 253, 248, 0.88);
}

.cta__phone .icon {
    width: 17px;
    height: 17px;
}

/* --------------------------------------------------------------------------
   Контакты
   -------------------------------------------------------------------------- */

.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contacts__lead {
    max-width: 450px;
    margin: 14px 0 26px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
}

.contacts__list {
    display: grid;
    gap: 16px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.contacts__list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.contacts__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--sage);
    color: var(--teal-800);
    flex: none;
}

.contacts__icon .icon {
    width: 19px;
    height: 19px;
}

.contacts__list div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contacts__list span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contacts__list strong,
.contacts__list a {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
}

.contacts__list a:hover {
    color: var(--teal);
}

.contacts__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.map-card {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(160deg, #e8efe4 0%, #dce7da 100%);
    overflow: hidden;
}

.map-card__grid {
    position: absolute;
    inset: -80px;
    background-image:
        linear-gradient(rgba(13, 122, 111, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 122, 111, 0.1) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: rotate(-6deg) scale(1.1);
}

.map-card__pin {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    max-width: 320px;
    padding: 22px 26px;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
    text-align: center;
}

.map-card__pin > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 5px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--paper);
}

.map-card__pin strong {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
}

.map-card__pin small {
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--muted);
}

.map-card__link {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
    color: var(--teal-900);
    font-size: 11.5px;
    font-weight: 700;
}

.map-card__link .icon {
    width: 13px;
    height: 13px;
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
    padding: 68px 0 26px;
    background: #082a26;
    color: #c9d6d1;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 46px;
}

.footer-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    color: var(--paper);
}

.footer-brand__name {
    font-family: var(--font-display);
    font-size: 29px;
    letter-spacing: 0.2em;
    line-height: 1;
}

.footer-brand__wave {
    width: 118px;
    height: 12px;
    color: #6ea89c;
}

.footer__tagline {
    max-width: 310px;
    margin: 18px 0 21px;
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(201, 214, 209, 0.68);
}

.footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 11.5px;
    color: #dfe8e4;
    transition: border-color 0.2s, color 0.2s;
}

.footer__social-link:hover {
    border-color: #6ea89c;
    color: #fff;
}

.footer__social-link .icon {
    width: 15px;
    height: 15px;
}

.footer__title {
    margin: 5px 0 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8fb0a8;
}

.footer__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__list a {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(226, 235, 231, 0.78);
    transition: color 0.2s;
}

.footer__list a:hover {
    color: #fff;
}

.footer__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a8cfc5 !important;
    font-weight: 700;
}

.footer__all .icon {
    width: 13px;
    height: 13px;
}

.footer__contacts {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__contacts li {
    display: flex;
    gap: 9px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(226, 235, 231, 0.78);
}

.footer__contacts .icon {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 3px;
    color: #7fb3a8;
}

.footer__contacts a:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 52px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: rgba(201, 214, 209, 0.5);
}

.footer__bottom p {
    margin: 0;
}

.footer__legal {
    color: rgba(201, 214, 209, 0.4) !important;
}

.footer__bottom a {
    color: rgba(226, 235, 231, 0.75);
}

.footer__bottom a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Внутренние страницы
   -------------------------------------------------------------------------- */

.page-hero {
    padding: 42px 0 38px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
}

.page-hero--compact {
    padding-bottom: 20px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 28px;
    font-size: 11px;
    color: var(--muted);
}

.breadcrumbs a:hover {
    color: var(--teal);
}

.breadcrumbs .icon {
    width: 12px;
    height: 12px;
    opacity: 0.55;
}

.page-title {
    margin: 15px 0 13px;
    font-family: var(--font-display);
    font-size: clamp(34px, 4.1vw, 54px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.012em;
}

.page-subtitle {
    max-width: 700px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Каталог
   -------------------------------------------------------------------------- */

.catalog-toolbar-wrap {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 16px;
}

.catalog-toolbar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.catalog-count {
    margin: 0;
    font-size: 11.5px;
    color: var(--muted);
}

.filters-open {
    display: none;
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    color: var(--muted);
}

.select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.select-wrap select {
    height: 42px;
    padding: 0 38px 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    appearance: none;
    outline: 0;
}

.select-wrap select:focus {
    border-color: var(--teal);
}

.select-wrap .icon {
    position: absolute;
    right: 12px;
    width: 14px;
    height: 14px;
    color: var(--muted);
    pointer-events: none;
}

.active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 2px 0 18px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--sage);
    font-size: 11px;
    color: var(--teal-900);
}

.filter-chip .icon {
    width: 11px;
    height: 11px;
}

.filter-reset {
    font-size: 11px;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.catalog-section {
    padding-top: 34px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 104px;
    padding: 22px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--paper);
}

.filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.filters-head h2 {
    margin: 0;
    font-size: 15px;
}

.filters-head .icon-btn {
    display: none;
}

.filter-group {
    padding: 16px 0;
    border-top: 1px solid var(--line-soft);
}

.filter-group h3 {
    margin: 0 0 10px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.filter-cats {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.filter-cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--ink-soft);
    transition: background-color 0.18s, color 0.18s;
}

.filter-cats a:hover {
    background: var(--cream);
}

.filter-cats a.is-active {
    background: var(--teal-900);
    color: var(--paper);
    font-weight: 600;
}

.filter-cats__count {
    font-size: 10px;
    opacity: 0.55;
    flex: none;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
}

.price-inputs label {
    flex: 1;
    min-width: 0;
}

.price-inputs input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--cream-soft);
    font-size: 12px;
    outline: 0;
}

.price-inputs input:focus {
    border-color: var(--teal);
}

.price-inputs__dash {
    color: var(--muted);
    font-size: 11px;
}

.filters-reset {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--muted);
}

.filters-reset:hover {
    color: var(--teal);
}

.filters-reset .icon {
    width: 13px;
    height: 13px;
}

.filters-help {
    margin-top: 20px;
    padding: 17px;
    border-radius: 15px;
    background: var(--sage);
    text-align: center;
}

.filters-help__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.7);
    color: var(--teal-800);
}

.filters-help__icon .icon {
    width: 18px;
    height: 18px;
}

.filters-help p {
    margin: 0 0 11px;
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

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

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 42px;
}

.pagination a,
.pagination > span {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0 9px;
    border-radius: 11px;
    font-size: 12.5px;
    font-weight: 600;
    transition: background-color 0.18s, color 0.18s;
}

.pagination a:hover {
    background: var(--sage);
}

.pagination .is-current {
    background: var(--teal-900);
    color: var(--paper);
}

.pagination__arrow {
    border: 1px solid var(--line);
    background: var(--paper);
}

.pagination__arrow .icon {
    width: 15px;
    height: 15px;
}

.pagination__arrow.is-disabled {
    opacity: 0.35;
}

.pagination__dots {
    color: var(--muted);
}

.catalog-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 46px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.catalog-info__item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.catalog-info__item > .icon {
    width: 21px;
    height: 21px;
    flex: none;
    margin-top: 2px;
    color: var(--teal);
}

.catalog-info__item strong {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
}

.catalog-info__item span {
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted);
}

.catalog-info__item a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.empty-state {
    padding: 76px 24px;
    border: 1px dashed var(--line);
    border-radius: 24px;
    background: var(--paper);
    text-align: center;
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--teal);
}

.empty-state__icon .icon {
    width: 26px;
    height: 26px;
}

.empty-state h2 {
    margin: 0 0 9px;
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 400;
}

.empty-state p {
    max-width: 420px;
    margin: 0 auto 21px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

.filters-overlay {
    display: none;
}

/* --------------------------------------------------------------------------
   Карточка товара
   -------------------------------------------------------------------------- */

.product-section {
    padding-top: 30px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 60px;
    align-items: start;
    margin-top: 18px;
}

.product-gallery__main {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid var(--line-soft);
    border-radius: 28px;
    background: var(--paper);
    overflow: hidden;
}

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

.product-gallery__note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 13px;
    padding: 14px 18px;
    border-radius: 13px;
    background: var(--sage);
    font-size: 11px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.product-gallery__note .icon {
    width: 17px;
    height: 17px;
    flex: none;
    color: var(--teal);
    margin-top: 1px;
}

.product-gallery__note p {
    margin: 0;
}

.product-info__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.product-info__cat {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
}

.product-info__sku {
    font-size: 10.5px;
    color: var(--muted);
}

.product-info__title {
    margin: 0 0 13px;
    font-family: var(--font-display);
    font-size: clamp(29px, 3.5vw, 45px);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -0.012em;
}

.product-info__short {
    max-width: 560px;
    margin: 0 0 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
}

.product-info__price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.product-price--big .product-price__current {
    font-size: 33px;
    font-weight: 800;
    color: var(--teal-900);
}

.product-price--big .product-price__old {
    font-size: 13px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.stock-badge .icon {
    width: 14px;
    height: 14px;
}

.stock-badge.is-in-stock {
    background: var(--sage);
    color: var(--teal-800);
}

.stock-badge.is-preorder {
    background: var(--sand);
    color: #7a5a2c;
}

.product-buy {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
}

.product-buy__add {
    flex: 1;
    min-width: 230px;
}

.qty {
    display: inline-flex;
    align-items: center;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    overflow: hidden;
    flex: none;
}

.qty button {
    width: 44px;
    height: 100%;
    display: grid;
    place-items: center;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
}

.qty button:hover {
    background: var(--cream);
}

.qty button .icon {
    width: 15px;
    height: 15px;
}

.qty input {
    width: 42px;
    border: 0;
    outline: 0;
    background: none;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-info__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal);
}

.product-info__whatsapp .icon {
    width: 16px;
    height: 16px;
}

.product-benefits {
    display: grid;
    gap: 13px;
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.product-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted);
}

.product-benefits .icon {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 1px;
    color: var(--teal);
}

.product-benefits strong {
    color: var(--ink);
    font-weight: 700;
}

.product-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 20px;
    padding: 13px 15px;
    border-radius: 12px;
    background: var(--cream);
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted);
}

.product-payment-note .icon {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--teal);
    margin-top: 1px;
}

.product-payment-note p {
    margin: 0;
}

.product-description-section {
    padding: 66px 0;
}

.product-details {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 54px;
    align-items: start;
}

.product-description h2 {
    margin: 14px 0 18px;
    font-family: var(--font-display);
    font-size: 29px;
    font-weight: 400;
}

.product-description p {
    margin: 0 0 15px;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--muted);
}

.product-disclaimer {
    margin-top: 22px !important;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 10.5px !important;
    line-height: 1.6 !important;
    color: var(--muted-light) !important;
}

.product-aside {
    display: grid;
    gap: 14px;
}

.product-aside__card {
    padding: 23px;
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    background: var(--paper);
}

.product-aside__card--muted {
    background: var(--sage);
    border-color: transparent;
}

.product-aside__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 13px;
    border-radius: 12px;
    background: var(--sage);
    color: var(--teal-800);
}

.product-aside__card--muted .product-aside__icon {
    background: rgba(255, 253, 248, 0.7);
}

.product-aside__icon .icon {
    width: 19px;
    height: 19px;
}

.product-aside__card h3 {
    margin: 0 0 7px;
    font-size: 15px;
}

.product-aside__card p {
    margin: 0 0 15px;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--muted);
}

.product-aside__phone {
    display: block;
    margin-top: 11px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: var(--teal);
}

.product-aside__meta {
    font-size: 10.5px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Оформление заказа
   -------------------------------------------------------------------------- */

.checkout-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 26px;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-light);
}

.steps li span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
}

.steps li.is-done {
    color: var(--teal);
}

.steps li.is-done span {
    border-color: transparent;
    background: var(--sage);
    color: var(--teal-800);
}

.steps li.is-current {
    color: var(--ink);
    font-weight: 700;
}

.steps li.is-current span {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--paper);
}

.checkout-section {
    padding-top: 32px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 32px;
    align-items: start;
}

.checkout-form {
    display: grid;
    gap: 16px;
}

.form-card {
    padding: 28px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--paper);
}

.form-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.form-card__step {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--teal-900);
    color: var(--paper);
    font-size: 10px;
    font-weight: 700;
    flex: none;
}

.form-card__head h2 {
    margin: 0 0 3px;
    font-size: 18px;
}

.form-card__head p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.field--full {
    grid-column: 1 / -1;
}

.field > span {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-soft);
}

.field em {
    font-style: normal;
    color: #b4563f;
}

.field i {
    margin-left: 4px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    color: var(--muted-light);
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--cream-soft);
    font-size: 13.5px;
    color: var(--ink);
    outline: 0;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field textarea {
    min-height: 88px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--teal);
    background: var(--paper);
    box-shadow: 0 0 0 4px rgba(13, 122, 111, 0.07);
}

.field input.is-invalid,
.field textarea.is-invalid {
    border-color: #c2604b;
    background: #fff8f5;
}

.field__error {
    min-height: 0;
    font-size: 10.5px;
    color: #b4563f;
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 16px;
}

.delivery-option {
    position: relative;
    cursor: pointer;
}

.delivery-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-option__body {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--cream-soft);
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.delivery-option input:checked + .delivery-option__body {
    border-color: var(--teal);
    background: var(--sage);
    box-shadow: inset 0 0 0 1px var(--teal);
}

.delivery-option__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--paper);
    color: var(--teal-800);
    flex: none;
}

.delivery-option__icon .icon {
    width: 18px;
    height: 18px;
}

.delivery-option__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.delivery-option__text strong {
    font-size: 12px;
    line-height: 1.4;
}

.delivery-option__text small {
    font-size: 10px;
    line-height: 1.45;
    color: var(--muted);
}

.delivery-option__check {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: transparent;
    flex: none;
}

.delivery-option input:checked + .delivery-option__body .delivery-option__check {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--paper);
}

.delivery-option__check .icon {
    width: 11px;
    height: 11px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--cream-soft);
}

.payment-option__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--sage);
    color: var(--teal-800);
    flex: none;
}

.payment-option__icon .icon {
    width: 19px;
    height: 19px;
}

.payment-option strong {
    font-size: 13px;
}

.payment-option p {
    margin: 2px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
}

.payment-option__badge {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    margin-left: auto;
    border-radius: 50%;
    background: var(--teal);
    color: var(--paper);
    flex: none;
}

.payment-option__badge .icon {
    width: 12px;
    height: 12px;
}

.checkout-submit {
    padding: 24px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--paper);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted);
    cursor: pointer;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox__box {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--cream-soft);
    color: transparent;
    flex: none;
}

.checkbox input:checked + .checkbox__box {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--paper);
}

.checkbox input:focus-visible + .checkbox__box,
.delivery-option input:focus-visible + .delivery-option__body {
    outline: 3px solid rgba(13, 122, 111, 0.35);
    outline-offset: 3px;
}

.checkbox__box .icon {
    width: 12px;
    height: 12px;
}

.checkbox a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkout-submit__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

.checkout-submit__note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    max-width: 330px;
    margin: 0;
    font-size: 10px;
    line-height: 1.55;
    color: var(--muted);
}

.checkout-submit__note .icon {
    width: 14px;
    height: 14px;
    flex: none;
    color: var(--teal);
}

.checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 11px;
    color: var(--muted);
}

.checkout-back .icon {
    width: 13px;
    height: 13px;
}

.checkout-errors {
    padding: 13px 17px;
    border: 1px solid #efc9bf;
    border-radius: 13px;
    background: #fff3ef;
    font-size: 12px;
    color: #9b3d2c;
}

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

.checkout-summary {
    position: sticky;
    top: 104px;
    padding: 24px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--paper);
}

.checkout-summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.checkout-summary__head h2 {
    margin: 0;
    font-size: 16px;
}

.checkout-summary__head a {
    font-size: 11px;
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkout-item {
    display: flex;
    gap: 11px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
}

.checkout-item__img {
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--cream);
    flex: none;
}

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

.checkout-item__body {
    flex: 1;
    min-width: 0;
}

.checkout-item__name {
    margin: 0 0 2px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
}

.checkout-item__meta {
    font-size: 10px;
    color: var(--muted);
}

.checkout-item__sum {
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.checkout-summary__totals {
    display: grid;
    gap: 7px;
    margin-top: 16px;
}

.checkout-summary__totals > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 11.5px;
    color: var(--muted);
}

.checkout-summary__totals strong {
    font-weight: 600;
    color: var(--ink);
    text-align: right;
}

.checkout-summary__grand {
    margin-top: 5px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    color: var(--ink) !important;
    font-size: 13px !important;
}

.checkout-summary__grand strong {
    font-size: 21px;
    font-weight: 800;
    color: var(--teal-900);
}

.checkout-progress {
    margin-top: 18px;
    padding: 13px;
    border-radius: 11px;
    background: var(--cream);
    font-size: 10.5px;
    color: var(--muted);
}

.checkout-progress p {
    margin: 0 0 7px;
}

.checkout-summary__benefits {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--line-soft);
    list-style: none;
}

.checkout-summary__benefits li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    color: var(--muted);
}

.checkout-summary__benefits .icon {
    width: 14px;
    height: 14px;
    color: var(--teal);
}

.checkout-summary__empty {
    padding: 20px 0 4px;
    font-size: 12px;
    color: var(--muted);
}

.checkout-summary__empty p {
    margin: 0 0 8px;
}

.checkout-empty-page {
    max-width: 460px;
    margin: 10px auto 70px;
    text-align: center;
}

.checkout-empty-page h2 {
    margin: 16px 0 8px;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
}

.checkout-empty-page p {
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--muted);
}

.order-success {
    max-width: 620px;
    margin: 10px auto 40px;
    padding: 52px 40px;
    border: 1px solid var(--line-soft);
    border-radius: 28px;
    background: var(--paper);
    text-align: center;
    scroll-margin-top: 110px;
}

.order-success__icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--teal);
}

.order-success__icon .icon {
    width: 34px;
    height: 34px;
}

.order-success h2 {
    margin: 13px 0 11px;
    font-family: var(--font-display);
    font-size: 31px;
    font-weight: 400;
    line-height: 1.2;
}

.order-success__text {
    margin: 0 0 13px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--muted);
}

.order-success__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
}

.order-success__note .icon {
    width: 14px;
    height: 14px;
}

.order-success__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
    margin: 25px 0 16px;
}

.order-success__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
}

.order-success__phone .icon {
    width: 15px;
    height: 15px;
}

/* --------------------------------------------------------------------------
   Корзина (drawer)
   -------------------------------------------------------------------------- */

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(7, 42, 38, 0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.25s;
}

.drawer-overlay.is-visible {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 160;
    width: min(440px, 100%);
    display: flex;
    flex-direction: column;
    background: var(--paper);
    box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.4);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.32s;
}

.cart-drawer.is-open {
    transform: none;
    visibility: visible;
}

.cart-drawer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--line-soft);
}

.cart-drawer__head h2 {
    margin: 6px 0 0;
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 400;
}

.cart-drawer__count {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
}

.cart-drawer__body {
    flex: 1;
    padding: 6px 24px 18px;
    overflow-y: auto;
}

.cart-empty {
    padding: 66px 10px;
    text-align: center;
}

.cart-empty__icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--teal);
}

.cart-empty__icon .icon {
    width: 30px;
    height: 30px;
}

.cart-empty h3 {
    margin: 0 0 7px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
}

.cart-empty p {
    max-width: 260px;
    margin: 0 auto 19px;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--muted);
}

.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
}

.cart-item__img {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--cream);
}

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

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

.cart-item__name {
    margin: 0 0 3px;
    padding-right: 24px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
}

.cart-item__name a:hover {
    color: var(--teal);
}

.cart-item__price {
    font-size: 11px;
    color: var(--muted);
}

.cart-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
}

.cart-item__sum {
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.cart-item__remove {
    position: absolute;
    top: 16px;
    right: 0;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 0;
    background: none;
    color: var(--muted-light);
    cursor: pointer;
}

.cart-item__remove:hover {
    color: #b4563f;
}

.cart-item__remove .icon {
    width: 14px;
    height: 14px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    height: 31px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.cart-qty button {
    width: 27px;
    height: 100%;
    display: grid;
    place-items: center;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
}

.cart-qty button:hover {
    background: var(--cream);
}

.cart-qty span {
    min-width: 25px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.cart-qty .icon {
    width: 11px;
    height: 11px;
}

.cart-drawer__foot {
    padding: 17px 24px 22px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.cart-progress {
    margin-bottom: 13px;
    font-size: 10.5px;
    color: var(--muted);
}

.cart-progress p {
    margin: 0 0 6px;
}

.cart-progress__track {
    height: 5px;
    border-radius: 999px;
    background: var(--cream);
    overflow: hidden;
}

.cart-progress__bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), #43a89a);
    transition: width 0.3s;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-total span {
    font-size: 12px;
    color: var(--muted);
}

.cart-total strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--teal-900);
}

.cart-drawer__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 11px 0 0;
    font-size: 9.5px;
    color: var(--muted);
}

.cart-drawer__note .icon {
    width: 12px;
    height: 12px;
}

/* --------------------------------------------------------------------------
   Уведомления, 404
   -------------------------------------------------------------------------- */

.toast-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 9px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 360px;
    padding: 13px 17px;
    border-radius: 13px;
    background: var(--teal-900);
    color: var(--paper);
    font-size: 12px;
    line-height: 1.5;
    box-shadow: var(--shadow);
    animation: toastIn 0.28s ease both;
    pointer-events: auto;
}

.toast .icon {
    width: 17px;
    height: 17px;
    flex: none;
    color: #8fd0c3;
}

.toast--error {
    background: #7d2f22;
}

.toast--error .icon {
    color: #f3c3b9;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.not-found {
    padding: 76px 0 96px;
    text-align: center;
}

.not-found__code {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(100px, 17vw, 210px);
    line-height: 0.88;
    color: rgba(13, 122, 111, 0.13);
}

.not-found__title {
    margin: 8px 0 14px;
    font-family: var(--font-display);
    font-size: clamp(29px, 3.8vw, 50px);
    font-weight: 400;
    line-height: 1.15;
}

.not-found__text {
    max-width: 500px;
    margin: 0 auto 26px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.not-found__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
}

.not-found__help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    font-size: 11px;
    color: var(--muted);
}

.not-found__help .icon {
    width: 14px;
    height: 14px;
}

.not-found__help a {
    color: var(--teal);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .main-nav {
        gap: 18px;
    }

    .header-search {
        width: 180px;
    }

    .header-search:focus-within {
        width: 210px;
    }

    .product-grid {
        gap: 16px;
    }

    .hero__grid {
        gap: 36px;
    }
}

@media (max-width: 1024px) {
    .main-nav,
    .header-search,
    .header-phone__text {
        display: none;
    }

    .site-header__menu {
        display: grid;
    }

    .site-header__inner {
        gap: 14px;
        min-height: 74px;
    }

    .brand__logo {
        height: 40px;
    }

    .hero {
        padding: 58px 0 72px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .hero__content {
        max-width: 680px;
    }

    .hero__visual {
        min-height: 520px;
        max-width: 640px;
        width: 100%;
        margin-inline: auto;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .about {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about__media {
        max-width: 560px;
    }

    .values {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-card {
        min-height: 380px;
    }

    .cta {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 48px;
    }

    .cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 170;
        width: min(360px, 88vw);
        padding: 22px;
        border-radius: 0;
        overflow-y: auto;
        transform: translateX(-102%);
        transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
        box-shadow: 30px 0 80px -40px rgba(0, 0, 0, 0.4);
    }

    .catalog-sidebar.is-open {
        transform: none;
    }

    .filters-head .icon-btn {
        display: grid;
    }

    .filters-open {
        display: inline-flex;
    }

    .filters-overlay {
        position: fixed;
        inset: 0;
        z-index: 165;
        display: block;
        background: rgba(7, 42, 38, 0.4);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, visibility 0.25s;
    }

    .filters-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .product-detail {
        gap: 38px;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-aside {
        grid-template-columns: 1fr 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
        order: -1;
    }

    .footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer__col--contacts {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding: 64px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
    }

    .section-head--center {
        align-items: center;
    }

    .topbar {
        font-size: 10.5px;
        padding: 7px 0;
    }

    .topbar__note {
        max-width: 60%;
        line-height: 1.35;
    }

    .topbar__links {
        gap: 8px;
    }

    .topbar__links a:last-child,
    .topbar__dot {
        display: none;
    }

    .site-header__inner {
        min-height: 68px;
    }

    .brand__logo {
        height: 36px;
    }

    .header-cart {
        width: 42px;
        height: 42px;
    }

    .hero {
        padding: 44px 0 62px;
    }

    .hero__title {
        margin: 16px 0 18px;
    }

    .hero__lead {
        font-size: 15px;
    }

    .hero__actions {
        margin: 26px 0 24px;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }

    .hero__points {
        gap: 8px 16px;
        font-size: 11.5px;
    }

    .hero__visual {
        min-height: 430px;
    }

    .hero__blob {
        width: 360px;
        height: 360px;
    }

    .hero__product-card {
        width: 300px;
    }

    .hero__botanical {
        width: 180px;
        right: -10px;
    }

    .hero__float {
        padding: 9px 12px;
        font-size: 10px;
    }

    .hero__float strong {
        font-size: 11px;
    }

    .hero__float small {
        font-size: 9px;
    }

    .hero__float-icon {
        width: 30px;
        height: 30px;
    }

    .hero__float--top {
        top: 8px;
        left: -2px;
    }

    .hero__float--bottom {
        right: -2px;
        bottom: 44px;
    }

    .hero__year {
        bottom: -8px;
    }

    .trust-strip__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .trust-item {
        padding: 13px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .trust-item__icon {
        width: 40px;
        height: 40px;
    }

    .category-grid {
        gap: 12px;
    }

    .category-card {
        min-height: 164px;
        padding: 18px;
    }

    .category-card__name {
        font-size: 16px;
    }

    .category-card__icon {
        width: 42px;
        height: 42px;
    }

    .product-grid,
    .product-grid--catalog {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card__body {
        padding: 13px 13px 14px;
    }

    .product-card__title {
        font-size: 13.5px;
        min-height: 38px;
    }

    .product-card__short {
        display: none;
    }

    .product-card__cat {
        font-size: 8.5px;
    }

    .product-price__current {
        font-size: 15.5px;
    }

    .product-card__add {
        width: 36px;
        height: 36px;
    }

    .product-card__add .icon {
        width: 15px;
        height: 15px;
    }

    .product-card__badges {
        top: 8px;
        left: 8px;
    }

    .badge {
        padding: 5px 8px;
        font-size: 8px;
    }

    .about {
        gap: 40px;
        margin-bottom: 48px;
    }

    .about__note {
        left: 0;
        bottom: 6px;
        padding: 12px 16px;
    }

    .about__note-number {
        font-size: 23px;
    }

    .about__image--small {
        border-width: 6px;
        bottom: 0;
    }

    .stats {
        gap: 10px;
    }

    .stat strong {
        font-size: 25px;
    }

    .stat span {
        font-size: 9px;
    }

    .values {
        grid-template-columns: 1fr 1fr;
        gap: 22px 18px;
        padding-top: 38px;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .delivery-card {
        min-height: 0;
        padding: 24px;
    }

    .delivery-note {
        flex-wrap: wrap;
        padding: 20px;
    }

    .delivery-note .link-arrow {
        margin-left: 0;
    }

    .cta {
        padding: 34px 26px;
        border-radius: 24px;
    }

    .cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta__actions .btn {
        width: 100%;
    }

    .cta__phone {
        justify-content: center;
    }

    .contacts__actions .btn {
        flex: 1 1 100%;
    }

    .map-card {
        min-height: 340px;
        padding: 18px;
    }

    .map-card__pin {
        padding: 18px;
    }

    .map-card__link {
        top: 14px;
        right: 14px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .footer__col--contacts {
        grid-column: 1 / -1;
    }

    .footer__bottom {
        margin-top: 38px;
    }

    .page-hero {
        padding: 30px 0 28px;
    }

    .breadcrumbs {
        margin-bottom: 20px;
    }

    .catalog-toolbar-wrap {
        margin-top: 22px;
        padding-top: 20px;
    }

    .catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .catalog-toolbar__left {
        width: 100%;
        justify-content: space-between;
    }

    .catalog-sort {
        width: 100%;
        justify-content: space-between;
    }

    .catalog-sort label {
        font-size: 10px;
    }

    .catalog-info {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .product-gallery__main {
        border-radius: 22px;
    }

    .product-gallery__note {
        display: none;
    }

    .product-buy {
        flex-direction: column;
    }

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

    .product-buy__add {
        width: 100%;
        min-width: 0;
    }

    .product-aside {
        grid-template-columns: 1fr;
    }

    .product-description-section {
        padding: 52px 0;
    }

    .form-card {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .delivery-options {
        grid-template-columns: 1fr;
    }

    .checkout-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .steps {
        gap: 8px;
    }

    .checkout-submit {
        padding: 20px;
    }

    .checkout-submit__row {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-submit__row .btn {
        width: 100%;
    }

    .order-success {
        padding: 38px 22px;
    }

    .cart-drawer__head {
        padding: 20px 20px 15px;
    }

    .cart-drawer__body {
        padding: 4px 20px 15px;
    }

    .cart-drawer__foot {
        padding: 15px 20px 20px;
    }

    .toast-stack {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .toast {
        max-width: none;
    }

    .prose h2 {
        font-size: 24px;
    }
}

@media (max-width: 430px) {
    .topbar__note {
        font-size: 9.5px;
    }

    .hero__visual {
        min-height: 380px;
    }

    .hero__blob {
        width: 300px;
        height: 300px;
    }

    .hero__product-card {
        width: 258px;
    }

    .hero__float--top {
        top: -4px;
    }

    .hero__float--bottom {
        bottom: 26px;
    }

    .hero__year {
        font-size: 8px;
        padding: 7px 14px;
    }

    .hero__year strong {
        font-size: 17px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        min-height: 148px;
        padding: 14px;
        border-radius: 16px;
    }

    .category-card__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .category-card__icon .icon {
        width: 18px;
        height: 18px;
    }

    .category-card__body {
        margin-top: 14px;
    }

    .category-card__name {
        font-size: 14px;
    }

    .category-card__meta {
        font-size: 9.5px;
    }

    .category-card__arrow {
        display: none;
    }

    .product-grid,
    .product-grid--catalog {
        gap: 10px;
    }

    .product-card__title {
        font-size: 12.5px;
        min-height: 35px;
    }

    .product-card__body {
        padding: 11px;
    }

    .product-card__cat {
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__brand,
    .footer__col--contacts {
        grid-column: auto;
    }

    .values {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1025px) {
    .mobile-menu {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
