:root {
  --bg: #fffaf7;
  --card: #fffdfb;
  --accent: #d9827f;
  --text: #4b2d28;
  --muted: #7d5c57;
  --line: #efd8d2;
  --card-fill: linear-gradient(135deg, #fffdfb 0%, #fff8f5 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; max-width: 100%; }
body { margin: 0; overflow-x: hidden; width: 100%; max-width: 100%; background: var(--bg); color: var(--text); font-family: 'Manrope', sans-serif; }
.container { width: min(1400px, calc(100% - 32px)); margin: 0 auto; }
.showcase-editor {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 40;
  width: min(360px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  background: rgba(255, 252, 249, 0.97);
  backdrop-filter: blur(14px);
}
.editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.editor-head h3 {
  font-size: 30px;
}
.editor-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
}
.editor-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 10px 0 14px;
}
.editor-body {
  display: grid;
  gap: 12px;
}
.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.editor-grid-sliders {
  grid-template-columns: 1fr;
}
.editor-field {
  display: grid;
  gap: 6px;
}
.editor-field span {
  font-size: 13px;
  color: var(--muted);
}
.editor-field input,
.editor-field textarea,
.editor-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 13px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
.editor-field input[type="range"] {
  padding: 0;
}
.editor-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.header { min-height: 120px; display: flex; align-items: center; justify-content: space-between; position: relative; padding-left: 280px; }
.logo-img { width: 240px; height: 240px; object-fit: contain; display: block; }
.header-logo { position: absolute; left: -120px; top: -4px; z-index: 20; pointer-events: none; }
.logo-footer { width: 200px; height: 200px; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: var(--text); font-size: 18px; }
.btn { border-radius: 999px; border: 1px solid var(--accent); padding: 14px 30px; font-weight: 600; font-size: 18px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--text); }
.card { background: var(--card-fill); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 8px 24px rgba(120, 70, 60, 0.08); }
.hero {
  width: 100%;
  max-width: none;
  margin-top: 0;
  min-height: 0;
  aspect-ratio: 2048 / 1280;
  padding: 8px max(16px, calc((100vw - 1400px) / 2)) 24px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  background: url('./assets/decor/hero-main.jpg') center -18px / contain no-repeat;
  background-color: #fefaf7;
}
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; margin: 0; font-weight: 600; }
h1 { font-size: 72px; line-height: .94; letter-spacing: .01em; margin-bottom: 16px; }
h2 { font-size: 48px; margin: 24px 0 14px; }
.hero-text p {
  color: var(--muted);
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 18px;
  font-family: 'Marck Script', cursive;
  font-style: italic;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; margin-bottom: 14px; }
