/* Eddy's Cantina Mexican Restaurant — Authentic Brand-Locked 4-Pillar Stylesheet
   Palette: Mexican Flag Deep Red (#A50800), Vibrant Cantina Green (#15803D / #4FAF58),
   Direct-Response Orange CTA (#FF7A00 / #FF5F1F), Crisp White Surfaces (#FFFFFF / #F5F5F3),
   Charcoal Readable Ink (#1F1F1F / #333333), Jet-Black Footer (#0A0A0A). */

:root {
  --bg-white: #ffffff;
  --bg-soft: #f5f5f3;
  --bg-band: #ebebea;
  --bg-footer: #0a0a0a;
  --cantina-red: #a50800;
  --cantina-red-dark: #820600;
  --cantina-green: #149414;
  --cantina-green-btn: #4fb058;
  --cantina-green-hover: #3d9445;
  --cantina-orange: #ff7a00;
  --cantina-orange-hover: #e65c00;
  --cantina-gold: #f5a623;

  --ink-strong: #1c1c1c;
  --ink-body: #333333;
  --ink-muted: #5c5c5c;
  --border-light: #e2e2de;
  --border-dark: rgba(255, 255, 255, 0.16);

  --font-head: "Montserrat", "Noto Sans TC", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Noto Sans TC", system-ui, -apple-system, sans-serif;
  --max-w: 1180px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--bg-white);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--cantina-red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--cantina-orange);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 20px;
}

/* ---------- 1. Crisp White Brand Header ---------- */
.ec-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.ec-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 8px 0;
}

.ec-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ec-logo-link img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

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

.ec-nav a {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-strong);
  padding: 6px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.ec-nav a:hover,
.ec-nav a[aria-current="page"] {
  color: var(--cantina-red);
  border-bottom-color: var(--cantina-red);
  text-decoration: none;
}

.ec-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ec-lang-pill {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cantina-green);
  padding: 6px 10px;
  border: 1.5px solid var(--cantina-green);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.ec-lang-pill:hover {
  background: var(--cantina-green);
  color: var(--bg-white);
  text-decoration: none;
}

.ec-phone-link {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink-strong);
  text-decoration: none;
  white-space: nowrap;
}

.ec-phone-link:hover { color: var(--cantina-orange); text-decoration: none; }

/* ---------- Buttons (Exact Brand Orange, Green & White Outline) ---------- */
.ec-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.ec-btn-row--left { justify-content: flex-start; }

.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
}

.ec-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ec-btn:active { transform: translateY(0); }

.ec-btn--orange {
  background: var(--cantina-orange);
  color: var(--bg-white);
  border-color: var(--cantina-green-btn);
}

.ec-btn--orange:hover {
  background: var(--cantina-orange-hover);
  color: var(--bg-white);
  border-color: var(--cantina-orange-hover);
}

.ec-btn--green {
  background: var(--cantina-green-btn);
  color: var(--bg-white);
  border-color: var(--cantina-green-btn);
}

.ec-btn--green:hover {
  background: var(--cantina-green-hover);
  color: var(--bg-white);
  border-color: var(--cantina-green-hover);
}

.ec-btn--outline-white {
  background: rgba(0, 0, 0, 0.34);
  color: var(--bg-white);
  border-color: var(--bg-white);
}

.ec-btn--outline-white:hover {
  background: var(--bg-white);
  color: var(--ink-strong);
}

.ec-btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.8rem;
}

/* ---------- 2. Full-Bleed Enchiladas / Food Hero ---------- */
.ec-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-white);
  background-size: cover;
  background-position: center;
  padding: 72px 20px;
}

.ec-hero--inner {
  min-height: 410px;
  padding: 56px 20px;
}

.ec-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.56) 55%, rgba(0, 0, 0, 0.62) 100%);
}

.ec-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.ec-hero-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.ec-hero-headline {
  margin: 0 0 26px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.14;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
  color: var(--bg-white);
}

html[lang="zh-Hant"] .ec-hero-headline {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.28;
  text-transform: none;
}

.ec-hero-lead {
  margin: 0 auto 26px;
  max-width: 68ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ---------- 3. Sabri Suby Direct-Response Sales Letter Band ---------- */
.ec-letter-band {
  background: var(--bg-soft);
  padding: 68px 0;
}

.ec-award-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 14px;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-strong);
}

