:root {
  --d-red: #f72b2a;
  --d-brown: #42120c;
  --d-pink: #ffe2e6;
  --d-gold: #e2b33b;
  --d-blue: #00b6f4;
  --d-blue-dark: #0443a1;
  --d-white: #ffffff;
  --d-cream: #fff5df;
  --d-ink: #42120c;
  /* Rojo de marca accesible. El #f72b2a de identidad da 3,93:1 con blanco y 3,63:1 sobre
     crema, por debajo del 4,5:1 de WCAG AA para texto normal. Este mantiene tono y
     saturacion exactos (solo baja la luminosidad) y sube a 5,73:1 y 5,28:1. Se usa para
     texto rojo sobre fondo claro y para superficies rojas con texto pequeno encima; el
     #f72b2a sigue intacto donde es identidad pura (hero calcado del Canva). */
  --d-red-ink: #ce0908;
  --d-display: "Anton", Impact, sans-serif;
  --d-body: "DM Sans", Arial, sans-serif;
  --font-display: var(--d-display);
  --font-body: var(--d-body);
}

/* ========================================================================== 
   CIERRE EFECTIVO 2026-11-09
   Este bloque debe permanecer al final: corrige accesibilidad y recompone móvil
   después de todas las reglas del calco y de las fuentes de marca.
   ========================================================================== */
.d-base-showcase__finish {
  background: #dc1621;
}

html:not(.d-canvas) .d-pill--wafers,
html:not(.d-canvas) .d-pill--ice,
html:not(.d-canvas) .d-pill--toppings {
  color: #bd1919;
}

.d-calco--franquicia .d-calco__sec:first-child {
  background: #dc1621 !important;
}

.d-calco--franquicia .d-calco__sec:nth-child(2) {
  background: #ebd0d3;
}

.d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__t,
.d-calco--franquicia .d-calco__form {
  color: #8f0e18 !important;
}

.d-calco--empleo .d-calco__cont > div[aria-hidden="true"]:first-of-type {
  background: #dc1621 !important;
}

.d-calco--empleo .d-calco__cont > span.d-calco__t {
  color: #9f1019 !important;
}

