/* HappyLHR Product Page V2 - scoped with hpdp classes */
.hpdp-page{
  background:#f6f7fb;
  color:#101827;
}
.hpdp-page *{box-sizing:border-box}
.hpdp-wrap{width:min(1500px,94vw);margin:0 auto}
.hpdp-breadcrumb{
  min-height:56px;
  display:flex;
  align-items:center;
  color:#64748b;
  font-size:13px;
  font-weight:750;
}
.hpdp-layout{
  display:grid;
  grid-template-columns:96px minmax(520px,1fr) minmax(440px,.9fr) 340px;
  gap:18px;
  align-items:start;
}
.hpdp-thumbs{
  display:grid;
  gap:12px;
}
.hpdp-thumb{
  height:86px;
  border:1px solid #e6ebf2;
  border-radius:16px;
  background:#fff;
  position:relative;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}
.hpdp-thumb.active{
  border-color:#ff4f0a;
  box-shadow:0 0 0 3px rgba(255,79,10,.09);
}
.hpdp-thumb.dark{background:#0b1420}
.hpdp-thumb::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:34px;
  height:52px;
  transform:translate(-50%,-50%);
  border-radius:20px;
  background:#fff;
  box-shadow:36px 0 0 #fff,0 8px 18px rgba(15,23,42,.14),36px 8px 18px rgba(15,23,42,.14);
}
.hpdp-gallery{
  min-height:590px;
  border:1px solid #e6ebf2;
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 44%,rgba(255,79,10,.10),transparent 0 32%),
    linear-gradient(145deg,#fff,#f8fafc);
  box-shadow:0 22px 62px rgba(15,23,42,.09);
  position:sticky;
  top:96px;
  overflow:hidden;
}
.hpdp-gallery-badge{
  position:absolute;
  left:22px;
  top:20px;
  z-index:3;
  height:36px;
  display:inline-flex;
  align-items:center;
  padding:0 13px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e6ebf2;
  font-size:12px;
  font-weight:950;
  box-shadow:0 10px 26px rgba(15,23,42,.06);
}
.hpdp-gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#fff;
  border:1px solid #e6ebf2;
  display:grid;
  place-items:center;
  font-weight:1000;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}
