/* ============================================
   MARIGO FAST FOOD — code layer
   Boje, fontovi, razmaci, pozadine, zaobljenja i dugmad sekcija
   podesavaju se u Elementoru (Site Settings > Global Colors / Global
   Fonts, i na svakom elementu). Ovde ostaje samo ono sto Elementor
   (besplatna verzija) ne moze: animacije, dekoracije (::before),
   hover efekti na karticama, header/mega meni, mobilni meni,
   cenovnik, forma, traka koja se krece.
   ============================================ */

/* 1. TOKENS (samo za delove koji ostaju u kodu) */
body {
  --color-dark: var(--e-global-color-secondary, #111111);
  --color-cream: var(--e-global-color-mkrem01, #F5F0E8);
  --color-red: var(--e-global-color-primary, #E63924);
  --color-yellow: var(--e-global-color-accent, #FFB000);
  --color-white: var(--e-global-color-mbela01, #FFFFFF);
  --color-muted: var(--e-global-color-msiva01, #4A453E);
  --color-line: rgba(17, 17, 17, 0.15);
  --color-on-dark: rgba(245, 240, 232, 0.72);
}
:root {
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-hero: 56px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;

  --container-wide: 1400px;
  --gutter: 24px;

  --shadow-soft: 0 12px 40px rgba(17, 17, 17, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. BASE (font i boja tela stranice dolaze iz Elementor Site Settings) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--space-4); max-width: 65ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--color-red); text-decoration: none; transition: color 160ms var(--ease); }
a:hover { color: var(--color-dark); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 3px; border-radius: var(--radius-pill); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-dark); color: var(--color-cream);
  padding: var(--space-3) var(--space-5); border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; color: var(--color-cream); }

/* 3. DUGMAD U KODU (sticky dugme i mobilni meni nisu Elementor widgeti) */
.cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: var(--space-4) var(--space-7);
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 800; font-size: 16px; letter-spacing: 0.02em;
  cursor: pointer; white-space: nowrap;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.cta-button--primary { background: var(--color-red); color: var(--color-white); }
.cta-button--primary:hover { background: var(--color-yellow); color: var(--color-dark); }
.cta-button--secondary { background: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.cta-button--secondary:hover { background: var(--color-dark); color: var(--color-cream); }
.cta-button--on-dark { background: transparent; color: var(--color-cream); border-color: rgba(245, 240, 232, 0.35); }
.cta-button--on-dark:hover { background: var(--color-cream); color: var(--color-dark); border-color: var(--color-cream); }
.cta-button:active { transform: scale(0.98); }
.cta-button--lg { min-height: 62px; font-size: 17px; padding: var(--space-5) var(--space-8); }

/* 4. MESTA ZA SLIKE (zamenjuju se pravim fotografijama) */
.media-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: repeating-linear-gradient(135deg, #E6DED1 0 14px, #ECE5DA 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.media-frame--dark { background: repeating-linear-gradient(135deg, #1C1C1C 0 14px, #242424 14px 28px); }
.media-frame--round { border-radius: var(--radius-pill); }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-label {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.6;
  text-align: center; padding: var(--space-4); color: #8C8172; text-transform: uppercase; letter-spacing: 0.08em;
}
.media-frame--dark .media-label { color: rgba(245, 240, 232, 0.5); }
.split-media { position: relative; }
.split-media .media-frame { aspect-ratio: 4 / 3; }
.split-media-inset { position: absolute; right: -18px; bottom: -36px; width: 190px; height: 190px; border: 10px solid var(--color-cream); }
.signature-section .media-frame { aspect-ratio: 4 / 3; border-radius: var(--radius-hero); }
.hero-media { position: relative; align-self: end; width: 100%; margin-right: 0; }
.hero-media .media-frame { aspect-ratio: 3 / 4; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }
.gallery-grid .media-frame { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); }
.gallery-grid .media-frame:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.split--media-right .split-media { order: 2; }

/* Rotirana cena preko slike */
.badge-price {
  position: absolute; top: var(--space-6); left: calc(var(--space-6) * -1); z-index: 2;
  background: var(--color-yellow); color: var(--color-dark);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-pill);
  transform: rotate(-8deg);
}

/* 5. HERO DETALJI */
.hero-tag {
  display: inline-flex; align-items: center; gap: var(--space-3);
  background: rgba(245, 240, 232, 0.1); color: var(--color-cream);
  border-radius: var(--radius-pill); padding: 10px 18px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
}
.hero-tag::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--color-yellow); }
.hero-title em, .quote-text em { font-style: normal; color: var(--color-red); }
.hero-line { display: block; overflow: hidden; }
.hero-line-inner { display: block; }

/* Crveni krug u gornjem desnom uglu hero kartice */
.hero-inner { position: relative; }
.hero-inner::before {
  content: ""; display: block; position: absolute;
  left: auto !important; bottom: auto !important;
  top: -100px; right: -100px; width: 420px; height: 420px;
  border-radius: var(--radius-pill); background: rgba(230, 57, 36, 0.16);
  z-index: 0; pointer-events: none;
}
.hero-content, .hero-media { position: relative; z-index: 1; }

/* 6. TAGOVI, CENA SA OZNAKOM, KORACI */
.tag {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 700;
}
.tag--dark { background: var(--color-dark); color: var(--color-cream); }
.tag--yellow { background: var(--color-yellow); color: var(--color-dark); }
.tag--outline { border: 2px solid var(--color-dark); }

.signature-price span { font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0.12em; color: var(--color-muted); }

.step-list { counter-reset: step; }
.step-item { counter-increment: step; }
.step-item::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.1em; color: var(--color-red); }
.panel-dark .step-item::before { color: var(--color-yellow); }

/* 7. KARTICE: hover efekti (boje i razmaci su u Elementoru) */
.category-tile { color: var(--color-dark); transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 220ms var(--ease); }
.category-tile:hover { color: var(--color-cream); transform: translateY(-4px); }
.category-tile-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.025em; line-height: 1; }
.category-tile-note { font-size: 14px; color: var(--color-muted); }
.category-tile:hover .category-tile-note { color: rgba(245, 240, 232, 0.7); }
.category-tile-mark { font-size: 22px; font-weight: 700; color: var(--color-red); }
.category-tile:hover .category-tile-mark { color: var(--color-yellow); }

