:root {
  --bg: #faf6ee;
  --bg-alt: #f1e9db;
  --paper: #ffffff;
  --text: #1e1c1a;
  --muted: #746c60;
  --muted-2: #a49a8a;
  --line: rgba(30, 28, 26, 0.12);
  --line-strong: rgba(30, 28, 26, 0.24);
  --max: 1180px;
  --radius-soft: 10px;
  --radius-sharp: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section { padding: 34px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--muted-2);
  display: inline-block;
}

.card {
  background: transparent;
  border: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand span { font-style: italic; }

.nav { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--text); }

.nav-cta {
  padding: 13px 24px;
  border: none;
  border-radius: var(--radius-sharp);
  text-decoration: none;
  background: var(--text);
  color: var(--bg);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.nav-cta:hover { opacity: 0.82; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
  padding: 22px 0 0;
}

.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Typography ---------- */

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
h3m{
    font-family: "Fraunces", Georgia, serif;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}

h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 12px;
}

h4 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 10px;
}

p { margin: 0 0 16px; }
address { font-style: normal; }

.lead {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  max-width: 640px;
  margin: 0 0 18px;
  color: var(--muted);
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.button-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 24px; }

.button-dark,
.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: inherit;
  border-radius: var(--radius-sharp);
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button-dark {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}

.button-dark:hover { opacity: 0.82; }

.button-light {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.button-light:hover { border-color: var(--text); }

.order-dropdown { position: relative; }
.order-toggle { cursor: pointer; font-family: inherit; }

.order-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 100;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(30, 28, 26, 0.08);
}

.order-dropdown:hover .order-menu,
.order-dropdown:focus-within .order-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.order-menu a {
  padding: 15px 20px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.order-menu a:last-child { border-bottom: none; }
.order-menu a:hover { background: var(--bg-alt); }

/* ---------- Hero ---------- */

.hero { padding: 44px 0 32px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
}

.hero-copy, .hero-side, .content-card, .contact-card { padding: 0; }

.hero-copy, .hero-side { min-height: 460px; }

.hero-copy { display: flex; flex-direction: column; justify-content: center; }

.hero-side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
}

.hero-image {
  overflow: hidden;
  border-radius: var(--radius-soft);
  min-height: 380px;
  background: var(--bg-alt);
}

.hero-video { min-height: 380px; }

.hero-video video {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.hero-note { color: var(--muted); font-size: 14px; }
.hero-note p { margin-bottom: 4px; }

/* ---------- Concepto / content sections ---------- */

.content-card { max-width: 640px; }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.mini-box {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--bg-alt);
  display: flex;
  align-items: end;
  padding: 20px;
}

.mini-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

.mini-box:hover img { transform: scale(1.04); }

.mini-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.5), rgba(20, 18, 16, 0.02) 55%);
  z-index: 1;
}

.mini-box span {
  position: relative;
  z-index: 2;
  color: #fdfaf4;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.content-card ul { padding-left: 0; list-style: none; margin: 0; }

.content-card li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.content-card li:last-child { border-bottom: 1px solid var(--line); }

.content-card li strong {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  display: inline-block;
  margin-right: 6px;
}

/* ---------- Menu ---------- */

.menu-card { padding: 0; }

.menu-header {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-strong);
}

.menu-header h2 { margin-bottom: 10px; }
.menu-note { max-width: 340px; color: var(--muted); font-size: 15px; }

.menu-block { margin-top: 52px; }

.menu-block-title { display: flex; align-items: baseline; gap: 18px; margin-bottom: 24px; }
.menu-block-title h3 { margin: 0; }

.menu-block-title::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.sizes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.size-card {
  padding: 26px 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
}

.size-card strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}

.size-card .price {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  margin-top: 18px;
}

.size-card .muted { font-size: 13px; letter-spacing: 0.02em; }

.extra-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

.toppings-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.topping-group { padding: 0; }

.topping-group h4 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.topping-list { display: grid; gap: 0; }

.topping-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 15px;
}

.topping-item:last-child { border-bottom: none; }

.supplement { color: var(--muted-2); white-space: nowrap; font-size: 13px; }

.specials-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.special-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 190px;
  background: var(--bg);
}

.special-image {
  width: 100%;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 8px 22px 26px;
  
}

.special-image img {
  width: 100%;
  max-width: 175px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}
.special-card:hover .special-image img,
.special-card:active .special-image img {
  transform: scale(1.15);
}
.special-content { padding: 30px 30px 26px 20px; display: flex; flex-direction: column; justify-content: space-between; }

