@font-face {
  font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-cyrillic-wght-normal.e58febde317b.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-wght-normal.938c6e8019b6.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-ext-wght-normal.6d36d5bdedfa.woff2") format("woff2");
  unicode-range: U+20BD;
}
:root {
  --ink: #11110f;
  --ink-soft: #1a1916;
  --paper: #f3efe5;
  --cream: #fbf8f0;
  --white: #fffdf8;
  --gold: #d7ad4f;
  --gold-light: #efd184;
  --gold-deep: #9b6d18;
  --line: rgba(17, 17, 15, .14);
  --line-dark: rgba(255, 255, 255, .12);
  --muted: #716c62;
  --danger: #9b3e34;
  --success: #4d7359;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Manrope, "Segoe UI", Arial, sans-serif;
  --shadow: 0 22px 70px rgba(13, 12, 10, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #090908; color: var(--ink); font: 400 16px/1.6 var(--sans); }
body:has(.admin-app), body:has(.auth-page) { background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
code { padding: 3px 6px; border-radius: 5px; background: rgba(17, 17, 15, .06); font-size: .9em; }

.site-page { width: min(100%, 1540px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: 0 0 80px #000; }
.site-main { min-height: 60vh; }
.site-header { position: relative; z-index: 20; min-height: 82px; padding: 0 clamp(24px, 4.5vw, 72px); display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--cream); border-bottom: 1px solid rgba(215, 173, 79, .25); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: var(--gold); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-family: var(--sans); font-size: 14px; font-weight: 850; letter-spacing: .19em; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); font-size: 14px; font-weight: 500; }
.site-header nav a { padding: 12px 0; transition: color .2s; }
.site-header nav a:hover { color: var(--gold-light); }
.site-header .cart-link { padding: 11px 16px; border: 1px solid rgba(215, 173, 79, .48); }
.cart-link span { color: var(--gold); margin-left: 8px; }
.site-menu-button { display: none; width: 44px; height: 42px; border: 1px solid var(--line-dark); background: transparent; }
.site-menu-button span { display: block; width: 20px; height: 1px; margin: 6px auto; background: var(--cream); }

.eyebrow { margin: 0 0 16px; color: var(--gold-deep); font-size: 12px; line-height: 1.2; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; }
.primary-button, .secondary-button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--gold); background: transparent; color: inherit; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.primary-button { background: var(--gold); color: var(--ink); }
.primary-button:hover { background: var(--gold-light); transform: translateY(-1px); }
.secondary-button:hover { background: var(--ink); color: var(--cream); }
.text-link, .back-crumb { color: var(--gold-deep); font-weight: 500; }
.back-crumb { display: inline-block; margin-bottom: 24px; font-size: 14px; }

.dynamic-hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); background: var(--ink); color: var(--cream); }
.dynamic-hero-copy { padding: clamp(72px, 8vw, 124px) clamp(34px, 6vw, 92px); display: flex; flex-direction: column; justify-content: center; }
.dynamic-hero-copy .eyebrow { color: var(--gold); }
.dynamic-hero-copy h1 { max-width: 710px; margin: 0 0 25px; font: clamp(58px, 6.5vw, 102px)/.91 var(--display); letter-spacing: -.052em; text-wrap: balance; }
.hero-lead { max-width: 610px; margin-bottom: 8px; color: #d7d1c5; font-size: 18px; }
.dynamic-hero-copy .primary-button { align-self: flex-start; margin-top: 24px; }
.hero-note { margin-top: auto; padding-top: 50px; display: flex; align-items: center; gap: 14px; color: #979083; font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: .11em; }
.hero-note > span { width: 34px; height: 1px; background: var(--gold); }
.hero-note p { margin: 0; }
.hero-visual { position: relative; min-height: 650px; overflow: hidden; background: #252016; }
.fade-gallery, .fade-gallery > img, .flower-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.fade-gallery > img { object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity 1s ease, transform 7s ease; }
.fade-gallery > img.active { opacity: 1; transform: scale(1); }
.hero-visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,15,.18), transparent 35%), linear-gradient(0deg, rgba(17,17,15,.35), transparent 42%); pointer-events: none; }
.flower-placeholder { display: grid; place-items: center; align-content: center; gap: 22px; background: radial-gradient(circle at 50% 42%, #4b3d20 0, #272116 29%, #151411 68%); color: var(--gold); }
.flower-placeholder .brand-mark { width: 210px; height: 210px; opacity: .78; }
.flower-placeholder .brand-name { display: none; }
.flower-placeholder > span { color: #a79d89; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.visual-index { position: absolute; right: 28px; bottom: 25px; z-index: 2; color: var(--gold-light); font-size: 10px; letter-spacing: .16em; }
.hero-gallery-controls { position: absolute; z-index: 4; left: 25px; right: 25px; bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.hero-gallery-controls > button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(17,17,15,.55); color: var(--cream); cursor: pointer; }
.hero-gallery-dots { display: flex; align-items: center; gap: 7px; }
.hero-gallery-dots button { width: 7px; height: 7px; padding: 0; border: 1px solid var(--cream); border-radius: 50%; background: transparent; cursor: pointer; }
.hero-gallery-dots button.active { background: var(--gold-light); border-color: var(--gold-light); }

.section-pad { padding: clamp(72px, 8vw, 118px) clamp(30px, 5.8vw, 88px); }
.section-heading { margin-bottom: 46px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading h2 { margin: 0; font: clamp(44px, 5vw, 72px)/.96 var(--display); letter-spacing: -.035em; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); }
.category-section { background: var(--paper); }
.category-list { border-top: 1px solid var(--line); }
.category-list a { min-height: 86px; padding: 0 10px; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); transition: padding .2s, background .2s; }
.category-list a:hover { padding-left: 22px; background: var(--cream); }
.category-list span, .category-list small { color: var(--gold-deep); font-weight: 500; }
.category-list strong { font: clamp(25px, 3vw, 39px)/1 var(--display); }
.category-list small b { margin-left: 14px; }
.catalog { background: var(--cream); }
.catalog-all-action { margin-top: 38px; display: flex; justify-content: center; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; background: var(--white); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 4/5; display: block; overflow: hidden; background: #dfd8c9; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-arrow { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(17,17,15,.82); color: var(--gold-light); }
.image-placeholder { height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, #e8e1d3, #d6cdbd); color: var(--muted); font-family: var(--display); font-size: 20px; }
.product-info { padding: 22px; }
.product-sku { margin-bottom: 9px; color: var(--gold-deep); font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.product-info h2, .product-info h3 { min-height: 58px; margin: 0 0 19px; font: 27px/1.08 var(--display); }
.product-footer { padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--line); }
.product-footer strong { font-size: 20px; }
.product-footer > span:last-child { color: var(--muted); font-size: 12px; }
.price-stack { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; }
.price-stack del { color: var(--muted); font-size: 13px; }
.discount-badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 7px 10px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 500; }
.collection-page { min-height: 72vh; }
.collection-header { max-width: 780px; margin-bottom: 44px; }
.collection-header h1 { margin: 4px 0 18px; font: clamp(48px, 6vw, 82px)/.94 var(--display); letter-spacing: -.04em; }
.collection-header > p:last-child { max-width: 680px; color: var(--muted); font-size: 17px; }
.catalog-page { background: var(--paper); }
.catalog-hero { min-height: 430px; display: flex; align-items: end; justify-content: space-between; gap: 40px; background: var(--ink); color: var(--cream); }
.catalog-hero > div { max-width: 800px; }
.catalog-hero .eyebrow { color: var(--gold); }
.catalog-hero h1 { margin: 0 0 22px; font: clamp(72px, 10vw, 140px)/.82 var(--display); letter-spacing: -.055em; }
.catalog-hero p:last-child { max-width: 620px; margin: 0; color: #c9c1b4; font-size: 18px; }
.catalog-selections { background: var(--paper); }
.selection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.selection-card { position: relative; min-height: 340px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--ink); color: var(--cream); }
.selection-card > img, .selection-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; transition: transform .55s, opacity .3s; }
.selection-placeholder { background: radial-gradient(circle at 70% 20%, #705921, #171612 62%); }
.selection-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,9,.1), rgba(10,10,9,.88)); }
.selection-card:hover > img { transform: scale(1.035); opacity: .7; }
.selection-card > span, .selection-card > div { position: relative; z-index: 1; }
.selection-card > span { color: var(--gold-light); font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.selection-card h3 { margin: 0 0 9px; font: 36px/1 var(--display); }
.selection-card small { color: #d8d0c2; }
.occasion-links { margin-top: 35px; padding-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.occasion-links > span { margin-right: 8px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.occasion-links a { padding: 10px 14px; border: 1px solid var(--line); background: var(--cream); font-weight: 500; }
.occasion-links a:hover { border-color: var(--gold-deep); }
.compact-empty { min-height: 100px; padding: 28px; display: grid; place-items: center; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.catalog-empty { grid-column: 1 / -1; min-height: 230px; align-content: center; }
.catalog-empty .brand-mark { width: 64px; height: 64px; margin: 0 auto 12px; }
.catalog-empty .brand-name { display: none; }
.catalog-empty h3 { margin: 0 0 8px; color: var(--ink); font: 32px/1 var(--display); }
.catalog-empty p { margin: 0; }
.editorial-banner { padding: clamp(78px, 9vw, 130px); background: var(--gold); text-align: center; }
.editorial-banner h2 { max-width: 980px; margin: 0 auto 25px; font: clamp(48px, 6vw, 86px)/.94 var(--display); }
.editorial-banner > p:not(.eyebrow) { max-width: 660px; margin: 0 auto 24px; }
.delivery-section { background: var(--ink); color: var(--cream); }
.section-heading.inverse > p { color: #a9a297; }
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.info-strip > div { min-height: 230px; padding: 30px; border-right: 1px solid var(--line-dark); }
.info-strip > div:last-child { border-right: 0; }
.info-strip span { color: var(--gold); font-size: 12px; font-weight: 500; }
.info-strip h3 { margin: 44px 0 14px; font: 27px/1.08 var(--display); }
.info-strip p { margin: 0; color: #aca598; font-size: 14px; }
.contacts-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); background: var(--paper); }
.contacts-section h2 { margin-bottom: 23px; font: clamp(50px, 6vw, 82px)/.93 var(--display); }
.contacts-lead { max-width: 460px; color: var(--muted); }
.contact-lines { border-top: 1px solid var(--line); }
.contact-lines > a, .contact-lines > div { min-height: 82px; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.contact-lines span { color: var(--muted); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.contact-lines strong { font-size: 17px; }
.contact-lines b { color: var(--gold-deep); }
.site-footer { padding: 34px clamp(30px, 5.8vw, 88px); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 38px; background: #090908; color: #999387; font-size: 12px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a:hover { color: var(--cream); }
.preview-bar { position: sticky; top: 0; z-index: 50; padding: 9px 20px; background: var(--gold); color: var(--ink); text-align: center; font-size: 12px; font-weight: 500; }
.preview-bar a { text-decoration: underline; }

/* Авторизация */
.auth-page { min-height: 100vh; padding: 28px; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(215,173,79,.17), transparent 30%), var(--ink); }
.auth-card { width: min(100%, 470px); padding: 48px; background: var(--cream); box-shadow: 0 30px 100px #0009; }
.brand-dark { margin-bottom: 46px; }
.auth-card h1 { margin-bottom: 18px; font: 44px/1 var(--display); }
.auth-card form, .stack-form { display: grid; gap: 16px; margin-top: 28px; }
.auth-card label, .field > label, .field > span { font-size: 13px; font-weight: 500; }
.auth-card input, .field input, .field select, .field textarea, .control-filters input, .control-filters select, .stack-form input, .stack-form select, .stack-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 0; outline: none; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(215,173,79,.16); }
.full { width: 100%; }
.back-link { display: block; margin-top: 24px; color: var(--muted); font-size: 14px; font-weight: 500; }
.form-error, .message { padding: 13px 15px; border-left: 3px solid var(--danger); background: #f1ded9; color: #732f28; }
.message.neutral { border-left-color: var(--gold-deep); background: #f0e4c8; color: var(--ink); }
.message-stack { margin-bottom: 22px; }
.muted { color: var(--muted); }
.good { color: var(--success); font-weight: 500; }

/* Единая панель управления */
.admin-app { width: min(100%, 1680px); min-height: 100vh; margin: 0 auto; display: grid; grid-template-columns: 274px minmax(0, 1fr); background: var(--paper); box-shadow: 0 0 90px rgba(0,0,0,.22); }
.control-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px 20px; display: flex; flex-direction: column; overflow-y: auto; background: var(--ink); color: var(--cream); }
.control-brand { padding: 0 8px 25px; border-bottom: 1px solid var(--line-dark); }
.control-brand .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
.control-brand .brand-name { font-size: 12px; }
.control-user { margin: 22px 5px 18px; display: flex; align-items: center; gap: 11px; }
.control-avatar { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 1px solid rgba(215,173,79,.46); border-radius: 50%; background: rgba(215,173,79,.08); color: var(--gold-light); font: 19px/1 var(--display); text-transform: uppercase; }
.control-user strong, .control-user small { display: block; }
.control-user strong { font-size: 13px; }
.control-user small { margin-top: 2px; color: #8f897e; font-size: 11px; }
.control-nav { display: grid; gap: 3px; }
.nav-label { margin: 18px 12px 6px; color: #6f6a61; font-size: 9px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; }
.control-nav a { min-height: 43px; padding: 0 11px; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 8px; border-left: 2px solid transparent; color: #b7b1a7; font-size: 13px; font-weight: 700; transition: .2s; }
.control-nav a:hover, .control-nav a.active { border-left-color: var(--gold); background: rgba(255,255,255,.055); color: var(--white); }
.nav-icon { color: var(--gold); font-size: 15px; text-align: center; }
.control-nav b { min-width: 22px; padding: 2px 6px; border-radius: 20px; background: var(--gold); color: var(--ink); font-size: 10px; text-align: center; }
.control-sidebar-footer { margin-top: auto; padding: 20px 10px 0; display: grid; gap: 11px; border-top: 1px solid var(--line-dark); }
.control-sidebar-footer a, .control-sidebar-footer button { padding: 0; border: 0; background: none; color: #a9a398; font-size: 12px; font-weight: 700; cursor: pointer; }
.control-sidebar-footer a { display: flex; justify-content: space-between; }
.control-sidebar-footer button:hover, .control-sidebar-footer a:hover { color: var(--white); }
.control-workspace { min-width: 0; }
.control-content { width: min(100%, 1370px); margin: 0 auto; padding: clamp(34px, 4vw, 62px); }
.control-mobile-header { display: none; }
.control-page-head { margin-bottom: 34px; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.control-page-head h1 { margin: 0 0 12px; font: clamp(43px, 4.5vw, 68px)/.92 var(--display); letter-spacing: -.042em; }
.control-page-head > div > p:last-child { max-width: 650px; margin: 0; color: var(--muted); }
.dashboard-head h1 { font-size: clamp(48px, 5vw, 74px); }
.head-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 13px; }
.metric-grid { margin-bottom: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.metric-grid article { min-height: 176px; padding: 24px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 12px 18px; border: 1px solid var(--line); background: var(--cream); }
.metric-number { color: var(--gold-deep); font: 44px/1 var(--display); }
.metric-grid strong { display: block; margin: 3px 0 5px; font-size: 15px; }
.metric-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.metric-grid a { grid-column: 1 / -1; padding-top: 13px; border-top: 1px solid var(--line); color: var(--gold-deep); font-size: 12px; font-weight: 500; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .65fr); gap: 18px; align-items: start; }
.control-panel { padding: 26px; border: 1px solid var(--line); background: var(--cream); }
.control-panel.flush { padding: 0; overflow: hidden; }
.control-panel.flush > .panel-title:not(.padded) { padding: 26px 26px 0; }
.panel-title { margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.panel-title.padded { padding: 26px 26px 0; }
.panel-title h2 { margin: 0; font: 32px/1 var(--display); }
.panel-title a { color: var(--gold-deep); font-size: 12px; font-weight: 500; }
.quick-panel nav { display: grid; }
.quick-panel nav a { min-height: 52px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.quick-panel nav b { color: var(--gold-deep); }
.responsive-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
td { font-size: 13px; }
td small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.row-action { color: var(--gold-deep); font-size: 12px; font-weight: 500; white-space: nowrap; }
.button-link { padding: 0; border: 0; background: none; cursor: pointer; }
.entity-cell { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.entity-cell img, .entity-placeholder { width: 46px; height: 52px; flex: 0 0 46px; object-fit: cover; }
.entity-placeholder { display: grid; place-items: center; background: #e5ded0; color: var(--gold-deep); font-size: 23px; }
.status-pill { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; border-radius: 30px; background: #e8e1d5; color: #5d574d; font-size: 10px; font-weight: 500; white-space: nowrap; }
.status-pill.large { min-height: 34px; padding: 5px 14px; font-size: 11px; }
.status-published, .status-sent, .status-completed, .status-confirmed, .status-ready { background: #dce9df; color: #365b41; }
.status-draft, .status-pending, .status-new { background: #f2e5bd; color: #74540f; }
.status-failed, .status-cancelled, .status-archived { background: #f0d8d4; color: #7b332a; }
.status-contacted, .status-assembling, .status-delivery { background: #dce6ee; color: #36566b; }
.table-empty { min-height: 170px; padding: 28px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--muted); }
.table-empty > span { color: var(--gold-deep); font-size: 34px; }
.table-empty h3 { margin: 6px 0; color: var(--ink); font: 27px/1 var(--display); }
.table-empty p { margin: 0; }
.control-filters { margin-bottom: 16px; padding: 15px; display: flex; align-items: end; gap: 12px; border: 1px solid var(--line); background: rgba(251,248,240,.72); }
.control-filters label { min-width: 170px; display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.control-filters .search-field { min-width: 270px; flex: 1; }
.control-filters input, .control-filters select { min-height: 43px; }
.control-filters .secondary-button { min-height: 43px; }
.control-filters .text-link { padding: 11px; font-size: 12px; }
.pagination { margin-top: 18px; display: flex; justify-content: center; align-items: center; gap: 22px; color: var(--muted); font-size: 12px; }
.pagination a { color: var(--gold-deep); font-weight: 500; }

/* Формы панели */
.control-form { display: grid; gap: 18px; }
.form-section { border: 1px solid var(--line); background: var(--cream); }
.form-section > header { padding: 23px 26px; display: grid; grid-template-columns: 38px 1fr; gap: 13px; border-bottom: 1px solid var(--line); }
.form-section > header > span, .form-section > summary > span { color: var(--gold-deep); font: 23px/1 var(--display); }
.form-section h2 { margin: 0 0 5px; font: 28px/1 var(--display); }
.form-section header p, .form-section summary p { margin: 0; color: var(--muted); font-size: 12px; }
.form-section > .form-grid, .form-section > .choice-columns, .form-section > .upload-zone, .form-section > .media-grid, .legal-form-stack { margin: 25px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.field label { font-size: 12px; }
.field small { color: var(--muted); font-size: 11px; }
.field-error { color: var(--danger)!important; }
.span-2 { grid-column: 1 / -1; }
.check-card { min-height: 48px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 500; }
.check-card input { margin: 0; }
.field ul { margin: 0; padding: 8px; display: grid; gap: 5px; list-style: none; border: 1px solid var(--line); background: var(--white); }
.field ul label { min-height: 38px; display: flex; align-items: center; gap: 8px; font-weight: 650; }
.field ul input { width: 17px; min-height: 17px; height: 17px; accent-color: var(--gold-deep); }
.boolean-field { align-self: stretch; }
.toggle-field { min-height: 52px; padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.toggle-field span, .toggle-field strong, .toggle-field small { display: block; }
.toggle-field small { margin-top: 2px; font-weight: 400; }
.field > input[type="checkbox"], .check-card input[type="checkbox"], .switch-row input[type="checkbox"], .toggle-field input[type="checkbox"] { appearance: none; -webkit-appearance: none; position: relative; width: 42px; min-width: 42px; max-width: 42px; height: 24px; min-height: 24px; margin: 0; padding: 0; border: 1px solid #a59e91; border-radius: 30px; background: #d9d4ca; box-shadow: none; cursor: pointer; transition: background .2s, border-color .2s; }
.field > input[type="checkbox"]::after, .check-card input[type="checkbox"]::after, .switch-row input[type="checkbox"]::after, .toggle-field input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.22); transition: transform .2s; }
.field > input[type="checkbox"]:checked, .check-card input[type="checkbox"]:checked, .switch-row input[type="checkbox"]:checked, .toggle-field input[type="checkbox"]:checked { border-color: var(--gold-deep); background: var(--gold); }
.field > input[type="checkbox"]:checked::after, .check-card input[type="checkbox"]:checked::after, .switch-row input[type="checkbox"]:checked::after, .toggle-field input[type="checkbox"]:checked::after { transform: translateX(18px); background: var(--ink); }
.field > input[type="checkbox"]:focus-visible, .check-card input[type="checkbox"]:focus-visible, .switch-row input[type="checkbox"]:focus-visible, .toggle-field input[type="checkbox"]:focus-visible { outline: 3px solid rgba(215,173,79,.28); outline-offset: 2px; }
.choice-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.choice-columns > div { min-width: 0; padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.48); }
.choice-columns .field > label { margin-bottom: 5px; color: var(--gold-deep); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field ul.selection-options { max-height: 290px; padding: 5px; gap: 2px; overflow-y: auto; border: 0; background: transparent; }
.field ul.selection-options label { min-height: 36px; padding: 6px 8px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 500; cursor: pointer; transition: background .18s, border-color .18s; }
.field ul.selection-options label:hover { border-color: var(--line); background: var(--white); }
.field ul.selection-options input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 0; border: 1px solid #aaa294; border-radius: 4px; background: var(--white); }
.field ul.selection-options input[type="checkbox"]:checked { border-color: var(--gold-deep); background: var(--gold); box-shadow: inset 0 0 0 4px var(--white); }
.availability-field .field > label { font-weight: 600; }
.field ul.availability-options { grid-template-columns: repeat(4, minmax(0,1fr)); padding: 0; gap: 8px; border: 0; background: transparent; }
.field ul.availability-options label { min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font-size: 12px; font-weight: 600; cursor: pointer; }
.field ul.availability-options input[type="radio"] { width: 17px; min-width: 17px; height: 17px; min-height: 17px; accent-color: var(--gold-deep); }
.availability-tabs { margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.availability-tabs a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); color: var(--muted); font-size: 11px; font-weight: 600; }
.availability-tabs a.active { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.availability-quick select { min-width: 140px; min-height: 36px; padding: 6px 30px 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; cursor: pointer; }
.availability-label { width: max-content; margin: 14px 0; padding: 7px 11px; border-radius: 30px; background: #dce9df; color: #365b41; font-size: 12px; font-weight: 600; }
.availability-made_to_order { background: #f2e5bd; color: #74540f; }
.availability-out_of_stock, .availability-out_of_season { background: #f0d8d4; color: #7b332a; }
.unavailable-note { margin: 18px 0; padding: 17px; display: grid; gap: 4px; border-left: 3px solid var(--gold-deep); background: #f5ecda; }
.unavailable-note span { color: var(--muted); font-size: 13px; }
.upload-zone { min-height: 120px; display: grid; place-items: center; align-content: center; gap: 6px; border: 1px dashed var(--gold-deep); background: #f6efde; text-align: center; cursor: pointer; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone span { font-weight: 500; }
.upload-zone small { color: var(--muted); }
.upload-zone.compact { min-height: 94px; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.media-grid figure { margin: 0; border: 1px solid var(--line); background: var(--white); }
.media-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-grid figcaption { padding: 9px; display: flex; justify-content: space-between; gap: 8px; }
.media-grid button { padding: 0; border: 0; background: none; color: var(--gold-deep); font-size: 10px; font-weight: 500; cursor: pointer; }
.media-grid .danger-link { color: var(--danger); }
.sticky-actions { position: sticky; bottom: 15px; z-index: 8; padding: 13px 15px; display: flex; align-items: center; justify-content: flex-end; gap: 22px; border: 1px solid var(--line); background: rgba(251,248,240,.95); box-shadow: 0 12px 45px rgba(0,0,0,.13); backdrop-filter: blur(10px); }
.sticky-actions > a, .sticky-actions > span { color: var(--muted); font-size: 12px; }
.sticky-actions .primary-button { min-height: 43px; }
.legal-form-stack { display: grid; gap: 18px; }
.notice-card { margin-bottom: 18px; padding: 18px 20px; border-left: 3px solid var(--gold); background: #eee1c1; }
.notice-card p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr); gap: 18px; align-items: start; }
.stack-form { margin-top: 0; }
.stack-form .primary-button { margin-top: 8px; }
.advanced-fields { border: 1px solid var(--line); background: rgba(255,253,248,.62); }
.advanced-fields > summary { min-height: 58px; padding: 10px 13px; display: flex; flex-direction: column; justify-content: center; list-style: none; cursor: pointer; }
.advanced-fields > summary::-webkit-details-marker { display: none; }
.advanced-fields > summary span { color: var(--gold-deep); font-size: 12px; font-weight: 500; }
.advanced-fields > summary small { color: var(--muted); font-size: 11px; }
.advanced-fields > div { padding: 14px; display: grid; gap: 14px; border-top: 1px solid var(--line); }
.advanced-section > summary { padding: 23px 26px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 13px; list-style: none; cursor: pointer; }
.advanced-section > summary::-webkit-details-marker { display: none; }
.advanced-section > summary b { color: var(--gold-deep); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.advanced-section[open] > summary b { font-size: 0; }
.advanced-section[open] > summary b::after { content: "Свернуть"; font-size: 11px; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 18px; align-items: start; }
.sticky-panel { position: sticky; top: 18px; }
.reference-list { border-top: 1px solid var(--line); }
.reference-row { min-height: 68px; padding: 11px 13px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.reference-row:hover, .reference-row.selected { padding-left: 19px; background: var(--white); }
.reference-row.selected { border-left: 3px solid var(--gold); }
.reference-row strong, .reference-row small { display: block; }
.reference-row small, .reference-row > span { color: var(--muted); font-size: 11px; }

/* Редактор главной */
.editor-guide { margin-bottom: 36px; padding: 16px 20px; display: flex; align-items: center; gap: 30px; border: 1px solid var(--line); background: var(--cream); }
.editor-guide > span { color: var(--gold-deep); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.editor-guide ol { margin: 0; padding: 0; display: flex; gap: 34px; list-style-position: inside; color: var(--muted); font-size: 12px; }
.editor-blocks > .panel-title { margin: 0 0 16px; }
.block-editor { margin-bottom: 11px; border: 1px solid var(--line); background: var(--cream); }
.block-editor > summary { min-height: 82px; padding: 0 20px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto auto 22px; align-items: center; gap: 14px; list-style: none; cursor: pointer; }
.block-editor > summary::-webkit-details-marker { display: none; }
.block-order { color: var(--gold-deep); font: 24px/1 var(--display); }
.block-summary h3 { margin: 3px 0 0; font: 25px/1 var(--display); }
.block-type { color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.block-move form { display: flex; }
.block-move button { width: 32px; height: 32px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.summary-chevron { font-size: 19px; transition: transform .2s; }
.block-editor[open] .summary-chevron { transform: rotate(180deg); }
.editor-form { padding: 24px; border-top: 1px solid var(--line); }
.editor-form .form-actions { margin-top: 20px; display: flex; justify-content: flex-end; }
.product-checks { max-height: 250px; padding: 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; overflow-y: auto; border: 1px solid var(--line); background: var(--paper); }
.product-checks label { min-height: 44px; padding: 8px; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 7px; background: var(--white); cursor: pointer; }
.product-checks input { width: 16px; min-height: 16px; height: 16px; }
.product-checks small { color: var(--gold-deep); }
.editor-images { padding: 0 24px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.editor-images figure { margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.editor-images img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.editor-images figcaption { min-height: 42px; padding: 7px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.editor-images figcaption strong { font-size: 10px; }
.editor-images form { display: flex; gap: 4px; }
.editor-images button { padding: 6px 9px; border: 0; background: rgba(17,17,15,.85); color: white; font-size: 10px; cursor: pointer; }
.editor-images button:disabled, .media-grid button:disabled { opacity: .28; cursor: default; }
.editor-images .danger-link { background: var(--danger); }
.block-actions { padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); background: #eee8dc; color: var(--muted); font-size: 11px; }
.publish-action, .ghost-action { min-height: 38px; padding: 0 16px; border: 1px solid var(--gold-deep); background: transparent; font-size: 11px; font-weight: 500; cursor: pointer; }
.publish-action { background: var(--gold); color: var(--ink); }
.add-block-section { margin-top: 30px; }
.add-block-section > summary { padding: 22px 26px; display: grid; grid-template-columns: 38px 1fr; gap: 13px; list-style: none; cursor: pointer; }

/* Заказы, сотрудники, Telegram */
.order-admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.order-main-column { display: grid; gap: 18px; }
.order-items > div { min-height: 65px; display: grid; grid-template-columns: 1fr auto 110px; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.order-items small { display: block; color: var(--muted); }
.order-totals { margin-top: 15px; padding-top: 12px; border-top: 2px solid var(--ink); }
.order-totals > div { padding: 6px 0; display: flex; justify-content: space-between; }
.order-totals > div:last-child { font-size: 20px; }
.details-grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.details-grid > div { padding: 19px 0; border-bottom: 1px solid var(--line); }
.details-grid > div:nth-child(odd) { padding-right: 20px; }
.details-grid > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.details-grid .wide { grid-column: 1 / -1; padding-left: 0!important; border-left: 0!important; }
.details-grid dt { margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.details-grid dd { margin: 0; }
.details-grid a { color: var(--gold-deep); font-weight: 500; }
.order-actions { position: sticky; top: 18px; }
.quick-contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quick-contact a { color: var(--gold-deep); font-weight: 500; }
.staff-list { display: grid; }
.staff-row { min-height: 72px; padding: 10px 20px; display: grid; grid-template-columns: 42px 1fr auto 20px; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.staff-row:hover { background: var(--white); }
.staff-row small { display: block; color: var(--muted); }
.telegram-layout { display: grid; grid-template-columns: minmax(310px, .75fr) minmax(500px, 1.25fr); gap: 18px; align-items: start; }
.subnav { margin-bottom: 18px; padding: 5px; display: inline-flex; gap: 4px; border: 1px solid var(--line); background: var(--cream); }
.subnav a { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.subnav a.active { background: var(--ink); color: var(--white); }
.subnav span { min-width: 20px; padding: 1px 5px; border-radius: 20px; background: var(--gold); color: var(--ink); font-size: 9px; text-align: center; }
.activation-code { margin-top: 22px; padding: 19px; display: grid; gap: 6px; background: var(--ink); color: var(--cream); }
.activation-code span, .activation-code small { color: #9e978c; }
.activation-code strong { color: var(--gold-light); font: 20px/1.3 ui-monospace, monospace; word-break: break-all; }
.recipient-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.recipient-card > header { margin-bottom: 18px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; }
.recipient-card h2 { margin: 0; font: 25px/1 var(--display); }
.recipient-card header small { color: var(--muted); }
.switch-row { min-height: 58px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.switch-row span strong, .switch-row span small { display: block; }
.switch-row span small { color: var(--muted); }
.switch-row input { flex: 0 0 42px; }
.recipient-card > button { width: 100%; margin-top: 16px; }
.error-text { max-width: 270px; color: var(--danger)!important; }
.narrow-panel { width: min(100%, 620px); }
.access-state { min-height: 62vh; display: grid; place-items: center; align-content: center; text-align: center; }
.access-state > span { color: var(--gold); font: 92px/.9 var(--display); }
.access-state h1 { margin: 5px 0 18px; font: clamp(46px, 6vw, 76px)/.94 var(--display); }
.access-state > p:not(.eyebrow) { max-width: 600px; color: var(--muted); }
.access-state .primary-button { margin-top: 14px; }

/* Карточка товара, корзина и оформление */
.detail-page { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); background: var(--paper); }
.detail-gallery { position: sticky; top: 0; align-self: start; padding: 20px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-height: calc(100vh - 82px); background: #d5cec0; }
.detail-stage { position: relative; width: 100%; min-height: 560px; max-height: calc(100vh - 185px); padding: 0; overflow: hidden; border: 0; background: #cfc6b7; cursor: zoom-in; }
.detail-stage img { width: 100%; height: 100%; min-height: 560px; max-height: calc(100vh - 185px); object-fit: contain; }
.detail-stage > span { position: absolute; right: 14px; bottom: 14px; padding: 8px 11px; background: rgba(17,17,15,.82); color: var(--cream); font-size: 11px; font-weight: 500; }
.detail-thumbnails { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.detail-thumbnails button { aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid transparent; background: #c9c0b0; cursor: pointer; }
.detail-thumbnails button.active { border-color: var(--gold-deep); }
.detail-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.product-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 24px; border: 0; background: rgba(8,8,7,.96); color: var(--cream); }
.product-lightbox::backdrop { background: rgba(0,0,0,.88); }
.product-lightbox[open] { display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; gap: 18px; }
.product-lightbox figure { min-width: 0; height: calc(100vh - 48px); margin: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; place-items: center; }
.product-lightbox figure img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; }
.product-lightbox figcaption { padding-top: 10px; color: #aaa398; font-size: 13px; }
.lightbox-close, .lightbox-arrow { border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; }
.lightbox-close { position: fixed; z-index: 2; top: 18px; right: 18px; width: 46px; height: 46px; font-size: 28px; }
.lightbox-arrow { width: 56px; height: 56px; font-size: 22px; }
.media-order { display: flex; gap: 6px; }
.detail-copy { position: sticky; top: 0; align-self: start; padding: clamp(48px, 6vw, 88px); }
.detail-copy h1 { margin-bottom: 20px; font: clamp(48px, 5vw, 74px)/.94 var(--display); letter-spacing: -.04em; }
.lead { color: var(--muted); font-size: 18px; }
.detail-taxonomy, .detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-taxonomy { margin: 0 0 18px; }
.detail-taxonomy a, .detail-tags span { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 500; }
.detail-taxonomy a:hover { border-color: var(--gold-deep); color: var(--ink); }
.detail-tags { padding: 24px 0 5px; }
.detail-price-wrap { margin: 27px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.detail-price { display: block; font: 31px/1 var(--display); }
.detail-price-wrap del { color: var(--muted); font-size: 17px; }
.detail-price-wrap > span { padding: 5px 8px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 500; }
.add-form { padding-bottom: 28px; display: flex; align-items: end; gap: 12px; border-bottom: 1px solid var(--line); }
.add-form label { display: grid; gap: 5px; font-weight: 500; }
.add-form input { width: 86px; height: 48px; padding: 0 10px; border: 1px solid var(--line); }
.detail-section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.detail-section h2 { font: 25px/1 var(--display); }
.order-page { min-height: calc(100vh - 82px); padding: clamp(48px, 6vw, 88px); background: var(--paper); }
.order-heading { max-width: 820px; margin-bottom: 36px; }
.order-heading h1 { font: clamp(48px, 6vw, 82px)/.94 var(--display); letter-spacing: -.04em; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cart-list, .checkout-form { display: grid; gap: 13px; }
.cart-row { padding: 24px; display: grid; grid-template-columns: 100px minmax(0,1fr); align-items: start; gap: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.cart-image { aspect-ratio: 1; }
.cart-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-row h2 { margin-bottom: 12px; font: 400 23px/1.3 var(--display); overflow-wrap: anywhere; }
.cart-row form { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 8px 16px; grid-column: 1 / -1; }
.cart-row form label { grid-column: 1 / -1; font-size: 13px; font-weight: 400; color: var(--muted); }
.cart-row input { min-height: 38px; padding: 0 8px; border: 1px solid var(--line); }
.cart-row button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.cart-row .remove { color: var(--danger); }
.cart-summary { position: sticky; top: 22px; padding: 25px; background: var(--ink); color: var(--cream); }
.cart-summary > strong { display: block; margin-top: 8px; font: 36px/1 var(--display); }
.cart-summary p { color: #9f998e; font-size: 13px; }
.checkout-form fieldset { margin: 0; padding: 24px; border: 1px solid var(--line); background: var(--cream); }
.checkout-form legend { padding: 0 9px; font: 27px/1 var(--display); }
.check-field { margin-top: 12px; }
.check-field input { width: 18px; height: 18px; vertical-align: middle; }
.privacy { padding: 17px; border: 1px solid var(--line); background: var(--cream); }
.checkout-summary h2 { font: 28px/1 var(--display); }
.checkout-summary > div { padding: 11px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-dark); }
.summary-total strong { color: var(--gold-light); }
.success-page { min-height: 100vh; padding: 30px; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%,rgba(215,173,79,.2),transparent 28%),var(--ink); color: var(--cream); text-align: center; }
.success-page section { max-width: 680px; }
.success-page h1 { font: clamp(50px, 7vw, 84px)/.95 var(--display); }
.success-mark { width: 70px; height: 70px; margin: 0 auto 26px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 30px; }
.legal-page { width: min(900px, calc(100% - 36px)); margin: 70px auto 110px; }
.legal-page h1 { font: clamp(40px, 5vw, 66px)/.98 var(--display); }
.legal-copy, .legal-empty { padding: 28px; border: 1px solid var(--line); background: var(--cream); }
.legal-details { margin-top: 18px; padding: 20px; display: grid; gap: 5px; border-left: 3px solid var(--gold); background: #eee5d2; }

@media (max-width: 1100px) {
  .dynamic-hero { grid-template-columns: 1fr 44%; }
  .dynamic-hero-copy h1 { font-size: clamp(55px, 7vw, 78px); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-app { grid-template-columns: 244px minmax(0,1fr); }
  .control-content { padding: 34px 26px; }
  .dashboard-grid, .split-layout, .order-admin-layout, .editor-layout { grid-template-columns: 1fr; }
  .order-actions { position: relative; top: auto; }
  .sticky-panel { position: relative; top: auto; }
  .choice-columns { grid-template-columns: 1fr; }
  .field ul.availability-options { grid-template-columns: 1fr 1fr; }
  .telegram-layout { grid-template-columns: 1fr; }
  .selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { background: var(--paper); }
  .site-header { min-height: 72px; }
  .site-menu-button { display: block; }
  .site-header nav { position: absolute; left: 0; right: 0; top: 100%; padding: 18px 24px 24px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-top: 1px solid var(--line-dark); }
  .site-menu-open .site-header nav { display: flex; }
  .site-header nav a { padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
  .site-header .cart-link { border: 0; }
  .dynamic-hero { grid-template-columns: 1fr; }
  .dynamic-hero-copy { min-height: 560px; }
  .hero-visual { min-height: 480px; }
  .contacts-section { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .admin-app { display: block; }
  .control-sidebar { position: fixed; z-index: 100; width: 280px; left: 0; top: 0; transform: translateX(-102%); transition: transform .25s; box-shadow: 20px 0 70px #0008; }
  .control-menu-open .control-sidebar { transform: translateX(0); }
  .control-mobile-header { min-height: 68px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--cream); }
  .control-mobile-header .brand-mark { width: 31px; height: 31px; flex-basis: 31px; }
  .control-mobile-header .brand-name { font-size: 11px; }
  .control-mobile-header button { padding: 8px 12px; border: 1px solid var(--line-dark); background: transparent; color: var(--cream); }
  .control-page-head { align-items: flex-start; flex-direction: column; }
  .head-actions { align-items: flex-start; }
  .metric-grid { grid-template-columns: 1fr; }
  .recipient-grid { grid-template-columns: 1fr; }
  .media-grid, .editor-images { grid-template-columns: repeat(2, 1fr); }
  .editor-guide { align-items: flex-start; flex-direction: column; gap: 10px; }
  .editor-guide ol { flex-direction: column; gap: 3px; }
  .block-editor > summary { grid-template-columns: 36px 1fr auto 20px; }
  .block-move { display: none; }
  .detail-page { grid-template-columns: 1fr; }
  .detail-gallery { position: relative; min-height: auto; }
  .detail-stage, .detail-stage img { min-height: 480px; max-height: 72vh; }
  .detail-copy { position: relative; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: relative; }
}

@media (max-width: 600px) {
  .brand-name { font-size: 11px; }
  .section-pad { padding: 62px 20px; }
  .dynamic-hero-copy { min-height: 520px; padding: 68px 22px 42px; }
  .dynamic-hero-copy h1 { font-size: 55px; }
  .hero-visual { min-height: 380px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading h2 { font-size: 45px; }
  .category-list a { grid-template-columns: 42px 1fr; }
  .category-list small { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .info-strip > div { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .contact-lines > a, .contact-lines > div { grid-template-columns: 1fr auto; gap: 5px; padding: 16px 0; }
  .contact-lines span { grid-column: 1 / -1; }
  .control-content { padding: 28px 15px 50px; }
  .control-page-head h1 { font-size: 45px; }
  .control-filters { align-items: stretch; flex-direction: column; }
  .control-filters label, .control-filters .search-field { width: 100%; min-width: 0; }
  .form-grid, .details-grid { grid-template-columns: 1fr; }
  .span-2, .details-grid .wide { grid-column: auto; }
  .details-grid > div { padding: 16px 0!important; border-left: 0!important; }
  .form-section > .form-grid, .form-section > .choice-columns, .form-section > .upload-zone, .form-section > .media-grid, .legal-form-stack { margin: 17px; }
  .form-section > header { padding: 20px 17px; }
  .sticky-actions { bottom: 8px; }
  .sticky-actions > span { display: none; }
  .product-checks { grid-template-columns: 1fr; }
  .block-editor > summary { min-height: 92px; padding: 0 12px; grid-template-columns: 33px 1fr 18px; }
  .block-editor > summary .status-pill { display: none; }
  .editor-form { padding: 17px; }
  .block-actions { align-items: flex-start; gap: 12px; flex-direction: column; }
  .block-actions form, .block-actions button { width: 100%; }
  .subnav { width: 100%; overflow-x: auto; }
  .subnav a { white-space: nowrap; }
  .auth-card { padding: 34px 23px; }
  .auth-card h1 { font-size: 38px; }
  .catalog-hero { min-height: 410px; align-items: flex-start; flex-direction: column; justify-content: flex-end; }
  .catalog-hero h1 { font-size: 76px; }
  .selection-grid { grid-template-columns: 1fr; }
  .selection-card { min-height: 290px; }
  .detail-gallery { padding: 10px; }
  .detail-stage, .detail-stage img { min-height: 390px; max-height: 68vh; }
  .detail-thumbnails { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; overflow-x: auto; }
  .product-lightbox { padding: 14px; }
  .product-lightbox[open] { grid-template-columns: 1fr; }
  .product-lightbox figure { height: calc(100vh - 90px); }
  .product-lightbox figure img { max-height: calc(100vh - 130px); }
  .lightbox-arrow { position: fixed; z-index: 2; bottom: 22px; }
  .lightbox-arrow.previous { left: 18px; }
  .lightbox-arrow.next { right: 18px; }
  .detail-copy, .order-page { padding: 44px 18px; }
  .cart-row { grid-template-columns: 82px 1fr; }
  .cart-row form, .cart-row .line-total { grid-column: 1 / -1; }
  .checkout-form fieldset { padding: 20px 14px; }
}

/* Boutique interface: consistent numerals, calmer actions and clear form groups. */
.site-header nav, .primary-button, .secondary-button, .text-link, .back-crumb,
.field label, .add-form label, .control-nav a, .row-action { font-weight: 500; }
.eyebrow { font-weight: 500; letter-spacing: .12em; }
.price-stack strong, .detail-price, .cart-summary > strong, .line-total,
.metric-number, .summary-total strong, .add-form input, .cart-controls input {
  font-family: var(--sans); font-weight: 400; font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.025em;
}
.detail-price { font-size: 30px; line-height: 1.3; }
.price-stack strong { font-size: 19px; }
.primary-button, .secondary-button, .site-header .cart-link { border-radius: 6px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-deep); outline-offset: 4px;
}
.text-link, .back-crumb, .row-action, .checkout-terms a, .privacy a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cart-image { overflow: hidden; border-radius: 8px; }
.cart-product .eyebrow { margin-bottom: 8px; font-size: 10px; }
.cart-product .price-stack { flex-wrap: wrap; gap: 7px; }
.cart-product small { color: var(--muted); font-size: 12px; }
.cart-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.cart-row button:hover { background: #eee8dc; border-color: var(--gold-deep); }
.cart-row button.remove { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.cart-controls input { width: 76px; height: 44px; border-radius: 6px; font-size: 17px; background: var(--white); }
.cart-line-price { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-line-price small { color: var(--muted); font-size: 13px; }
.line-total { font-size: 22px; white-space: nowrap; }
.cart-summary { border-radius: 12px; padding: 28px; }
.cart-summary > strong { margin: 12px 0 18px; font-size: 32px; }
.cart-summary p { color: #ccc5b8; line-height: 1.6; }
.checkout-form { gap: 24px; }
.checkout-form fieldset { padding: 26px; border-radius: 12px; min-width: 0; }
.checkout-form legend { font-size: 25px; }
.check-field { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; }
.check-field input[type=checkbox] { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 4px 0 0; accent-color: var(--gold-deep); }
.check-field label { margin: 0; font-size: 14px; font-weight: 400; cursor: pointer; }
.recipient-choice { margin: 0 0 18px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.recipient-choice label { display: grid; gap: 4px; }
.recipient-choice strong { font-weight: 500; font-size: 16px; }
.recipient-choice label span { color: var(--muted); font-size: 13px; }
.recipient-choice:has(input:checked) { border-color: var(--gold-deep); background: #f6efdf; }
.privacy { margin: 0; border-radius: 10px; flex-wrap: wrap; }
.privacy label { flex: 1; min-width: 0; }
.privacy .field-error { flex-basis: 100%; }
.checkout-terms { margin: -8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.checkout-summary > div strong { font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .cart-row { padding: 18px; grid-template-columns: 76px minmax(0,1fr); gap: 18px 14px; }
  .cart-row h2 { font-size: 20px; }
  .cart-row form { grid-column: 1 / -1; }
  .cart-summary { padding: 24px; }
  .checkout-form fieldset { padding: 20px 16px; }
  .recipient-choice { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Store addresses: shared by contacts, delivery and checkout. */
.store-section{grid-column:1/-1;width:100%;min-width:0;margin-top:36px}
.store-section-heading{margin-bottom:22px}.store-section-heading h3{font-size:clamp(25px,3vw,38px);line-height:1.2;margin:8px 0 0}
.store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.store-card{min-width:0;display:flex;flex-direction:column;padding:28px;background:#faf7ef;color:#252c25;border:1px solid #dcd9ce;border-radius:4px}
.store-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.store-number{font-size:24px;color:#977035}.store-label{font-size:12px;letter-spacing:.04em;color:#61685e;text-align:right}
.store-card h4{font-size:26px;font-weight:400;line-height:1.25;margin:0 0 12px;overflow-wrap:anywhere}.store-address{font-size:16px;line-height:1.6;margin:0 0 20px;overflow-wrap:anywhere}
.store-hours{padding-top:16px;border-top:1px solid #ddd9cd;margin-bottom:16px}.store-hours>span{font-size:12px;color:#62665e}.store-hours p{font-size:15px;line-height:1.6;white-space:pre-line;margin:5px 0 0}
.store-phone{display:block;color:#293e2c;margin-bottom:18px;overflow-wrap:anywhere}.store-map-button{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:13px 16px;background:#293e2c;color:#fff!important;text-decoration:none;font-size:14px;line-height:1.4;border-radius:3px}.store-map-button:hover{background:#3e5742}.store-map-button:focus-visible,.store-phone:focus-visible{outline:3px solid #b38749;outline-offset:4px}
.delivery-section .store-section-heading{color:#fff}.checkout-form .store-grid{grid-template-columns:1fr}
@media(max-width:680px){.store-grid{grid-template-columns:1fr}.store-card{padding:22px}.store-section{margin-top:28px}.store-card h4{font-size:24px}}