.food-card { transition: transform 220ms var(--ease); }
.food-card:hover { transform: translateY(-6px); }
.food-card-media { aspect-ratio: 5 / 4; border-radius: var(--radius-md); background: repeating-linear-gradient(135deg, #EFE8DC 0 12px, #F5F0E8 12px 24px); }
.food-card-media > * { transition: transform 320ms var(--ease); }
.food-card:hover .food-card-media > * { transform: scale(1.05); }

/* 8. MENI: kategorije, cenovnik */
.menu-category-nav {
  display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: var(--space-1) 0 var(--space-4);
  overflow-x: auto; scrollbar-width: none;
}
.menu-category-nav::-webkit-scrollbar { display: none; }
.menu-category-link {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
  border: 2px solid var(--color-line); background: transparent;
  color: var(--color-dark); font-family: var(--font-body); font-weight: 700; font-size: 15px;
  letter-spacing: 0.06em; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.menu-category-link:hover { border-color: var(--color-dark); color: var(--color-dark); }
.menu-category-link.is-active { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-cream); }
.menu-category { scroll-margin-top: 140px; }
.menu-category-count { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; color: var(--color-red); }

/* 9. TRAKA KOJA SE KRECE */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex; gap: var(--space-8);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 40px);
  color: var(--color-dark); animation: marquee-scroll 10s linear infinite;
}
.marquee-group { display: inline-flex; gap: var(--space-8); }
.marquee-dot { color: var(--color-yellow); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 10. STICKY DUGME (telefon) */
.sticky-cta {
  position: fixed; z-index: 70;
  left: var(--space-4); right: var(--space-4);
  bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
  display: none; justify-content: center;
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}
.sticky-cta .cta-button { width: auto; max-width: 100%; box-shadow: 0 14px 40px rgba(17, 17, 17, 0.35); min-height: 52px; padding: var(--space-3) var(--space-6); font-size: 15px; }
.sticky-cta-phone { display: none; }
.sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* 11. RADNO VREME / ADRESA (lista u kartici) */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.info-list li { display: flex; justify-content: space-between; gap: var(--space-5); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-line); font-size: 16px; }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list .is-closed { color: var(--color-red); font-weight: 700; }
.info-list dt, .info-list .info-key { color: var(--color-muted); }
.info-list .info-val { font-weight: 700; }
.location-map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }

/* 12. HEADER (staticki delovi koje koristi mobilni meni) */
.header-main { position: sticky; top: 0; z-index: 60; padding: var(--space-4) var(--gutter) 0; }
.header-inner {
  width: min(100%, var(--container-wide)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 10px 10px 10px var(--space-6);
  transition: padding 240ms var(--ease), box-shadow 240ms var(--ease);
  box-shadow: var(--shadow-soft);
}
.header-main.is-scrolled .header-inner { padding-block: 6px; box-shadow: 0 16px 44px rgba(17, 17, 17, 0.28); }
.header-logo {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  letter-spacing: -0.03em; color: var(--color-cream);
}
.header-logo:hover { color: var(--color-white); }
.header-nav-list { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.header-nav-link {
  display: block; padding: var(--space-3) var(--space-4); border-radius: var(--radius-pill);
  color: var(--color-cream); font-size: 15px; font-weight: 600;
  transition: background-color 160ms var(--ease);
}
.header-nav-link:hover { background: rgba(245, 240, 232, 0.12); color: var(--color-white); }
.header-nav-link[aria-current="page"] { background: rgba(245, 240, 232, 0.12); color: var(--color-white); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-mobile-menu {
  display: none;
  width: min(100% - (var(--gutter) * 2), var(--container-wide));
  margin: var(--space-3) auto 0;
  background: var(--color-dark); border-radius: var(--radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow-soft);
}
.header-mobile-menu.is-open { display: block; }
.header-mobile-menu .cta-button { width: 100%; }

/* 13. FUTER (logo i linkovi) */
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 6vw, 86px); line-height: 0.9; letter-spacing: -0.04em; color: var(--color-cream); }
.footer-logo span { color: var(--color-red); }
.footer-link { color: rgba(245, 240, 232, 0.85); font-weight: 600; }
.footer-link:hover { color: var(--color-yellow); }

/* 14. SCENA 'RADIMO DOK DRUGI ZATVARAJU' (animirana na skrol) */
.showcase-section { transition: background-color 400ms linear; }
.showcase-inner { min-height: 100svh; display: grid; place-items: center; padding-block: clamp(64px, 10vw, 120px); }
.showcase-stage { position: relative; display: grid; place-items: center; width: 100%; }
.showcase-title { position: relative; z-index: 2; text-align: center; letter-spacing: -0.045em; }
.showcase-title .elementor-heading-title { letter-spacing: inherit; }
.showcase-media { position: relative; z-index: 1; width: min(100%, 520px); margin-top: clamp(-40px, -3vw, -20px); }
.showcase-media .media-frame { aspect-ratio: 4 / 5; border-radius: var(--radius-hero); }
.showcase-note { position: relative; z-index: 2; margin-top: var(--space-7); text-align: center; }
.showcase-dot { position: absolute; border-radius: var(--radius-pill); pointer-events: none; }
.showcase-dot--red { width: 120px; height: 120px; background: var(--color-red); top: 8%; left: 4%; }
.showcase-dot--yellow { width: 64px; height: 64px; background: var(--color-yellow); bottom: 12%; right: 6%; }

/* 15. ANIMACIJE */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); will-change: transform, opacity; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.parallax-element { will-change: transform; }

