/* ============================================================
   Liquida Express — Marketplace Premium design system
   Paleta limpia (tinta casi-negra + acento teal). Distinta del
   look rojo/TikTok. Mobile-first, contenedor centrado.
   ============================================================ */
:root{
  --ink:#14171f; --ink-2:#2b2f3a; --muted:#667085; --faint:#98a2b3;
  --line:#e7e9ee; --bg:#ffffff; --surface:#f6f7f9; --surface-2:#eef1f5;
  --accent:#0f766e; --accent-ink:#0b5b55; --accent-soft:#e6f4f2;
  --gold:#f59e0b; --sale:#c0392b;
  --radius:14px; --radius-lg:20px;
  --shadow:0 1px 2px rgba(16,24,40,.04),0 6px 24px -12px rgba(16,24,40,.18);
  --shadow-lg:0 24px 60px -24px rgba(16,24,40,.28);
  --maxw:1120px;
  --font:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html{overflow-x:clip}
body{font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip;max-width:100%}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* ---------- topbar + header ---------- */
.topbar{background:var(--ink);color:#fff;font-size:12.5px;letter-spacing:.02em;text-align:center;padding:9px 16px;font-weight:500}
.topbar b{color:#fff}
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line)}
.site-header .inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand-logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.02em}
.brand-logo .mark{width:30px;height:30px;border-radius:9px;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:15px;font-weight:800;line-height:1;white-space:nowrap;letter-spacing:-.04em;flex:0 0 auto}
.brand-logo em{margin-left:-2px}
.brand-logo .mark b{color:var(--accent);font-weight:800}
.brand-logo em{font-style:normal;color:var(--accent)}
.site-nav{display:flex;gap:26px;font-size:14.5px;font-weight:500;color:var(--muted)}
.site-nav a:hover{color:var(--ink)}
.header-cta{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--accent);background:var(--accent-soft);padding:8px 13px;border-radius:999px}

/* ---------- breadcrumb ---------- */
.breadcrumb{font-size:13px;color:var(--faint);padding:18px 0 4px}
.breadcrumb a:hover{color:var(--muted)}
.breadcrumb .sep{margin:0 8px;color:#cfd4dc}

/* ---------- product grid ---------- */
.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;padding:22px 0 20px}
@media(max-width:900px){.product{grid-template-columns:minmax(0,1fr);gap:26px}.product>*{min-width:0}}

.gallery-main{position:relative;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);aspect-ratio:1/1}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.gallery-badge{position:absolute;top:14px;left:14px;background:var(--ink);color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:6px 11px;border-radius:999px}
.gnav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:var(--shadow)}
.gnav svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.gnav.prev{left:12px}.gnav.next{right:12px}
.thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding-bottom:4px}
.thumbs::-webkit-scrollbar{height:0}
.thumbs img{width:74px;height:74px;flex:0 0 auto;object-fit:cover;border-radius:11px;border:2px solid var(--line);cursor:pointer;opacity:.72;transition:.15s;background:var(--surface)}
.thumbs img:hover{opacity:1}
.thumbs img.active{border-color:var(--ink);opacity:1}