.taste { color: #c67e78; font-size: 19px; display: inline-block; margin-top: 12px; }
.taste-heart { margin-right: 8px; }
.hero-image { display: none; }
.hero-text { max-width: 640px; margin-top: 90px; }
.features {
  margin-top: -430px;
  position: relative;
  z-index: 5;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.features article {
  padding-right: 16px;
  border-right: 1px dashed #e8c9c0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.features article:last-child { border-right: none; }
.feature-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff1ed;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.features img { width: 72px; height: 72px; display: block; object-fit: contain; }
.feature-copy { min-width: 0; }
.features h3 { font-size: 24px; line-height: 1.15; }
.features p { color: var(--muted); font-size: 15px; line-height: 1.3; margin-top: 6px; }
.popular-preview { margin-top: 10px; }
.products { display: grid; gap: 14px; grid-template-columns: repeat(5,1fr); }
.product {
  position: relative;
  overflow: hidden;
  min-height: 226px;
  padding: 8px 8px 10px;
  border-color: #f0c6bd;
  border-radius: 30px;
  background: var(--card-fill);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .92),
    0 8px 20px rgba(118, 72, 62, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .94);
}
.product img {
  width: 100%;
  height: 156px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 20px;
  display: block;
  background: #fffaf7;
}
.product h4 {
  font-size: 20px;
  line-height: 1.05;
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
}
.product span {
  display: block;
  color: #d9827f;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  margin-top: 6px;
}
.popular-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
}
.popular-heading h2 { margin: 0; font-size: 27px; }
.popular-heading a { color: var(--accent); text-decoration: none; font-weight: 500; font-size: 14px; }
.showcase-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.showcase-card {
  display: block;
  overflow: hidden;
  padding: 8px 8px 12px;
  border-radius: 22px;
  border-color: #f0c6bd;
  background: var(--card-fill);
  color: var(--text);
  text-decoration: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .9),
    0 8px 20px rgba(118, 72, 62, .08);
}
.showcase-card.is-active {
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px rgba(217, 130, 127, 0.12),
    0 10px 24px rgba(118, 72, 62, .14);
}
.showcase-image-frame,
.catalog-image-frame,
.cake-detail-image-frame {
  position: relative;
  overflow: hidden;
  background: #fff3ef;
}
.showcase-image-frame {
  border-radius: 16px;
}
.showcase-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  border-radius: 16px;
  display: block;
  background: #fff3ef;
  transform: scale(var(--crop-zoom, 1)) scaleX(var(--crop-scale-x, 1)) scaleY(var(--crop-scale-y, 1));
  transform-origin: center;
}
.showcase-card h4 {
  font-size: 18px;
  line-height: 1.08;
  margin-top: 8px;
  min-height: 40px;
  font-weight: 500;
  text-align: center;
}
.cake-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin: 6px 8px 0;
}
.cake-row-placeholder {
  visibility: hidden;
}
.cake-row strong {
  color: #9c4e47;
  font-size: 18px;
  font-weight: 600;
}
.catalog-header { margin-bottom: 12px; }
.catalog-page { padding-bottom: 44px; }
.catalog-title {
  text-align: center;
  margin: 18px auto 22px;
  max-width: 860px;
}
.catalog-title h1 {
  font-size: 64px;
  margin-bottom: 10px;
}
.catalog-title p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
.catalog-section { margin-top: 18px; scroll-margin-top: 20px; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.catalog-card {
  display: block;
  overflow: hidden;
  border-color: #f0c6bd;
  background: var(--card-fill);
  color: var(--text);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.catalog-card:hover,
.showcase-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .9),
    0 12px 24px rgba(118, 72, 62, .12);
}
.catalog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  display: block;
  background: #fff3ef;
  transform: scale(var(--crop-zoom, 1)) scaleX(var(--crop-scale-x, 1)) scaleY(var(--crop-scale-y, 1));
  transform-origin: center;
}
.catalog-copy { padding: 14px 16px 18px; }
.catalog-copy h4 {
  font-size: 28px;
  line-height: 1.05;
  text-align: center;
}
.cake-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9c4e47;
  font-size: 14px;
  margin: 6px 0;
  font-weight: 600;
  min-height: 22px;
}
.cake-meta strong {
  font-size: 18px;
  font-weight: 600;
}
.cake-meta-placeholder {
  visibility: hidden;
}
.catalog-copy p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  margin: 8px 0 0;
}
.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.catalog-pagination a,
.catalog-pagination span {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: var(--card-fill);
}
.catalog-pagination .page-current {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.admin-page {
  padding-bottom: 56px;
}
.admin-hero {
  max-width: 980px;
  margin: 18px auto 22px;
  padding-left: 140px;
  text-align: center;
}
.admin-hero h1 {
  font-size: 62px;
  margin-bottom: 10px;
}
.admin-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.admin-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.admin-quick-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  background: rgba(255, 253, 251, .76);
  text-decoration: none;
}
.admin-quick-nav a:hover {
  color: var(--text);
  border-color: var(--accent);
}
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr);
  gap: 18px;
  align-items: start;
}
.admin-layout > .admin-panel {
  grid-column: 2;
}
.admin-layout > .site-settings-panel {
  grid-column: 1 / -1;
}
.admin-layout > .reviews-admin-panel {
  grid-column: 1 / -1;
}
.admin-preview-board,
.admin-panel {
  padding: 18px;
}
.admin-preview-board h2,
.admin-panel h2 {
  font-size: 34px;
  margin-bottom: 14px;
}
.admin-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.admin-showcase-grid .showcase-card {
  position: relative;
  cursor: pointer;
}
.admin-showcase-grid .showcase-card[draggable="true"] {
  cursor: grab;
}
.admin-showcase-grid .showcase-card.is-dragging {
  opacity: .55;
  cursor: grabbing;
}
.admin-showcase-grid .showcase-card.is-drop-target {
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px rgba(217, 130, 127, 0.18),
    0 12px 28px rgba(118, 72, 62, .16);
}
.admin-showcase-grid .showcase-card p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  margin: 8px 8px 0;
}
.admin-panel { position: static; }
.site-settings-panel {
  position: static;
}
.reviews-admin-panel {
  position: static;
}
.admin-card-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 8px 8px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  background: rgba(255, 250, 247, .92);
  font-size: 12px;
  font-weight: 600;
}
.admin-card-drag {
  display: inline-flex;
  width: fit-content;
  margin: 8px 4px 0 8px;
  border-radius: 999px;
  padding: 4px 10px;
  color: rgba(125, 92, 87, .82);
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 600;
}
.admin-card-badge.is-visible {
  color: #9a5f59;
  border-color: rgba(217, 130, 127, .44);
  background: rgba(217, 130, 127, .12);
}
.admin-muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: -4px 0 14px;
}
.upload-status,
.settings-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: -4px 0 2px;
}
.editor-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(255, 250, 247, .72);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.editor-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 1px;
}
.site-settings-panel .admin-fieldset {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.site-settings-panel .admin-actions {
  grid-column: 1 / -1;
}
.review-editor {
  padding: 14px;
  border-radius: 22px;
}
.review-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.review-editor-head h3 {
  font-size: 24px;
}
.review-remove {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf7;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
}
.review-remove:hover {
  background: #fff1ed;
}
.cropper-shell {
  margin-bottom: 16px;
}
.cropper-shell h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.cropper-surface {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff6f1, #fde8df);
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.cropper-surface.is-dragging {
  cursor: grabbing;
}
.cropper-surface[data-drag-mode="left"],
.cropper-surface[data-drag-mode="right"] {
  cursor: ew-resize;
}
.cropper-surface[data-drag-mode="top"],
.cropper-surface[data-drag-mode="bottom"] {
  cursor: ns-resize;
}
.cropper-surface[data-drag-mode="corner"] {
  cursor: nwse-resize;
}
.cropper-surface img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  transform: scale(var(--crop-zoom, 1)) scaleX(var(--crop-scale-x, 1)) scaleY(var(--crop-scale-y, 1));
  transform-origin: center;
  pointer-events: none;
}
.cropper-window {
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 0 0 999px rgba(64, 32, 26, 0.22);
  pointer-events: none;
}
.cropper-handle {
  position: absolute;
  z-index: 3;
  border: 2px solid rgba(255, 255, 255, .96);
  background: rgba(217, 130, 127, .92);
  box-shadow: 0 4px 12px rgba(75, 45, 40, .18);
}
.cropper-handle-left,
.cropper-handle-right {
  top: 50%;
  width: 16px;
  height: 54px;
  margin-top: -27px;
  border-radius: 999px;
  cursor: ew-resize;
}
.cropper-handle-left { left: 12px; }
.cropper-handle-right { right: 12px; }
.cropper-handle-top,
.cropper-handle-bottom {
  left: 50%;
  width: 54px;
  height: 16px;
  margin-left: -27px;
  border-radius: 999px;
  cursor: ns-resize;
}
.cropper-handle-top { top: 12px; }
.cropper-handle-bottom { bottom: 12px; }
.cropper-handle-corner {
  right: 12px;
  bottom: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: nwse-resize;
}
.cropper-handle:hover {
  background: var(--accent);
}
.cropper-tip {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 8px 0 0;
}
.crop-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.crop-mode-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  background: rgba(255, 253, 251, .78);
  cursor: pointer;
}
.crop-mode-tab.is-active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}
.admin-site-preview {
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.admin-site-preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.admin-site-preview h4 {
  font-size: 22px;
  margin-bottom: 0;
}
.admin-site-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}
.admin-site-preview-grid > div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 6px 4px;
}
.admin-preview-showcase-card,
.admin-preview-catalog-card {
  pointer-events: none;
  transform: none !important;
  max-width: none;
}
.admin-preview-showcase-card {
  width: 268px;
  padding: 8px;
}
.admin-preview-showcase-card h4 {
  min-height: 0;
  margin-bottom: 0;
}
.admin-preview-catalog-card {
  width: 338px;
}
.admin-preview-catalog-card .catalog-image-frame {
  border-radius: 18px 18px 0 0;
}
.admin-preview-catalog-card .catalog-copy {
  padding: 14px 16px 18px;
}
.admin-preview-catalog-card .catalog-copy h4 {
  font-size: 28px;
}
.admin-fieldset {
  display: grid;
  gap: 12px;
}
.admin-fieldset .editor-field textarea {
  min-height: 112px;
  resize: vertical;
}
.admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.admin-actions .btn:last-child {
  grid-column: 1 / -1;
}
.site-settings-panel .admin-actions .btn:first-child {
  grid-column: 1 / -1;
}
.cake-page {
  padding-top: 32px;
  padding-bottom: 50px;
}
.back-link {
  display: inline-block;
  margin: 24px 0 18px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.cake-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 28px;
  padding: 18px;
  align-items: center;
}
.cake-detail img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  border-radius: 24px;
  background: #fff3ef;
  transform: scale(var(--crop-zoom, 1)) scaleX(var(--crop-scale-x, 1)) scaleY(var(--crop-scale-y, 1));
  transform-origin: center;
}
.cake-detail-copy {
  padding: 12px 12px 12px 0;
}
.cake-detail-copy h1 {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 12px;
}
.cake-detail-copy p:not(.cake-meta) {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 22px;
}
.center { text-align: center; }
.fillings { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.filling {
  padding: 14px 16px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}
.filling img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}
.filling h4 {
  font-size: 18px;
  line-height: 1.05;
  margin: 0 0 8px;
}
.filling p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}
.split { display: grid; grid-template-columns: 1fr 1.45fr; gap: 14px; margin-top: 14px; }
.why-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 26px 32px 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card-fill);
  box-shadow: 0 8px 24px rgba(120, 70, 60, 0.08);
}
.why-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}
.why-card h2 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1;
}
.why-list {
  display: grid;
  gap: 14px;
  width: min(68%, 340px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.why-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}
.why-icon img {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
}
.why-list h3 {
  margin: 0 0 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
}
.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.why-flower {
  position: absolute;
  right: -2px;
  bottom: 12px;
  z-index: 1;
  width: min(35%, 208px);
  height: auto;
  display: block;
}
.pad { padding: 24px; }
.pad ul { margin: 10px 0 0 20px; color: var(--muted); font-size: 20px; line-height: 1.7; }
.pad p { color: var(--muted); font-size: 20px; }
.order-card {
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card-fill);
  box-shadow: 0 8px 24px rgba(120, 70, 60, 0.08);
}
.order-card h2 {
  margin: 0 0 26px;
  font-size: 40px;
  line-height: 1;
}
.order-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.order-steps li:not(.order-arrow) {
  display: grid;
  justify-items: center;
  text-align: center;
}
.order-steps img {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: contain;
  margin-bottom: 10px;
}
.order-steps h3 {
  margin: 0 0 7px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.18;
  font-weight: 700;
}
.order-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.order-arrow {
  position: relative;
  height: 74px;
}
.order-arrow::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 2px;
  width: 28px;
  height: 15px;
  border-top: 2px solid rgba(217, 130, 127, .72);
  border-radius: 100% 100% 0 0;
  transform: rotate(8deg);
}
.order-arrow::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(217, 130, 127, .72);
  border-right: 2px solid rgba(217, 130, 127, .72);
  transform: rotate(52deg);
}
.reviews-section {
  position: relative;
  overflow: visible;
  margin-top: 18px;
  padding: 4px 0 44px;
}
.reviews-inner {
  position: relative;
  padding: 0 120px;
}
.reviews-inner h2 {
  margin-top: 0;
}
.reviews-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  height: auto;
  display: block;
}
.reviews-decor-left {
  left: -70px;
  top: 28px;
  width: 270px;
}
.reviews-decor-right {
  right: -132px;
  top: 38px;
  width: 322px;
}
.reviews {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.review {
  position: relative;
  min-height: 150px;
  padding: 38px 48px 22px 62px;
}
.review::before {
  content: '“';
  position: absolute;
  left: 26px;
  top: 18px;
  color: rgba(217, 130, 127, .62);
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: .7;
  font-weight: 700;
}
.review::after {
  content: '♡';
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: #d9827f;
  font-size: 34px;
  line-height: 1;
}
.review p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 16px;
}
.review strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}
.footer {
  position: relative;
  background: transparent;
  margin-top: -10px;
  padding: 88px 0 34px;
  overflow: hidden;
}
.footer-top-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 380' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath fill='%23fdece8' d='M0 58C170 34 270 76 420 58C560 42 660 28 820 54C980 80 1100 74 1240 48C1320 34 1380 38 1440 48V380H0Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}
.footer-top-wave::before {
  content: none;
}
.footer-flower-right {
  position: absolute;
  right: 50px;
  bottom: -34px;
  width: 340px;
  height: auto;
  display: block;
  opacity: .9;
  z-index: 1;
}
.footer .logo-footer {
  width: 260px;
  height: 260px;
  margin-left: -120px;
  margin-top: -48px;
}
.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 210px minmax(190px, 1fr) minmax(230px, 1fr) minmax(210px, 1fr) 300px;
  gap: 28px;
  align-items: center;
  row-gap: 12px;
}
.footer-column {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.footer h4 {
  font-size: 31px;
  line-height: 1;
  margin: 0 0 16px;
}
.footer p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 10px;
}
.footer p:last-child { margin-bottom: 0; }
.footer-message-link {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-message-link:hover {
  color: var(--text);
}
.footer-vk-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
  text-decoration: none;
}
.footer-vk-link:hover {
  color: var(--text);
}
.footer-vk-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(217, 130, 127, .18);
  color: #b96b67;
}
.footer-vk-icon svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: currentColor;
}
.footer-legal {
  grid-column: 2 / 5;
  color: rgba(125, 92, 87, 0.86);
  font-size: 13px;
  line-height: 1.55;
  margin-top: -12px;
}
.footer-legal p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 4px;
}
.footer-legal a {
  color: #9a5f59;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 95, 89, 0.28);
}
.footer-legal a:hover,
.legal-page a:hover {
  color: var(--text);
  border-bottom-color: currentColor;
}
.legal-header {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-page {
  padding: 20px 0 70px;
}
.legal-card {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 54px;
  background: var(--card-fill);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 14px 36px rgba(120, 70, 60, 0.08);
}
.legal-card h1 {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 24px;
}
.legal-card h2 {
  font-size: 32px;
  margin: 28px 0 10px;
}
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.legal-card ul {
  margin: 8px 0 18px;
  padding-left: 22px;
}
.legal-card a {
  color: #9a5f59;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 95, 89, 0.28);
}
@media (max-width: 1200px) {
  .showcase-editor {
    position: static;
    width: min(1400px, calc(100% - 32px));
    margin: 14px auto 0;
    max-height: none;
  }
  .nav { display: none; }
  h1 { font-size: 56px; }
  h2 { font-size: 38px; }
  .features h3,.product h4,.filling h4,.footer h4 { font-size: 24px; }
  .hero-text p,.features p,.filling p,.review p,.footer p,.pad p,.pad ul { font-size: 16px; }
  .logo-img { width: 140px; height: 140px; }
  .header { padding-left: 170px; }
  .hero-text p { font-size: 32px; }
}
@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, 1400px);
  }
  .header,
  .catalog-header {
    min-height: 88px;
    gap: 14px;
    align-items: center;
  }
  .header .btn {
    width: auto;
    padding: 10px 18px;
    font-size: 15px;
  }
  .admin-hero {
    max-width: none;
    padding-left: 0;
    text-align: left;
  }
  .admin-hero h1 {
    font-size: 42px;
    line-height: .98;
  }
  .admin-quick-nav {
    justify-content: flex-start;
  }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-layout > .admin-panel,
  .admin-layout > .site-settings-panel,
  .admin-layout > .reviews-admin-panel {
    grid-column: auto;
  }
  .admin-panel { position: static; min-width: 0; }
  .admin-showcase-grid { grid-template-columns: 1fr; }
  .site-settings-panel .admin-fieldset { grid-template-columns: 1fr; }
  .admin-site-preview {
    margin-right: -18px;
    padding-right: 18px;
  }
  .admin-site-preview-head {
    align-items: flex-start;
  }
  .crop-mode-tabs {
    width: 100%;
  }
  .cropper-surface {
    height: 210px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 530px;
    padding-bottom: 72px;
    background-position: center top;
    background-size: cover;
  }
  .hero-text {
    max-width: 100%;
    margin-top: 34px;
    padding-right: 12px;
  }
  .hero-text p {
    font-size: 28px;
    line-height: 1.18;
    margin-bottom: 16px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .features {
    margin-top: -42px;
    grid-template-columns: 1fr;
    padding: 18px 20px;
    gap: 14px;
  }
  .features article {
    padding-right: 0;
    padding-bottom: 14px;
    border-right: none;
    border-bottom: 1px dashed #e8c9c0;
  }
  .features article:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .feature-icon {
    width: 72px;
    height: 72px;
  }
  .features img {
    width: 58px;
    height: 58px;
  }
  .features h3 {
    font-size: 21px;
  }
  .products,.showcase-products,.fillings,.catalog-grid { grid-template-columns: repeat(2,1fr); }
  .products,
  .showcase-products,
  .fillings,
  .catalog-grid {
    gap: 12px;
  }
  .product {
    min-height: 0;
    border-radius: 24px;
  }
  .product h4,
  .showcase-card h4 {
    min-height: 0;
  }
  .cake-detail { grid-template-columns: 1fr; }
  .cake-detail-copy { padding: 0; }
  .split,.reviews { grid-template-columns: 1fr; }
  .why-card {
    padding: 26px 24px 126px;
  }
  .order-card {
    padding: 24px 22px 20px;
  }
  .order-card h2 {
    margin-bottom: 22px;
    font-size: 34px;
  }
  .reviews-inner {
    padding: 0;
  }
  .reviews-decor {
    opacity: .5;
  }
  .reviews-decor-left {
    left: -84px;
    top: 30px;
    width: 184px;
  }
  .reviews-decor-right {
    right: -132px;
    top: 40px;
    width: 220px;
  }
  .review {
    min-height: 0;
    padding: 32px 30px 22px 42px;
    border-radius: 24px;
  }
  .footer {
    margin-top: -6px;
    padding-top: 78px;
  }
  .footer-top-wave {
    top: 0;
    height: auto;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    padding-right: 116px;
  }
  .footer-column {
    min-height: 0;
  }
  .footer .logo-footer {
    width: 180px;
    height: 180px;
    margin-left: -48px;
    margin-top: -28px;
  }
    .footer-flower-right {
      width: 232px;
      right: -54px;
      bottom: -18px;
      opacity: .5;
    }
    .footer-decor-spacer { display: none; }
    .footer-legal {
      grid-column: auto;
      margin-top: 4px;
      padding-right: 34px;
    }
    .legal-header {
      min-height: 96px;
    }
    .legal-card {
      padding: 34px 24px;
    }
    .legal-card h1 {
      font-size: 38px;
    }
    .legal-card h2 {
      font-size: 27px;
    }
    .hero { aspect-ratio: auto; min-height: 460px; background-size: cover; }
  .header { padding-left: 0; }
  .header-logo { position: static; pointer-events: auto; }
  .product { min-height: 0; }
  .order-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .order-arrow {
    height: 24px;
  }
  .order-arrow::before {
    top: 3px;
    left: 50%;
    transform: translateX(-50%) rotate(98deg);
  }
  .order-arrow::after {
    top: 12px;
    right: auto;
    left: calc(50% - 4px);
    transform: rotate(142deg);
  }
}
@media (max-width: 520px) {
  body {
    overflow-x: hidden;
  }
  .container {
    width: min(100% - 16px, 1400px);
  }
  .header,
  .catalog-header,
  .legal-header {
    align-items: center;
    min-height: auto;
    gap: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .header-logo,
  .legal-header .logo-img {
    width: 104px;
    height: 104px;
  }
  .header .btn,
  .legal-header .btn {
    width: auto;
    max-width: 156px;
    padding: 9px 14px;
    font-size: 14px;
  }
  .admin-page {
    padding-bottom: 34px;
  }
  .admin-hero h1 {
    font-size: 34px;
  }
  .admin-preview-board,
  .admin-panel {
    padding: 14px;
    border-radius: 18px;
  }
  .admin-preview-board h2,
  .admin-panel h2 {
    font-size: 28px;
  }
  .cropper-surface {
    height: 190px;
    border-radius: 18px;
  }
  .cropper-window {
    inset: 12px;
    border-radius: 14px;
  }
  .crop-mode-tab {
    padding: 8px 11px;
    font-size: 13px;
  }
  .site-settings-panel .admin-fieldset {
    gap: 10px;
  }
  .admin-actions { grid-template-columns: 1fr; }
  .editor-grid,
  .editor-actions { grid-template-columns: 1fr; }
  .products,.showcase-products,.fillings,.catalog-grid { grid-template-columns: 1fr; }
  .hero {
    min-height: 430px;
    padding: 0 0 48px;
    background-position: center top;
    background-size: cover;
  }
  .hero-text {
    margin-top: 22px;
    padding-right: 0;
  }
  .why-card {
    min-height: 0;
    padding: 22px 18px 108px;
  }
  .why-copy { width: 100%; }
  .why-list { width: 100%; }
  .why-card h2 { font-size: 30px; }
  .why-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }
  .why-icon {
    width: 46px;
    height: 46px;
  }
  .why-icon img {
    width: 46px;
    height: 46px;
  }
  .why-list h3 { font-size: 16px; }
  .why-list p { font-size: 14px; }
  .why-flower {
    right: -2px;
    bottom: 14px;
    width: 112px;
  }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .btn {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    min-height: 44px;
  }
  .hero-actions { flex-direction: column; }
  .hero-text p {
    font-size: 22px;
    line-height: 1.18;
    margin-bottom: 12px;
  }
  .taste {
    font-size: 16px;
    margin-top: 8px;
  }
  .features {
    margin-top: -8px;
    padding: 16px;
    gap: 12px;
  }
  .feature-icon {
    width: 58px;
    height: 58px;
  }
  .features img {
    width: 44px;
    height: 44px;
  }
  .features h3 {
    font-size: 18px;
  }
  .features p {
    font-size: 14px;
  }
  .product {
    padding: 8px 8px 12px;
    border-radius: 22px;
  }
  .product img { height: 180px; }
  .showcase-card,
  .catalog-card {
    border-radius: 20px;
  }
  .showcase-card img {
    height: 176px;
  }
  .showcase-card h4,
  .catalog-copy h4 {
    font-size: 24px;
    line-height: 1.05;
  }
  .catalog-copy {
    padding: 16px 16px 18px;
  }
  .catalog-copy p {
    font-size: 15px;
    line-height: 1.55;
  }
  .popular-heading { flex-direction: column; align-items: flex-start; }
  .popular-heading h2 {
    font-size: 24px;
  }
  .order-card {
    padding: 22px 18px 18px;
    border-radius: 24px;
  }
  .order-card h2 {
    font-size: 30px;
    margin-bottom: 18px;
  }
  .order-steps {
    gap: 10px;
  }
  .order-steps img {
    width: 58px;
    height: 58px;
  }
  .order-steps h3 {
    font-size: 16px;
  }
  .order-steps p {
    font-size: 14px;
    line-height: 1.4;
  }
  .reviews-section {
    padding-bottom: 26px;
  }
  .reviews-inner {
    padding: 0 4px;
  }
  .reviews-inner h2 {
    text-align: center;
  }
  .reviews-decor-left {
    left: -42px;
    top: 44px;
    width: 118px;
    opacity: .28;
  }
  .reviews-decor-right {
    right: -48px;
    top: auto;
    bottom: -10px;
    width: 132px;
    opacity: .28;
  }
  .review {
    padding: 28px 22px 20px 28px;
    min-height: 0;
  }
  .review::before {
    left: 12px;
    top: 12px;
    font-size: 44px;
  }
  .review::after {
    right: 14px;
    bottom: 12px;
    font-size: 26px;
  }
  .review strong {
    font-size: 16px;
  }
  .cake-page { padding-top: 20px; }
  .back-link { margin-top: 12px; }
  .footer {
    padding-top: 20px;
    padding-bottom: 34px;
  }
  .footer-top-wave {
    top: -54px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 390 220' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath fill='%23fdece8' d='M0 86C58 82 116 82 174 86C232 90 292 92 350 86C364 84 378 83 390 84V220H0Z'/%3E%3C/svg%3E") center -24px / 100% 100% no-repeat;
  }
  .footer-inner {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 10px;
    padding-top: 230px;
    padding-bottom: 214px;
    gap: 14px;
    overflow: hidden;
  }
  .footer-flower-right {
    width: 236px;
    right: 38px;
    bottom: 56px;
    opacity: .88;
  }
  .footer .logo-footer {
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: 196px;
    height: 196px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .footer-column {
    max-width: 230px;
  }
  .footer p,
  .footer h4,
  .footer-message-link,
  .footer-vk-link,
  .footer-legal,
  .footer-legal p,
  .footer-legal a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .footer-legal {
    padding-right: 0;
    margin-top: 8px;
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: clip;
  }
  .footer {
    padding-top: 20px;
    padding-bottom: 34px;
  }
  .footer-top-wave {
    top: -54px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 640 240' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath fill='%23fdece8' d='M0 88C96 82 190 82 286 86C382 90 478 92 574 86C596 84 618 83 640 84V240H0Z'/%3E%3C/svg%3E") center -24px / 100% 100% no-repeat;
  }
  .footer-inner {
    position: relative;
    grid-template-columns: 1fr;
    align-items: start;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 10px;
    padding-top: 230px;
    padding-bottom: 214px;
    gap: 14px;
    min-width: 0;
    overflow: hidden;
  }
  .footer-column,
  .footer-legal {
    min-width: 0;
    max-width: 280px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .footer-flower-right {
    width: 236px;
    right: 38px;
    bottom: 56px;
    opacity: .88;
  }
  .footer .logo-footer {
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: 196px;
    height: 196px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .footer-vk-link {
    display: flex;
    max-width: none;
    min-width: 0;
    gap: 8px;
    font-size: 15px;
    flex-wrap: nowrap;
    align-items: center;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
  }
  .footer-vk-link span:last-child {
    min-width: 0;
    white-space: nowrap;
  }
}