.ec-award-sub {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 28px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.ec-divider {
  width: 64px;
  height: 3px;
  background: var(--cantina-green-btn);
  margin: 0 auto 30px;
}

.ec-letter-box {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.ec-letter-title {
  margin: 0 0 22px;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-weight: 800;
  color: var(--ink-strong);
}

.ec-letter-salutation {
  font-weight: 700;
  font-style: italic;
  color: var(--ink-strong);
  margin: 0 0 16px;
}

.ec-letter-box p {
  margin: 0 0 16px;
  color: var(--ink-body);
  font-size: 1.03rem;
}

.ec-protocol-title {
  margin: 26px 0 16px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--cantina-red);
}

.ec-protocol-list {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.ec-protocol-list li {
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 4px solid var(--cantina-orange);
  color: var(--ink-body);
}

.ec-protocol-list strong {
  color: var(--ink-strong);
}

/* ---------- 4. Mexican Red & Green Checkerboard Dish Showcase ---------- */
.ec-red-showcase {
  background: var(--cantina-red);
  padding: 56px 0 64px;
}

.ec-green-banner {
  background: var(--cantina-green);
  color: var(--bg-white);
  text-align: center;
  padding: 20px 24px;
  margin: 0 auto;
  max-width: 1020px;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
}

.ec-checkerboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1020px;
  margin: 0 auto;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.ec-dish-card {
  background: var(--bg-white);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.ec-dish-kicker {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cantina-orange);
  text-transform: uppercase;
}

.ec-dish-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-strong);
}

.ec-dish-card p {
  margin: 0 0 10px;
  font-size: 0.94rem;
  color: var(--ink-body);
  line-height: 1.6;
}

.ec-dish-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #1a1a1a;
}

.ec-dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 5. 4-Column Real Google Testimonials ---------- */
.ec-testimonials {
  background: var(--bg-white);
  padding: 68px 0;
}

.ec-section-kicker {
  text-align: center;
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ec-section-title {
  text-align: center;
  margin: 0 0 38px;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 800;
  color: var(--ink-strong);
}

.ec-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ec-review-card {
  background: var(--bg-soft);
  border-top: 3px solid var(--cantina-gold);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ec-stars {
  color: var(--cantina-gold);
  font-size: 1.15rem;
  letter-spacing: 2px;
  line-height: 1;
}

.ec-review-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink-strong);
}

.ec-review-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-body);
  flex: 1;
}

.ec-review-author {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* ---------- 6. Founder Heritage & Guarantee Band ---------- */
.ec-heritage {
  background: var(--bg-soft);
  padding: 62px 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.ec-heritage-quote {
  max-width: 780px;
  margin: 0 auto 10px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink-strong);
  line-height: 1.7;
}

.ec-heritage-sign {
  margin: 0 0 28px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--cantina-red);
}

/* ---------- 7. News & Events Band ---------- */
.ec-events-band {
  background: var(--bg-band);
  padding: 54px 0;
  text-align: center;
}

.ec-events-band p {
  max-width: 620px;
  margin: 0 auto 22px;
  color: var(--ink-body);
}

/* ---------- 8. Dark Photo Hours of Operation Section ---------- */
.ec-hours-band {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 68px 20px;
  color: var(--bg-white);
}

.ec-hours-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.ec-hours-card {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(15, 15, 15, 0.84);
  border: 1px solid var(--border-dark);
  padding: 32px;
}

.ec-hours-card h2 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--bg-white);
  border-bottom: 2px solid var(--cantina-orange);
  padding-bottom: 10px;
}

.ec-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ec-hours-table th,
.ec-hours-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-dark);
  text-align: left;
  color: var(--bg-white);
}

.ec-hours-table th {
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--cantina-gold);
}

/* ---------- 9. 6-Block Clickable Local SEO Hub Grid ---------- */
.ec-hub-band {
  background: var(--bg-white);
  padding: 72px 0;
}

.ec-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.ec-hub-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ec-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ec-hub-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ec-hub-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ec-hub-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink-strong);
}

.ec-hub-body h3 a { color: var(--ink-strong); text-decoration: none; }
.ec-hub-body h3 a:hover { color: var(--cantina-red); }

.ec-hub-body p {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: var(--ink-body);
}

.ec-hub-cta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cantina-red);
}

/* ---------- Inner Page Editorial Layout ---------- */
.ec-breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.ec-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ec-inner-band {
  padding: 52px 0 68px;
}

.ec-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: 44px;
  align-items: start;
}

.ec-prose { min-width: 0; }

.ec-prose h2 {
  margin: 34px 0 12px;
  padding-top: 18px;
  border-top: 2px solid var(--cantina-red);
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink-strong);
}

