:root{
  /*--bg:#0b0d12;*/
  --bg:#ffffff;
  --panel:#121722;
  --panel2:#0f1420;
  /*--text:#e9eef9;
  --muted:#a9b4c7;
  --line:rgba(255,255,255,.10);*/
  --text:#111111;
  --muted:#667085;
  --line:rgba(17,17,17,.12);
  --brand:#6aa8ff;
  --brand2:#7c5cff;
  --shadow: 0 12px 35px rgba(0,0,0,.35);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  /*background:
    radial-gradient(900px 400px at 15% -10%, rgba(106,168,255,.18), transparent 60%),
    radial-gradient(800px 400px at 85% -20%, rgba(124,92,255,.18), transparent 60%),
    var(--bg);*/
    background:#fff;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9}
ul{list-style:none; padding:0; margin:0}
h1,h2,h3,h4{margin:0 0 .6rem 0}
p{margin:.25rem 0 .7rem}

.container{width:min(1120px, 92vw); margin-inline:auto}

.muted{color:var(--muted)}
.sep{opacity:.6; margin-inline:.35rem}

.topbar{
  border-bottom:1px solid var(--line);
  /*background:rgba(0,0,0,.25);*/
  background:#ffffff;
  backdrop-filter: blur(8px);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem;
  padding:.65rem 0;
  font-size:.9rem;
}
.topbar__links a{opacity:.9}
.topbar__welcome{
  display:flex; align-items:center; gap:.8rem;
}

.currency{position:relative}
.currency__btn{
  display:flex; align-items:center; gap:.4rem;
  padding:.35rem .55rem;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}
.currency__menu{
  position:absolute; right:0; top:calc(100% + .4rem);
  width:120px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(18,23,34,.95);
  box-shadow:var(--shadow);
  padding:.35rem;
  display:none;
}
.currency__menu li{
  padding:.55rem .65rem;
  border-radius:10px;
  cursor:pointer;
  color:var(--muted);
}
.currency__menu li[aria-selected="true"],
.currency__menu li:hover{
  color:var(--text);
  background:rgba(255,255,255,.06);
}

.header{position:sticky; top:0; z-index:20; /*background:rgba(11,13,18,.75);*/ background:#ffffff; backdrop-filter: blur(10px); border-bottom:1px solid var(--line)}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:1rem 0;
  gap:1rem;
}
.brand{display:flex; align-items:center; gap:.65rem}
.brand__logo{
  height: 120px;   /* tamaño del logo */
  width: auto;
  display: block;
}
.brand__mark{
  width:38px; height:38px;
  display:grid; place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(106,168,255,.95), rgba(124,92,255,.95));
  font-weight:800;
  box-shadow:0 10px 25px rgba(106,168,255,.15);
}
.brand__name{font-weight:800; letter-spacing:.2px; font-size:1.15rem}

.cart{
  display:flex; align-items:center; gap:.45rem;
  padding:.55rem .75rem;
  border:1px solid var(--line);
  border-radius:999px;
  /*background:rgba(255,255,255,.03);*/
  background:#f8fafc;
}

.nav{border-top:1px solid var(--line)}
.nav__inner{
  display:flex; align-items:center; gap:.75rem;
  padding:.6rem 0;
}
.nav__link{
  padding:.55rem .65rem;
  border-radius:999px;
  color:#344054; /*var(--muted);*/
  font-weight:600;
  font-size:.95rem;
}
.nav__link.is-active, .nav__link:hover{
  color:var(--text);
  /*background:rgba(255,255,255,.05);*/
  background:rgba(17,17,17,.06);
}
.nav__icons{margin-left:auto; display:flex; gap:.35rem}
.iconbtn{
  width:34px; height:34px;
  display:grid; place-items:center;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  color:var(--text);
}
.nav__dropdown{position:relative}
.nav__link--btn{
  background:none; border:none; cursor:pointer; font:inherit;
  display:flex; align-items:center; gap:.35rem;
}
.nav__menu{
  position:absolute; top:calc(100% + .45rem); left:0;
  min-width:220px;
  border:1px solid var(--line);
  border-radius:14px;
  /*background:rgba(18,23,34,.95);*/
  background:#ffffff;
  /*box-shadow:var(--shadow);*/
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  padding:.4rem;
  display:none;
}
.nav__menu a{
  display:block;
  padding:.6rem .7rem;
  border-radius:10px;
  /*color:var(--muted);*/
  color:#344054;
}
.nav__menu a:hover{
  /*background:rgba(255,255,255,.06);*/
  background:rgba(17,17,17,.06);
  color:var(--text);
}

.hero{padding:1.1rem 0 1.4rem}
.slider{
  position:relative;
  border:1px solid var(--line);
  border-radius:var(--radius);
  /*background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));*/
  background:#ffffff;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.slider__track{
  display:flex;
  transition:transform 500ms ease;
}
.slide{
  min-width:100%;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:1rem;
  padding:2.2rem 2rem;
  align-items:center;
}
.kicker{
  font-weight:700;
  font-size:1.1rem;
}
.price{
  font-size:2.4rem;
  font-weight:800;
  margin:.2rem 0 1rem;
}
.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  padding:.75rem 1rem;
  border-radius:999px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#07101d;
  font-weight:800;
  border:none;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(106,168,255,.15);
}
.btn--ghost{
  background:rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn:active{transform:translateY(1px)}
.slide__art{
  display:flex; justify-content:center;
}
.device{
  width:260px; height:170px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(180px 140px at 30% 20%, rgba(106,168,255,.25), transparent 60%),
    radial-gradient(180px 140px at 70% 30%, rgba(124,92,255,.22), transparent 60%),
    rgba(255,255,255,.04);
  position:relative;
}
.device:before{
  content:"";
  position:absolute; inset:14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.2);
}
.device--tablet{width:200px; height:260px}
.device--phone{width:150px; height:280px}