.special-card h4 { font-size: 28px; margin: 0 0 12px; font-style: italic; }
.special-card p { font-size: 15px; color: var(--muted); margin-bottom: 22px; }

.special-prices {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ---------- Featured bowls (home) ---------- */

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.featured-header h2 { margin-bottom: 0; }
.featured-header .button-light { min-height: 46px; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--bg);
  padding: 34px 28px 30px;
  transition: background 0.2s ease;
}

.featured-card:hover { background: var(--bg-alt); }

.featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  margin-bottom: 22px;
}

.featured-image img {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}

.featured-card:hover .featured-image img { transform: scale(1.04); }

.featured-info h3 { font-style: italic; font-size: 26px; margin-bottom: 8px; }

.featured-info p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.featured-price {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 18px;
}

/* ---------- Location ---------- */

.location-showcase { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }

.location-copy { padding: 0; }

.location-data {
  margin: 24px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.location-data p { margin-bottom: 10px; }
.location-data address { margin-bottom: 10px; }
.location-data a[href^="tel:"] { text-decoration: underline; text-underline-offset: 3px; }

.map-card {
  position: relative;
  border-radius: var(--radius-soft);
  overflow: hidden;
}

.map-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.map-hover-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sharp);
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 3;
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.22);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.map-card:hover img { transform: scale(1.03); filter: brightness(0.9); }
.map-card:hover::after { opacity: 1; }
.map-card:hover .map-hover-button { opacity: 1; transform: translate(-50%, -50%); }

/* ---------- Footer ---------- */

.footer { padding: 40px 0 70px; }

.footer-card {
  padding: 40px 0 0;
  border-top: 1px solid var(--line-strong);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-card strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--text); }

/* ---------- Article / blog pages ---------- */

.article-hero { padding: 34px 0 8px; }

.article-card { padding: 0; max-width: 720px; margin: 0 auto; }

.article-card ul, .article-card ol { padding-left: 22px; margin: 0 0 20px; }
.article-card li { margin-bottom: 10px; }

.article-card a:not(.button-dark):not(.button-light):not(.related-card) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.article-card a:not(.button-dark):not(.button-light):not(.related-card):hover {
  text-decoration-color: var(--text);
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 24px;
  font-size: 15px;
}

.nutrition-table th, .nutrition-table td {
  text-align: left;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
}