/* 16. RESPONSIVE (samo za delove u kodu) */
@media (max-width: 1199px) {
  .split--media-right .split-media { order: 0; }
  .hero-media { max-width: 460px; }
  .hero-inner::before { top: -80px; right: -80px; width: 340px; height: 340px; }
  .sticky-cta { display: flex; }
}
@media (min-width: 768px) {
  .sticky-cta-phone { display: inline; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .hero-inner::before { top: -62px; right: -62px; width: 280px; height: 280px; }
  .split-media-inset { width: 130px; height: 130px; right: -8px; bottom: -24px; }
  .gallery-grid .media-frame:first-child { grid-column: span 1; aspect-ratio: 1 / 1; }
  .sticky-cta { left: var(--space-3); right: var(--space-3); bottom: calc(var(--space-3) + env(safe-area-inset-bottom)); }
  .sticky-cta .cta-button { min-height: 48px; padding: var(--space-3) var(--space-5); font-size: 14px; letter-spacing: 0.04em; }
  .header-logo { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .showcase-inner { min-height: 0; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================
   8. WORDPRESS + ELEMENTOR INTEGRATION
   Everything above this line is the original design
   stylesheet, unchanged. This block adapts it to WP.
   ============================================ */

/* 8.1 Neutralise Elementor container defaults so the design's own
   .section / .container rules govern all spacing. Per-element padding
   set in the Elementor UI still wins over these defaults. */
.e-con, .e-con-inner {
  --container-default-padding-top: 0px;
  --container-default-padding-right: 0px;
  --container-default-padding-bottom: 0px;
  --container-default-padding-left: 0px;
}
.elementor-widget:not(:last-child) { margin-block-end: 0; }
.elementor-widget-heading .elementor-heading-title { margin: 0; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-container > p:last-child { margin-bottom: 0; }

/* 8.2 Hello Elementor resets - XPRO supplies header and footer */
.site-header, .site-footer { display: none; }
body.elementor-page .site-main { margin: 0; padding: 0; }

/* 8.3 WP nav menus emit .current-menu-item where the static build
   used aria-current. Both must render identically. */
.header-nav-list .current-menu-item > a,
.header-nav-list .current_page_item > a,
.header-mobile-menu .current-menu-item > a,
.header-mobile-menu .current_page_item > a {
  background: rgba(245, 240, 232, 0.12);
  color: var(--color-white);
}

/* 8.4 Admin bar offset for the sticky header */
.admin-bar .header-main,
.admin-bar .xpro-theme-builder-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .header-main,
  .admin-bar .xpro-theme-builder-header { top: 46px; }
}

/* 8.5 XPRO theme builder wrappers are structural only */
.xpro-theme-builder-header,
.xpro-theme-builder-header-nav,
#xpro-theme-builder-footer { display: block; margin: 0; padding: 0; }
.xpro-theme-builder-header { position: sticky; top: 0; z-index: 60; }
.xpro-theme-builder-header .header-main { position: static; }
.xpro-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 8.6 Mega menu - dark panel dropped from the header pill */
.marigo-mega-panel {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-soft);
}
.marigo-mega-panel h2,
.marigo-mega-panel h3,
.marigo-mega-panel .elementor-icon-box-title,
.marigo-mega-panel .elementor-icon-box-title a { color: var(--color-cream); }
.marigo-mega-panel .elementor-icon-box-description { color: var(--color-on-dark); }
.marigo-mega-blurb {
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: rgba(245, 240, 232, 0.07);
  transition: background-color 200ms var(--ease), transform 220ms var(--ease);
}
.marigo-mega-blurb:hover {
  background: rgba(245, 240, 232, 0.14);
  transform: translateY(-4px);
}
.marigo-mega-blurb .elementor-icon { color: var(--color-yellow); }
.marigo-mega-blurb .elementor-icon-box-title { font-family: var(--font-display); letter-spacing: -0.02em; }
.marigo-mega-video .elementor-wrapper { border-radius: var(--radius-md); overflow: hidden; }
.marigo-mega-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--color-yellow); }
.marigo-mega-note { color: var(--color-on-dark); font-size: 15px; }

/* 8.7 Contact Form 7 - styled to the design, not to CF7 defaults */
.marigo-form .wpcf7-form-control-wrap { display: block; }
.marigo-form label {
  display: block;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--color-red); margin-bottom: var(--space-2);
}
.marigo-form input[type="text"],
.marigo-form input[type="email"],
.marigo-form input[type="tel"],
.marigo-form select,
.marigo-form textarea {
  width: 100%;
  min-height: 56px;
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.marigo-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.marigo-form input::placeholder,
.marigo-form textarea::placeholder { color: #6E675E; }
.marigo-form input:focus,
.marigo-form select:focus,
.marigo-form textarea:focus {
  border-color: var(--color-dark);
  background: var(--color-white);
  outline: none;
}
.marigo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.marigo-form p { margin-bottom: var(--space-5); max-width: none; }
.marigo-form .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 62px; padding: var(--space-5) var(--space-8);
  border: 2px solid transparent; border-radius: var(--radius-pill);
  background: var(--color-red); color: var(--color-white);
  font-family: var(--font-body); font-weight: 800; font-size: 17px; letter-spacing: 0.02em;
  cursor: pointer; width: auto;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.marigo-form .wpcf7-submit:hover { background: var(--color-yellow); color: var(--color-dark); }
.marigo-form .wpcf7-spinner { margin-left: var(--space-3); }
.marigo-form .wpcf7-not-valid-tip { color: var(--color-red); font-size: 14px; font-weight: 700; margin-top: var(--space-2); }
.marigo-form .wpcf7-response-output {
  margin: var(--space-5) 0 0;
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
}
.marigo-form form.sent .wpcf7-response-output { border-color: var(--color-dark); background: var(--color-white); }
.marigo-form form.invalid .wpcf7-response-output,
.marigo-form form.failed .wpcf7-response-output { border-color: var(--color-red); }
.marigo-form-note { font-size: 15px; color: var(--color-muted); margin-top: var(--space-4); }

@media (max-width: 767px) {
  .marigo-form-row { grid-template-columns: 1fr; }
}

/* 8.8 Registration popup template (library only, applied later) */
.marigo-popup { background: var(--color-cream); border-radius: var(--radius-xl); overflow: hidden; }
.marigo-popup-panel { background: var(--color-dark); }
.marigo-popup-title { color: var(--color-cream); }
.marigo-popup-text { color: var(--color-on-dark); }
.marigo-popup-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.marigo-popup-perks li {
  display: flex; gap: var(--space-3); align-items: baseline;
  color: var(--color-cream); font-size: 16px; font-weight: 600;
}
.marigo-popup-perks li::before { content: "\2192"; color: var(--color-yellow); font-weight: 800; }
/* ============================================
   9. ELEMENTOR WIDGET RECONCILIATION
   Elementor's frontend.min.css forces line-height:1 on
   .elementor-heading-title (0,1,0). These per-tag rules
   (0,1,1) restore the design's type scale. Everything else
   in the heading widget is unstyled by Elementor because
   the default colour and typography schemes are disabled.
   ============================================ */
h1.elementor-heading-title { line-height: 0.88; }
h2.elementor-heading-title { line-height: 0.94; }
h3.elementor-heading-title { line-height: 1.1; }
h4.elementor-heading-title,
h5.elementor-heading-title,
h6.elementor-heading-title { line-height: 0.94; }

.showcase-title h2.elementor-heading-title,
.showcase-title h1.elementor-heading-title { line-height: 0.86; }
.quote-text h2.elementor-heading-title,
.quote-text h3.elementor-heading-title { line-height: 1.05; }
.situation-title h3.elementor-heading-title,
.step-title h3.elementor-heading-title,
.cta-strip-text h3.elementor-heading-title { line-height: 1.05; }
.menu-category-title h2.elementor-heading-title { line-height: 1; }
.info-band-val h3.elementor-heading-title { line-height: 1.15; }
.stat-value h3.elementor-heading-title,
.footer-logo h2.elementor-heading-title { line-height: 0.9; }
.signature-price h3.elementor-heading-title,
.cta-phone h3.elementor-heading-title { line-height: 1; }

/* Headings inherit their colour from the panel they sit in
   (.panel-dark, .cta-panel, .situation-card--dark all set colour). */
.elementor-widget-heading .elementor-heading-title { color: inherit; }

/* Elementor widgets inside a grid cell must not stretch the cell. */
.e-con > .elementor-widget { min-width: 0; }

/* The button widget is not used for CTAs (the design uses .cta-button
   on a link), but where it appears it must not carry Elementor's chrome. */
.elementor-widget-button .elementor-button {
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
  fill: currentColor;
}
.elementor-widget-button.cta-button .elementor-button,
.elementor-widget-button.food-card-order .elementor-button,
.elementor-widget-button.situation-link .elementor-button,
.elementor-widget-button.cta-phone .elementor-button,
.elementor-widget-button.menu-category-link .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.elementor-widget-button.cta-button,
.elementor-widget-button.food-card-order,
.elementor-widget-button.cta-phone { width: auto; }
.elementor-widget-button .elementor-button-content-wrapper { gap: var(--space-2); }

/* Anchor targets sit under the sticky header. */
.menu-category { scroll-margin-top: 140px; }
/* ============================================
   10. ELEMENTOR BUTTON WIDGET -> DESIGN BUTTONS
   Buttons stay real Elementor Button widgets so text, link
   and icon remain editable in the UI. The design's own
   .cta-button rules are left untouched for raw <a> markup;
   these mg-btn-* markers map the widget's inner <a> instead,
   which avoids styling the widget wrapper and the anchor twice.
   ============================================ */

/* The widget wrapper is layout-only. */
.elementor-widget-button.mg-btn { width: auto; max-width: 100%; }
.elementor-widget-button.mg-btn .elementor-button-wrapper { display: flex; }
.elementor-widget-button.mg-btn.mg-btn--block,
.elementor-widget-button.mg-btn.mg-btn--block .elementor-button-wrapper { width: 100%; }

/* Base pill, mirroring .cta-button. */
.elementor-widget-button.mg-btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: var(--space-4) var(--space-7);
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 800; font-size: 16px; letter-spacing: 0.02em;
  line-height: 1.2; text-align: center; white-space: nowrap; cursor: pointer;
  background: transparent; color: var(--color-dark); fill: currentColor;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.elementor-widget-button.mg-btn .elementor-button:active { transform: scale(0.98); }

/* Round order button on a food card (.food-card-order). */
.elementor-widget-button.mg-btn--round { flex: 0 0 auto; }
.elementor-widget-button.mg-btn--round .elementor-button {
  width: 46px; height: 46px; min-height: 46px; padding: 0;
  border: 0; border-radius: var(--radius-pill);
  background: var(--color-cream); color: var(--color-dark);
  font-size: 19px; font-weight: 700;
}
.food-card:hover .elementor-widget-button.mg-btn--round .elementor-button,
.elementor-widget-button.mg-btn--round .elementor-button:hover { background: var(--color-yellow); color: var(--color-dark); }

/* Rows of buttons wrap like .hero-actions / .tag-row do. */
.e-con.header-inner, .e-con.marquee-track, .e-con.header-actions, .e-con.eyebrow-row { display: flex; }

/* Nested accordion renders <details>/<summary>; map it onto .faq-item. */
.faq-list .e-n-accordion { display: grid; gap: var(--space-3); }
.faq-list .e-n-accordion-item {
  background: var(--color-white); border: 0; border-radius: var(--radius-md);
  padding: var(--space-5) clamp(20px, 2.4vw, 32px);
}
.faq-list .e-n-accordion-item-title {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  cursor: pointer; list-style: none; min-height: 44px; padding: 0; background: transparent;
}
.faq-list .e-n-accordion-item-title::-webkit-details-marker { display: none; }
.faq-list .e-n-accordion-item-title-header,
.faq-list .e-n-accordion-item-title-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.2;
  color: var(--color-dark); margin: 0;
}
.faq-list .e-n-accordion-item-title-icon { color: var(--color-red); }
.faq-list .e-n-accordion-item-title-icon svg { width: 20px; height: 20px; fill: currentColor; }
.faq-list .e-n-accordion-item > .e-con { padding-top: var(--space-4); }
.faq-list .e-n-accordion-item p { color: var(--color-muted); margin: 0; }
/* ============================================
   11. NESTED ACCORDION (FAQ)
   widget-nested-accordion.min.css is enqueued after this
   stylesheet, so the mapping is driven through the widget's
   own CSS custom properties (set at .elementor-widget-n-accordion.faq-list,
   0,2,0) which beat Elementor's 0,1,0 defaults regardless of order.
   ============================================ */
.elementor-widget-n-accordion.faq-list {
  --n-accordion-border-width: 0px;
  --n-accordion-border-color: transparent;
  --n-accordion-border-radius: var(--radius-md);
  --n-accordion-padding: 0px;
  --n-accordion-item-title-space-between: var(--space-3);
  --n-accordion-item-title-distance-from-content: var(--space-4);
  --n-accordion-title-justify-content: space-between;
  --n-accordion-title-flex-grow: 1;
  --n-accordion-item-title-flex-grow: 1;
  --n-accordion-title-normal-color: var(--color-dark);
  --n-accordion-title-hover-color: var(--color-dark);
  --n-accordion-title-active-color: var(--color-dark);
  --n-accordion-icon-normal-color: var(--color-red);
  --n-accordion-icon-hover-color: var(--color-red);
  --n-accordion-icon-active-color: var(--color-red);
  --n-accordion-icon-size: 20px;
  --n-accordion-icon-gap: 0 var(--space-4);
}
.faq-list .e-n-accordion-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-5) clamp(20px, 2.4vw, 32px);
}
.faq-list .e-n-accordion-item-title-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: inherit;
}
.faq-list .e-n-accordion-item > .e-con { border: 0; padding: 0; }
.faq-list .e-n-accordion-item p { color: var(--color-muted); margin: 0; }
.faq-list .e-n-accordion-item-title { min-height: 44px; }
/* ============================================
   12. HEADER, MEGA MENU AND FOOTER (XPRO templates)
   ============================================ */