.p-brand{font-size:13px;font-weight:600;color:var(--accent);text-transform:uppercase;letter-spacing:.08em;margin-bottom:9px}
.p-title{font-size:26px;line-height:1.28;font-weight:800;letter-spacing:-.02em;margin-bottom:12px}
@media(max-width:900px){.p-title{font-size:21px}}
.p-rating{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--muted);margin-bottom:18px}
.p-rating .stars{color:var(--gold);letter-spacing:1px;font-size:15px}
.p-rating .score{font-weight:700;color:var(--ink)}
.p-rating .dot{color:#cfd4dc}

.price-wrap{display:flex;align-items:flex-end;gap:12px;margin-bottom:6px}
.price-now{font-size:36px;font-weight:800;letter-spacing:-.03em;line-height:1}
.price-now .cur{font-size:20px;font-weight:700;vertical-align:super;margin-right:2px}
.price-now .code{font-size:15px;font-weight:600;color:var(--muted);margin-left:4px}
.price-was{font-size:16px;color:var(--faint);text-decoration:line-through;margin-bottom:3px}
.price-off{background:var(--accent-soft);color:var(--accent-ink);font-size:13px;font-weight:700;padding:3px 9px;border-radius:8px;margin-bottom:4px}
.price-note{font-size:13px;color:var(--muted);margin:2px 0 18px}

.ship-badge{display:flex;align-items:center;gap:9px;background:var(--accent-soft);border:1px solid #cfe9e5;color:var(--accent-ink);border-radius:12px;padding:11px 14px;font-size:14px;font-weight:600;margin-bottom:20px}
.ship-badge svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;flex:0 0 auto}

.highlights{list-style:none;margin:0 0 22px;display:flex;flex-direction:column;gap:10px}
.highlights li{display:flex;gap:11px;font-size:14.5px;color:var(--ink-2)}
.highlights svg{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;margin-top:1px}

.buy-actions{display:flex;flex-direction:column;gap:11px;margin-bottom:20px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:16px;font-weight:700;border-radius:13px;padding:16px 20px;border:2px solid transparent;transition:.15s;width:100%}
.btn-primary{background:var(--ink);color:#fff}
.btn-primary:hover{background:#000;transform:translateY(-1px)}
.btn-outline{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-outline:hover{border-color:var(--ink)}

.trust-row{display:flex;flex-wrap:wrap;gap:8px 22px;padding-top:6px;border-top:1px solid var(--line)}
.trust{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);padding:12px 0}
.trust svg{width:18px;height:18px;fill:none;stroke:var(--accent);stroke-width:2;flex:0 0 auto}
.support{font-size:13.5px;color:var(--muted);margin-top:4px}
.support a{color:var(--accent);font-weight:600}

/* ---------- sections ---------- */
.section{padding:30px 0}
.section-head{font-size:22px;font-weight:800;letter-spacing:-.02em;margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid var(--surface-2)}
.specs{width:100%;border-collapse:collapse;font-size:14.5px;max-width:640px}
.specs td{padding:12px 4px;border-bottom:1px solid var(--line);vertical-align:top}
.specs td:first-child{color:var(--muted);width:42%;font-weight:500}
.specs td:last-child{font-weight:600}
.desc-text{font-size:15.5px;color:var(--ink-2);max-width:760px;margin-bottom:20px}
.desc-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.desc-images img{width:100%;border-radius:var(--radius);border:1px solid var(--line)}

.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 2px;font-weight:650;font-size:15.5px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-ico{flex:0 0 auto;color:var(--faint);transition:transform .2s}
.faq-ico svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.faq-item[open] .faq-ico{transform:rotate(180deg)}
.faq-a{padding:0 2px 18px;font-size:14.5px;line-height:1.65;color:var(--muted);max-width:760px}

/* ---------- sticky buy bar (mobile) ---------- */
.buybar{position:fixed;left:0;right:0;bottom:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));display:none;align-items:center;gap:12px}
.buybar .bb-price{font-weight:800;font-size:18px;white-space:nowrap}
.buybar .bb-price small{font-size:12px;color:var(--muted);font-weight:600}
.buybar .btn{padding:14px 18px;font-size:15px}
@media(max-width:900px){.buybar{display:flex}body{padding-bottom:76px}}

/* ---------- footer ---------- */
.footer{background:var(--surface);border-top:1px solid var(--line);margin-top:34px;padding:40px 0 0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.3fr 1fr;gap:30px}
@media(max-width:760px){.footer-grid{grid-template-columns:1fr 1fr}}
.footer h4{font-size:14px;font-weight:700;margin-bottom:12px}
.footer p,.footer li,.footer a{font-size:13.5px;color:var(--muted);line-height:1.7}
.footer ul{list-style:none}
.footer a:hover{color:var(--ink)}
.pay{display:flex;gap:8px;margin-top:8px}
.pay span{background:var(--ink);color:#cbd0d8;font-size:11px;font-weight:600;padding:5px 9px;border-radius:6px}
.footer-bottom{border-top:1px solid var(--line);margin-top:32px;padding:16px 0}
.footer-bottom .inner{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12.5px;color:var(--faint)}
.footer-bottom a{color:var(--faint);margin-left:14px}

/* ---------- páginas legales / políticas ---------- */
.legal{max-width:820px;margin:0 auto;padding:32px 0 54px}
.legal .back{display:inline-block;font-size:13.5px;color:var(--muted);margin-bottom:18px}
.legal .back:hover{color:var(--ink)}
.legal h1{font-size:30px;font-weight:800;letter-spacing:-.02em;margin-bottom:6px}
.legal .updated{font-size:13px;color:var(--faint);margin-bottom:24px}
.legal h2{font-size:18px;font-weight:700;margin:26px 0 9px}
.legal p,.legal li{font-size:15px;color:var(--ink-2);line-height:1.75}
.legal p{margin-bottom:11px}
.legal ul{padding-left:20px;margin:0 0 12px}
.legal li{margin-bottom:6px}
.legal a{color:var(--accent);font-weight:600}
.legal .box{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:14px 0}
@media(max-width:560px){.legal h1{font-size:24px}}

/* ---------- refinos mobile ---------- */
@media(max-width:560px){
  .container{padding:0 15px}
  .site-header .inner{height:56px}
  .brand-logo{font-size:17px}.brand-logo .mark{width:26px;height:26px}
  .header-cta{display:none}
  .p-title{font-size:20px}
  .price-now{font-size:30px}
  .section{padding:24px 0}
  .section-head{font-size:19px}
  .footer-grid{gap:24px 20px}
  .btn{font-size:15px;padding:15px 18px}
}

/* ---------- header mobile: solo el logo (el menú estorbaba) ---------- */
@media(max-width:700px){
  .site-nav{display:none}
  .header-cta{display:none}
  .brand-logo{gap:8px;font-size:18px}
}