.slider__btn{
  position:absolute; top:50%;
  transform:translateY(-50%);
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid var(--line);
  /*background:rgba(0,0,0,.25);*/
  background:rgba(255,255,255,.85);
  color:var(--text);
  cursor:pointer;
}
/*.slider__btn:hover{background:rgba(0,0,0,.35)}*/
.slider__btn:hover{background:#ffffff}
.slider__btn--prev{left:14px}
.slider__btn--next{right:14px}

.slider__dots{
  position:absolute; left:0; right:0; bottom:14px;
  display:flex; justify-content:center; gap:.4rem;
}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  /*background:rgba(255,255,255,.12);*/
  background:rgba(17,17,17,.10);
  cursor:pointer;
}
.dot.is-active{
  /*background:rgba(255,255,255,.85);*/
  background:rgba(17,17,17,.55);
}

.tiles{padding:.4rem 0 1.2rem}
.tiles__grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1rem;
}
.tile{
  display:flex; gap:.9rem; align-items:flex-start;
  padding:1.1rem 1.1rem;
  border-radius:var(--radius);
  border:1px solid var(--line);
  /*background:rgba(255,255,255,.03);*/
  background:#ffffff;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
}
.tile__icon{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:14px;
  /*background:rgba(255,255,255,.06);*/
  background:#f8fafc;
  border:1px solid var(--line);
  font-size:1.25rem;
}
.tile h3{margin:0 0 .3rem 0}
.tile p{margin:0; color:var(--muted)}

.section{padding:1.2rem 0 1.6rem}
.section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:1rem;
}
.section__head h2{font-size:1.6rem}

.products{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1rem;
}
/*.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.03);
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  display:flex; flex-direction:column;
}*/
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#ffffff;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  display:flex; flex-direction:column;
}
/*.card__img{
  height:150px;
  background:
    radial-gradient(180px 130px at 20% 30%, rgba(106,168,255,.18), transparent 60%),
    radial-gradient(180px 130px at 80% 20%, rgba(124,92,255,.16), transparent 60%),
    rgba(0,0,0,.25);
  border-bottom:1px solid var(--line);
}*/
.card__img{
  height:150px;
  background:#f3f4f6;
  border-bottom:1px solid var(--line);
}
.card__body{padding:1rem}
.card__title{font-weight:700; margin:.1rem 0 .5rem; line-height:1.25}
.card__price{
  display:flex; gap:.5rem; align-items:baseline; flex-wrap:wrap;
  font-weight:800;
}
.card__price s{color:var(--muted); font-weight:600}
.card__actions{margin-top:.8rem; display:flex; gap:.6rem; align-items:center}
/*.qty{
  border:1px solid var(--line);
  border-radius:999px;
  padding:.55rem .7rem;
  background:rgba(0,0,0,.18);
  color:var(--muted);
  font-weight:700;
  font-size:.9rem;
}*/
.qty{
  border:1px solid var(--line);
  border-radius:999px;
  padding:.55rem .7rem;
  background:#ffffff;
  color:#475467;
  font-weight:700;
  font-size:.9rem;
}
/*.add{
  flex:1;
  padding:.65rem .9rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.add:hover{background:rgba(255,255,255,.09)}*/
.add{
  flex:1;
  padding:.65rem .9rem;
  border-radius:999px;
  border:1px solid var(--line);
  background:#f8fafc;
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.add:hover{background:#eef2f6}

/*.promo{
  margin: 0 0 2rem 0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(106,168,255,.12), rgba(124,92,255,.10));
  box-shadow:var(--shadow);
}*/
.promo{
  margin: 0 0 2rem 0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#f8fafc;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.promo__inner{
  padding:1.2rem 1.2rem;
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem;
}
.promo__left h3{margin:0}

.footer{
  border-top:1px solid var(--line);
  /*background:rgba(0,0,0,.28);*/
  background:#f8fafc;
}
.footer__grid{
  padding:2rem 0 1.2rem;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1.2rem;
}
.footer h4{margin-bottom:.8rem}
.footer li{margin:.5rem 0; color:var(--muted)}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}
.footer__bottom{
  padding:1rem 0 2rem;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  color:var(--muted);
  font-size:.9rem;
}
.toast{
  margin:0;
  padding:.55rem .8rem;
  /*border:1px solid var(--line);*/
  border:1px solid rgba(17,17,17,.12);
  border-radius:999px;
  /*background:rgba(18,23,34,.85);*/
  background:#ffffff;
  color:var(--text);
  opacity:0;
  transform:translateY(6px);
  transition:opacity 250ms ease, transform 250ms ease;
  white-space:nowrap;
}
.toast.is-show{opacity:1; transform:translateY(0)}

@media (max-width: 980px){
  .products{grid-template-columns:repeat(2, 1fr)}
  .tiles__grid{grid-template-columns:1fr}
  .slide{grid-template-columns:1fr; text-align:left}
  .slide__art{justify-content:flex-start}
  .device{width:220px}
  .footer__grid{grid-template-columns:repeat(2, 1fr)}
  .nav__icons{display:none}
}
@media (max-width: 560px){
  .topbar__inner{flex-direction:column; align-items:flex-start}
  .header__inner{flex-direction:column; align-items:flex-start}
  .nav__inner{flex-wrap:wrap}
  .footer__bottom{flex-direction:column; align-items:flex-start}
  .slider__btn{display:none}
}
