/* Fotografía y texto comparten una superficie en todos los contextos del producto. */
:root {--photo-ink:#fffdf6;--photo-shade:linear-gradient(180deg,rgba(17,32,24,0),rgba(17,32,24,.76) 38%,rgba(17,32,24,.96));}
.product-card.has-photo {background:#243f32;border:0;overflow:hidden;}
.product-card.has-photo .product-card__main,
.product-grid > .product-card.has-photo:only-child .product-card__main {position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;isolation:isolate;min-height:340px;aspect-ratio:4/5;overflow:hidden;color:var(--photo-ink);}
.product-card.has-photo .product-media,
.product-grid > .product-card.has-photo:only-child .product-media {position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;z-index:-1;}
.product-card.has-photo .product-media img {width:100%;height:100%;object-fit:cover;}
.product-card.has-photo .product-body {position:relative;flex:0 0 auto;padding:64px 22px 24px;background:var(--photo-shade);color:var(--photo-ink);text-align:left;}
.product-card.has-photo .product-body h3 {color:var(--photo-ink);font:500 clamp(1.25rem,2vw,1.7rem)/1.13 var(--display);margin:0 0 12px;overflow:visible;display:block;text-wrap:balance;}
.product-card.has-photo .product-meta,
.product-card.has-photo .spice-badge {display:none!important;margin:0;padding:0;}
.product-card.has-photo .price {color:var(--photo-ink);font-size:1rem;font-weight:600;}
.product-card.has-photo .profile-note {color:var(--photo-ink);font-size:.76rem;background:none;padding:0;}
.product-card.has-photo .availability-tag {margin-top:10px;background:#fff7e5;color:#693720;align-self:flex-start;}
.product-card.has-photo .favorite-card,
.product-grid > .product-card.has-photo:only-child .favorite-card {left:auto;right:12px;top:12px;width:44px;height:44px;background:#fffdf6ed;border:0;color:var(--forest-900);}
.product-card.has-photo .favorite-card[aria-pressed=true] {background:var(--terracotta);color:white;}
.product-grid > .product-card.has-photo:only-child {max-width:620px;}
.product-grid > .product-card.has-photo:only-child .product-card__main {aspect-ratio:5/4;}
.product-card.has-photo.is-search-result .product-card__main {aspect-ratio:5/4;min-height:310px;}
/* Inicio: el platillo es la portada, con una sola zona de lectura. */
.home-feature-card {background:#243f32;border:0;}
.home-feature-main {position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:490px;aspect-ratio:2.4/1;}
.home-feature-media {position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;min-height:0;z-index:-1;}
.home-feature-copy {position:relative;inset:auto;display:block;width:100%;padding:88px 44px 32px;background:var(--photo-shade);color:var(--photo-ink);}
.home-feature-copy h3 {color:var(--photo-ink);font-size:clamp(2.1rem,4.2vw,3.8rem);max-width:24ch;margin:0 0 20px;line-height:1.04;text-wrap:balance;}
.home-feature-meta {margin:0;max-width:600px;color:var(--photo-ink);}
.home-feature-meta strong,.home-feature-meta>span {color:var(--photo-ink);}
.home-feature-meta strong {font-weight:600;font-size:1.2rem;}
/* Ficha: un único título real sobre la imagen; el precio sigue actualizándose con las variantes. */
.detail-photo-composition {position:relative;isolation:isolate;overflow:hidden;border-radius:24px;}
.detail-immersive.has-photo .detail-photo-composition {display:flex;flex-direction:column;justify-content:flex-end;min-height:560px;aspect-ratio:3/4;background:#243f32;}
.detail-immersive.has-photo .detail-media {position:absolute;inset:0;width:100%;height:100%;margin:0;max-height:none;aspect-ratio:auto;border-radius:0;z-index:-1;}
.detail-photo-title {padding:140px 32px 40px;background:var(--photo-shade);color:var(--photo-ink);}
.detail-photo-title h1 {font:500 clamp(2.1rem,3.5vw,3.3rem)/1.06 var(--display);color:var(--photo-ink);margin:0 0 18px;letter-spacing:-.025em;text-wrap:balance;}
.detail-photo-title .detail-price {color:var(--photo-ink);margin:0;font-size:1.4rem;}
.detail-immersive.has-photo .photo-expand {top:76px;bottom:auto;right:14px;background:#fffdf6ed;}
.detail-photo-caption {padding:0 5px;}
.detail-layout--editorial {align-self:start;}
/* Vista previa de compartir: misma integración, sin elementos que simulen una tarjeta pulsable. */
.share-product-preview {position:relative;isolation:isolate;overflow:hidden;border-radius:18px;}
.share-product-preview.has-photo {min-height:330px;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:5/4;background:#243f32;}
.share-product-preview.has-photo .product-media {position:absolute;inset:0;width:100%;height:100%;z-index:-1;}
.share-product-preview .product-media img {width:100%;height:100%;object-fit:cover;}
.share-product-preview.has-photo .product-body {padding:64px 24px 24px;background:var(--photo-shade);color:var(--photo-ink);}
.share-product-preview h3 {font:500 1.8rem/1.12 var(--display);margin:0 0 12px;}
.share-product-preview.has-photo .price {color:var(--photo-ink);margin:0;}
@media(max-width:899px) {
 .home-feature-main {min-height:440px;aspect-ratio:4/5;}
 .home-feature-copy {padding:80px 24px 26px;}
 .home-feature-copy h3 {font-size:2.2rem;margin-bottom:18px;}
 .detail-immersive.has-photo .detail-photo-composition {width:calc(100% + 32px);margin-left:-16px;min-height:480px;aspect-ratio:4/5;border-radius:0 0 24px 24px;}
 body[data-current-route=product] .detail-immersive.has-photo .detail-media {width:100%;height:100%;margin:0;max-height:none;aspect-ratio:auto;border-radius:0;}
 .detail-photo-title {padding:125px 24px 30px;}
 .detail-photo-title h1 {font-size:2.3rem;}
 .detail-layout--editorial {margin-top:12px;}
}
@media(max-width:759px) {
 .product-card.has-photo .product-card__main {min-height:290px;aspect-ratio:3/5;}
 .product-card.has-photo .product-body {padding:52px 14px 18px;}
 .product-card.has-photo .product-body h3 {font-size:1.25rem;line-height:1.12;}
 .product-card.has-photo .price {font-size:.95rem;}
 .product-card.has-photo .favorite-card {right:8px;top:8px;}
 .product-card.has-photo.is-search-result .product-card__main,
 .product-grid > .product-card.has-photo:only-child .product-card__main {min-height:330px;aspect-ratio:1/1;}
 .product-card.has-photo.is-search-result .product-body h3 {font-size:1.7rem;}
}
@media(max-width:360px) {
 .product-grid:not(.search-results-grid) {grid-template-columns:1fr;}
 .product-card.has-photo .product-card__main {min-height:330px;aspect-ratio:1/1;}
 .product-card.has-photo .product-body h3 {font-size:1.6rem;}
 .home-feature-copy h3 {font-size:2rem;}
}
@media(prefers-reduced-motion:reduce) {.home-feature-main:hover .home-feature-media img{transform:none;}}
.share-product-preview {width:100%;min-width:0;box-sizing:border-box;}
.share-product-preview.has-photo {aspect-ratio:auto;}

/* Precio y categoría acompañan la descripción; la fotografía presenta el nombre. */
.detail-photo-title h1 {margin-bottom:0;}
.detail-facts {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0 14px;color:var(--terracotta);font-size:.8rem;font-weight:550;line-height:1.5;}
.detail-facts>span:last-child {text-transform:uppercase;letter-spacing:.07em;font-size:.7rem;}
.detail-facts #detailPrice {white-space:nowrap;}
.detail-facts-dot {width:4px;height:4px;border-radius:50%;background:currentColor;flex:0 0 4px;}

/* Previews sin precio: sombra localizada alrededor del nombre. */
.product-card.has-photo .product-body,.home-feature-copy,.share-product-preview.has-photo .product-body {background:linear-gradient(180deg,rgba(17,32,24,0),rgba(17,32,24,.48) 40%,rgba(17,32,24,.91));}
.product-card.has-photo .product-body h3,.share-product-preview h3 {margin-bottom:0;}
.home-feature-copy h3 {margin-bottom:12px;}
.home-feature-meta {justify-content:flex-start;font-size:.78rem;}
.product-card.has-photo .profile-note {margin-top:10px;}
/* El espacio de la foto se reserva antes de descargarla. Fade solo al estar decodificada. */
.product-media,.home-feature-media,.detail-media {background:#33483b;}
.food-photo {opacity:1;transition:opacity 460ms ease-out;}
.food-photo.is-photo-pending {opacity:0;}
.food-photo.is-photo-unavailable {visibility:hidden;}
.photo-unavailable::after {content:"Fotografía no disponible";position:absolute;left:16px;right:16px;top:30%;text-align:center;color:#fffdf6;font-size:.8rem;}
@media(prefers-reduced-motion:reduce) {.food-photo {transition:none;}}
:is(.product-media,.home-feature-media,.detail-media,.photo-view) img.food-photo {transition:opacity 460ms ease-out,transform 420ms ease-out;}
@media(prefers-reduced-motion:reduce) {:is(.product-media,.home-feature-media,.detail-media,.photo-view) img.food-photo {transition:none;}}

/* Nombre sobre la foto y contenido comparten la misma guía de lectura. */
.detail-copy .detail-description {width:100%;max-width:none;box-sizing:border-box;text-wrap:wrap;text-align:start;}
@media(max-width:899px) {
 .detail-page {padding-inline:16px;}
 .detail-layout--editorial {padding-inline:8px;}
 .detail-photo-title {padding-inline:24px;}
}

/* Controles de la foto sobre dos filas con guías compartidas. */
.detail-immersive {--photo-control-inset:12px;}
.detail-floating-controls {left:var(--photo-control-inset)!important;right:var(--photo-control-inset)!important;top:calc(12px + var(--safe-top));align-items:center;}
.detail-floating-group {display:flex;align-items:center;gap:8px;}
.detail-floating-controls .floating-control {display:flex;align-items:center;justify-content:center;width:46px;height:46px;min-width:46px;padding:0;margin:0;line-height:1;box-sizing:border-box;}
.detail-floating-controls .ui-icon {display:block;width:24px;height:24px;margin:0;flex:none;}
.detail-photo-tools {position:absolute;z-index:7;top:calc(72px + var(--safe-top));left:var(--photo-control-inset);right:var(--photo-control-inset);display:flex;align-items:center;justify-content:space-between;gap:12px;}
.detail-photo-logo {width:82px;flex:none;filter:drop-shadow(0 1px 3px rgba(0,0,0,.4));}
.detail-photo-logo svg {display:block;width:100%;height:auto;fill:#fffdf6;}
.detail-immersive.has-photo .detail-photo-tools .photo-expand {position:static;margin:0;min-height:40px;}
.brand-logo-inline {display:block;width:auto;}
.brand-logo-inline svg {display:block;width:auto;height:100%;}
.visit-footer {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;}
.visit-footer a {display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,253,246,.6);text-decoration:none;transition:background 180ms ease,transform 180ms ease;}
.visit-footer a>span {flex:1;}
.visit-footer strong,.visit-footer small {display:block;}
.visit-footer strong {font-weight:550;font-size:.85rem;}
.visit-footer small {color:var(--muted);font-size:.72rem;margin-top:3px;}
.visit-footer a:hover {background:var(--surface);transform:translateY(-2px);}
.visit-footer a:active {transform:scale(.985);}
.visit-settings summary,.detail-disclosure summary,.menu-dietary-note summary {list-style:none;position:relative;padding-right:28px;}
.visit-settings summary::-webkit-details-marker,.detail-disclosure summary::-webkit-details-marker,.menu-dietary-note summary::-webkit-details-marker {display:none;}
.visit-settings summary::after,.detail-disclosure summary::after,.menu-dietary-note summary::after {content:'';position:absolute;right:6px;top:14px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform 280ms ease;}
:is(details[open],details[data-expanding=true])>summary::after {transform:rotate(225deg);}
details[data-expanding=false]>summary::after {transform:rotate(45deg);}
@media(max-width:899px) {.detail-immersive {--photo-control-inset:0px;}}
@media(prefers-reduced-motion:reduce) {.visit-footer a,summary::after {transition:none!important;}}

.detail-facts-row {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;}
.detail-facts-row .detail-facts {margin:0;min-width:0;}
.detail-facts-row .detail-taste-another {margin:0;padding:6px 0;min-height:44px;flex:none;text-decoration:none;font-size:.75rem;font-weight:500;}
.sheet-backdrop:has(.photo-viewer) {padding:0;background:#102018;}
.sheet.photo-viewer {position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0;margin:0;background:#102018;overflow:hidden;}
.photo-viewer .sheet-handle,.photo-viewer .sheet-header h2 {display:none;}
.photo-viewer .sheet-header {position:absolute;inset:0 0 auto;z-index:10;padding:0;border:0;height:0;}
.photo-viewer .sheet-close {position:absolute;right:max(16px,env(safe-area-inset-right));top:calc(12px + env(safe-area-inset-top));width:46px;height:46px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#fffdf6ed;color:#243f32;cursor:pointer;z-index:10;box-shadow:0 4px 16px rgba(0,0,0,.45);transition:transform 160ms ease,background 160ms ease;}
.photo-viewer .sheet-close:active {transform:scale(.92);}
.photo-viewer .sheet-close .ui-icon {width:24px;height:24px;margin:0;}
.photo-viewer .sheet-body {position:absolute;inset:0;padding:0;overflow:hidden;max-height:none;display:flex;align-items:center;justify-content:center;}
.photo-pan {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:zoom-in;}
.photo-pan.is-zoomed {cursor:grab;}
.photo-pan.is-dragging {cursor:grabbing;}
.photo-pan-stage {display:flex;align-items:center;justify-content:center;will-change:transform;transform-origin:center center;pointer-events:none;}
.photo-pan-stage.is-animating {transition:transform 260ms cubic-bezier(.2,0,0,1);}
.photo-pan img.food-photo {display:block;width:auto;height:auto;max-width:min(94vw,1280px);max-height:min(84vh,88dvh);object-fit:contain;border-radius:14px;box-shadow:0 18px 48px rgba(0,0,0,.48);user-select:none;-webkit-user-select:none;-webkit-user-drag:none;pointer-events:none;}
.photo-viewer-controls {position:absolute;bottom:max(18px,env(safe-area-inset-bottom));right:max(18px,env(safe-area-inset-right));display:flex;align-items:center;gap:6px;z-index:6;background:rgba(16,32,24,.84);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:4px;border-radius:999px;border:1px solid rgba(255,253,246,.16);box-shadow:0 8px 24px rgba(0,0,0,.4);}
.photo-viewer-btn {width:42px;height:42px;border-radius:50%;border:0;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;color:#fffdf6;cursor:pointer;transition:background 160ms ease,transform 160ms ease,opacity 160ms ease;}
.photo-viewer-btn:hover {background:rgba(255,253,246,.14);}
.photo-viewer-btn:active {transform:scale(.92);}
.photo-viewer-btn[disabled] {opacity:.32;cursor:not-allowed;pointer-events:none;}
.photo-viewer-btn .ui-icon {width:20px;height:20px;stroke-width:2.1;}
.photo-viewer-hint {position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:max(18px,env(safe-area-inset-left));z-index:5;color:rgba(255,253,246,.88);font-size:.76rem;font-weight:500;letter-spacing:.015em;pointer-events:none;background:rgba(16,32,24,.75);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:7px 14px;border-radius:999px;border:1px solid rgba(255,253,246,.12);box-shadow:0 4px 16px rgba(0,0,0,.25);transition:opacity 320ms ease;}
.photo-viewer-logo {position:absolute;left:max(16px,env(safe-area-inset-left));top:calc(12px + env(safe-area-inset-top));height:46px;display:flex;align-items:center;pointer-events:none;filter:drop-shadow(0 1px 4px rgba(0,0,0,.6));z-index:6;}
.photo-viewer-logo svg {width:82px;height:auto;fill:#fffdf6;}
@media(max-width:580px){.photo-viewer-hint{left:50%;bottom:calc(72px + env(safe-area-inset-bottom));transform:translateX(-50%);white-space:nowrap;font-size:.72rem;}.photo-viewer-controls{left:50%;right:auto;transform:translateX(-50%);}}
@media(prefers-reduced-motion:reduce){.photo-pan-stage.is-animating{transition:none!important;}}
@media(max-width:359px){.detail-facts-row{gap:8px}.detail-facts-row .detail-taste-another{font-size:.7rem}.detail-facts-row .detail-facts{gap:6px}}

/* Encabezado de la recomendación: título y acción centrados verticalmente. */
.section-head.home-feature-head {align-items:center;}
.home-feature-head h2 {margin:0;}
.home-feature-head>.text-button {margin:0;min-height:44px;align-items:center;}

.home-recommendation.section {margin-top:20px;}
.section-head.home-feature-head {margin-bottom:10px;}

.detail-copy .detail-description {margin-top:0;}

/* Refinamiento UX v1.7.2: Precios sutiles, ritmo visual de tarjetas y áreas seguras */
.product-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.product-card.has-photo .product-head-row h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.product-card.has-photo .product-price {
  flex: 0 0 auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 253, 246, 0.92);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.product-category-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 5px;
}
.product-category-row .product-category {
  display: inline-block !important;
  margin: 0 !important;
  font-size: 0.65rem;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  line-height: 1.3;
}
.product-category-row .product-price {
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Tarjetas de texto más compactas y equilibradas */
.product-card.without-photo {
  border-radius: 16px;
}
/* Tarjetas de texto más compactas y equilibradas */
.product-card.without-photo {
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.product-card.without-photo .product-card__main {
  flex: 1 1 auto;
}
.product-card.without-photo .product-body {
  padding: 14px 14px 2px 14px;
}
.product-card.without-photo .product-body h3 {
  font-size: 1.12rem;
  line-height: 1.22;
  margin: 0 0 4px;
}
.product-card.without-photo .product-description {
  font-size: 0.78rem;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--muted);
}

/* Pie de tarjeta sin foto: corazón e indicador de picante en la misma fila */
.product-card.without-photo .product-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 14px 14px;
  margin-top: 6px;
}
.text-menu-grid .product-card.without-photo {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
}
.text-menu-grid .product-card.without-photo .product-body {
  padding: 13px 0 2px 0;
}
.text-menu-grid .product-card.without-photo .product-card__footer {
  padding: 0 0 13px 0;
}

/* Ocultar el corazón absoluto antiguo en tarjetas de texto */
.product-card.without-photo > .favorite-card:not(.favorite-card--inline) {
  display: none !important;
}

/* Corazón inline compacto */
.favorite-card.favorite-card--inline {
  position: static !important;
  inset: auto !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  border-radius: 50% !important;
  border: 1px solid var(--line) !important;
  background: transparent !important;
  color: var(--forest-900) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  flex: 0 0 30px !important;
  box-shadow: none !important;
  transition: transform 140ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease !important;
}
.favorite-card.favorite-card--inline .ui-icon {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
}
.favorite-card.favorite-card--inline[aria-pressed="true"] {
  background: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  color: #fff !important;
}
.favorite-card.favorite-card--inline:active {
  transform: scale(0.92) !important;
}

/* Indicador de picante con su color e icono adecuado */
.spice-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--forest-900);
  line-height: 1;
}
.spice-badge img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  vertical-align: middle;
}
.spice-badge span {
  letter-spacing: 0.01em;
}

/* Ficha de producto: un solo sello de picante claro */
.spice-single-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin: 10px 0 14px;
}
.spice-single-badge img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}
.spice-single-badge strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--forest-900);
  margin-bottom: 2px;
}
.spice-single-badge .micro {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}
.filter-spice img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Filtros en chip grid amigable */
.filter-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.filter-chip-grid .chip {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--forest-900);
  cursor: pointer;
  transition: transform 120ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}
.filter-chip-grid .chip:active {
  transform: scale(0.96);
}
.filter-chip-grid .chip[aria-pressed="true"] {
  background: var(--forest-900);
  color: #fffdf6;
  border-color: var(--forest-900);
  font-weight: 600;
}

/* Safe areas para evitar superposición con barra de Safari iOS */
.sheet-actions {
  padding-bottom: max(16px, calc(12px + env(safe-area-inset-bottom)));
}
.design-credit {
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
body:has(> .design-credit) .page {
  padding-bottom: max(32px, calc(20px + env(safe-area-inset-bottom)));
}

@media(max-width: 759px) {
  .product-card.has-photo .product-price {
    font-size: 0.82rem;
  }
  .product-card.without-photo .product-body {
    padding: 12px 12px 2px 12px;
  }
  .product-card.without-photo .product-card__footer {
    padding: 0 12px 12px 12px;
  }
  .text-menu-grid .product-card.without-photo .product-body {
    padding: 11px 0 2px 0;
  }
  .text-menu-grid .product-card.without-photo .product-card__footer {
    padding: 0 0 11px 0;
  }
  .product-card.without-photo .product-body h3 {
    font-size: 1.05rem;
  }
  .product-category-row .product-price {
    font-size: 0.8rem;
  }
}


.product-video{margin:24px 0;min-width:0}.product-video h2{font-size:1.3rem;margin-bottom:12px}.product-video iframe,.product-video video{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:18px;background:#17382a;object-fit:contain}.product-video video[hidden]{display:none}

/* Tablet photography: keep product information within easy reach. */
@media (min-width:701px) and (max-width:899px) {
 .home-feature-main{height:clamp(320px,45svh,480px);min-height:0;aspect-ratio:auto}
 .detail-immersive.has-photo .detail-photo-composition{height:clamp(360px,48svh,560px);min-height:0;aspect-ratio:auto}
}
@media (min-width:900px) {
 .detail-immersive.has-photo .detail-photo-composition{max-height:calc(100svh - 64px);min-height:420px}
}

.home-dayline.is-closed-notice{display:block}
.home-feature-weather{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;padding:5px 11px;border-radius:999px;background:rgba(16,32,24,.56);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,253,246,.22);color:#fffdf6;font-size:.72rem;font-weight:600;letter-spacing:.03em;line-height:1.3;max-width:100%;box-sizing:border-box}
.home-weather-companion{display:flex;flex-wrap:nowrap;align-items:flex-end;justify-content:space-between;gap:12px;width:100%;margin-top:10px;padding:12px 16px;border-radius:16px;border:1px solid var(--line);background:rgba(255,253,246,.76);color:var(--ink);font:inherit;font-size:.82rem;text-align:left;cursor:pointer;box-sizing:border-box;transition:background 160ms ease,border-color 160ms ease}
.home-weather-companion:hover{background:var(--surface);border-color:rgba(36,70,51,.28)}
.home-weather-companion__label{flex:1 1 auto;min-width:0;line-height:1.35;text-wrap:pretty}
.home-weather-companion__label strong{color:var(--forest-900);font-weight:650}
.home-weather-companion__cta{display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;flex:0 0 auto;height:1.35em;color:var(--terracotta);font-weight:600}
.home-weather-companion__cta .ui-icon{width:16px;height:16px}
.detail-weather-companion{margin:14px 0 6px}
@media (max-width:480px){
 .home-weather-companion{gap:10px;padding:11px 14px}
}


/* Compact fallback cards keep the dish, rather than the repeated room, prominent. */
.text-menu-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.product-card.has-photo.has-generic-photo {background:var(--surface);border:1px solid var(--line);}
.product-card.has-photo.has-generic-photo .product-card__main {display:flex;justify-content:flex-start;min-height:0;aspect-ratio:auto;height:100%;color:var(--ink);}
.product-card.has-photo.has-generic-photo .product-media {position:relative;inset:auto;z-index:auto;height:150px;min-height:150px;flex:none;}
.product-card.has-photo.has-generic-photo .product-media img {object-position:center 58%;filter:brightness(0.88);}
.product-card.has-photo.has-generic-photo .product-body {padding:18px;background:var(--surface);color:var(--ink);}
.product-card.has-photo.has-generic-photo .product-head-row {align-items:flex-start;gap:12px;}
.product-card.has-photo.has-generic-photo .product-body h3 {color:var(--forest-900);font-size:1.25rem;line-height:1.22;text-wrap:pretty;}
.product-card.has-photo.has-generic-photo .product-price {color:var(--forest-900);font-size:.95rem;white-space:nowrap;}
.product-card.has-photo.has-generic-photo .generic-description {margin:10px 0 0;color:var(--ink-soft);font-size:.9rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.product-card.has-photo.has-generic-photo .profile-note {color:var(--ink);}

/* En tarjetas completas y resultados de búsqueda, replicar los tonos de alta legibilidad del perfil */
.product-card.has-photo.has-generic-photo.is-search-result,
.product-grid > .product-card.has-photo.has-generic-photo:only-child {background:#17382a;border:0;}
.product-card.has-photo.has-generic-photo.is-search-result .product-media,
.product-grid > .product-card.has-photo.has-generic-photo:only-child .product-media {position:absolute;inset:0;width:100%;height:100%;min-height:0;z-index:-1;}
.product-card.has-photo.has-generic-photo.is-search-result .product-body,
.product-grid > .product-card.has-photo.has-generic-photo:only-child .product-body {padding:64px 22px 24px;background:var(--photo-shade)!important;color:var(--photo-ink)!important;}
.product-card.has-photo.has-generic-photo.is-search-result .product-body h3,
.product-grid > .product-card.has-photo.has-generic-photo:only-child .product-body h3 {color:var(--photo-ink)!important;}
.product-card.has-photo.has-generic-photo.is-search-result .product-price,
.product-grid > .product-card.has-photo.has-generic-photo:only-child .product-price {color:var(--photo-ink)!important;font-weight:600;}
.product-card.has-photo.has-generic-photo.is-search-result .generic-description,
.product-grid > .product-card.has-photo.has-generic-photo:only-child .generic-description {color:rgba(255,253,246,.88)!important;text-shadow:0 1px 4px rgba(17,32,24,.75);}
.detail-related {position:relative;margin-top:40px;padding-top:28px;border-top:1px solid var(--line);}
@media(min-width:900px) {
 .detail-page > .detail-immersive {position:relative;top:auto;align-self:start;}
 .text-menu-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(min-width:1200px) {.text-menu-grid {grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:519px) {.text-menu-grid {grid-template-columns:1fr;gap:16px;}.product-card.has-photo.has-generic-photo .product-media {height:140px;min-height:140px;}}
