.external-shop span{margin-left:.3em}
.mast nav .external-shop{height:auto;padding:8px 12px;border:1px solid #e6d6c6;border-radius:999px;background:#fff8ef;white-space:nowrap}
.recipe-nav{position:relative;display:flex;gap:5px;align-items:center;height:100%}
.recipe-nav summary{list-style:none;cursor:pointer;padding:8px;font-size:20px}.recipe-nav summary::-webkit-details-marker{display:none}
.recipe-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;padding:10px;background:#fff;border:1px solid #ebdfd2;border-radius:14px;box-shadow:0 12px 24px #23180d1a}
.recipe-nav details[open] .recipe-menu{display:block}.mast nav .recipe-menu a{padding:7px 12px;height:auto}.mast nav .recipe-menu a:hover{background:#fff5e8;border-radius:8px}
@media(min-width:1101px){.recipe-nav:hover .recipe-menu,.recipe-nav:focus-within .recipe-menu{display:block}}
@media(max-width:1100px){.recipe-nav{flex-wrap:wrap;height:auto}.recipe-nav details{display:contents}.recipe-menu{position:static;flex-basis:100%;box-shadow:none}.mast nav .external-shop{align-self:flex-start;margin:8px 0}}
.recipe-block{margin-top:34px}.recipe-block h2,.recipe-detail h2{font-size:clamp(22px,3vw,32px);font-weight:600;margin-bottom:16px}
.recipe-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,26px); align-items:stretch; }
@media (max-width:980px) { .recipe-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.recipe-grid .recipe-card{max-width:none}.recipe-grid .recipe-card div{padding:12px 2px}
.recipe-thumb{position:relative;aspect-ratio:1.22;background:#fff3e6;border-radius:16px;overflow:hidden}
.recipe-grid .recipe-card .recipe-thumb img{display:block;height:100%;width:100%;border-radius:0;object-fit:cover}
.recipe-tag{position:absolute;bottom:10px;left:10px;padding:3px 11px;border-radius:12px;background:#fff;color:#34281e;font-size:13px;font-weight:500}
.recipe-grid .recipe-card h2{font-size:clamp(17px,2vw,22px);margin:0 0 6px}.recipe-grid .recipe-card p{font-size:14px}
.category-links,.recipe-actions,.gallery-controls,.chef-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.category-links a,.recipe-actions button:not(.button),.recipe-actions a:not(.button),.gallery-controls button,.chef-toolbar button:not(.button),.recipe-filters button{border:1px solid #e6d6c6;color:inherit;background:#fff;border-radius:999px;padding:8px 14px;font:inherit;cursor:pointer;text-decoration:none}
.category-links a:hover{background:#fff3e6}.recipe-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;background:#faf6f0;border-radius:15px;padding:14px;gap:12px;margin:12px 0}
.recipe-filters label{min-width:0}.recipe-filters input,.recipe-filters select{display:block;width:100%;margin:3px 0 0;font:inherit}.recipe-filters button{min-height:44px}
#todas,#ingredientes{scroll-margin-top:125px}#conteo{color:var(--muted);font-size:14px;margin-bottom:12px}
.recipe-detail h1{font-size:clamp(32px,5vw,52px);font-weight:600}.recipe-detail{max-width:1100px}.byline{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:14px;color:var(--muted)}.byline img{border-radius:50%}
.recipe-gallery{margin:20px 0}.recipe-gallery img{width:100%;aspect-ratio:1.6;object-fit:cover;border-radius:18px}.recipe-gallery img[hidden]{display:none}.gallery-controls{justify-content:center;margin-top:8px}
.ingredients{background:#faf6f0;border-radius:18px;padding:18px;align-self:start}.ingredients ul{list-style:none;padding:0;margin:8px 0}.ingredients li label{display:flex;align-items:baseline;gap:10px;cursor:pointer}.ingredients input{accent-color:#a83b22}.ingredients input:checked+span{text-decoration:line-through;color:var(--muted)}
.recipe-steps li{padding:0 0 14px 6px;border-bottom:1px solid #eee2d7;margin-bottom:14px}.step-content p+p{margin-top:12px}.step-content img{width:100%;height:auto;border-radius:12px;margin-top:10px}
.recipe-video{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;margin:12px auto}.recipe-video.vertical{max-width:350px;aspect-ratio:9/16}.recipe-video.instagram{min-height:460px}.recipe-media{text-align:center}
.recipe-share{margin-top:28px;padding-top:18px;border-top:1px solid var(--line)}
.chef-dialog{width:min(720px,calc(100% - 20px));max-height:90dvh;overflow:auto;border:1px solid #e6d6c6;border-radius:18px;padding:clamp(14px,4vw,26px);color:var(--ink)}.chef-dialog::backdrop{background:#18120db0}.chef-toolbar{justify-content:space-between}.chef-dialog [data-chef-step]{margin:14px 0}.chef-toolbar button:disabled{opacity:.5}.chef-toolbar form{margin:0}.chef-dialog img{max-height:52dvh;object-fit:contain}
@media(max-width:620px){.recipe-filters{grid-template-columns:1fr}.recipe-grid{grid-template-columns:minmax(0,1fr);gap:16px}.recipe-tag{font-size:11px;left:6px;bottom:6px;padding:2px 7px}}
.anuncio a{text-underline-offset:3px;font-weight:600}
.recipe-gallery>img{height:clamp(210px,39vw,365px);aspect-ratio:auto;object-fit:contain;background:#f7f0e7}
.recipe-tools{margin:24px 0}.recipe-tools h3{font-size:17px;font-weight:600}.recipe-tools ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:8px 0}.recipe-tools li{border-radius:24px;background:#f8f2e9;padding:5px 12px;font-size:14px}.recipe-tools i{margin-right:5px}
.social-icons{display:flex;flex-wrap:wrap;gap:8px}.social-icons button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid #e6dbcf;background:#fff;color:var(--ink);cursor:pointer;font-size:17px}.social-icons button:hover{background:#fff0e1;color:#9b381d}
.chef-stage{inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;padding:0;background:#faf6ee;overscroll-behavior:contain}
.chef-shell{min-height:100%;display:flex;flex-direction:column}.chef-top,.chef-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px max(16px,calc((100vw - 900px)/2));background:#fff}.chef-top form{margin:0}.chef-top button,.chef-bottom button:not(.button){font:inherit;border:1px solid #e6dbcf;border-radius:24px;padding:8px 14px;background:white;color:var(--ink);cursor:pointer}.chef-top button[aria-pressed=true]{background:#ffe9c8}.chef-top button[hidden]{display:none}
.chef-stage progress{width:100%;height:5px;border:0;accent-color:var(--orange)}
.chef-body{width:min(860px,calc(100% - 32px));margin:clamp(18px,5vw,52px) auto auto;background:#fff;padding:clamp(16px,4vw,36px);border:1px solid #eee1d5;border-radius:22px;box-shadow:0 10px 36px #5133210b;font-size:clamp(16px,2.1vw,21px)}
.chef-body h2{font-size:clamp(28px,4vw,42px);margin:10px 0}.chef-body [data-chef-step]{margin:10px 0 22px}.chef-checklist{border-top:1px solid #eee1d5;padding-top:12px;font-size:16px}.chef-checklist summary{cursor:pointer}.chef-checklist li{list-style:none}.chef-checklist input:checked + span{text-decoration:line-through}.chef-checklist input{margin-right:8px}
.chef-bottom{position:sticky;bottom:0;margin-top:18px;border-top:1px solid #e6dbcf;padding-bottom:max(12px,env(safe-area-inset-bottom))}.chef-bottom nav{display:flex;gap:5px;overflow:auto}.chef-bottom nav button{min-width:34px;padding:4px!important}.chef-bottom nav button[aria-current=step]{background:#ffe9c8}.chef-bottom button:disabled{opacity:.45}
@media(max-width:620px){.chef-top,.chef-bottom{padding-inline:10px;font-size:13px;gap:6px}.chef-top button,.chef-bottom button:not(.button){padding:6px 8px}.chef-bottom .button{padding-inline:12px}.chef-bottom nav{display:none}.chef-top [data-wake]{max-width:125px}.recipe-gallery>img{height:240px}}

.recipe-discovery{display:grid;gap:14px;padding:clamp(14px,2vw,23px);border:1px solid #ebdfd1;border-radius:20px;background:#faf6ef}
.recipe-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.recipe-search{display:flex;align-items:center;gap:12px;min-width:0;padding:0 14px;border:1px solid #e2d5c6;border-radius:14px;background:#fff;color:var(--muted)}
.recipe-search:focus-within{border-color:#ad512f;box-shadow:0 0 0 2px #ad512f30}
.recipe-search input[type=search]{flex:1;min-width:0;padding:10px 0;min-height:46px;border:0;background:transparent;box-shadow:none;outline:0;font:inherit;font-weight:400}
.recipe-chips{display:flex;gap:8px;flex-wrap:wrap}
.recipe-chips button{min-height:40px;padding:7px 13px;border:1px solid #e1d5c7;border-radius:999px;background:#fff;color:#402b20;font:inherit;font-size:14px;cursor:pointer;line-height:1.25}
.recipe-chips button:hover{background:#ffecdc;border-color:#ce987a}
.recipe-chips button[aria-pressed=true]{background:#883c24;border-color:#883c24;color:#fff;font-weight:600}
.recipe-results-bar{display:flex;align-items:center;justify-content:space-between;min-height:46px;gap:10px}
.recipe-results-bar #conteo{margin:0}
.recipe-results-bar #limpiar{min-height:40px;color:#883c24;background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:6px 0;font:inherit;font-size:14px;cursor:pointer}
.recipe-results-bar #limpiar[hidden]{display:none}
@media(max-width:620px){.recipe-discovery{gap:10px}.recipe-chips{gap:6px}.recipe-chips button{min-height:44px;padding-inline:10px}}

.recipe-hero.has-photo{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  grid-template-areas:"photo copy";gap:40px;align-items:center
}
.recipe-hero-copy{min-width:0}
.recipe-hero.has-photo .recipe-hero-copy{grid-area:copy}
.recipe-hero .recipe-gallery{margin:0;min-width:0}
.recipe-hero.has-photo .recipe-gallery{grid-area:photo}
.recipe-hero .recipe-gallery>img{
  display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;
  background:none;border-radius:18px
}
.recipe-hero .recipe-gallery>img[hidden]{display:none}
.recipe-hero .stats{flex-wrap:wrap}
@media(max-width:800px){
  .recipe-hero.has-photo{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "photo";gap:20px}
  .recipe-hero .recipe-gallery{width:min(100%,400px)}
}

.chef-stage [hidden]{display:none}
.chef-finish{text-align:center;margin-bottom:28px}
.chef-result-photo{width:min(100%,300px);aspect-ratio:1;object-fit:cover;border-radius:16px;margin:14px auto}
.chef-rating{border:0;margin:16px auto;padding:0}
.chef-rating legend{font-weight:600;margin:auto}
.chef-stars{display:flex;justify-content:center;gap:3px}
.chef-stars button{font:inherit;font-size:25px;min-width:44px;min-height:44px;border:0;background:none;color:#817065;cursor:pointer}
.chef-stars button.filled,.chef-stars button:hover{color:#a24727}
.chef-finish .recipe-actions{justify-content:center}

.recipe-grid .recipe-card { display: flex; flex-direction: column; align-items:stretch; gap:0; min-width:0; background:#fff; }
.recipe-grid .recipe-card[hidden] { display: none; }
.recipe-grid .recipe-card .recipe-thumb::after { content: none; }
.recipe-grid .recipe-card > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; margin:0; padding:clamp(14px,1.5vw,20px); }
.recipe-grid .recipe-card .recipe-tag { position: static; margin-bottom: 8px; padding: 0; background: transparent; box-shadow: none; color: #615348; }
.recipe-detail .recipe-hero [data-chef] { background: #ffd45b; border: 1px solid #d6a52c; color: #251711; }
.recipe-card:hover .recipe-detail .recipe-hero [data-chef]:hover { background: #ffcc3c; }
.recipe-card:focus-visible { outline: 2px solid #251711; outline-offset: 3px; }
.recipe-grid .recipe-card > div h2 { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.25; letter-spacing: -.025em; margin: 0 0 8px; overflow-wrap: anywhere; }
.recipe-grid .recipe-card > div p { font-size: 14px; line-height: 1.47; margin: 0; overflow-wrap: anywhere; }
.wrap.shop-teaser { border: 0; padding: clamp(16px, 3.4vw, 42px); gap: clamp(18px, 4vw, 54px); margin-block-end: clamp(20px, 4vw, 44px); overflow: hidden; }
.wrap.shop-teaser + .wrap.feature { border-top: 0; }
.recipe-discovery { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; box-shadow: none; background: transparent; }
.recipe-discovery .recipe-search { flex: 0 1 325px; min-width: min(100%, 185px); min-height: 44px; }
.recipe-category { position: relative; max-width: 100%; z-index: 2; }
.recipe-category summary { display: flex; align-items: center; gap: 8px; padding: 9px 13px; min-height: 44px; border: 1px solid #e0d3c4; border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; list-style: none; }
.recipe-category summary::-webkit-details-marker { display: none; }
.recipe-category[data-active=true] summary { background: #ffd45b; border-color: #d6a52c; }
.category-options { position: absolute; top: calc(100% + 6px); left: 0; width: min(245px, calc(100vw - 44px)); max-height: 320px; overflow: auto; padding: 6px; background: #fffdf9; border: 1px solid #e0d3c4; border-radius: 14px; box-shadow: 0 12px 28px #30201820; }
.category-options button { display: block; width: 100%; min-height: 44px; padding: 8px 10px; text-align: left; border: 0; border-radius: 8px; background: transparent; color: #302018; font: inherit; font-size: 14px; cursor: pointer; }
.category-options button:hover { background: #fff0cc; }
.category-options button[aria-pressed=true] { background: #ffd45b; font-weight: 600; }
@media (max-width: 640px) { .recipe-discovery .recipe-search { flex-basis: 100%; } }

@media (max-width: 700px) {
  .recipe-detail .recipe-hero.has-photo { display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: "photo" "copy"; gap: 0; margin-inline: auto; }
  .recipe-detail .recipe-hero .recipe-gallery { width: 100%; position: relative; }
  .recipe-detail .recipe-hero .recipe-gallery > img { width: 100%; max-height: 54svh; aspect-ratio: 1; object-fit: cover; border-radius: 26px 26px 0 0; }
  .recipe-detail .recipe-hero .gallery-controls { position: absolute; top: 10px; right: 10px; bottom: auto; left: auto; background: #fffdf4ed; border-radius: 999px; }
  .recipe-detail .recipe-hero.has-photo .recipe-hero-copy { position: relative; z-index: 1; margin-top: -24px; padding: 23px 18px 19px; background: #fff; border-radius: 26px 26px 20px 20px; box-shadow: 0 8px 28px #30201814; }
  .recipe-detail .recipe-hero h1 { font-size: clamp(27px, 7.5vw, 36px); line-height: 1.12; overflow-wrap: anywhere; }
  .recipe-detail .recipe-hero .recipe-actions > * { flex: 1 1 auto; min-height: 44px; justify-content: center; }
}

.recipe-grid .recipe-card .recipe-thumb {
  flex:none; width:100%; aspect-ratio:16/10;
  margin:0; border-radius:0; background:#f4f0ea;
}
.recipe-detail .recipe-hero .recipe-gallery > img { border-radius: 22px; }
@media (max-width: 700px) {
  .recipe-detail .recipe-hero.has-photo .recipe-hero-copy { margin-top: 0; }
}
.chef-finish { width: min(590px, calc(100% - 32px)); font-size: 16px; padding: clamp(18px, 4vw, 32px); }
.chef-finish h2 { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; }
.chef-result-photo { display: block; width: min(100%, 240px); background: #f4f0ea; }
.chef-finish .recipe-actions > *, .chef-bottom [data-chef-next] { min-height: 44px; font-size: 14px; }
.chef-finish [data-share], .chef-bottom [data-chef-next] { background: #ffd45b; border: 1px solid #d6a52c; color: #251711; }
.chef-finish .chef-more { background: #fff; border: 1px solid #d6a52c; color: #251711; }
.chef-finish .recipe-actions > *:hover, .chef-bottom [data-chef-next]:hover { background: #ffcc3c; color: #251711; }
.chef-stars button.filled, .chef-stars button:hover { color: #996300; }

.recipe-detail .recipe-hero .recipe-actions > a[href="#ingredientes"] {
  background:#fff;
  color:#251711;
  border:1px solid #d7c8b9;
}
.recipe-detail .recipe-hero .recipe-actions > a[href="#ingredientes"]:hover {
  background:#fff5dc;
}

.recipe-mobile-filters,.recipe-mobile-switch,.recipe-mobile-back,.recipe-card-meta { display:none; }
@media(max-width:700px) {
  .recipe-catalogue .recipe-featured-list { display:none; }
  .recipe-catalogue #todas { display:flex; flex-direction:column; margin-top:20px; }
  .recipe-catalogue .recipe-discovery { order:-1; display:grid; grid-template-columns:minmax(0,1fr); gap:10px; margin-bottom:18px; }
  .recipe-catalogue .recipe-search { grid-row:1; width:100%; }
  .recipe-mobile-filters:not([hidden]) { display:flex; grid-row:2; gap:8px; overflow-x:auto; padding:2px 2px 8px; }
  .recipe-discovery:has(.recipe-mobile-filters:not([hidden])) .recipe-category { display:none; }
  .recipe-catalogue .recipe-grid { gap:16px; }
  .recipe-catalogue .recipe-thumb { aspect-ratio:1.5; }
  .recipe-catalogue .recipe-card > div { padding:14px 16px; align-items:stretch; }
  .recipe-catalogue .recipe-card h2 { font-size:22px; }
  .recipe-card-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:10px; font-size:14px; color:var(--muted); }
  .recipe-card-meta > span { margin-inline-start:auto; color:var(--ink); font-size:20px; }
  .recipe-mobile-back { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; }
  .recipe-detail .recipe-crumb { margin:3px 0 12px; }
  .recipe-detail .recipe-crumb a:first-child,.recipe-detail .recipe-crumb span { display:none; }
  .recipe-detail .recipe-hero.has-photo { grid-template-areas:"copy" "photo" "actions"; gap:14px; }
  .recipe-detail .recipe-hero.has-photo .recipe-hero-copy { display:contents; }
  .recipe-detail .recipe-heading-copy { grid-area:copy; }
  .recipe-detail .recipe-hero .recipe-actions { grid-area:actions; margin:0; }
  .recipe-detail .recipe-hero .recipe-gallery > img { aspect-ratio:1.35; height:auto; max-height:42svh; }
  .recipe-mobile-switch:not([hidden]) { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:20px 0 12px; }
  .recipe-mobile-filters button,.recipe-mobile-switch button { min-height:44px; padding:7px 12px; border-radius:999px; border:1px solid #d7c8b9; background:#fff; color:var(--ink); font:inherit; white-space:nowrap; }
  .recipe-mobile-filters button[aria-pressed=true],.recipe-mobile-switch button[aria-pressed=true] { background:#ffd45b; border-color:#d6a52c; }
  .recipe-detail .recipe-columns[data-panel=ingredients] > #pasos-receta,
  .recipe-detail .recipe-columns[data-panel=steps] > #ingredientes { display:none; }
}

.aja-mobile-dock,.mobile-scale,.mobile-cook-icon,.mobile-ingredient-count { display:none; }
@media (max-width:700px) {
  body:has(.aja-mobile-dock) { padding-bottom:calc(85px + env(safe-area-inset-bottom)); }
  .aja-mobile-dock {
    position:fixed; z-index:35; inset-inline:12px; bottom:max(10px,env(safe-area-inset-bottom)); margin-inline:auto;
    width:min(calc(100% - 24px),440px); display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
    padding:5px; border:1px solid #e6dbcf; border-radius:28px; background:#fffdf8f2;
    box-shadow:0 10px 30px #30201825; backdrop-filter:blur(14px);
  }
  .aja-mobile-dock a { display:grid; justify-items:center; align-content:center; gap:3px; min-height:53px; border-radius:22px; text-decoration:none; font-size:13px; line-height:1.2; }
  .aja-mobile-dock i { font-size:17px; }
  .aja-mobile-dock [aria-current] { background:#fff0c2; font-weight:650; }
  .recipe-detail .recipe-hero .recipe-actions { display:grid; gap:12px; }
  .recipe-detail .recipe-actions > a[href="#ingredientes"], .recipe-detail .desktop-recipe-scale { display:none; }
  .recipe-detail .recipe-hero [data-chef] { width:100%; min-height:51px; justify-content:center; font-size:var(--fs-md); gap:8px; }
  .mobile-cook-icon { display:inline; font-size:23px; line-height:1; }
  .mobile-scale:not([hidden]) { display:grid; gap:12px; padding:16px; border-radius:20px; border:1px solid #e6dbcf; background:#f8f4ee; }
  .mobile-scale-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
  .mobile-scale-head h2 { margin:0; font-size:19px; }
  .mobile-scale-head output,.mobile-ingredient-count { padding:4px 9px; border-radius:20px; background:#fff0c2; font-size:13px; white-space:nowrap; }
  .mobile-segment,.recipe-mobile-switch:not([hidden]) { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border-radius:999px; background:#eee7de; }
  .mobile-segment button,.recipe-mobile-switch button { border:0; border-radius:999px; background:transparent; color:var(--ink); min-height:44px; font:inherit; }
  .mobile-segment button[aria-pressed=true],.recipe-mobile-switch button[aria-pressed=true] { background:#fff; font-weight:650; box-shadow:0 1px 4px #30201818; }
  .mobile-amount { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:8px; padding-inline:12px; }
  .mobile-amount button,.mobile-presets button { border:1px solid #e6dbcf; border-radius:999px; min-height:44px; background:white; color:var(--ink); font:inherit; }
  .mobile-amount button { font-size:24px; }
  .mobile-amount input { min-width:0; width:100%; appearance:textfield; margin:0; border:0; background:transparent; text-align:center; color:var(--ink); font:inherit; font-size:34px; font-weight:700; }
  .mobile-amount input::-webkit-inner-spin-button,.mobile-amount input::-webkit-outer-spin-button { appearance:none; margin:0; }
  .mobile-scale > p { margin:0; text-align:center; }
  .mobile-scale .hint { color:var(--muted); font-size:13px; }
  .mobile-presets { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
  .mobile-presets button { font-size:13px; padding:2px 3px; }
  .mobile-presets button[aria-pressed=true] { background:#fff0c2; border-color:#d6a52c; }
  .recipe-detail .recipe-columns { margin-top:10px; }
  .recipe-detail .recipe-columns > section { background:#f8f4ee; border-radius:20px; padding:16px; }
  .recipe-detail .recipe-columns h2 { display:flex; align-items:center; justify-content:space-between; gap:8px; }
  .mobile-ingredient-count { display:inline-block; }
  .recipe-detail .ingredients li { margin:0; border-bottom:1px solid #e6dbcf; }
  .recipe-detail .ingredients li:last-child { border:0; }
  .recipe-detail .ingredients li label { min-height:46px; padding-block:8px; }
  .recipe-detail .recipe-steps { list-style:none; padding:0; counter-reset:prep; }
  .recipe-detail .recipe-steps > li { display:grid; grid-template-columns:34px minmax(0,1fr); gap:10px; align-items:start; padding:12px 0; counter-increment:prep; }
  .recipe-detail .recipe-steps > li::before { content:counter(prep); display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#fff0c2; font-weight:650; }
}

.chef-finish-exit { display:flex; justify-content:flex-end; margin:0 0 10px; }
.chef-finish-exit button {
  display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:5px 12px;
  border:1px solid #e6dbcf; border-radius:999px; background:transparent; color:var(--ink);
  font:inherit; font-size:14px; cursor:pointer;
}
.chef-finish-exit button span { font-size:21px; line-height:1; }
.chef-finish-exit button:hover { background:#f8f4ee; }
.chef-finish-exit button:focus-visible { outline:2px solid currentColor; outline-offset:3px; }

.chef-top button[data-wake][aria-pressed=true] { background:#fff0c2; border-color:#d6a52c; font-weight:650; }

@media(max-width:700px) {

  .glass-nav-group,.glass-nav-search{
    background:linear-gradient(155deg,#ffffffbd,#fffdf282 51%,#f0e7dbb3);
    border:1px solid #ffffffb8;
    box-shadow:inset 0 1px 1px #fff,inset 0 -1px 2px #a88c7140,0 6px 18px #30201829;
    -webkit-backdrop-filter:blur(17px) saturate(1.5);
    backdrop-filter:blur(17px) saturate(1.5);
    border-radius:999px;
  }
  .glass-nav-group{display:grid;min-width:0;padding:4px}
  .glass-nav-group [aria-current]{background:linear-gradient(145deg,#fff,#fff0c2d9);box-shadow:inset 0 1px 2px #fff,0 2px 6px #3020181f;border-radius:999px}
  .glass-nav-search{display:grid;place-items:center;width:55px;height:55px;color:inherit;text-decoration:none}
  .glass-nav-search svg{width:22px;height:22px}
  .glass-nav-search:focus-visible,.glass-nav-group :focus-visible{outline:2px solid currentColor;outline-offset:2px}

  .aja-mobile-dock { display:grid; grid-template-columns:minmax(0,1fr) 55px; align-items:center; gap:8px; padding:0; border:0; border-radius:0; background:none; box-shadow:none; backdrop-filter:none; }
  .aja-mobile-dock .glass-nav-group { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .aja-mobile-dock .glass-nav-search { min-height:55px; }
  .aja-mobile-dock .glass-nav-group a { min-height:48px; border-radius:999px; }
  .aja-mobile-dock .glass-nav-search i { font-size:20px; }
  .recipe-catalogue #buscar { scroll-margin-top:95px; }
}
@media(max-width:700px) and (prefers-reduced-transparency:reduce) {
  .aja-mobile-dock .glass-nav-group,.aja-mobile-dock .glass-nav-search { background:#fffaf2; backdrop-filter:none; -webkit-backdrop-filter:none; }
}

@media(max-width:700px) {

  [data-adaptive-dock]{transition:width .22s ease,grid-template-columns .22s ease}
  [data-adaptive-dock] .glass-nav-group :is(a,button),[data-adaptive-dock] .glass-nav-search {
    transition:min-height .22s ease,width .22s ease,height .22s ease,gap .22s ease;
  }
  [data-adaptive-dock][data-compact]:not(:has(:focus-visible)){
    width:min(calc(100% - 40px),365px);grid-template-columns:minmax(0,1fr) 46px;
  }
  [data-adaptive-dock][data-compact]:not(:has(:focus-visible)) .glass-nav-group :is(a,button){
    min-height:44px;gap:0;
  }
  [data-adaptive-dock][data-compact]:not(:has(:focus-visible)) .glass-nav-search{
    width:46px;height:46px;min-height:46px;
  }

  .aja-mobile-dock { color:#1c1a17; }
  .aja-mobile-dock .glass-nav-group a { font-size:12px; font-weight:400; }
  .aja-mobile-dock .glass-nav-group svg { width:18px; height:18px; }
  .mobile-scale:not([hidden]) { gap:8px; padding:12px; }
  .mobile-scale-head h2 { font-size:17px; }
  .mobile-amount { padding-inline:4px; }
  .mobile-amount input { font-size:26px; }
  .mobile-scale .hint { font-size:12px; line-height:1.3; }
  .mobile-scale .mobile-segment { padding:2px; }
}
@media(prefers-reduced-motion:reduce) {
  [data-adaptive-dock],[data-adaptive-dock] * { transition:none !important; }
}

.aja-search-screen:not([open]){display:none}
.aja-search-screen{
  position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;
  margin:0;padding:max(14px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  border:0;background:#fffaf3;color:#1c1a17;overscroll-behavior:contain;overflow:auto;
}
.aja-search-screen::backdrop{background:#fffaf3}
.aja-search-inner{width:min(100%,600px);margin-inline:auto}
.aja-search-top{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:10px;padding-bottom:12px;background:#fffaf3}
.aja-search-top h2{grid-column:1/-1;font-size:24px;line-height:1.2;margin:0 0 4px;color:inherit}
.aja-search-top input[type=search]{width:100%;min-height:48px;padding:10px 13px;border:1px solid #decebe;border-radius:13px;background:#fff;color:inherit;font:inherit}
.aja-search-top form{margin:0}
.aja-search-top button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #decebe;border-radius:50%;background:#fff;color:inherit;font:inherit;font-size:24px;cursor:pointer}
.aja-search-status{margin:12px 0;color:#67564a;font-size:14px}
.aja-search-results{display:grid;gap:8px}
.aja-search-results a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:60px;padding:10px 14px;border:1px solid #ede3d6;border-radius:13px;background:#fff;text-decoration:none;color:inherit}
.aja-search-results a[hidden]{display:none}
.aja-search-results strong{display:block;font-weight:550}
.aja-search-results small{display:block;color:#67564a;font-size:13px}
.aja-search-results a:focus-visible,.aja-search-top :focus-visible{outline:2px solid #7b3d24;outline-offset:2px}

/* Cantidades y rendimiento comparten una sola tarjeta en todas las pantallas. */
.recipe-actions .mobile-scale:not([hidden]){box-sizing:border-box;flex:1 0 100%;width:100%;padding:clamp(14px,2vw,22px);gap:10px;border:1px solid #ebd8c7;border-radius:22px;background:linear-gradient(135deg,#fffdf9,#fff4e9);color:#302018}
@media(min-width:701px){.mobile-scale[data-wide-scale]:not([hidden]){display:grid}}
.mobile-scale-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.recipe-actions .mobile-scale h2{margin:0;font-size:1.125rem}
.mobile-scale-head output{padding:3px 10px;border:1px solid #ebd8c7;border-radius:99px;background:#fff4d9}
.mobile-scale .mobile-segment{display:grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:99px;background:#f0e6da}
.recipe-actions .mobile-scale button{min-height:44px;font:inherit;cursor:pointer;color:inherit}
.recipe-actions .mobile-segment button{padding:4px;border:0;background:transparent}
.recipe-actions .mobile-segment [aria-pressed=true]{background:white;box-shadow:0 1px 5px #41271320}
.mobile-scale .mobile-amount{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;max-width:320px;width:100%;margin:auto}
.recipe-actions .mobile-amount button{font-size:24px;padding:0}
.mobile-scale .mobile-amount input{width:100%;min-width:0;text-align:center;border:0;background:transparent;color:inherit;line-height:1.2;font-family:inherit;font-weight:600;font-size:2rem;appearance:textfield}
.mobile-scale .mobile-amount input::-webkit-inner-spin-button{appearance:none}
.mobile-scale p{margin:0;text-align:center}.mobile-scale [data-amount-label]{font-size:1rem;color:#654f42}
.mobile-scale .mobile-presets{display:flex;flex-wrap:wrap;gap:6px}
.recipe-actions .mobile-presets button{flex:1 1 44px;padding:4px}
.recipe-actions .mobile-presets [aria-pressed=true]{background:#ffd45b;border-color:#c28c1a}
.mobile-scale .hint{font-size:.875rem;color:#65594f}
.recipe-watch{margin:12px 0 18px;border-block:1px solid #e6d6c6}
.recipe-watch summary{cursor:pointer;padding:12px 4px;color:#673d26;min-height:44px;font-weight:500}
.recipe-watch .recipe-video.vertical{width:min(100%,310px,35vh);min-height:0}

.recipe-badges{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:100%;margin-top:auto;padding-top:12px}
.recipe-badges>span{max-width:100%;overflow-wrap:anywhere;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:99px;background:#fff4db;color:#563b20;font-size:.75rem;line-height:1.4}
.recipe-badges>span+span{background:#f6f2ec}
.recipe-category{width:fit-content}
.filter-panel{position:absolute;top:calc(100% + 6px);left:0;width:min(300px,calc(100vw - 44px));max-height:min(450px,60vh);overflow:auto;padding:16px;background:#fffdf9;border:1px solid #e0d3c4;border-radius:16px;box-shadow:0 12px 28px #30201820}
.filter-panel .category-options{position:static;width:auto;max-height:none;border:0;box-shadow:none;padding:4px 0 0}
.time-filter{margin:0 0 12px;padding:0 0 4px;border:0;border-bottom:1px solid #e0d3c4}
.time-filter legend,.filter-panel strong{font-weight:600}.time-filter output{font-size:.875rem}
.time-track{position:relative;height:44px;margin:0 10px}
.time-track::before{content:"";position:absolute;inset:20px 0 auto;height:4px;border-radius:6px;background:linear-gradient(to right,#e4dbd2 var(--from),#d89c17 var(--from) var(--to),#e4dbd2 var(--to))}
.time-track input{position:absolute;inset:0 -10px;width:calc(100% + 20px);height:44px;margin:0;padding:0;border:0;background:transparent;appearance:none;pointer-events:none}
.time-track input::-webkit-slider-thumb{appearance:none;pointer-events:auto;cursor:grab;width:20px;height:26px;background:#ffd45b;border:1px solid #9c7216;border-radius:12px}
.time-track input::-moz-range-thumb{pointer-events:auto;cursor:grab;width:20px;height:26px;background:#ffd45b;border:1px solid #9c7216;border-radius:12px}
.time-track input:focus-visible{z-index:3;outline:2px solid #935021}

@media (min-width:701px) {
  .recipe-detail .recipe-reading {
    grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);
    grid-template-areas:"photo copy";
    align-items:start;
    gap:clamp(18px,3vw,38px);
  }
  .recipe-reading-side { grid-area:photo; display:grid; min-width:0; gap:16px; }
  .recipe-detail .recipe-reading .recipe-gallery { grid-area:auto; width:100%; }
  .recipe-reading .recipe-columns { display:block; margin-top:18px; }
  .recipe-reading #ingredientes {
    max-height:none; overflow:visible;
    scroll-margin-block-start:85px;
  }
  .recipe-reading #pasos-receta { scroll-margin-block-start:85px; }
  .recipe-reading .ingredients ul { margin-block:12px 0; }
  .recipe-reading .ingredients li { margin:0; }
  .recipe-reading .ingredients li label {
    box-sizing:border-box; min-height:46px; padding-block:10px;
    line-height:1.55; align-items:baseline;
  }
  .recipe-reading #ingredientes:focus-visible { outline:2px solid #89532e; outline-offset:3px; }
  .recipe-reading .recipe-actions { container-type:inline-size; }
  .recipe-reading .recipe-actions .mobile-scale:not([hidden]) { padding:12px 14px; gap:6px 12px; }
  .recipe-reading .mobile-scale .hint { line-height:1.3; }
  @container (min-width:365px) {
    .recipe-reading .mobile-scale:not([hidden]) { grid-template-columns:1fr 1fr; align-items:center; }
    .recipe-reading .mobile-scale-head,.recipe-reading .mobile-scale .hint { grid-column:1/-1; }
    .recipe-reading .mobile-segment { grid-column:1; grid-row:2; }
    .recipe-reading .mobile-amount { grid-column:2; grid-row:2; grid-template-columns:44px minmax(0,1fr) 44px; }
    .recipe-reading .mobile-presets { grid-column:1; grid-row:3; }
    .recipe-reading [data-amount-label] { grid-column:2; grid-row:3; }
  }
}

.ingredients-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; }
.ingredients-heading h2 { margin:0; }
.ingredients-heading button { min-height:44px; padding:6px 8px; background:transparent; border:0; color:#75432c; font:inherit; font-size:.875rem; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.ingredients-heading button:disabled { color:#796e63; text-decoration:none; cursor:default; }

.ingredient-group { margin: .8rem 0 .2rem; font-size: 1rem; }
.ingredient-unit { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.recipe-ingredient-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: .8rem; }
.recipe-ingredient-actions button, .chef-timer button { min-height: 44px; border: 1px solid #d6a52c; border-radius: 999px; background: #fff7dd; color: #251711; padding: .35rem .9rem; font: inherit; cursor: pointer; }
.recipe-ingredient-actions button[aria-pressed="true"] { background: #ffd45b; }
.video-thumbnail { display: grid; width: 100%; border: 1px solid #d7c8b9; border-radius: 16px; background: #fff7dd; color: #251711; padding: 0; overflow: hidden; font: inherit; cursor: pointer; }
.video-thumbnail img { width: 100%; max-height: 210px; object-fit: cover; }
.video-thumbnail span { padding: .6rem; font-weight: 600; text-align: left; }
.chef-current h3 { font-size: 1rem; margin: .6rem 0 .35rem; }
.chef-current ul { margin: 0; padding-inline-start: 1.2rem; }
.chef-timer { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-block: .4rem; }
.chef-timer p { margin: 0; }
.chef-timer [data-timer-clock] { font-variant-numeric: tabular-nums; }
.quantity-notice { color: #63351e; font-size: .88em; font-weight: 600; }
.chef-body [data-chef-step] img { width: 100%; max-height: min(26dvh,200px); object-fit: contain; }
.related-shop { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.related-shop p { margin: .25rem 0; }
@media print {
  .cab,.anuncio,.pie,.aja-mobile-dock,.recipe-actions,.recipe-share,.recipe-gallery,.recipe-mobile-switch,
  .recipe-mobile-back,.chef-rating,.recipe-watch,.related-shop,.recipe-block,.recipe-ingredient-actions,
  .chef-dialog,[data-reset-marks],.skip, .ingredient-unit, .step-content img { display:none !important; }
  body { background:#fff; font-size:11pt; padding:0 !important; }
  .recipe-detail,.recipe-reading,.recipe-hero,.recipe-hero-copy,.recipe-columns,.recipe-reading-side {
    display:block !important; width:auto !important; margin:0; padding:0; max-width:none;
  }
  .recipe-columns section, .recipe-reading-side .ingredients { display:block !important; border:0; background:none; position:static; max-height:none; }
  .recipe-steps li { break-inside:avoid; }
}
.rating-photo { display: grid; gap: .3rem; text-align: center; justify-items: center; font-size: .87rem; }
.rating-photo input { max-width: 100%; }
.recipe-detail [data-resume][hidden], .recipe-detail .rating-photo[hidden], .recipe-detail .chef-timer[hidden],
.recipe-detail .video-thumbnail[hidden], .recipe-detail .quantity-notice[hidden] { display:none; }
.recipe-quick { display:flex; flex-wrap:wrap; gap:.45rem; margin:.8rem 0; }
.recipe-quick button { min-height:44px; border:1px solid #bca689; border-radius:999px; background:#fff7dd; color:#251711; padding:.35rem .9rem; font:inherit; cursor:pointer; }
.recipe-quick button[aria-pressed=true] { background:#ffd45b; border-color:#a7740e; }
.recipe-category select { width:100%; padding:.45rem; font:inherit; }
.recipe-card mark, .aja-search-results mark { color:inherit; background:#fff0b5; }


.recipe-detail .recipe-mobile-back{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.recipe-detail .step-prefix{font-weight:500}
.recipe-share .social-icons{display:flex;flex-wrap:nowrap;gap:8px}
.recipe-share .social-icons button{
  width:auto;min-width:0;display:inline-flex;justify-content:center;gap:6px;padding:0 9px;
  border-radius:999px;font-size:.875rem;white-space:nowrap;
}
@media(max-width:700px){
  body:has(.recipe-detail) #contenido{padding-block-end:calc(76px + env(safe-area-inset-bottom,0px))}
}

body .recipe-detail h1{font:var(--fw-regular) var(--fs-3xl)/var(--lh-3xl) var(--font-ui);letter-spacing:var(--ls-title)}
body .recipe-detail h2{font:var(--fw-regular) var(--fs-xl)/var(--lh-xl) var(--font-ui)}
body .recipe-detail .stats{font:var(--fw-regular) var(--fs-md)/var(--lh-md) var(--font-ui)}
body .recipe-detail .stats b{font:var(--fw-medium) var(--fs-sm)/var(--lh-sm) var(--font-ui)}
body .recipe-detail .step-content p{font:var(--fw-regular) var(--fs-md)/var(--lh-md) var(--font-ui)}
body .recipe-detail .step-prefix{font-weight:var(--fw-medium)}
body .recipe-grid .recipe-card h2{font:var(--fw-regular) var(--fs-lg)/var(--lh-lg) var(--font-ui)}
body .recipe-tag{font:var(--fw-medium) var(--fs-xs)/var(--lh-xs) var(--font-ui)}
body .recipe-detail :is(.social-icons button,.recipe-ingredient-actions button){font:var(--fw-medium) var(--fs-sm)/var(--lh-sm) var(--font-ui)}
body .chef-stage #chef-title{font:var(--fw-regular) var(--fs-2xl)/var(--lh-2xl) var(--font-ui);letter-spacing:var(--ls-title)}
body .chef-stage .chef-body>.label{font:var(--fw-regular) var(--fs-xs)/var(--lh-xs) var(--font-ui);letter-spacing:var(--ls-caps)}
body .chef-stage [data-chef-step] p{font:var(--fw-regular) var(--fs-lg)/var(--lh-lg) var(--font-ui)}
body .chef-stage .chef-current h3{font:var(--fw-medium) var(--fs-sm)/var(--lh-sm) var(--font-ui)}
body .chef-stage .chef-current li{font:var(--fw-regular) var(--fs-md)/var(--lh-md) var(--font-ui)}
body .chef-stage [data-chef-next]{min-height:48px;font:var(--fw-medium) var(--fs-md)/var(--lh-sm) var(--font-ui)}
body .chef-stage .chef-top :is(button,[data-chef-count]){font:var(--fw-regular) var(--fs-sm)/var(--lh-sm) var(--font-ui)}
body .chef-stage .chef-top button{min-height:44px;padding:4px 6px}
@media(max-width:1099px){
 body .recipe-detail :is(.recipe-filters button,.recipe-actions button,.recipe-quick button,.social-icons button){min-height:44px;min-width:44px}
}
@media(max-width:767px){
 body .recipe-detail h1{font-size:var(--fs-2xl);line-height:var(--lh-2xl)}
 body .chef-stage #chef-title{font-size:var(--fs-xl);line-height:var(--lh-xl)}
 body .chef-stage [data-chef-step] p{font-size:var(--fs-md);line-height:var(--lh-md)}
}
body .hero-copy .label {font-weight:var(--fw-regular)}
body :is(.anuncio,.pie-base span,.pie-base a,.mobile-ingredient-count,.mobile-scale-head output){font-size:var(--fs-xs);line-height:var(--lh-xs)}
body :is(.pie h2,.seccion h2) {font:var(--fw-regular) var(--fs-xl)/var(--lh-xl) var(--font-ui)}
body .recipe-actions .mobile-amount>button {font-size:var(--fs-xl)}
body .recipe-actions .button {font-size:var(--fs-md)}
body .recipe-actions .mobile-cook-icon {font-size:var(--fs-xl)}
body .recipe-mobile-switch button[aria-pressed] {font-weight:var(--fw-medium)}
@media(max-width:767px){body .recipe-detail .recipe-heading-copy h1{font:var(--fw-regular) var(--fs-2xl)/var(--lh-2xl) var(--font-ui)}}

.chef-stage .chef-bottom button:not(.button) {font:var(--fw-medium) var(--fs-sm)/var(--lh-sm) var(--font-ui);min-height:44px}