.ec-prose h3 {
  margin: 22px 0 8px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.ec-prose p { margin: 0 0 16px; max-width: 68ch; }
.ec-prose ul { margin: 0 0 16px; padding-left: 22px; }
.ec-prose li { margin-bottom: 6px; }

.ec-prose blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--cantina-orange);
  background: var(--bg-soft);
  color: var(--ink-strong);
}

.ec-prose figure { margin: 22px 0; }
.ec-prose figure img { width: 100%; border: 1px solid var(--border-light); }

.ec-embed {
  margin: 24px 0;
  background: #000;
  border: 1px solid var(--border-light);
}

.ec-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.ec-map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }
.ec-podcast-embed iframe { display: block; width: 100%; height: 220px; border: 1px solid var(--border-light); }

.ec-side-card {
  position: sticky;
  top: 96px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--cantina-red);
  padding: 24px;
}

.ec-side-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-strong);
}

.ec-side-card .ec-btn { width: 100%; margin-bottom: 10px; }
.ec-side-meta { font-size: 0.9rem; color: var(--ink-body); margin: 8px 0; }

/* Catering & Private Events 3-Step Guided Quote Wizard (TaipeiCatering UX in Cantina Brand) */
.ec-quote-card {
  background: var(--bg-soft);
  border: 2px solid var(--cantina-red);
  padding: clamp(22px, 3vw, 32px);
  margin: 0 0 34px;
  scroll-margin-top: 96px;
  box-shadow: var(--shadow-sm);
}

.ec-qw-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cantina-red);
  margin-bottom: 6px;
}

.ec-quote-card h2 {
  margin: 0 0 8px;
  padding-top: 0;
  border-top: 0;
  color: var(--ink-strong);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.ec-qw-sub {
  margin: 0 0 20px;
  color: var(--ink-body);
  font-size: 0.96rem;
}

.ec-qw-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.ec-qw-steps li button {
  width: 100%;
  padding: 10px 8px;
  border: 1px solid #d4d4cf;
  background: var(--bg-white);
  color: var(--ink-muted);
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.ec-qw-steps li[aria-current="step"] button {
  background: var(--cantina-red);
  border-color: var(--cantina-red);
  color: #fff;
}

.ec-qw-steps li.is-done button {
  background: #edf7ed;
  border-color: var(--cantina-green-btn);
  color: var(--cantina-green);
}

.ec-quote-form {
  display: grid;
  gap: 16px;
}

.ec-qw-panel {
  display: grid;
  gap: 16px;
}

.ec-qw-panel[hidden] {
  display: none;
}

.ec-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ec-qw-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.ec-qw-fieldset legend {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.ec-qw-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ec-qw-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  background: var(--bg-white);
  border: 2px solid #d4d4cf;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ec-qw-tile input,
.ec-qw-pkg input,
.ec-qw-pill input,
.ec-qw-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ec-qw-tile:hover,
.ec-qw-pkg:hover,
.ec-qw-pill:hover {
  border-color: var(--cantina-orange);
}

.ec-qw-tile.is-selected,
.ec-qw-pkg.is-selected {
  border-color: var(--cantina-red);
  background: #fff7f5;
  box-shadow: 0 0 0 2px rgba(165, 8, 0, 0.12);
}

.ec-qw-tile-icon {
  color: var(--cantina-red);
  display: inline-flex;
  margin-bottom: 2px;
}

.ec-qw-tile strong,
.ec-qw-pkg strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--ink-strong);
  line-height: 1.25;
}

.ec-qw-tile small,
.ec-qw-pkg small {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.ec-qw-pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ec-qw-pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--bg-white);
  border: 2px solid #d4d4cf;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ec-qw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ec-qw-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--bg-white);
  border: 1.5px solid #c9c9c4;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-strong);
  cursor: pointer;
}

.ec-qw-pill.is-selected {
  background: var(--cantina-red);
  border-color: var(--cantina-red);
  color: #fff;
}

.ec-qw-seg {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1.5px solid #c9c9c4;
  border-radius: 5px;
  overflow: hidden;
  background: var(--bg-white);
  width: 100%;
}

.ec-qw-seg label {
  position: relative;
  text-align: center;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-body);
  cursor: pointer;
  border-right: 1px solid #d4d4cf;
}

.ec-qw-seg label:last-child { border-right: 0; }

.ec-qw-seg label.is-selected {
  background: var(--cantina-green);
  color: #fff;
}

.ec-qw-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ec-qw-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-white);
  border: 1.5px solid #d4d4cf;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-strong);
  cursor: pointer;
}

