:root {
  --paper: #fdf9f0;
  --soft: #f7ece6;
  --ink: #2b2220;
  --ink-soft: #6b5a55;
  --line: #eadfd8;
  --rose: #e38789;
  --max: 1160px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep anchored sections clear of the sticky header */
section[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.link {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link:hover { color: var(--rose); }

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.button:hover { background: transparent; color: var(--ink); }

/* Photos: a soft frame shows through until the real image is added */
.photo {
  position: relative;
  background: var(--soft);
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.photo.is-missing img { display: none; }

.photo.is-missing::after {
  content: attr(data-src);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo { display: block; line-height: 0; }
.logo img { height: 44px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.nav .nav-order {
  border: 1px solid var(--ink);
  padding: 9px 20px;
}

.nav .nav-order:hover, .nav .nav-order[aria-current="page"] { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero: text beside the photo, so the whole photo shows */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(80vh, 700px);
  background: var(--soft);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 64px 80px max(24px, calc((100vw - var(--max)) / 2 + 24px));
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  max-width: 11ch;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 32px;
}

.hero .photo { min-height: 100%; }

/* Gold sparkle from the logo, used above headings */
.section-title::before,
.page-header h1::before,
.cta h2::before,
.split h2::before,
.menu-body h2::before,
.share-menu-body h2::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.2 5.8 11.4 12 12-6.2.6-11.4 5.8-12 12-.6-6.2-5.8-11.4-12-12C6.2 11.4 11.4 6.2 12 0z' fill='%23b8893e'/%3E%3C/svg%3E") center / contain no-repeat;
}

.split h2::before, .menu-body h2::before, .share-menu-body h2::before { margin-left: 0; }

/* Fade-in on scroll (classes added by main.js) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

/* Sections */
.section { padding: 112px 0; }
.section--flush { padding-top: 0; }
.section--soft { background: var(--soft); }

.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 56px;
}

/* Page header (inner pages) */
.page-header { padding: 96px 0 64px; text-align: center; }
.page-header--tall { padding: 140px 0; }
.page-header h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
.page-header p { color: var(--ink-soft); max-width: 560px; margin: 20px auto 0; }
.page-header .tagline { font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.page-header .button { margin-top: 24px; }

/* Logo intro (home) */
.intro { text-align: center; padding-bottom: 96px; }
.intro-logo { width: 360px; max-width: 80%; height: auto; margin: 0 auto 8px; }
.intro p { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; max-width: 30ch; margin: 0 auto; }

/* Collections */
.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.collection { text-decoration: none; display: block; text-align: center; }
.collection .photo { aspect-ratio: 4 / 5; margin-bottom: 20px; }
.collection:hover .photo img { transform: scale(1.03); }
.collection h3 { font-size: 1.7rem; }

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.split .photo { aspect-ratio: 4 / 5; }
.split h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 24px; }
.split p { color: var(--ink-soft); max-width: 46ch; }
.split .button, .split .link { margin-top: 16px; display: inline-block; }
.split .lead { font-family: var(--serif); font-size: 1.7rem; line-height: 1.35; color: var(--ink); }
.split .signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--ink); margin-top: 28px; }
.split--reverse .photo { order: 2; }

/* Statement */
.statement { max-width: 820px; margin: 0 auto; text-align: center; }

.statement p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.4;
  margin: 0;
}

/* Call to action */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta p { color: var(--ink-soft); margin-bottom: 32px; }

/* Menu */
.menu-jump {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.menu-jump a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.2s, color 0.2s;
}

.menu-jump a:hover { border-color: var(--rose); color: var(--rose); }

.menu-section {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}

.menu-section .photo { border-radius: 4px; }
.menu-section .photo img { height: auto; }
.menu-section--reverse .photo { order: 2; }

.menu-body h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 8px; }
.menu-body h2 small { font-size: 0.55em; color: var(--ink-soft); font-style: italic; }

.menu-body h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 28px 0 6px;
}

.price-list { list-style: none; margin: 0; padding: 0; }

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
}

