@font-face {
  font-family: CakelaDisplay;
  src: url("/files/VL-Brown-Sugar.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #fffaf5;
  --paper: #fff;
  --soft: #f8efe5;
  --warm: #f5d5c8;
  --brown: #6f2d1d;
  --red: #a62922;
  --green: #4f7b4f;
  --ink: #2b211c;
  --muted: #77685f;
  --line: rgba(111, 45, 29, .16);
  --shadow: 0 18px 45px rgba(89, 50, 31, .12);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Nunito, Arial, sans-serif;
  line-height: 1.55;
}
main > section { scroll-margin-top: 74px; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(18px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 245, .96);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brown);
  text-decoration: none;
  font-weight: 900;
}
.brand img { width: 58px; }
.brand span {
  font-family: CakelaDisplay, Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a,
.admin-sidebar a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--brown);
  text-decoration: none;
  font-weight: 900;
}
.site-nav a:hover,
.site-nav .admin-link,
.admin-sidebar a.active,
.admin-sidebar a:hover { background: var(--soft); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--brown);
  font-size: 1.25rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 80px max(18px, calc((100vw - var(--container)) / 2));
  color: white;
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 208, 154, .22), transparent 30%),
    linear-gradient(90deg, rgba(35, 18, 12, .84), rgba(35, 18, 12, .42) 52%, rgba(35, 18, 12, .18)),
    url("/files/top.jpg") center right / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: max(18px, calc((100vw - var(--container)) / 2));
  right: max(18px, calc((100vw - var(--container)) / 2));
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.56), rgba(255,255,255,0));
  pointer-events: none;
}
.cakela-hero {
  min-height: calc(100vh - 74px);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 18px 0;
}
.eyebrow {
  margin: 0 0 10px;
  color: #a75b40;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffe2b8; }
h1, h2 {
  margin: 0;
  color: var(--brown);
  font-family: CakelaDisplay, Georgia, serif;
  line-height: .95;
  letter-spacing: 0;
}
.hero h1 {
  color: white;
  font-size: clamp(4rem, 8.8vw, 8.4rem);
  text-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255,255,255,.9);
  font-size: 1.15rem;
}
.hero p:not(.eyebrow) {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.65;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--brown);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.button.primary {
  background: linear-gradient(180deg, #c6322b, var(--red));
  color: white;
  box-shadow: 0 14px 30px rgba(166, 41, 34, .28);
}
.button.light { background: rgba(255,255,255,.92); }
.button.outline { border: 1px solid var(--line); background: var(--paper); }

.trust-band,
.section,
.site-footer,
.page-hero {
  padding-left: max(18px, calc((100vw - var(--container)) / 2));
  padding-right: max(18px, calc((100vw - var(--container)) / 2));
}
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.trust-band div,
.stats-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.trust-band strong,
.stats-grid strong {
  display: block;
  color: var(--brown);
  font-size: 1.8rem;
}
.trust-band span,
.stats-grid span { color: var(--muted); }

.section { padding-top: 72px; padding-bottom: 72px; }
.screen-section {
  min-height: calc(100svh - 74px);
  display: grid;
  align-content: center;
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(54px, 7vw, 92px);
}
.screen-section .section-head { margin-bottom: 28px; }
.category-nav {
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(54px, 7vw, 86px);
  background:
    linear-gradient(180deg, #fff, #fff7ef);
}
.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.pill-grid a {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fff8f0);
  color: var(--brown);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(89, 50, 31, .08);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.pill-grid a:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 18px 44px rgba(89, 50, 31, .14);
}
.pill-grid strong { line-height: 1.25; }
.pill-grid span {
  color: var(--muted);
  font-size: .9rem;
}
.cakes { background: var(--soft); }
.menu-like {
  border-top: 10px solid #fbddb9;
  border-bottom: 10px solid #fbddb9;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2,
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.section-head p { max-width: 620px; color: var(--muted); }
.cake-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}
.old-style-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: stretch;
}
.old-style-layout .sample-gallery {
  grid-row: span 2;
}
.sample-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sample-gallery a {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: var(--radius);
  background: #f5efe8;
  box-shadow: var(--shadow);
  transition: transform .24s ease, box-shadow .24s ease;
}
.sample-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}
.sample-gallery a:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(89, 50, 31, .16);
}
.sample-gallery a:hover img { transform: scale(1.035); }
.gallery-preview,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery-preview a,
.gallery-grid a {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f5efe8;
  box-shadow: 0 12px 28px rgba(89, 50, 31, .1);
}
.gallery-preview img,
.gallery-grid img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}
.gallery-preview a:hover img,
.gallery-grid a:hover img,
.product-card:hover img { transform: scale(1.035); }
.info-panel,
.product-card,
.admin-card,
.admin-table,
.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.info-panel { padding: 24px; }
.menu-panel {
  min-height: 0;
  overflow: visible;
  box-shadow: none;
}
.info-panel h3,
.category-block h3 { margin: 0 0 14px; color: var(--brown); }
.info-panel li { margin-bottom: 8px; color: var(--brown); }
.price-table { width: 100%; margin-top: 20px; border-collapse: collapse; }
.price-table td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-table td:last-child { color: var(--red); text-align: right; font-weight: 900; white-space: nowrap; }
.price-table small { display: block; color: var(--muted); }
.price-table .price-group td {
  padding-top: 18px;
  padding-bottom: 8px;
  border-bottom: 0;
  color: var(--ink);
  text-align: left;
  font-size: 1.2rem;
  font-weight: 900;
}
.price-table.compact { margin-bottom: 18px; }
.cake-note {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.cake-note h4 {
  margin: 0 0 4px;
  color: var(--brown);
}
.cake-note p { margin: 0 0 12px; color: var(--muted); }
.small-note { color: var(--muted); font-size: .92rem; }

.feature-section {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--paper);
  isolation: isolate;
}
.feature-section::before {
  content: "";
  position: absolute;
  inset: 24px max(18px, calc((100vw - var(--container)) / 2));
  z-index: -1;
  border: 1px solid rgba(111, 45, 29, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .42);
}
.feature-section:nth-of-type(even) { background: #fff7ef; }
.feature-section.reverse {
  grid-template-columns: 1.08fr .92fr;
}
.feature-section.reverse .feature-copy { order: 2; }
.feature-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}
.screen-section .feature-copy {
  max-height: none;
  overflow: visible;
  padding-right: 6px;
}
.feature-copy h3 {
  margin: 18px 0 8px;
  color: var(--brown);
}
.feature-copy p {
  max-width: 620px;
  color: var(--muted);
}
.feature-copy .button { width: fit-content; }
.media-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: none;
  overflow: visible;
}
.media-collage.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-collage.dense { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-collage a {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: var(--radius);
  background: #f5efe8;
  box-shadow: 0 12px 28px rgba(89, 50, 31, .1);
  transition: transform .24s ease, box-shadow .24s ease;
}
.media-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}
.media-collage a:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(89, 50, 31, .16);
}
.media-collage a:hover img { transform: scale(1.035); }