.ec-qw-check.is-selected {
  border-color: var(--cantina-green-btn);
  background: #f2fbf3;
}

.ec-qw-check input {
  margin-top: 3px;
  accent-color: var(--cantina-green);
}

.ec-qw-summary {
  background: var(--bg-white);
  border: 1px solid #d4d4cf;
  border-left: 4px solid var(--cantina-green);
  padding: 14px 16px;
  border-radius: 4px;
}

.ec-qw-summary-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ec-qw-summary-edits {
  display: flex;
  gap: 12px;
}

.ec-qw-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--cantina-red);
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: underline;
  cursor: pointer;
}

.ec-qw-summary-line {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-body);
  font-weight: 600;
}

.ec-qw-subhead {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink-strong);
}

.ec-qw-diet {
  background: var(--bg-white);
  border: 1px solid #d4d4cf;
  border-radius: 5px;
  padding: 12px 14px;
}

.ec-qw-diet summary {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-strong);
  cursor: pointer;
}

.ec-qw-diet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 10px;
}

.ec-qw-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.ec-btn--outline-dark {
  background: var(--bg-white);
  color: var(--ink-strong);
  border: 2px solid #9ca3af;
}

.ec-btn--outline-dark:hover {
  border-color: var(--ink-strong);
  background: #f3f4f6;
}

.ec-qw-alert {
  margin: 0;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
}

.ec-qw-fine {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.ec-qw-crosslink {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #dfdfd8;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.ec-qw-crosslink a {
  color: var(--cantina-red);
  font-weight: 700;
}

.ec-qw-done {
  background: var(--bg-white);
  border: 2px solid var(--cantina-green-btn);
  padding: 22px;
  border-radius: 6px;
}

.ec-qw-done-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cantina-green);
}

.ec-qw-ref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #f2fbf3;
  border: 1px solid var(--cantina-green-btn);
  border-radius: 4px;
  margin: 0 0 14px;
}

.ec-qw-ref span {
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-muted);
}

.ec-qw-ref strong {
  font-family: monospace;
  font-size: 1.05rem;
  color: var(--ink-strong);
  letter-spacing: 0.05em;
}

.ec-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

@media (max-width: 720px) {
  .ec-quote-grid,
  .ec-qw-tiles,
  .ec-qw-pkg-grid,
  .ec-qw-checks,
  .ec-qw-diet-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ec-qw-steps li button {
    font-size: 0.76rem;
    padding: 8px 6px;
  }
}

/* ---------- 10. Jet-Black Footer (Exact Brand Match) ---------- */
.ec-footer {
  background: var(--bg-footer);
  color: #e5e5e5;
  padding: 56px 0 32px;
}

.ec-footer a { color: #e5e5e5; }
.ec-footer a:hover { color: var(--cantina-orange); }

.ec-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border-dark);
}

.ec-footer-logo {
  width: 170px;
  height: auto;
  margin-bottom: 14px;
}

.ec-footer-head {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg-white);
}

.ec-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.88rem;
}

.ec-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #a3a3a3;
}

/* ---------- /ops Eddy SEO Desk ---------- */
.ops-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 20px;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  margin-bottom: 28px;
}

.ops-table th, .ops-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}

.ops-table th { background: var(--bg-soft); font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; }

.badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 3px;
}

.badge--ok { background: #15803d; color: #fff; }
.badge--warn { background: #d97706; color: #fff; }

.ops-form {
  display: grid;
  gap: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: 24px;
}

.ops-field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 5px; color: var(--ink-strong); }
.ops-field input, .ops-field textarea, .ops-field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #c9c9c4;
  background: var(--bg-white);
  color: var(--ink-strong);
  font-family: var(--font-body);
  font-size: 0.94rem;
}

.serp-box {
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  padding: 18px;
  margin-bottom: 16px;
}
.serp-url { font-size: 0.82rem; color: var(--ink-muted); }
.serp-title { font-size: 1.15rem; font-weight: 700; color: #1a0dab; margin: 4px 0; }
.serp-desc { font-size: 0.9rem; color: var(--ink-body); }

/* 1-Click Visual Page Builder Toolbar & Live Heading Outline (/ops) */
.ops-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-white);
  border: 1px solid #c9c9c4;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.ops-tb-btn {
  padding: 6px 11px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-soft);
  color: var(--ink-strong);
  border: 1px solid #c9c9c4;
  border-radius: 4px;
  cursor: pointer;
}

