/* Studio edition of the regional catalogues. */
html:is([data-coffee-studio],[data-v3-coffee]){--paper:#f8f7f2}
/* Inherit the regional cover's grid, type scale, copy spacing and filter row. */
:is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover{background:#16291f}
:is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover::before{background:radial-gradient(ellipse at 83% 100%,#344335 0%,#1e3026 48%,#172a21 80%)}
:is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover .coffee-stage{position:static;height:auto;min-height:0}
:is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-stage::before,:is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-stage::after{content:none}
:is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover .coffee-stage img{
  position:absolute;inset:0 8% 0 auto;width:auto;height:100%;max-width:86%;
  object-fit:contain;object-position:right center;filter:none;pointer-events:none;
  mask-image:linear-gradient(90deg,transparent,#000 43%,#000 97%,transparent)
}
:is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover .cover-copy{z-index:2}
.studio-cost{margin:24px 0;text-align:center;font-size:.9rem}
.studio-cost a{text-decoration:underline;text-underline-offset:.2em}
#catalog-view .moka-mark,#catalog-view .cc-settings{display:none}
#catalog-view .cards,html[data-v3-coffee] .coffee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}
#catalog-view .card{min-width:0;background:#fffefa;border:1px solid #d4dbcc;box-shadow:none;border-radius:12px;overflow:hidden}
html[data-v3-coffee] .coffee-card{background:#fffefa;border-color:#d4dbcc;box-shadow:none;border-radius:12px}
html[data-v3-coffee] .coffee-card:has(:checked){border-color:#315d3e;box-shadow:0 2px 0 #4b7452}
html[data-v3-coffee] .coffee-card-art{aspect-ratio:1.55;border-color:#d4dbcc;background:#9a9e89}
html[data-v3-coffee] .coffee-card-art::before{display:none}
html[data-v3-coffee] .coffee-method{color:#faf9ef;background:#233529eb;border-color:#344635}
html[data-v3-coffee] .studio-photo-stage,.studio-missing-photo{position:absolute;inset:0;display:grid;place-items:center;isolation:isolate;
  background:linear-gradient(150deg,#f5f0dfdd,#ced4bed9),url('/v3/pisos/coffee-makers.webp') center/cover}
html[data-v3-coffee] .studio-photo-stage .studio-coffee-photo{width:100%;height:100%;min-height:0;min-width:0;object-fit:contain;mix-blend-mode:normal;padding:11px 22px}
html[data-v3-coffee] .studio-photo-stage[data-photo-style=packshot] .studio-coffee-photo{mix-blend-mode:multiply}
html[data-v3-coffee] .studio-photo-stage[data-photo-style=cutout] .studio-coffee-photo{filter:drop-shadow(3px 7px 9px #22332530)}
html[data-v3-coffee] .studio-photo-stage:is([data-photo-style=scene],[data-photo-style=studio]){background:#89917d}
html[data-v3-coffee] .studio-photo-stage[data-photo-style=scene] .studio-coffee-photo{padding:0}
html[data-v3-coffee] .studio-photo-stage[data-photo-style=studio] .studio-coffee-photo{padding:0;object-fit:cover}
.studio-missing-photo{color:#475348;font-size:.8rem}
#catalog-view .card .cc-media{border:0;border-radius:0}
html[data-coffee-studio] #catalog-view .card .cc-media .art{aspect-ratio:1.55;height:auto;background:#233529;border-radius:0}
html[data-coffee-studio] #catalog-view .cc-media .art::before,html[data-coffee-studio] #catalog-view .cc-media .art::after{content:none}
.studio-photo{display:block;width:100%;height:100%;object-fit:cover}
#catalog-view .card .cc-media .art>.studio-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-width:none;padding:0}
/* Continue only the edges of the studio floor into the wide frame. */
#catalog-view .studio-frame{position:absolute;inset:0;display:flex;isolation:isolate}
#catalog-view .studio-frame .studio-photo{position:relative;z-index:1;height:100%;width:auto;aspect-ratio:1;max-width:100%;margin-inline:-1px;padding:0;flex:none}
#catalog-view .studio-frame::before,#catalog-view .studio-frame::after{content:'';flex:1;background-image:var(--photo);background-size:2400% 100%;background-repeat:no-repeat;transform:scaleX(-1)}
#catalog-view .studio-frame::before{background-position:left center}
#catalog-view .studio-frame::after{background-position:right center}
#catalog-view .card .cardBody{padding:10px 14px;gap:0}
#catalog-view .card h3{margin:3px 0;font:600 clamp(1.22rem,1.7vw,1.65rem)/1.08 var(--serif);overflow-wrap:anywhere}
#catalog-view .card .reason{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:2px 0 7px;font-size:.88rem;line-height:1.3}
#catalog-view .studio-card-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
#catalog-view .studio-card-tags button{padding:3px 8px;min-height:26px;border:1px solid #becab3;border-radius:5px;color:#294432;background:#f0f3e9;font:550 .78rem/1.2 var(--sans)}
#catalog-view .studio-card-tags button:hover{border-color:#687f64;background:#e3ead8}
#catalog-view .studio-card-tags [aria-pressed=true]{background:#294432;color:white;border-color:#294432}
#catalog-view .studio-card-tags button:focus-visible{outline:2px solid #365f40;outline-offset:2px}
#catalog-view .card .cardActions{margin-top:auto;padding-top:7px}
#catalog-view .card .cardActions .pick{min-height:32px;padding:4px 9px}
.studio-methods{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 10px}
.studio-methods button{border:1px solid #bdc7b7;border-radius:99px;padding:5px 11px;font-size:.85rem;background:transparent;color:#203828}
.studio-methods [aria-pressed=true]{background:#dfeacf;border-color:#709067}
#catalog-view .studio-model-link,#catalog-view .studio-reference{position:absolute;bottom:7px;left:8px;z-index:2;background:#233529ed;color:white;padding:4px 7px;border-radius:5px;font:600 .72rem/1.2 var(--sans)}
#catalog-view .cc-media[data-demo=on] .studio-reference{display:none}
#catalog-view .studio-gesture{display:none;position:absolute;inset:0}
#catalog-view [data-demo=on] .studio-gesture{display:block}
#lh-cup-guide .lh-art{height:clamp(90px,12vw,155px);background:#233529}
#lh-cup-guide .lh-art::before,#lh-cup-guide .lh-art::after,#lh-cup-guide .lh-model-image::before{content:none}
#lh-cup-guide .lh-art .studio-photo{position:absolute;inset:0;object-position:50% 52%}
#lh-cup-guide .lh-model-image{overflow:hidden}
#lh-cup-guide .lh-glass{background:center/cover url('/v3/guia/leche.webp');border:0;border-radius:6px;box-shadow:none}
#lh-cup-guide .lh-glass::after,#lh-cup-guide .lh-glass::before{content:none}
#lh-cup-guide .lh-milk[data-ratio=mitad] .lh-glass{background-image:url('/v3/guia/proporcion.webp')}
#lh-cup-guide .lh-pixel-cup{width:30px;height:30px;border:0;box-shadow:none;border-radius:50%;background:center/cover url('/v3/guia/espresso.webp')}
#lh-cup-guide .lh-pixel-cup::before,#lh-cup-guide .lh-pixel-cup::after{content:none}
#dialog .tile-art,#dialog .modelArt{padding:0;overflow:hidden;background:transparent}
#dialog .method-tile .tile-art{width:100%;height:clamp(60px,7vw,94px);border-radius:5px;background:#26332a}
#dialog .method-tile .filter-method-art{position:relative;display:block;flex:none}
#dialog .filter-method-art img{position:absolute;inset:0;display:block;width:100%;height:100%;padding:5px 8px;object-fit:contain;object-position:center}
#dialog .opt-pills .studio-photo,#dialog .method-chip .studio-photo,.filter-modal .pill>.studio-photo{width:36px;height:36px;flex:none;border-radius:6px}
#coffee-guide .coffee-guide-sprite{background-position:center;background-size:cover;background-repeat:no-repeat}
#coffee-guide .coffee-guide-sprite::after{content:none}
#coffee-guide [data-family=filtro] .coffee-guide-sprite{background-image:url('/v3/imagenes/hario-v60-ceramic-02.webp')}
#coffee-guide [data-family=espresso] .coffee-guide-sprite{background-image:url('/v3/imagenes/gaggia-classic-e24.webp')}
#coffee-guide [data-method=moka] .coffee-guide-sprite{background-image:url('/v3/imagenes/bialetti-moka-express.webp')}
#coffee-guide [data-method=prensa] .coffee-guide-sprite{background-image:url('/v3/imagenes/bodum-chambord.webp')}
#coffee-guide [data-method=capsulas] .coffee-guide-sprite{background-image:url('/v3/imagenes/nespresso-essenza-mini.webp')}
@media(max-width:800px){#catalog-view .cards,html[data-v3-coffee] .coffee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:681px) and (max-width:850px){
  :is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover{min-height:236px}
}
@media(max-width:680px){
  #catalog-view .cards,html[data-v3-coffee] .coffee-grid{gap:14px 10px}
  :is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover{min-height:clamp(180px,51vw,205px)}
  :is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover .coffee-stage{
    position:relative;min-width:0;overflow:hidden;align-self:center;width:100%;aspect-ratio:1.7;
    mask-image:linear-gradient(90deg,transparent,#000 10%,#000 96%,transparent),linear-gradient(transparent,#000 7%,#000 93%,transparent);
    mask-composite:intersect
  }
  :is(#catalog-view,[data-v3-coffee] .main-coffee) .coffee-cover .coffee-stage img{inset:0 0 0 auto;width:auto;height:100%;max-width:none}
  #catalog-view .cc-play{font-size:.67rem}
}
@media(max-width:520px){#catalog-view .cards,html[data-v3-coffee] .coffee-grid{grid-template-columns:minmax(0,1fr)}}
