.product-v2-body{
  overflow-x:hidden;
}

.product-v2-hero{
  position:relative;
  overflow:hidden;
  padding:88px 0 24px;
  color:#fff;
  background:
    linear-gradient(135deg, rgba(3,47,84,.96), rgba(7,95,168,.9) 50%, rgba(0,199,217,.72)),
    image-set(
      url('/assets/img/v2/product-hero-detail-v2.webp') type('image/webp'),
      url('/assets/img/v2/product-hero-detail-v2.png') type('image/png')
    ) center right/cover no-repeat;
}
.product-v2-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom, #000 0%, transparent 90%);
}
.product-v2-hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:72px;
  background:linear-gradient(to bottom, transparent, var(--store-bg));
  pointer-events:none;
}
.product-v2-hero .container{
  position:relative;
  z-index:1;
}
.product-v2-hero h1{
  max-width:960px;
  font-size:clamp(1.9rem, 3.2vw, 3.35rem);
  line-height:1;
  letter-spacing:-.05em;
  margin:0 0 .65rem;
}

.product-v2-main{
  padding:28px 0 72px;
}
.product-v2-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.78fr);
  gap:1.1rem;
  align-items:start;
}
.product-v2-gallery,
.product-v2-info{
  border:1px solid var(--store-line);
  border-radius:8px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--store-shadow);
}
.product-v2-gallery{
  padding:1rem;
}
.product-v2-image{
  min-height:540px;
  display:grid;
  place-items:center;
  border:1px solid var(--store-line);
  border-radius:8px;
  background:
    radial-gradient(circle at 50% 42%, #fff 0 35%, transparent 36%),
    linear-gradient(135deg,#f7faff,#edf8ff);
  overflow:hidden;
}
.product-v2-image img{
  display:block;
  width:100%;
  height:100%;
  max-width:560px;
  max-height:520px;
  object-fit:contain;
  padding:1.15rem;
}
.product-v2-thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin-top:.9rem;
}
.product-v2-thumbs .btn{
  width:78px !important;
  height:78px !important;
  border-color:var(--store-line) !important;
  border-radius:8px !important;
  background:#fff !important;
  overflow:hidden;
}
.product-v2-thumbs img{
  object-fit:contain !important;
}

.product-v2-info{
  position:sticky;
  top:104px;
  padding:1.2rem;
}
.product-v2-badges{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-bottom:.85rem;
}
.product-v2-badges .badge{
  padding:.48rem .65rem;
  color:#075fa8;
  background:#e8f9ff;
  border:1px solid rgba(9,135,232,.18);
  font-weight:900;
}
.product-v2-badges .badge-gc{
  color:#fff;
  background:linear-gradient(135deg,var(--store-cyan),var(--store-blue));
}
.product-v2-info h2{
  margin:0;
  font-size:clamp(1.45rem, 2.4vw, 2.25rem);
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:950;
}
.product-v2-brand{
  margin-top:.55rem;
  color:var(--store-muted);
  font-weight:800;
}
.product-v2-price-row{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:.7rem;
  margin:1rem 0 .65rem;
}
.product-v2-price{
  color:#075fa8;
  font-size:2.15rem;
  font-weight:950;
  letter-spacing:-.05em;
}
.product-v2-old-price{
  color:#98a2b3;
  font-weight:850;
  text-decoration:line-through;
}
.product-v2-stock{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  margin-bottom:1rem;
  padding:.52rem .7rem;
  border-radius:8px;
  color:#027a48;
  background:#ecfdf3;
  font-weight:900;
}
.product-v2-stock::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#12b76a;
}
.product-v2-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:.65rem;
}
.product-v2-actions .btn{
  min-height:50px;
  border-radius:8px;
  font-weight:900;
}
.product-v2-description,
.product-v2-video,
.product-v2-link{
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid var(--store-line);
}
.product-v2-description h3,
.product-v2-video h3{
  margin:0 0 .55rem;
  color:#075fa8;
  font-size:.92rem;
  font-weight:950;
  text-transform:uppercase;
}
.product-v2-description p{
  max-height:360px;
  overflow:auto;
  color:var(--store-muted);
  white-space:pre-line;
}
.product-v2-video-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:8px;
  background:#000;
}
.product-v2-video-frame.product-video-frame--short{
  width:min(100%, 270px);
  margin:0 auto;
  aspect-ratio:9/16;
}
.product-v2-video-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.product-v2-link .form-control,
.product-v2-link .btn{
  min-height:44px;
  border-radius:8px;
}

.product-floating-video{
  position:fixed;
  right:20px;
  bottom:92px;
  z-index:1010;
  width:min(230px, calc(100vw - 28px));
  border-radius:8px;
  overflow:hidden;
  background:#032f54;
  box-shadow:0 18px 44px rgba(3,47,84,.28);
}
.product-floating-video__close{
  position:absolute;
  top:8px;
  right:8px;
  z-index:2;
  width:32px;
  height:32px;
  border:0;
  border-radius:8px;
  color:#fff;
  background:rgba(0,0,0,.38);
}
.product-floating-video__label{
  display:flex;
  justify-content:space-between;
  gap:.5rem;
  align-items:center;
  padding:.65rem;
  color:#fff;
  font-size:.78rem;
  font-weight:900;
}
.product-floating-video__audio{
  border:0;
  border-radius:8px;
  color:#075fa8;
  background:#fff;
  font-weight:900;
}
.product-floating-video__frame{
  position:relative;
  aspect-ratio:9/16;
  background:#000;
}
.product-floating-video__frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

@media (max-width: 991.98px){
  .product-v2-hero{
    padding:78px 0 22px;
  }
  .product-v2-layout{
    grid-template-columns:1fr;
  }
  .product-v2-info{
    position:relative;
    top:auto;
  }
  .product-v2-image{
    min-height:420px;
  }
}
@media (max-width: 575.98px){
  .product-v2-hero h1{
    font-size:1.9rem;
  }
  .product-v2-gallery,
  .product-v2-info{
    padding:.85rem;
  }
  .product-v2-image{
    min-height:330px;
  }
  .product-v2-image img{
    max-height:310px;
    padding:.75rem;
  }
  .product-v2-thumbs .btn{
    width:66px !important;
    height:66px !important;
  }
  .product-floating-video{
    right:12px;
    bottom:86px;
    width:170px;
  }
}