.ops-tb-btn:hover {
  border-color: var(--cantina-red);
  color: var(--cantina-red);
}

.ops-tb-btn--accent {
  background: var(--cantina-orange);
  border-color: var(--cantina-orange);
  color: #fff;
}

.ops-tb-btn--accent:hover {
  background: #e56c00;
  color: #fff;
}

.ops-tb-group {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.ops-tb-select {
  min-height: 32px !important;
  width: auto !important;
  max-width: 220px;
  padding: 4px 8px !important;
  font-size: 0.82rem !important;
}

.ops-outline {
  background: var(--bg-white);
  border: 1px solid #c9c9c4;
  border-left: 4px solid var(--cantina-green);
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 0.86rem;
}

.ops-ol-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.ops-ol-list {
  display: grid;
  gap: 4px;
  max-height: 180px;
  overflow-y: auto;
}

.ops-ol-item strong {
  display: inline-block;
  min-width: 28px;
  font-size: 0.76rem;
  color: var(--cantina-red);
}

.ops-ol-h2 { padding-left: 14px; }
.ops-ol-h3 { padding-left: 30px; color: var(--ink-muted); }

.ops-ol-warn {
  margin-top: 8px;
  padding: 8px 10px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-weight: 600;
  font-size: 0.82rem;
}

/* WordPress / Divi-Style Visual Media Library & Hero Picker (/ops) */
.ops-hero-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--bg-white);
  border: 1px solid #c9c9c4;
  border-radius: 5px;
}

.ops-hero-thumb {
  width: 180px;
  height: 112px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: #111;
}

.ops-inline-media {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.ops-media-card {
  background: var(--bg-white);
  border: 1px solid #c9c9c4;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ops-media-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
}

.ops-media-card-body {
  padding: 6px 8px;
  display: grid;
  gap: 6px;
}

.ops-media-card-cap {
  font-size: 0.76rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ops-media-alt {
  width: 100%;
  min-height: 30px !important;
  padding: 4px 6px !important;
  font-size: 0.76rem !important;
  border: 1px solid #c9c9c4;
  border-radius: 3px;
}

/* Divi-Style 2-Column Alternating Split Sections (Photo/Video Left or Right) */
.ec-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  margin: 30px 0;
  padding: clamp(18px, 2.5vw, 26px);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 6px;
}

.ec-split-media {
  margin: 0 !important;
}

.ec-split-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.ec-split-media .ec-embed {
  margin: 0;
}

.ec-split-text h2,
.ec-split-text h3 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.ec-split-text > :last-child {
  margin-bottom: 0;
}

.ec-split--right .ec-split-media {
  order: 2;
}

.ec-split--right .ec-split-text {
  order: 1;
}

@media (max-width: 780px) {
  .ec-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .ec-split--right .ec-split-media {
    order: 0;
  }
  .ec-split--right .ec-split-text {
    order: 1;
  }
}

.ops-media-card-actions {
  display: flex;
  gap: 6px;
}

.ops-media-card-actions button {
  flex: 1;
  padding: 4px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid #c9c9c4;
  background: var(--bg-soft);
  border-radius: 3px;
  cursor: pointer;
}

.ops-media-card-actions button:hover {
  border-color: var(--cantina-red);
  color: var(--cantina-red);
}

.ops-gallery-dialog {
  width: min(940px, 94vw);
  max-height: 88vh;
  padding: 0;
  border: 2px solid var(--cantina-red);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.ops-gallery-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.ops-gallery-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
}

.ops-gallery-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.ops-gallery-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
}

.ops-gallery-bar input[type="search"] {
  flex: 1;
  min-width: 180px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #c9c9c4;
  border-radius: 4px;
}

.ops-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding: 16px 18px;
  overflow-y: auto;
  max-height: 58vh;
}

.ops-gallery-item {
  border: 2px solid #d4d4cf;
  border-radius: 5px;
  background: var(--bg-white);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.ops-gallery-item:hover {
  border-color: var(--cantina-orange);
}

.ops-gallery-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.ops-gallery-item span {
  padding: 6px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.25;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ec-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .ec-header-inner { flex-wrap: wrap; }
  .ec-checkerboard { grid-template-columns: minmax(0, 1fr); }
  .ec-dish-photo { min-height: 240px; }
  .ec-content-layout { grid-template-columns: minmax(0, 1fr); }
  .ec-side-card { position: static; }
}

@media (max-width: 600px) {
  .ec-review-grid, .ec-hub-grid, .ec-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .ec-hero { min-height: 460px; padding: 48px 16px; }
}