/* The pill needs a positioning context for the mega panel. */
.e-con.header-inner { position: relative; }
.e-con.header-nav { display: flex; }
.e-con.header-nav-link { flex: 0 0 auto; }

/* Nav items are linked containers, so the design's .header-nav-link
   styles land on a real <a>. */
.e-con.header-nav-link .elementor-heading-title { font-size: 15px; font-weight: 600; color: inherit; letter-spacing: 0; }
.e-con.header-nav-link:hover { background: rgba(245, 240, 232, 0.12); color: var(--color-white); }
.e-con.header-nav-link.is-current { background: rgba(245, 240, 232, 0.12); color: var(--color-white); }

/* Mega menu ------------------------------------------------ */
.e-con.marigo-mega { position: static; flex: 0 0 auto; }
.marigo-mega-trigger { cursor: pointer; }
.marigo-mega-trigger .elementor-heading-title::after {
  content: "▾"; margin-left: 6px; font-size: 11px; opacity: 0.65;
}
.e-con.marigo-mega-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0; right: 0;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 200ms var(--ease), transform 260ms var(--ease), visibility 260ms;
  z-index: 90;
}
.e-con.marigo-mega:hover .marigo-mega-panel,
.e-con.marigo-mega:focus-within .marigo-mega-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.e-con.marigo-mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: var(--space-5);
  align-items: start;
}
.e-con.marigo-mega-head { display: flex; margin-bottom: var(--space-5); }
.marigo-mega-panel .xpro-icon-box-title,
.marigo-mega-panel .xpro-icon-box-title a {
  font-family: var(--font-display); font-weight: 800;
  font-size: 19px; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--color-cream);
}
.marigo-mega-panel .xpro-icon-box-description { color: var(--color-on-dark); font-size: 14px; line-height: 1.5; }
.marigo-mega-panel .xpro-icon-box-icon i,
.marigo-mega-panel .xpro-icon-box-icon svg { color: var(--color-yellow); fill: var(--color-yellow); }
.marigo-mega-blurb:hover .xpro-icon-box-title,
.marigo-mega-blurb:hover .xpro-icon-box-title a { color: var(--color-white); }
.e-con.marigo-mega-aside { display: grid; gap: var(--space-4); }
.marigo-mega-video .elementor-wrapper,
.marigo-mega-video .elementor-video { border-radius: var(--radius-md); overflow: hidden; }
.marigo-mega-video .elementor-widget-container { border-radius: var(--radius-md); overflow: hidden; }

