/* ===== Витрина: «нюдовая роза + золото» ===== */
:root {
    --bg: #f7efea;
    --surface: #fffbf9;
    --surface-2: #f4e7e1;
    --text: #2f2326;
    --muted: #97817f;
    --line: #ecdcd5;
    --accent: #a35f6c;
    --accent-dark: #844956;
    --accent-soft: #f6e4e3;
    --gold: #c39a6b;
    --gold-soft: #f3e7d8;
    --plum: #3a2a2f;
    --sale: #b84a4f;
    --ok: #4f7a5a;
    --radius: 22px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(120, 70, 70, .08);
    --shadow-lg: 0 24px 60px rgba(120, 70, 70, .14);
    --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-head: "Cormorant Garamond", Georgia, serif;
    /* MonteCarlo — для латиницы; кириллицы в нём нет, русские буквы берутся из Great Vibes */
    --font-script: "MonteCarlo", "Great Vibes", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font: 15px/1.6 var(--font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg);
    /* Мягкие цветовые пятна на фоне */
    background-image:
        radial-gradient(900px 520px at 105% -5%, rgba(233, 181, 176, .42), transparent 62%),
        radial-gradient(760px 520px at -10% 18%, rgba(246, 210, 182, .5), transparent 60%),
        radial-gradient(820px 600px at 50% 110%, rgba(226, 196, 206, .4), transparent 60%);
    background-attachment: fixed;
}
/* Лёгкая зернистость поверх фона — ощущение бумаги */
body::before {
    content: "";
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent-soft); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
.main { flex: 1; padding-bottom: 72px; }
.muted { color: var(--muted); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ----- Announcement & header ----- */
.announce {
    background: var(--plum); color: #f3dcd6; font-size: 13px; letter-spacing: .02em;
    text-align: center; padding: 8px 0;
}
.header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 250, 247, .78);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid rgba(236, 220, 213, .8);
}
.header__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; flex-direction: column; line-height: 1.05; color: var(--text); flex-shrink: 0; }
.logo:hover { color: var(--text); }
.logo__name { font-family: var(--font-head); font-size: 30px; font-weight: 600; }
.logo__tagline { font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.search { flex: 1; max-width: 440px; position: relative; margin-left: auto; }
.search input {
    width: 100%; height: 44px; padding: 0 46px 0 18px;
    border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.search input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.search button {
    position: absolute; right: 5px; top: 5px; width: 34px; height: 34px;
    border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
    display: grid; place-items: center;
}
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { color: var(--text); font-weight: 600; white-space: nowrap; }
.cart-link {
    position: relative; color: var(--text); display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); transition: background .15s;
}
.cart-link:hover { background: #f0d3d2; color: var(--text); }
.cart-link__count {
    position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
    display: grid; place-items: center; box-shadow: 0 0 0 2px #fff;
}
.cart-link.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.18); } }

.nav { border-top: 1px solid rgba(236, 220, 213, .8); }
.nav__row { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.nav__row::-webkit-scrollbar { display: none; }
.nav a {
    color: var(--text); padding: 13px 0; white-space: nowrap; font-size: 14px; font-weight: 500; position: relative;
}
.nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--accent);
    transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.nav a:hover { color: var(--accent-dark); }