.d-site-footer__inner {
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  html.d-canvas .d-replica-location {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  html.d-canvas .d-replica-location .d-replica-canvas {
    width: 100% !important;
    transform: none !important;
  }

  html.d-canvas .d-replica-location__inner {
    width: calc(100% - 32px) !important;
    min-height: 0 !important;
    padding: 36px 0 58px !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  html.d-canvas .d-replica-location__card {
    padding: 32px 24px 26px !important;
    border-radius: 26px !important;
  }

  html.d-canvas .d-replica-location h2,
  html.d-fuentes-marca.d-canvas .d-replica-location h2 {
    margin: 0 0 12px !important;
    font-size: 48px !important;
  }

  html.d-canvas .d-replica-location address,
  html.d-canvas .d-replica-location p,
  html.d-fuentes-marca.d-canvas .d-replica-location address,
  html.d-fuentes-marca.d-canvas .d-replica-location__card p:not(.d-replica-location__find) {
    position: static !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  html.d-canvas .d-replica-location__card address + p,
  html.d-canvas .d-replica-location__card address + p + p {
    margin-top: 8px !important;
  }

  html.d-canvas .d-replica-location .d-replica-location__find,
  html.d-fuentes-marca.d-canvas .d-replica-location .d-replica-location__find {
    position: static !important;
    margin: 16px 0 0 !important;
    padding: 11px 14px !important;
    font-size: 18px !important;
  }

  html.d-canvas .d-replica-location__arrow {
    position: static !important;
    width: 112px !important;
    margin: 12px 22px 0 auto !important;
  }

  html.d-canvas .d-replica-location__franchise,
  html.d-fuentes-marca.d-canvas .d-replica-location__franchise {
    min-height: 44px !important;
    margin-top: 14px !important;
    padding: 10px 16px !important;
    font-size: 16px !important;
  }

  html.d-canvas .d-replica-location__map,
  html.d-canvas .d-replica-location__map iframe {
    min-height: 320px !important;
    height: 320px !important;
    border-width: 6px !important;
    border-radius: 26px !important;
  }

  .delissyum-site.home .d-site-footer {
    margin-top: 0 !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child {
    height: auto !important;
    min-height: 0 !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 34px 20px 42px !important;
    translate: none !important;
    transform: none !important;
    aspect-ratio: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(1),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(2),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(3),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(5),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(6),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(7) {
    display: none !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(4) {
    position: static !important;
    width: auto !important;
    height: auto !important;
    grid-column: 1 / -1;
    font-size: 38px !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child h1 {
    display: block !important;
    grid-column: 1 / -1;
  }

  .d-calco--franquicia .d-calco__sec:first-child h1 .d-calco__t {
    position: static !important;
    width: auto !important;
    height: auto !important;
    font-size: 29px !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(2),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(3) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 230px !important;
    border-radius: 18px !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(2) img,
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(3) img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    rotate: 0deg !important;
    transform: none !important;
    object-fit: cover !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > p:nth-last-child(-n+5) {
    position: static !important;
    width: auto !important;
    height: auto !important;
    grid-column: 1 / -1;
    font-size: 16px !important;
    line-height: 1.42 !important;
    text-align: left !important;
  }

  .d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__pastilla {
    width: 170px !important;
    height: 44px !important;
  }

  .d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__pastilla span,
  .d-calco--empleo .d-calco__pastilla span {
    font-size: 18px !important;
  }

  .d-calco--empleo .d-calco__pastilla {
    min-width: 160px !important;
    min-height: 44px !important;
  }

  .d-calco--empleo a[href^="mailto:"] {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .d-site-footer__inner {
    gap: 4px 14px !important;
  }
}

html {
  scroll-behavior: smooth;
}

body.delissyum-site {
  margin: 0;
  overflow-x: clip;
  background: var(--d-white);
  color: var(--d-brown);
  font-family: var(--d-body);
}

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

.delissyum-site :focus-visible {
  outline: 3px solid var(--d-blue-dark);
  outline-offset: 4px;
}

.delissyum-site .wp-site-blocks,
.delissyum-site .wp-site-blocks > main,
.delissyum-site .entry-content,
.delissyum-site .wp-block-post-content,
.delissyum-site .wp-block-post-content > .wp-block-html {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.delissyum-site .wp-site-blocks > main > .wp-block-group.alignfull {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* El tema aplica max-width:645px (contenido de Twenty Twenty-Five) a todo hijo directo de
   .is-layout-constrained que no sea .alignfull/.alignwide. .delissyum-replica (home) ya
   escapaba de esa jaula; a .d-franchise-page (franquicia) le faltaba el mismo escape y
   quedaba comprimido a 645 px de ancho, aplastando el hero contra una sola columna
   estrechisima (queja de Marc: "el diseño está muy desordenado, tamaños de objetos, espacios"). */
.delissyum-site .is-layout-constrained > .delissyum-replica,
.delissyum-site .is-layout-constrained > .d-franchise-page,
.delissyum-site .is-layout-constrained > .d-calco {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.delissyum-site .skip-link {
  position: absolute !important;
  z-index: 10000;
  left: -9999px !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 44px !important;
  height: 44px !important;
  align-items: center;
  padding: 0 14px !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: nowrap;
  background: #fff;
  color: var(--d-brown);
}

.delissyum-site .skip-link:focus {
  top: 8px !important;
  left: 8px !important;
}

.delissyum-site .d-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: 48px;
  margin: 0;
  padding: 0 30px;
  background: #fff;
  box-shadow: none;
}

.d-site-header .wp-block-navigation {
  min-height: 48px;
  font-family: var(--d-body);
  font-size: 15px;
  color: #68788a;
}

.d-site-header .wp-block-navigation-item__content {
  min-height: 44px;
  padding: 12px 10px;
  text-decoration: none;
}

/* Menu alineado con el Canva medido a 1280 px: separacion de 32 px entre textos
   (10+10 de relleno del enlace + 12 de hueco) y el ultimo item a 16 px del borde. */
.d-site-header .wp-block-navigation {
  gap: 12px;
}

.delissyum-site .d-site-header {
  padding-right: 6px;
}

.d-site-header .current-menu-item > .wp-block-navigation-item__content,
.d-site-header .wp-block-navigation-item__content:hover {
  color: var(--d-brown);
  font-weight: 700;
}

/* Menu de escritorio remedido en el DOM del Canva el 2026-09-22: los cuatro enlaces van
   seguidos, sin hueco, en cajas de 76 / 75 / 169 / 192 px que acaban justo en el borde
   derecho (x=768, 844, 919, 1088); todos en rgb(48,66,84), "Inicio" en 700 y el resto en
   400. Aqui iban en 600, en gris y marron, con 12 px de hueco y a 6 px del borde. */
@media (min-width: 701px) {
  .delissyum-site .d-site-header {
    padding-right: 0;
  }

  .d-site-header .wp-block-navigation {
    gap: 0;
    color: #304254;
  }

  .d-site-header .wp-block-navigation-item__content {
    justify-content: center;
    padding: 12px 0;
    color: #304254;
    font-weight: 400;
  }

  .d-site-header .wp-block-navigation-item:nth-child(1) > .wp-block-navigation-item__content { width: 76px; }
  .d-site-header .wp-block-navigation-item:nth-child(2) > .wp-block-navigation-item__content { width: 75px; }
  .d-site-header .wp-block-navigation-item:nth-child(3) > .wp-block-navigation-item__content { width: 169px; }
  .d-site-header .wp-block-navigation-item:nth-child(4) > .wp-block-navigation-item__content { width: 192px; }

  .d-site-header .current-menu-item > .wp-block-navigation-item__content,
  .d-site-header .wp-block-navigation-item__content:hover {
    color: #304254;
    font-weight: 700;
  }
}

/* Icono de menu movil del Canva: tres rayas de 2 px, 16 px de ancho, centrado en x=370 de
   390 y en la vertical de la barra. El de WordPress eran dos rayas finas pegadas arriba. */
@media (max-width: 700px) {
  /* `html` delante para ganar a la regla de movil posterior que pone 20 px a los lados. */
  html .delissyum-site .d-site-header {
    padding-right: 0;
  }

  .d-site-header .wp-block-navigation__responsive-container-open {
    display: inline-flex;
    width: 44px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: #304254;
  }

  .d-site-header .wp-block-navigation__responsive-container-open svg {
    display: none;
  }

  .d-site-header .wp-block-navigation__responsive-container-open::before {
    display: block;
    width: 16px;
    height: 15px;
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 6.5px / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 13px / 100% 2px no-repeat;
    content: "";
  }
}

/* ========================================================================== 
   Cierre integral 2026-11-09: accesibilidad, tactilidad y autoria
   Mantiene el mundo visual del Canva, pero corrige contrastes y escalas que en móvil
   dejaban texto y enlaces por debajo del mínimo legible o táctil.
   ========================================================================== */
.d-base-showcase__finish {
  background: #dc1621;
}

html:not(.d-canvas) .d-pill--wafers,
html:not(.d-canvas) .d-pill--ice,
html:not(.d-canvas) .d-pill--toppings {
  color: #bd1919;
}

.d-calco--franquicia .d-calco__sec:first-child {
  background: #dc1621 !important;
}

.d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__t,
.d-calco--franquicia .d-calco__form {
  color: #8f0e18 !important;
}

.d-calco--empleo .d-calco__cont > div[aria-hidden="true"]:first-of-type {
  background: #dc1621 !important;
}

.d-calco--empleo .d-calco__cont > span.d-calco__t {
  color: #9f1019 !important;
}

.d-site-footer__inner {
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  /* La ubicación ya no se reduce como un póster de 1280 px: pasa a una composición móvil
     real, con dirección, Instagram, CTA y mapa utilizables sin zoom. */
  html.d-canvas .d-replica-location {
    height: auto;
    min-height: 0;
    padding: 0;
  }

  html.d-canvas .d-replica-location .d-replica-canvas {
    width: 100%;
    transform: none;
  }

  html.d-canvas .d-replica-location__inner {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 36px 0 58px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  html.d-canvas .d-replica-location__card {
    padding: 32px 24px 26px;
    border-radius: 26px;
  }

  html.d-canvas .d-replica-location h2 {
    margin-bottom: 12px;
    font-size: 48px;
  }

  html.d-canvas .d-replica-location address,
  html.d-canvas .d-replica-location p {
    font-size: 16px;
    line-height: 1.35;
  }

  html.d-canvas .d-replica-location__card address + p,
  html.d-canvas .d-replica-location__card address + p + p {
    margin-top: 8px;
  }

  html.d-canvas .d-replica-location .d-replica-location__find {
    margin-top: 16px !important;
    padding: 11px 14px;
    font-size: 18px !important;
  }

  html.d-canvas .d-replica-location__arrow {
    width: 112px;
    margin-right: 22px;
  }

  html.d-canvas .d-replica-location__franchise {
    min-height: 44px;
    margin-top: 14px;
    padding: 10px 16px;
    font-size: 16px;
  }

  html.d-canvas .d-replica-location__map,
  html.d-canvas .d-replica-location__map iframe {
    min-height: 320px;
    height: 320px;
    border-width: 6px;
    border-radius: 26px;
  }

  .delissyum-site.home .d-site-footer {
    margin-top: 0;
  }

  /* Hero de franquicia móvil: deja de ser el lienzo de escritorio encogido. */
  .d-calco--franquicia .d-calco__sec:first-child {
    height: auto !important;
    min-height: 0 !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont {
    position: relative;
    left: auto;
    width: 100%;
    padding: 34px 20px 42px;
    translate: none;
    aspect-ratio: auto !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(1),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(2),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(3),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(5),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(6),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(7) {
    display: none;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(4) {
    position: static;
    width: auto;
    height: auto;
    grid-column: 1 / -1;
    font-size: 38px !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child h1 {
    display: block;
    grid-column: 1 / -1;
  }

  .d-calco--franquicia .d-calco__sec:first-child h1 .d-calco__t {
    position: static;
    width: auto;
    height: auto;
    font-size: 29px !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(2),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(3) {
    position: relative;
    inset: auto;
    width: 100%;
    height: 230px;
    border-radius: 18px !important;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(2) img,
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(3) img {
    inset: 0;
    width: 100%;
    height: 100%;
    rotate: 0deg;
    object-fit: cover;
  }

  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > p:nth-last-child(-n+5) {
    position: static;
    width: auto;
    height: auto;
    grid-column: 1 / -1;
    font-size: 16px !important;
    line-height: 1.42 !important;
    text-align: left !important;
  }

  .d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__pastilla {
    width: 170px !important;
    height: 44px !important;
    left: calc(50% - 85px) !important;
  }

  .d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__pastilla span,
  .d-calco--empleo .d-calco__pastilla span {
    font-size: 18px !important;
  }

  .d-calco--empleo .d-calco__pastilla {
    min-width: 160px;
    min-height: 44px;
  }

  .d-calco--empleo a[href^="mailto:"] {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .d-site-footer__inner {
    gap: 4px;
  }
}

.delissyum-replica {
  width: 100%;
  overflow: clip;
}

.delissyum-replica img {
  display: block;
  height: auto;
  max-width: 100%;
}

.d-replica-hero,
.d-story {
  background: var(--d-red);
  color: var(--d-white);
}

/* ---------------------------------------------------------------------------
   Lienzo escalable del hero
   ---------------------------------------------------------------------------
   El original no reflowa el hero en movil: reduce el lienzo entero. Medido en
   delissyum.com el 2026-09-12, su hero pasa de 1062 px a 1280 de ancho a 372 px a 390,
   mientras el nuestro lo desplegaba en vertical hasta 1210. Aqui se reproduce igual: el
   lienzo mantiene sus 1280 px logicos y se reduce con `transform`, de modo que dentro se
   aplica la MISMA geometria que en escritorio (por eso su bloque es `@container` y no
   `@media`). Yeray eligio el calco fiel sabiendo que el texto queda a ~8 px, como en la web
   que el cliente tiene hoy.
   La clase `.d-canvas` y `--d-canvas-scale` las pone el script de la replica; sin JS el
   hero se queda en el diseno movil de siempre, que sigue intacto tras `html:not(.d-canvas)`. */
.d-replica-canvas {
  container-name: d-canvas;
  container-type: inline-size;
  width: 100%;
  /* .d-story resulta ser un contenedor de rejilla, asi que el lienzo se encogia a una
     pista (692 px de 1440) y el `@container (min-width: 981px)` dejaba de cumplirse: la
     seccion se quedaba con el diseno movil en escritorio. Estas dos lineas lo hacen
     independiente del display del padre. */
  grid-column: 1 / -1;
  justify-self: stretch;
}

/* Hero movil. El Canva NO usa aqui el hero de escritorio reducido tal cual: medido el
   2026-09-22 a 360, 390 y 430 px, su contenido va ampliado un 3,1 %, desplazado 5,7 px a
   la izquierda y 25 px hacia abajo (fijos en pixeles de pantalla en los tres anchos), y la
   seccion mide 49 px mas que 1062 reducido. Sin esto, en el movil todo el primer pantallazo
   quedaba 25 px alto y la historia empezaba 49 px antes que en el original. */
html.d-canvas .d-replica-hero {
  overflow: hidden;
  background: var(--d-red);
  height: calc(1062px * var(--d-canvas-scale, 1) + 49px);
}

html.d-canvas .d-replica-hero .d-replica-stage {
  transform-origin: 0 0;
  transform:
    translate(calc(-5.7px / var(--d-canvas-scale, 1)), calc(25px / var(--d-canvas-scale, 1)))
    scale(1.031);
}

/* flow-root: sin el, el margen negativo del escenario se escapaba por el borde de la
   seccion (colapso de margenes) y la seccion seguia midiendo 1090. */
.d-replica-hero {
  display: flow-root;
}

html.d-canvas .d-replica-canvas {
  width: 1280px;
  transform: scale(var(--d-canvas-scale, 1));
  transform-origin: top left;
}

html.d-canvas .d-replica-stage {
  width: 1280px;
  margin: 0;
}

/* Mismo lienzo para las otras dos secciones que el Canva tambien reduce en vez de
   reflowar. Alturas medidas en el original a 1280 px: historia 970, localizacion 739.
   La del menu se queda reflowada a proposito: el Canva tambien la reflowa (sus cinco
   tarjetas pasan a una columna), porque escaladas serian ilegibles. */
html.d-canvas .d-story {
  overflow: hidden;
  height: calc(970px * var(--d-canvas-scale, 1));
}

html.d-canvas .d-replica-location {
  overflow: hidden;
  height: calc(739px * var(--d-canvas-scale, 1));
}

/* Solo la historia: la localizacion ya lleva su caja del Canva (1164 centrado, x=58) en
   el bloque @container. Con esta regla tambien aplicada a la localizacion, su bloque
   ocupaba los 1280 sin margen dentro del lienzo movil: la tarjeta tocaba el borde
   izquierdo y el mapa se salia por la derecha (visto el 2026-09-22 a 390 px). */
html.d-canvas .d-story__inner {
  width: 1280px;
  max-width: 1280px;
  margin: 0;
}

.d-replica-stage {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  height: 1090px;
  margin: 0 auto;
  --d-shift-x: 0px;
  --d-shift-y: 0px;
  --d-shift-neg-x: 0px;
  --d-shift-neg-y: 0px;
}

.d-canva-effect,
.d-story__sparkles {
  position: absolute;
  z-index: 1;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

/* Cajas medidas en el DOM del Canva a 1280 px (2026-09-12): estallido 415x409 en x=315
   y=126; anillos 671x671 en x=459 y=318. Y los dos van a OPACIDAD 1 en el original: aqui
   estaban a .85 y .9, que es por lo que se veian mas apagados que en el Canva. */
.d-canva-effect--burst {
  top: 7.16%;
  left: 24.61%;
  width: 32.42%;
  height: auto;
  opacity: 1;
}

.d-canva-effect--rings {
  top: 24.77%;
  left: 35.86%;
  right: auto;
  width: 52.42%;
  height: auto;
  opacity: 1;
  transform: translate3d(var(--d-shift-neg-x), var(--d-shift-neg-y), 0);
}

.d-wordmark {
  position: absolute;
  z-index: 8;
  top: 58px;
  left: 10px;
  display: flex;
  width: 330px;
  min-height: 150px;
  align-items: center;
  justify-content: flex-end;
  color: var(--d-white);
  text-decoration: none;
}

.d-wordmark img {
  position: absolute;
  top: 0;
  left: 96px;
  width: 76px;
  height: 114px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.d-wordmark span {
  position: absolute;
  bottom: 0;
  left: 0;
  font-family: var(--d-display);
  font-size: 66px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.d-headline {
  position: absolute;
  z-index: 9;
  top: 55px;
  right: 20px;
  width: 590px;
  margin: 0;
  font-family: var(--d-display);
  font-size: 78px;
  line-height: .95;
  letter-spacing: 0;
}

.d-headline span {
  display: block;
  width: max-content;
}

.d-headline__la {
  margin-left: 30px;
  color: #fff;
  font-size: 54px;
}

.d-headline__experience {
  padding: 24px 28px 18px;
  transform: rotate(-2deg);
  background: var(--d-brown);
  color: #fff;
}

.d-headline__plus {
  position: absolute;
  top: 126px;
  right: -10px;
  transform: rotate(7deg);
  color: var(--d-brown);
  font-size: 88px;
}

.d-headline__delicious {
  margin-top: 14px;
  margin-left: 135px;
  padding: 24px 32px 20px;
  transform: rotate(5deg);
  background: #fff;
  color: var(--d-red);
}

.d-feature-card {
  position: absolute;
  z-index: 2;
  top: 430px;
  right: 0;
  left: 0;
  height: 660px;
  border-radius: 46px 46px 0 0;
  background: var(--d-pink);
  color: var(--d-brown);
}

.d-feature {
  position: absolute;
  inset: 0;
}

.d-feature__product {
  position: absolute;
  z-index: 5;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 14px rgb(66 18 12 / 14%));
}

.d-feature__product--dubai {
  top: -242px;
  left: 29%;
  width: 365px;
  transform: translate3d(var(--d-shift-x), var(--d-shift-y), 0);
}

.d-feature__product--oreo {
  top: -80px;
  right: 12%;
  width: 440px;
  transform: translate3d(var(--d-shift-neg-x), var(--d-shift-neg-y), 0);
}

.d-feature__bite {
  position: absolute;
  z-index: 4;
  top: 30px;
  left: 18%;
  width: 145px;
  transform: rotate(-8deg);
}

.d-feature__copy {
  position: absolute;
  z-index: 7;
  top: 82px;
  left: 42px;
  width: 330px;
  text-align: center;
}

.d-feature__copy p,
.d-feature__copy h2,
.d-feature__copy h3 {
  margin: 0;
}

.d-feature__copy h3 {
  margin-top: 24px;
  font-family: var(--d-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.d-feature__copy h3 + p {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.12;
}

.d-dubai-script {
  font-family: "Pacifico", cursive;
  font-size: 50px;
  line-height: .9;
}

.d-dubai-name {
  color: var(--d-brown);
  font-family: var(--d-display);
  font-size: 78px;
  font-weight: 400;
  line-height: .85;
  text-shadow: 2px 0 var(--d-gold), -2px 0 var(--d-gold), 0 2px var(--d-gold), 0 -2px var(--d-gold);
}

.d-feature__copy--oreo {
  top: 306px;
  right: 30px;
  left: auto;
  width: 370px;
  transform: rotate(-3deg);
}

.d-oreo-name,
.d-fusion-name {
  width: max-content;
  margin: 0 auto !important;
  font-family: var(--d-display);
  font-size: 76px;
  line-height: .8;
}

.d-oreo-name {
  color: #fff;
  -webkit-text-stroke: 7px var(--d-blue-dark);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--d-blue);
}

.d-fusion-name {
  margin-top: 16px !important;
  padding: 7px 14px;
  transform: rotate(2deg);
  background: #fff;
  box-shadow: 8px 8px 0 var(--d-brown);
  color: var(--d-brown);
}

.d-feature__copy--oreo h3 {
  margin-top: 34px;
}

/* Rótulos reales recortados de la carta del cliente (propuesta 2026-09-08). */
.d-lockup {
  width: max-content;
  max-width: 100%;
  margin: 0 auto !important;
}

.d-lockup img {
  display: block;
  height: auto;
  max-width: 100%;
}

/* Los nombres de producto son imagenes: el texto real sigue en el DOM para lectores
   de pantalla y buscadores, y la imagen queda decorativa. */
.d-sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

.d-lockup--dubai img { width: 330px; }
.d-lockup--oreo img { width: 380px; }
.d-lockup + h3 { margin-top: 18px; }

.d-instagram-card {
  position: absolute;
  z-index: 8;
  bottom: 40px;
  left: 48px;
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  transform: rotate(-2deg);
  border-radius: 32px;
  background: var(--d-brown);
  color: #fff;
  font-family: var(--d-display);
  font-size: 25px;
  line-height: 1.08;
  text-transform: uppercase;
  text-decoration: none;
}

.d-instagram-card:hover {
  transform: rotate(0deg) translateY(-3px);
}

.d-instagram-icon {
  font-family: var(--d-body);
  font-size: 55px;
  line-height: 1;
}

/* Marc pidio sustituir Dubai/Oreo dentro del hero, no anadir otra banda debajo.
   Los dos vasos se recortan de la carta real del cliente; no se generan productos. */
.d-base-showcase {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.d-base-showcase__intro {
  position: absolute;
  z-index: 7;
  top: 62px;
  left: 48px;
  width: 300px;
}

.d-base-showcase__eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 10px 16px 7px;
  transform: rotate(-2deg);
  border-radius: 999px;
  background: var(--d-brown);
  color: #fff;
  font-family: var(--d-display);
  font-size: 20px;
  line-height: 1;
  letter-spacing: .035em;
}

.d-base-showcase__intro h2 {
  margin: 0;
  color: var(--d-red);
  font-family: var(--d-display);
  font-size: 78px;
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.025em;
}

.d-base-showcase__intro > p:last-child {
  width: 250px;
  margin: 18px 0 0;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.18;
}

.d-base-showcase__choices {
  position: absolute;
  z-index: 6;
  top: -120px;
  right: 44px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.d-base-choice {
  position: relative;
  width: 326px;
  margin: 0;
  padding: 12px 12px 18px;
  border: 4px solid #fff;
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 18px 40px rgb(66 18 12 / 15%);
  text-align: center;
}

.d-base-choice--strawberry { transform: rotate(-3deg); }
.d-base-choice--banana { margin-top: 36px; transform: rotate(3deg); }

.d-base-choice__crop {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 382px;
  border-radius: 31px;
  background: #f9e8ce;
}

.delissyum-replica .d-base-choice__photo {
  position: absolute;
  top: -267px;
  width: 966px;
  max-width: none;
  height: auto;
}

.d-base-choice--strawberry .d-base-choice__photo { left: -516px; }
.d-base-choice--banana .d-base-choice__photo { left: -669px; }

.d-base-choice figcaption {
  position: relative;
  z-index: 2;
  min-height: 82px;
  margin: -82px 0 0;
  padding: 23px 8px 10px;
  background: #fff;
  color: var(--d-brown);
  font-family: var(--d-display);
  font-size: 35px;
  line-height: .95;
  text-transform: uppercase;
}

.d-base-showcase__finish {
  position: absolute;
  z-index: 8;
  right: 54px;
  bottom: 34px;
  display: flex;
  width: 715px;
  min-height: 92px;
  align-items: center;
  gap: 22px;
  padding: 16px 24px;
  transform: rotate(-1deg);
  border-radius: 28px;
  background: var(--d-red);
  color: #fff;
}

.d-base-showcase__finish span {
  max-width: 155px;
  font-family: var(--d-display);
  font-size: 23px;
  line-height: .9;
}

.d-base-showcase__finish strong {
  padding-left: 22px;
  border-left: 2px solid rgb(255 255 255 / 55%);
  font-size: 23px;
  line-height: 1.05;
}

.d-story {
  position: relative;
  /* El cono y el destello de abajo salen por el borde izquierdo, igual que en el Canva: sin
     recorte provocarian scroll horizontal. Se recorta SOLO en X para que el crepe pueda
     seguir asomando por arriba sobre el hero, como en el original. */
  overflow-x: clip;
  overflow-y: visible;
}

.d-story__inner {
  position: relative;
  display: grid;
  width: min(1280px, calc(100vw - 64px));
  max-width: none;
  min-height: 980px;
  margin-right: max(32px, calc((100vw - 1280px) / 2)) !important;
  margin-left: max(32px, calc((100vw - 1280px) / 2)) !important;
  padding: 80px 32px 84px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: 24px;
  row-gap: 34px;
}

.d-story__sparkles--top {
  top: 14px;
  right: 10px;
  width: 280px;
  height: 290px;
  opacity: .62;
}

.d-story__sparkles--bottom {
  bottom: 12px;
  left: 164px;
  width: 240px;
  height: 238px;
  opacity: .55;
}

.d-story h2 {
  position: relative;
  z-index: 5;
  width: auto;
  margin: 0;
  grid-column: 1 / 7;
  grid-row: 1;
  align-self: center;
  font-family: var(--d-display);
  font-size: clamp(82px, 6.2vw, 104px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: 0;
}

.d-story__crepe {
  position: relative;
  inset: auto;
  z-index: 4;
  width: min(100%, 520px);
  max-width: 100%;
  margin: 0;
  grid-column: 7 / 13;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  transform: rotate(2deg);
  filter: drop-shadow(0 20px 14px rgb(66 18 12 / 15%));
}

.d-story__cone {
  position: relative;
  inset: auto;
  z-index: 3;
  width: min(100%, 270px);
  max-width: 100%;
  margin: 0;
  grid-column: 1 / 4;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  transform: rotate(-3deg);
}

.d-story__content {
  display: contents;
}

.d-pills {
  display: flex;
  position: relative;
  z-index: 6;
  flex-wrap: wrap;
  grid-column: 2 / 12;
  grid-row: 2;
  justify-content: center;
  gap: 18px;
}

.d-pill {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  font-family: var(--d-display);
  font-size: 30px;
  line-height: 1;
}

/* Fondos muestreados dentro de cada pildora del Canva el 2026-09-18. El de CREPES es un
   chocolate calido (90,42,0), NO el marron de marca (66,18,12), que tira a rojizo. */
.d-pill--crepes { background: #5a2a00; color: #fff; }
.d-pill--wafers { background: #ffd6a0; color: #bd1919; }
.d-pill--ice { background: #d8efff; color: #bd1919; }
.d-pill--toppings { background: var(--d-pink); color: #bd1919; }

/* El texto de las tres pildoras claras va en el rojo de marca en el Canva, medido dentro de
   cada una (245,39,40); el #bd1919 de arriba es mas oscuro y granate, y se nota a simple
   vista. Su contraste sobre el crema de OBLEAS es 2,88:1, por debajo del 3:1 de AA incluso
   para texto grande (con #bd1919 son 4,64:1), asi que el calco exacto solo se aplica en
   escritorio real, donde estas pildoras miden 43 px. En movil el lienzo va escalado, el
   texto queda diminuto y ahi manda el color accesible. Decision de Yeray el 2026-09-18:
   revertir el calco es borrar este bloque. */
html:not(.d-canvas) .d-pill--wafers,
html:not(.d-canvas) .d-pill--ice,
html:not(.d-canvas) .d-pill--toppings {
  color: var(--d-red);
}

.d-story__copy {
  position: relative;
  z-index: 6;
  max-width: 760px;
  margin: 20px 0 0;
  grid-column: 4 / 13;
  grid-row: 3;
  justify-self: end;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.d-story__copy p {
  margin: 0 0 26px;
  font-weight: 700;
}

.d-menu {
  background: #fff;
  color: var(--d-red);
}

.d-menu__inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  /* 47 px de aire arriba, como en el Canva. */
  padding: 47px 0 130px;
  text-align: center;
}

/* Medido en el Canva a 1280 px: la mascota ocupa 108x107 en x=586 (centrada) y arranca a
   47 px del inicio de la seccion; el titular cae a +132, asi que el margen inferior es
   negativo (47 + 107 - 22 = 132). El PNG ya viene en rojo: sin filtro. */
.d-menu__mark {
  width: 108px;
  height: 108px;
  margin: 0 auto -13px;
  object-fit: contain;
}

/* Titular rasterizado del propio Canva (573x107 en x=353, +142 del inicio de seccion).
   El Canva deja 64 px hasta la primera fila de tarjetas, que empieza en +313. */
.d-menu h2 {
  margin: 0 0 64px;
  font-size: 0;
  line-height: 0;
}

.d-menu__title--img img {
  display: block;
  width: clamp(260px, 44.77vw, 690px);
  height: auto;
  margin: 0 auto;
}

/* En el Canva movil el rotulo ocupa 357 de 390 px (91,5 %); el minimo de 260 lo dejaba en
   dos tercios. Medido el 2026-09-22 sobre la home movil cosida. */
@media (max-width: 700px) {
  /* Mas ancho que la columna de tarjetas (357 frente a 334), como en el original: se
     suelta el max-width y se centra con margenes negativos. */
  .d-menu__title--img img {
    width: min(91.5vw, 690px);
    max-width: none;
    margin-inline: calc((100% - min(91.5vw, 690px)) / 2);
  }
}

/* En el Canva "NUESTRO" va en ROJO (246,43,42) y "MENU" en marron (90,42,0); aqui estaban
   al reves. Con el titular ya rasterizado estos colores solo aplican si la imagen falla. */
.d-menu h2 {
  color: var(--d-brown);
}

.d-menu h2 span {
  color: var(--d-red);
}

/* Cuadricula medida en el Canva a 1280 px: tarjetas de 391x696 en x=198 y x=691
   (separacion de 102 en columna y 34 entre filas), la quinta centrada. Estaban a 430 px de
   ancho con solo 44 de separacion: mas grandes y mas juntas que en el original. */
.d-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, clamp(240px, 30.55vw, 470px));
  justify-content: center;
  gap: 34px clamp(24px, 7.97vw, 122px);
}

/* Sin rotacion: en el Canva las tarjetas van rectas (sus cajas miden 391x696 exactos; las
   nuestras daban 399 porque `rotate(-.7deg)` infla la caja envolvente). El balanceo era un
   adorno nuestro. Se conserva la elevacion al pasar el raton. */
.d-menu__grid figure {
  margin: 0;
  transition: transform 260ms ease, filter 260ms ease;
}

.d-menu__grid figure:hover {
  z-index: 2;
  transform: translateY(-8px) scale(1.015);
  filter: drop-shadow(0 18px 16px rgb(66 18 12 / 14%));
}

/* Esquinas redondeadas del Canva, medidas el 2026-09-22 sobre las cinco tarjetas a 1280
   (391x695, radio ~61 px). Se da en % horizontal/vertical para que siga siendo circular y
   escale con la tarjeta en cualquier ancho: 61/391 = 15,6 %, 61/695 = 8,78 %. */
.d-menu__grid img {
  width: 100%;
  height: auto;
  border-radius: 15.6% / 8.78%;
}

.d-menu__last {
  grid-column: 1 / -1;
  width: clamp(240px, 30.55vw, 470px);
  justify-self: center;
}

.d-menu__cta,
.d-replica-location__franchise {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 54px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--d-red);
  color: #fff;
  font-family: var(--d-display);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.d-menu__cta:hover,
.d-replica-location__franchise:hover {
  background: var(--d-brown);
}

/* Rectangular en todas las anchuras: en el Canva es un rectangulo y en movil se ve igual,
   solo que reducido. */
.d-menu__cta {
  border-radius: 0;
}

/* El boton del final del menu en el Canva es un RECTANGULO de 369x87 en x=454, no una
   pastilla: medido por color (247,43,42) el 2026-09-18, con el 100 % de su fila superior
   en rojo. Aqui salia 246x61 y redondeado, y ademas decia "VER EL MENU COMPLETO".
   Va en @media y no en @container porque esta seccion no cuelga de ningun lienzo con
   container-name: comprobado en el DOM a 1280 px, la cadena de contenedores es vacia. */
@media (min-width: 981px) {
  /* Final del menu medido el 2026-09-22: en el Canva el boton empieza en y=2525 de la
     seccion y deja 96 px debajo (seccion de 2708); aqui empezaba en 2520 y dejaba 130. */
  .d-menu__inner {
    padding-bottom: 96px;
  }

  .d-menu__cta {
    margin-top: 59px;
    width: 369px;
    height: 87px;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    font-size: 44px;
    font-weight: 400;
    letter-spacing: .01em;
  }
}

/* 404 con identidad y salidas utiles, en lugar del callejon del tema. */
/* Fondo en el rojo accesible: con el #f72b2a de identidad, el texto blanco de esta
   pagina se quedaba en 3,93:1 (7 nodos por debajo de AA). */
.d-404 {
  padding: clamp(70px, 9vw, 130px) 24px clamp(80px, 10vw, 140px);
  background: var(--d-red-ink);
  color: #fff;
  text-align: center;
}

.d-404__inner {
  width: min(720px, 100%);
  margin: 0 auto;
}

.d-404__mark {
  display: block;
  width: 66px;
  height: auto;
  margin: 0 auto 20px;
  filter: brightness(0) invert(1);
}

/* Sin opacity: rebajar el blanco al 85 % dejaba el contraste en 4,37:1. */
.d-404__code {
  margin: 0 0 10px;
  font-family: var(--d-display);
  font-size: 16px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.d-404 h1 {
  margin: 0 0 16px;
  font-family: var(--d-display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.d-404__lead {
  margin: 0 auto 30px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.55;
}

.d-404__links {
  display: flex;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.d-404__btn {
  display: inline-block;
  padding: 15px 28px 13px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: var(--d-red-ink);
  font-family: var(--d-display);
  font-size: 17px;
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
}

.d-404__btn--ghost {
  background: transparent;
  color: #fff;
}

.d-404__btn:hover,
.d-404__btn:focus-visible {
  background: var(--d-brown);
  border-color: var(--d-brown);
  color: #fff;
}

.d-404__help {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.d-404__help a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Pagina de empleo: era un parrafo, tres pildoras y un boton. */
.d-empleo__intro {
  max-width: 760px;
}

.d-empleo__lead {
  margin: 0 0 16px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--d-brown);
}

.d-empleo__intro p + p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgb(66 18 12 / 82%);
}

.d-empleo__values {
  display: grid;
  margin: 40px 0 8px;
  gap: clamp(22px, 3vw, 42px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Sello girado con el valor, como las etiquetas de los carteles del cliente. */
.d-empleo__stamp {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 15px 5px;
  transform: rotate(-2deg);
  border-radius: 999px;
  color: #fff;
  font-family: var(--d-display);
  font-size: 16px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.d-empleo__stamp--red { background: var(--d-red-ink); }
.d-empleo__stamp--brown { background: var(--d-brown); }
.d-empleo__stamp--blue { background: var(--d-blue); color: var(--d-brown); }

.d-empleo__values h2 {
  margin: 0 0 8px;
  font-family: var(--d-display);
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.d-empleo__values p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgb(66 18 12 / 82%);
}

/* La linea separadora cruza todo el ancho de la rejilla de valores; solo el texto
   se limita para que la medida de lectura siga siendo comoda. */
.d-empleo__how {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgb(66 18 12 / 18%);
}

.d-empleo__how h2 {
  margin: 0 0 12px;
  font-family: var(--d-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 400;
  text-transform: uppercase;
}

.d-empleo__how p {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: rgb(66 18 12 / 84%);
}

.d-empleo__how a {
  color: var(--d-red-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.d-empleo__how a:hover,
.d-empleo__how a:focus-visible {
  color: var(--d-brown);
}

.d-empleo__links {
  font-weight: 600;
}

@media (max-width: 900px) {
  .d-empleo__values {
    margin-top: 32px;
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Carta en texto de /menu/. Acordeon para no romper el limite de altura del verificador
   del menu, con el contenido siempre presente en el HTML para buscadores e IA. */
/* Alturas ajustadas al limite duro del verificador del menu (<2800 px en escritorio). */
.d-carta {
  padding: 42px 0 40px;
  background: var(--d-cream);
  color: var(--d-brown);
}

.d-carta__inner {
  width: min(880px, calc(100% - 44px));
  margin: 0 auto;
}

.d-carta__inner h2 {
  margin: 0 0 10px;
  font-family: var(--d-display);
  font-size: clamp(27px, 2.7vw, 38px);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

.d-carta__intro {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: rgb(66 18 12 / 78%);
}

.d-carta__block {
  border-bottom: 1px solid rgb(66 18 12 / 18%);
}

.d-carta__block:first-of-type {
  border-top: 1px solid rgb(66 18 12 / 18%);
}

.d-carta__block[open] > summary {
  color: var(--d-red-ink);
}

.d-carta__block > summary {
  padding: 13px 34px 13px 0;
  position: relative;
  cursor: pointer;
  font-family: var(--d-display);
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: .01em;
  list-style: none;
  text-transform: uppercase;
}

.d-carta__block > summary::-webkit-details-marker {
  display: none;
}

/* Signo +/- dibujado, no un glifo que cambie de ancho segun la fuente. */
.d-carta__block > summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 15px;
  height: 15px;
  margin-top: -7px;
  background:
    linear-gradient(var(--d-red), var(--d-red)) center / 100% 3px no-repeat,
    linear-gradient(var(--d-red), var(--d-red)) center / 3px 100% no-repeat;
  content: "";
}

.d-carta__block[open] > summary::after {
  background: linear-gradient(var(--d-red), var(--d-red)) center / 100% 3px no-repeat;
}

.d-carta__block > summary:hover,
.d-carta__block > summary:focus-visible {
  color: var(--d-red-ink);
}

.d-carta__body {
  padding: 0 0 24px;
}

.d-carta__body > p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: rgb(66 18 12 / 82%);
}

.d-carta__name {
  display: block;
  margin-bottom: 2px;
  font-family: var(--d-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.d-carta__list {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.d-carta__list li {
  display: flex;
  padding: 9px 0;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dotted rgb(66 18 12 / 22%);
  gap: 18px;
}

.d-carta__list li:last-child {
  border-bottom: 0;
}

.d-carta__list li > span {
  font-size: 16px;
  line-height: 1.45;
  color: rgb(66 18 12 / 84%);
}

/* Precio en pastilla, igual que en los carteles reales del cliente: capsula muy
   redondeada, texto blanco sobre rojo de marca y tipografia de titular. */
/* Pastilla en rojo accesible: el texto del precio es de 16 px y con el rojo de identidad
   se quedaba en 3,93:1. axe no lo detecto porque el acordeon estaba plegado. */
.d-carta__list li > b {
  flex-shrink: 0;
  padding: 5px 14px 4px;
  border-radius: 999px;
  background: var(--d-red-ink);
  color: #fff;
  font-family: var(--d-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .03em;
  white-space: nowrap;
}

/* En los carteles, cremas y toppings de pago llevan la pastilla marron. */
.d-carta__block--extras .d-carta__list li > b {
  background: var(--d-brown);
}

/* Etiqueta oscura tipo cartel ("INCLUYE 1 CREMA", "2 CREMAS + 2 TOPPINGS"). */
.d-carta__tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px 4px;
  transform: rotate(-1.5deg);
  background: var(--d-brown);
  color: #fff;
  font-family: var(--d-display);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Sello de la fresa, como el que cierra cada cartel. */
/* Sin fondo ni recorte circular: con el circulo blanco detras, el PNG tintado se veia
   como una mancha roja. Mismo tratamiento que el icono de la nota de marca. */
.d-carta__seal {
  display: block;
  width: 42px;
  height: auto;
  margin: 18px auto 0;
  filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(4620%) hue-rotate(350deg) brightness(102%) contrast(96%);
}

.d-carta__list--desc li {
  padding: 14px 0;
  align-items: flex-start;
}

@media (max-width: 700px) {
  .d-carta {
    padding: 54px 0 62px;
  }

  .d-carta__list li,
  .d-carta__list--desc li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.d-replica-location {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--d-pink);
  color: var(--d-brown);
}

/* Fondo real del Canva: repite cinco veces el mismo dibujo vectorial blanco (715x626) sobre
   el rosa, en [0,2] [634,0] [895,627] [565,642] [92,642]. Aqui habia dos anillos hechos con
   border-radius que no se parecen en nada. El SVG compuesto pesa 14 KB. */
.d-replica-location {
  background-image: url("https://delissyum.yagcomunicacion.com/wp-content/mu-plugins/delissyum-replica/assets/delissyum-fondo-local.svg");
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.d-replica-location__scribble {
  display: none;
}

.d-replica-location__scribble--one {
  top: -260px;
  left: -220px;
  width: 720px;
  height: 540px;
  transform: rotate(22deg);
}

.d-replica-location__scribble--two {
  right: -250px;
  bottom: -300px;
  width: 780px;
  height: 560px;
  transform: rotate(-18deg);
}

.d-replica-location__inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 100px 0;
  grid-template-columns: .85fr 1.15fr;
  align-items: stretch;
  gap: 34px;
}

.d-replica-location__card {
  position: relative;
  display: block;
  padding: 54px 46px;
  border-radius: 52px;
  background: #fff;
  color: var(--d-brown);
}

/* Medido en el Canva a 1280 px (seccion de 739 de alto): DELISSYUM 292x103 en x=88 y=106,
   direccion en y=203 y email en y=301, los tres en ROJO (246,43,42) y a 26,67 px. Aqui el
   cuerpo estaba en marron a 18 px. */
.d-replica-location h2 {
  margin: 0 0 22px;
  color: var(--d-red);
  font-family: var(--d-display);
  font-size: 70px;
  font-weight: 400;
  line-height: 1;
}

/* El rojo de marca (#f72b2a) solo pasa AA como texto GRANDE: 3,93:1 sobre blanco. A 26 px
   en escritorio cuela, pero en movil el cuerpo baja de 24 px y axe lo marca (comprobado:
   2 nodos serios). El cuerpo va en el rojo accesible; el rojo de marca se queda para el
   "DELISSYUM" de 70 px, que si es texto grande siempre. */
.d-replica-location address,
.d-replica-location p {
  color: var(--d-red-ink);
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.32;
}

/* El email en el Canva no va subrayado; el subrayado vuelve al pasar el raton o enfocar,
   para que el enlace siga siendo reconocible sin depender solo del color. */
.d-replica-location a:not(.d-replica-location__franchise) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--d-red-ink);
  text-decoration: none;
}

.d-replica-location a:not(.d-replica-location__franchise):hover,
.d-replica-location a:not(.d-replica-location__franchise):focus-visible {
  text-decoration: underline;
}

.d-replica-location__ig img {
  display: block;
  width: 46px;
  height: 46px;
}

/* En el Canva este boton va en oscuro, no en rojo. Sacarlo fuera de la tarjeta solo se
   hace en escritorio (bloque >=981px): en movil quedaria encima del mapa. */
/* Medido el 2026-09-18 por color (66,18,12) sobre la seccion a 1280: en el Canva el boton
   ocupa 278x49; aqui salia 318x62 (23 px, padding 15/26, min-height 54). */
.d-replica-location__franchise {
  min-height: 0;
  margin-top: 26px;
  padding: 12px 23px;
  background: var(--d-brown);
  color: var(--d-pink);
  font-size: 20px;
}

.d-replica-location__franchise:hover {
  background: var(--d-red-ink);
  color: #fff;
}

/* Doble clase a proposito: `.d-replica-location p` (0,1,1) pisaba a `.d-replica-location__find`
   (0,1,0) al pintar el cuerpo en rojo, y la etiqueta quedaba roja sobre rojo, ilegible. */
/* Medida en el Canva (2026-09-12): texto 245x49 a 36,18 px, peso 400, tracking +0,72 px,
   inclinacion -2,2 grados y color el rosa del fondo (254,226,230) sobre la capsula roja.
   Aqui iba a -7 grados, peso 700, tracking negativo y blanco: mas gorda, mas inclinada y
   con el doble de alto (75 px frente a 37). */
/* border-radius corregido el 2026-09-13: en el Canva es una PILDORA COMPLETA (287x78 px,
   radio = mitad de la altura = 39px), medida extrayendo la forma por color de fondo
   (249,49,46) y aislando el componente conexo. Aqui tenia solo 10px, casi recta: se veia
   como un rectangulo redondeado, no como una pastilla. Detectado por Yeray comparando el
   PDF de evidencia. */
/* Remedida el 2026-09-18 por color (249,49,46): en el Canva la caja girada es 287x78 (284x67
   sin girar) y aqui salia 276x52, mas fina y con el texto mas pequeno. Con nuestra fuente,
   33 px y padding 15/16 dan ~291x65. */
.d-replica-location .d-replica-location__find {
  width: max-content;
  margin: 30px 0 0 auto !important;
  padding: 15px 16px;
  transform: rotate(-2.2deg);
  border-radius: 999px;
  background: var(--d-red);
  color: var(--d-pink);
  font-family: var(--d-display);
  font-size: 33px !important;
  font-weight: 400 !important;
  line-height: 1.06;
  letter-spacing: .02em;
}

/* Flecha dibujada a mano del Canva (roja sobre alfa). El PNG anterior
   (e57a8ae0...png) era un rectangulo negro opaco: se veia como una mancha. */
.d-replica-location__arrow {
  width: 160px;
  margin: 4px 26px 0 auto;
  transform: rotate(4deg);
}

.d-replica-location__map {
  overflow: hidden;
  min-height: 520px;
  border: 10px solid #fff;
  border-radius: 56px;
  background: #fff;
}

.d-replica-location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.d-location-map-card {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 545px;
  padding: 52px;
  overflow: hidden;
  align-items: flex-end;
  color: var(--d-brown);
  background:
    linear-gradient(28deg, transparent 0 23%, rgb(255 255 255 / 88%) 23% 27%, transparent 27% 100%),
    linear-gradient(118deg, transparent 0 42%, rgb(255 255 255 / 82%) 42% 46%, transparent 46% 100%),
    repeating-linear-gradient(0deg, transparent 0 62px, rgb(255 255 255 / 42%) 62px 66px),
    repeating-linear-gradient(90deg, transparent 0 78px, rgb(255 255 255 / 38%) 78px 82px),
    #f8cfd4;
  text-decoration: none;
  isolation: isolate;
}

.d-location-map-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 70% 28%, rgb(255 255 255 / 72%), transparent 28%);
  content: "";
}

.d-location-map-card__route {
  position: absolute;
  top: 8%;
  right: -8%;
  width: 74%;
  height: 64%;
  border: 8px solid var(--d-red);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.d-location-map-card__pin {
  position: absolute;
  top: 25%;
  right: 26%;
  width: 54px;
  height: 54px;
  border: 8px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--d-red);
  box-shadow: 0 12px 24px rgb(66 18 12 / 22%);
  transform: rotate(-45deg);
}

.d-location-map-card__pin::after {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.d-location-map-card__label {
  position: relative;
  display: grid;
  width: min(100%, 430px);
  padding: 26px 28px;
  gap: 7px;
  border: 3px solid var(--d-brown);
  border-radius: 4px;
  background: var(--d-cream);
  box-shadow: 8px 8px 0 var(--d-brown);
}

.d-location-map-card__label strong {
  font-family: var(--d-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.d-location-map-card__label span {
  font-size: 17px;
  font-weight: 700;
}

.d-location-map-card__label b {
  margin-top: 7px;
  color: var(--d-red);
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.d-location-map-card:hover .d-location-map-card__label,
.d-location-map-card:focus-visible .d-location-map-card__label {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--d-brown);
}

/* Color corregido el 2026-09-13: el footer real del Canva es una banda OSCURA
   (rgb(66,18,12) = nuestro --d-brown, medido en su propia pagina) con texto claro, no
   rosa con texto oscuro. Detectado por Yeray comparando el sitio en vivo. Mismo par de
   colores que ya usa el boton "Abre tu franquicia" (contraste verificado con axe). */
/* Footer medido en el Canva el 2026-09-22: la banda es rgb(66,18,12) y mide 118, pero la
   pagina termina 45 px despues de donde empieza, asi que solo se ven 45 px y van montados
   sobre el final de la localizacion. Texto blanco a 14,6 px, peso 400, en x=14 y=12. */
.delissyum-site .d-site-footer {
  position: relative;
  z-index: 5;
  margin: 0;
  /* 10,5 + 24 (alto del enlace de la firma) + 10,5 = 45; el texto cae en y=12 como en el Canva. */
  padding: 10.5px 14px;
  background: var(--d-brown);
  color: #fff;
}

/* WordPress separa cada bloque de .wp-site-blocks con 1,2rem (19 px), tambien la plantilla
   del footer: dejaba una franja de 19 px entre la localizacion y el footer que el Canva no
   tiene, y en la home impedia que el footer montase los 45 px sobre la localizacion. */
.delissyum-site .wp-site-blocks > footer {
  margin-block-start: 0;
}

.delissyum-site.home .d-site-footer {
  margin-top: calc(-45px * var(--d-canvas-scale, 1));
}

.d-site-footer__inner {
  display: flex;
  min-height: 21px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--d-body);
  font-size: 14.6px;
  font-weight: 400;
  line-height: 21px;
}

.d-site-footer__inner p {
  margin: 0;
}

.d-site-footer__inner a {
  color: inherit;
}

html.d-effects-ready:not(.d-reduced-motion) .d-wordmark img {
  animation: d-brand-arrive 720ms cubic-bezier(.16, 1, .3, 1) both;
}

html.d-effects-ready:not(.d-reduced-motion) .d-wordmark span {
  animation: d-copy-arrive 620ms 100ms cubic-bezier(.2, .85, .25, 1.1) both;
}

html.d-effects-ready:not(.d-reduced-motion) .d-headline__la {
  animation: d-copy-arrive 520ms 100ms cubic-bezier(.2, .85, .25, 1.1) both;
}

html.d-effects-ready:not(.d-reduced-motion) .d-headline__experience {
  animation: d-block-arrive-left 700ms 170ms cubic-bezier(.16, 1, .3, 1) both;
}

html.d-effects-ready:not(.d-reduced-motion) .d-headline__delicious {
  animation: d-block-arrive-right 720ms 250ms cubic-bezier(.16, 1, .3, 1) both;
}

html.d-effects-ready:not(.d-reduced-motion) .d-feature-card {
  animation: d-card-arrive 760ms 180ms cubic-bezier(.16, 1, .3, 1) both;
}

html.d-effects-ready:not(.d-reduced-motion) .d-feature__product--dubai {
  animation: d-product-arrive-left 820ms 260ms cubic-bezier(.16, 1, .3, 1) both;
}

html.d-effects-ready:not(.d-reduced-motion) .d-feature__product--oreo {
  animation: d-product-arrive-right 860ms 340ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes d-brand-arrive {
  from { opacity: 0; transform: translateY(-18px) scale(.78) rotate(-8deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes d-copy-arrive {
  from { opacity: 0; transform: translateY(16px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes d-block-arrive-left {
  from { opacity: 0; transform: translateX(52px) rotate(5deg) scale(.92); }
  to { opacity: 1; transform: translateX(0) rotate(-2deg) scale(1); }
}

@keyframes d-block-arrive-right {
  from { opacity: 0; transform: translateX(-48px) rotate(-4deg) scale(.92); }
  to { opacity: 1; transform: translateX(0) rotate(5deg) scale(1); }
}

@keyframes d-card-arrive {
  from { opacity: 0; transform: translateY(54px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes d-product-arrive-left {
  from { opacity: 0; transform: translate3d(-42px, 70px, 0) rotate(-7deg) scale(.88); }
  to { opacity: 1; transform: translate3d(var(--d-shift-x), var(--d-shift-y), 0) rotate(0) scale(1); }
}

@keyframes d-product-arrive-right {
  from { opacity: 0; transform: translate3d(48px, 80px, 0) rotate(8deg) scale(.86); }
  to { opacity: 1; transform: translate3d(var(--d-shift-neg-x), var(--d-shift-neg-y), 0) rotate(0) scale(1); }
}

.page-id-25 .d-menu-hero > p {
  font-size: 19px !important;
  font-weight: 700 !important;
}

.page-id-25 .d-wrap > p {
  color: var(--d-brown) !important;
  font-weight: 700 !important;
}

.page-id-26 .d-eyebrow {
  color: var(--d-brown) !important;
  font-weight: 700 !important;
}

.page-id-26 .d-story__text > p {
  color: #fff !important;
  font-size: 19px !important;
  font-weight: 700 !important;
}

.page-id-26 details > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.page-id-27 .d-pill--cream,
.page-id-27 .d-pill--blue {
  font-size: 19px !important;
  font-weight: 700 !important;
}

.d-franchise-page {
  width: 100%;
  overflow: clip;
  background: var(--d-cream);
  color: var(--d-brown);
}

/* Migrado del CSS inline del Customizer de WordPress (post 21), que hasta hoy era la unica
   fuente de estas 4 clases y no vivia en este repo ni en deploy.ps1: si alguien lo tocaba
   desde el panel, franquicia y empleo se quedaban sin maquetacion sin ningun aviso.
   Extraido tal cual el 2026-09-09 (--d-ink y --font-display ya son alias validos del :root
   de este fichero, asi que no hacia falta tocar nada mas para que renderizara igual). */
.d-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.d-section {
  padding: 84px 0;
}

.d-franquicia-cta {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--d-ink);
  color: #fff;
}

.d-franquicia-cta::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: var(--d-red);
  border-radius: 50%;
  opacity: .5;
}

.d-franquicia-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.d-franquicia-cta h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
}

.d-franquicia-cta p {
  margin: 0 0 28px;
  font-size: 1.08rem;
  opacity: .85;
}

.d-menu-hero {
  padding: 70px 24px 60px;
  background: var(--d-red);
  color: #fff;
  text-align: center;
}

.d-menu-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .d-section {
    padding: 56px 0;
  }
}

.d-franchise-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.d-franchise-shell,
.d-franchise-hero__inner,
.d-franchise-proof__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.d-franchise-hero {
  position: relative;
  overflow: hidden;
  background: var(--d-red);
  color: #fff;
}

.d-franchise-hero__inner {
  display: grid;
  min-height: 720px;
  padding: 70px 0 76px;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
}

.d-franchise-kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding: 9px 12px 7px;
  transform: rotate(-1.5deg);
  background: var(--d-brown);
  color: #fff;
  font-family: var(--d-display);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.d-franchise-kicker--red {
  background: var(--d-red);
  color: #2b0704;
}

.d-franchise-hero h1,
.d-franchise-page h2 {
  margin: 0;
  font-family: var(--d-display);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.d-franchise-hero h1 {
  max-width: 650px;
  font-size: 72px;
  line-height: .98;
}

.d-franchise-hero__copy > p {
  max-width: 610px;
  margin: 28px 0 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  color: #2b0704;
}

.d-franchise-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 34px;
}

.d-franchise-actions .d-franchise-link {
  color: #2b0704;
}

.d-franchise-btn,
.d-franchise-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.d-franchise-btn {
  padding: 13px 20px;
  border: 2px solid var(--d-brown);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--d-brown);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.d-franchise-btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--d-brown);
}

.d-franchise-btn--cream {
  background: var(--d-cream);
  color: var(--d-brown);
}

.d-franchise-link {
  color: inherit;
  text-underline-offset: 5px;
}

.d-franchise-link--dark {
  color: var(--d-brown);
}

.d-franchise-hero__art {
  position: relative;
  min-width: 0;
  min-height: 570px;
}

.d-franchise-hero__sparkles {
  position: absolute;
  z-index: 0;
  top: -40px;
  right: -64px;
  width: 260px;
  opacity: .62;
  pointer-events: none;
}

.d-franchise-photo {
  position: absolute;
  z-index: 2;
  width: 330px;
  margin: 0;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 4px;
  box-shadow: 18px 24px 0 rgb(66 18 12 / 24%);
}

.d-franchise-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.d-franchise-photo--queue {
  top: 12px;
  left: 0;
  transform: rotate(-3deg);
}

.d-franchise-photo--store {
  right: 2px;
  bottom: 0;
  transform: rotate(4deg);
}

.d-franchise-stamp {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 4px;
  padding: 14px 17px 11px;
  transform: rotate(-5deg);
  background: var(--d-blue);
  box-shadow: 5px 5px 0 var(--d-blue-dark);
  color: var(--d-brown);
  font-family: var(--d-display);
  font-size: 25px;
  line-height: .92;
  text-align: center;
}

.d-franchise-proof {
  background: var(--d-brown);
  color: #fff;
}

.d-franchise-proof__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.d-franchise-proof p {
  display: flex;
  min-width: 0;
  min-height: 138px;
  margin: 0;
  padding: 30px 34px;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgb(255 255 255 / 24%);
}

.d-franchise-proof p:last-child {
  border-right: 1px solid rgb(255 255 255 / 24%);
}

.d-franchise-proof strong {
  font-family: var(--d-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.d-franchise-proof span {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.d-franchise-identity {
  background: #fff;
}

.d-franchise-identity__grid {
  display: grid;
  min-height: 680px;
  padding: 90px 0;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 88px;
}

.d-franchise-identity__product {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
}

.d-franchise-identity__product::before {
  position: absolute;
  width: 360px;
  height: 420px;
  transform: rotate(-5deg);
  background: var(--d-pink);
  box-shadow: 14px 14px 0 var(--d-red);
  content: "";
}

.d-franchise-identity__product img {
  position: relative;
  z-index: 1;
  width: 325px;
  filter: drop-shadow(0 22px 18px rgb(66 18 12 / 18%));
}

.d-franchise-page h2 {
  font-size: 58px;
  line-height: 1;
}

.d-franchise-identity__copy p,
.d-franchise-process__heading p,
.d-franchise-transparency p,
.d-franchise-form__copy > p {
  font-size: 18px;
  line-height: 1.55;
}

.d-franchise-identity__copy p {
  max-width: 650px;
  margin: 24px 0 0;
}

.d-franchise-identity__copy .d-franchise-link {
  margin-top: 18px;
}

.d-franchise-process {
  padding: 96px 0;
  background: var(--d-red);
  color: #fff;
}

.d-franchise-process__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: end;
  gap: 56px;
}

.d-franchise-process__heading .d-franchise-kicker {
  grid-column: 1 / -1;
  width: max-content;
  margin-bottom: -28px;
}

.d-franchise-process__heading p {
  margin: 0 0 4px;
  color: #2b0704;
  font-weight: 600;
}

.d-franchise-steps {
  display: grid;
  margin: 58px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 3px solid #fff;
}

.d-franchise-steps li {
  min-width: 0;
  padding: 25px 30px 0 0;
}

.d-franchise-steps li + li {
  padding-left: 30px;
  border-left: 1px solid rgb(255 255 255 / 40%);
}

.d-franchise-steps span {
  display: block;
  color: var(--d-brown);
  font-family: var(--d-display);
  font-size: 46px;
  line-height: 1;
}

.d-franchise-steps strong {
  display: block;
  margin-top: 18px;
  font-size: 20px;
  color: #2b0704;
}

.d-franchise-steps p {
  margin: 10px 0 0;
  font-size: 16px;
  color: #2b0704;
  line-height: 1.45;
}

.d-franchise-transparency {
  display: grid;
  margin-top: 64px;
  padding: 26px 30px;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 30px;
  border: 2px solid #fff;
  background: var(--d-brown);
}

.d-franchise-transparency strong {
  font-family: var(--d-display);
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
}

.d-franchise-transparency p {
  margin: 0;
  font-size: 16px;
}

/* ============================================================================
   Franquicia · direccion "editorial-case-file" (packet ok=true, ready=true,
   distinctiveness 100). Tesis: la franquicia no se vende con cifras que el
   cliente no autoriza publicar, sino con el expediente fotografiado de la
   unica tienda que existe. Sustituye las dos rejillas de 3 tarjetas identicas
   que habia antes (proof + steps) por un dossier de 4 pruebas anotadas.
   ========================================================================= */
.d-franchise-proof.d-dossier {
  padding: 104px 0 112px;
  background: var(--d-cream);
  color: var(--d-brown);
}

/* La seccion conserva la clase .d-franchise-proof (el verificador de movil la
   exige y sigue siendo la prueba de la pagina), pero las reglas de la antigua
   tira de 3 celdas convertian cada <p> del expediente en una celda flex de
   138 px con 30/34 px de padding. Se anulan solo dentro del dossier. */
.d-franchise-proof.d-dossier p,
.d-franchise-proof.d-dossier strong,
.d-franchise-proof.d-dossier span {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
}

/* La variante movil de esa misma tira antigua (padding 22/20 y borde inferior)
   vive mas abajo en el fichero, por eso el reset necesita dos clases. */
.d-franchise-proof.d-dossier .d-dossier__note {
  padding-left: 16px;
}

.d-dossier__inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.d-dossier__head {
  max-width: 760px;
  margin-bottom: 76px;
}

.d-dossier__head h2 {
  margin: 16px 0 22px;
  font-family: var(--d-display);
  font-size: clamp(38px, 4.1vw, 62px);
  font-weight: 400;
  line-height: .98;
  text-transform: uppercase;
}

.d-dossier__head p {
  max-width: 60ch;
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: rgb(66 18 12 / 82%);
}

/* Entrada del dossier: foto ancha + pie anotado, alternando lado. */
.d-dossier__entry {
  display: grid;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid rgb(66 18 12 / 16%);
  gap: clamp(32px, 4vw, 64px);
  grid-template-columns: 7fr 5fr;
}

.d-dossier__entry--flip .d-dossier__figure {
  order: 2;
}

.d-dossier__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 30px rgb(66 18 12 / 12%);
  /* Esquina recortada: pieza pegada en un expediente, no tarjeta con sombra. */
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}

.d-dossier__figure img {
  display: block;
  width: 100%;
  height: clamp(300px, 30vw, 430px);
  object-fit: cover;
  object-position: center 42%;
}

.d-dossier__figure--product {
  background: var(--d-pink);
}

.d-dossier__figure--product img {
  object-fit: contain;
  padding: 18px 0;
}

.d-dossier__num {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 14px 4px;
  transform: rotate(-3deg);
  background: var(--d-red);
  color: #fff;
  font-family: var(--d-display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: .04em;
}

.d-dossier__caption h3 {
  margin: 0 0 14px;
  font-family: var(--d-display);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.d-dossier__caption p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.55;
  color: rgb(66 18 12 / 82%);
}

/* Pie tecnico: lo que cada foto demuestra, en voz de expediente. */
.d-dossier__note {
  margin: 16px 0 0 !important;
  padding-left: 16px;
  color: var(--d-brown) !important;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.45 !important;
}

/* Bloque rojo: convierte la objecion de "sin cifras" en la propia llamada.
   Fondo en el rojo accesible: con el #f72b2a de identidad, el texto blanco de 16-18 px
   se quedaba en 3,93:1 y el rosa claro en 3,40:1. */
.d-franchise-process.d-call {
  padding: 92px 0;
  background: var(--d-red-ink);
}

.d-call__inner {
  display: grid;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  align-items: start;
  gap: clamp(36px, 5vw, 78px);
  grid-template-columns: 6fr 5fr;
}

.d-call__copy h2 {
  margin: 16px 0 20px;
  font-family: var(--d-display);
  font-size: clamp(36px, 3.9vw, 58px);
  font-weight: 400;
  line-height: .98;
  text-transform: uppercase;
}

.d-call__copy p {
  max-width: 46ch;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.55;
}

.d-call__lead {
  font-weight: 700;
}

.d-call__copy .d-franchise-btn {
  margin-top: 12px;
}

.d-call__list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.d-call__list li {
  display: grid;
  padding: 20px 0;
  border-top: 1px solid rgb(255 255 255 / 34%);
  gap: 6px;
}

.d-call__list li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 34%);
}

.d-call__list strong {
  font-family: var(--d-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: uppercase;
}

/* Sin opacidad: al rebajar el blanco a 90 % el contraste caia a 3,40:1. */
.d-call__list span {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .d-franchise-proof.d-dossier {
    padding: 72px 0 78px;
  }

  .d-dossier__head {
    margin-bottom: 48px;
  }

  /* En movil el salto forzado partia el titular en cuatro lineas desiguales. */
  .d-dossier__head h2 br,
  .d-call__copy h2 br {
    display: none;
  }

  .d-dossier__entry,
  .d-dossier__entry--flip {
    padding: 26px 0;
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .d-dossier__entry--flip .d-dossier__figure {
    order: 0;
  }

  .d-dossier__figure img {
    height: clamp(240px, 62vw, 320px);
  }

  .d-franchise-process.d-call {
    padding: 68px 0;
  }

  .d-call__inner {
    gap: 34px;
    grid-template-columns: 1fr;
  }
}

.d-franchise-faq {
  padding: 98px 0;
  background: var(--d-cream);
}

.d-franchise-faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 80px;
}

.d-franchise-faq__items {
  border-top: 2px solid var(--d-brown);
}

.d-franchise-faq details {
  border-bottom: 2px solid var(--d-brown);
}

.d-franchise-faq summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  padding: 17px 42px 17px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.d-franchise-faq details p {
  margin: -2px 0 22px;
  padding-right: 40px;
  font-size: 16px;
  line-height: 1.55;
}

.d-franchise-form {
  padding: 96px 0;
  background: var(--d-brown);
  color: #fff;
}

.d-franchise-form__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  align-items: start;
  gap: 80px;
}

.d-franchise-form__copy,
.d-franchise-form__panel,
.d-franchise-faq__items,
.d-franchise-process__heading,
.d-franchise-steps li {
  min-width: 0;
}

.d-franchise-form__copy > p {
  max-width: 500px;
  margin: 26px 0 0;
}

.d-franchise-form__alternative a {
  color: #fff;
}

.d-franchise-form__panel {
  padding: 34px;
  border-radius: 6px;
  background: var(--d-cream);
  color: var(--d-brown);
}

.d-franchise-form__panel .d-cf7 {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.d-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.d-form-grid label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
}

.d-franchise-form input:not([type="checkbox"]),
.d-franchise-form button,
.d-franchise-form input[type="submit"] {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 2px solid var(--d-brown);
  border-radius: 3px;
  background: #fff;
  color: var(--d-brown);
  font: 600 16px/1.2 var(--d-body);
}

.d-franchise-form input:not([type="submit"]):not([type="checkbox"]) {
  padding: 11px 12px;
}

.d-form-consent {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.45;
}

.d-form-consent .wpcf7-list-item {
  margin: 0;
}

.d-form-consent label {
  display: grid;
  min-height: 44px;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 9px;
  font-weight: 700;
}

.d-form-consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
}

.d-form-consent p {
  margin: 12px 0 0;
}

.d-form-consent a {
  color: inherit;
}

.d-form-submit {
  margin: 22px 0 0;
}

.d-franchise-form input[type="submit"] {
  border-color: var(--d-red);
  background: var(--d-red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.d-franchise-form .wpcf7-spinner {
  margin-top: 10px;
}

@media (max-width: 980px) {
  html:not(.d-canvas) .d-replica-stage {
    height: 1030px;
  }

  html:not(.d-canvas) .d-wordmark {
    left: 0;
    transform: scale(.78);
    transform-origin: top left;
  }

  html:not(.d-canvas) .d-headline {
    right: 0;
    transform: scale(.78);
    transform-origin: top right;
  }

  html:not(.d-canvas) .d-feature-card {
    top: 380px;
    height: 650px;
  }

  .d-feature__product--dubai { left: 22%; }
  .d-feature__product--oreo { right: 4%; }

  html:not(.d-canvas) .d-story__inner {
    width: calc(100vw - 48px);
    min-height: 900px;
    margin-right: 24px !important;
    margin-left: 24px !important;
    padding-right: 24px;
    padding-left: 24px;
    column-gap: 18px;
  }

  .d-story h2 { font-size: 72px; }
  .d-story__crepe { width: min(100%, 400px); }
  .d-story__cone { width: min(100%, 230px); }
  .d-story__copy { font-size: 20px; }

  html:not(.d-canvas) .d-replica-location__inner {
    grid-template-columns: 1fr;
  }

  html:not(.d-canvas) .d-replica-location__map {
    min-height: 430px;
  }

  .d-franchise-hero__inner,
  .d-franchise-identity__grid,
  .d-franchise-form__grid {
    gap: 42px;
  }

  .d-franchise-hero h1 {
    font-size: 58px;
  }

  .d-franchise-photo {
    width: 280px;
  }

  .d-franchise-photo img {
    height: 390px;
  }

  .d-franchise-page h2 {
    font-size: 48px;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .d-replica-stage {
    height: 1020px;
  }

  .d-feature-card {
    top: 400px;
    height: 620px;
  }

  .d-feature__product--dubai {
    top: -185px;
    left: 15%;
    width: 255px;
  }

  .d-feature__product--oreo {
    top: -165px;
    right: 6%;
    width: 275px;
  }

  .d-feature__copy {
    top: 165px;
    left: 28px;
    width: 285px;
  }

  .d-feature__copy--oreo {
    top: 165px;
    right: 28px;
    left: auto;
    width: 285px;
  }

  .d-feature__copy h3 + p {
    font-size: 16px;
  }

  .d-instagram-card {
    bottom: 34px;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .d-franchise-hero__inner {
    padding: 58px 0 64px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .d-franchise-hero h1,
  .d-franchise-hero__copy > p {
    max-width: 650px;
  }

  .d-franchise-hero__art {
    min-height: 500px;
  }

  .d-franchise-photo {
    width: 310px;
  }

  .d-franchise-photo img {
    height: 410px;
  }
}

@media (max-width: 700px) {
  .d-location-map-card {
    min-height: 320px;
    padding: 22px;
  }
  .d-location-map-card__route {
    border-width: 5px;
  }
  .d-location-map-card__pin {
    top: 18%;
    right: 22%;
    width: 42px;
    height: 42px;
    border-width: 6px;
  }
  .d-location-map-card__pin::after {
    inset: 9px;
  }
  .d-location-map-card__label {
    padding: 18px;
    box-shadow: 6px 6px 0 var(--d-brown);
  }
  .d-location-map-card__label strong {
    font-size: 28px;
  }
  .d-location-map-card__label span,
  .d-location-map-card__label b {
    font-size: 14px;
  }
  .delissyum-site .d-site-header {
    min-height: 48px;
    padding: 0 20px;
  }

  .d-site-header .wp-block-navigation,
  .d-site-header .wp-block-navigation__responsive-container-open {
    min-width: 44px;
    min-height: 44px;
  }

  .d-site-header .wp-block-navigation__responsive-container.is-menu-open {
    padding: 28px;
    background: #fff;
    color: var(--d-brown);
  }

  .d-site-header .wp-block-navigation__responsive-container-content,
  .d-site-header .wp-block-navigation__container {
    align-items: flex-start !important;
  }

  .d-site-header .wp-block-navigation-item__content {
    font-size: 22px;
  }

  html:not(.d-canvas) .d-replica-stage,
  html:not(.d-canvas) .d-story__inner,
  html:not(.d-canvas) .d-menu__inner,
  html:not(.d-canvas) .d-replica-location__inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  html:not(.d-canvas) .d-replica-stage {
    height: 1010px;
  }

  html:not(.d-canvas) .d-canva-effect--burst {
    top: 20px;
    left: 80px;
    width: 185px;
    height: 182px;
  }

  html:not(.d-canvas) .d-canva-effect--rings {
    top: 222px;
    right: -25px;
    width: 290px;
    height: 290px;
  }

  html:not(.d-canvas) .d-wordmark {
    top: 66px;
    left: 14px;
    width: 125px;
    min-height: 82px;
    transform: none;
  }

  html:not(.d-canvas) .d-wordmark img {
    left: 39px;
    width: 43px;
    height: 58px;
  }

  html:not(.d-canvas) .d-wordmark span {
    font-size: 29px;
  }

  html:not(.d-canvas) .d-headline {
    top: 70px;
    right: 12px;
    width: 236px;
    font-size: 35px;
    transform: none;
  }

  html:not(.d-canvas) .d-headline__la {
    margin-left: 18px;
    font-size: 27px;
  }

  html:not(.d-canvas) .d-headline__experience {
    padding: 13px 15px 10px;
  }

  html:not(.d-canvas) .d-headline__plus {
    top: 60px;
    right: -3px;
    font-size: 45px;
  }

  html:not(.d-canvas) .d-headline__delicious {
    margin-top: 8px;
    margin-left: 48px;
    padding: 15px 17px 12px;
  }

  html:not(.d-canvas) .d-feature-card {
    top: 372px;
    right: 16px;
    left: 16px;
    height: 605px;
    border-radius: 30px;
  }

  /* El estallido caia sobre "LA" en movil; va detras de los vasos, como en el Canva. */
  html:not(.d-canvas) .d-canva-effect--burst {
    top: 15.5%;
    left: 12%;
    width: 46%;
  }

  html:not(.d-canvas) .d-canva-effect--rings {
    top: 26%;
    left: 30%;
    width: 62%;
  }

  /* Los vasos van en diagonal tambien en movil, como en el Canva. */
  html:not(.d-canvas) .d-feature__product--dubai {
    top: -196px;
    left: 24%;
    width: 200px;
    rotate: -12.85deg;
  }

  html:not(.d-canvas) .d-feature__product--oreo {
    top: -104px;
    right: 4%;
    width: 218px;
    rotate: 16.47deg;
  }

  html:not(.d-canvas) .d-feature--oreo {
    z-index: 6;
  }

  /* El trozo de chocolate se sube al borde de la tarjeta para no pisar "Chocolate DUBAI". */
  html:not(.d-canvas) .d-feature__bite {
    top: -46px;
    left: 6%;
    width: 76px;
    transform: none;
    rotate: 29.43deg;
  }

  html:not(.d-canvas) .d-feature__copy {
    top: 80px;
    left: 12px;
    width: 196px;
  }

  /* El rotulo tiene que leerse: sin esto quedaba a 175 px y "Chocolate DUBAI" era ilegible. */
  .d-lockup--dubai img { width: 196px; }
  .d-lockup--oreo img { width: 190px; }

  .d-dubai-script { font-size: 29px; }
  .d-dubai-name { font-size: 49px; }

  html:not(.d-canvas) .d-feature__copy h3 {
    margin-top: 14px;
    font-family: "Chewy", var(--d-display);
    font-size: 20px;
  }

  html:not(.d-canvas) .d-feature__copy h3 + p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.2;
  }

  html:not(.d-canvas) .d-feature__copy--oreo {
    top: 320px;
    right: 10px;
    left: auto;
    width: 196px;
  }

  html:not(.d-canvas) .d-oreo-name,
  html:not(.d-canvas) .d-fusion-name {
    font-size: 43px;
  }

  html:not(.d-canvas) .d-oreo-name {
    -webkit-text-stroke-width: 4px;
    text-shadow: 2px 2px 0 var(--d-blue);
  }

  html:not(.d-canvas) .d-fusion-name {
    margin-top: 9px !important;
    padding: 4px 8px;
    box-shadow: 4px 4px 0 var(--d-brown);
  }

  html:not(.d-canvas) .d-feature__copy--oreo h3 {
    margin-top: 20px;
  }

  html:not(.d-canvas) .d-instagram-card {
    bottom: 18px;
    left: 24px;
    min-height: 72px;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 19px;
    font-weight: 700;
  }

  .d-instagram-icon { font-size: 34px; }

  html:not(.d-canvas) .d-story__inner {
    display: grid;
    width: 100%;
    min-height: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 64px 18px 56px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    column-gap: 12px;
    row-gap: 28px;
  }

  html:not(.d-canvas) .d-story__sparkles--top {
    top: 142px;
    right: 2px;
    width: 150px;
    height: 156px;
  }

  html:not(.d-canvas) .d-story__sparkles--bottom {
    bottom: 12px;
    left: 86px;
    width: 140px;
    height: 138px;
  }

  html:not(.d-canvas) .d-story h2 {
    width: auto;
    max-width: 100%;
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: clamp(48px, 14.6vw, 57px);
  }

  html:not(.d-canvas) .d-story__crepe {
    width: min(100%, 300px);
    margin: 0 auto;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    transform: rotate(2deg);
  }

  html:not(.d-canvas) .d-story__cone {
    width: 140px;
    margin: 0 0 0 8px;
    grid-column: 1 / -1;
    grid-row: 5;
    justify-self: start;
    transform: rotate(-3deg);
  }

  html:not(.d-canvas) .d-story__content {
    display: contents;
  }

  /* .d-pills/.d-pill son nombres genericos que tambien usa la pagina de empleo
     (Pasion/Compromiso/Actitud); sin este scope, esta version de historia
     se colaba en esa pagina y rompia sus pildoras. */
  html:not(.d-canvas) .d-story .d-pills {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  html:not(.d-canvas) .d-story .d-pill {
    width: 100%;
    min-height: 44px;
    padding: 9px 8px;
    font-size: clamp(14px, 4.4vw, 18px);
    text-align: center;
  }

  html:not(.d-canvas) .d-story__copy {
    max-width: none;
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: stretch;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
  }

  .d-story__copy p { margin-bottom: 18px; }

  /* Canva movil a 390: tarjetas de 334 px (28 de margen a cada lado). Aqui salian 302 por
     sumar el padding lateral de 20 al ancho de 100%-48. */
  /* Aire vertical del menu movil medido en el DOM del Canva a 390 (2026-09-22): primera
     tarjeta a 199 px del inicio de la seccion (aqui 192) y 79 px entre el boton y la
     localizacion (aqui 90). */
  .d-menu__inner {
    width: calc(100% - 56px);
    padding: 41px 0 79px;
  }

  /* La mascota es cuadrada (108x108), no el icono alargado del logo: con 58x86 salia
     deformada y por debajo del minimo que comprueba el verificador de flujo. */
  .d-menu__mark {
    width: 72px;
    height: 72px;
    margin-bottom: -8px;
  }

  /* 26 y no 46: con el rotulo al tamano del Canva movil, la primera tarjeta cae en y=913
     como en el original (con 46 caia 20 px mas abajo). */
  .d-menu h2 {
    margin-bottom: 26px;
    font-size: 58px;
  }

  /* 15 px entre tarjetas, como el Canva movil (paso de 609 con tarjetas de 594). */
  .d-menu__grid {
    grid-template-columns: minmax(0, 430px);
    gap: 15px;
  }

  .d-menu__grid,
  .d-menu__grid figure,
  .d-menu__last {
    width: 100%;
    min-width: 0;
  }

  .d-menu__last {
    grid-column: auto;
    width: auto;
  }

  /* Canva movil a 390: el boton es un rectangulo de 316x74 con el rotulo casi de lado a
     lado. Aqui salia 170x57 con texto de 19 px. */
  /* 94,6 % del bloque (316 de 334) y no 81 %: el porcentaje va sobre el ancho de las
     tarjetas, no de la pantalla, y con 81 % el rotulo partia en dos lineas. */
  .d-menu__cta {
    width: min(94.6%, 369px);
    min-height: 0;
    /* 18 px bajo la ultima tarjeta, como en el Canva movil (aqui eran 38). */
    margin-top: 18px;
    padding: 0;
    aspect-ratio: 316 / 74;
    font-size: clamp(30px, 11.5vw, 44px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
  }

  html:not(.d-canvas) .d-replica-location__inner {
    min-height: 0;
    padding: 70px 18px;
    gap: 24px;
  }

  html:not(.d-canvas) .d-replica-location__card {
    padding: 38px 26px;
    border-radius: 34px;
  }

  .d-replica-location h2 { font-size: 54px; }

  .d-replica-location address,
  .d-replica-location p { font-size: 16px; }

  html:not(.d-canvas) .d-replica-location__find {
    font-size: 19px !important;
  }

  html:not(.d-canvas) .d-replica-location__map,
  html:not(.d-canvas) .d-replica-location__map iframe {
    min-height: 360px;
    border-width: 6px;
    border-radius: 36px;
  }

  /* En movil las dos lineas van juntas y a 12 px: con el hueco de 18 px y 14,6 px la banda
     pasaba de 90 px, cuando en el Canva reducido es una franja fina. */
  .d-site-footer__inner {
    flex-direction: column;
    gap: 0;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
  }

  .d-franchise-shell,
  .d-franchise-hero__inner,
  .d-franchise-proof__inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .d-franchise-hero__inner {
    min-height: 0;
    padding: 50px 18px 42px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .d-franchise-hero h1 {
    font-size: 48px;
  }

  .d-franchise-hero__copy > p {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.48;
  }

  .d-franchise-actions {
    margin-top: 28px;
  }

  .d-franchise-hero__art {
    min-height: 420px;
  }

  .d-franchise-photo {
    width: min(230px, 65vw);
    border-width: 7px;
    box-shadow: 12px 16px 0 rgb(66 18 12 / 24%);
  }

  .d-franchise-photo img {
    height: 315px;
  }

  .d-franchise-photo--queue {
    left: 3px;
  }

  .d-franchise-photo--store {
    right: 3px;
  }

  .d-franchise-stamp {
    right: 8px;
    bottom: 0;
    font-size: 20px;
  }

  .d-franchise-proof__inner {
    grid-template-columns: 1fr;
  }

  .d-franchise-proof p {
    min-height: 0;
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 24%);
    border-left: 0;
  }

  .d-franchise-proof p:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .d-franchise-proof strong {
    font-size: 23px;
  }

  .d-franchise-identity__grid {
    min-height: 0;
    padding: 64px 18px 70px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .d-franchise-identity__product {
    min-height: 410px;
  }

  .d-franchise-identity__product::before {
    width: min(310px, 82vw);
    height: 350px;
  }

  .d-franchise-identity__product img {
    width: 260px;
  }

  .d-franchise-page h2 {
    font-size: 43px;
  }

  .d-franchise-identity__copy p,
  .d-franchise-process__heading p,
  .d-franchise-form__copy > p {
    font-size: 17px;
  }

  .d-franchise-process,
  .d-franchise-faq,
  .d-franchise-form {
    padding: 68px 18px;
  }

  .d-franchise-process__heading,
  .d-franchise-faq__grid,
  .d-franchise-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .d-franchise-process__heading .d-franchise-kicker {
    grid-column: auto;
    margin-bottom: -14px;
  }

  .d-franchise-steps {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .d-franchise-steps li,
  .d-franchise-steps li + li {
    padding: 22px 0;
    border-bottom: 1px solid rgb(255 255 255 / 40%);
    border-left: 0;
  }

  .d-franchise-steps li:last-child {
    border-bottom: 0;
  }

  .d-franchise-steps span {
    font-size: 38px;
  }

  .d-franchise-transparency {
    margin-top: 36px;
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .d-franchise-faq summary {
    min-height: 64px;
    padding-right: 28px;
    font-size: 17px;
  }

  .d-franchise-form__panel {
    padding: 24px;
  }

  .d-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

}

@media (max-width: 420px) {
  html:not(.d-canvas) .d-replica-stage {
    height: 1110px;
  }

  html:not(.d-canvas) .d-feature-card {
    top: 390px;
    height: 685px;
  }

  html:not(.d-canvas) .d-wordmark {
    top: 34px;
    left: 8px;
    width: 108px;
  }
  .d-wordmark span { font-size: 22px; }
  html:not(.d-canvas) .d-wordmark img {
    left: 34px;
    width: 36px;
    height: 52px;
  }

  html:not(.d-canvas) .d-headline {
    top: 100px;
    right: 12px;
    width: 224px;
    font-size: 33px;
  }

  /* Girados, la caja envolvente crece ~29 px por lado: se recolocan para no salir de 390 px. */
  html:not(.d-canvas) .d-feature__product--dubai {
    left: 23%;
    width: 170px;
  }

  html:not(.d-canvas) .d-feature__product--oreo {
    right: 10%;
    width: 172px;
  }

  html:not(.d-canvas) .d-feature__copy {
    left: 12px;
    width: 176px;
  }
  html:not(.d-canvas) .d-feature__copy--oreo {
    top: 326px;
    right: 8px;
    left: auto;
    width: 176px;
  }

  .d-lockup--dubai img { width: 176px; }
  .d-lockup--oreo img { width: 172px; }
  .d-feature__copy h3 + p { font-size: 14px; }
  .d-oreo-name, .d-fusion-name { font-size: 38px; }

  html:not(.d-canvas) .d-instagram-card {
    right: 12px;
    left: 12px;
    font-size: 17px;
  }

  .d-franchise-hero h1 {
    font-size: 41px;
  }

  .d-franchise-hero__art {
    min-height: 350px;
  }

  .d-franchise-photo {
    width: 188px;
  }

  .d-franchise-photo img {
    height: 260px;
  }

  .d-franchise-stamp {
    font-size: 17px;
  }

  .d-franchise-page h2 {
    font-size: 38px;
  }

  .d-franchise-form__panel {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .delissyum-site *,
  .delissyum-site *::before,
  .delissyum-site *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .d-canva-effect,
  .d-story__sparkles {
    display: none !important;
  }
}

/* Chewy (Font Diner/Sideshow, Apache 2.0): fuente real de "Combinacion irresistible" y
   "La combinacion trend" en el Canva, identificada por contornos de glifo; autoalojada. */
@font-face {
  font-family: "Chewy";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://delissyum.yagcomunicacion.com/wp-content/mu-plugins/delissyum-replica/assets/chewy-regular.woff2") format("woff2"),
       url("https://delissyum.yagcomunicacion.com/wp-content/mu-plugins/delissyum-replica/assets/chewy-regular.woff") format("woff");
}

/* Home hero: composition matched to the client's approved Canva reference. */
.d-instagram-card {
  width: 32%;
  min-height: 104px;
  justify-content: center;
  background: var(--d-red);
  color: #ffe2e6;
  text-align: center;
}

.d-instagram-card b {
  color: #fff;
  font-weight: inherit;
}

/* Flecha e icono reales del Canva (blobs extraidos del DOM, rojo 240,32,32 sobre alfa). */
.d-instagram-arrow {
  position: absolute;
  bottom: -80px;
  left: 44%;
  width: 32%;
  height: auto;
  pointer-events: none;
}

.d-instagram-card::before,
.d-instagram-card::after {
  display: none;
  position: absolute;
  pointer-events: none;
  content: "";
}

.d-instagram-card::before {
  bottom: -78px;
  left: 48%;
  width: 112px;
  height: 62px;
  transform: rotate(8deg);
}

.d-instagram-card::after {
  bottom: -83px;
  left: calc(48% + 98px);
  width: 22px;
  height: 22px;
  transform: rotate(-18deg);
  background:
    linear-gradient(to left, var(--d-red) 0 6px, transparent 6px),
    linear-gradient(to top, var(--d-red) 0 6px, transparent 6px);
}

.d-instagram-icon {
  position: absolute;
  right: auto;
  left: 80%;
  bottom: -62px;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 0;
  color: var(--d-red);
  font-size: 0;
}

.d-instagram-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.d-instagram-icon::before,
.d-instagram-icon::after {
  position: absolute;
  display: none;
  border-radius: 50%;
  content: "";
}

.d-instagram-icon::before {
  top: 11px;
  left: 11px;
  width: 24px;
  height: 24px;
  border: 5px solid currentColor;
}

.d-instagram-icon::after {
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: currentColor;
}

/* Container query, no media query: la geometria del hero vale tanto en escritorio
   (el lienzo mide el ancho real) como dentro del lienzo de 1280 px que se reduce en
   movil. Asi el calco se escribe una sola vez. */
@container d-canvas (min-width: 981px) {
  /* El escenario sigue midiendo 1090 (todo lo de dentro va en % de ese alto y ya calca),
     pero la seccion se corta a 1062 como en el Canva: medido el 2026-09-22, la tarjeta
     acaba en y=1031 en los dos y debajo el Canva deja 30 px y nosotros 58.
     -0,02569 = -28/1090, para que escale igual que el propio escenario. */
  .d-replica-stage {
    width: 100%;
    height: clamp(1090px, 79.25cqw, 1480px);
    margin-bottom: calc(clamp(1090px, 79.25cqw, 1480px) * -0.02569);
  }

  .d-wordmark {
    top: 2.9%;
    left: 6%;
    width: clamp(270px, 19cqw, 360px);
    min-height: clamp(167px, 12.2cqw, 200px);
  }

  /* Mascota: el Canva muestra el PNG (fresa + texto) en un marco 106x72 con overflow hidden,
     solo la fresa; misma ventana aqui con clip-path sobre el mismo PNG. */
  .d-wordmark img {
    left: 24%;
    width: 52.6%;
    height: 128%;
    clip-path: inset(16% 13.4% 50.5% 12%);
  }

  .d-wordmark span {
    font-size: clamp(66px, 5.2cqw, 88px);
    font-weight: 400;
  }

  .d-headline {
    top: 5%;
    right: 8.8%;
    width: clamp(500px, 36cqw, 690px);
    font-size: clamp(72px, 5.3cqw, 100px);
  }

  .d-headline__la {
    margin-left: 36px;
    font-size: clamp(62px, 4.8cqw, 80px);
  }

  /* Probado y revertido (2026-09-10): ajustar este sticker al bbox del SVG del Canva
     (408x69, padding 0 38px, line-height .96) EMPEORO la coincidencia real de pixeles
     del 83,2 % al 82,3 %. El bbox del Canva esta inflado por la rotacion del propio SVG,
     asi que no es un objetivo valido. Se conserva el relleno que mide mejor. */
  .d-headline__experience {
    padding: 22px 18px 16px;
  }

  .d-headline__plus {
    top: 38%;
    right: 16%;
    width: clamp(44px, 3.9cqw, 60px);
    min-width: clamp(44px, 3.9cqw, 60px);
    height: clamp(44px, 3.9cqw, 60px);
    font-size: 0;
    transform: rotate(6deg);
    background:
      linear-gradient(var(--d-brown), var(--d-brown)) center / 100% 24% no-repeat,
      linear-gradient(var(--d-brown), var(--d-brown)) center / 24% 100% no-repeat;
  }

  /* Mismo caso que EXPERIENCIA: ajustarlo al bbox del Canva empeoro la medicion. */
  .d-headline__delicious {
    margin-top: 22px;
    margin-left: 152px;
    padding: 12px 26px 8px;
    font-size: 1.17em;
  }

  /* Medido en el Canva vivo a 1280 px: la tarjeta va de x=68 a x=1212 (5,3 % simetrico,
     89,5 % de ancho) y arranca en y=435. La version anterior (10 %/7 %, 83 % de ancho)
     venia de la captura de referencia del 4-sept, que NO coincide con el Canva real: por
     eso el verificador daba verde mientras el cliente veia que no se parecia.
     Los hijos van en % de esta tarjeta, asi que sus reglas se recalcularon para conservar
     su posicion absoluta, que si estaba bien. */
  .d-feature-card {
    top: 35.5%;
    right: 5.3%;
    left: 5.3%;
    height: 59.2%;
    border-radius: clamp(42px, 3.2cqw, 62px);
  }

  /* Medido en el DOM del Canva a 1280 px (tamano real sin rotar, angulo, centro de la caja):
     Dubai 351x497 a -12.85deg centrado en (555,464); Oreo 459x583 a 16.47deg en (814,621);
     chocolate 168x112 a 29.43deg en (364,503). Tarjeta [128,451,1062x643]. Las fotos van a su
     proporcion natural; la rotacion se aplica con la propiedad `rotate` para no pisar el
     parallax ni la animacion de entrada (que usan `transform`). */
  .d-feature-card .d-feature__product--dubai {
    top: -34.12%;
    left: 27.2%;
    width: 30.65%;
    height: auto;
    object-fit: contain;
    rotate: -12.85deg;
  }

  .d-feature-card .d-feature__product--oreo {
    top: -16.42%;
    right: 14.72%;
    width: 40.07%;
    height: auto;
    object-fit: contain;
    rotate: 16.47deg;
  }

  /* En el Canva el vaso Oreo pisa al Dubai, no al reves. */
  .d-feature--oreo {
    z-index: 6;
  }

  .d-feature-card .d-feature__bite {
    top: 1.88%;
    left: 18.5%;
    width: 14.65%;
    height: auto;
    object-fit: contain;
    transform: none;
    rotate: 29.43deg;
  }

  .d-feature__copy {
    top: 11.38%;
    left: 2.45%;
    width: 28.1%;
  }

  .d-lockup--dubai + h3 {
    margin-top: 0;
  }

  /* 277 px es el unico rango (272-282) que reproduce los CUATRO cortes de linea del Canva
     palabra por palabra. El ancho del Canva es 270, pero copiarlo con nuestra fuente, mas
     ancha, partia el parrafo en cinco lineas. Se calca el corte, no la medida. */
  .d-feature--dubai .d-feature__copy h3 + p {
    max-width: 277px;
    margin-right: auto;
    margin-left: auto;
  }

  /* El rotulo "Chocolate DUBAI" ya cae donde toca (3 % de pixeles distintos, ningun
     desplazamiento lo mejora), asi que el bloque no se mueve: se corrigen solo el titulo y
     el parrafo. En el Canva el h3 arranca en y=688 y x centrado en 272; aqui caian en
     y=691 y x=257, y el parrafo 17 px mas abajo por el interlineado y el margen. */
  .d-feature--dubai .d-feature__copy h3,
  .d-feature--dubai .d-feature__copy h3 + p {
    position: relative;
    left: 14px;
  }

  .d-feature--dubai .d-feature__copy h3 {
    margin-top: -3px;
    margin-bottom: -6px;
  }

  /* 3 px: barridos cuerpo, interlineado, peso, tracking y desfase sobre la pagina viva el
     2026-09-18; bajar el parrafo 3 px sube esta zona del 73,2 % al 75,4 % de calco y ninguna
     otra combinacion lo mejora. */
  .d-feature--dubai .d-feature__copy h3 + p {
    margin-top: 3px;
  }

  /* Metricas leidas del Canva vivo a 1280 px, no estimadas:
     h3 32,50 px / interlineado 34 px / sin tracking;
     parrafo 19,33 px / 20 px / peso 400 / sin tracking.
     El tracking negativo global de la replica (-.01em) condensaba las dos y hacia que
     las lineas rompieran en sitios distintos. */
  /* 2,379cqw (30,45 px a 1280) y no 2,539: el h3 del Canva mide 284 px de texto y con
     32,5 px el nuestro se iba a 303. Medido el 2026-09-18 con un Range sobre el nodo. */
  .d-feature__copy h3 {
    font-family: "Chewy", var(--d-display);
    font-size: clamp(29px, 2.379cqw, 37px);
    line-height: 1.046;
    letter-spacing: normal;
  }

  .d-feature__copy h3 + p {
    font-size: clamp(19px, 1.51cqw, 26px);
    font-weight: 400;
    line-height: 1.035;
    letter-spacing: normal;
  }

  /* Rotulos recortados 1:1 del DOM del Canva a 1280 px (PNG 2x): Dubai 322x185, Oreo 335x225. */
  .d-lockup--dubai img { width: 322px; }
  .d-lockup--oreo img { width: 335px; }

  /* El rotulo OREO FUSION pisa solo el borde derecho del vaso; el recorte ya trae la inclinacion
     del Canva (-2.32deg), por eso ni el bloque ni el rotulo giran; giran solo h3 y parrafo (-6.35deg). */
  .d-lockup--oreo {
    margin: 0 -72px 0 auto !important;
    transform: none;
  }

  .d-dubai-script {
    font-size: clamp(46px, 3.25cqw, 62px);
  }

  .d-dubai-name {
    color: #805a00;
    font-size: clamp(68px, 4.8cqw, 92px);
    -webkit-text-stroke: 2px var(--d-brown);
    paint-order: stroke fill;
  }

  .d-feature__copy--oreo {
    top: 36.58%;
    right: 9.99%;
    left: auto;
    width: 32.3%;
    transform: none;
  }

  .d-feature__copy--oreo h3 + p {
    margin-top: 2px;
    line-height: 1.08;
    transform: rotate(-6.35deg);
  }

  .d-oreo-name,
  .d-fusion-name {
    font-size: clamp(66px, 4.8cqw, 92px);
  }

  .d-feature__copy--oreo h3 {
    margin-top: 14px;
    font-size: clamp(35px, 2.7cqw, 42px);
    transform: rotate(-6.35deg);
  }

  /* Burbuja medida en el Canva: 431x117 reales a -2.06deg (caja envolvente [111,827,434x132]),
     texto de 36 px condensado (Anton es mas ancho, de ahi 29 px). */
  .d-instagram-card {
    top: 62.08%;
    bottom: auto;
    left: 3.76%;
    width: 37.66%;
    min-height: clamp(112px, 9.15cqw, 134px);
    padding: 12px clamp(18px, 1.6cqw, 30px);
    /* Probado y revertido (2026-09-11): copiar las metricas del Canva (36,18 px / 37 px /
       +0,02em) rompia el texto en CUATRO lineas y hundia la coincidencia de la burbuja del
       14 % al 36 % de pixeles muy distintos. La fuente del Canva (una geometrica de
       Spacetype) es bastante mas estrecha que la nuestra: con tipografias distintas el
       objetivo valido es la mancha de tinta y el corte de linea, no el tamano en px. */
    font-size: clamp(29px, 2.3cqw, 36px);
    line-height: 1.1;
    letter-spacing: -.01em;
  }

  /* Flecha medida en el Canva: su tinta ocupa 135x57 en [304, 962] y el elemento NO lleva
     rotacion (matriz identidad). Antes iba a -9,8 grados y con el recorte equivocado, asi
     que apuntaba en diagonal en vez de casi horizontal. Porcentajes sobre la burbuja, que
     esta en [48, 725] y mide 482x117. */
  .d-instagram-card .d-instagram-arrow {
    top: 101.4%;
    bottom: auto;
    left: 44.9%;
    width: 31.1%;
    height: auto;
    object-fit: contain;
    /* +2 grados para COMPENSAR: la burbuja va girada -2 y la flecha, al ser hija, lo
       heredaba. En el Canva esta imagen no lleva rotacion ninguna. */
    rotate: 2deg;
  }

  /* El icono va SIN girar en el Canva (0 grados) y en [458, 961]; aqui heredaba los -2 de
     la burbuja, asi que se compensan. Porcentajes sobre la burbuja, que mide 435x132
     en [109, 828]. */
  .d-instagram-icon {
    top: 110.7%;
    bottom: auto;
    left: 80.2%;
    rotate: 2deg;
  }

}

@media (max-width: 700px) {
  html:not(.d-canvas) .d-story h2 {
    font-family: var(--d-body);
    font-size: clamp(40px, 12.5vw, 52px);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  html:not(.d-canvas) .d-story .d-pill {
    font-family: var(--d-body);
    font-size: clamp(13px, 3.8vw, 16px);
    font-weight: 800;
  }

  html:not(.d-canvas) .d-pill--wafers,
  html:not(.d-canvas) .d-pill--ice,
  html:not(.d-canvas) .d-pill--toppings {
    color: #bd1919;
  }

  html:not(.d-canvas) .d-story__copy,
  html:not(.d-canvas) .d-story__copy p {
    font-weight: 700;
  }

  html:not(.d-canvas) .d-story__copy {
    font-size: 19px;
    line-height: 1.3;
  }

  html:not(.d-canvas) .d-story__cone {
    width: 160px;
  }
}

@media (max-width: 340px) {
  .d-wordmark--img {
    height: 172px !important;
    min-height: 172px !important;
  }
  .d-instagram-card { min-height: 158px !important; }
}

@media (max-width: 700px) {
  html:not(.d-canvas) .d-replica-stage {
    height: 1210px;
  }

  html:not(.d-canvas) .d-feature-card {
    top: 390px;
    height: 775px;
  }

  html:not(.d-canvas) .d-instagram-card {
    right: auto;
    bottom: 45px;
    left: 7%;
    width: 86%;
    min-height: 72px;
    padding: 14px 16px;
    font-size: 19px;
    font-weight: 700;
  }

  html:not(.d-canvas) .d-instagram-card::before {
    bottom: -42px;
    left: 34%;
    width: 76px;
    height: 48px;
    border-width: 0 0 5px 5px;
  }

  html:not(.d-canvas) .d-instagram-card::after {
    bottom: -47px;
    left: calc(34% + 64px);
    width: 18px;
    height: 18px;
    border-width: 0 5px 5px 0;
  }

  html:not(.d-canvas) .d-instagram-icon {
    right: 5%;
    left: auto;
    bottom: -45px;
    width: 46px;
    height: 46px;
  }

  html:not(.d-canvas) .d-instagram-icon::before {
    top: 9px;
    left: 9px;
    width: 19px;
    height: 19px;
    border-width: 4px;
  }

  html:not(.d-canvas) .d-instagram-icon::after {
    top: 5px;
    right: 5px;
    width: 5px;
    height: 5px;
  }
}

@media (max-width: 420px) {
  html:not(.d-canvas) .d-headline {
    right: 6px;
  }
}

html.d-save-data .d-canva-effect,
html.d-save-data .d-story__sparkles {
  display: none !important;
}

/* Home Oreo emphasis and menu poster motion */
.d-feature--oreo {
  isolation: isolate;
}

/* .d-oreo-spark retirado el 2026-09-12: era un destello nuestro sobre el vaso Oreo que el
   Canva NO tiene. El inventario de animados del original a 1280 px da exactamente cuatro
   (dos en el hero y dos en la seccion "MUCHO MAS QUE FRESAS") y ninguno cae ahi. */

.d-feature__product--oreo,
.d-feature__copy--oreo {
  z-index: 1;
}

.d-site-header .wp-block-navigation-item__content {
  position: relative;
}

@media (min-width: 701px) and (pointer: fine) {
  .d-site-header .wp-block-navigation-item__content::after {
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--d-red);
    content: "";
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
  }

  /* Sin subrayado fijo en la pagina actual: el Canva no lo tiene. */
  .d-site-header .wp-block-navigation-item__content:hover::after,
  .d-site-header .wp-block-navigation-item__content:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

.d-menu-page {
  width: 100%;
  overflow: clip;
  background: #fff;
  color: var(--d-brown);
}

.delissyum-site .is-layout-constrained > .d-menu-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.page-id-25 .d-menu-hero {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  padding: 74px 24px 82px;
  place-items: center;
  background: var(--d-red);
  color: #fff;
  text-align: center;
}

.d-menu-hero__content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
}

.d-menu-hero__mark {
  display: block;
  width: 54px;
  height: 78px;
  margin: 0 auto 8px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.page-id-25 .d-menu-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--d-display);
  font-size: clamp(62px, 8vw, 112px);
  font-weight: 400;
  line-height: .9;
}

.page-id-25 .d-menu-hero p {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--d-brown) !important;
  font-family: var(--d-body);
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

.d-menu-hero__deck {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.d-menu-hero__deck span {
  position: absolute;
  width: 150px;
  aspect-ratio: 9 / 16;
  border: 3px solid rgb(255 255 255 / 34%);
  border-radius: 8px;
}

.d-menu-hero__deck span:nth-child(1) { top: -88px; left: 8%; transform: rotate(-13deg); }
.d-menu-hero__deck span:nth-child(2) { right: 10%; bottom: -130px; transform: rotate(12deg); }
.d-menu-hero__deck span:nth-child(3) { top: 20%; right: 26%; width: 92px; transform: rotate(-5deg); }

html.d-effects-ready:not(.d-reduced-motion) .d-menu-hero__deck span:nth-child(1) {
  animation: d-poster-line-in 720ms 80ms cubic-bezier(.16, 1, .3, 1) both;
}

html.d-effects-ready:not(.d-reduced-motion) .d-menu-hero__deck span:nth-child(2) {
  animation: d-poster-line-in 760ms 150ms cubic-bezier(.16, 1, .3, 1) both reverse;
}

html.d-effects-ready:not(.d-reduced-motion) .d-menu-hero__deck span:nth-child(3) {
  animation: d-poster-line-in 680ms 220ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes d-poster-line-in {
  from { opacity: 0; scale: .78; translate: 0 34px; }
  to { opacity: 1; scale: 1; translate: 0 0; }
}

.d-menu-page__posters {
  background: #fff;
}

.d-menu-page__wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 84px;
}

.page-id-25 .d-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 42px 28px;
  perspective: 1100px;
}

.page-id-25 .d-gallery figure {
  --d-tilt-x: 0deg;
  --d-tilt-y: 0deg;
  --d-card-lift: 0px;
  position: relative;
  grid-column: span 2;
  aspect-ratio: 9 / 16;
  margin: 0;
  border-radius: 8px;
  background: #fff8ee;
  box-shadow: 0 18px 36px rgb(66 18 12 / 13%), 0 2px 0 rgb(66 18 12 / 7%);
  transform: perspective(1100px) translateY(var(--d-card-lift)) rotateX(var(--d-tilt-x)) rotateY(var(--d-tilt-y)) rotate(var(--d-card-rotate));
  transform-style: preserve-3d;
  transition: transform 380ms cubic-bezier(.16, 1, .3, 1), box-shadow 380ms cubic-bezier(.16, 1, .3, 1);
}

.page-id-25 .d-gallery figure:nth-child(4) { grid-column: 2 / span 2; }
.page-id-25 .d-gallery figure:nth-child(5) { grid-column: 4 / span 2; }

.page-id-25 .d-gallery figure[data-menu-interactive="true"]:hover {
  z-index: 3;
  box-shadow: 0 30px 54px rgb(66 18 12 / 20%), 0 3px 0 rgb(66 18 12 / 8%);
}

.page-id-25 .d-gallery img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 9 / 16;
  border-radius: inherit;
  object-fit: cover;
  transform: translateZ(1px);
}

.d-menu-card__index {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: -12px;
  display: grid;
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 50%;
  place-items: center;
  background: var(--d-brown);
  color: #fff;
  font-family: var(--d-display);
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 7px 0 rgb(247 43 42 / 20%);
  pointer-events: none;
  transform: translateZ(22px) rotate(-7deg);
}

.d-menu-page__legal {
  margin: 52px 0 0;
  color: var(--d-brown);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

/* Carta oficial compartida por Delissyum el 14-11-2026. Las laminas se
   mantienen completas para no remaquetar ni alterar precios del arte fuente. */
.d-menu-page__heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.d-menu-page__heading h2,
.d-menu-allergens h2 {
  margin: 12px 0 18px;
  color: var(--d-brown);
  font-family: var(--d-display);
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 400;
  line-height: .96;
  text-transform: uppercase;
}

.d-menu-page__heading > p:last-child,
.d-menu-allergens > div > p:last-child {
  max-width: 62ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.d-menu-sheets {
  display: grid;
  gap: 54px;
}

.d-menu-sheet {
  --d-tilt-x: 0deg;
  --d-tilt-y: 0deg;
  --d-card-lift: 0px;
  margin: 0;
}

.d-menu-sheet__viewport {
  overflow: hidden;
  border: 10px solid var(--d-cream);
  border-radius: 10px;
  background: var(--d-cream);
  box-shadow: 0 20px 44px rgb(66 18 12 / 14%);
  transform: perspective(1400px) translateY(var(--d-card-lift)) rotateX(var(--d-tilt-x)) rotateY(var(--d-tilt-y));
  transform-origin: 50% 50%;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1), box-shadow 220ms ease;
  will-change: transform;
}

.d-menu-sheet[data-menu-interactive="true"]:hover .d-menu-sheet__viewport {
  box-shadow: 0 28px 58px rgb(66 18 12 / 22%);
}

html.d-reduced-motion .d-menu-sheet__viewport {
  transform: none;
  transition: none;
}

.d-menu-sheet__viewport a {
  display: block;
}

.d-menu-sheet__viewport img {
  display: block;
  width: 100%;
  height: auto;
}

.d-menu-sheet figcaption {
  display: flex;
  margin-top: 18px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--d-brown);
}

.d-menu-sheet figcaption strong {
  font-family: var(--d-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.d-menu-sheet figcaption span {
  font-size: 16px;
  line-height: 1.4;
}

.d-menu-allergens {
  display: grid;
  margin-top: 82px;
  padding: 54px;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 64px;
  background: var(--d-pink);
}

.d-menu-allergens > a {
  display: block;
  max-width: 580px;
  justify-self: end;
}

.d-menu-allergens img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgb(66 18 12 / 16%);
}

@media (max-width: 800px) {
  .page-id-25 .d-menu-hero {
    min-height: 300px;
    padding: 54px 22px 62px;
  }

  .d-menu-hero__mark {
    width: 42px;
    height: 62px;
  }

  .page-id-25 .d-menu-hero h1 {
    font-size: clamp(54px, 18vw, 74px);
  }

  .page-id-25 .d-menu-hero p {
    margin-top: 18px;
    font-size: 19px !important;
  }

  .d-menu-hero__deck span:nth-child(1) { left: -42px; }
  .d-menu-hero__deck span:nth-child(2) { right: -54px; }
  .d-menu-hero__deck span:nth-child(3) { display: none; }

  .d-menu-page__wrap {
    width: min(100% - 48px, 420px);
    padding: 66px 0 64px;
  }

  .page-id-25 .d-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .page-id-25 .d-gallery figure,
  .page-id-25 .d-gallery figure:nth-child(4),
  .page-id-25 .d-gallery figure:nth-child(5) {
    grid-column: 1;
    width: 100%;
    transform: rotate(var(--d-card-rotate));
  }

  .d-menu-card__index {
    top: 12px;
    left: -10px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .d-menu-page__legal {
    margin-top: 44px;
    font-size: 14px;
  }

  .d-menu-page__heading {
    margin-bottom: 38px;
  }

  .d-menu-page__heading h2,
  .d-menu-allergens h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .d-menu-sheets {
    gap: 42px;
  }

  .d-menu-sheet__viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--d-red) var(--d-cream);
    -webkit-overflow-scrolling: touch;
  }

  .d-menu-sheet__viewport a {
    width: 840px;
    scroll-snap-align: start;
  }

  .d-menu-sheet__viewport img {
    width: 840px;
    max-width: none;
  }

  .d-menu-sheet figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .d-menu-allergens {
    margin-top: 58px;
    padding: 36px 24px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .d-menu-allergens > a {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .d-menu-hero__deck {
    display: none !important;
  }

  .page-id-25 .d-gallery figure {
    opacity: 1 !important;
    transform: rotate(var(--d-card-rotate)) !important;
  }
}

/* Home story: corrected against the visible artwork, not transparent image boxes. */
@container d-canvas (min-width: 981px) {
  .d-story__inner {
    display: block;
    width: 100cqw;
    max-width: 100cqw;
    min-height: 0;
    /* Altura REAL de la seccion en el Canva, medida de banda a banda: de y=1061 a y=2031,
       970 px a 1280 de ancho. El 2458/1564 anterior era una suposicion y daba 814 px: por
       eso el tercer parrafo se salia de la seccion. */
    aspect-ratio: 1280 / 970;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0;
  }

  .d-story h2,
  .d-story__crepe,
  .d-story__cone,
  .d-story .d-pills,
  .d-story__copy {
    position: absolute;
    margin: 0;
  }

  /* Geometria medida en el DOM del Canva vivo a 1280 px (2026-09-12), referida al inicio de
     la seccion (final del hero). Los valores anteriores venian de la captura de referencia
     vieja, no del Canva: por eso el titular caia al 15 % cuando el original lo pone al
     5,5 %, y el crepe y el cono eran bastante mas pequenos.
     Seccion del Canva: y 1061 a 2031 (970 px de alto). Porcentajes sobre esos 970:
       titular  [70, +60, 570x215]      crepe  [603, -28, 728x507]
       cono     [-104, +199, 541x735]   pildoras [363, +313, 807 de ancho]
       parrafo  [339, +545, 861 de ancho, tres parrafos hasta +896]
     El cuerpo tipografico NO se copia del Canva: su fuente es mas estrecha y copiar los px
     rompe los cortes de linea. Se ajusta por barrido hasta igualar la mancha. */
  .d-story h2 {
    /* top y line-height remedidos el 2026-09-18 comparando la mancha de blanco linea a
       linea: en el Canva "MUCHO MAS" va de y=91 a 152 y "QUE FRESAS" de y=182 a 257 (paso
       de 98 px entre centros); aqui salian en y=75 y y=173, 14 px mas arriba y con 102,5 px
       de paso. El ancho ya clavaba (559 px contra 560), por eso no se toca el cuerpo. */
    top: 7.85%;
    left: 5.47%;
    width: 44.53%;
    font-family: var(--d-body);
    /* 7,14cqw clava la mancha del titular en los 570 px del Canva (barrido: 6,2cqw daba 495
       y 7,1cqw daba 567). */
    font-size: clamp(68px, 7.14cqw, 124px);
    font-weight: 700;
    line-height: 1.020;
    text-align: justify;
    white-space: nowrap;
  }

  /* Los recortes del Canva y los nuestros no tienen la misma proporcion, asi que con
     height:auto el cono se salia 30 px por debajo de la seccion. Se fuerza la proporcion
     que el Canva muestra en pantalla (crepe 728x507, cono 541x735). */
  /* El crepe va girado -3,2 grados en el Canva; aqui salia a +2, es decir inclinado hacia
     el lado contrario (medido con la cadena de DOMMatrix de los dos sitios). */
  .d-story__crepe {
    inset: -3.92% auto auto 48.13%;
    /* 701x468 sin girar: con la rotacion la caja envolvente queda en los 728x507 que mide
       el Canva. Antes se usaba 728x507 como tamano del elemento y la rotacion lo inflaba
       hasta 755x547. */
    width: 54.77%;
    height: auto;
    max-width: none;
    aspect-ratio: 701 / 468;
    object-fit: contain;
    rotate: -5.2deg;
  }

  .d-story__cone {
    inset: 20.52% auto auto -8.13%;
    width: 42.27%;
    height: auto;
    max-width: none;
    aspect-ratio: 541 / 735;
    object-fit: contain;
  }

  /* Pildoras medidas una a una en el Canva (texto + relleno de 31 px a cada lado):
       CREPES 225 px en x=332 | OBLEAS 226 en x=577 | HELADO SOFT 352 en x=332 |
       TOPPINGS Y CREMAS 500 en x=702. Alto 55, separacion 20 en columna y 55 entre filas.
     La rejilla de 12 columnas anterior repartia a tercios y daba anchos que no existen en
     el original: era la zona peor del calco (48 % de pixeles muy distintos). */
  /* Cada pildora va colocada a mano: con flex-wrap, "HELADO SOFT" se subia a la primera
     fila porque los cuatro anchos del Canva no forman dos filas que llenen el contenedor.
     Caja del bloque: 872x168 px (de x=332 a 1202, de la fila 1 a la base de la fila 2). */
  /* Remedido por color el 2026-09-18 sobre la banda del Canva (1280x971): las cuatro
     pildoras miden 89 px de alto, no 55, y el bloque empieza en y=299, no en 312.
     CREPES x332 y299 225x89 | OBLEAS x577 y299 226x89 | HELADO x332 y412 352x89 |
     TOPPINGS x702 y412 499x89. Bloque: x332-1201, y299-501 => 869x202. */
  .d-story .d-pills {
    top: 30.79%;
    left: 25.94%;
    display: block;
    width: 67.89%;
    height: 20.80%;
  }

  .d-story .d-pill {
    position: absolute;
    display: inline-flex;
    height: 44.06%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 0 2.42%;
    font-family: var(--d-body);
    /* OJO: el font-size computado del Canva en estas pildoras (28,22 px) MIENTE, porque el
       bloque va dentro de un contenedor escalado. En pantalla "TOPPINGS Y CREMAS" mide
       437 px de ancho, que con nuestra fuente son ~43 px de cuerpo, no 28. */
    font-size: clamp(24px, 3.35cqw, 58px);
    /* 1000 y no 800: con la misma caja de texto (202x77, 328x77, 475x77, identicas al
       pixel) el Canva pone un 22 % mas de tinta en las cuatro pildoras, o sea trazo mas
       grueso. Medido el 2026-09-18 contando pixeles del color del texto dentro de cada
       una; 900 recuperaba la mitad y no ensancha la caja, 1000 es el tope de DM Sans. */
    font-weight: 1000;
    line-height: 1;
    white-space: nowrap;
  }

  .d-pill--crepes { top: 0; left: 0; width: 25.89%; }
  .d-pill--wafers { top: 0; left: 28.19%; width: 26.01%; }
  .d-pill--ice { top: 55.94%; left: 0; width: 40.51%; }
  .d-pill--toppings { top: 55.94%; left: 42.58%; width: 57.42%; }

  .d-story__copy {
    /* 56,60 % (4 px mas abajo) e interlineado 1,03: barridos 5 interlineados x 4 desfases
       sobre la pagina viva el 2026-09-18, midiendo pixeles coincidentes con el Canva en el
       bloque. El par elegido sube la zona del 68,8 % al 71,6 %. */
    top: 56.60%;
    left: 26.48%;
    width: 67.27%;
    max-width: none;
    font-family: var(--d-body);
    /* 2,1875cqw (28 px a 1280) acierta los SIETE cortes de linea del Canva palabra por
       palabra manteniendo su ancho de bloque (861 px). Barridas nueve fuentes y 400 pares
       de cuerpo/ancho: con este valor la zona del texto pasa de 65,7 % a 70,9 % de pixeles
       identicos y de 30,1 % a 23,2 % de muy distintos.
       Poppins acertaba los cortes pero EMPEORABA el conjunto (hero 93,9 -> 93,6, historia
       73,1 -> 72,2): su glifo se parece menos al del original que el de DM Sans. */
    font-size: clamp(18px, 2.1875cqw, 37px);
    /* 400 y no otro: el texto del Canva tiene un 13 % menos de tinta que el nuestro, pero
       igualar la tinta EMPEORA el calco. Barridos 300/350/400/450/500/550 midiendo pixeles
       coincidentes en el bloque (2026-09-18): 68,0 / 68,2 / 68,8 / 68,5 / 67,0 / 65,9 %.
       Un trazo algo mas grueso cubre al del original; uno mas fino deja hueco. */
    font-weight: 400;
    /* 1,03 en vez de 1,05: el bloque de los tres parrafos medido en el Canva ocupa 333 px
       de alto (y560-893) y aqui ocupaba 344. El cuerpo y el ancho no se tocan porque los
       siete cortes de linea ya coinciden palabra por palabra. */
    line-height: 1.03;
    /* El Canva justifica el titular y los tres parrafos de esta seccion. */
    text-align: justify;
  }

  .d-story__copy p {
    margin: 0 0 clamp(12px, 1.37cqw, 26px);
    /* heredado del bloque: 300, no 400 (ver la nota de tinta en .d-story__copy). Este 400
       explicito pisaba al del contenedor y dejaba el texto un 13 % mas gordo. */
    font-weight: inherit;
  }

  /* Medidos en el Canva a 1280 px, referidos al final de su hero (y=1110):
     destello de arriba 459x446 en x=769, 15 px por ENCIMA del corte de seccion;
     destello de abajo 565x585 en x=-226 (recortado por el borde), 303 px por debajo.
     Estaban a 218 y 205 px de ancho -de menos de la mitad- y atenuados a .74 y .62.
     El de abajo ademas usaba el GIF equivocado (el del estallido, no el de destellos). */
  .d-story__sparkles--top {
    top: -3.3%;
    right: auto;
    left: 61.96%;
    width: 32.03%;
    height: auto;
    /* El Canva lo muestra girado -95,1 grados con caja envolvente 459x446, asi que el
       elemento sin girar mide 446x459. Aqui iba a 0 grados: los rayos salian orientados
       de otra forma. */
    aspect-ratio: 410 / 424;
    rotate: -95.1deg;
    opacity: 1;
  }

  .d-story__sparkles--bottom {
    top: 31.34%;
    bottom: auto;
    left: -17.66%;
    width: 44.14%;
    height: auto;
    opacity: 1;
  }
}

/* Seccion de localizacion, solo escritorio. Medido en el Canva a 1280 px: la seccion mide
   739 px de alto, la tarjeta va de x=54 a 413 (359 de ancho) y el mapa de 474 al borde
   derecho (806), con 61 de separacion; el boton de franquicia cuelga por debajo de la
   tarjeta, a 17 px de su borde izquierdo. Estaba a 1180 centrado, columnas .85/1.15 y
   920 px de alto.
   OJO: esto NO puede ir en la regla base. Al ponerlo alli, el margin-left de 54 px mas el
   width de 100%-54px desbordaban en movil y la seccion se salia por la derecha; el
   `overflow: hidden` de .d-replica-location lo recortaba, asi que el verificador de
   desbordamiento seguia en verde y solo se vio en la captura. */
@container d-canvas (min-width: 981px) {
  /* Caja a caja, medido en el Canva a 1280 px (seccion de 739 de alto):
       tarjeta  [58, 73, 381x370]     mapa    [495, 73, 727x545]
       etiqueta [189, 316 rel, 245x49] flecha [317, 455, 132x85]
       Instagram 51x51 en x=88, boton de franquicia en [71, 580].
     El bloque va de x=58 a 1222, centrado, con 56 de separacion. La tarjeta mide 370, no
     se estira: antes heredaba los 545 del mapa y salia con 653. */
  .d-replica-location__inner {
    width: 1164px;
    max-width: calc(100% - 116px);
    min-height: 545px;
    margin: 0 auto;
    padding: 73px 0 121px;
    grid-template-columns: 381fr 727fr;
    align-items: start;
    gap: 56px;
  }

  .d-replica-location__card {
    min-height: 370px;
    /* 56 arriba, no 33: medido el 2026-09-18, "DELISSYUM" arranca en y=133 en el Canva y
       aqui salia en y=110. */
    padding: 56px 30px 5px;
  }

  /* Interlineado y color de la tarjeta, medidos linea a linea sobre el Canva:
       DELISSYUM y133-188 | direccion y213 (3 lineas, paso 24 px) | email y304.
     Aqui la direccion iba con paso de 32,5 px y todo el cuerpo en el rojo oscuro
     (206,9,8) en vez del rojo de marca (246,43,42) que usa el original.
     El rojo de marca sobre blanco da 3,94:1: cumple AA porque a 26 px esto es texto
     grande (umbral 3:1). En movil el cuerpo baja de 24 px y ahi se mantiene el rojo
     oscuro, que es justo lo que hace la regla de fuera de este bloque. */
  /* Solo en escritorio real: ahi el cuerpo de la tarjeta mide 26 px, es texto grande y el
     rojo de marca cumple AA con 3,94:1. Dentro del lienzo escalado de movil el mismo texto
     se ve diminuto y necesita 4,5:1, asi que alli se queda el rojo oscuro de la regla base. */
  /* :not(__find): la pildora "¡Encuentranos aqui!" tambien es un <p>, y esta regla pesa mas
     que su color rosa: del 18 al 23 de septiembre su texto salio rojo sobre rojo, invisible. */
  html:not(.d-canvas) .d-replica-location address,
  html:not(.d-canvas) .d-replica-location p:not(.d-replica-location__find),
  html:not(.d-canvas) .d-replica-location a:not(.d-replica-location__franchise) {
    color: var(--d-red);
  }

  .d-replica-location h2 {
    margin: 0 0 7px;
  }

  /* La direccion baja 4 px con `position: relative`, no con margen: barrida sobre la pagina
     viva el 2026-09-18 (sube su zona del 74,7 % al 78,3 %), pero con margen arrastraba
     tambien el email y el icono de Instagram, que ya caian donde el Canva. */
  .d-replica-location address {
    position: relative;
    top: 4px;
    margin: 0;
    line-height: .923;
  }

  /* Los <p> heredaban 26 px de margen del tema arriba y abajo: 91 px de mas dentro de la
     tarjeta, que la estiraban de 370 a 461 y arrastraban etiqueta, flecha y boton. */
  .d-replica-location__card p {
    margin: 0;
  }

  /* Separaciones medidas en el Canva: el email arranca en y=304 (20 px tras el final de la
     direccion) y el icono de Instagram en y=344. Con margen 0 caian en 290 y 323. */
  .d-replica-location__card address + p {
    margin-top: 14px;
  }

  .d-replica-location__card address + p + p {
    margin-top: 7px;
  }

  .d-replica-location__ig img {
    width: 51px;
    height: 51px;
  }

  /* Absoluta: en el Canva la etiqueta sobresale por la derecha de la tarjeta, asi que en
     flujo estiraba la tarjeta por encima de sus 370 px. Su texto cae en [189, 389] de la
     seccion; con 14/5 de relleno, la capsula arranca en [117, 311] relativos a la tarjeta. */
  .d-replica-location .d-replica-location__find {
    position: absolute;
    top: 327px;
    left: 117px;
    margin: 0 !important;
    padding: 5px 14px;
    font-size: 30px !important;
    line-height: 1.12;
  }

  /* En el Canva la flecha cuelga por DEBAJO de la tarjeta (y=455, la tarjeta acaba en 443)
     y arranca en x=317. Aqui iba en flujo, dentro de la tarjeta y a otro tamano. */
  .d-replica-location__arrow {
    position: absolute;
    top: calc(100% + 12px);
    right: auto;
    bottom: auto;
    left: 259px;
    width: 132px;
    height: auto;
    margin: 0;
  }

  /* El Canva muestra el mapa a sangre, sin el marco blanco de 10 px ni el radio de 56 que
     teniamos: su iframe mide 727x545 limpios. */
  .d-replica-location__map,
  .d-replica-location__map iframe {
    min-height: 545px;
    height: 545px;
    border: 0;
    border-radius: 18px;
  }

  /* En el Canva el boton esta en y=580, o sea 137 px por debajo de la tarjeta (que acaba
     en 443), no pegado a ella. */
  .d-replica-location__franchise {
    position: absolute;
    top: calc(100% + 127px);
    left: 0;
    margin-top: 0;
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------------------
   Titular y wordmark rasterizados
   ---------------------------------------------------------------------------
   El titular del hero usa Agista y el wordmark una geometrica de Spacetype, las
   dos de pago. Medido: aun licenciandolas el calco solo subia ~0,5 puntos,
   porque Canva compone cada linea dentro de un SVG escalado y los glifos nunca
   caen en los mismos pixeles. La unica via a un calco real es usar la propia
   pieza del diseno del cliente, que tiene licencia Canva Pro.
   Extraidas con alfa real (dos capturas, fondo rojo y fondo negro, despejando
   la transparencia) para que respeten el vaso de Dubai que pasa por detras.
   Geometria medida sobre https://delissyum.com a 1280px: hero en y=48, ancho
   1280. Titular en x=679 y=109 (498x306). Wordmark en x=76 y=115 (267x127).
   El texto real sigue en el DOM en .d-sr-only; las imagenes son decorativas.
   Este bloque va al final a proposito: tiene que ganar a los breakpoints
   anteriores que escalaban el texto. */

.d-wordmark--img,
.d-headline--img {
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  font-size: 0;
  transform: none;
}

/* clip-path: none es obligatorio. El bloque >=981px recortaba el PNG antiguo para
   quedarse solo con la fresa; heredado aqui borraba DELISSYUM entero. */
.d-wordmark--img img,
.d-headline--img img {
  position: static;
  top: auto;
  left: auto;
  display: block;
  width: 100%;
  height: auto;
  clip-path: none;
  filter: none;
  object-fit: fill;
}

.d-wordmark--img {
  top: 6.15%;
  right: auto;
  left: 5.94%;
  width: 20.86%;
}

.d-headline--img {
  top: 5.6%;
  right: auto;
  left: 53.05%;
  width: 38.91%;
}

/* La caja del titular es la imagen; el texto accesible no debe reflotar dentro. */
.d-headline--img .d-sr-only,
.d-wordmark--img .d-sr-only {
  position: absolute;
  display: block;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Tiene que ser una animacion que termine sin rotacion: d-block-arrive-right acaba en
   rotate(5deg) porque se hizo para el bloque DELICIOSA, que ya venia girado. Aplicada a
   la imagen entera giraba todo el titular 5 grados. */
html.d-effects-ready:not(.d-reduced-motion) .d-headline--img img {
  animation: d-copy-arrive 640ms 170ms cubic-bezier(.16, 1, .3, 1) both;
}

@media (max-width: 700px) {
  /* En movil el canvas de Canva reescala el mismo arte: mantengo la proporcion
     y solo cambio el encaje horizontal. */
  html:not(.d-canvas) .d-wordmark--img {
    top: 66px;
    left: 3.6%;
    width: 32%;
  }

  html:not(.d-canvas) .d-headline--img {
    top: 70px;
    left: 39.5%;
    width: 57.4%;
  }
}

@media (max-width: 420px) {
  html:not(.d-canvas) .d-wordmark--img {
    top: 34px;
    left: 2%;
    width: 27.7%;
  }

  html:not(.d-canvas) .d-headline--img {
    top: 100px;
    left: 39.5%;
    width: 57.4%;
  }
}

/* ---------------------------------------------------------------------------
   Fuentes de marca del Canva (Garet + Agista), licencia web del cliente
   ---------------------------------------------------------------------------
   Solo actua con `html.d-fuentes-marca`, que el mu-plugin pone cuando los cuatro ficheros
   de assets/fuentes/ existen y han cargado. Sin ellos la web sigue con DM Sans / Anton y
   los ajustes de arriba.
   Metricas leidas del DOM del Canva a 1280 px el 2026-09-23, multiplicando el font-size
   computado por la escala acumulada de sus contenedores (el computado solo miente).
   El Canva ademas desactiva kerning y ligaduras: sin eso los cortes de linea no casan.
   Probado inyectando las fuentes en local: calco 89,7 -> 90,7 %, historia 82,3 -> 86,1 %,
   cortes de linea identicos palabra por palabra. */
html.d-fuentes-marca .delissyum-site,
html.d-fuentes-marca .delissyum-site * {
  font-kerning: none !important;
  font-feature-settings: "calt" 0, "clig" 0, "liga" 0 !important;
  text-rendering: geometricPrecision;
}

html.d-fuentes-marca .delissyum-site p:not(.d-calco__t),
html.d-fuentes-marca .delissyum-site address,
html.d-fuentes-marca .d-story h2,
html.d-fuentes-marca .d-story__copy,
html.d-fuentes-marca .d-story__copy p,
html.d-fuentes-marca .d-story .d-pill,
html.d-fuentes-marca .d-feature__copy h3 + p,
html.d-fuentes-marca .d-site-header .wp-block-navigation,
html.d-fuentes-marca .d-site-footer__inner {
  font-family: "Garet Delissyum", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

html.d-fuentes-marca .d-story h2 { margin-top: 2px !important; font-size: 6.654cqw !important; line-height: 1.0672 !important; font-weight: 700 !important; }
html.d-fuentes-marca .d-story__copy,
html.d-fuentes-marca .d-story__copy p { font-size: 1.952cqw !important; line-height: 1.05 !important; font-weight: 400 !important; }
html.d-fuentes-marca .d-story__copy p { margin: 0 0 2.09cqw !important; }
html.d-fuentes-marca .d-story .d-pill { font-size: 3.116cqw !important; font-weight: 800 !important; }
html.d-fuentes-marca .d-feature__copy h3 + p { font-size: 1.417cqw !important; line-height: 1.033 !important; }
html.d-fuentes-marca .d-feature--dubai .d-feature__copy h3 + p { max-width: 292px !important; }
html.d-fuentes-marca .d-feature--oreo .d-feature__copy h3 { font-size: 36.3px !important; }
html.d-fuentes-marca .d-feature__copy--oreo { width: 33.35% !important; right: 9.47% !important; }

html.d-fuentes-marca .d-instagram-card span {
  font-family: "Agista Delissyum", Impact, sans-serif !important;
  font-size: 2.597cqw !important;
  letter-spacing: .02em !important;
  line-height: 1.023 !important;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  transform: translate(2px, -3px);
}

html.d-fuentes-marca .d-instagram-card b { font-weight: 400 !important; }

html.d-fuentes-marca .d-replica-location h2 { font-family: "Agista Delissyum", Impact, sans-serif !important; font-size: 80.7px !important; line-height: 1 !important; letter-spacing: 0 !important; margin-top: -12px !important; }
/* 24 y no los 23,67 del Canva: por debajo de 24 px el rojo de marca (3,94:1) deja de ser
   "texto grande" y suspende AA; 0,33 px no se aprecian y el interlineado se conserva. */
html.d-fuentes-marca .d-replica-location address,
html.d-fuentes-marca .d-replica-location__card p:not(.d-replica-location__find) { font-size: 24px !important; line-height: 24.85px !important; }

/* Garet tiene mas altura de linea que DM Sans: sin fijarla, la barra del menu pasaba de
   48 a 58 px. 22 px es la linea que mide el Canva en sus enlaces. */
html.d-fuentes-marca .d-site-header .wp-block-navigation,
html.d-fuentes-marca .d-site-header .wp-block-navigation-item__content { line-height: 22px !important; }

@media (min-width: 701px) {
  html.d-fuentes-marca .d-site-header .wp-block-navigation-item__content {
    display: inline-flex;
    height: 48px;
    min-height: 0;
    align-items: center;
    padding: 0 !important;
  }
}
html.d-fuentes-marca .d-replica-location address { top: 4px !important; }
/* Pildora: 284x67 sin girar en el Canva, texto de 246 => relleno 16/19.
   Boton de franquicia: 279x49 en el Canva con 253 px de texto => Agista a 23 px. */
html.d-fuentes-marca .d-replica-location .d-replica-location__find { font-family: "Agista Delissyum", Impact, sans-serif !important; font-size: 33px !important; line-height: 1.06 !important; padding: 16px 19px !important; margin: 0 !important; top: 307px !important; left: 110px !important; }
html.d-fuentes-marca .d-replica-location__franchise { font-family: "Agista Delissyum", Impact, sans-serif !important; font-size: 23px !important; line-height: 28px !important; letter-spacing: 0 !important; padding: 10.5px 13px !important; }
html.d-fuentes-marca .d-site-footer__inner { font-size: 13.67px !important; }

/* Rotulo "MENU COMPLETO": en el Canva va en Agista (no en Anton) con tracking; su tinta
   ocupa 337x52 dentro del boton de 369x87. Barrido el 2026-10-09: 58 px y .016em dan 337x52
   (con Anton a 44 px eran 276x48). En movil se escala con el boton (316/369). */
html.d-fuentes-marca .d-menu__cta {
  font-family: "Agista Delissyum", Impact, sans-serif !important;
  font-size: 58px !important;
  font-weight: 400 !important;
  letter-spacing: .016em !important;
}

@media (max-width: 700px) {
  html.d-fuentes-marca .d-menu__cta { font-size: min(12.7vw, 58px) !important; }
}

/* ==========================================================================
   Paginas interiores calcadas del Canva (franquicia, menu, empleo) · 2026-10-13
   Generadas por gen_interiores.py: cada pieza va en absoluto con medidas en cqw sobre un
   lienzo de 1280 px, igual que el Canva, que escala el mismo lienzo con el ancho.
   ========================================================================== */
.delissyum-site .d-calco {
  position: relative;
  width: 100%;
  container-type: inline-size;
  overflow: hidden;
  background: #fff;
  font-kerning: none;
  font-feature-settings: "calt" 0, "clig" 0, "liga" 0;
}

.d-calco__lienzo,
.d-calco__sec {
  position: relative;
  width: 100%;
}

/* Alto del pie de WordPress: las secciones crecen hasta que el pie toca el borde inferior
   de la pantalla, como en el Canva cuando el contenido es mas bajo que el movil. */
.delissyum-site .d-calco {
  --d-pie: 46px;
}

/* El contenido conserva su alto natural y recorta lo que sobresale (nubes de empleo), como
   el Canva, que no pinta las piezas en el espacio con que estira la seccion. */
/* Tope de escala del Canva en escritorio: el lienzo crece con el ancho hasta 1364,9 px
   (1,0663 x 1280, medido de 1366 a 2560 px) y se centra; el fondo de la seccion va a sangre. */
.d-calco__cont {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1364.9px);
  translate: -50% 0;
  overflow: hidden;
  container-type: inline-size;
}

.d-calco__cont--centro {
  top: 50%;
  translate: -50% -50%;
}

.d-calco__lienzo--escritorio {
  width: min(100%, 1364.9px);
  margin-inline: auto;
  container-type: inline-size;
}

/* El lienzo movil del Canva no escala con el ancho: medido a 360, 390 y 430 px mide
   381, 390 y 400 px de diseno, centrado (390 + 0,277 x (ancho - 390)). */
.d-calco__lienzo--movil {
  width: min(100%, calc(27.7% + 281.97px));
  margin-inline: auto;
  container-type: inline-size;
}

/* El menu tiene en el Canva un lienzo movil propio (una columna) por debajo de ~850 px. */
.d-calco__lienzo--movil {
  display: none;
}

@media (max-width: 849px) {
  .d-calco__lienzo--escritorio {
    display: none;
  }

  .d-calco__lienzo--movil {
    display: block;
  }
}

/* En movil el Canva deja el contenido en 100vh - 73 px (barra de 48 + 25 px del pie a la
   vista); se reproduce para que las secciones midan lo mismo. */
@media (max-width: 700px) {
  .delissyum-site .d-calco {
    --d-pie: 25px;
  }
}

.d-calco .d-p {
  position: absolute;
  box-sizing: border-box;
  max-width: none;
  margin: 0;
  padding: 0;
}

.d-calco img.d-p {
  display: block;
  object-fit: fill;
}

.d-calco__marco {
  overflow: hidden;
}

.d-calco__marco img {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: fill;
}

.d-calco__h1 {
  display: contents;
  margin: 0;
}

.d-calco .d-calco__t {
  overflow-wrap: normal;
  hyphens: none;
}

.d-calco .d-calco__t a {
  color: inherit;
  text-decoration: none;
}

.d-calco .d-calco__t a:hover,
.d-calco .d-calco__t a:focus-visible {
  text-decoration: underline;
}

.d-calco .d-calco__pastilla {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.d-calco .d-calco__pastilla span {
  line-height: 1;
  rotate: -0.15deg;
}

.d-calco .d-calco__pastilla:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Formulario de franquicia: caja del Canva (borde rojo 3 px, radio 16) con CF7 dentro.
   Medidas del widget de Canva en px de su marco de 571 x 675 -> 1 px = 1cqw / 12.8. */
.d-calco__form {
  --u: calc(1cqw / 12.8);
  height: auto !important;
  min-height: calc(674.7 * var(--u));
  padding: calc(27 * var(--u)) calc(30 * var(--u)) calc(4 * var(--u)) !important;
  border: calc(3 * var(--u)) solid rgb(245, 39, 40);
  border-radius: calc(16 * var(--u));
  background: #fff;
  color: rgb(245, 39, 40);
  font-family: "Garet Delissyum", Arial, sans-serif;
}

.d-calco__form .d-calco__form-titulo {
  width: calc(500 * var(--u));
  margin: 0 0 calc(28 * var(--u)) !important;
  font-size: calc(28.3 * var(--u)) !important;
  line-height: calc(40.3 * var(--u)) !important;
}

.d-calco__form .wpcf7 form > p,
.d-calco__form .wpcf7 form > div,
.d-calco__form .d-form-grid > p,
.d-calco__form .d-form-consent > p {
  margin: 0;
}

.d-calco__form .d-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(29.5 * var(--u));
}

.d-calco__form .d-form-grid label {
  display: grid;
  gap: calc(9 * var(--u));
  font-size: calc(14.6 * var(--u));
  line-height: calc(19 * var(--u));
  font-weight: 400;
}

.d-calco__form .d-form-grid br,
.d-calco__form .d-form-consent br {
  display: none;
}

.d-calco__form input:not([type="checkbox"]):not([type="submit"]) {
  width: 100%;
  height: calc(43 * var(--u));
  margin: 0;
  padding: 0 calc(8.2 * var(--u));
  border: 1px solid rgba(245, 39, 40, .6);
  border-radius: calc(8 * var(--u));
  background: #fff;
  color: rgb(245, 39, 40);
  font: 400 calc(12.83 * var(--u)) / 1.2 "Garet Delissyum", Arial, sans-serif;
}

.d-calco__form .wpcf7 form > p.d-form-submit {
  margin: calc(29 * var(--u)) 0 0;
}

.d-calco__form .wpcf7 form > p.d-form-submit,
.d-calco__form .d-form-consent > p {
  font-size: 0;
  line-height: 0;
}

.d-calco__form .d-form-consent label {
  min-height: 0;
  font-size: calc(10 * var(--u));
  line-height: 1.3;
}

.d-calco__form input[type="submit"] {
  display: block;
  width: 100%;
  height: calc(42 * var(--u));
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: calc(24 * var(--u));
  background: rgba(245, 39, 40, .4);
  color: #000;
  font: 400 calc(17 * var(--u)) / 1 "Garet Delissyum", Arial, sans-serif;
  cursor: pointer;
}

.d-calco__form input[type="submit"]:hover,
.d-calco__form input[type="submit"]:focus-visible {
  background: rgb(245, 39, 40);
  color: #fff;
}

.d-calco__form .d-form-consent {
  margin-top: calc(8 * var(--u)) !important;
  font-size: calc(10 * var(--u));
  line-height: 1.3;
}

.d-calco__form .d-form-consent label {
  display: flex;
  gap: calc(8 * var(--u));
  align-items: flex-start;
  font-weight: 400;
}

.d-calco__form .d-form-consent input[type="checkbox"] {
  flex: none;
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  margin: 1px 0 0;
  accent-color: rgb(245, 39, 40);
}

.d-calco__form .d-form-consent a {
  color: inherit;
}

.d-calco__form .wpcf7-spinner {
  position: absolute;
  margin: 0;
}

.d-calco__form .wpcf7-form-control-wrap {
  position: relative;
}

/* El aviso de envio y los errores no empujan la caja: el lienzo recorta lo que se salga. */
.d-calco__form .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 0;
}

.d-calco__form .wpcf7-response-output {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: calc(6 * var(--u)) 0 0 !important;
  background: #fff;
  padding: calc(6 * var(--u)) calc(10 * var(--u)) !important;
  font-size: calc(12 * var(--u));
}

.d-calco__form .wpcf7-not-valid-tip {
  font-size: calc(11 * var(--u));
}

/* El cliente ha pedido que no aparezca ningún crédito de agencia. Se oculta también el
   crédito global que puede inyectar el mu-plugin compartido del portfolio. */
.delissyum-site #yag-official-footer-credit {
  display: none !important;
}

/* Formulario de franquicia a tamano tactil en movil (30-oct, propuesto a Marc y ordenado por
   Yeray). En el Canva el formulario escala con el lienzo y a 390 px los campos miden 13 px:
   aqui, solo por debajo de 700 px, sale del lienzo y se coloca debajo a ancho completo con
   medidas reales en px. El escritorio sigue siendo el calco exacto. */
@media (max-width: 700px) {
  .d-calco--franquicia .d-calco__sec:nth-child(2) {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 28px;
  }

  .d-calco--franquicia .d-calco__sec:nth-child(2) > .d-calco__cont {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    translate: none;
    aspect-ratio: auto !important;
    padding-top: 42%;
    overflow: visible;
  }

  .d-calco--franquicia .d-calco__form {
    --u: 1px;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: calc(100% - 32px) !important;
    min-height: 0 !important;
    margin: 0 auto;
    scroll-margin-top: 64px;
  }

  .d-calco--franquicia .d-calco__form .d-calco__form-titulo {
    width: auto;
    font-size: 22px !important;
    line-height: 30px !important;
    margin-bottom: 20px !important;
  }

  .d-calco--franquicia .d-calco__form .d-form-grid {
    gap: 18px;
  }

  .d-calco--franquicia .d-calco__form .d-form-grid label {
    font-size: 15px;
    line-height: 20px;
    gap: 6px;
  }

  .d-calco--franquicia .d-calco__form input:not([type="checkbox"]):not([type="submit"]) {
    height: 48px;
    font-size: 16px;
  }

  .d-calco--franquicia .d-calco__form input[type="submit"] {
    height: 50px;
    font-size: 17px;
  }

  .d-calco--franquicia .d-calco__form .d-form-consent label {
    font-size: 13px;
    gap: 10px;
  }

  .d-calco--franquicia .d-calco__form .d-form-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }

  .d-calco--franquicia .d-calco__form .wpcf7-response-output {
    position: static;
    font-size: 14px;
  }

  .d-calco--franquicia .d-calco__form .wpcf7-not-valid-tip {
    position: static;
    font-size: 13px;
  }
}

/* CIERRE FINAL: mantener al final del archivo para prevalecer sobre el calco. */
.d-base-showcase__finish { background: #dc1621 !important; }
html:not(.d-canvas) .d-pill--wafers,
html:not(.d-canvas) .d-pill--ice,
html:not(.d-canvas) .d-pill--toppings { color: #bd1919 !important; }
.d-calco--franquicia .d-calco__sec:first-child { background: #dc1621 !important; }
.d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__t,
.d-calco--franquicia .d-calco__form { color: #8f0e18 !important; }
.d-calco--empleo .d-calco__cont > div[aria-hidden="true"]:first-of-type { background: #dc1621 !important; }
.d-calco--empleo .d-calco__cont > span.d-calco__t { color: #9f1019 !important; }
.d-site-footer__inner { flex-wrap: wrap; }

/* Contraste AA de la franquicia: la caja del formulario reutiliza la clase del
   antiguo calco y heredaba su rojo claro sobre crema. La página editorial usa
   tinta marrón oscura y rótulos blancos en todos los tamaños. */
.d-franchise-page .d-franchise-kicker {
  background: #40120d;
  color: #fff;
}
.d-franchise-page .d-franchise-kicker--red {
  background: #b80f19;
  color: #fff;
}
.d-franchise-form__panel.d-calco__form,
.d-franchise-form__panel.d-calco__form label,
.d-franchise-form__panel.d-calco__form .wpcf7-list-item-label,
.d-franchise-form__panel.d-calco__form .d-form-consent a {
  color: #40120d !important;
}
.d-franchise-form__panel.d-calco__form .d-form-consent a {
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.d-franchise-page .d-franchise-form__panel.d-calco__form {
  --u: 1px;
  min-height: 0;
  padding: 34px !important;
  border: 0;
  border-radius: 6px;
  background: var(--d-cream);
  font-family: var(--d-body);
}
.d-franchise-page .d-franchise-form__panel .d-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.d-franchise-page .d-franchise-form__panel .d-form-grid label {
  gap: 8px;
  color: #40120d !important;
  font: 800 14px/1.35 var(--d-body);
}
.d-franchise-page .d-franchise-form__panel input:not([type="checkbox"]):not([type="submit"]) {
  height: 50px;
  padding: 0 14px;
  border: 2px solid #40120d;
  border-radius: 3px;
  background: #fff;
  color: #40120d;
  font: 600 16px/1.2 var(--d-body);
}
.d-franchise-page .d-franchise-form__panel input[type="submit"] {
  height: 52px;
  border: 2px solid #40120d;
  border-radius: 3px;
  background: #40120d;
  color: #fff;
  font: 800 16px/1 var(--d-body);
}
.d-franchise-page .d-franchise-form__panel input[type="submit"]:disabled {
  border-color: #8f746f;
  background: #8f746f;
  color: #fff;
  opacity: 1;
}
.d-franchise-page .d-franchise-form__panel .d-form-consent {
  margin-top: 14px !important;
  font: 500 13px/1.45 var(--d-body);
}
.d-franchise-page .d-franchise-form__panel .d-form-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
}
.d-franchise-page .d-franchise-form__panel .d-form-consent input[type="checkbox"] {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
}
@media (max-width: 700px) {
  .d-franchise-page .d-franchise-form__panel.d-calco__form {
    padding: 22px !important;
  }
  .d-franchise-page .d-franchise-form__panel .d-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  html.d-canvas .d-replica-location {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  html.d-canvas .d-replica-location .d-replica-canvas {
    width: 100% !important;
    transform: none !important;
  }
  html.d-canvas .d-replica-location__inner {
    width: calc(100% - 32px) !important;
    min-height: 0 !important;
    padding: 36px 0 58px !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  html.d-canvas .d-replica-location__card {
    padding: 32px 24px 26px !important;
    border-radius: 26px !important;
  }
  html.d-canvas .d-replica-location h2,
  html.d-fuentes-marca.d-canvas .d-replica-location h2 {
    margin: 0 0 12px !important;
    font-size: 48px !important;
  }
  html.d-canvas .d-replica-location address,
  html.d-canvas .d-replica-location p,
  html.d-fuentes-marca.d-canvas .d-replica-location address,
  html.d-fuentes-marca.d-canvas .d-replica-location__card p:not(.d-replica-location__find) {
    position: static !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
  html.d-canvas .d-replica-location__card address + p,
  html.d-canvas .d-replica-location__card address + p + p { margin-top: 8px !important; }
  html.d-canvas .d-replica-location .d-replica-location__find,
  html.d-fuentes-marca.d-canvas .d-replica-location .d-replica-location__find {
    position: static !important;
    margin: 16px 0 0 !important;
    padding: 11px 14px !important;
    font-size: 18px !important;
  }
  html.d-canvas .d-replica-location__arrow {
    position: static !important;
    width: 112px !important;
    margin: 12px 22px 0 auto !important;
  }
  html.d-canvas .d-replica-location__franchise,
  html.d-fuentes-marca.d-canvas .d-replica-location__franchise {
    min-height: 44px !important;
    margin-top: 14px !important;
    padding: 10px 16px !important;
    font-size: 16px !important;
  }
  html.d-canvas .d-replica-location__map,
  html.d-canvas .d-replica-location__map iframe {
    min-height: 320px !important;
    height: 320px !important;
    border-width: 6px !important;
    border-radius: 26px !important;
  }
  .delissyum-site.home .d-site-footer { margin-top: 0 !important; }

  .d-calco--franquicia .d-calco__sec:first-child {
    height: auto !important;
    min-height: 0 !important;
  }
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 34px 20px 42px !important;
    translate: none !important;
    transform: none !important;
    aspect-ratio: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(1),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(2),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(3),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(5),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(6),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(7) { display: none !important; }
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > :nth-child(4) {
    position: static !important;
    width: auto !important;
    height: auto !important;
    grid-column: 1 / -1;
    font-size: 38px !important;
    line-height: 1 !important;
    text-align: center !important;
  }
  .d-calco--franquicia .d-calco__sec:first-child h1 {
    display: block !important;
    grid-column: 1 / -1;
  }
  .d-calco--franquicia .d-calco__sec:first-child h1 .d-calco__t {
    position: static !important;
    width: auto !important;
    height: auto !important;
    font-size: 29px !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(2),
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(3) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 230px !important;
    border-radius: 18px !important;
  }
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(2) img,
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__marco:nth-of-type(3) img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    rotate: 0deg !important;
    transform: none !important;
    object-fit: cover !important;
  }
  .d-calco--franquicia .d-calco__sec:first-child .d-calco__cont > p:nth-last-child(-n+5) {
    position: static !important;
    width: auto !important;
    height: auto !important;
    grid-column: 1 / -1;
    font-size: 16px !important;
    line-height: 1.42 !important;
    text-align: left !important;
  }
  .d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__pastilla {
    width: 170px !important;
    height: 44px !important;
  }
  .d-calco--franquicia .d-calco__sec:nth-child(2) .d-calco__pastilla span,
  .d-calco--empleo .d-calco__pastilla span { font-size: 18px !important; }
  .d-calco--empleo .d-calco__pastilla {
    min-width: 160px !important;
    min-height: 44px !important;
  }
  .d-calco--empleo a[href^="mailto:"] {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .d-site-footer__inner { gap: 4px 14px !important; }
}

.d-empleo-mobile { display: none; }

@media (max-width: 700px) {
  /* Cajón lateral de marca: mantiene la cabecera limpia y evita la pantalla blanca
     genérica de WordPress. */
  .d-site-header .wp-block-navigation__responsive-container.is-menu-open {
    padding: 0 !important;
    align-items: stretch !important;
    background: rgb(48 66 84 / 38%) !important;
    color: #68788a !important;
    animation: d-menu-backdrop 180ms ease-out both;
  }
  .d-site-header .wp-block-navigation__responsive-dialog {
    width: min(216px, calc(100vw - 56px));
    min-height: 100dvh;
    margin: 0 0 0 auto !important;
    padding: 18px 20px 28px;
    background: #fff;
    box-shadow: -14px 0 42px rgb(66 18 12 / 18%);
    animation: d-menu-drawer 260ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .d-site-header .wp-block-navigation__responsive-container-close {
    top: 2px;
    right: 8px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #304254;
  }
  .d-site-header .wp-block-navigation__responsive-container-content {
    padding-top: 54px !important;
  }
  .d-site-header .wp-block-navigation__responsive-container-content,
  .d-site-header .wp-block-navigation__container {
    width: 100%;
    align-items: stretch !important;
    gap: 2px !important;
  }
  .d-site-header .wp-block-navigation-item__content {
    width: 100%;
    min-height: 44px;
    padding: 11px 8px !important;
    font-size: 16px !important;
    line-height: 22px !important;
    color: #68788a !important;
    border-radius: 10px;
  }
  .d-site-header .current-menu-item > .wp-block-navigation-item__content,
  .d-site-header .wp-block-navigation-item__content:hover,
  .d-site-header .wp-block-navigation-item__content:focus-visible {
    color: #42120c !important;
    background: #fee2e6;
    font-weight: 700;
  }

  /* Empleo móvil se recompone; el lienzo de escritorio permanece intacto. */
  .d-calco--empleo > .d-calco__sec { display: none; }
  .d-empleo-mobile {
    display: block;
    padding: 34px 18px 54px;
    overflow: hidden;
    background: #fff url("assets/delissyum-nubes-rosas.svg") center top / 800px auto repeat-y;
    color: #42120c;
  }
  .d-empleo-mobile__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 18px;
    color: #bd1919;
    font-family: "Agista Delissyum", Impact, sans-serif;
    font-size: 36px;
    line-height: 1;
  }
  .d-empleo-mobile__brand img { width: 56px; height: 56px; object-fit: contain; }
  .d-empleo-mobile__title {
    margin: 0 auto 28px;
    max-width: 520px;
    color: #42120c;
    font-family: "Agista Delissyum", Impact, sans-serif;
    font-size: clamp(38px, 12vw, 58px);
    line-height: .95;
    text-align: center;
  }
  .d-empleo-mobile__title span {
    display: block;
    margin-bottom: 8px;
    color: #bd1919;
    font-family: "Garet Delissyum", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
  }
  .d-empleo-mobile__values {
    max-width: 520px;
    margin: 0 auto;
    padding: 28px 22px;
    border-radius: 26px;
    background: #dc1621;
    color: #fff;
    box-shadow: 0 16px 36px rgb(66 18 12 / 14%);
  }
  .d-empleo-mobile__eyebrow {
    margin: 0 0 22px;
    font-family: "Agista Delissyum", Impact, sans-serif;
    font-size: 34px;
    line-height: 1;
  }
  .d-empleo-mobile__eyebrow span {
    display: inline-block;
    padding: 7px 10px 5px;
    rotate: -2deg;
    background: #42120c;
    color: #fff;
  }
  .d-empleo-mobile__values ul {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
  }
  .d-empleo-mobile__values li {
    position: relative;
    padding-left: 32px;
    font-family: "Agista Delissyum", Impact, sans-serif;
    font-size: 29px;
    line-height: 1;
  }
  .d-empleo-mobile__values li::before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 21px;
    height: 21px;
    border: 4px solid #fff;
    border-radius: 50%;
    content: "";
  }
  .d-empleo-mobile__copy { display: grid; gap: 14px; }
  .d-empleo-mobile__copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }
  .d-empleo-mobile__contact {
    max-width: 520px;
    margin: 28px auto 0;
    text-align: center;
  }
  .d-empleo-mobile__contact h2 {
    margin: 0 0 20px;
    color: #bd1919;
    font-size: 27px;
    line-height: 1.12;
  }
  .d-empleo-mobile__cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 10px 24px;
    rotate: -2deg;
    border-radius: 14px;
    background: #42120c;
    color: #fee2e6;
    font-family: "Agista Delissyum", Impact, sans-serif;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgb(66 18 12 / 18%);
  }
  .d-empleo-mobile__contact p {
    margin: 0 auto 10px;
    font-size: 16px;
    line-height: 1.45;
  }
  .d-empleo-mobile__mail {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #bd1919;
    font-size: 20px;
    font-weight: 700;
    text-underline-offset: 4px;
  }
  html.d-canvas .d-replica-location .d-replica-location__find,
  html.d-fuentes-marca.d-canvas .d-replica-location .d-replica-location__find {
    background: #42120c !important;
    color: #fff !important;
  }
}

@keyframes d-menu-drawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes d-menu-backdrop {
  from { background-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .d-site-header .wp-block-navigation__responsive-container.is-menu-open,
  .d-site-header .wp-block-navigation__responsive-dialog { animation: none !important; }
}

@media (max-width: 700px) {
  .d-wordmark--img,
  .d-instagram-card { min-height: 48px !important; }
  /* Estos controles viven dentro del lienzo escalado de la hero: la medida CSS se reduce
     al proyectarse en 412 px, por eso se compensa hasta conservar 48 px renderizados. */
  .d-wordmark--img {
    height: 145px !important;
    min-height: 145px !important;
  }
  .d-instagram-card { min-height: 126px !important; }
  .d-wordmark--img {
    display: inline-flex !important;
    align-items: center;
  }
}

@media (max-width: 340px) {
  .d-wordmark--img {
    height: 172px !important;
    min-height: 172px !important;
  }
  .d-instagram-card { min-height: 158px !important; }
}
.d-responsive-picture {
  display: contents;
}

/* 10-nov · «Elige tu vaso» (Marc, 9-nov: los vasos en grande como protagonistas).
   Los vasos empezaban 120 px por encima de la tarjeta y .d-base-showcase los recortaba: solo se
   veia la mitad inferior. Ahora entran enteros. La franja «Despues, hazla tuya» quedaba debajo
   del icono de Instagram del Canva (solape de 60 px): se estrecha hasta empezar despues del icono.
   Va en px del lienzo del heroe, que escala con el ancho, asi que vale igual en movil. */
.d-base-showcase__choices {
  top: 22px;
}

.d-base-showcase__finish {
  width: 610px;
}

.d-base-showcase__finish span {
  line-height: 1;
}

/* 11-nov · Marc: «los vasos enteros, el de fresas y el de fresas con plátano, y luego más abajo
   "o haz tu combinación favorita" con algunos vasos de la carta». Sustituye a los dos recortes
   anteriores, que cortaban los vasos arriba y abajo. Posiciones en % de la tarjeta (sus hijos del
   Canva, como la tarjeta de Instagram, también van en %) y tamaños en cqw del lienzo, para que todo
   escale junto en escritorio ancho y en el lienzo reducido de móvil. Medido a 1280: tarjeta
   1118 x 645; Instagram ocupa x 40-465, y 393-522, y su icono llega a x 445. */
.d-base-showcase__choices,
.d-base-showcase__finish { display: none !important; }

.d-base-showcase__vasos {
  position: absolute;
  z-index: 6;
  top: 2.8%;
  left: 44.7%;
  box-sizing: border-box;
  height: 64.5%;
  margin: 0;
  padding: .8cqw;
  transform: rotate(-2deg);
  border-radius: 3.2cqw;
  background: #fff;
  box-shadow: 0 1.4cqw 3.2cqw rgb(66 18 12 / 15%);
}

.delissyum-replica .d-base-showcase__vasos img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  aspect-ratio: 524 / 569;
  border-radius: 2.5cqw;
}

.delissyum-replica .d-base-showcase__extra {
  position: absolute;
  z-index: 7;
  top: 22%;
  left: 81.2%;
  display: block;
  width: 16.2%;
  padding: 1.4cqw 1.4cqw 1.2cqw;
  transform: rotate(4deg);
  border-radius: 1.9cqw;
  background: var(--d-brown);
  color: #fff !important;
  font-family: var(--d-display) !important;
  font-size: 2.3cqw !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: .98 !important;
  text-transform: uppercase;
}

.d-base-showcase__combo {
  position: absolute;
  z-index: 7;
  top: 69.5%;
  right: 2.3%;
  left: 44.7%;
  display: flex;
  align-items: flex-end;
  gap: 1.4cqw;
}

.delissyum-replica .d-base-showcase__combo h3 {
  flex: 0 0 12cqw;
  margin: 0 0 2.7cqw;
  color: var(--d-red-ink);
  font-family: var(--d-display) !important;
  font-size: 2.4cqw !important;
  font-weight: 400 !important;
  line-height: .92 !important;
  text-transform: uppercase;
}

.delissyum-replica .d-base-showcase__combo ul {
  display: flex;
  flex: 1;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delissyum-replica .d-base-showcase__combo li {
  display: flex;
  width: 7.4cqw;
  margin: 0;
  flex-direction: column;
  align-items: center;
  gap: .5cqw;
}

.delissyum-replica .d-base-showcase__combo img {
  width: auto;
  max-width: 100%;
  height: 10.9cqw;
  object-fit: contain;
  filter: drop-shadow(0 .8cqw .6cqw rgb(66 18 12 / 16%));
}

.delissyum-replica .d-base-showcase__combo span {
  color: var(--d-brown);
  font-family: var(--d-display) !important;
  font-size: 1.36cqw !important;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 19-nov · Fotos originales del Canva de Marc (compartido el 14-nov): los dos vasos sueltos, sin
   fondo y en grande, cada uno con su rótulo. Sustituye a la foto recortada de la carta. */
.d-base-showcase__vasos {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.2cqw;
  padding: 0 !important;
  transform: none !important;
  background: none !important;
  box-shadow: none !important;
}

.d-base-vaso {
  position: relative;
  display: flex;
  height: 100%;
  margin: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.delissyum-replica .d-base-vaso img {
  display: block;
  width: auto;
  max-width: none;
  height: 86%;
  aspect-ratio: auto;
  border-radius: 0;
  filter: drop-shadow(0 1.2cqw 1cqw rgb(66 18 12 / 18%));
}

.d-base-vaso--platano img { height: 74% !important; }

.delissyum-replica .d-base-vaso figcaption {
  margin-top: -1.6cqw;
  padding: .7cqw 1.1cqw .55cqw;
  transform: rotate(-3deg);
  background: var(--d-brown);
  color: #fff;
  font-family: var(--d-display) !important;
  font-size: 1.9cqw !important;
  line-height: 1 !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.d-base-vaso--platano figcaption { transform: rotate(3deg); background: var(--d-red-ink); }