.nutrition-table th {
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.callout {
  border-left: 2px solid var(--text);
  padding: 2px 0 2px 22px;
  margin: 28px 0;
  color: var(--muted);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 24px 0 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.recipe-meta div strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

.recipe-meta div span {
  font-size: 11px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.faq-item { border-top: 1px solid var(--line); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin-bottom: 8px; font-size: 19px; }
.faq-item p { margin-bottom: 0; color: var(--muted); }

.article-image { border-radius: var(--radius-soft); overflow: hidden; margin: 30px 0; }
.article-image img { width: 100%; height: auto; object-fit: cover; }

.article-image figcaption {
  padding: 12px 4px 0;
  font-size: 13px;
  color: var(--muted-2);
}

.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 10px; }

.related-card { padding: 26px; text-decoration: none !important; display: block; background: var(--bg); }
.related-card .eyebrow { margin-bottom: 10px; }
.related-card h3 { margin-bottom: 6px; }
.related-card p { color: var(--muted); font-size: 14px; margin-bottom: 0; }

.cta-card { padding: 56px 0 0; text-align: center; margin-top: 10px; border-top: 1px solid var(--line-strong); }
.cta-card h2 { margin-bottom: 10px; }
.cta-card p { color: var(--muted); margin-bottom: 8px; }
.cta-card .button-row { justify-content: center; }

.sources {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- Blog index ---------- */

.hero-block { padding: 40px 0 14px; }

.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 8px; }

.post-card {
  padding: 40px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  background: var(--bg);
  transition: background 0.2s ease;
}

.post-card:hover { background: var(--bg-alt); }
.post-card h2 { font-size: 28px; margin: 0 0 10px; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }
.post-card .read-more { margin-top: 22px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid, .split, .location-showcase { grid-template-columns: 1fr; }
  .menu-header { display: block; }
  .menu-note { max-width: none; margin-top: 14px; }
  .sizes-grid, .toppings-layout { grid-template-columns: 1fr 1fr; }
  .map-card img { min-height: 440px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { padding: 0; }

  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 26px;
    padding: 36px 28px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 60;
  }

  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }

  .nav a { font-size: 20px; text-transform: none; letter-spacing: 0; color: var(--text); }

  .nav .order-dropdown { width: 100%; }
  .nav .nav-cta { width: 100%; margin-top: 8px; text-align: center; }
  .nav .order-menu { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border: none; margin-top: 14px; display: none; }
  .nav .order-dropdown:focus-within .order-menu { display: flex; }

  .hero { padding-top: 32px; }
  .hero-copy, .hero-side { min-height: auto; }
  .mini-grid { grid-template-columns: 1fr; }
  .sizes-grid, .toppings-layout, .related-grid, .posts-grid { grid-template-columns: 1fr; }
  .special-card { grid-template-columns: 1fr; }
  .special-image { min-height: 200px; padding: 22px 22px 0; }
  .special-image img { max-width: 220px; }
  .special-content { padding: 18px 20px 24px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-image { min-height: 200px; }
  .map-hover-button { opacity: 1; transform: translate(-50%, -50%); }
  .nutrition-table { font-size: 13px; }
  .recipe-meta { gap: 18px; }
}
/* ---------- Modal / Pop-up de Pedidos ---------- */

/* Contenedor oscuro que cubre la pantalla completa */
/* ---------- Modal / Pop-up de Pedidos ---------- */

/* Contenedor oscuro que cubre la pantalla completa de forma estricta */
.modal-overlay {
  display: none; /* Controlado dinámicamente por JavaScript */
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(30, 28, 26, 0.55) !important; /* Capa translúcida sobre el fondo de tu web */
  backdrop-filter: blur(5px) !important;
  z-index: 999999 !important; /* Fuerza a estar por encima de cualquier otra tarjeta o header */
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Tarjeta central del pop-up (Forzamos su comportamiento en flex/centrado) */
.modal-rectangle {
  background: var(--bg);
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  border-radius: var(--radius-soft);
  box-shadow: 0 24px 60px rgba(30, 28, 26, 0.16);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  animation: fadeInModal 0.25s ease-out;
  margin: auto; /* Garantiza el centrado vertical en caso de fallos de flex */
}

/* Botón de cierre (×) */
.close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  z-index: 10;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--text);
}

/* Cabecera interna */
.modal-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 0 0 4px;
  font-size: 28px;
  font-style: italic;
  font-family: "Fraunces", Georgia, serif;
}

/* Cuerpo con scroll para la selección */
.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

/* Títulos de los pasos (1, 2, 3...) */
.modal-section-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 14px;
}

.modal-body > .modal-section-title:first-child {
  margin-top: 0;
}

/* Subtítulos de categorías (Frutas, Crunch...) */
.category-subtitle {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 10px;
  font-weight: 500;
}

/* Filas táctiles de selección (Inputs + texto) */
.option-label {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.option-label:hover {
  background: var(--bg-alt);
  border-color: var(--line-strong);
}

.option-label input {
  margin-right: 14px;
  width: 18px;
  height: 18px;
  accent-color: var(--text);
}

/* Badge distintivo para complementos premium */
.badge-premium {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
  font-style: italic;
  font-family: "Fraunces", Georgia, serif;
}

/* Caja inferior fija de precio y acción */
.modal-footer-box {
  padding: 24px 28px;
  border-top: 1px solid var(--line-strong);
  background: var(--bg-alt);
  border-bottom-left-radius: var(--radius-soft);
  border-bottom-right-radius: var(--radius-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.modal-footer-box h3 {
  margin: 0;
  font-size: 22px;
}

/* Botón directo para enviar a WhatsApp */
.modal-footer-box .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sharp);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-footer-box .btn:hover {
  opacity: 0.88;
}

/* Animación de apertura suave */
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adaptación estricta para pantallas móviles */
@media (max-width: 720px) {
  .modal-overlay {
    padding: 12px !important;
  }
  
  .modal-rectangle {
    max-height: 90vh;
  }
  
  .modal-header {
    padding: 22px 20px 16px;
  }
  
  .modal-body {
    padding: 16px 20px;
  }
  
  .modal-footer-box {
    padding: 18px 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }
  
  .modal-footer-box .btn {
    width: 100%;
  }
}
/* ============================================================
   Simplee — Estilos del motor de pedidos y carrito
   Usa las variables de color/tipografía ya definidas en style.css
   ============================================================ */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30, 28, 26, 0.55);
  backdrop-filter: blur(5px);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-rectangle {
  background: var(--paper);
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  border-radius: var(--radius-soft);
  box-shadow: 0 24px 60px rgba(30, 28, 26, 0.16);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  animation: fadeInModal 0.25s ease-out;
  margin: auto;
  color: var(--text);
}


.button-purple:hover {
  background-color: #4A148C;
}

.close-btn {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  font-size: 28px; color: var(--muted);
  cursor: pointer; z-index: 10; padding: 0; line-height: 1;
  transition: color 0.2s ease;
}
.close-btn:hover { color: var(--text); }

.modal-header { padding: 28px 28px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 {
  margin: 0 0 4px; font-size: 26px; font-style: italic;
  font-family: "Fraunces", Georgia, serif; font-weight: 400;
}

.modal-body { padding: 24px 28px; overflow-y: auto; flex: 1; }

.modal-section-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px; font-style: italic; font-weight: 400;
  color: var(--text); margin: 28px 0 14px;
}
.modal-body > .modal-section-title:first-child { margin-top: 0; }

.category-subtitle {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-2); margin: 20px 0 10px; font-weight: 500;
}

