/* ==========================================================================
   BE INLINE GT · Catálogo (#productos)
   Portada, tarjetas de producto y envase ilustrativo.
   ========================================================================== */

#catalog-full{padding-top:0}

/* --- Encabezado del catálogo ---------------------------------------------- */
.products-intro{padding-top:clamp(28px,5vw,64px);margin-bottom:22px}
.products-intro .section-head{margin-bottom:0;padding-block:8px}

/* --- Cierre del catálogo: foto/animación de las manos ------------------------ */
.products-outro{position:relative;isolation:isolate;margin-top:clamp(12px,2vw,28px)}
.products-outro .products-cover{position:relative;width:100%;margin:0;aspect-ratio:2.97;overflow:hidden;background:var(--orange);mask-image:linear-gradient(to bottom,transparent 0,#000 6%,#000 84%,transparent 100%)}
.products-outro .products-cover .cover-static{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.outro-copy{position:absolute;left:0;right:0;bottom:clamp(18px,4vw,56px);display:grid;justify-items:end;text-align:right;pointer-events:none}
.outro-copy>*{max-width:34ch;pointer-events:auto}
.outro-copy h3{font-size:clamp(1.8rem,3.4vw,3rem);font-weight:900;letter-spacing:-.06em;line-height:1;margin-bottom:8px}
.outro-copy p:not(.eyebrow){margin-bottom:14px;font-weight:600}
.outro-copy .eyebrow{margin-bottom:8px}
.outro-copy .actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
@media(max-width:760px){
  .products-outro .products-cover{aspect-ratio:1.5}
  .outro-copy{position:static;justify-items:start;text-align:left;margin-top:8px}
  .outro-copy .actions{justify-content:flex-start}
}

/* --- Tarjeta de producto -------------------------------------------------- */
#products{align-items:start}
.product-image{height:150px;background:#fa9a68;display:grid;place-items:center}
.product-image.curves{background:#9faed6}
.product-image.cafe{background:#aab99a}
button.product-image{width:100%;border:0}
.product-link{color:inherit;border:0;padding:0;background:none;font:inherit;text-align:left}
.product-link:hover{text-decoration:underline}

/* Tarjeta con foto real del envase */
#products .coffee-card{border-radius:18px;padding:10px;background:var(--paper)}
.coffee-card .product-image{height:clamp(205px,22vw,290px);overflow:hidden;border-radius:12px;background:radial-gradient(circle at 50% 51%,#ffe8cd 0 39%,transparent 40%),linear-gradient(145deg,#ffd8b7,#ffb982)}
.coffee-card .product-image img{display:block;width:76%;height:82%;max-width:85%;max-height:91%;min-height:0;object-fit:contain;align-self:center;justify-self:center;filter:drop-shadow(0 9px 9px #49210d42)}
.coffee-card .card-body{padding:14px 8px 8px;gap:4px}
.coffee-card h3{font-size:clamp(1.4rem,2.4vw,2rem);line-height:1.1}
.coffee-card .coffee-size{font-weight:700}
.coffee-card .actions{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:10px}
.coffee-card .actions .btn{min-height:44px;text-align:center}
@media(max-width:850px){.coffee-card .actions{grid-template-columns:1fr}}

/* --- Envase ilustrativo (productos sin foto) ----------------------------- */
.jar{width:85px;height:100px;position:relative;margin-top:15px;border-radius:16px 16px 13px 13px;background:linear-gradient(105deg,#0d201a,#395349 44%,#0a1c16);box-shadow:16px 12px 18px #0004;display:grid;align-content:center;text-align:center;color:#fff;padding:4px;font-size:10px;line-height:1.15;font-weight:800;transform:rotate(-8deg)}
.jar:before{content:"";position:absolute;top:-14px;left:9%;width:82%;height:20px;border-radius:5px 5px 2px 2px;background:repeating-linear-gradient(90deg,#142923 0 2px,#355045 2px 4px)}
.jar small{font-size:7px;letter-spacing:.07em;margin-bottom:4px}
.curves .jar{background:linear-gradient(105deg,#142452,#435a9b,#182858);transform:rotate(6deg)}
.cafe .jar{background:linear-gradient(105deg,#c5b098,#fff0dc,#d6c5aa);color:#183527;transform:rotate(4deg)}

/* --- Filtros por objetivo y orden --------------------------------------------- */
.filters{display:grid;gap:12px}
.filters-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.sort-label{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:.9rem}
.sort-label select{border:1px solid var(--line);border-radius:100px;padding:.6rem 2rem .6rem 1rem;background:#fff8ee;color:var(--forest);font:inherit;font-weight:600}
.goal-chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--forest);border-radius:100px;padding:.42rem .9rem;background:transparent;color:var(--forest);font-weight:700;font-size:.88rem;transition:background-color .2s ease,color .2s ease}
.chip span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:100px;background:#ffffff70;font-size:.74rem}
.chip:hover{background:#ffffff40}
.chip[aria-pressed="true"]{background:var(--forest);color:var(--paper)}
.chip[aria-pressed="true"] span{background:var(--orange);color:var(--forest)}
@media(max-width:560px){.goal-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none;margin-inline:-4%;padding-inline:4%}.chip{flex:none}.sort-label{width:100%;justify-content:space-between}}
