/* Shared section system for theme packs */
.sec-wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
.sec-wrap--narrow { width: min(680px, calc(100% - 2rem)); }
.menu-page .sec-wrap { width: min(720px, calc(100% - 2rem)); }
.menu-page.style-olive .sec-wrap,
.menu-page.style-wood .sec-wrap,
.menu-page.style-flyer .sec-wrap { width: min(980px, calc(100% - 2rem)); }
.sec-block { padding: 3.5rem 0; }
.sec-section-head { margin-bottom: 1.75rem; text-align: center; }
.sec-section-head h2 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--theme-ink, #1c2434); }
.sec-section-head p { margin: 0; color: rgba(28,36,52,.65); line-height: 1.6; }
.sec-empty { text-align: center; color: rgba(28,36,52,.55); padding: 2rem; }
.sec-prose { line-height: 1.8; color: rgba(28,36,52,.8); max-width: 40rem; margin-inline: auto; }
.sec-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--theme-accent, var(--theme-primary)); margin: 0 0 .75rem; }
.sec-lead { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.88); max-width: 36rem; }
.sec-body { line-height: 1.7; color: rgba(255,255,255,.78); max-width: 34rem; }
.sec-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.sec-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; padding: 0; margin: 1.75rem 0 0; font-size: .85rem; color: rgba(255,255,255,.8); }
.sec-trust li { position: relative; padding-inline-start: 1rem; }
.sec-trust li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--theme-accent, #c4a35a); }
.sec-trust--light { color: rgba(255,255,255,.85); }

.btn-accent { background: var(--theme-accent, #e8b923); color: #1c2434; border: none; }
.btn-accent:hover { filter: brightness(.95); text-decoration: none; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* Heroes */
.sec-hero { position: relative; overflow: hidden; }
.sec-hero--brochure, .sec-hero--catalog {
  min-height: min(72vh, 560px); display: grid; align-items: end;
  color: #fff; background: var(--theme-primary, #0f3d3e);
}
.sec-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sec-hero-shade { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,31,58,.88), rgba(11,31,58,.45)); }
.sec-hero-inner { position: relative; z-index: 1; padding: 4rem 0 3rem; }
.sec-hero h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; text-wrap: balance; }

.sec-hero--menu { padding: 2.5rem 0 1.5rem; background: var(--theme-bg); color: var(--theme-ink); }
.sec-hero--menu .sec-lead, .sec-hero--menu .sec-body { color: rgba(28,36,52,.72); }
.sec-hero--menu .sec-trust { color: rgba(28,36,52,.7); }
.sec-hero-split {
  display: grid; min-height: 420px;
}
@media (min-width: 900px) {
  .sec-hero-split { grid-template-columns: 1fr 1.05fr; }
}
.sec-hero-split .sec-hero-copy {
  background: var(--theme-primary); color: #fff; padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.sec-hero-split .sec-hero-copy .sec-lead,
.sec-hero-split .sec-hero-copy .sec-body { color: rgba(255,255,255,.85); }
.sec-hero-split .sec-hero-media { min-height: 280px; background-size: cover; background-position: center; }
.sec-hero-banner {
  width: 100%;
  height: min(42vh, 360px);
  border-radius: 0;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
}

/* Products / gallery */
.sec-product-grid, .sec-gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.15rem;
}
.sec-product-card, .sec-gallery-card {
  display: block; background: #fff; border: 1px solid rgba(28,36,52,.1);
  border-radius: 1rem; overflow: hidden; color: inherit; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sec-product-card:hover, .sec-gallery-card:hover {
  transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28,36,52,.08); text-decoration: none;
}
.sec-product-card img, .sec-gallery-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #eef3f3;
}
.sec-product-card div, .sec-gallery-card div { padding: 1rem; display: grid; gap: .3rem; }
.sec-product-card span, .sec-gallery-card span { font-size: .85rem; color: rgba(28,36,52,.6); }
.sec-product-card em, .sec-gallery-card .price { font-style: normal; font-weight: 700; color: var(--theme-primary); }

