.yp{--yp-rojo:#c8102e;--yp-negro:#161214;--yp-amarillo:#ffc31f;--yp-crema:#fff8ee;--yp-gris:#5b5450;--yp-borde:#e8e0d4;color:var(--yp-negro);padding-bottom:96px}
.yp-sec{margin:0 0 32px}
.yp-h2{font-size:1.375rem;line-height:1.2;font-weight:800;margin:0 0 12px;text-wrap:balance}
.yp-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.yp-sec-head .yp-h2{margin:0}
.yp-sec-acc{display:flex;align-items:center;gap:8px}
.yp-ver{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:var(--yp-rojo);font-weight:700;white-space:nowrap}
.yp-nav{display:flex;gap:8px}
@media (max-width:374px){.yp-nav{display:none}}
.yp-flecha{width:44px;height:44px;padding:0;border:1px solid var(--yp-borde);border-radius:50%;background:#fff;color:var(--yp-negro);font-size:1.75rem;line-height:1;cursor:pointer}
.yp-flecha:disabled{opacity:.35;cursor:default}
.yp-carrusel{display:grid;grid-auto-flow:column;grid-auto-columns:min(78%,340px);gap:12px;margin:0 -16px;padding:0 16px 4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 16px;scrollbar-width:none;cursor:grab}
.yp-carrusel::-webkit-scrollbar{display:none}
.yp-carrusel.is-arrastrando{scroll-snap-type:none;cursor:grabbing;user-select:none}
.yp-promo{scroll-snap-align:start;position:relative;display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:20px;overflow:hidden;color:#fff;background:radial-gradient(circle at 70% 75%,#5c0b18 0,var(--yp-negro) 62%)}
.yp-promo--rojo{background:radial-gradient(circle at 30% 20%,#e3233f 0,var(--yp-rojo) 45%,#8a0a1f 100%)}
.yp-promo--vino{background:linear-gradient(160deg,#a50d26 0,#5e0716 100%)}
.yp-promo-cab{padding-right:96px}
.yp-promo-ante{margin:0 0 4px;font-size:.8125rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--yp-amarillo)}
.yp-promo-t{margin:0;font-size:1.375rem;font-weight:800;line-height:1.05;text-transform:uppercase;text-wrap:balance}
.yp-promo-sello{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:88px;height:88px;margin:0;border-radius:50%;background:var(--yp-amarillo);color:var(--yp-negro);line-height:1;text-align:center;transform:rotate(-8deg)}
.yp-promo-sello span{font-size:.6875rem;font-weight:800;text-transform:uppercase}
.yp-promo-sello strong{font-size:1.1875rem;font-weight:800}
.yp-promo-img{display:block;width:100%;height:auto;aspect-ratio:4/3;margin:-4px 0 0;user-select:none;-webkit-user-drag:none}
.yp-promo-pie{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.yp-promo-b{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:0 12px;border:0;border-radius:12px;background:var(--yp-amarillo);color:var(--yp-negro);font:inherit;font-size:.9375rem;font-weight:800;text-align:left;cursor:pointer}
.yp-promo-b span,.yp-promo-b strong{white-space:nowrap}
.yp-puntos{display:flex;justify-content:center;margin-top:4px}
.yp-punto{position:relative;width:32px;height:44px;padding:0;border:0;background:none;cursor:pointer}
.yp-punto::before{content:"";position:absolute;top:18px;left:12px;width:8px;height:8px;border-radius:4px;background:#cfc6b8}
.yp-punto[aria-current=true]::before{left:6px;width:20px;background:var(--yp-rojo)}
.yp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:0;border-radius:14px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}
.yp-btn--primary{background:var(--yp-rojo);color:#fff;width:100%;min-height:52px}
.yp-btn--yellow{background:var(--yp-amarillo);color:var(--yp-negro)}
.yp-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.yp-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid var(--yp-borde)}
.yp-thumb{flex:0 0 52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#f6c26b,#d9822b)}
.yp-foto{object-fit:contain;background:none;border-radius:0;aspect-ratio:1}
.yp-thumb--palitos{border-radius:14px;background:repeating-linear-gradient(100deg,#f3d58f 0 9px,#d9a24b 9px 12px)}
.yp-item-txt{flex:1;min-width:0}
.yp-item-n{margin:0;font-size:.9375rem;line-height:1.25;font-weight:800;overflow-wrap:normal;word-break:normal}
.yp-item-n a{display:flex;align-items:center;min-height:44px;color:inherit;text-decoration:none}
.yp-item-i{margin:2px 0 0;font-size:.8125rem;color:var(--yp-gris);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yp-item-p{font-weight:800}
.yp-add{flex:0 0 44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--yp-rojo);color:#fff;font-size:1.5rem;font-weight:800;cursor:pointer}
.yp-sheet{width:100%;max-width:560px;max-height:88vh;margin:auto auto 0;padding:0;border:0;border-radius:22px 22px 0 0;color:var(--yp-negro)}
.yp-sheet::backdrop{background:rgba(22,18,20,.6)}
.yp-sheet-in{display:flex;flex-direction:column;gap:14px;padding:16px}
.yp-sheet-head{display:flex;justify-content:space-between;gap:12px}
.yp-step{margin:0;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--yp-rojo)}
.yp-sheet-t{margin:2px 0 0;font-size:1.5rem;font-weight:800}
.yp-close{flex:0 0 44px;height:44px;padding:0;border:0;border-radius:50%;background:#f4f1ec;font-size:1.5rem;cursor:pointer}
.yp-help{display:block;margin:8px 0 6px;font-size:.875rem;font-weight:700}
.yp-help[hidden]{display:none}
.yp-chips{display:flex;flex-wrap:wrap;gap:8px}
.yp-chip{min-height:40px;padding:0 12px;border:1px solid var(--yp-negro);border-radius:20px;background:var(--yp-negro);color:#fff;font:inherit;font-size:.875rem;cursor:pointer}
.yp-chip[aria-pressed=false]{background:#fff;color:var(--yp-gris);border-style:dashed;text-decoration:line-through}
.yp-extras{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 16px}
.yp-extra{display:flex;align-items:center;gap:8px;min-height:44px;border-bottom:1px solid var(--yp-borde);font-size:.9375rem}
.yp-extra span:nth-child(2){flex:1}
.yp-extra input{width:20px;height:20px;accent-color:var(--yp-rojo)}
.yp-input{width:100%;min-height:44px;box-sizing:border-box;padding:0 12px;border:1px solid var(--yp-borde);border-radius:12px;font:inherit}
.yp-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.yp-pick-b{min-height:48px;border:1px solid var(--yp-borde);border-radius:12px;background:#fff;font:inherit;font-weight:700;cursor:pointer}
.yp-sheet-foot{position:sticky;bottom:0;display:flex;flex-direction:column;gap:8px;background:#fff;padding-top:8px}
.yp-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:50;max-width:560px;margin:0 auto;padding:8px;border-radius:18px;background:var(--yp-negro);color:#fff;box-sizing:border-box;box-shadow:0 8px 24px rgba(22,18,20,.3);transform:translateY(calc(100% + 24px));transition:transform .25s ease}
.yp-bar.is-visible{transform:none}
.yp-acciones{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px}
.yp-accion{display:flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:12px;background:#2c2427;color:#fff;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}
.yp-accion--principal{background:var(--yp-amarillo);color:var(--yp-negro)}
.yp-carro{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding-left:8px}
.yp-acciones[hidden],.yp-carro[hidden]{display:none}
.yp-bar-l{display:block;font-size:.75rem;color:#d9d2c7}
.yp-bar-t{display:block;font-size:1.125rem;font-weight:800}
.yp-btn--wa{width:100%;min-height:52px;background:#25d366;color:#0b2e17}
.yp-error{margin:0;padding:10px 12px;border-radius:12px;background:#fff3f4;color:#8a0a1f;font-size:.9375rem;font-weight:700}
.yp-btn--wa[hidden]{display:none}
.yp-resumen{margin:0;padding:0 0 0 18px;font-size:.9375rem;line-height:1.5}
.yp-total{margin:4px 0 0;font-size:1rem}
.yp-entrega{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0}
.yp-entrega legend{width:100%;padding:0}
.yp-opcion{flex:1 1 140px;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 12px;border:1px solid var(--yp-borde);border-radius:12px;font-weight:700;cursor:pointer}
.yp-opcion:has(input:checked){border-color:var(--yp-rojo);background:#fff3f4}
.yp-opcion input{width:20px;height:20px;margin:0;accent-color:var(--yp-rojo)}
@media (prefers-reduced-motion:reduce){.yp-bar{transition:none}}
@media (min-width:768px){
.yp-list--fotos{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.yp-list--fotos .yp-item{flex-wrap:wrap;justify-content:space-between;padding:16px}
.yp-list--fotos .yp-foto{flex:0 0 100%;width:auto;height:auto;max-width:180px;margin:0 auto 4px}
.yp-list--fotos .yp-item-txt{flex:1 0 100%;text-align:center}
.yp-list--fotos .yp-item-i{white-space:normal}
}
/* Mosaico de promos (una grande y dos apiladas) desde 1024 px; antes, carrusel. */
@media (min-width:1024px){
.yp-carrusel{grid-auto-flow:row;grid-template-columns:1.15fr 1fr;margin:0;padding:0;overflow:visible;cursor:auto}
.yp-promo:first-child{grid-row:span 2}
.yp-promo:first-child .yp-promo-t{font-size:2.25rem}
.yp-promo:not(:first-child){display:grid;grid-template-columns:1fr 1fr;align-items:center;column-gap:8px}
.yp-promo:not(:first-child) .yp-promo-cab{grid-column:1;grid-row:1}
.yp-promo:not(:first-child) .yp-promo-pie{grid-column:1/-1;grid-row:2;flex-direction:row}
.yp-promo:not(:first-child) .yp-promo-b{flex:1}
.yp-promo:not(:first-child) .yp-promo-img{grid-column:2;grid-row:1;margin:0}
.yp-promo:not(:first-child) .yp-promo-cab{padding-right:0}
.yp-nav,.yp-puntos{display:none}
}