.option-label {
  display: flex; align-items: center;
  padding: 12px 16px; margin-bottom: 8px;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-soft); cursor: pointer; font-size: 15px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.option-label:hover { background: var(--bg-alt); border-color: var(--line-strong); }
.option-label input { margin-right: 14px; width: 18px; height: 18px; accent-color: var(--text); }

.coach {
  padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-soft);
  margin: 20px 0; background: var(--bg-alt); font-size: 10px; font-weight: 500;
  line-height: 1.45; color: var(--text); display: none;
  position: sticky;
  top: 0;
  z-index: 5;
}
.option-label.qty-row {
    padding: 14px 12px;
    margin-bottom: 10px;
  }
  .category-subtitle {
    margin: 24px 0 12px;
  }
  .modal-section-title {
    margin: 32px 0 16px;
  }
.badge-premium {
  font-size: 12px; color: var(--muted); margin-left: auto;
  font-style: italic; font-family: "Fraunces", Georgia, serif;
}

.modal-footer-box {
  padding: 24px 28px; border-top: 1px solid var(--line-strong); background: var(--bg-alt);
  border-bottom-left-radius: var(--radius-soft); border-bottom-right-radius: var(--radius-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.modal-footer-box h3 {
  margin: 0; font-size: 21px; font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-weight: 400;
}

.btn-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  background: var(--text); color: var(--bg); border: none;
  border-radius: var(--radius-sharp); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; font-family: inherit; font-weight: 500;
  cursor: pointer; transition: opacity 0.2s ease;
}
.btn-action:hover { opacity: 0.88; }
.btn-secondary { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--text); background: transparent; opacity: 1; }

@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .modal-overlay { padding: 12px; }
  .modal-rectangle { max-height: 90vh; }
  .modal-header { padding: 22px 20px 16px; }
  .modal-body { padding: 16px 20px; }
  .modal-footer-box { padding: 18px 20px; flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .modal-footer-box .btn-action { width: 100%; }
}

.option-label.qty-row { display: flex; align-items: center; justify-content: space-between; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 26px; height: 26px; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--text); border-radius: 50%;
  font-size: 16px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover:not(:disabled) { background: var(--bg-alt); }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-input { width: 20px; text-align: center; font-size: 15px; }

/* ---------- Carrito ---------- */
.cart-summary-bar {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: #4A1F5C; color: white;
  padding: 16px 24px; z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  display: none; justify-content: space-between; align-items: center;
}
.cart-info-text { font-size: 16px; font-weight: 500; }
.cart-buttons-group { display: flex; gap: 12px; }
.btn-cart-view { background: white; color: #6E327E; font-weight: bold; border-radius: 6px; padding: 10px 18px; border: none; cursor: pointer; text-transform: uppercase; font-size: 13px; }
.btn-cart-send { background: #25D366; color: white; font-weight: bold; border-radius: 6px; padding: 10px 18px; border: none; cursor: pointer; text-transform: uppercase; font-size: 13px; }

.cart-items-list { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-soft); }
.cart-item-details { font-size: 14px; line-height: 1.4; }
.cart-item-remove { color: #d32f2f; background: none; border: none; font-size: 18px; cursor: pointer; font-weight: bold; padding: 0 5px; }