.price-list .item { font-family: var(--serif); font-size: 1.35rem; }
.price-list .item small { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); }
.price-list .leader { flex: 1; border-bottom: 1px dotted #cdb5aa; transform: translateY(-5px); min-width: 24px; }
.price-list .price { font-weight: 400; white-space: nowrap; }

.flavor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.flavor-list li {
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--soft);
}

.section--soft .flavor-list li { background: #fff; }

.menu-note { color: var(--ink-soft); font-size: 0.95rem; font-style: italic; margin: 18px 0 0; }

/* Each row is sized so photos keep their own shape (nothing cropped) and line up top and bottom */
.cake-gallery { margin-top: 72px; }
.gallery-row { display: flex; gap: 16px; margin-bottom: 16px; }
.gallery-row .photo { flex: var(--ar) 1 0; min-width: 0; }

.cake-gallery .photo { border-radius: 4px; }
.cake-gallery .photo img { height: auto; }
.cake-gallery--pair { display: flex; justify-content: center; gap: 16px; }
.cake-gallery--pair .photo { margin: 0; height: 420px; }
.cake-gallery--pair .photo img { height: 100%; width: auto; }
.swipe-hint { display: none; margin: 10px 0 0; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-soft); text-align: center; }

/* Share our menu */
.menu-jump .menu-jump-share { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu-jump .menu-jump-share:hover { background: transparent; color: var(--ink); }

.share-menu {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
}

.share-menu-card { border-radius: 6px; box-shadow: 0 12px 32px rgba(43, 34, 32, 0.12); }
.share-menu-card img { height: auto; }
.share-menu-body h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 12px; }
.share-menu-body > p { color: var(--ink-soft); }

.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.share-buttons .button { width: 100%; margin-bottom: 4px; }

.share-btn {
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.share-btn:hover { border-color: var(--rose); color: var(--rose); }
.share-status { min-height: 1.5em; margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }

/* Photo viewer */
.photo.is-zoomable { cursor: zoom-in; }
.photo.is-zoomable:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.photo.is-zoomable:hover img { transform: scale(1.03); }

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 22, 20, 0.92);
  padding: 56px 72px;
}

.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.lightbox-caption { color: #f3e7e1; font-family: var(--serif); font-size: 1.2rem; text-align: center; }

.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1;
  opacity: 0.85;
  width: 48px;
  height: 48px;
}