.nav a:hover::after { transform: scaleX(1); }
/* Ссылки на страницы («О магазине» и др.) на компьютере — только в подвале, в мобильном меню — видны */
.nav__page { display: none; color: var(--muted) !important; }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 11px 8px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ----- Buttons ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; letter-spacing: .01em; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s;
}
.btn:hover { background: #fff; color: var(--text); border-color: #dfc6bd; }
.btn:active { transform: translateY(1px); }
.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); border-color: transparent; color: #fff;
    box-shadow: 0 10px 24px rgba(163, 95, 108, .28);
}
.btn--primary:hover { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ae6876 0%, #7a4250 100%); box-shadow: 0 12px 28px rgba(163, 95, 108, .36); }
.btn--ghost { background: transparent; border-color: #d9c1b9; }
.btn--ghost:hover { background: rgba(255, 255, 255, .7); }
.btn--light { background: #fff; color: var(--plum); border-color: #fff; }
.btn--light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--plum); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn--small { height: 40px; padding: 0 20px; }
.btn--wide { width: 100%; }
.btn-icon {
    width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; flex-shrink: 0;
    background: var(--plum); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s;
}
.btn-icon:hover { background: var(--accent); transform: rotate(90deg); }

/* ----- Alerts ----- */
.alert { margin: 20px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--accent-soft); }
.alert--success { background: #e8f1e8; color: #2f5537; }
.alert--error { background: #f8e2e0; color: #7c2f28; }

/* ----- Hero ----- */
.hero { position: relative; overflow: hidden; }
.hero__inner {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center;
    padding-top: 64px; padding-bottom: 72px;
}
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); margin: 18px 0 20px; max-width: 640px; }
.hero__lead { font-size: 18px; color: #6c5658; max-width: 520px; margin: 0 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.benefits { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.benefits li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #5d4a4c; }
.benefits__icon {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    background: rgba(255, 255, 255, .75); color: var(--gold); border: 1px solid var(--gold-soft);
}

.hero__visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.arch {
    position: relative; z-index: 1; width: min(100%, 420px); aspect-ratio: 4 / 5;
    border-radius: 999px 999px 28px 28px; overflow: hidden;
    background: linear-gradient(160deg, #f3d6cf, #e9c3c4 55%, #dcb7a4);
    box-shadow: var(--shadow-lg); border: 8px solid rgba(255, 255, 255, .7);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch__empty {
    display: grid; place-items: center; height: 100%;
    font-family: var(--font-head); font-size: 180px; color: rgba(255, 255, 255, .75);
}
.hero__ring {
    position: absolute; z-index: 0; width: 300px; height: 300px; border-radius: 50%;
    border: 1px solid rgba(195, 154, 107, .55); right: -40px; top: -10px;
}
.hero__ring::after {
    content: ""; position: absolute; inset: 40px; border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 214, 207, .9), rgba(243, 214, 207, 0) 70%);
}
.sprig { position: absolute; z-index: 2; left: 0; bottom: 0; width: 120px; height: auto; color: var(--gold); opacity: .8; }
.hero__float {
    position: absolute; z-index: 3; right: 0; bottom: 48px;
    display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; max-width: 280px;
    background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-radius: 18px; box-shadow: var(--shadow-lg); color: var(--text);
    animation: float 6s ease-in-out infinite;
}
.hero__float:hover { color: var(--text); }
.hero__float img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.hero__float span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hero__float small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hero__float b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__float em { font-style: normal; color: var(--accent-dark); font-weight: 700; font-size: 14px; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ----- Sections ----- */
.section { padding-top: 64px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; margin-bottom: 28px; gap: 6px; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__title { font-size: clamp(34px, 4vw, 46px); margin: 0; }
.section__more { text-align: center; margin: 36px 0 0; }
.page-title { font-size: clamp(36px, 4.4vw, 52px); margin-top: 8px; }
.page-title__count { font-family: var(--font); font-size: 16px; font-weight: 500; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding: 24px 0 6px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs > *:not(:last-child)::after { content: "·"; margin-left: 8px; color: #d4bdb5; }

/* ----- Category tiles ----- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.cat {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
    padding: 18px 14px 20px; border-radius: var(--radius); color: var(--text);
    background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8);
    transition: transform .25s, box-shadow .25s, background .25s;
}
.cat:hover { color: var(--text); background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.cat__image {
    width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin-bottom: 12px;
    background: var(--surface-2); border: 4px solid #fff; box-shadow: 0 6px 18px rgba(120, 70, 70, .1);
}
.cat__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover .cat__image img { transform: scale(1.08); }
.cat__image .placeholder { font-size: 46px; }
.cat__name { font-family: var(--font-head); font-size: 22px; font-weight: 600; line-height: 1.15; }
.cat__count { font-size: 13px; color: var(--muted); }

/* ----- Chips & filters ----- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip {
    padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
    color: var(--text); font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s;
}
.chip span { color: var(--muted); margin-left: 4px; font-weight: 400; }
.chip:hover { border-color: var(--accent); color: var(--text); background: #fff; }
.chip--active, .chip--active:hover { background: var(--plum); border-color: var(--plum); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.filters select {
    height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line);
    background: rgba(255, 255, 255, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2397817f' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none; max-width: 100%; cursor: pointer;
}
.filters__reset { font-size: 14px; }
.check { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 2px 0 0; flex-shrink: 0; }

/* ----- Product grid ----- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card {
    background: var(--surface); border-radius: var(--radius); overflow: hidden; position: relative;
    display: flex; flex-direction: column; border: 1px solid rgba(236, 220, 213, .7);
    transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card__image { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); display: block; overflow: hidden; margin: 8px 8px 0; border-radius: 16px; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__image img { transform: scale(1.05); }
.card--out .card__image img { opacity: .5; filter: grayscale(.4); }
.card__body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__brand { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card__title {
    color: var(--text); font-weight: 500; margin: 4px 0 2px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__title:hover { color: var(--accent-dark); }
.card__volume { font-size: 13px; color: var(--muted); }
.card__bottom { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.placeholder {
    width: 100%; height: 100%; display: grid; place-items: center;
    font-family: var(--font-head); font-size: 72px; color: #fff; text-transform: uppercase;
    background: linear-gradient(150deg, #f1d5cf, #e5c4c6 60%, #ddbfab);
}
.placeholder--big { font-size: 160px; aspect-ratio: 1; }
.badge {
    position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; color: var(--muted);
}
.badge--sale { background: var(--sale); color: #fff; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.price__now { font-weight: 700; font-size: 18px; white-space: nowrap; }
.price__old { color: var(--muted); text-decoration: line-through; font-size: 14px; white-space: nowrap; }
.price--big .price__now { font-size: 34px; font-family: var(--font-head); }
.price--big .price__old { font-size: 18px; }

/* ----- Pagination & empty ----- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
    min-width: 42px; height: 42px; padding: 0 8px; display: grid; place-items: center;
    border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--text);
}
.pagination a:hover { background: #fff; }
.pagination .current { background: var(--plum); color: #fff; }
.empty { text-align: center; padding: 56px 20px; background: rgba(255, 255, 255, .6); border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .8); }

/* ----- Product page ----- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 12px; }
.gallery__main { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--surface-2); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button {
    flex: 0 0 78px; height: 78px; padding: 0; border: 2px solid transparent; border-radius: 14px;
    overflow: hidden; cursor: pointer; background: #fff;
}
.gallery__thumbs button.active { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product__info { padding-top: 8px; }
.product__brand { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.product__title { font-size: clamp(34px, 3.8vw, 48px); margin: 8px 0 10px; }
.product__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; margin-bottom: 20px; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.stock { font-size: 14px; font-weight: 600; margin: 8px 0 0; display: flex; align-items: center; gap: 8px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); }
.stock--out { color: var(--sale); margin-top: 20px; }
.product__short { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: #5d4a4c; }
.admin-edit-link { margin: 16px 0 0; font-size: 14px; }

.qty { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty input { width: 40px; border: 0; text-align: center; background: none; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.tabs { margin-top: 56px; background: var(--surface); border-radius: var(--radius); padding: 8px 32px 32px; border: 1px solid var(--line); }
.tabs__nav { display: flex; gap: 32px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs__nav button {
    border: 0; background: none; padding: 18px 0; cursor: pointer; font-weight: 600; color: var(--muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tabs__nav button.active { color: var(--text); border-bottom-color: var(--accent); }
.tabs__panel { padding-top: 22px; max-width: 760px; }

.text p { margin: 0 0 1em; }
.text ul { margin: 0 0 1em; padding-left: 0; list-style: none; }
.text li { margin-bottom: .4em; padding-left: 22px; position: relative; }
.text li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.text > :last-child { margin-bottom: 0; }
.text strong { color: var(--text); }
.category-text { color: #6c5658; max-width: 760px; margin-bottom: 16px; }
.container--narrow > .text {
    background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line);
}

/* ----- Cart ----- */
.cart { background: var(--surface); border-radius: var(--radius); padding: 4px 24px; border: 1px solid var(--line); }
.cart__row {
    display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 110px 32px;
    gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart__row:last-child { border-bottom: 0; }
.cart__image { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.cart__image img { width: 100%; height: 100%; object-fit: cover; }
.cart__image .placeholder { font-size: 32px; }
.cart__title { color: var(--text); font-weight: 500; }
.cart__info .muted { font-size: 13px; }
.cart__sum { font-weight: 700; text-align: right; white-space: nowrap; }
.cart__remove { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.cart__remove:hover { color: var(--sale); }
.cart .qty { height: 42px; }
.cart .qty button { width: 36px; }
.cart .qty input { width: 32px; }
.cart__total { text-align: right; margin-top: 24px; font-size: 22px; }
.cart__total .muted { font-size: 14px; margin: 4px 0 18px; }

/* ----- Checkout & forms ----- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.form { background: var(--surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: #6c5658; padding: 0; margin-bottom: 6px; }
.field input:not([type=radio]):not([type=checkbox]), .field textarea {
    width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field--error input, .field--error textarea { border-color: var(--sale) !important; }
.field__error { color: var(--sale); font-size: 13px; }
.check.field--error { color: var(--sale); }
.radios { display: flex; flex-direction: column; gap: 8px; }
.radio { display: flex; gap: 10px; align-items: center; cursor: pointer; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio input { accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { background: var(--surface); border-radius: var(--radius); padding: 28px; position: sticky; top: 140px; border: 1px solid var(--line); }
.summary h2 { font-size: 30px; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary__row span:last-child { white-space: nowrap; font-weight: 600; }
.summary__total { font-size: 19px; border-bottom: 0; padding: 16px 0; }
.thanks__icon {
    width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 10px 24px rgba(163, 95, 108, .3);
}

/* ----- Help band ----- */
.help {
    position: relative; overflow: hidden; border-radius: 28px; padding: 48px 56px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--plum) 0%, #5a3a43 55%, #8a5a5f 100%); color: #f3dcd6;
}
.help::after {
    content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -80px; top: -140px;
    border: 1px solid rgba(195, 154, 107, .5);
}
.help h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 8px; }
.help p { margin: 0; max-width: 520px; }
.help__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ----- Footer ----- */
.footer { background: var(--plum); color: #dcc7c2; padding: 56px 0 26px; font-size: 14px; margin-top: 8px; }
.footer a { color: #dcc7c2; }
.footer a:hover { color: #fff; }
.footer .muted { color: #a68d8a; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer__logo { font-family: var(--font-head); font-size: 32px; color: #fff; }
.footer__title { color: var(--gold); font-weight: 700; margin-bottom: 4px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }

.toast {
    position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
    background: var(--plum); color: #fff; padding: 13px 22px; border-radius: 999px; box-shadow: var(--shadow-lg);
    font-size: 14px; max-width: calc(100% - 32px);
}
.toast a { color: #f0c9b8; font-weight: 600; margin-left: 8px; }

/* ----- Подарки (в духе бутиков: баннер, рукописный заголовок, строгие карточки) ----- */
.script-title {
    font-family: var(--font-script); font-weight: 400; letter-spacing: 0;
    font-size: clamp(64px, 9vw, 116px); line-height: 1.05; margin: 8px 0 12px;
}
.lux-kicker { display: block; font: 600 12px/1 var(--font); letter-spacing: .34em; text-transform: uppercase; }
.lux-lead { font-family: var(--font-head); font-size: 20px; line-height: 1.45; max-width: 560px; margin: 0 auto; }
.lux-count { text-align: center; font-family: var(--font-head); font-size: 19px; color: var(--muted); margin: 28px 0 18px; }

.gifts-lux { padding-top: 72px; }
.gifts-lux__banner, .gift-hero {
    position: relative; display: flex; align-items: flex-end; justify-content: center; text-align: center; color: #fff;
    background: linear-gradient(180deg, rgba(47, 25, 30, .08) 25%, rgba(47, 25, 30, .58) 100%), var(--banner) center / cover no-repeat;
}
.gifts-lux__banner { min-height: 460px; padding: 56px 16px; }
.gift-hero { min-height: 380px; padding: 48px 16px 44px; }
.gifts-lux__banner .script-title, .gift-hero .script-title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.gifts-lux__banner .lux-lead, .gift-hero .lux-lead { color: rgba(255, 255, 255, .92); }
.gift-hero .script-title { font-size: clamp(54px, 7.5vw, 96px); }

.gifts-lux__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.gift-card { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--text); }
.gift-card:hover { color: var(--text); }
.gift-card__img { position: relative; width: 100%; aspect-ratio: 4 / 5; background: #f2ece8; overflow: hidden; }
.gift-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gift-card:hover .gift-card__img img { transform: scale(1.04); }
/* тонкая линия-акцент под фото, на наведении растягивается */
.gift-card__img::after, .grid--lux .card__image::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px; background: var(--plum); transition: width .45s ease;
}
.gift-card:hover .gift-card__img::after, .grid--lux .card:hover .card__image::after { width: 100%; }
.gift-card__title { margin-top: 22px; font: 600 13px/1.3 var(--font); letter-spacing: .24em; text-transform: uppercase; }
.gift-card__sub { margin-top: 8px; font-family: var(--font-head); font-size: 18px; color: var(--muted); }
.gift-card__link {
    margin-top: 14px; font: 600 11px/1 var(--font); letter-spacing: .22em; text-transform: uppercase;
    padding-bottom: 4px; border-bottom: 1px solid currentColor;
}

.gift-tabs {
    display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; padding: 0 16px;
    background: rgba(255, 251, 249, .8); border-bottom: 1px solid var(--line);
}
.gift-tabs a {
    padding: 18px 0 16px; font: 600 12px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.gift-tabs a:hover { color: var(--text); }
.gift-tabs a.active { color: var(--text); border-bottom-color: var(--plum); }
.catalog--lux .chips, .catalog--lux .filters { justify-content: center; }

.grid--lux { gap: 40px 28px; }
.grid--lux .card { background: transparent; border: 0; border-radius: 0; text-align: center; }
.grid--lux .card:hover { box-shadow: none; transform: none; }
.grid--lux .card__image { margin: 0; border-radius: 0; background: #f2ece8; }
.grid--lux .card__body { padding: 20px 6px 0; align-items: center; }
.grid--lux .card__brand { color: var(--muted); letter-spacing: .2em; }
.grid--lux .card__title { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.grid--lux .card__volume { font-family: var(--font-head); font-size: 16px; margin-top: 2px; }
.grid--lux .card__bottom { flex-direction: column; align-items: center; gap: 14px; width: 100%; padding-top: 10px; }
.grid--lux .card__bottom form { width: 100%; }
.grid--lux .price__now { font-weight: 600; font-size: 16px; }
.grid--lux .badge { border-radius: 0; letter-spacing: .08em; }
.lux-btn {
    width: 100%; height: 46px; border: 0; cursor: pointer; background: var(--plum); color: #fff;
    font: 600 11px/1 var(--font); letter-spacing: .24em; text-transform: uppercase; transition: background .2s;
}
.lux-btn:hover { background: var(--accent-dark); }

/* ----- Акции ----- */
.sales-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sales-head .section__title { margin-top: 8px; }

/* ----- Метки и характеристики ----- */
.badge--order { left: auto; right: 12px; background: var(--plum); color: #fff; }
.stock--order { color: #3d6a9c; }
.nav__accent { color: var(--sale) !important; font-weight: 700 !important; }
.filters select.is-set { border-color: var(--accent); background-color: var(--accent-soft); }
.chars { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: -4px 0 22px; font-size: 14px; }
.chars dt { color: var(--muted); padding-top: 4px; }
.chars dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.char-tag { padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 500; }
.char-tag:hover { border-color: var(--accent); color: var(--text); }

/* ----- Adaptive ----- */
@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; padding-bottom: 40px; }
    .arch { width: min(72%, 320px); }
    .hero__ring { width: 220px; height: 220px; right: 2%; }
    .hero__float { right: 2%; bottom: 24px; }
    .product, .checkout { grid-template-columns: 1fr; gap: 28px; }
    .summary { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid > div:first-child { grid-column: 1 / -1; }
    .help { padding: 36px 32px; }
}
@media (max-width: 720px) {
    .announce { font-size: 12px; }
    .header__row { flex-wrap: wrap; gap: 8px 12px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
    .burger { display: flex; }
    .logo__name { font-size: 25px; }
    .logo__tagline { display: none; }
    .header__phone { display: none; }
    .header__actions { margin-left: auto; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .nav { display: none; }
    .nav.open { display: block; }
    .nav__row { flex-direction: column; gap: 0; padding-bottom: 8px; }
    .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
    .nav a::after { display: none; }
    .nav__page { display: block; }
    .hero h1 { margin-top: 12px; }
    .hero__lead { font-size: 16px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .benefits { flex-direction: column; margin-top: 28px; }
    .sprig { width: 80px; }
    .hero__float { max-width: 230px; padding: 8px 14px 8px 8px; }
    .hero__float img { width: 46px; height: 46px; }
    .section { padding-top: 48px; }
    .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex-shrink: 0; }
    .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .filters select { width: 100%; padding-left: 12px; padding-right: 30px; background-position: right 10px center; font-size: 14px; text-overflow: ellipsis; }
    .filters .check, .filters__reset { grid-column: 1 / -1; }
    .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .cat__image { width: 96px; height: 96px; }
    .cat__name { font-size: 19px; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .card { border-radius: 18px; }
    .card__image { margin: 6px 6px 0; border-radius: 13px; }
    .card__body { padding: 10px 12px 14px; }
    .price__now { font-size: 16px; }
    .btn-icon { width: 36px; height: 36px; }
    .form { padding: 22px; }
    .form__row { grid-template-columns: 1fr; }
    .cart { padding: 4px 14px; }
    .cart__row {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        grid-template-areas: "img info remove" "img qty sum";
        gap: 10px 12px;
    }
    .cart__image { width: 64px; height: 64px; grid-area: img; align-self: start; }
    .cart__info { grid-area: info; }
    .cart__row .qty { grid-area: qty; justify-self: start; }
    .cart__sum { grid-area: sum; }
    .cart__remove { grid-area: remove; align-self: start; justify-self: end; }
    .tabs { padding: 4px 18px 22px; }
    .container--narrow > .text { padding: 22px; }
    .help { padding: 32px 22px; border-radius: 22px; }
    .gifts-lux { padding-top: 48px; }
    .gifts-lux__banner { min-height: 340px; padding: 36px 16px; }
    .gift-hero { min-height: 300px; padding: 32px 16px; }
    .lux-lead { font-size: 17px; }
    .gifts-lux__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin-top: 28px; }
    .gift-card__title { font-size: 11px; letter-spacing: .16em; margin-top: 14px; }
    .gift-card__sub { font-size: 15px; }
    .gift-tabs { gap: 20px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
    .gift-tabs a { flex-shrink: 0; font-size: 11px; letter-spacing: .14em; }
    .grid--lux { gap: 28px 12px; }
    .grid--lux .card__title { font-size: 11px; letter-spacing: .08em; }
    .lux-btn { height: 40px; font-size: 10px; letter-spacing: .14em; }
    .chars { grid-template-columns: 1fr; gap: 4px; }
    .chars dd { margin-bottom: 8px; }
    .help__actions, .help__actions .btn { width: 100%; }
    .footer__grid { grid-template-columns: 1fr; }
}

/* ----- Заявка ----- */
.request-sum {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 16px 20px; border-radius: 16px; background: var(--accent-soft);
}
.request-sum span { font-weight: 600; color: #6c5658; }
.request-sum b { font-family: var(--font-head); font-size: 30px; }
.summary__order { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--plum); color: #fff; font-size: 11px; }
