/* NOVEDADES MODA — paleta tomada del logo: blanco, negro y azul. */
:root{
  --bg:#ffffff;--surface:#ffffff;--surface-2:#f3f5f7;--soft:#f6f8fa;--line:#e3e7ea;
  --ink:#1f2121;--muted:#5f676d;--grey:#1f2121;
  --blue:#0a64b8;--blue-hi:#0a64b8;--blue-dark:#084f92;--blue-soft:#e8f1fa;
  --ok:#1f7a45;--bad:#b3392b
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.hidden{display:none!important}
.muted{color:var(--muted);font-size:12px}
.eyebrow{font-size:11px;letter-spacing:.24em;font-weight:700;color:var(--blue-hi);text-transform:uppercase;margin:0}

/* ---- Cabecera ---- */
.topbar{position:sticky;top:0;z-index:20;height:78px;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:#ffffffeb;backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:50px;width:auto}
.brand-text{display:none}
.brand-main{font-size:18px;letter-spacing:.14em;font-weight:300}
.brand-main b{font-weight:800;color:var(--blue-hi)}
.brand-sub{font-size:10px;letter-spacing:.06em;color:var(--muted)}
nav{display:flex;gap:30px;font-size:14px;color:var(--ink);font-weight:500}
nav a:hover{color:var(--blue-hi)}
.top-actions{display:flex;gap:10px;align-items:center}
.install{border:1px solid var(--line);background:transparent;color:var(--ink);padding:10px 14px;cursor:pointer;border-radius:999px;font:inherit;font-size:12px}
.cart-btn{border:0;background:var(--blue);color:#fff;padding:10px 16px;cursor:pointer;font:inherit;font-size:13px;display:flex;gap:8px;align-items:center;border-radius:999px}
.cart-btn:hover{background:var(--blue-dark)}
.badge{background:#fff;color:var(--blue);border-radius:20px;min-width:20px;padding:1px 6px;font-size:11px;font-weight:700;text-align:center}

/* ---- Portada ---- */
.hero{min-height:600px;padding:60px 8vw 70px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:5vw;position:relative;overflow:hidden}
.hero h1{font-size:clamp(42px,5.4vw,78px);font-weight:300;color:var(--ink);letter-spacing:-.045em;line-height:1.02;margin:22px 0}
.hero h1 em{font-style:normal;font-weight:800;color:var(--blue-hi)}
.hero-copy>p:not(.eyebrow){max-width:440px;line-height:1.8;color:var(--muted);font-size:15px}
.hero-copy small{display:block;margin-top:22px;color:var(--muted);font-size:12px}
.hero-art{height:460px;position:relative;display:grid;place-items:center}
.hero{background:linear-gradient(180deg,#fff 0%,var(--soft) 100%)}
.hero-art .glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,#0a64b82e 0%,#0a64b812 45%,transparent 70%)}
.hero-art .ring{position:absolute;width:360px;height:360px;border-radius:50%;border:1px solid #0a64b833}
.hero-art img{position:relative;height:360px;width:auto}
.hero-art .tagline{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:12px;letter-spacing:.3em;color:var(--muted);text-transform:uppercase}
.button{display:inline-flex;align-items:center;gap:22px;background:var(--blue);color:#fff;padding:15px 22px;margin-top:18px;font:inherit;font-size:13px;letter-spacing:.02em;border:0;border-radius:999px;cursor:pointer}
.button:hover{background:var(--blue-dark)}
.button span{font-size:17px}
.button:disabled{opacity:.45;cursor:not-allowed}
.button.wide{width:100%;justify-content:space-between}
.button.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.button.ghost:hover{border-color:var(--blue-hi);color:var(--blue-hi)}
.button-light{background:#fff;color:var(--blue)}
.button-light:hover{background:#e8eef5}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.cta-actions .button{margin-top:0}
.button-outline{background:transparent;color:#fff;border:1px solid #ffffffb3}
.button-outline:hover{background:#ffffff1a}
.button-outline span{font-size:13px;letter-spacing:.02em}
.wa-float{position:fixed;right:18px;bottom:18px;z-index:30;display:flex;align-items:center;gap:8px;background:#1f8f4e;color:#fff;padding:12px 16px;border-radius:999px;box-shadow:0 10px 24px #1f212140;font-size:14px;font-weight:600}
.wa-float:hover{background:#18763f}
.strip{background:var(--blue);color:#fff;display:flex;justify-content:space-around;gap:15px;padding:16px 5vw;font-size:11px;letter-spacing:.2em;font-weight:600}

/* ---- Secciones ---- */
.section{padding:84px 8vw}
.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px;gap:16px}
.section h2,.cta h2{font-size:clamp(32px,4vw,50px);font-weight:300;letter-spacing:-.035em;margin:10px 0}
.notice{font-size:12px;color:var(--muted);line-height:1.6;margin-top:25px}
.filters{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:26px}
.filter-tools{display:flex;gap:10px;flex-wrap:wrap}
.filter-tools input,.filter-tools select{border:1px solid var(--line);background:#fff;color:var(--ink);padding:10px 14px;font:inherit;font-size:13px;min-width:190px;border-radius:999px}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:8px 16px;font:inherit;font-size:12px;cursor:pointer;border-radius:999px}
.chip:hover{border-color:var(--blue-hi)}
.chip.on{background:var(--blue);border-color:var(--blue);color:#fff}
.chip{background:#fff}
.chip:disabled{opacity:.3;cursor:not-allowed;text-decoration:line-through}
.chip.size{min-width:48px;border-radius:10px}

/* ---- Productos ---- */
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.product{cursor:pointer;position:relative;outline:none;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;padding-bottom:16px;transition:transform .15s,border-color .15s,box-shadow .15s}
.product:hover,.product:focus-visible{transform:translateY(-3px);border-color:var(--blue);box-shadow:0 14px 30px #1f212114}
.product h3,.product p,.product strong{margin-left:18px;margin-right:18px}
.product-image{height:300px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 45%,#eaf2fb 0%,var(--surface-2) 65%)}
.product-b{background:radial-gradient(circle at 50% 45%,#f7f8f9 0%,var(--surface-2) 65%)}
.product-c{background:radial-gradient(circle at 50% 45%,#e3eef9 0%,var(--surface-2) 65%)}
.product-image>span{position:absolute;top:14px;left:14px;font-size:10px;letter-spacing:.15em;z-index:1;background:#ffffffe0;color:var(--ink);padding:4px 8px;border-radius:999px}
.product-image>span:empty{display:none}
.product-image img.photo{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.product-image img.ph{height:58%;width:auto;opacity:.16}
.product .tag{position:absolute;top:14px;right:14px;background:var(--blue);color:#fff;font-style:normal;font-size:10px;letter-spacing:.12em;padding:4px 10px;text-transform:uppercase;border-radius:999px;z-index:1}
.product .tag.sold{background:var(--ink)}
.product h3{font-size:16px;font-weight:500;margin-top:16px;margin-bottom:6px}
.product p{font-size:12px;color:var(--muted);margin-top:0;margin-bottom:12px}
.product strong{font-size:15px;color:var(--blue-hi)}

/* ---- Nosotros / contacto / pie ---- */
.about{background:var(--soft);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8vw;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.about h2 em{font-style:normal;font-weight:800;color:var(--blue-hi)}
.about>p{line-height:1.9;font-size:15px;color:var(--muted);max-width:460px}
.cta{padding:64px 8vw;background:linear-gradient(120deg,#0a64b8,#084f92);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}
.cta .eyebrow{color:#cfe3f8}
.cta h2{margin-bottom:12px}
.cta p:not(.eyebrow){font-size:14px;color:#dbe8f6;line-height:1.7}
footer{padding:34px 6vw 90px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);background:#fff}
footer .brand img{height:52px}
footer>span{font-size:12px;color:var(--muted)}
footer a{text-decoration:underline}

/* ---- Diálogos (detalle, carrito, checkout) ---- */
dialog.sheet{border:1px solid var(--line);padding:0;max-width:min(940px,94vw);width:100%;background:#fff;color:var(--ink);max-height:92vh;border-radius:18px}
dialog.sheet::backdrop{background:#1f2121a6}
dialog.drawer{max-width:470px;margin-right:0;height:100vh;max-height:100vh;padding:34px 28px;border-radius:18px 0 0 18px}
dialog .close{position:absolute;top:10px;right:14px;border:0;background:none;color:var(--ink);font-size:30px;cursor:pointer;z-index:2}
.product-detail{display:grid;grid-template-columns:1.1fr 1fr}
.gallery{display:grid;gap:4px;max-height:92vh;overflow:auto}
.gallery .product-image{height:440px}
.detail-info{padding:38px 32px}
.detail-info h2{font-size:32px;font-weight:400;letter-spacing:-.03em;margin:8px 0}
.detail-info .price{font-size:22px;margin:0 0 14px;color:var(--blue-hi);font-weight:600}
.detail-info .label{font-size:11px;letter-spacing:.2em;font-weight:700;margin:22px 0 8px;color:var(--ink);text-transform:uppercase}
.stock{min-height:18px}
.qty-row{display:flex;gap:14px;align-items:center;margin-top:22px;flex-wrap:wrap}
.qty-row .button{margin-top:0}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);background:#fff;border-radius:999px}
.qty button{border:0;background:none;color:var(--ink);width:36px;height:38px;font-size:16px;cursor:pointer}
.qty button:disabled{opacity:.3}
.qty span{min-width:26px;text-align:center;font-size:13px}
.cart-items{display:grid;gap:16px;margin:18px 0}
.cart-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px}
.cart-item small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.cart-item .link{grid-column:2;justify-self:start}
.thumb{width:64px;height:64px;background:var(--surface-2);display:grid;place-items:center;overflow:hidden;border-radius:10px}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb img.ph{width:auto;height:70%;object-fit:contain;opacity:.35}
.link{border:0;background:none;color:var(--muted);text-decoration:underline;font-size:12px;cursor:pointer;padding:0}
.link:hover{color:var(--blue-hi)}
.totals{display:grid;gap:6px;margin:16px 0;font-size:14px}
.totals>div{display:flex;justify-content:space-between}
.totals .grand{border-top:1px solid var(--line);padding-top:8px;font-size:16px}
.totals .grand strong{color:var(--blue-hi)}
.checkout{display:grid;gap:12px}
.checkout label{display:grid;gap:5px;font-size:12px;color:var(--ink)}
.checkout input:not([type=radio]):not([type=checkbox]),.checkout textarea{border:1px solid #cfd5da;background:#fff;color:var(--ink);padding:11px;font:inherit;font-size:14px;border-radius:10px}
.checkout input:focus,.checkout textarea:focus,.filter-tools input:focus,.filter-tools select:focus{outline:2px solid var(--blue);outline-offset:-1px}
.checkout fieldset{border:1px solid var(--line);padding:10px 14px;display:grid;gap:7px;border-radius:12px}
.checkout legend{font-size:11px;letter-spacing:.2em;font-weight:700;padding:0 4px;color:var(--blue-hi);text-transform:uppercase}
input[type=radio],input[type=checkbox]{accent-color:var(--blue)}
.radio{display:flex!important;gap:8px;align-items:center}
.radio small{color:var(--muted)}
.radio.small{font-size:11px;color:var(--muted)}
.row-buttons{display:flex;gap:10px;justify-content:space-between}
.row-buttons .button{margin-top:0}
.error{color:var(--bad);font-size:13px;background:#fbeceb;padding:10px 12px;border-radius:10px}
.order-done{display:grid;gap:12px}
.order-done h2{font-size:32px;font-weight:400;margin:0}
.order-done .button{margin-top:0}
.qr{max-width:240px;border-radius:12px;background:#fff;padding:8px;border:1px solid var(--line)}

/* ---- Seguimiento ---- */
.track{max-width:740px;margin:0 auto}
.track h2{font-size:40px;font-weight:300;letter-spacing:-.03em;margin:8px 0}
.pill{display:inline-block;border:1px solid var(--line);padding:4px 12px;font-size:12px;margin-right:6px;border-radius:999px}
.pill.ok{background:#e6f4ec;color:var(--ok);border-color:#bfe0cb}
.pill.bad{background:#fbeceb;color:var(--bad);border-color:#efc4be}
.steps{list-style:none;padding:0;display:flex;gap:6px;margin:26px 0;flex-wrap:wrap}
.steps li{flex:1;min-width:90px;border-top:3px solid var(--line);padding-top:8px;font-size:12px;color:var(--muted)}
.steps li.done{border-color:var(--blue-hi);color:var(--ink)}
.track-items{display:grid;gap:10px;margin-top:20px}
.track-items>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:10px;font-size:14px}
.track-items small{display:block;color:var(--muted);font-size:11px}

/* ---- Móvil ---- */
@media(max-width:760px){
  .topbar{height:auto;min-height:70px;padding:12px 5vw;flex-wrap:wrap;gap:10px}
  .brand img{height:38px}
  .brand-sub{display:none}
  .brand{gap:8px}
  .brand-main{font-size:14px;letter-spacing:.08em}
  .cart-btn{padding:9px 12px;font-size:12px}
  nav{order:3;width:100%;justify-content:space-between;gap:10px}
  .top-actions{margin-left:auto}
  .hero{grid-template-columns:1fr;padding:40px 6vw 50px;gap:20px;min-height:0}
  .hero-art{height:320px;order:-1}
  .hero-art img{height:250px}
  .hero-art .glow{width:300px;height:300px}.hero-art .ring{width:260px;height:260px}
  .hero h1{font-size:46px}
  .strip{flex-wrap:wrap;justify-content:center;line-height:1.8}
  .section{padding:56px 5vw}
  .section-heading{align-items:start;flex-direction:column}
  .products{grid-template-columns:1fr 1fr;gap:12px}
  .product-image{height:200px}
  .product h3,.product p,.product strong{margin-left:12px;margin-right:12px}
  .about{grid-template-columns:1fr;gap:10px}
  .cta{padding:44px 6vw;align-items:flex-start;flex-direction:column}
  footer{padding:25px 6vw 90px;align-items:flex-start;flex-direction:column}
  .wa-float span{display:none}
  .wa-float{padding:14px}
  .product-detail{grid-template-columns:1fr}
  .gallery .product-image{height:280px}
  .detail-info{padding:24px 20px}
  dialog.drawer{max-width:100vw;padding:30px 18px;border-radius:0}
  .filter-tools,.filter-tools input,.filter-tools select{width:100%}
}
@media (display-mode:standalone){.topbar{padding-top:16px}}
