/* Refinamientos finales cargados después de la hoja principal. */
.menu-section { background: #d7a36d; }
.promo-section { background: #f6e7a7; }
.events-section { background: #d7e6b5; }
.flavor-section { background: #eadccb; }
.final-social-section { background: #c8a27e; }

.menu-section .section-intro,
.promo-section .promo p,
.events-content > p:not(.eyebrow),
.flavor-intro > p:not(.eyebrow),
.final-social-section > div > p:not(.eyebrow) {
  color: #50382d;
}

.protagonists-section {
  color: var(--chocolate);
  background: radial-gradient(circle at 86% 14%, rgba(216, 86, 114, 0.18), transparent 30%), #f4c2cd;
}

.protagonists-section .eyebrow,
.protagonists-section .section-intro { color: #8a4a58; }

.contact-section {
  color: var(--chocolate);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: radial-gradient(circle at 82% 18%, rgba(255, 248, 225, 0.24), transparent 32%), #d9bc74;
}

.contact-section .eyebrow,
.contact-section p { color: var(--coffee); }

.business-info article {
  background: rgba(255, 253, 249, 0.72);
  border-color: rgba(111, 63, 37, 0.16);
}

.business-info svg { color: var(--rose); }
.business-info span { color: var(--muted); }
.contact-actions { display: flex; justify-content: flex-start; }
.contact-card { width: 100%; max-width: none; }
.contact-card > p:not(.eyebrow) { max-width: 100%; }
.business-info { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.category-order-notice {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #5b3a24;
  background: #fff3cf;
  border: 1px solid rgba(200, 147, 61, 0.38);
  border-radius: 10px;
}

.category-order-notice svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #a66a16;
}

.category-order-notice p {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 0.84rem;
}

.category-order-notice strong { color: var(--chocolate); }

.site-header {
  --header-accent: #d85672;
  min-height: 92px;
  padding-block: 6px;
  color: var(--chocolate);
  background: rgba(255, 250, 244, 0.9);
  border-bottom-color: rgba(59, 30, 18, 0.12);
  box-shadow: 0 8px 28px rgba(59, 30, 18, 0.11);
}

.site-header[data-active-section="menu"] { --header-accent: #ad5d28; }
.site-header[data-active-section="protagonistas"] { --header-accent: #b13f61; }
.site-header[data-active-section="eventos"] { --header-accent: #58743b; }
.site-header[data-active-section="contacto"] { --header-accent: #8d6819; }

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent 0%, var(--header-accent) 50%, transparent 100%);
  opacity: 0.78;
  transition: background 220ms ease;
}

.brand {
  gap: 13px;
  padding: 1px 8px 1px 1px;
  border-radius: 18px;
  transition: transform 180ms ease;
}

.brand:hover { transform: translateY(-1px); }

.brand img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  object-position: 50% 48%;
  border: 0;
  border-radius: 17px;
  clip-path: none;
  box-shadow: 0 8px 22px rgba(59, 30, 18, 0.16);
}

.brand .brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px 8px 8px;
  color: var(--header-accent);
  font-family: "Style Script", cursive;
  line-height: 0.88;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(247, 217, 223, 0.26));
  border: 1px solid rgba(216, 86, 114, 0.12);
  border-radius: 10px 22px 10px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  text-shadow: 0 2px 12px rgba(59, 30, 18, 0.1);
  transition: color 220ms ease;
}

.brand-wordmark strong {
  font-family: inherit;
  font-size: clamp(2.05rem, 2.7vw, 2.5rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.018em;
}

.event-catalog-card {
  display: grid;
  gap: 14px;
  margin: 22px 0 18px;
  padding: 16px;
  background: rgba(255, 253, 249, 0.84);
  border: 1px solid rgba(88, 116, 59, 0.24);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(59, 30, 18, 0.1);
}

.event-catalog-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-catalog-copy > span:last-child { display: grid; gap: 3px; }
.event-catalog-copy strong { color: var(--chocolate); font-size: 1.02rem; }
.event-catalog-copy small { color: var(--muted); font-size: 0.77rem; line-height: 1.4; }

.event-catalog-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fffdf9;
  background: linear-gradient(135deg, #6b8c48, #3f5e2c);
  border-radius: 12px;
}

.event-catalog-icon svg { width: 22px; height: 22px; }

.event-catalog-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.event-catalog-view {
  min-height: 42px;
  padding: 10px 15px;
  color: #fffdf9;
  background: linear-gradient(135deg, #58743b, #3b1e12);
  box-shadow: 0 8px 18px rgba(59, 30, 18, 0.16);
}

.event-catalog-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 3px;
  color: #4f6836;
  font-size: 0.85rem;
  font-weight: 800;
}

.event-catalog-download svg { width: 17px; height: 17px; }
.event-catalog-download:hover { color: var(--chocolate); }

.nav-links {
  gap: clamp(7px, 1.3vw, 18px);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.98rem;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-links a::after { display: none; }

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fffdf9;
  background: var(--header-accent);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--header-accent) 28%, transparent);
  transform: translateY(-1px);
}

.nav-download {
  color: #fffdf9;
  background: linear-gradient(135deg, var(--header-accent), var(--chocolate));
  border-color: transparent;
  box-shadow: 0 7px 18px rgba(59, 30, 18, 0.18);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.91rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-download:hover {
  box-shadow: 0 9px 22px rgba(59, 30, 18, 0.24);
  transform: translateY(-1px);
}

.product-photo-placeholder.has-image {
  background-position: center;
  background-size: cover;
}

body.admin-mode .product-photo-placeholder.admin-editable {
  position: relative;
  outline: 2px dashed rgba(216, 86, 114, 0.64);
  outline-offset: -7px;
  cursor: pointer;
}

body.admin-mode .product-photo-placeholder.admin-editable:hover,
body.admin-mode .product-photo-placeholder.admin-editable:focus-visible {
  outline-color: var(--chocolate);
  box-shadow: 0 0 0 4px rgba(216, 86, 114, 0.14);
}

.admin-product-upload span { display: grid; line-height: 1.25; }
.admin-product-upload b { font-size: 0.8rem; }
.admin-product-upload small { color: var(--muted); font-size: 0.66rem; font-weight: 700; }

.admin-photo-banner {
  width: min(470px, calc(100% - 36px));
  max-width: 470px;
  display: grid;
  grid-template-columns: auto 1fr;
}

.admin-photo-banner > svg { grid-row: 1 / 3; }
.admin-photo-banner span small { color: #f8e7ea; }

.admin-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  grid-column: 2;
}

.admin-banner-actions button,
.admin-banner-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: var(--chocolate);
  background: var(--paper);
  border: 0;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-banner-actions a {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.admin-banner-actions svg { width: 15px; height: 15px; }
.admin-photo-banner.is-saved { background: #315e4d; }

.order-modal-body { gap: 10px; padding: 14px 18px; }
.order-step { gap: 8px; padding: 0; }
.order-step + .order-step { padding-top: 10px; border-top: 1px solid var(--line); }
.order-step-title { align-items: center; gap: 9px; }
.order-step-title > span { width: 26px; height: 26px; font-size: 0.8rem; }
.order-step-title h3 { margin: 0 0 1px; font-size: 0.98rem; }
.order-step-title p { font-size: 0.75rem; }
.modal-size-options button { min-height: 48px; padding: 8px 10px; }

.topping-option { min-height: 82px; gap: 4px; padding: 5px 4px; }
.topping-option input { z-index: 2; }
.topping-standalone,
.topping-sprite { width: 78px; height: 40px; }

.topping-sprite img {
  width: 312px;
  height: 208px;
  transform: translate(calc(var(--x) * -78px), calc(var(--y) * -52px));
}

.ingredient-grid {
  grid-template-columns: repeat(6, minmax(105px, 1fr));
}

.ingredient-option {
  min-height: 96px;
}

.ingredient-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--coffee);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 50%;
}

.ingredient-icon svg {
  width: 25px;
  height: 25px;
}

.topping-product-image,
.ingredient-product-image {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  background: #f7f2eb;
  border: 1px solid rgba(111, 63, 37, 0.16);
  border-radius: 10px;
}

.topping-showcase-item .topping-product-image {
  width: 70px;
  height: 70px;
}

.quantity-control button { height: 40px; }

.fulfillment-section { padding: 18px 0 0; }

.order-timing-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid;
  border-radius: 12px;
}

.order-timing-notice.is-scheduled {
  color: #674515;
  background: #fff4d8;
  border-color: rgba(200, 147, 61, 0.45);
}

.order-timing-notice.is-same-day {
  color: #285847;
  background: #e8f4ee;
  border-color: rgba(4, 124, 120, 0.28);
}

.order-timing-notice > svg {
  width: 25px;
  height: 25px;
  color: currentColor;
}

.order-timing-notice > div { display: grid; gap: 7px; }
.order-timing-notice strong { color: var(--chocolate); font-size: 0.9rem; }
.order-timing-notice p { margin: 0; color: currentColor; font-size: 0.78rem; line-height: 1.45; }

.gourmet-confirmation {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  padding: 9px 10px;
  color: var(--chocolate);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(111, 63, 37, 0.16);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
}

.gourmet-confirmation input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.remove-gourmet-order,
.cancel-order {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  color: #8c3147;
  background: #fff7f8;
  border: 1px solid rgba(216, 86, 114, 0.36);
  border-radius: 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.remove-gourmet-order { width: fit-content; }
.cancel-order { width: 100%; }
.remove-gourmet-order svg,
.cancel-order svg { width: 17px; height: 17px; }

.remove-gourmet-order:hover,
.cancel-order:hover { background: #fde7ec; }

.payment-method {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-method legend {
  margin-bottom: 8px;
  color: var(--chocolate);
  font-size: 0.92rem;
  font-weight: 900;
}

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

.payment-options label {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.payment-options label:has(input:checked) {
  background: var(--rose-soft);
  border-color: var(--rose);
  box-shadow: inset 0 0 0 1px var(--rose);
}

.payment-options input {
  position: absolute;
  opacity: 0;
}

.payment-options svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--rose);
}

.payment-options span {
  display: grid;
  color: var(--muted);
  font-size: 0.7rem;
}

.payment-options strong {
  color: var(--chocolate);
  font-size: 0.84rem;
}

.delivery-fields {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  background: #fff0ec;
  border: 1px solid rgba(216, 86, 114, 0.2);
}

.delivery-fields > svg { width: 23px; height: 23px; color: var(--rose); }
.delivery-fields p { display: grid; gap: 3px; margin: 0; color: var(--muted); font-size: 0.76rem; }
.delivery-fields strong { color: var(--chocolate); font-size: 0.84rem; }

.final-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.final-social-links a { grid-template-columns: auto 1fr; min-height: 76px; }
.final-social-links a:hover { transform: translateY(-3px); }
.final-social-links .brand-icon { width: 28px; height: 28px; }
.final-social-links > .social-instagram { color: #b73574; }
.final-social-links > .social-facebook { color: #1877f2; }
.final-social-links > .social-tiktok { color: #171717; }
.final-social-links > .social-whatsapp { color: #168b45; }
.final-social-links a strong { color: currentColor; }

@media (max-width: 1080px) {
  .business-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 80px; padding: 5px 12px; }
  .brand { gap: 7px; padding-right: 2px; }
  .brand img { width: 66px; height: 66px; border-radius: 14px; }
  .brand .brand-wordmark { padding: 5px 8px 6px 6px; border-radius: 8px 16px 8px 16px; }
  .brand-wordmark strong { font-size: 1.78rem; }
  .nav-links { top: 84px; font-family: "Inter", Arial, sans-serif; }
  .nav-links a { padding: 12px; text-align: center; }
  .nav-download { font-family: "Inter", Arial, sans-serif; }
  .event-catalog-actions { align-items: stretch; flex-direction: column; }
  .event-catalog-view,
  .event-catalog-download { width: 100%; justify-content: center; }
  .contact-section { grid-template-columns: 1fr; }
  .business-info { grid-template-columns: 1fr; }
  .admin-photo-banner { width: auto; max-width: none; }
  .admin-banner-actions { grid-column: 1 / 3; }
  .order-modal-body { gap: 8px; padding: 10px 12px; }
  .modal-topping-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ingredient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-options { grid-template-columns: 1fr; }
  .topping-option { min-height: 78px; }
  .topping-standalone,
  .topping-sprite { width: 70px; height: 36px; }
  .topping-sprite img { width: 280px; height: 188px; transform: translate(calc(var(--x) * -70px), calc(var(--y) * -47px)); }
  .final-social-links { grid-template-columns: 1fr; }
}