/* Menu lists shared */
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px dashed rgba(28,36,52,.12);
}
.menu-list img {
  width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
}
.menu-list div { flex: 1; display: grid; gap: .28rem; min-width: 0; }
.menu-list .menu-item-head {
  display: flex; align-items: baseline; gap: .55rem; min-width: 0;
}
.menu-list .menu-item-head strong {
  flex: 0 1 auto; font-size: 1.02rem; line-height: 1.3;
}
.menu-list .menu-leader {
  flex: 1 1 auto; min-width: 1.25rem; height: 0;
  border-bottom: 1px dotted rgba(28,36,52,.28);
  transform: translateY(-.35em);
}
.menu-list span { font-size: .85rem; color: rgba(28,36,52,.62); line-height: 1.45; }
.menu-list .price, .menu-wood-item .price, .menu-flyer-list .price {
  font-style: normal; font-weight: 700; white-space: nowrap; color: var(--theme-primary);
  flex: 0 0 auto;
}
.menu-group h3 { margin: 0 0 1rem; color: var(--theme-primary); font-size: 1.25rem; }

/* Hours / contact / cta */
.sec-hours-list { list-style: none; margin: 0; padding: 0; }
.sec-hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .65rem 0; border-bottom: 1px solid rgba(28,36,52,.08); font-size: .95rem;
}
.sec-contact-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 720px) { .sec-contact-grid { grid-template-columns: 1.2fr .8fr; } }
.sec-contact-card, .sec-qr-card {
  background: #fff; border: 1px solid rgba(28,36,52,.1); border-radius: 1rem; padding: 1.5rem;
  display: grid; gap: .85rem; justify-items: start;
}
.sec-qr-card { justify-items: center; text-align: center; }
.sec-cta {
  background: var(--theme-primary); color: #fff;
}
.sec-cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.sec-cta h2 { margin: 0 0 .5rem; color: #fff; }
.sec-cta p { margin: 0; color: rgba(255,255,255,.82); }
.sec-cta-actions { display: flex; align-items: center; gap: 1rem; }
.sec-cta-qr { border-radius: 12px; background: #fff; padding: .35rem; }
.sec-form { display: grid; gap: 1rem; }
.sec-faq-list details {
  border-bottom: 1px solid rgba(28,36,52,.1); padding: .85rem 0;
}
.sec-faq-list summary { cursor: pointer; font-weight: 600; }
.sec-faq-list p { margin: .65rem 0 0; color: rgba(28,36,52,.7); line-height: 1.65; }
.sec-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; text-align: center;
}
.sec-stats-grid strong { display: block; font-size: 2rem; color: var(--theme-primary); }
.sec-stats-grid span { color: rgba(28,36,52,.65); font-size: .9rem; }
.sec-cats-grid { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.sec-cat-chip {
  border: 1px solid rgba(28,36,52,.15); border-radius: 999px; padding: .45rem 1rem;
  background: #fff; font-size: .9rem;
}

.preview-banner--demo { background: #0d9498; }
.menu-nav-links { display: none; gap: 1rem; }
@media (min-width: 768px) { .menu-nav-links { display: flex; } }
.menu-nav-links a { color: inherit; text-decoration: none; font-size: .875rem; opacity: .8; }
.brochure-footer { padding: 2rem 0; text-align: center; color: rgba(28,36,52,.55); font-size: .85rem; border-top: 1px solid rgba(28,36,52,.08); }
.brochure-footer a { color: var(--theme-primary); }

/* Preview inline edit + empty placeholders */
.u808-preview-edit .u808-section { cursor: pointer; }
.u808-preview-edit .u808-editable {
  cursor: text;
  outline: 1px dashed transparent;
  border-radius: 4px;
  transition: outline-color .15s ease, background-color .15s ease;
}
.u808-preview-edit .u808-editable:hover,
.u808-preview-edit .u808-editable:focus {
  outline-color: rgba(13, 148, 152, .55);
  background: rgba(13, 148, 152, .06);
}
.u808-ph {
  opacity: .55 !important;
  font-style: italic;
}
.u808-preview-edit [data-cover-placeholder="1"] {
  position: relative;
}
.u808-preview-edit [data-cover-placeholder="1"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(13, 148, 152, .25);
}