/* Below the desktop breakpoint the pill nav and mega menu give way
   to the XPRO responsive menu, exactly as the static build did. */
.e-con.header-nav, .e-con.header-order { display: flex; }
@media (max-width: 1199px) {
  .e-con.header-nav, .e-con.header-order { display: none; }
  .e-con.marigo-mega-panel { display: none; }
}
@media (min-width: 1200px) {
  .header-mobile-nav { display: none; }
}

/* XPRO responsive menu toggle, restyled to the design's round button. */
.header-mobile-nav .xpro-menu-toggle,
.header-mobile-nav .xpro-nav-menu-toggle {
  width: 52px; height: 52px; border: 0; border-radius: var(--radius-pill);
  background: rgba(245, 240, 232, 0.12); color: var(--color-cream);
  display: inline-flex; align-items: center; justify-content: center;
}

/* Footer ---------------------------------------------------- */
.e-con.footer-inner { display: flex; }
.e-con.footer-meta { display: flex; }
.footer-logo .elementor-heading-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 6vw, 86px); line-height: 0.9;
  letter-spacing: -0.04em; color: var(--color-cream);
}
.footer-logo .elementor-heading-title span { color: var(--color-red); }
.footer-meta .elementor-widget-text-editor,
.footer-meta p { font-size: 15px; color: rgba(245, 240, 232, 0.6); margin: 0; }
.footer-meta a { color: rgba(245, 240, 232, 0.85); font-weight: 600; }
.footer-meta a:hover { color: var(--color-yellow); }

/* Header wordmark (XPRO heading widget). */
.header-logo .xpro-heading-title,
.header-logo .elementor-heading-title {
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  letter-spacing: -0.03em; color: var(--color-cream); line-height: 1;
  margin: 0; display: inline-flex; align-items: center; gap: var(--space-2);
}
.header-logo .xpro-heading-title a,
.header-logo .elementor-heading-title a { color: inherit; }
.header-logo .xpro-heading-title::after,
.header-logo .elementor-heading-title::after {
  content: ""; width: 9px; height: 9px; border-radius: var(--radius-pill);
  background: var(--color-red); display: inline-block;
}
/* ============================================
   13. XPRO WIDGET MAPPING (header / footer / mega menu)
   ============================================ */

/* XPRO Button -> the design's pill button. */
.mg-xbtn .xpro-elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: var(--space-4) var(--space-7);
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 800; font-size: 16px; letter-spacing: 0.02em;
  line-height: 1.2; white-space: nowrap; text-align: center;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.mg-xbtn .xpro-elementor-button:active { transform: scale(0.98); }
.mg-xbtn--primary .xpro-elementor-button { background: var(--color-red); color: var(--color-white); }
.mg-xbtn--primary .xpro-elementor-button:hover { background: var(--color-yellow); color: var(--color-dark); }
.mg-xbtn--on-dark .xpro-elementor-button { background: transparent; color: var(--color-cream); border-color: rgba(245, 240, 232, 0.35); }
.mg-xbtn--on-dark .xpro-elementor-button:hover { background: var(--color-cream); color: var(--color-dark); border-color: var(--color-cream); }
.mg-xbtn--secondary .xpro-elementor-button { background: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.mg-xbtn--secondary .xpro-elementor-button:hover { background: var(--color-dark); color: var(--color-cream); }
.mg-xbtn .xpro-button-text { font: inherit; letter-spacing: inherit; }

/* XPRO Heading: the focus span carries the design's red accent. */
.footer-logo .xpro-title-focus { color: var(--color-red); }
.header-logo .xpro-heading-wrapper,
.footer-logo .xpro-heading-wrapper { display: inline-flex; }
.header-logo .xpro-heading-title { display: inline-flex; align-items: center; gap: var(--space-2); }

/* XPRO Icon Box as a mega-menu blurb. */
.marigo-mega-blurb .xpro-box-icon-wrapper {
  display: block;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: rgba(245, 240, 232, 0.07);
  transition: background-color 200ms var(--ease), transform 220ms var(--ease);
  height: 100%;
}
.marigo-mega-blurb .xpro-box-icon-wrapper:hover {
  background: rgba(245, 240, 232, 0.14);
  transform: translateY(-4px);
}
.marigo-mega-blurb .xpro-box-icon-item svg,
.marigo-mega-blurb .xpro-box-icon-item i {
  width: 26px; height: 26px; font-size: 24px;
  color: var(--color-yellow); fill: var(--color-yellow);
  margin-bottom: var(--space-4);
}
.marigo-mega-blurb .xpro-box-title,
.marigo-mega-blurb .xpro-box-title a,
.marigo-mega-blurb h4 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 19px; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--color-cream); margin: 0 0 var(--space-2);
}
.marigo-mega-blurb .xpro-box-description,
.marigo-mega-blurb p {
  color: var(--color-on-dark); font-size: 14px; line-height: 1.5; margin: 0;
}
.marigo-mega-blurb .xpro-box-icon-wrapper:hover .xpro-box-title,
.marigo-mega-blurb .xpro-box-icon-wrapper:hover h4 { color: var(--color-white); }