.hpdp-gallery-nav.left{left:20px}
.hpdp-gallery-nav.right{right:20px}
.hpdp-airpods{
  position:absolute;
  left:50%;
  top:51%;
  width:330px;
  height:300px;
  transform:translate(-50%,-50%);
}
.hpdp-airpods::before{
  content:"";
  position:absolute;
  left:34px;
  top:24px;
  width:105px;
  height:185px;
  border-radius:70px 70px 58px 58px;
  background:linear-gradient(145deg,#fff,#eef2f7);
  box-shadow:
    150px 0 0 #fff,
    0 28px 48px rgba(15,23,42,.15),
    150px 28px 48px rgba(15,23,42,.15);
}
.hpdp-airpods::after{
  content:"";
  position:absolute;
  left:92px;
  right:74px;
  bottom:2px;
  height:125px;
  border-radius:0 0 70px 70px;
  background:linear-gradient(180deg,#fff,#eef2f7);
  box-shadow:0 26px 44px rgba(15,23,42,.12);
}
.hpdp-info{
  background:#fff;
  border:1px solid #e6ebf2;
  border-radius:24px;
  padding:26px;
  box-shadow:0 14px 40px rgba(15,23,42,.06);
}
.hpdp-badges{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.hpdp-badge{
  height:34px;
  border:1px solid #e6ebf2;
  border-radius:999px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  background:#fff;
  color:#334155;
  font-size:12px;
  font-weight:950;
}
.hpdp-badge.orange{
  color:#ff4f0a;
  background:#fff1e8;
  border-color:#ffd1bd;
}
.hpdp-badge.green{
  color:#166534;
  background:#dcfce7;
  border-color:#bbf7d0;
}
.hpdp-badge.blue{
  color:#1d4ed8;
  background:#eff6ff;
  border-color:#bfdbfe;
}
.hpdp-info h1{
  margin:0 0 8px;
  font-size:36px;
  line-height:1.08;
  letter-spacing:-1.2px;
}
.hpdp-subtitle{
  color:#64748b;
  font-size:15px;
  margin-bottom:14px;
}
.hpdp-rating{
  color:#f59e0b;
  font-weight:950;
  margin:14px 0;
}
.hpdp-rating span{
  color:#64748b;
  font-weight:750;
  margin-left:8px;
}
.hpdp-price{
  display:flex;
  align-items:end;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0;
}
.hpdp-price strong{
  font-size:38px;
  line-height:1;
  color:#ff4f0a;
}
.hpdp-price del{
  color:#94a3b8;
  font-weight:800;
}
.hpdp-off{
  padding:7px 10px;
  border-radius:9px;
  background:#fff1e8;
  color:#ff4f0a;
  font-size:13px;
  font-weight:950;
}
.hpdp-stock{
  color:#16a34a;
  font-weight:950;
  margin-bottom:18px;
}
.hpdp-stock span{
  color:#64748b;
  font-weight:750;
}
.hpdp-mode-grid{
  border:1px solid #e6ebf2;
  border-radius:18px;
  overflow:hidden;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin:20px 0;
}
.hpdp-mode{
  min-height:86px;
  padding:14px;
  border-right:1px solid #e6ebf2;
  background:#fff;
  display:flex;
  gap:12px;
  align-items:center;
  cursor:pointer;
}
.hpdp-mode:last-child{border-right:0}
.hpdp-mode.active{
  background:#fff8f3;
  box-shadow:inset 0 0 0 2px #ff4f0a;
}
.hpdp-mode-icon{
  min-width:42px;
  width:42px;
  height:42px;
  border-radius:15px;
  background:#fff1e8;
  color:#ff4f0a;
  display:grid;
  place-items:center;
  font-weight:1000;
}
.hpdp-mode b{
  display:block;
  font-size:13px;
}
.hpdp-mode small{
  display:block;
  color:#64748b;
  line-height:1.35;
  margin-top:3px;
}
.hpdp-option-block{
  border-top:1px solid #e6ebf2;
  padding-top:18px;
  margin-top:18px;
}
.hpdp-option-title{
  font-weight:950;
  margin-bottom:10px;
}
.hpdp-options{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.hpdp-option{
  height:42px;
  border:1px solid #dce3ee;
  border-radius:12px;
  background:#fff;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  font-weight:900;
}
.hpdp-option.active{
  border-color:#ff4f0a;
  color:#ff4f0a;
  background:#fff8f3;
}
.hpdp-love{
  border:1px solid #e6ebf2;
  border-radius:18px;
  padding:16px;
  margin-top:20px;
}
.hpdp-love h3{
  margin:0 0 14px;
}
.hpdp-love-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.hpdp-love-item{
  display:flex;
  gap:10px;
}
.hpdp-love-dot{
  min-width:34px;
  width:34px;
  height:34px;
  border:2px solid #ff4f0a;
  border-radius:50%;
}
.hpdp-love-item b{
  display:block;
  font-size:13px;
}
.hpdp-love-item small{
  display:block;
  color:#64748b;
  margin-top:3px;
}
.hpdp-buy{
  border:1px solid #e6ebf2;
  border-radius:24px;
  padding:20px;
  background:#fff;
  box-shadow:0 18px 46px rgba(15,23,42,.09);
  position:sticky;
  top:96px;
}
.hpdp-buy .hpdp-price{
  margin-top:0;
}
.hpdp-buy .hpdp-price strong{
  font-size:34px;
}
.hpdp-btn{
  height:56px;
  width:100%;
  border-radius:14px;
  border:1px solid transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
  margin-bottom:10px;
  cursor:pointer;
}
.hpdp-btn-primary{
  background:#ff4f0a;
  color:#fff;
  box-shadow:0 16px 30px rgba(255,79,10,.22);
}
.hpdp-btn-light{
  background:#fff;
  color:#101827;
  border-color:#dce3ee;
}
.hpdp-divider{
  border:0;
  border-top:1px solid #e6ebf2;
  margin:20px 0;
}
.hpdp-service-list{
  display:grid;
  gap:16px;
}
.hpdp-service{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.hpdp-service-icon{
  min-width:42px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:2px solid #ff4f0a;
  color:#ff4f0a;
  display:grid;
  place-items:center;
  font-weight:1000;
}
.hpdp-service b{display:block}
.hpdp-service span{
  display:block;
  color:#64748b;
  font-size:13px;
  margin-top:3px;
}
.hpdp-seller{
  color:#64748b;
  line-height:1.65;
}
.hpdp-seller b{
  color:#101827;
}
.hpdp-tabs{
  margin-top:22px;
  border:1px solid #e6ebf2;
  border-radius:22px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 14px 38px rgba(15,23,42,.06);
}
.hpdp-tab-nav{
  height:58px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  border-bottom:1px solid #e6ebf2;
}
.hpdp-tab-nav div{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#64748b;
  font-weight:950;
  font-size:14px;
}
.hpdp-tab-nav .active{
  color:#ff4f0a;
  box-shadow:inset 0 -3px 0 #ff4f0a;
}
.hpdp-tab-content{
  padding:24px;
  line-height:1.7;
  color:#334155;
}
.hpdp-related{
  margin-top:22px;
}
.hpdp-related-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.hpdp-related-card{
  border:1px solid #e6ebf2;
  border-radius:18px;
  background:#fff;
  padding:12px;
  box-shadow:0 10px 28px rgba(15,23,42,.055);
}
.hpdp-related-visual{
  height:120px;
  border-radius:14px;
  background:linear-gradient(145deg,#fff,#f1f5f9);
  position:relative;
  margin-bottom:10px;
}
.hpdp-related-visual:before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:48px;
  height:80px;
  border-radius:26px;
  background:#fff;
  box-shadow:50px 0 0 #fff,0 14px 30px rgba(15,23,42,.13),50px 14px 30px rgba(15,23,42,.13);
}
.hpdp-related-card b{
  display:block;
  font-size:13px;
}
.hpdp-related-card strong{
  color:#ff4f0a;
  display:block;
  margin-top:5px;
}
.hpdp-footer{
  margin-top:30px;
  background:#07111c;
  color:#cbd5e1;
}
.hpdp-footer-inner{
  width:min(1500px,94vw);
  margin:0 auto;
  padding:34px 0;
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:center;
}
.hpdp-footer-logo{
  font-size:30px;
  font-weight:1000;
  color:#fff;
  letter-spacing:-1.2px;
}
.hpdp-footer-logo span{color:#ff4f0a}
.hpdp-footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  color:#94a3b8;
  font-size:14px;
}
@media(max-width:1180px){
  .hpdp-layout{
    grid-template-columns:1fr;
  }
  .hpdp-thumbs{
    display:none;
  }
  .hpdp-gallery,
  .hpdp-buy{
    position:relative;
    top:auto;
  }
  .hpdp-related-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:640px){
  .hpdp-wrap{width:min(94vw,1500px)}
  .hpdp-breadcrumb{display:none}
  .hpdp-layout{gap:0}
  .hpdp-gallery{
    min-height:570px;
    border-radius:0;
    border-left:0;
    border-right:0;
    box-shadow:none;
  }
  .hpdp-airpods{
    transform:translate(-50%,-50%) scale(.85);
  }
  .hpdp-info{
    border-radius:24px 24px 0 0;
    margin-top:-22px;
    position:relative;
    z-index:2;
    padding:24px;
  }
  .hpdp-info h1{
    font-size:31px;
  }
  .hpdp-mode-grid{
    grid-template-columns:1fr;
  }
  .hpdp-mode{
    border-right:0;
    border-bottom:1px solid #e6ebf2;
  }
  .hpdp-mode:last-child{border-bottom:0}
  .hpdp-love-grid{
    grid-template-columns:1fr;
  }
  .hpdp-buy{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:90;
    border-radius:22px 22px 0 0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:16px;
  }
  .hpdp-buy .hpdp-price,
  .hpdp-buy .hpdp-divider,
  .hpdp-buy .hpdp-service-list,
  .hpdp-buy .hpdp-seller,
  .hpdp-buy .hpdp-btn-light.desktop-only{
    display:none!important;
  }
  .hpdp-buy .hpdp-btn{
    margin:0;
  }
  .hpdp-tabs{
    display:none;
  }
  .hpdp-related-grid{
    grid-template-columns:1fr 1fr;
  }
  .hpdp-footer{
    padding-bottom:84px;
  }
  .hpdp-footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}
