*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,sans-serif;
  background:#fff;
  color:#111;
  overflow-x:hidden;
}

/* HEADER */

header{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 24px;

  position:sticky;
  top:0;
  z-index:999;

  background:rgba(255,255,255,0.92);

  backdrop-filter:blur(10px);

  border-bottom:1px solid #eee;
}

/* LOGO */

.logo-wrap{
  width:160px;
  overflow:hidden;

  display:flex;
  align-items:center;
}

.logo{
  height:52px;
  width:auto;

  transform:scale(2.2);
  transform-origin:left center;

  object-fit:contain;
}

/* BUTTON */

.top-btn{
  background:#111;
  color:white;
  padding:12px 22px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-size:15px;
  font-weight:500;
  transition:0.2s ease;
}

.top-btn:hover{
  opacity:0.92;
}

/* CONTAINER */

.container{
  max-width:1000px;
  margin:auto;
  padding:22px 20px 60px;
}

/* MEDIA */

.media{
  width:100%;
  aspect-ratio:1/1;
  max-height:520px;
  border-radius:24px;
  overflow:hidden;
  background:#000;
  position:relative;
}

.media img,
.media video{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#fff;
  padding:12px;
}

/* PLAY */

.play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  background:rgba(0,0,0,0.6);
  color:white;
  font-size:30px;
  padding:16px 20px;
  border-radius:50%;
}

/* THUMBS */

.thumbs{
  display:flex;
  gap:12px;
  margin-top:16px;

  overflow-x:auto;
  overflow-y:hidden;

  padding-bottom:6px;

  -webkit-overflow-scrolling:touch;
}

.thumbs::-webkit-scrollbar{
  display:none;
}

.thumb{
  flex:0 0 auto;

  width:82px;
  height:82px;

  border-radius:16px;

  object-fit:cover;

  cursor:pointer;

  border:2px solid transparent;

  transition:0.2s ease;
}

.thumb.active{
  border-color:#111;
}

.thumb:hover{
  transform:scale(1.03);
}

/* CONTENT */

.panel{
  margin-top:36px;
}

h1{
  font-size:42px;
  line-height:1.1;
  margin-bottom:14px;
}

.price{
  font-size:38px;
  font-weight:700;
  margin-bottom:10px;
}

.subtitle{
  color:#555;
  line-height:1.8;
  margin-top:12px;
  margin-bottom:24px;
  font-size:15px;
}

#stockText{
  margin-top:10px;
  font-size:15px;
  color:#666;
  margin-bottom:18px;
}

/* CTA */

.cta{
  width:100%;
  padding:18px;
  border-radius:999px;
  border:none;
  background:#111;
  color:white;
  font-size:17px;
  font-weight:500;
  cursor:pointer;
  transition:0.2s ease;
}

.cta:hover{
  opacity:0.92;
}

/* INFO */

.info{
  margin-top:22px;
  line-height:1.9;
  color:#444;
  font-size:15px;
}

/* FEATURES */

.features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;

  margin-top:34px;
}

.feature{
  background:#f5f5f5;
  padding:16px;
  border-radius:16px;
  font-size:14px;
}

/* SPECS */

.specs{
  margin-top:48px;
}

.specs h2{
  font-size:30px;
  margin-bottom:20px;
}

.spec-row{
  display:flex;
  justify-content:space-between;

  padding:18px 0;

  border-bottom:1px solid #eee;

  font-size:15px;
}

/* MOBILE */

@media(max-width:768px){

  header{
    padding:14px 16px;
  }

  .logo-wrap{
    width:135px;
  }

  .logo{
    height:44px;
    transform:scale(2.1);
  }

  .top-btn{
    padding:11px 18px;
    font-size:14px;
  }

  .container{
    padding:18px 14px 45px;
  }

  .media{
  aspect-ratio:1/1;
  height:auto;
  max-height:420px;
  }

  h1{
    font-size:30px;
  }

  .price{
    font-size:30px;
  }

  .features{
    grid-template-columns:1fr;
  }

}