/* XPRO responsive menu inside the dark header pill. */
.header-mobile-nav .xpro-elementor-horizontal-navbar-wrapper { --xpro-toggle-size: 52px; }
.header-mobile-nav .xpro-elementor-menu-toggle,
.header-mobile-nav .xpro-elementor-horizontal-menu-toggle {
  width: 52px; height: 52px; border: 0; border-radius: var(--radius-pill);
  background: rgba(245, 240, 232, 0.12); color: var(--color-cream);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.header-mobile-nav .xpro-elementor-horizontal-navbar-nav a { font-family: var(--font-body); font-weight: 600; }

/* XPRO Contact Form 7 widget wrapper inherits the design's form styles. */
.marigo-form .xpro-cf7-wrapper { display: block; }
/* ============================================
   14. REGISTRATION POPUP + MAP
   ============================================ */
.e-con.marigo-popup {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  max-width: 900px;
}
.e-con.marigo-popup-panel {
  padding: clamp(32px, 4vw, 56px);
  display: grid; gap: var(--space-5); align-content: center;
}
.e-con.marigo-popup-form {
  padding: clamp(32px, 4vw, 56px);
  background: var(--color-cream);
  display: grid; gap: var(--space-5); align-content: center;
  border-radius: 0;
}
.marigo-popup-title h2 { font-size: clamp(28px, 3.2vw, 42px); }
.marigo-popup-form h3 { font-size: 22px; margin-bottom: 0; }
@media (max-width: 767px) {
  .e-con.marigo-popup { grid-template-columns: 1fr; }
}

/* Elementor Google Maps widget inside .location-map */
.location-map .elementor-widget-google_maps,
.location-map .elementor-custom-embed { height: 100%; }
.location-map iframe { display: block; width: 100%; border: 0; }
/* ============================================
   15. FINAL CORRECTIONS (verified against rendered markup)
   XPRO Icon Box emits .xpro-box-icon-title / .xpro-box-icon-description.
   ============================================ */
.marigo-mega-blurb .xpro-box-icon-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 19px; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--color-cream); margin: 0 0 var(--space-2);
}
.marigo-mega-blurb .xpro-box-icon-description {
  color: var(--color-on-dark); font-size: 14px; line-height: 1.5; margin: 0;
}
.marigo-mega-blurb .xpro-box-icon-wrapper:hover .xpro-box-icon-title { color: var(--color-white); }
.marigo-mega-blurb .xpro-box-icon-content { display: block; }
.marigo-mega-blurb .xpro-box-icon-item svg { width: 26px; height: 26px; display: block; margin-bottom: var(--space-4); }

/* The video + CTA column spans both blurb rows. */
.e-con.marigo-mega-grid > .marigo-mega-aside { grid-row: span 2; }
@media (max-width: 1399px) {
  .e-con.marigo-mega-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .e-con.marigo-mega-grid > .marigo-mega-aside { grid-row: auto; grid-column: span 2; }
}
/* ============================================
   16. HEADER LAYOUT FIX
   Elementor sets --width:100% on EVERY nested container. Inside the
   header pill the parts must size to their content instead, the way the
   static build's inline elements did. Without this the five nav links
   each claim the full bar width, cannot shrink, and overflow off-screen
   so only the first one is visible.
   ============================================ */
.e-con.header-logo,
.e-con.header-actions,
.e-con.header-nav,
.e-con.header-nav-link,
.e-con.marigo-mega,
.e-con.header-order,
.e-con.header-mobile-nav { width: auto; max-width: none; }

.e-con.header-inner {
  display: flex; flex-direction: row; flex-wrap: nowrap;
  align-items: center; justify-content: space-between;
  gap: var(--space-4);
}

.e-con.header-logo {
  flex: 0 0 auto;
  display: flex; flex-direction: row; align-items: center;
}
/* The red dot comes from the heading widget; suppress the design's
   container-level ::after so it cannot render a second time below. */
.e-con.header-logo::after { content: none; display: none; }

.e-con.header-actions {
  flex: 0 0 auto;
  display: flex; flex-direction: row; flex-wrap: nowrap;
  align-items: center; gap: var(--space-2);
}

.e-con.header-nav {
  flex: 0 1 auto;
  display: flex; flex-direction: row; flex-wrap: nowrap;
  align-items: center; gap: var(--space-1);
}

.e-con.header-nav-link {
  flex: 0 0 auto;
  display: flex; flex-direction: row;
  align-items: center; justify-content: center;
}

.e-con.marigo-mega {
  flex: 0 0 auto;
  display: flex; flex-direction: row; align-items: center;
}

.e-con.header-order { flex: 0 0 auto; margin-left: var(--space-2); }

/* Match the design's nav exactly: no dropdown caret. */
.marigo-mega-trigger .elementor-heading-title::after { content: none; }

/* Active page pill (aria-current is set by main.js). */
.e-con.header-nav-link[aria-current="page"] {
  background: rgba(245, 240, 232, 0.12);
  color: var(--color-white);
}
/* ============================================
   17. HEADER RESPONSIVE (must stay last)
   Media queries add no specificity, so these have to come after the
   section 16 display rules or the desktop nav would reappear on mobile.
   ============================================ */
@media (max-width: 1199px) {
  .e-con.header-nav,
  .e-con.header-order { display: none; }
  .e-con.marigo-mega-panel { display: none; }
}
@media (min-width: 1200px) {
  .e-con.header-mobile-nav { display: none; }
}
/* ============================================
   18. MOBILE MENU (design's own panel, via shortcode widgets)
   The toggle and the drop-down panel are rendered by the
   [marigo_mobile_toggle] / [marigo_mobile_menu] shortcodes so main.js
   finds the data attributes it listens for. These rules keep Elementor's
   widget wrappers from interfering with the design's own styles.
   ============================================ */

/* Widget wrappers are pass-through only. */
.header-toggle-slot,
.header-toggle-slot .elementor-widget-shortcode,
.header-toggle-slot .elementor-widget-container,
.header-toggle-slot .elementor-shortcode { display: contents; }

.header-mobile-slot .elementor-widget-container,
.header-mobile-slot .elementor-shortcode { display: block; }
.header-mobile-slot p { margin: 0; }

/* The toggle is hidden on desktop and shown in the pill below 1200px,
   exactly as the static build did. */
.header-mobile-toggle {
  display: none;
  width: 52px; height: 52px; flex: 0 0 auto;
  border: 0; border-radius: var(--radius-pill);
  background: rgba(245, 240, 232, 0.12);
  color: var(--color-cream);
  cursor: pointer; font-size: 20px; line-height: 1;
  align-items: center; justify-content: center;
  font-family: var(--font-body);
}
.header-mobile-toggle:hover { background: rgba(245, 240, 232, 0.2); }

/* The panel: dark, rounded, dropped below the pill. */
.header-mobile-menu { display: none; }
.header-mobile-menu.is-open { display: block; }
.header-mobile-menu ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-1); }
.header-mobile-menu .header-nav-link {
  display: flex; align-items: center;
  padding: var(--space-4); font-size: 17px; min-height: 48px;
  border-radius: var(--radius-pill); color: var(--color-cream);
}
.header-mobile-menu .header-nav-link:hover,
.header-mobile-menu .header-nav-link[aria-current="page"] {
  background: rgba(245, 240, 232, 0.12); color: var(--color-white);
}
.header-mobile-menu .cta-button { width: 100%; }

@media (max-width: 1199px) {
  .header-mobile-toggle { display: inline-flex; }
}
@media (min-width: 1200px) {
  .header-mobile-slot,
  .header-mobile-menu { display: none !important; }
}
/* ============================================
   19. TOGGLE SLOT (supersedes the display:contents in section 18)
   A plain flex item is more predictable across browsers, and hiding the
   slot outright on desktop stops it contributing an empty flex gap.
   ============================================ */
.e-con.header-toggle-slot {
  display: none;
  width: auto; max-width: none;
  flex: 0 0 auto;
  align-items: center;
}
.header-toggle-slot .elementor-widget-shortcode,
.header-toggle-slot .elementor-widget-container,
.header-toggle-slot .elementor-shortcode { display: flex; align-items: center; width: auto; }