.category-block { margin-top: 42px; }
.product-screen {
  min-height: calc(100svh - 74px);
  display: grid;
  align-content: center;
  padding-top: 34px;
  padding-bottom: 34px;
  scroll-margin-top: 74px;
}
.category-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 4px solid #fbddb9;
}
.category-title span {
  color: var(--muted);
  font-weight: 900;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-height: calc(100svh - 210px);
  overflow: auto;
  padding: 2px 4px 12px 2px;
}
.product-card { overflow: hidden; }
.product-card:hover { transform: translateY(-2px); }
.product-card a { display: block; color: inherit; text-decoration: none; }
.product-image { display: block; aspect-ratio: 1 / 1; background: #f5efe8; }
.product-body { display: grid; gap: 8px; padding: 14px; }
.product-body strong {
  min-height: 2.6em;
  color: var(--brown);
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-body span { color: var(--red); font-weight: 900; }
.product-body small {
  color: var(--muted);
  line-height: 1.35;
}
.product-body em {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(79,123,79,.12);
  color: var(--green);
  font-size: .78rem;
  font-style: normal;
  font-weight: 900;
}
.clean-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--muted);
}
.clean-list li { margin-bottom: 7px; }

.page-hero {
  padding-top: 78px;
  padding-bottom: 58px;
  color: white;
  background:
    linear-gradient(90deg, rgba(35, 18, 12, .78), rgba(35, 18, 12, .25)),
    url("/files/cakela-hp-1.jpg") center / cover no-repeat;
}
.page-hero h1 { color: white; }
.gallery-section { padding-top: 34px; }
.filter-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
select, input, textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font: inherit;
}
textarea { min-height: 92px; resize: vertical; }
label { display: grid; gap: 6px; color: var(--brown); font-weight: 900; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.pagination a {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--brown);
  text-decoration: none;
  font-weight: 900;
}
.pagination a.active { background: var(--brown); color: white; }

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 10px;
}
.floating-actions a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.floating-actions img { width: 30px; height: 30px; object-fit: contain; }
.site-footer {
  display: grid;
  grid-template-columns: 1fr .8fr 1.2fr;
  gap: 28px;
  padding-top: 44px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.site-footer.compact { display: flex; justify-content: space-between; }
.site-footer a { display: block; margin-bottom: 8px; color: var(--brown); font-weight: 900; }
.site-footer iframe { width: 100%; height: 230px; border: 0; border-radius: var(--radius); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(24, 15, 10, .86);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: 88svh; border-radius: var(--radius); object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--brown);
  font-size: 1.5rem;
}

