/* v1.8.17.3 — tighter product media + CTA bar + compact thumbnails */

/* ----------------------------
   STYLE 1: hero product visual
   ---------------------------- */
.tt-p1.tt-premium-product .tt-p1-visual{
  min-height:460px!important;
  overflow:hidden!important;
}
.tt-p1.tt-premium-product .tt-p1-visual__stage{
  width:100%!important;
  height:410px!important;
  padding:0!important;
  overflow:hidden!important;
}
.tt-p1.tt-premium-product .tt-p1-visual__stage img{
  max-width:none!important;
  max-height:none!important;
  width:112%!important;
  height:112%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:scale(1.06)!important;
  filter:drop-shadow(0 12px 24px rgba(24,37,56,.08))!important;
}

/* ------------------------------------------------
   STYLE 1: consultation becomes a low horizontal CTA
   ------------------------------------------------ */
.tt-p1.tt-premium-product .tt-p1-consult{
  padding:16px 0 24px!important;
}
.tt-p1.tt-premium-product .tt-p1-consult__bar{
  min-height:80px!important;
  padding:10px 14px!important;
  grid-template-columns:minmax(280px,32%) minmax(0,68%)!important;
  gap:14px!important;
  border-radius:13px!important;
  border:1px solid #f6d8dc!important;
  background:linear-gradient(90deg,#fff7f7 0%,#fffafa 48%,#fff 100%)!important;
}
.tt-p1.tt-premium-product .tt-p1-agent{
  gap:11px!important;
}
.tt-p1.tt-premium-product .tt-p1-agent__avatar{
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
}
.tt-p1.tt-premium-product .tt-p1-agent__avatar svg{
  width:21px!important;
  height:21px!important;
}
.tt-p1.tt-premium-product .tt-p1-agent span{
  font-size:8px!important;
  letter-spacing:.065em!important;
}
.tt-p1.tt-premium-product .tt-p1-agent h3{
  margin:2px 0 0!important;
  font-size:14px!important;
  line-height:1.22!important;
}
.tt-p1.tt-premium-product .tt-p1-agent p{
  margin:3px 0 0!important;
  font-size:9px!important;
  line-height:1.35!important;
  max-width:420px!important;
}
.tt-p1.tt-premium-product .tt-p1-inline-form{
  grid-template-columns:1.15fr 1.05fr 1fr 1fr auto!important;
  gap:7px!important;
  align-items:end!important;
}
.tt-p1.tt-premium-product .tt-p1-inline-form>label span{
  font-size:8px!important;
  margin-bottom:3px!important;
}
.tt-p1.tt-premium-product .tt-p1-inline-form input,
.tt-p1.tt-premium-product .tt-p1-inline-form select{
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
  padding:0 10px!important;
  font-size:9px!important;
}
.tt-p1.tt-premium-product .tt-p1-inline-form .tt-hwp-submit{
  height:34px!important;
  min-height:34px!important;
  min-width:112px!important;
  padding:0 15px!important;
  border-radius:8px!important;
  font-size:9.5px!important;
  white-space:nowrap!important;
}

/* -------------------------------------------
   STYLE 2: main image fills visual more closely
   ------------------------------------------- */
.tt-p2.tt-premium-product .tt-p2-main{
  height:490px!important;
  padding:0!important;
  border:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#f7f9fc,#eef3f8)!important;
}
.tt-p2.tt-premium-product .tt-p2-main img{
  max-width:none!important;
  max-height:none!important;
  width:112%!important;
  height:112%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:scale(1.06)!important;
  filter:drop-shadow(0 10px 24px rgba(16,24,40,.07))!important;
}

/* thumbnails: smaller, equal and quieter */
.tt-p2.tt-premium-product .tt-p2-thumbrow{
  grid-template-columns:30px minmax(0,1fr) 30px!important;
  gap:8px!important;
  margin-top:10px!important;
}
.tt-p2.tt-premium-product .tt-p2-thumbs{
  grid-template-columns:repeat(5,minmax(0,58px))!important;
  gap:8px!important;
  justify-content:start!important;
}
.tt-p2.tt-premium-product .tt-p2-thumbs .tt-hwp-thumb{
  width:58px!important;
  min-width:58px!important;
  height:58px!important;
  min-height:58px!important;
  padding:3px!important;
  border:1px solid #e3e8ee!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.tt-p2.tt-premium-product .tt-p2-thumbs .tt-hwp-thumb.is-active{
  border-color:#e60012!important;
  box-shadow:0 0 0 2px rgba(230,0,18,.06)!important;
}
.tt-p2.tt-premium-product .tt-p2-thumbs .tt-hwp-thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  transform:none!important;
}
.tt-p2.tt-premium-product .tt-p2-thumbnav{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  border-radius:9px!important;
  font-size:17px!important;
}

/* Side form in style 2 also becomes visually lighter */
.tt-p2.tt-premium-product .tt-p2-leadbox{
  padding:17px!important;
  border-radius:15px!important;
}
.tt-p2.tt-premium-product .tt-p2-leadbox__icon{
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  margin-bottom:8px!important;
}
.tt-p2.tt-premium-product .tt-p2-leadbox>h2{
  font-size:15px!important;
  line-height:1.25!important;
}
.tt-p2.tt-premium-product .tt-p2-leadbox>p{
  margin:5px 0 10px!important;
  font-size:9px!important;
}
.tt-p2.tt-premium-product .tt-p2-side-form{
  gap:7px!important;
}
.tt-p2.tt-premium-product .tt-p2-side-form input,
.tt-p2.tt-premium-product .tt-p2-side-form select{
  height:34px!important;
  min-height:34px!important;
}
.tt-p2.tt-premium-product .tt-p2-side-form textarea{
  min-height:88px!important;
}
.tt-p2.tt-premium-product .tt-p2-side-form .tt-hwp-submit{
  height:36px!important;
  min-height:36px!important;
  font-size:10px!important;
}

@media(max-width:1100px){
  .tt-p1.tt-premium-product .tt-p1-visual{min-height:390px!important}
  .tt-p1.tt-premium-product .tt-p1-visual__stage{height:350px!important}
  .tt-p1.tt-premium-product .tt-p1-consult__bar{grid-template-columns:1fr!important;padding:12px 14px!important}
  .tt-p1.tt-premium-product .tt-p1-inline-form{grid-template-columns:1fr 1fr 1fr 1fr auto!important}
  .tt-p2.tt-premium-product .tt-p2-main{height:410px!important}
}

@media(max-width:780px){
  .tt-p1.tt-premium-product .tt-p1-visual{min-height:285px!important}
  .tt-p1.tt-premium-product .tt-p1-visual__stage{height:260px!important}
  .tt-p1.tt-premium-product .tt-p1-visual__stage img{width:108%!important;height:108%!important;transform:scale(1.03)!important}
  .tt-p1.tt-premium-product .tt-p1-agent__avatar{width:40px!important;height:40px!important;flex-basis:40px!important}
  .tt-p1.tt-premium-product .tt-p1-inline-form{grid-template-columns:1fr 1fr!important}
  .tt-p1.tt-premium-product .tt-p1-inline-form .tt-hwp-submit{grid-column:1/-1!important;width:100%!important}
  .tt-p2.tt-premium-product .tt-p2-main{height:285px!important}
  .tt-p2.tt-premium-product .tt-p2-main img{width:108%!important;height:108%!important;transform:scale(1.03)!important}
  .tt-p2.tt-premium-product .tt-p2-thumbs{grid-template-columns:repeat(4,minmax(0,52px))!important}
  .tt-p2.tt-premium-product .tt-p2-thumbs .tt-hwp-thumb{width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important}
}