@media (max-width: 1199px) {
  .e-con.header-toggle-slot { display: flex; }
}
/* ============================================
   21. REVEAL STATES
   Elementor Free cannot write the [data-reveal] attribute the design's CSS
   keyed off, so the equivalent classes carry the pre-reveal state instead.
   Scoped to .marigo-js (set in <head> before paint) so nothing can stay
   invisible if JavaScript never runs.
   ============================================ */
.marigo-js .reveal-up,
.marigo-js .reveal-fade,
.marigo-js .reveal-scale {
  opacity: 0;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: transform, opacity;
}
.marigo-js .reveal-up { transform: translateY(24px); }
.marigo-js .reveal-fade { transform: none; }
.marigo-js .reveal-scale { transform: scale(0.96); }

.marigo-js .reveal-up.is-visible,
.marigo-js .reveal-fade.is-visible,
.marigo-js .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* GSAP drives .split-media images with a clip-path wipe; it must not start
   scaled down as well, or the two treatments fight each other. */
.marigo-js .split-media.reveal-scale { transform: none; }

/* prefers-reduced-motion: nothing is ever hidden. */
@media (prefers-reduced-motion: reduce) {
  .marigo-js .reveal-up,
  .marigo-js .reveal-fade,
  .marigo-js .reveal-scale { opacity: 1; transform: none; }
}

/* ============================================================
   22. MOBILE MENU LINK CENTERING (must stay after section 18)
   ============================================================ */
.header-mobile-menu .header-nav-link {
  justify-content: center;
  text-align: center;
}


/* ============================================================
   26. MOBILE MENU AS OVERLAY (no layout shift when opened)
   .header-mobile-slot (the shortcode widget) is an Elementor
   widget, which is position:relative by default — that makes it
   the containing block for the panel below. By taking the panel
   out of normal flow entirely, opening it can never push page
   content down, on any device.
   ============================================================ */
.header-mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 55;
}

/* ============================================================
   36. FAQ ACCORDION — title left, +/- icon right
   Elementor defaults --n-accordion-title-icon-order to -1, which
   flex-orders the icon BEFORE the title even though it comes
   second in the markup. That pushed the question text to the
   right. Ordering the icon last restores the design.
   ============================================================ */
.elementor-widget-n-accordion.faq-list {
  --n-accordion-title-icon-order: 1;
  --n-accordion-title-justify-content: space-between;
  --n-accordion-item-title-distance-from-content: var(--space-4);
  --n-accordion-item-title-space-between: var(--space-3);
}

.faq-list .e-n-accordion-item-title {
  flex-direction: row;
  align-items: center;
  text-align: left;
}
.faq-list .e-n-accordion-item-title-header {
  order: 0;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  text-align: left;
}
.faq-list .e-n-accordion-item-title-header h3 {
  text-align: left;
  width: 100%;
}
.faq-list .e-n-accordion-item-title-icon {
  order: 1;
  flex: 0 0 auto;
  margin-left: auto;
}

/* Answer block lines up with the question text. */
.faq-list .e-n-accordion-item > .e-con { text-align: left; }
.faq-list .e-n-accordion-item p { text-align: left; }


/* ============================================================
   37. FAQ ACCORDION — SQUASH/OVERLAP BUG FIX

   Elementor animates the <details> card's height to:
     open  -> titleHeight + contentHeight
     close -> titleHeight
   (nested-accordion bundle, openAccordionItem/closeAccordionItem).
   Both read offsetHeight, so ANY vertical space that lives on the
   <details> itself, or in a margin, is invisible to that maths and
   the card animates to a height that is too short — the question
   text then overflows its own card and overlaps the next one.

   Fix: all vertical spacing moves into boxes Elementor measures
   — the summary's own padding and the content's own padding.
   The card keeps only background + radius.
   ============================================================ */
.elementor-widget-n-accordion.faq-list {
  /* Applies to .e-n-accordion-item-title (the summary) — measured. */
  --n-accordion-padding: var(--space-5) clamp(20px, 2.4vw, 32px);
  /* Was a margin on the title: margins are NOT in offsetHeight. */
  --n-accordion-item-title-distance-from-content: 0px;
}

.faq-list .e-n-accordion-item {
  padding: 0;
  background: var(--color-white);
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-list .e-n-accordion-item-title {
  padding: var(--space-5) clamp(20px, 2.4vw, 32px);
  margin: 0;
}

/* Content padding IS included in contentHeight, so the gap under the
   question and the card's bottom breathing room both live here. */
.faq-list .e-n-accordion-item > .e-con {
  border: 0;
  margin: 0;
  padding: 0 clamp(20px, 2.4vw, 32px) var(--space-5);
}


/* ============================================================
   38. FAQ ACCORDION — take the height animation away from JS

   Elementor animates the card's height to a value it computes as
   titleHeight + contentHeight. Whatever it measures, the card is
   briefly sized to that number instead of to its real content, so
   the card visibly snaps at the end of every open/close.

   Per the CSS cascade, an !important author declaration outranks
   declarations coming from animations and from inline styles, so
   this pins the card to its natural height at all times. Elementor's
   JS still runs and still owns the open/closed state — it just can
   no longer resize the box. Result: a plain, instant toggle.
   ============================================================ */
.faq-list .e-n-accordion-item {
  height: auto !important;
  overflow: visible !important;
}


/* ============================================================
   39. FAQ ACCORDION — smooth opening, done in CSS

   The card height stays out of Elementor's hands (section 38), so
   the motion is driven here instead, by animating the grid row the
   answer sits in from 0fr to 1fr. Nothing is measured, so it cannot
   mis-size the card the way the JS animation did.

   A keyframe animation is used rather than a transition on purpose:
   the answer goes from display:none to visible on open, and CSS
   transitions do not run across a display change — animations do.

   Timing: 360ms on the site's own --ease token. That sits between
   the hover micro-interactions (180ms) and the scroll reveals
   (600ms), which is where a panel opening belongs.
   ============================================================ */
.faq-list .e-n-accordion-item {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden !important;
}

.faq-list .e-n-accordion-item > .e-con {
  overflow: hidden;
  min-height: 0;
}

.faq-list .e-n-accordion-item[open] {
  animation: mg-faq-open 360ms var(--ease);
}
.faq-list .e-n-accordion-item[open] > .e-con {
  animation: mg-faq-fade 360ms var(--ease);
}

@keyframes mg-faq-open {
  from { grid-template-rows: auto 0fr; }
  to   { grid-template-rows: auto 1fr; }
}
@keyframes mg-faq-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-list .e-n-accordion-item[open],
  .faq-list .e-n-accordion-item[open] > .e-con { animation: none; }
}


/* ============================================================
   41. MEGA MENU — REBUILD (desktop dropdown)

   Positioning bug: the panel is absolutely positioned with
   left:0;right:0, but every Elementor container is position:relative
   by default, so its containing block was .header-nav (the little
   strip holding the 5 links) instead of the full header pill. That
   is why it rendered as a narrow column glued under 'Meni'.
   Making the two wrappers static hands the panel back to
   .header-inner, which is the element we set position:relative on.
   ============================================================ */
