/*
 * Maquetación A4 limpia y común para CAT/ES y EN/ES.
 * Este archivo se carga el último y elimina posiciones heredadas del antiguo A5.
 */
.readable-a5-preview,
.a4-sheet{
  aspect-ratio:210/297!important;
  width:100%!important;
  height:auto!important;
}
.a4-sheet{
  display:block!important;
  padding:0!important;
}
.a4-sheet .cut,
.a4-sheet .a5-slot:last-child{
  display:none!important;
}
.a4-sheet .a5-slot:first-child,
.readable-a5-preview{
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
}
.a5-slot .mini-menu,
.readable-a5-preview>.mini-menu,
.mini-menu.psd-template{
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  width:100%!important;
  height:100%!important;
  transform:none!important;
}
.mini-menu.psd-template{
  container-type:size;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:0!important;
  padding:3.3% 8% 1.8%!important;
  border:0!important;
  background:#fff!important;
  color:#111!important;
  overflow:hidden!important;
  text-align:center!important;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif!important;
}
.psd-template .print-hero{
  order:1;
  position:static!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  text-align:center!important;
}
.psd-template .print-hero:before{
  content:"";
  display:block!important;
  width:100%!important;
  height:10.5cqw!important;
  margin:0 auto 1.2cqw!important;
  background:url('./logo-can-escayola.png') center/contain no-repeat!important;
}
.psd-template .print-hero h2,
.psd-template.dense .print-hero h2,
.psd-template.extra-dense .print-hero h2{
  margin:0!important;
  font:900 5.25cqw/1 Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.psd-template .print-hero p,
.psd-template .languages,
.psd-template .vertical-brand,
.psd-template .menu-included,
.psd-template .bon-profit,
.psd-template .takeaway{
  display:none!important;
}
.psd-template .menu-date,
.psd-template.dense .menu-date,
.psd-template.extra-dense .menu-date{
  order:2;
  position:static!important;
  display:block!important;
  width:100%!important;
  margin:1.35cqw 0 3cqw!important;
  transform:none!important;
  color:#111!important;
  text-align:center!important;
  font-size:3.29cqw!important;
  font-weight:700!important;
  line-height:.96!important;
  letter-spacing:.025em!important;
}
.psd-template .print-content{
  order:3;
  position:static!important;
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  transform:none!important;
  overflow:visible!important;
  text-align:center!important;
}
.psd-template .print-content>.menu-list:first-child,
.psd-template .print-content>.menu-list:last-child,
.psd-template .menu-list{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  text-align:center!important;
}
.psd-template .menu-list h3,
.psd-template.dense .menu-list h3,
.psd-template.extra-dense .menu-list h3{
  width:100%!important;
  margin:0 0 1.05cqw!important;
  padding:0!important;
  color:#111!important;
  text-align:center!important;
  font-size:3.2cqw!important;
  font-style:italic!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.04em!important;
}
.psd-template .menu-dish,
.psd-template.dense .menu-dish,
.psd-template.extra-dense .menu-dish{
  position:relative!important;
  display:grid!important;
  grid-template-columns:auto auto!important;
  justify-content:center!important;
  align-items:start!important;
  column-gap:.48cqw!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  overflow:visible!important;
  text-align:center!important;
  line-height:1!important;
}
.psd-template .menu-dish+.menu-dish,
.psd-template.dense .menu-dish+.menu-dish,
.psd-template.extra-dense .menu-dish+.menu-dish{
  margin-top:.5cqw!important;
}
.psd-template .menu-dish>div:last-child{
  grid-column:2;
  max-width:100%!important;
  text-align:center!important;
}
.psd-template .menu-dish p,
.psd-template.dense .menu-dish p,
.psd-template.extra-dense .menu-dish p{
  margin:0!important;
  overflow:visible!important;
  text-align:center!important;
  font-size:3.29cqw!important;
  font-style:italic!important;
  font-weight:900!important;
  line-height:.96!important;
  letter-spacing:.025em!important;
}
.psd-template .menu-dish span,
.psd-template.dense .menu-dish span,
.psd-template.extra-dense .menu-dish span{
  display:block!important;
  margin:.12cqw 0 0!important;
  overflow:visible!important;
  color:#666!important;
  text-align:center!important;
  font-size:2.97cqw!important;
  font-style:italic!important;
  line-height:.96!important;
  letter-spacing:.022em!important;
}
.psd-template .allergen,
.psd-template.dense .allergen,
.psd-template.extra-dense .allergen{
  position:static!important;
  display:flex!important;
  grid-column:1;
  align-items:flex-start!important;
  justify-content:center!important;
  width:3cqw!important;
  height:3cqw!important;
  margin:0!important;
}
.psd-template .allergen img,
.psd-template.dense .allergen img,
.psd-template.extra-dense .allergen img{
  width:3cqw!important;
  height:3cqw!important;
}
.psd-template .menu-dish:not(:has(.allergen img)){
  grid-template-columns:auto!important;
}
.psd-template .menu-dish:not(:has(.allergen img)) .allergen{
  display:none!important;
}
.psd-template .menu-dish:not(:has(.allergen img))>div:last-child{
  grid-column:1;
}
.psd-template .section-divider,
.psd-template.dense .section-divider,
.psd-template.extra-dense .section-divider{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1.1cqw!important;
  width:100%!important;
  height:auto!important;
  margin:2.4cqw 0!important;
  padding:0!important;
  font-size:.8cqw!important;
}
.psd-template .section-divider i{
  width:12cqw!important;
  border-top:.16cqw solid #111!important;
}
.ce-print-conditions{
  order:4;
  position:static!important;
  display:block!important;
  width:100%!important;
  margin:1.7cqw 0 0!important;
  transform:none!important;
  white-space:pre-line!important;
  text-align:center!important;
  line-height:1!important;
}
.ce-print-conditions strong{
  display:block!important;
  text-align:center!important;
  font-size:3.29cqw!important;
  font-style:italic!important;
  line-height:.96!important;
  letter-spacing:.025em!important;
}
.ce-print-conditions em{
  display:block!important;
  margin:.45cqw 0 0!important;
  color:#666!important;
  text-align:center!important;
  font-size:2.97cqw!important;
  line-height:.96!important;
  letter-spacing:.022em!important;
}

/* Imprenta: las condiciones son información secundaria (−3 pt). */
.ce-print-conditions strong{
  font-size:2.79cqw!important;
}
.ce-print-conditions em{
  font-size:2.47cqw!important;
}
.psd-template .menu-bottom,
.psd-template.extra-dense .menu-bottom{
  order:5;
  position:static!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:1.5cqw 0 0!important;
  padding:0!important;
  transform:none!important;
  border:0!important;
  text-align:center!important;
}
.psd-template .price{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  width:100%!important;
  margin:0!important;
  text-align:center!important;
}
.psd-template .price:before{
  margin-right:.7cqw!important;
  font-size:2.8cqw!important;
}
.psd-template .price strong{font-size:5.2cqw!important}
.psd-template .price>b{font-size:2.6cqw!important}
.psd-template .price small{font-size:1.9cqw!important}
.ce-print-contact{
  order:6;
  position:static!important;
  display:block!important;
  width:100%!important;
  margin:1.4cqw 0 0!important;
  transform:none!important;
  text-align:center!important;
  white-space:pre-line!important;
  font-size:2.8cqw!important;
  font-style:italic!important;
  font-weight:700!important;
  line-height:1.05!important;
}
@media screen{
  .readable-a5-preview.screen-hidden,
  .a4-sheet.screen-hidden{
    display:none!important;
  }
}
@media print{
  html,body{
    margin:0!important;
    padding:0!important;
  }
  .print-page{
    display:block!important;
    position:relative!important;
    width:210mm!important;
    height:296.5mm!important;
    min-height:296.5mm!important;
    max-height:296.5mm!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
    break-after:auto!important;
    page-break-after:auto!important;
  }
  .print-page-ca{
    break-after:page!important;
    page-break-after:always!important;
  }
  .print-page-en{
    break-after:auto!important;
    page-break-after:auto!important;
  }
  .print-page .cut,
  .print-page .a5-slot:last-child{display:none!important}
  .print-page .a5-slot:first-child{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:210mm!important;
    height:296.5mm!important;
    overflow:hidden!important;
  }
  .print-page .mini-menu{
    position:absolute!important;
    inset:0!important;
    width:210mm!important;
    height:296.5mm!important;
    max-height:296.5mm!important;
    overflow:hidden!important;
    filter:grayscale()!important;
  }
  .readable-a5-preview{display:none!important}
  @page{size:A4 portrait;margin:0}
}