.admin-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--soft);
}
.auth-card {
  width: min(100%, 460px);
  padding: 28px;
}
.auth-card h1 { font-size: 2.5rem; }
.auth-card form,
.admin-card form { display: grid; gap: 12px; }
.notice {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 900;
}
.notice.success { background: rgba(79,123,79,.14); color: var(--green); }
.notice.error { background: rgba(166,41,34,.12); color: var(--red); }

.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100svh; }
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #fff;
}
.admin-sidebar nav { display: grid; gap: 8px; margin-top: 26px; }
.admin-main { min-width: 0; padding: 28px; }
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}
.admin-top h1 { font-size: 3rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.admin-card { padding: 20px; margin-bottom: 20px; }
.admin-card h2,
.admin-table h2 { margin-top: 0; color: var(--brown); }
.admin-card form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-card textarea,
.admin-card fieldset,
.admin-card button { grid-column: 1 / -1; }
fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.check { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.check input { width: auto; min-height: auto; }
.admin-table { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--brown); }
.thumb { width: 58px; height: 58px; border-radius: var(--radius); object-fit: cover; }
.danger {
  min-height: 36px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: white;
  font-weight: 900;
  cursor: pointer;
}
.row-actions {
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.row-actions .button,
.row-actions .danger {
  width: auto;
  min-height: 36px;
  padding: 8px 10px;
  font-size: .9rem;
}
.admin-gallery-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.admin-gallery-list article {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.admin-gallery-list img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }

@media (max-width: 1000px) {
  .product-grid, .gallery-grid, .gallery-preview, .pill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid, .trust-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-gallery-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-section,
  .feature-section.reverse,
  .old-style-layout { grid-template-columns: 1fr; }
  .feature-section.reverse .feature-copy { order: 0; }
  .old-style-layout .sample-gallery { grid-row: auto; }
  .feature-section::before { inset: 18px; }
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { width: 100%; }
  .hero { min-height: auto; padding-top: 72px; padding-bottom: 82px; }
  .screen-section,
  .product-screen {
    min-height: auto;
    align-content: center;
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .cake-layout, .site-footer { grid-template-columns: 1fr; }
  .section-head, .filter-bar, .admin-top { display: grid; align-items: start; }
  .product-grid, .gallery-grid, .gallery-preview, .pill-grid, .media-collage.dense, .sample-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid,
  .media-collage,
  .menu-panel,
  .screen-section .feature-copy {
    max-height: none;
    overflow: visible;
  }
  .feature-section::before { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-card form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .brand span { font-size: 1.45rem; }
  .hero h1 { font-size: clamp(3rem, 18vw, 4.5rem); }
  .actions { display: grid; }
  .button { width: 100%; }
  .product-grid, .gallery-grid, .gallery-preview, .trust-band, .stats-grid, .admin-gallery-list, .pill-grid, .media-collage, .media-collage.two, .media-collage.dense, .sample-gallery { grid-template-columns: 1fr; }
  .product-image, .gallery-grid a, .media-collage a, .sample-gallery a { aspect-ratio: 4 / 3; }
  .category-title { display: grid; }
  .floating-actions { right: 12px; bottom: 12px; }
}

/* Home redesign */
.home-page {
  --home-bg: #fff8f1;
  --home-paper: #fffdf9;
  --home-cream: #f7ecde;
  --home-red: #b5221d;
  --home-brown: #6e2c1d;
  --home-ink: #251914;
  --home-muted: #7b665b;
  --home-line: rgba(110, 44, 29, .16);
  background:
    linear-gradient(180deg, #fffaf4 0, #fff8f1 46%, #fff 100%);
  color: var(--home-ink);
  font-family: Nunito, Arial, sans-serif;
}
.home-page h1,
.home-page h2 {
  font-family: CakelaDisplay, Georgia, serif;
  letter-spacing: 0;
}
.home-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 max(22px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--home-line);
  background: rgba(255, 252, 247, .94);
  backdrop-filter: blur(18px);
}
.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--home-brown);
  text-decoration: none;
}
.home-brand img { width: 58px; height: 58px; object-fit: contain; }
.home-brand span {
  font-family: CakelaDisplay, Georgia, serif;
  font-size: 1.9rem;
}
.home-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--home-brown);
  text-decoration: none;
  font-weight: 900;
}
.home-nav a:hover { background: var(--home-cream); }
.home-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 8vw, 130px) max(22px, calc((100vw - 1200px) / 2));
  color: white;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(29, 15, 9, .88), rgba(29, 15, 9, .54) 46%, rgba(29, 15, 9, .16)),
    url("/files/top.jpg") center right / cover no-repeat;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 73% 34%, rgba(255, 202, 138, .28), transparent 28%),
    linear-gradient(180deg, transparent 72%, rgba(0, 0, 0, .28));
}
.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}
.home-kicker {
  margin: 0 0 12px;
  color: #d99b6e;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-hero .home-kicker { color: #ffe0b8; }
.home-hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(4.1rem, 9vw, 8.6rem);
  line-height: .88;
  text-shadow: 0 18px 52px rgba(0,0,0,.32);
}
.home-hero p:not(.home-kicker) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(1.05rem, 1.25vw, 1.24rem);
  line-height: 1.75;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.home-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
}
.home-button.primary {
  background: linear-gradient(180deg, #cf332c, var(--home-red));
  color: white;
  box-shadow: 0 16px 34px rgba(181, 34, 29, .28);
}
.home-button.light {
  background: rgba(255,255,255,.94);
  color: var(--home-brown);
}
.home-button.outline {
  border-color: var(--home-line);
  background: white;
  color: var(--home-brown);
}
.home-hero__note {
  position: absolute;
  right: max(22px, calc((100vw - 1200px) / 2));
  bottom: 28px;
  z-index: 1;
  width: min(360px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  color: white;
  backdrop-filter: blur(12px);
}
.home-hero__note strong,
.home-hero__note span { display: block; }
.home-hero__note span { margin-top: 4px; color: rgba(255,255,255,.82); }
.home-jump,
.home-section,
.home-footer {
  padding-left: max(22px, calc((100vw - 1200px) / 2));
  padding-right: max(22px, calc((100vw - 1200px) / 2));
}
.home-jump {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: var(--home-paper);
  border-bottom: 1px solid var(--home-line);
}
.home-jump a {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fff7ed);
  color: var(--home-brown);
  text-decoration: none;
}
.home-jump strong { line-height: 1.2; }
.home-jump span { color: var(--home-muted); font-size: .86rem; line-height: 1.35; }
.home-section {
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(70px, 8vw, 112px);
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.section-title > * { max-width: 720px; }
.section-title h2,
.feature-copy h2 {
  margin: 0;
  color: var(--home-brown);
  font-size: clamp(3rem, 6.2vw, 5.6rem);
}
.section-title p:not(.home-kicker),
.feature-copy p {
  color: var(--home-muted);
  line-height: 1.7;
}
.cake-section {
  background:
    linear-gradient(180deg, #fff8ef, #fffaf5);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}
.cake-showcase {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(420px, 1.08fr);
  gap: 22px;
  align-items: start;
}
.cake-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cake-gallery a,
.feature-media a {
  overflow: hidden;
  border: 8px solid white;
  border-radius: 8px;
  background: #f5eee5;
  box-shadow: 0 18px 46px rgba(89, 50, 31, .12);
}
.cake-gallery a { aspect-ratio: 1 / 1; }
.cake-gallery img,
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}
.cake-gallery a:hover img,
.feature-media a:hover img { transform: scale(1.04); }
.cake-menu-card,
.cake-order-card {
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-paper);
  box-shadow: 0 18px 46px rgba(89, 50, 31, .1);
}
.cake-menu-card {
  padding: 24px 26px;
}
.cake-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 4px;
}
.cake-card-head h3,
.cake-order-card h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.45rem;
}
.cake-card-head a {
  color: var(--home-red);
  font-weight: 900;
  text-decoration: none;
}
.home-price-table,
.mini-price-table {
  width: 100%;
  border-collapse: collapse;
}
.home-price-table td,
.mini-price-table td {
  padding: 13px 0;
  border-bottom: 1px solid rgba(181, 34, 29, .34);
  vertical-align: middle;
}
.home-price-table td:first-child,
.mini-price-table td:first-child {
  color: var(--home-red);
  font-weight: 900;
}
.home-price-table small {
  display: block;
  margin-top: 2px;
  color: var(--home-red);
  font-weight: 600;
}
.home-price-table td:last-child,
.mini-price-table td:last-child {
  color: var(--home-red);
  text-align: right;
  font-weight: 900;
  white-space: nowrap;
}
.home-price-table .price-group td {
  padding-top: 22px;
  border-bottom: 0;
  color: var(--home-ink);
  text-align: left;
  font-size: 1.22rem;
}
.cake-order-card {
  grid-column: 2;
  padding: 24px 26px;
}
.cake-order-card dl {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
}
.cake-order-card dt {
  color: var(--home-brown);
  font-weight: 900;
}
.cake-order-card dd {
  margin: 4px 0 0;
  color: var(--home-muted);
  line-height: 1.55;
}
.feature-row {
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  border-bottom: 1px solid var(--home-line);
  background: white;
}
.feature-row:nth-of-type(even) {
  background: linear-gradient(180deg, #fff, #fff7ef);
}
.feature-row.is-reverse {
  grid-template-columns: minmax(420px, 1.14fr) minmax(360px, .86fr);
}
.feature-row.is-reverse .feature-copy { order: 2; }
.feature-copy .home-kicker { margin-bottom: 12px; }
.feature-copy p {
  margin: 16px 0 0;
  max-width: 620px;
}
.mini-price-table {
  margin: 22px 0;
}
.feature-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.feature-media.dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-media a {
  aspect-ratio: 1 / 1;
}
.home-list {
  margin: 20px 0 24px;
  padding-left: 20px;
  color: var(--home-muted);
  line-height: 1.7;
}
.home-footer {
  display: grid;
  grid-template-columns: 1fr .6fr 1.2fr;
  gap: 28px;
  padding-top: 46px;
  padding-bottom: 32px;
  background: var(--home-paper);
}
.home-footer a {
  display: block;
  margin-bottom: 8px;
  color: var(--home-brown);
  font-weight: 900;
}
.home-footer iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 8px;
}
@media (max-width: 1100px) {
  .home-jump { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cake-showcase,
  .feature-row,
  .feature-row.is-reverse,
  .home-footer { grid-template-columns: 1fr; }
  .cake-order-card { grid-column: auto; }
  .feature-row.is-reverse .feature-copy { order: 0; }
}
@media (max-width: 780px) {
  .home-header { min-height: 70px; }
  .home-brand img { width: 50px; height: 50px; }
  .home-brand span { font-size: 1.55rem; }
  .home-nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: none;
    padding: 16px 22px;
    border-bottom: 1px solid var(--home-line);
    background: var(--home-bg);
    box-shadow: 0 18px 46px rgba(89, 50, 31, .14);
  }
  .home-nav.is-open { display: grid; }
  .home-hero {
    min-height: calc(100vh - 70px);
    padding-top: 70px;
    padding-bottom: 120px;
    background-position: center;
  }
  .home-hero h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .home-hero__note {
    left: 22px;
    right: 22px;
    bottom: 22px;
    width: auto;
  }
  .home-jump,
  .cake-gallery,
  .feature-media,
  .feature-media.dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-title { display: grid; }
}
@media (max-width: 540px) {
  .home-actions { display: grid; }
  .home-button { width: 100%; }
  .home-jump,
  .cake-gallery,
  .feature-media,
  .feature-media.dense { grid-template-columns: 1fr; }
  .cake-gallery a,
  .feature-media a { aspect-ratio: 4 / 3; }
  .cake-menu-card,
  .cake-order-card { padding: 20px; }
}

