@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@400;500;700&display=swap');

:root {
  --bg: #d4ccbd;
  --paper: #fdfaf5;
  /* Тот самый молочный белый */
  --ink: #1c1814;
  --muted: #5d5045;
  --accent: #84040d;
  --accent-dark: #6a030a;
  --line: #c2b19a;
  --card: #ffffff;
  --dark: #1a1816;
  --success: #1f6d45;
  --error: #8e1d1d;
  --focus: #111;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 30px rgba(27, 17, 12, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
  /* Важно для наклонных элементов */
}

html {
  overflow-y: auto;
}

body {
  overflow-y: visible;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    /* Текстура дорогой бумаги */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='paperNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5' result='noise'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='noise' scale='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23d4ccbd'/%3E%3Crect width='100%25' height='100%25' filter='url(%23paperNoise)' opacity='0.08'/%3E%3C/svg%3E");
  background-attachment: fixed;
  line-height: 1.5;
  position: relative;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23f)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.15;
  z-index: 0;
}

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

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: none;
  backdrop-filter: blur(6px);
}

.logo {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-right: 6px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 0;
}

.top-nav a,
.link-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid #cdb8a1;
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f1e8 0%, #efe6da 100%);
  box-shadow:
    0 6px 12px rgba(28, 16, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.top-nav a::before,
.link-btn::before {
  content: none;
}

.top-nav a.is-active,
.top-nav a:hover,
.link-btn:hover {
  border-color: #bca689;
  background: linear-gradient(180deg, #fbf6ee 0%, #f3e9dd 100%);
  box-shadow:
    0 8px 14px rgba(28, 16, 11, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.top-nav a:hover,
.link-btn:hover {
  transform: translateY(-1px);
}

.top-nav a.is-active {
  border-color: #b29374;
  background: linear-gradient(180deg, #fffaf3 0%, #f2e6d8 100%);
}

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

.link-btn {
  font-family: inherit;
}

.page-shell {
  width: min(1200px, 100% - 32px);
  margin: 24px auto 60px;
  display: grid;
  gap: 24px;
}

.page-shell--clean {
  width: min(980px, 100% - 24px);
  margin-top: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-strip {
  border-radius: 12px;
  padding: 40px 28px;
  min-height: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Волнообразный молочно-белый переход (явный слой) */
.hero-strip::after {
  display: none;
}

.hero-strip--dark {
  background: var(--dark);
  color: #f9f4ea;
  z-index: 3;
}

.hero-strip--red {
  background: var(--accent);
  color: #fff7f2;
  z-index: 2;
}

.hero-strip--paper {
  background: var(--paper);
  color: var(--ink);
  z-index: 1;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.hero-strip--paper::after {
  display: none;
  /* У последнего блока убираем переход */
}

.hero-kicker {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.hero-grid h1,
.hero-grid h2,
h1,
h2,
h3 {
  margin: 0;
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.hero-grid h1 {
  font-size: clamp(34px, 4vw, 56px);
  margin: 10px 0;
}

.hero-grid--storyboard {
  align-items: stretch;
  position: relative;
  overflow: visible;
  padding-bottom: 20px;
  margin-bottom: 0;
}

.hero-grid--storyboard::after,
.hero-grid--storyboard::before {
  display: none;
}

.hero-grid h2 {
  font-size: 34px;
  margin-bottom: 14px;
}

.story-column {
  min-height: 560px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title-xl {
  font-size: clamp(56px, 6vw, 86px) !important;
  letter-spacing: 0.03em;
  line-height: 0.95 !important;
}

.hero-title-sub {
  margin: 0;
  font-size: clamp(18px, 2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.torn-note {
  position: relative;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.88);
  color: #2a241f;
  padding: 14px;
}

.torn-note p {
  margin: 0;
}

.paper-rip {
  display: inline-block;
  margin: 10px 0 0;
  background: white;
  color: var(--accent);
  padding: 8px 18px;
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  letter-spacing: 0.1em;
  font-size: 24px;
  /* Красивый рваный край */
  clip-path: polygon(2% 5%, 15% 0%, 30% 4%, 45% 1%, 60% 5%, 75% 2%, 90% 6%, 98% 3%,
      100% 30%, 97% 60%, 100% 90%,
      95% 97%, 80% 94%, 65% 98%, 50% 95%, 35% 97%, 20% 94%, 5% 98%,
      0% 70%, 3% 40%, 0% 10%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.story-text {
  margin: 0;
  font-weight: 500;
  color: rgba(255, 246, 242, 0.95);
}

.story-column--polaroid {
  gap: 16px;
}

.mini-polaroid {
  position: relative;
  background: #f8f7f2;
  border: 1px solid #c7b9a6;
  box-shadow: 0 10px 14px rgba(0, 0, 0, 0.16);
  padding: 14px 12px 18px;
  transform: rotate(-3deg);
}

.mini-polaroid::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 50%;
  width: 40px;
  height: 18px;
  transform: translateX(-50%) rotate(-7deg);
  border-radius: 999px;
  border: 1px solid rgba(205, 168, 126, 0.7);
  background:
    radial-gradient(circle at 18% 48%, rgba(180, 138, 93, 0.2) 0 9%, transparent 11%) 0 0 / 12px 12px,
    radial-gradient(circle at 80% 52%, rgba(180, 138, 93, 0.18) 0 9%, transparent 11%) 6px 0 / 12px 12px,
    linear-gradient(180deg, rgba(247, 221, 183, 0.92) 0%, rgba(226, 188, 141, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 1px 2px rgba(50, 28, 12, 0.2);
}

.mini-polaroid p {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f4238;
}

.mini-polaroid strong {
  display: block;
  margin-top: 8px;
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: 30px;
  color: #1d1815;
  letter-spacing: 0.04em;
}

.mini-polaroid--alt {
  transform: rotate(2.8deg);
}

.feature-list {
  margin: 0 0 18px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.note {
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
  padding-top: 12px;
  margin-top: 14px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.paper-transition {
  position: relative;
  height: 65px;
  width: 100%;
  margin: 50px 0 60px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='pn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23pn)' opacity='0.05'/%3E%3C/svg%3E");
  filter: drop-shadow(0px 8px 12px rgba(20, 15, 10, 0.08));
  z-index: 5;
  transform: rotate(-1deg);
  clip-path: polygon(0% 20%, 4% 18%, 5% 35%, 11% 32%, 13% 12%, 19% 10%, 21% 40%, 27% 38%,
      29% 18%, 35% 15%, 37% 45%, 45% 42%, 47% 20%, 54% 18%, 56% 38%, 63% 35%,
      65% 15%, 72% 12%, 74% 35%, 81% 32%, 83% 12%, 89% 10%, 91% 25%, 97% 22%, 100% 20%,
      100% 80%, 97% 83%, 95% 98%, 89% 95%, 87% 75%, 81% 78%, 79% 99%, 72% 96%,
      70% 78%, 63% 81%, 61% 98%, 54% 95%, 52% 75%, 45% 77%, 43% 92%, 35% 89%,
      33% 70%, 27% 72%, 25% 95%, 19% 92%, 17% 75%, 11% 78%, 9% 98%, 4% 95%, 0% 88%);
}

.paper-transition::before,
.paper-transition::after {
  display: none;
}

.paper-block {
  background: var(--paper);
  border-radius: 22px;
  box-shadow:
    0 20px 36px rgba(27, 17, 12, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.7) inset,
    0 -8px 16px rgba(68, 48, 29, 0.06) inset;
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: clamp(16px, 3vw, 28px);
}

.paper-block--intro {
  border-left: 8px solid var(--accent);
}

.paper-block--centered {
  text-align: center;
  padding-block: 44px;
}

.paper-block--clean {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0d0bb;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  align-items: stretch;
}

.taped-grid {
  gap: 22px;
}

.workshop-card {
  border-radius: 18px 18px 26px 26px;
  overflow: visible;
  background: linear-gradient(162deg, #fbfaf6 0%, #f1e8d9 90%);
  border: 1px solid #cdbda7;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 18px 32px rgba(28, 16, 11, 0.12),
    0 8px 14px rgba(28, 16, 11, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 0 rgba(220, 203, 186, 0.3),
    inset 1px 0 0 rgba(255, 255, 255, 0.6),
    inset -1px 0 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  position: relative;
  height: 100%;
}

.workshop-card--compact .workshop-card__image {
  aspect-ratio: 4 / 3;
}

.workshop-card:hover {
  box-shadow:
    0 24px 38px rgba(28, 16, 11, 0.16),
    0 12px 18px rgba(28, 16, 11, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 0 rgba(220, 203, 186, 0.3),
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(255, 255, 255, 0.7);
}

.workshop-card--taped:hover,
.catalog-group .workshop-card:hover {
  transform: translateY(-2px);
}

.workshop-card--taped:nth-child(even):hover,
.catalog-group .workshop-card:nth-child(even):hover {
  transform: translateY(-2px);
}

.workshop-card--taped,
.catalog-group .workshop-card {
  transform: none;
}

.workshop-card--taped:nth-child(even),
.catalog-group .workshop-card:nth-child(even) {
  transform: none;
}

.workshop-card--taped::before,
.catalog-group .workshop-card::before {
  content: none;
}

.workshop-card--taped::after,
.catalog-group .workshop-card::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: -10px;
  width: 48px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  filter: blur(8px);
  z-index: -1;
}

.workshop-card__image {
  aspect-ratio: 4 / 3;
  background-color: #d8c9b2;
  background-image: linear-gradient(140deg, var(--img-bg-start, #d8c9b2), var(--img-bg-end, #c8b79e));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 1px solid #cfc3ae;
  border-radius: 17px 17px 0 0;
  position: relative;
  overflow: hidden;
}

.workshop-card__image-fit {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
}

.workshop-card__body {
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, #faf8f1 0%, #f2ece0 100%);
  border-radius: 0 0 24px 24px;
  flex: 1;
  min-height: 180px;
}

.workshop-card__body h3 {
  font-size: 30px;
  color: #790f22;
}

.workshop-card__body p {
  margin: 0;
  color: var(--muted);
  flex: 1 1 auto;
}

.workshop-card__body::after {
  content: none;
}

.workshop-card__body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.price-label {
  color: var(--ink) !important;
  font-weight: 700;
}

.chip {
  display: inline-block;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(159, 17, 24, 0.16);
  color: #781117;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-group {
  display: grid;
  gap: 14px;
}

.category-divider {
  border-top: 2px solid rgba(159, 17, 24, 0.45);
  padding-top: 10px;
}

.category-divider h2 {
  font-size: clamp(24px, 2.5vw, 34px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.btn--accent {
  background: linear-gradient(180deg, #b51b23 0%, #861118 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--accent:hover {
  background: linear-gradient(180deg, #ca252e 0%, #95131a 100%);
}

.btn--ghost,
.btn--outline {
  border-color: rgba(86, 64, 43, 0.35);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.btn--header-style {
  border-color: #cdb8a1;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f1e8 0%, #efe6da 100%);
  box-shadow:
    0 6px 12px rgba(28, 16, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn--header-style:hover {
  border-color: #bca689;
  background: linear-gradient(180deg, #fbf6ee 0%, #f3e9dd 100%);
  box-shadow:
    0 8px 14px rgba(28, 16, 11, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn--danger {
  background: #8e1d1d;
  color: #fff;
}

.btn--small {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

.workshop-page {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: start;
}

body.workshop-detail-page .workshop-page,
body.workshop-detail-page .paper-block {
  width: var(--home-block-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.workshop-page__media {
  border-radius: 20px;
  min-height: 440px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(130, 80, 60, 0.22);
  box-shadow:
    0 18px 32px rgba(28, 16, 11, 0.12),
    0 8px 14px rgba(28, 16, 11, 0.06),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(220, 200, 180, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(255, 255, 255, 0.7);
}

.workshop-page__content {
  background: linear-gradient(170deg, rgba(255, 253, 249, 0.85) 0%, rgba(248, 242, 235, 0.85) 100%);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(130, 80, 60, 0.22);
  box-shadow:
    0 18px 32px rgba(28, 16, 11, 0.12),
    0 8px 14px rgba(28, 16, 11, 0.06),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(220, 200, 180, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 16px;
}

.lead {
  font-weight: 700;
}

.price-table-wrap {
  overflow-x: auto;
}

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

.price-table th,
.price-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

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

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(130, 80, 60, 0.22);
}

.admin-table th {
  font-weight: 700;
  color: #790f22;
  border-bottom: 2px solid rgba(130, 80, 60, 0.35);
}

.admin-table tbody tr {
  transition: background-color 0.2s ease;
}

.admin-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.45);
}

.configurator-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
}

body.configurator-page {
  height: auto;
  min-height: 100%;
  overflow-y: visible;
}

body.configurator-page .page-shell {
  width: min(1280px, 100% - 28px);
  gap: 26px;
}

body.configurator-page .love-page {
  width: min(1160px, 100%);
}

body.configurator-page .love-hero--catalog {
  min-height: 180px !important;
  padding: 30px 30px !important;
}

body.configurator-page .configurator-layout {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 360px);
  align-items: start;
  gap: 24px;
  width: var(--home-block-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.configurator-page .configurator-catalog {
  min-width: 0;
  display: grid;
  gap: 20px;
}

body.configurator-page .configurator-catalog .catalog-group {
  gap: 16px;
  background: linear-gradient(170deg, rgba(255, 253, 249, 0.85) 0%, rgba(248, 242, 235, 0.85) 100%);
  border: 1px solid rgba(130, 80, 60, 0.22);
  border-radius: 20px;
  padding: 18px 18px 20px;
  box-shadow:
    0 18px 32px rgba(28, 16, 11, 0.12),
    0 8px 14px rgba(28, 16, 11, 0.06),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(220, 200, 180, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(255, 255, 255, 0.7);
}

body.configurator-page .configurator-catalog .category-divider {
  border-top: none;
  padding-top: 0;
}

body.configurator-page .configurator-catalog .category-divider h2 {
  font-size: clamp(30px, 3vw, 38px);
  color: #701627;
}

body.configurator-page .configurator-catalog .card-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

body.configurator-page .configurator-catalog .workshop-card {
  max-width: none;
}

body.configurator-page .configurator-catalog .workshop-card__body {
  gap: 8px;
}

body.configurator-page .configurator-catalog .add-to-bundle {
  width: 100%;
}

body.configurator-page .bundle-panel {
  top: 16px;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
}

body.configurator-page .bundle-panel h2 {
  margin: 0;
  font-size: 32px;
  color: #731629;
}

body.configurator-page .bundle-items {
  max-height: min(56vh, 560px);
  overflow-y: auto;
  padding-right: 4px;
}

body.configurator-page .bundle-total-row strong {
  font-size: 28px;
}

body.configurator-page #saveBundle {
  width: 100%;
}

body.catalog-page {
  height: auto;
  min-height: 100%;
  overflow-y: visible;
}

body.catalog-page .page-shell {
  width: min(1280px, 100% - 28px);
  gap: 24px;
}

body.catalog-page .love-page {
  width: min(1160px, 100%);
}

body.catalog-page .love-hero--catalog {
  min-height: 180px !important;
  padding: 30px 30px !important;
}

body.catalog-page .catalog-group {
  width: var(--home-block-width);
  margin: 0 auto;
  gap: 16px;
  background: linear-gradient(170deg, rgba(255, 253, 249, 0.85) 0%, rgba(248, 242, 235, 0.85) 100%);
  border: 1px solid rgba(130, 80, 60, 0.22);
  border-radius: 20px;
  padding: 18px 18px 20px;
  box-shadow:
    0 18px 32px rgba(28, 16, 11, 0.12),
    0 8px 14px rgba(28, 16, 11, 0.06),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(220, 200, 180, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(255, 255, 255, 0.7);
}

body.catalog-page .category-divider {
  border-top: none;
  padding-top: 0;
}

body.catalog-page .category-divider h2 {
  font-size: clamp(30px, 3vw, 38px);
  color: #701627;
}

body.catalog-page .catalog-group .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.catalog-page .catalog-group .workshop-card {
  max-width: none;
}

body.catalog-page .catalog-group .workshop-card__body {
  gap: 8px;
}

body.admin-login-page {
  height: auto;
  min-height: 100%;
  overflow-y: visible;
}

body.admin-login-page .page-shell {
  width: min(860px, 100% - 24px);
  gap: 20px;
}

body.admin-login-page .admin-auth {
  min-height: clamp(420px, 64vh, 680px);
  align-items: start;
}

body.admin-login-page .admin-auth__card {
  width: min(560px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(120, 69, 54, 0.24);
  border-radius: 18px;
  background: rgba(253, 250, 245, 0.92);
  box-shadow:
    0 16px 26px rgba(28, 16, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  display: grid;
  gap: 12px;
}

body.admin-login-page .admin-auth__title {
  margin: 0;
  font-size: clamp(34px, 6vw, 50px);
  color: #701627;
  line-height: 0.95;
  text-align: center;
}

body.admin-login-page .admin-auth__note {
  margin: 0;
  text-align: center;
  color: #5b3a3f;
  font-size: 15px;
}

body.admin-login-page .admin-login-form {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.admin-login-page .admin-login-form .btn {
  width: 100%;
  min-height: 46px;
}

body.admin-login-page .status-text--error {
  border: 1px solid rgba(142, 29, 29, 0.25);
  background: rgba(142, 29, 29, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
}

body.admin-page {
  height: auto;
  min-height: 100%;
  overflow-y: visible;
}

body.admin-page .page-shell {
  width: min(1320px, 100% - 28px);
  gap: 22px;
}

body.admin-page .love-page {
  width: min(1160px, 100%);
}

body.admin-page .love-hero--catalog {
  min-height: 180px !important;
  padding: 30px 30px !important;
}

body.admin-page .admin-page__notice {
  width: min(1160px, 100%);
  margin: -4px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(66, 111, 84, 0.25);
  background: rgba(66, 111, 84, 0.1);
  border-radius: 10px;
}

body.admin-page .paper-block {
  border: 1px solid rgba(120, 69, 54, 0.22);
  border-radius: 16px;
  background: rgba(253, 250, 245, 0.9);
  box-shadow:
    0 12px 22px rgba(28, 16, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.admin-page .paper-block--intro {
  border-left: none;
  border-top: 4px solid rgba(133, 19, 35, 0.7);
}

body.admin-page .paper-block--intro h1 {
  color: #701627;
}

body.admin-page .paper-block--intro p {
  margin: 8px 0 0;
  color: #5b3a3f;
}

body.admin-page .status-text {
  margin-top: 8px;
}

body.admin-page .admin-layout {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 20px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

body.admin-page .admin-create-toolbar {
  width: min(1160px, 100%);
  margin: 0 auto 10px;
}

body.admin-page .admin-create-toggle {
  min-height: 44px;
  padding: 10px 14px;
}

body.admin-page .paper-block--create {
  padding: 14px 16px 16px;
  border-radius: 14px;
}

body.admin-page .paper-block--create h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

body.admin-page .paper-block--create .form-grid {
  gap: 10px;
}

body.admin-page .admin-create-card:not(.is-open) {
  display: none;
}

body.admin-page .stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

body.admin-page .admin-links {
  gap: 12px;
}

body.admin-page .admin-links .btn {
  min-height: 46px;
}

body.admin-page .form-grid {
  gap: 12px;
}

body.admin-page .form-grid>.btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 46px;
}

body.admin-page .field input,
body.admin-page .field textarea,
body.admin-page .field select {
  border-color: #ceb9a1;
  background: rgba(255, 255, 255, 0.95);
}

body.admin-page .price-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

body.admin-page .price-grid .field {
  gap: 4px;
}

body.admin-page .field-help {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

body.admin-page .workshop-image-preview {
  margin-top: 8px;
}

body.admin-page .workshop-image-preview img {
  display: block;
  width: min(100%, 420px);
  max-height: 260px;
  object-fit: cover;
  border: 1px solid #e2d2bf;
  border-radius: 10px;
}

body.admin-page .pricing-editor {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  border: 1px solid #dbc8b0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfa 0%, #f5eee4 100%);
  padding: 10px;
}

body.admin-page .pricing-editor__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

body.admin-page .pricing-editor__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.admin-page .pricing-editor__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid #d2be9f;
  background: #fff;
  color: #4d3d2f;
  font-size: 12px;
  padding: 4px 10px;
}

body.admin-page .pricing-editor__chip strong {
  margin-left: 4px;
  color: #7a1323;
}

body.admin-page .pricing-editor__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.admin-page .pricing-editor__legend {
  margin: 0;
  font-size: 12px;
  color: #6a5542;
}

body.admin-page .pricing-editor__table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2d2bf;
}

body.admin-page .pricing-editor__table {
  min-width: 760px;
}

body.admin-page .pricing-editor__head-cell {
  display: grid;
  gap: 5px;
}

body.admin-page .pricing-editor__micro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

body.admin-page .pricing-editor__row-actions {
  margin-top: 6px;
  opacity: 1;
}

body.admin-page .pricing-editor__head-cell:hover .pricing-editor__micro-actions,
body.admin-page .pricing-editor__head-cell:focus-within .pricing-editor__micro-actions,
body.admin-page .pricing-editor__table td:focus-within .pricing-editor__micro-actions,
body.admin-page .pricing-editor__table td:hover .pricing-editor__micro-actions {
  opacity: 1;
}

body.admin-page .pricing-editor__icon-btn {
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #ccb69d;
  background: #fbf7f1;
  color: #5c4533;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

body.admin-page .pricing-editor__icon-btn:hover {
  background: #f3e9dc;
}

body.admin-page .pricing-editor__icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

body.admin-page .pricing-editor__icon-btn--danger {
  color: #8e1d1d;
  border-color: #d8adad;
  background: #fff6f6;
}

body.admin-page .pricing-editor input[type='text'] {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
}

body.admin-page .pricing-editor .admin-table th,
body.admin-page .pricing-editor .admin-table td {
  padding: 7px;
  vertical-align: top;
}

body.admin-page .pricing-editor .admin-table th {
  text-transform: none;
  letter-spacing: normal;
  font-size: 12px;
}

@media (max-width: 720px) {
  body.admin-page .pricing-editor {
    padding: 8px;
  }

  body.admin-page .pricing-editor__toolbar {
    align-items: stretch;
  }

  body.admin-page .pricing-editor__toolbar-actions {
    width: 100%;
  }

  body.admin-page .admin-create-toggle {
    width: 100%;
  }

  body.admin-page .pricing-editor__toolbar-actions .btn {
    flex: 1 1 calc(50% - 6px);
  }
}

body.admin-page .table-wrap {
  border: 1px solid rgba(120, 69, 54, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  overflow-x: visible;
}

body.admin-page .admin-table {
  min-width: 0;
  width: 100%;
}

body.admin-page .admin-table th {
  font-size: 13px;
  color: #6a1a2a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.admin-page .admin-table td {
  vertical-align: top;
}

body.admin-page .admin-table td:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

body.admin-page .admin-table td:last-child .inline-form {
  display: inline-flex;
}

body.admin-page .admin-table td:last-child .btn {
  white-space: nowrap;
}

.bundle-panel {
  position: sticky;
  top: 20px;
  align-self: start;
  display: grid;
  gap: 12px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: var(--shadow);
}

.bundle-items {
  display: grid;
  gap: 10px;
}

.bundle-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.bundle-item h3 {
  margin: 0;
  font-size: 20px;
}

.bundle-item p {
  margin: 0;
  color: var(--muted);
}

.bundle-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bundle-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.bundle-total-row strong {
  font-size: 22px;
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
}

.bundle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px;
  font: inherit;
}

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

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

.field--inline {
  grid-template-columns: 1fr;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
}

.admin-layout {
  display: grid;
  gap: 18px;
}

.table-wrap {
  overflow-x: auto;
}

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

.admin-auth__card {
  width: min(480px, 100%);
}

.stats-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  background: linear-gradient(170deg, rgba(255, 253, 249, 0.85) 0%, rgba(248, 242, 235, 0.85) 100%);
  color: var(--ink);
  border: 1px solid rgba(130, 80, 60, 0.22);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow:
    0 18px 32px rgba(28, 16, 11, 0.12),
    0 8px 14px rgba(28, 16, 11, 0.06),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(220, 200, 180, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 38px rgba(28, 16, 11, 0.16),
    0 12px 18px rgba(28, 16, 11, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 0 rgba(220, 203, 186, 0.3),
    inset 1px 0 0 rgba(255, 255, 255, 0.7),
    inset -1px 0 0 rgba(255, 255, 255, 0.7);
}

.stat-card h2 {
  font-size: 44px;
  color: #790f22;
}

.stat-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.admin-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-text {
  margin: 0;
  color: var(--success);
}

.status-text--error {
  color: var(--error);
}

.agent-view {
  background: #f4ecde;
}

.site-footer {
  border-top: none;
  padding: 16px clamp(16px, 4vw, 48px) 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink);
}

.site-footer .footer-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #cdb8a1;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7f1e8 0%, #efe6da 100%);
  box-shadow:
    0 6px 12px rgba(28, 16, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transform: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site-footer .footer-chip::before {
  content: none;
}

.site-footer a.footer-chip:hover {
  border-color: #bca689;
  background: linear-gradient(180deg, #fbf6ee 0%, #f3e9dd 100%);
  transform: translateY(-1px);
  box-shadow:
    0 8px 14px rgba(28, 16, 11, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.home-page {
  --home-block-width: min(1160px, 100%);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #efe9de;
  background-image:
    radial-gradient(circle at 16% 25%, rgba(129, 19, 35, 0.1) 0%, transparent 38%),
    radial-gradient(circle at 82% 76%, rgba(129, 19, 35, 0.08) 0%, transparent 42%),
    repeating-linear-gradient(45deg,
      rgba(120, 38, 51, 0.025) 0,
      rgba(120, 38, 51, 0.025) 1px,
      transparent 1px,
      transparent 7px);
  background-size: auto, auto, 180px 180px;
  background-attachment: scroll;
  color: #2c1a1d;
}

body.home-page .noise-layer {
  display: none;
}

body.home-page .site-header {
  backdrop-filter: none;
}

body.home-page .page-shell {
  width: min(1280px, 100% - 28px);
  margin: 18px auto 28px;
  padding: 0 0 22px;
  display: grid;
  gap: 22px;
}

.love-page {
  width: var(--home-block-width);
  margin: 0 auto;
  display: grid;
  gap: 0;
  position: relative;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none' stroke='%2375101F' stroke-opacity='0.35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30,140 C10,150 5,110 25,120 C45,130 80,80 140,20'/%3E%3Cpath d='M115,20 L140,20 L130,40'/%3E%3C/svg%3E"),
    radial-gradient(circle 170px at 6% 22%, transparent 168px, rgba(117, 16, 31, 0.24) 169px 170px, transparent 171px),
    radial-gradient(circle 260px at 92% 18%, transparent 258px, rgba(117, 16, 31, 0.2) 259px 260px, transparent 261px),
    radial-gradient(circle 120px at 16% 72%, transparent 118px, rgba(117, 16, 31, 0.22) 119px 120px, transparent 121px),
    radial-gradient(circle 210px at 84% 88%, transparent 208px, rgba(117, 16, 31, 0.18) 209px 210px, transparent 211px);
  background-size: 160px 160px, auto, auto, auto, auto;
  background-position: 4% 76%, 0 0, 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
}

.love-page::before,
.love-page::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(117, 16, 31, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.love-page::before {
  width: 500px;
  height: 500px;
  top: 360px;
  right: -390px;
}

.love-page::after {
  width: 430px;
  height: 430px;
  top: 1140px;
  left: -350px;
}

.love-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  gap: 10px;
  padding: 30px 24px 24px;
  min-height: clamp(252px, 29.4vw, 336px);
  border-radius: 28px;
  border: 1px solid rgba(255, 226, 214, 0.18);
  color: #fcf4ee;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 245, 233, 0.08), transparent 36%),
    radial-gradient(circle at 78% 82%, rgba(148, 22, 41, 0.4), transparent 54%),
    linear-gradient(150deg, #54101b 0%, #7e1023 44%, #5c0d1b 100%);
  background-image:
    radial-gradient(circle at 14% 8%, rgba(255, 245, 233, 0.08), transparent 36%),
    radial-gradient(circle at 78% 82%, rgba(148, 22, 41, 0.4), transparent 54%),
    linear-gradient(150deg, #54101b 0%, #7e1023 44%, #5c0d1b 100%),
    repeating-linear-gradient(135deg,
      rgba(255, 244, 238, 0.04) 0,
      rgba(255, 244, 238, 0.04) 1px,
      transparent 1px,
      transparent 9px);
  background-size: auto, auto, auto, 180px 180px;
  box-shadow:
    0 26px 42px rgba(46, 7, 15, 0.26),
    inset 0 1px 0 rgba(255, 244, 237, 0.16);
}

.love-hero::before,
.love-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.love-hero::before {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 236, 226, 0.42);
  top: -320px;
  left: -380px;
}

.love-hero::after {
  width: 640px;
  height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(255, 236, 226, 0.24);
  right: -490px;
  top: -220px;
}

.love-hero__brand {
  margin: 8px 0 0;
  width: fit-content;
  padding: 0;
}

.love-hero__brand-logo {
  display: block;
  width: min(100%, 560px);
  margin: 0 auto;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(30, 6, 10, 0.44));
}

.love-hero__subtitle {
  margin: 2px 0 0;
  font-size: clamp(22px, 2.4vw, 40px);
  letter-spacing: 0.18em;
  font-weight: 500;
  color: #f6ece4;
}

.love-hero__note {
  margin: 0;
  max-width: 560px;
  font-size: clamp(13px, 1.35vw, 18px);
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: rgba(255, 239, 230, 0.88);
}

.love-hero--catalog {
  min-height: 180px !important;
  padding: 30px 30px !important;
  align-content: center;
  justify-content: center;
  gap: 12px;
}

.love-hero--catalog .love-hero__brand {
  height: clamp(60px, 12vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.love-hero--catalog .love-hero__brand-logo {
  width: min(100%, 500px);
}

.love-hero__catalog-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 64px);
  color: #f6ece4;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
}

.love-hero__price-note {
  position: relative;
  margin-top: 8px;
  width: 142px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 16px 14px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  line-height: 1;
  color: #2c1c1a;
  background: linear-gradient(180deg, #fffdf6 0%, #f0e7d9 100%);
  border: 1px solid rgba(183, 162, 142, 0.62);
  border-radius: 54% 46% 44% 56% / 44% 54% 46% 56%;
  box-shadow: 0 10px 20px rgba(32, 7, 12, 0.28);
  transform: rotate(-12deg);
  justify-self: start;
  margin-left: clamp(0px, 6vw, 42px);
}

.love-hero__price-main {
  font-size: 30px;
  line-height: 0.92;
  white-space: nowrap;
}

.love-hero__price-currency {
  font-size: 48px;
  line-height: 0.82;
}

.love-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 50px;
  width: min(310px, 100%);
  border-radius: 16px;
  border: 1px solid #cdb8a1;
  background: linear-gradient(180deg, #f7f1e8 0%, #efe6da 100%);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(26px, 4.6vw, 30px);
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  box-shadow:
    0 6px 12px rgba(28, 16, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
  justify-self: end;
  transform: translateY(10px) rotate(1.8deg);
}

.love-pill-btn::before {
  content: none;
}

.love-pill-btn:hover {
  transform: translateY(8px) rotate(1.8deg);
  border-color: #bca689;
  background: linear-gradient(180deg, #fbf6ee 0%, #f3e9dd 100%);
  box-shadow:
    0 8px 14px rgba(28, 16, 11, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.love-pill-btn:active {
  transform: translateY(10px) rotate(1.8deg);
}

.love-section {
  position: relative;
  padding: 28px 14px;
}

.love-section--cream {
  background: #f5f1e8;
  padding-top: 32px;
}

.love-section--cream h2,
.love-section--bonuses h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  color: #6b1725;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.love-section--cream h2 {
  font-size: clamp(44px, 11vw, 56px);
}

.love-section__kicker {
  margin: 24px 0 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  color: #5a3a3f;
  font-size: 12px;
}

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

.pain-item {
  min-height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(122, 36, 49, 0.55);
  background: rgba(255, 252, 247, 0.82);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5a2f35;
}

.pain-item span:last-child {
  font-size: 16px;
  line-height: 1.3;
}

.pain-item__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7a1c2b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 20.4s-7.2-4.5-7.2-10.1A4.3 4.3 0 0 1 12 7a4.3 4.3 0 0 1 7.2 3.3C19.2 15.9 12 20.4 12 20.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  flex: 0 0 22px;
}

.love-section--program {
  background: #f5f1e8;
  padding-top: 8px;
}

.love-section--program h3 {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 20px;
  color: #5d3a3f;
}

.program-list {
  margin-top: 18px;
  display: grid;
  gap: 13px;
}

.program-card {
  position: relative;
  border-radius: 8px;
  padding: 18px 14px;
  min-height: 112px;
  background: linear-gradient(160deg, #7a1021 0%, #5d0917 100%);
  color: rgba(255, 246, 241, 0.92);
  display: grid;
  place-items: center;
  text-align: center;
}

.program-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.24;
}

.program-card::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #5d0917;
}

.program-card--outline {
  background: transparent;
  border: 1px solid rgba(122, 36, 49, 0.58);
  color: #6e222f;
}

.program-card--outline::after {
  display: none;
}

.love-section--bonuses {
  background: #f5f1e8;
}

.love-section--bonuses h2 {
  font-size: clamp(46px, 11.5vw, 58px);
}

.bonus-list {
  margin-top: 24px;
  display: grid;
  gap: 24px;
}

.bonus-item {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.bonus-item__visual {
  width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 22%, #962138 0%, #671122 66%, #4a0b18 100%);
  display: grid;
  place-items: center;
}

.bonus-book {
  width: 98px;
  aspect-ratio: 3 / 4;
  border-radius: 5px;
  padding: 8px;
  transform: rotate(-17deg);
  background: linear-gradient(160deg, #f2e7dd 0%, #b68467 55%, #703029 100%);
  color: #57151f;
  border: 1px solid rgba(92, 31, 41, 0.36);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  display: grid;
  align-content: space-between;
}

.bonus-book p {
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.bonus-book strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.05;
  text-transform: uppercase;
}

.bonus-item p {
  margin: 0;
  color: #5f353b;
  font-size: 18px;
  line-height: 1.25;
}

.love-section--actions {
  padding-top: 10px;
  background: #f5f1e8;
  display: grid;
  gap: 10px;
}

.love-pill-btn--main {
  background: linear-gradient(165deg, #7f1021 0%, #5d0a17 100%);
  color: #fff6f2;
  box-shadow: none;
}

.love-link-btn {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(122, 36, 49, 0.4);
  color: #702332;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 8px 12px;
}

.home-workshops {
  width: var(--home-block-width);
  margin: 0 auto;
  background: linear-gradient(160deg, #fdfbf8 0%, #f4eee2 100%);
  border: 1px solid rgba(130, 80, 60, 0.22);
  border-radius: 28px;
  padding: 24px;
  box-shadow:
    0 26px 48px rgba(48, 14, 20, 0.14),
    0 12px 18px rgba(48, 14, 20, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 0 rgba(220, 200, 180, 0.3),
    inset 2px 0 0 rgba(255, 255, 255, 0.6),
    inset -2px 0 0 rgba(255, 255, 255, 0.6);
}

.home-workshops .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-workshops__head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.home-workshops__kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
  color: #7d2332;
}

.home-workshops__head h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
  color: #790f22;
  text-align: center;
}

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

.love-workshop-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(112, 33, 46, 0.24);
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ece1 100%);
  box-shadow: 0 10px 20px rgba(42, 10, 18, 0.12);
  display: flex;
  flex-direction: column;
}

.love-workshop-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.love-workshop-card__body {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.love-workshop-card__category {
  margin: 0;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(122, 28, 43, 0.12);
  color: #6b1828;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.love-workshop-card__body h3 {
  margin: 0;
  color: #53101c;
  font-size: 32px;
  line-height: 0.96;
}

.love-workshop-card__desc {
  margin: 0;
  color: #674449;
  font-size: 15px;
  line-height: 1.35;
}

.love-workshop-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.love-workshop-card__price {
  margin: 0;
  color: #621626;
  font-weight: 700;
  font-size: 13px;
}

.love-mini-btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(110, 25, 40, 0.35);
  color: #6b1b2a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  white-space: nowrap;
}

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

  .story-column {
    min-height: 0;
  }

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

  .bundle-panel {
    position: static;
  }

  .workshop-page {
    grid-template-columns: 1fr;
  }

  body.admin-page .admin-layout {
    grid-template-columns: 1fr;
  }

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

  .home-workshops .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.catalog-page .catalog-group .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .love-hero {
    gap: 12px;
    padding: 34px 28px 24px;
    border-radius: 22px;
    min-height: 294px;
    align-items: center;
  }

  .love-hero__brand {
    margin-top: 0;
  }

  .love-hero__subtitle {
    font-size: clamp(24px, 2.2vw, 34px);
  }

  .love-hero__note {
    font-size: clamp(14px, 1.2vw, 17px);
  }

  .love-hero__price-note {
    position: absolute;
    left: clamp(16px, 7vw, 84px);
    bottom: 68px;
    margin-left: 0;
  }

  .love-pill-btn {
    width: fit-content;
    min-width: 280px;
    padding-inline: 34px;
    margin-top: auto;
    justify-self: end;
    transform: translateY(12px) rotate(2deg);
  }

  .home-workshops {
    padding: 20px;
  }

  .home-workshops__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-workshops__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 16px, 1200px);
    margin-top: 16px;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

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

  .top-nav {
    width: auto;
    justify-content: center;
  }

  .top-nav a,
  .link-btn {
    min-height: 40px;
  }

  .hero-title-xl {
    font-size: 56px !important;
  }

  .home-workshops .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.catalog-page .catalog-group .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 420px) {
  .love-hero__brand-logo {
    width: 100%;
  }

  .love-hero {
    padding: 22px 14px 16px;
    gap: 8px;
  }

  .love-hero__subtitle {
    font-size: 21px;
    letter-spacing: 0.14em;
  }

  .love-hero__note {
    font-size: 12px;
    max-width: 300px;
  }

  .love-hero__price-note {
    width: 110px;
    min-height: 90px;
    margin: 4px auto 0;
    justify-self: center;
    transform: rotate(-10deg);
  }

  .love-hero__price-main {
    font-size: 22px;
  }

  .love-hero__price-currency {
    font-size: 34px;
  }

  .love-pill-btn {
    width: 100%;
    min-height: 46px;
    font-size: 26px;
    justify-self: stretch;
    transform: translateY(8px) rotate(1.2deg);
  }

  .love-section {
    padding-inline: 12px;
  }

  .home-workshops {
    padding: 12px;
  }

  .home-workshops .card-grid {
    grid-template-columns: 1fr;
  }

  body.catalog-page .catalog-group .card-grid {
    grid-template-columns: 1fr;
  }

  .pain-item span:last-child,
  .program-card p,
  .bonus-item p,
  .love-workshop-card__desc {
    font-size: 15px;
  }
}

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