/* V57 · Diseño marketplace LA PARADITA (activo con html.lp57) */
html.lp57{--lp57-bg:#f3f3f4;--lp57-line:#e6e3e5;--lp57-ink:#1f1b20;--lp57-mute:#6b6470;--lp57-red:var(--lp53-primary,#ed0014)}
html.lp57 body{background:var(--lp57-bg)!important}
.lp57-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* ---------- Cabecera ---------- */
html.lp57 .header{flex-wrap:wrap!important;row-gap:0!important;padding-bottom:0!important;background:#fff!important}
html.lp57 .header .nav-action{display:none!important}
html.lp57 .lp57-catbtn{order:2;display:inline-flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--lp57-ink);font-family:inherit;font-weight:800;font-size:15px;line-height:1;padding:10px 12px;border-radius:12px;cursor:pointer;white-space:nowrap}
html.lp57 .lp57-catbtn:hover{background:#f5f1f2}
.lp57-bars{display:grid;gap:4px}.lp57-bars i{display:block;width:20px;height:2px;border-radius:2px;background:currentColor}
html.lp57 .lp57-search{order:3;flex:1 1 360px;display:flex;align-items:center;min-width:0;max-width:720px;margin:0 auto;background:#fff;border:2px solid var(--lp57-line);border-radius:999px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
html.lp57 .lp57-search:focus-within{border-color:var(--lp57-red);box-shadow:0 0 0 4px color-mix(in srgb,var(--lp57-red) 14%,transparent)}
html.lp57 .lp57-search input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;padding:12px 18px!important;font-family:inherit;font-weight:500;font-size:15px;line-height:1.2;color:var(--lp57-ink);box-shadow:none!important}
html.lp57 .lp57-search button{flex:0 0 auto;display:grid;place-items:center;width:52px;height:44px;margin:3px;border:0;border-radius:999px;background:var(--lp57-red);color:#fff;cursor:pointer}
html.lp57 .header .lp26-account{order:5}
html.lp57 .header .v21-cart-open{order:6}
html.lp57 .header nav#lp54-nav{order:10;flex:0 0 100%;justify-content:flex-start;gap:4px!important;margin:8px -9999px 0!important;padding:4px 9999px!important;border-top:1px solid var(--lp57-line);background:#fff}
html.lp57 .header nav#lp54-nav a{font-size:14px;font-weight:700;padding:9px 12px!important;color:var(--lp57-ink)}
html.lp57 .header{overflow:hidden}
@media(max-width:900px){
 html.lp57 .header{overflow:visible}
 html.lp57 .lp57-catbtn{display:none}
 html.lp57 .lp57-search{order:20;flex:0 0 100%;max-width:none;margin:8px 0 10px}
 html.lp57 .lp57-search input{padding:10px 14px!important;font-size:16px}
 html.lp57 .lp57-search button{width:46px;height:40px}
 html.lp57 .header nav#lp54-nav{margin:0!important;padding:8px!important;flex:initial;border-top:0}
}
/* ---------- Panel de categorías ---------- */
.lp57-drawer{margin:0 auto 0 0;height:100%;max-height:100%;width:min(360px,88vw);border:0;padding:0;background:#fff;box-shadow:20px 0 60px rgba(0,0,0,.25)}
.lp57-drawer[open]{display:flex;flex-direction:column;animation:lp57-in .25s ease-out}
.lp57-drawer::backdrop{background:rgba(20,10,15,.5)}
@keyframes lp57-in{from{transform:translateX(-30px);opacity:0}to{transform:none;opacity:1}}
.lp57-dhead{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:var(--lp57-red);color:#fff;font-size:18px}
.lp57-x{width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:24px;cursor:pointer}
.lp57-dlist{display:grid;padding:8px 0;overflow:auto;flex:1}
.lp57-dlist button{display:flex;align-items:center;gap:14px;width:100%;border:0;background:#fff;padding:14px 20px;font-family:inherit;font-weight:700;font-size:16px;line-height:1.2;color:var(--lp57-ink);text-align:left;cursor:pointer;border-bottom:1px solid #f2eef0}
.lp57-dlist button:hover{background:#fff5f5}.lp57-dlist .ic{font-size:22px;width:28px;text-align:center}.lp57-dlist em{margin-left:auto;font-style:normal;font-size:22px;color:#aaa}
.lp57-dfoot{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 16px;border-top:1px solid var(--lp57-line);background:#faf8f9}
.lp57-dfoot a{padding:10px;border-radius:10px;background:#fff;border:1px solid var(--lp57-line);font-weight:700;font-size:14px;color:var(--lp57-ink);text-decoration:none}
.lp57-empty{padding:20px;color:var(--lp57-mute)}
.lp57-drawer :focus-visible{outline:3px solid #1f1b20;outline-offset:2px}
/* ---------- Portada contenida ---------- */
@media(min-width:1000px){
 html.lp57 #hero.hero{max-width:1240px!important;margin:18px auto 0!important;border-radius:20px!important;overflow:hidden}
}
/* ---------- Secciones como bloques blancos ---------- */
html.lp57 main#inicio>section:not(#hero):not(.lp56-hide){background:transparent!important}
html.lp57 main#inicio h2{font-size:clamp(21px,2.1vw,28px)!important;line-height:1.2!important;letter-spacing:-.01em}
html.lp57 main#inicio .eyebrow{font-size:11px!important;letter-spacing:.12em}
.lp57-headrow{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;column-gap:16px}
.lp57-headrow>.eyebrow{flex:0 0 100%;order:0}.lp57-headrow>p{flex:0 0 100%;order:3}
.lp57-all{order:2;font-weight:800;font-size:14px;color:var(--lp57-red)!important;text-decoration:none;white-space:nowrap}
.lp57-all::after{content:" ›";font-size:18px}
.lp57-headrow>h2{order:1}
/* Beneficios en una sola franja */
html.lp57 .lp54-trust{max-width:1240px;margin:18px auto 0!important;padding:0!important;gap:0!important;background:#fff;border:1px solid var(--lp57-line);border-radius:16px;overflow:hidden}
html.lp57 .lp54-trust>*{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;transform:none!important}
html.lp57 .lp54-trust>*+*{border-left:1px solid var(--lp57-line)!important}
@media(max-width:900px){html.lp57 .lp54-trust{margin:12px 12px 0!important}html.lp57 .lp54-trust>*+*{border-left:0!important}html.lp57 .lp54-trust>*:nth-child(even){border-left:1px solid var(--lp57-line)!important}html.lp57 .lp54-trust>*:nth-child(n+3){border-top:1px solid var(--lp57-line)!important}}
/* ---------- Categorías en círculos ---------- */
html.lp57 #category-pills{display:flex!important;flex-wrap:nowrap!important;gap:14px!important;overflow-x:auto;padding:6px 2px 12px!important;scroll-snap-type:x proximity;scrollbar-width:thin}
html.lp57 #category-pills a{flex:0 0 auto;scroll-snap-align:start;display:flex!important;flex-direction:column!important;align-items:center;gap:8px!important;width:104px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--lp57-ink)!important;font-size:13px!important;font-weight:700!important;text-align:center;line-height:1.2;white-space:normal!important}
html.lp57 #category-pills a .lp55-ic{display:grid!important;place-items:center;width:84px;height:84px;border-radius:50%!important;background:#fff;border:2px solid var(--lp57-line);font-size:34px!important;transition:border-color .2s,transform .2s}
html.lp57 #category-pills a:hover .lp55-ic{border-color:var(--lp57-red);transform:translateY(-2px)}
html.lp57 #category-pills a.selected{color:var(--lp57-red)!important}
html.lp57 #category-pills a.selected .lp55-ic{border-color:var(--lp57-red);background:#fff5f5}
/* ---------- Tarjetas de producto ---------- */
html.lp57 #products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(215px,1fr))!important;gap:14px!important}
html.lp57 #products>article.product{display:flex!important;flex-direction:column;background:#fff!important;border:1px solid var(--lp57-line)!important;border-radius:14px!important;box-shadow:none!important;overflow:hidden;min-height:0!important}
html.lp57 #products>article.product:hover{box-shadow:0 12px 28px rgba(30,10,20,.12)!important;transform:translateY(-2px)}
html.lp57 #products .picture{position:relative;aspect-ratio:1/1;height:auto!important;background:#fff!important;padding:12px;border-bottom:1px solid #f1eef0}
html.lp57 #products .picture img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important}
.lp57-badge{position:absolute;top:10px;left:10px;background:var(--lp57-red);color:#fff;font-family:inherit;font-weight:800;font-size:13px;line-height:1;z-index:2;padding:6px 9px;border-radius:8px}
html.lp57 #products .content{display:flex!important;flex-direction:column;gap:4px;padding:12px 14px 14px!important;flex:1}
html.lp57 #products .content>small.eyebrow{display:none!important}
html.lp57 #products .lp57-brand{order:1;font-size:12px!important;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--lp57-mute)!important;margin:0!important}
html.lp57 #products .content h3{order:2;font-size:15px!important;font-weight:600!important;line-height:1.3!important;margin:0!important;color:var(--lp57-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
html.lp57 #products .content>p{display:none!important}
html.lp57 #products .price{order:3;font-size:20px!important;font-weight:900!important;color:var(--lp57-red)!important;margin:6px 0 0!important}
html.lp57 #products .lp29-promo-pill{order:4;align-self:flex-start;background:#fff1ef!important;color:#a80613!important;font-size:11px!important;padding:4px 8px!important;border-radius:6px!important;white-space:normal}
html.lp57 #products .content>div:has(.chip){order:5;margin:0!important}
html.lp57 #products .chip{background:transparent!important;color:#127a3a!important;padding:0!important;font-size:12px!important;font-weight:700}
html.lp57 #products .chip::before{content:"● "}
html.lp57 #products .lp23-card-actions{order:9;margin-top:auto!important;padding-top:10px}
html.lp57 #products .lp23-card-actions button{width:100%;border-radius:999px!important;padding:11px 14px!important;font-weight:800!important;font-size:14px!important}
@media(max-width:600px){
 html.lp57 #products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html.lp57 #products .content{padding:10px!important}html.lp57 #products .price{font-size:17px!important}
 html.lp57 #products .lp23-card-actions button{padding:9px 10px!important;font-size:13px!important}
 html.lp57 #category-pills a{width:84px}html.lp57 #category-pills a .lp55-ic{width:68px;height:68px;font-size:28px!important}
}
/* ---------- Carruseles (Destacados y Oportunidades) ---------- */
.lp57-railwrap{position:relative}
html.lp57 .lp57-rail{display:flex!important;flex-wrap:nowrap!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 2px 14px!important;scrollbar-width:none;justify-content:flex-start!important}
html.lp57 .lp57-rail::-webkit-scrollbar{display:none}
html.lp57 .lp57-rail>.lp28-feature-card{flex:0 0 230px!important;max-width:230px!important;min-width:0!important;scroll-snap-align:start;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid var(--lp57-line)!important;border-radius:14px!important;box-shadow:none!important;padding:0 0 14px!important;overflow:hidden;position:relative}
html.lp57 .lp57-rail>.lp28-feature-card>*{grid-column:auto!important;grid-row:auto!important;justify-self:auto!important;margin-left:14px!important;margin-right:14px!important}
html.lp57 .lp57-rail .lp43-feature-picture,html.lp57 .lp57-rail .lp28-feature-card>img{order:-1;margin:0 0 10px!important;width:100%!important;max-width:none!important;aspect-ratio:1/1;height:auto!important;min-height:0!important;background:#fff;border-bottom:1px solid #f1eef0;border-radius:0!important;object-fit:contain!important;padding:10px;box-sizing:border-box}
html.lp57 .lp57-rail .lp43-feature-picture img{width:100%!important;height:100%!important;object-fit:contain!important}
html.lp57 .lp57-rail .lp28-tag,html.lp57 .lp57-rail .lp29-promo-pill{position:absolute;top:10px;left:0;margin:0 10px!important;z-index:2;font-size:11px!important}
html.lp57 .lp57-rail h3{font-size:15px!important;font-weight:600!important;line-height:1.3!important;margin:0 14px 4px!important}
html.lp57 .lp57-rail .lp54-fprice,html.lp57 .lp57-rail .lp28-feature-card>p:not(.lp54-fnote){font-size:16px!important;color:var(--lp57-ink)!important}
html.lp57 .lp57-rail .lp54-fprice{font-size:19px!important;font-weight:900!important;color:var(--lp57-red)!important}
html.lp57 .lp57-rail .lp54-fnote:empty{display:none}
html.lp57 .lp57-rail button,html.lp57 .lp57-rail .lp28-open{margin-top:auto!important;border-radius:999px!important;font-size:14px!important;padding:10px 12px!important;align-self:stretch}
.lp57-arrow{position:absolute;top:40%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border-radius:50%;border:1px solid var(--lp57-line);background:#fff;color:var(--lp57-ink);font-size:26px;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.14);opacity:0;pointer-events:none;transition:opacity .2s}
.lp57-arrow.prev{left:-14px}.lp57-arrow.next{right:-14px}
.lp57-railwrap.can-prev .prev,.lp57-railwrap.can-next .next{opacity:1;pointer-events:auto}
@media(max-width:900px){.lp57-arrow{display:none}html.lp57 .lp57-rail>.lp28-feature-card{flex-basis:46vw!important;max-width:46vw!important}}
html.lp57 :is(.lp57-search,.lp57-catbtn,.lp57-arrow,.lp57-all):focus-visible{outline:3px solid #1f1b20;outline-offset:2px}
@media(prefers-reduced-motion:reduce){html.lp57 .lp57-rail{scroll-behavior:auto}.lp57-drawer[open]{animation:none}}

/* Portada más compacta, como banner de marketplace */
html.lp57 #hero h1,html.lp57 #hero #hero-title{font-size:clamp(30px,4.2vw,56px)!important;line-height:1.02!important}
html.lp57 .lp57-rail{padding-left:0!important}
html.lp57 #products .picture .lp28-tag,html.lp57 #products .picture [class*="lp28-tag"]{left:auto!important;right:10px!important}