/* Cake section: compact one-screen layout */
.home-page .cake-section {
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 236, 211, .9), transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #fff5ea 48%, #fffaf7 100%);
}
.home-page .cake-section .section-title {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.28fr) minmax(280px, .72fr);
  align-items: end;
  gap: clamp(18px, 3vw, 42px);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.home-page .cake-section .section-title .home-kicker {
  align-self: center;
  margin: 0;
}
.home-page .cake-section .section-title h2 {
  max-width: 620px;
  font-size: clamp(3.9rem, 6.4vw, 6.5rem);
  line-height: .82;
}
.home-page .cake-section .section-title p:not(.home-kicker) {
  max-width: 410px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
.home-page .cake-showcase {
  grid-template-columns: minmax(260px, .82fr) minmax(440px, 1.28fr) minmax(250px, .72fr);
  gap: clamp(16px, 2.2vw, 28px);
  align-items: stretch;
}
.home-page .cake-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
  min-height: 0;
}
.home-page .cake-gallery a {
  aspect-ratio: 1 / 1;
  border-width: 6px;
  box-shadow: 0 14px 34px rgba(89, 50, 31, .13);
}
.home-page .cake-gallery a:nth-child(n+5) {
  display: none;
}
.home-page .cake-menu-card,
.home-page .cake-order-card {
  border-color: rgba(118, 47, 31, .18);
  background: rgba(255, 253, 249, .92);
  box-shadow: 0 22px 54px rgba(89, 50, 31, .11);
}
.home-page .cake-menu-card {
  padding: clamp(18px, 2.2vw, 26px);
}
.home-page .cake-card-head {
  margin-bottom: 8px;
}
.home-page .cake-card-head h3,
.home-page .cake-order-card h3 {
  font-size: clamp(1.24rem, 1.6vw, 1.55rem);
}
.home-page .home-price-table td {
  padding: 9px 0;
  border-bottom-color: rgba(181, 34, 29, .24);
}
.home-page .home-price-table td:first-child {
  padding-right: 16px;
  font-size: clamp(.9rem, 1.05vw, 1rem);
  line-height: 1.25;
}
.home-page .home-price-table small {
  margin-top: 1px;
  font-size: .82rem;
  color: #b06355;
}
.home-page .home-price-table td:last-child {
  font-size: clamp(.9rem, 1.1vw, 1.02rem);
}
.home-page .home-price-table .price-group td {
  padding-top: 14px;
  padding-bottom: 4px;
  font-size: 1.02rem;
}
.home-page .cake-order-card {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2vw, 24px);
}
.home-page .cake-order-card dl {
  gap: 12px;
  margin-top: 14px;
}
.home-page .cake-order-card dd {
  font-size: .94rem;
  line-height: 1.5;
}
@media (max-width: 1180px) {
  .home-page .cake-section {
    min-height: auto;
  }
  .home-page .cake-section .section-title,
  .home-page .cake-showcase {
    grid-template-columns: 1fr;
  }
  .home-page .cake-section .section-title h2,
  .home-page .cake-section .section-title p:not(.home-kicker) {
    max-width: none;
  }
  .home-page .cake-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .home-page .cake-section .section-title h2 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }
  .home-page .cake-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
