/* ===== Carrito lateral (tema-verde.css fuerza verde con !important) ===== */
.yc{display:none;position:fixed;inset:0;z-index:1000}
.yc.active{display:block}
.yc *{box-sizing:border-box;text-shadow:none}
.yc-overlay{position:absolute;inset:0;background:rgba(0,0,0,.68);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.yc-panel{position:absolute;top:10px;right:10px;bottom:10px;display:flex;flex-direction:column;width:min(430px,calc(100% - 20px));overflow:hidden;border:1px solid #262626;border-radius:24px;background:#0d0d0d;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.yc.active .yc-overlay{animation:ycFondo .3s ease both}
.yc.active .yc-panel{animation:ycEntra .42s cubic-bezier(.2,.8,.2,1) both}
@keyframes ycFondo{from{opacity:0}to{opacity:1}}
@keyframes ycEntra{from{opacity:0;transform:translateX(48px)}to{opacity:1;transform:none}}

.yc button{margin:0;box-shadow:none;cursor:pointer}
.yc button:focus-visible,.yc a:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* encabezado */
.yc-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.1rem 1rem 1.4rem;border-bottom:1px solid #1f1f1f}
.yc .yc-title{display:flex;align-items:center;gap:.65rem;margin:0;font:400 1.9rem/1 'Anton','Archivo Black',sans-serif;letter-spacing:.03em;text-transform:uppercase;color:#fff!important}
.yc .yc-count{display:grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#39ff14;font:800 .72rem/1 'Inter',sans-serif;color:#000!important}
.yc .yc-count:empty{display:none}
.yc .yc-close{width:42px;height:42px;padding:0;border:1px solid #2a2a2a;border-radius:50%;background:transparent;font:400 1.5rem/1 'Inter',sans-serif;color:#fff!important;transition:background .2s}
@media (hover:hover){.yc .yc-close:hover{background:#1f1f1f}}

/* prendas */
.yc-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 1.4rem 1.2rem;scrollbar-width:thin;scrollbar-color:#333 transparent}
.yc-item{display:flex;gap:1rem;padding:1.1rem 0;border-bottom:1px solid #1c1c1c}
.yc-thumb{flex:none;width:88px;height:108px;overflow:hidden;border-radius:14px;background:#050505}
.yc-thumb.claro{background:#fcfcfc}
.yc-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.yc-thumb.claro img{object-fit:contain}
.yc-info{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:.45rem}
.yc-line{display:flex;justify-content:space-between;align-items:flex-start;gap:.8rem;width:100%}
.yc .yc-name{margin:0;font:800 .8rem/1.4 'Inter',sans-serif;letter-spacing:.06em;text-align:left;text-transform:uppercase;overflow-wrap:anywhere;color:#fff!important}
.yc .yc-price{margin:0;font:400 1.15rem/1.2 'Anton','Archivo Black',sans-serif;letter-spacing:.03em;color:#fff!important}
.yc .yc-size{padding:.3rem .65rem;border:1px solid #2a2a2a;border-radius:999px;font:700 .66rem/1 'Inter',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#cfcfcf!important}
.yc .yc-size.falta{border-style:dashed;color:#8d8d8d!important}
.yc-actions{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:auto}
.yc-qty{display:flex;align-items:center;border:1px solid #2a2a2a;border-radius:999px}
.yc .yc-qty button{width:34px;height:32px;padding:0;border:0;border-radius:999px;background:transparent;font:500 1.05rem/1 'Inter',sans-serif;color:#fff!important}
@media (hover:hover){.yc .yc-qty button:hover{background:#1f1f1f}}
.yc .yc-qty span{min-width:24px;text-align:center;font:800 .8rem 'Inter',sans-serif;font-variant-numeric:tabular-nums;color:#fff!important}
.yc .yc-remove{padding:.4rem 0;border:0;background:none;font:600 .72rem 'Inter',sans-serif;text-decoration:underline;text-underline-offset:3px;color:#7d7d7d!important}
@media (hover:hover){.yc .yc-remove:hover{color:#ff7b7b!important}}

/* sugerencias */
.yc .yc-more-title{margin:1.5rem 0 .7rem;font:700 .66rem 'Inter',sans-serif;letter-spacing:.2em;text-align:left;text-transform:uppercase;color:#7d7d7d!important}
.yc-more{display:flex;align-items:center;gap:.8rem;margin-bottom:.55rem;padding:.55rem .65rem .55rem .55rem;border:1px solid #1f1f1f;border-radius:16px}
.yc-more .yc-thumb{width:48px;height:56px;border-radius:10px}
.yc-more{transition:border-color .2s,background .2s}
@media (hover:hover){.yc-more:hover{border-color:#333;background:#141414}}
.yc .yc-more-link{flex:1;min-width:0;display:flex;align-items:center;gap:.8rem;border-radius:10px;text-decoration:none}
@media (hover:hover){.yc .yc-more-link:hover p{text-decoration:underline;text-underline-offset:3px}}
.yc-more-info{flex:1;min-width:0}
.yc .yc-more-info p{margin:0;font:700 .72rem/1.4 'Inter',sans-serif;letter-spacing:.05em;text-align:left;text-transform:uppercase;color:#fff!important}
.yc .yc-more-info span{font:500 .74rem 'Inter',sans-serif;color:#8d8d8d!important}
.yc .yc-add{flex:none;width:38px;height:38px;padding:0;border:1px solid #39ff14;border-radius:50%;background:transparent;font:500 1.25rem/1 'Inter',sans-serif;color:#39ff14!important;transition:background .2s,color .2s}
@media (hover:hover){.yc .yc-add:hover{background:#39ff14;color:#000!important}}

/* carrito vacío */
.yc-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;min-height:100%;padding:2rem 0;text-align:center}
.yc-empty svg{color:#3a3a3a}
.yc .yc-empty p{margin:0;font:500 .9rem 'Inter',sans-serif;color:#a0a0a0!important}
.yc .yc-empty a{display:inline-flex;align-items:center;min-height:48px;padding:0 1.8rem;border-radius:999px;background:#39ff14;font:800 .74rem 'Inter',sans-serif;letter-spacing:.16em;text-decoration:none;text-transform:uppercase;color:#000!important}

/* total y botones */
.yc-foot{padding:1.1rem 1.4rem calc(1rem + env(safe-area-inset-bottom,0px));border-top:1px solid #262626;background:#101010}
.yc-foot[hidden]{display:none}
.yc .yc-total{display:flex;justify-content:space-between;align-items:baseline;margin:0}
.yc .yc-total span:first-child{font:700 .68rem 'Inter',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#8d8d8d!important}
.yc .yc-total span:last-child{font:400 2.4rem/1 'Anton','Archivo Black',sans-serif;letter-spacing:.02em;color:#39ff14!important}
.yc .yc-note{margin:.35rem 0 1rem;font:400 .76rem 'Inter',sans-serif;text-align:left;color:#7d7d7d!important}
.yc .yc-pay{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;border:1px solid #39ff14;border-radius:999px;background:#39ff14;font:800 .8rem 'Inter',sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#000!important;transition:box-shadow .2s,transform .15s}
@media (hover:hover){.yc .yc-pay:hover{box-shadow:0 0 28px rgba(57,255,20,.35)}}
.yc .yc-pay:active{transform:scale(.98)}
.yc .yc-keep{display:block;margin:.8rem auto 0;padding:.2rem;border:0;background:none;font:600 .76rem 'Inter',sans-serif;text-decoration:underline;text-underline-offset:3px;color:#8d8d8d!important}

@media(prefers-reduced-motion:reduce){.yc.active .yc-overlay,.yc.active .yc-panel{animation:none}}