.e-con.header-actions,
.e-con.header-nav { position: static; }

.e-con.marigo-mega-panel {
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  padding: var(--space-6) var(--space-7) var(--space-7);
}

.e-con.marigo-mega-inner { display: block; width: 100%; max-width: none; padding: 0; }

.e-con.marigo-mega-head {
  display: flex; align-items: baseline; gap: var(--space-4);
  flex-wrap: wrap; width: 100%; max-width: none;
  padding: 0 0 var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
}
.marigo-mega-eyebrow .elementor-heading-title {
  font-family: var(--font-body); font-size: 13px; font-weight: 800;
  letter-spacing: 0.16em; color: var(--color-yellow);
}
.marigo-mega-note { color: var(--color-on-dark); font-size: 14px; }
.marigo-mega-note p { margin: 0; }

.e-con.marigo-mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: var(--space-6);
  align-items: start;
  width: 100%; max-width: none; padding: 0;
}

.e-con.marigo-mega-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  width: 100%; max-width: none; padding: 0;
}

/* Dish card ------------------------------------------------- */
.e-con.marigo-mega-dish {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; gap: var(--space-4);
  width: auto; max-width: none;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: rgba(245, 240, 232, 0.06);
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
.e-con.marigo-mega-dish:hover {
  background: rgba(245, 240, 232, 0.14);
  transform: translateY(-2px);
}
.e-con.marigo-mega-dish-main { width: auto; max-width: none; padding: 0; flex: 1 1 auto; min-width: 0; }
.marigo-mega-dish-name .elementor-heading-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 17px; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--color-cream);
}
.marigo-mega-dish-note { color: var(--color-on-dark); font-size: 13px; line-height: 1.45; margin-top: 4px; }
.marigo-mega-dish-note p { margin: 0; }
.marigo-mega-dish-price .elementor-heading-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 18px; letter-spacing: -0.02em; white-space: nowrap;
  color: var(--color-red);
}
.e-con.marigo-mega-dish:hover .marigo-mega-dish-price .elementor-heading-title { color: var(--color-yellow); }

/* 'Ostalo' row spans both columns and leads to the menu page. */
.e-con.marigo-mega-more {
  grid-column: 1 / -1;
  display: flex; flex-direction: row; align-items: center;
  gap: var(--space-4);
  width: auto; max-width: none;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 240, 232, 0.18);
  background: transparent;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}
.e-con.marigo-mega-more:hover { background: var(--color-red); border-color: var(--color-red); }
.marigo-mega-more-label .elementor-heading-title {
  font-family: var(--font-body); font-weight: 800; font-size: 14px;
  letter-spacing: 0.14em; color: var(--color-cream);
}
.marigo-mega-more-note { color: var(--color-on-dark); font-size: 13px; flex: 1 1 auto; }
.marigo-mega-more-note p { margin: 0; }
.marigo-mega-more-mark .elementor-heading-title { font-size: 18px; color: var(--color-cream); }
.e-con.marigo-mega-more:hover .marigo-mega-more-note,
.e-con.marigo-mega-more:hover .marigo-mega-more-label .elementor-heading-title,
.e-con.marigo-mega-more:hover .marigo-mega-more-mark .elementor-heading-title { color: var(--color-white); }

/* Aside: video + call button -------------------------------- */
.e-con.marigo-mega-aside {
  display: grid; gap: var(--space-4);
  width: 100%; max-width: none; padding: 0;
}
.marigo-mega-video,
.marigo-mega-video .elementor-widget-container,
.marigo-mega-video .elementor-wrapper {
  width: 100%; max-width: none;
  border-radius: var(--radius-md); overflow: hidden;
}
.marigo-mega-video .elementor-wrapper iframe { display: block; width: 100%; height: 100%; }


/* ============================================================
   42. MEGA MENU — no video / no button, desktop only
   The aside column (video + button) is gone from the template, so
   the grid collapses to a single full-width column of dishes.
   ============================================================ */
.e-con.marigo-mega-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.e-con.marigo-mega-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

/* The dropdown is a desktop-only affordance. Below the desktop
   breakpoint the pill nav is replaced by the mobile panel, so the
   mega menu must never appear — asserted here regardless of any
   earlier rule, since media queries carry no extra specificity. */
@media (max-width: 1199px) {
  .e-con.marigo-mega,
  .e-con.marigo-mega-panel { display: none !important; }
}


/* ============================================
   43. CENOVNIK (stranica Meni)
   ============================================ */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-item { padding: var(--space-2) var(--space-2); }
.price-row {
  display: flex; align-items: baseline; gap: var(--space-3);
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(15px, 1.25vw, 18px); letter-spacing: 0.01em;
  color: var(--color-dark);
}
.price-name small { font-weight: 600; font-size: 0.9em; color: var(--color-muted); margin-left: var(--space-2); }
.price-dots { flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted rgba(17, 17, 17, 0.28); transform: translateY(-4px); }
.price-val { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; color: var(--color-red); white-space: nowrap; }
.price-item--signature .price-name { color: var(--color-red); }
.price-desc { margin: var(--space-1) 0 0; max-width: 46ch; font-size: 14px; line-height: 1.45; color: var(--color-muted); }
.price-list-wrap p { max-width: none; }
.marigo-review-by { margin-top: auto; }

/* ============================================================
   44. MEGA MENU — kompaktna verzija (desktop)
   Panel vise nije sirok kao ceo header: fiksna sirina, centriran
   ispod navigacije, manji paddinzi i manja slova na karticama.
   ============================================================ */
@media (min-width: 1200px) {
  .e-con.marigo-mega-panel {
    left: 0; right: 0;
    width: 640px; max-width: calc(100% - 48px);
    margin-inline: auto;
    top: calc(100% + 10px);
    padding: var(--space-5);
    border-radius: var(--radius-md);
  }
  .e-con.marigo-mega-head {
    padding: 0 0 var(--space-3);
    margin-bottom: var(--space-4);
    gap: var(--space-3);
  }
  .marigo-mega-eyebrow .elementor-heading-title { font-size: 11px; }
  .marigo-mega-note { font-size: 12px; }
  .e-con.marigo-mega-items { gap: 8px; }
  .e-con.marigo-mega-dish {
    padding: 12px var(--space-4);
    gap: var(--space-3);
    border-radius: 14px;
  }
  .marigo-mega-dish-name .elementor-heading-title { font-size: 15px; }
  .marigo-mega-dish-note { font-size: 12px; margin-top: 2px; line-height: 1.35; }
  .marigo-mega-dish-price .elementor-heading-title { font-size: 15px; }
  .e-con.marigo-mega-more {
    padding: 12px var(--space-4);
    border-radius: 14px;
  }
  .marigo-mega-more-label .elementor-heading-title { font-size: 12px; }
  .marigo-mega-more-note { font-size: 12px; }
  .marigo-mega-more-mark .elementor-heading-title { font-size: 15px; }
}
