/* =========================================================================
   Zumi Sushi — Elementor bridge
   Neutralises Hello Elementor / Elementor defaults so widgets the client
   drags in later inherit the design system instead of Elementor's defaults.
   ========================================================================= */

body.zumi.elementor-default,
body.zumi.hello-elementor-default {
  background: var(--zumi-bg);
}

/* Elementor grid containers */
body.zumi .elementor-element.e-con {
  --padding-top: 0;
  --padding-bottom: 0;
}

body.zumi .e-con > .e-con-inner {
  gap: var(--zumi-gap, 20px);
}

/* Headings added by the client inherit the display face unless they opt out */
body.zumi .elementor-widget-heading .elementor-heading-title {
  font-family: var(--zumi-serif);
  font-weight: 400;
  color: var(--zumi-cream);
}

body.zumi .elementor-widget-text-editor {
  font-family: var(--zumi-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--zumi-muted);
}

body.zumi .elementor-widget-text-editor p {
  margin: 0 0 0.9em;
}

body.zumi .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

body.zumi .elementor-widget-text-editor a {
  color: var(--zumi-cream);
  border-bottom: 1px solid var(--zumi-line-strong);
}

body.zumi .elementor-widget-text-editor a:hover {
  border-color: var(--zumi-gold);
}

/* Buttons */
body.zumi .elementor-widget-button .elementor-button {
  border: 0;
  border-radius: 2px;
  background: var(--zumi-cream);
  color: var(--zumi-ink);
  font-family: var(--zumi-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 16px 26px;
}

body.zumi .elementor-widget-button .elementor-button:hover {
  background: var(--zumi-white);
}

/* Images */
body.zumi .elementor-widget-image img {
  border-radius: 0;
}

/* Icon lists, dividers, spacers the client might add */
body.zumi .elementor-widget-divider .elementor-divider-separator {
  border-top: 1px solid var(--zumi-line);
}

body.zumi .elementor-widget-icon-list .elementor-icon-list-item {
  font-family: var(--zumi-sans);
  font-size: 12px;
  color: var(--zumi-cream-soft);
}

/* Elementor lightbox keeps its own dark styling */
body.zumi .elementor-lightbox {
  background: rgba(8, 7, 6, 0.96);
}

/* Hide the default Hello Elementor footer/header wrappers we replace ourselves */
body.zumi .site-header,
body.zumi .site-footer {
  display: none;
}

/* Elementor's "post title" widget is not used: the design owns every heading */
body.zumi .elementor-widget-theme-post-title {
  display: none;
}

/* Keep Elementor inline widths from overriding the section system on small screens */
@media (max-width: 1024px) {
  body.zumi .elementor-element[class*="elementor-widget__width"] {
    width: 100% !important;
  }
}