.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lightbox-close { top: 12px; right: 12px; font-size: 2.4rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* Order form */
.form-wrap { max-width: 640px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form .full { grid-column: 1 / -1; }

.form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
}

.form input, .form select, .form textarea {
  font: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  width: 100%;
  min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form input::placeholder, .form textarea::placeholder { color: #b3a49e; }

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(227, 135, 137, 0.18);
}

.form select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b5a55' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form textarea { min-height: 140px; resize: vertical; }
.form .button { justify-self: stretch; margin-top: 6px; border-radius: 8px; padding: 17px 32px; }

/* Order builder */
.builder {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  margin: 8px 0 0;
  min-width: 0;
}

.builder legend {
  font-family: var(--serif);
  font-size: 1.7rem;
  padding: 0 8px;
  margin-left: -8px;
}

.builder-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.builder-item { grid-column: 1 / -1; }
.builder [hidden] { display: none; }

.builder-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.builder-line-price { font-family: var(--serif); font-size: 1.35rem; }

.builder-add {
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--rose);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.builder-add:hover { background: #fbe4e1; }

.order-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }

.order-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-list .order-name { flex: 1; }
.order-list .order-name small { display: block; color: var(--ink-soft); font-size: 0.85rem; }
.order-list .order-price { white-space: nowrap; }

.order-remove {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.order-remove:hover { color: var(--rose); }
.order-empty { color: var(--ink-soft); font-size: 0.92rem; margin: 18px 0 0; }

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.order-total strong { font-weight: 500; font-size: 1.6rem; }

.estimate-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.estimate-note strong { color: var(--ink); font-weight: 500; }
.form-error { color: #b34a4c; font-size: 0.92rem; margin: 0; min-height: 0; }
.form-error:empty { display: none; }

/* Inspiration photos */
.photo-field { display: grid; gap: 8px; }
.optional { color: var(--ink-soft); font-weight: 300; }

.form input[type=file] {
  padding: 9px 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.form input[type=file]::file-selector-button {
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--rose);
  border-radius: 999px;
  padding: 8px 18px;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.form input[type=file]:hover::file-selector-button { background: #fbe4e1; }
.form input[type=file]:disabled { opacity: 0.55; cursor: not-allowed; }

.field-hint { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.field-hint.is-error { color: #b34a4c; }

.photo-previews { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.photo-previews[hidden] { display: none; }

.photo-previews li {
  position: relative;
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.photo-previews img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-previews .photo-name { display: none; }
.photo-previews .no-preview img { display: none; }

.photo-previews .no-preview .photo-name {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 8px;
  font-size: 0.72rem;
  text-align: center;
  word-break: break-all;
  color: var(--ink-soft);
}

.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.photo-remove:hover { color: var(--rose); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.footer-mark { display: inline-block; margin-bottom: 24px; }
.footer-mark img { width: 72px; height: 72px; }

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.site-footer a:hover { color: var(--rose); }
.site-footer p { margin: 0 0 8px; }
.site-footer .service-area { font-size: 0.9rem; margin-top: 16px; }
.site-footer .service-area span { white-space: nowrap; }
.site-footer .copyright { font-size: 0.8rem; margin-top: 20px; }

/* Responsive */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .photo { order: 0; }
  .menu-section { grid-template-columns: 1fr; gap: 36px; }
  .menu-section--reverse .photo { order: 0; }
  .menu-section .photo { max-width: 520px; width: 100%; margin: 0 auto; }
  /* Phones: two photos per row, still uncropped */
  .gallery-row { flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
  .gallery-row .photo { flex: var(--ar) 1 calc(var(--ar) * 120px); }
  .cake-gallery--pair .photo { height: 300px; }
  .split--center-mobile > div { text-align: center; }
  .split--center-mobile h2::before { margin-left: auto; }
  .split--center-mobile p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section--flush { padding-top: 0; }
  .container { padding: 0 16px; }
  .page-header { padding: 64px 0 48px; }
  .logo img { height: 34px; }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; padding: 8px 0; text-align: center; }
  .nav.is-open { display: flex; }
  .nav a { display: block; padding: 12px 0; border: 0; }
  .nav .nav-order { border: 0; padding: 12px 0; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .photo { order: -1; aspect-ratio: 1; min-height: 0; }
  .hero-content { padding: 40px 16px 56px; }
  .collections, .form { grid-template-columns: 1fr; }
  .builder { padding: 18px 16px; }
  .builder-fields { grid-template-columns: 1fr; }
  .builder-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .collections { gap: 40px; }
  .intro { padding-bottom: 72px; }
  .lightbox { padding: 64px 12px 72px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
  .lightbox-prev { left: 24%; }
  .lightbox-next { right: 24%; }
  .site-footer .service-area span { display: block; }
  .site-footer .service-area .dot { display: none; }
  .intro-logo { width: 240px; }
  /* Menu on phones: short banner photos and swipeable photo rows keep the prices flowing */
  .menu-section { gap: 24px; }
  .menu-section .photo { aspect-ratio: 3 / 2; max-width: none; }
  .menu-section .photo img { height: 100%; object-fit: cover; }
  .cake-gallery, .cake-gallery--pair {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 28px -16px 0;
    padding: 0 16px 6px;
    scrollbar-width: none;
  }
  .cake-gallery::-webkit-scrollbar { display: none; }
  .gallery-row { display: contents; }
  .cake-gallery .photo, .gallery-row .photo, .cake-gallery--pair .photo {
    flex: 0 0 auto;
    height: 170px;
    margin: 0;
    scroll-snap-align: start;
  }
  .cake-gallery .photo img { height: 100%; width: auto; }
  .cake-gallery--pair { justify-content: center; }
  .cake-gallery--pair .photo { height: 240px; }
  .swipe-hint { display: block; }
  .share-menu { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .share-menu-card { max-width: 260px; margin: 0 auto; }
  .share-buttons { justify-content: center; }
  .share-menu-body h2::before { margin-left: auto; }
}
