/* ActiveCard product detail pages */

.ac-product-page{
  background:#f4f7fb;
}

.ac-product-hero{
  position:relative;
  overflow:hidden;
  padding:30px 0 72px;
  color:#fff;
  background:
    radial-gradient(circle at 82% 22%,rgba(70,159,229,.22),transparent 30%),
    linear-gradient(118deg,#061a2d 0%,#0a2d4c 57%,#0d456f 100%);
}
.ac-product-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.15;
  background-image:linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),transparent 94%);
}
.ac-product-hero>div{
  position:relative;
  z-index:1;
  width:min(calc(100% - 40px),1240px);
  margin:0 auto;
}
.ac-product-hero>div>div{
  display:block;
}
.ac-product-hero .ac-product-breadcrumb{
  margin:0 0 38px;
}
.ac-product-hero .ac-product-breadcrumb ol{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
  color:rgba(255,255,255,.65);
  font-size:.8rem;
  font-weight:600;
}
.ac-product-hero .ac-product-breadcrumb li+li::before{
  content:"/";
  margin-right:8px;
  color:rgba(255,255,255,.35);
}
.ac-product-hero .ac-product-breadcrumb a{color:rgba(255,255,255,.82)}
.ac-product-hero .ac-product-breadcrumb a:hover{color:#fff}

.ac-product-hero .ac-product-kicker{
  display:inline-flex;
  align-items:center;
  margin:0 0 18px;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:.76rem;
  font-weight:750;
  letter-spacing:.025em;
}
.ac-product-hero h1{
  max-width:900px;
  margin:0;
  color:#fff;
  font-size:clamp(2.55rem,4.8vw,4.75rem);
  line-height:1.02;
  letter-spacing:-.052em;
}
.ac-product-hero h2{
  max-width:820px;
  margin:22px 0 34px;
  color:rgba(255,255,255,.82);
  font-size:clamp(1.02rem,1.45vw,1.26rem);
  line-height:1.55;
  font-weight:500;
}
.ac-product-hero .ac-product-top-cta{
  margin:0 0 28px;
}
#acRevendedoresCTA_topo,
#acRevendedoresCTA{
  min-height:44px;
  padding:0 18px;
  border:0;
  border-radius:10px;
  background:#fff;
  color:#0d67c7;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}
#acRevendedoresCTA_topo:hover,
#acRevendedoresCTA:hover{
  transform:translateY(-2px);
  background:#eef7ff;
}

.ac-product-gallery{
  display:grid;
  grid-template-columns:minmax(0,1fr) 116px;
  gap:20px;
  max-width:760px;
  margin-top:26px;
  padding:20px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:24px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.ac-product-main-image{
  min-height:360px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(255,255,255,.94);
}
.ac-product-main-image #mainImage{
  width:auto;
  height:auto;
  max-width:92%;
  max-height:330px;
  object-fit:contain;
  filter:drop-shadow(0 24px 28px rgba(0,0,0,.18));
}
.ac-product-thumbs{
  display:flex;
  flex-direction:column;
  gap:9px;
  max-height:360px;
  overflow:auto;
  padding-right:2px;
}
.ac-product-thumbs img{
  width:100%!important;
  height:78px;
  padding:7px;
  object-fit:contain;
  border:1px solid rgba(255,255,255,.16);
  border-radius:11px;
  background:rgba(255,255,255,.94);
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.ac-product-thumbs img:hover,
.ac-product-thumbs .thumbnail-active{
  transform:translateY(-1px);
  border-color:#66afe9;
  box-shadow:0 0 0 2px rgba(102,175,233,.18);
}

.ac-product-main.ac-category-main{
  padding-top:64px;
}
.ac-product-main .ac-product-content{
  display:grid;
  gap:20px;
}
.ac-product-main .ac-product-content>p,
.ac-product-main .ac-product-content>h3,
.ac-product-main .ac-product-content>ul,
.ac-product-main .ac-product-content>#acResellerSection{
  max-width:none;
  margin:0;
}
.ac-product-main .ac-product-content>p,
.ac-product-main .ac-product-content>h3,
.ac-product-main .ac-product-content>ul{
  padding:28px 30px;
  border:1px solid #dfe7f0;
  border-radius:20px;
  background:#fff;
  box-shadow:0 6px 20px rgba(15,35,60,.035);
}
.ac-product-main .ac-product-content>p{
  color:#52657a;
  font-size:1rem;
  line-height:1.75;
}
.ac-product-main .ac-product-content>h3{
  padding-bottom:0;
  border-bottom:0;
  border-radius:20px 20px 0 0;
  color:#102033;
  font-size:1.5rem;
  letter-spacing:-.025em;
  box-shadow:none;
}
.ac-product-main .ac-product-content>h3+ul{
  margin-top:-20px;
  padding-top:16px;
  border-radius:0 0 20px 20px;
}
.ac-product-main .ac-product-content>ul{
  padding-left:52px;
  color:#536579;
}
.ac-product-main .ac-product-content>ul li{margin:10px 0}
.ac-product-main .ac-product-content a{color:#0d67c7;font-weight:700}
.ac-product-main .ac-product-content a:hover{color:#084e9a}

#acResellerSection{
  position:relative;
  overflow:hidden;
  padding:30px 32px;
  border:0;
  border-radius:22px;
  background:linear-gradient(125deg,#0a3154 0%,#0d67c7 100%);
  color:#fff;
  box-shadow:0 18px 42px rgba(13,103,199,.18);
}
#acResellerSection::after{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  right:-70px;
  top:-100px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}
#acResellerSection>*{position:relative;z-index:1}
#acResellerSection h3{margin:0 0 10px;color:#fff;font-size:1.5rem}
#acResellerSection p{margin:0 0 18px;color:rgba(255,255,255,.84)}
#acResellerSection p:last-child{margin:14px 0 0;font-size:.82rem}

#acRevendedorModal{
  display:none;
  position:fixed;
  inset:0;
  z-index:300;
  padding:20px;
  place-items:center;
  background:rgba(4,15,27,.66);
  backdrop-filter:blur(6px);
}
#acRevendedorModal.open{display:grid}
#acRevendedorModal>div{
  width:min(100%,560px);
  max-height:90vh;
  overflow:auto;
  border-radius:22px;
  background:#fff;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}
#acRevendedorModal>div>div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px;
  border-bottom:1px solid #e3eaf1;
}
#acRevendedorModal h4{margin:0;color:#102033;font-size:1.25rem}
#acRevendedorModal .ac-close{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:#edf3f8;
  color:#233b54;
  font-size:1.5rem;
  cursor:pointer;
}
#acRevendedorModal>div>div:nth-child(2){padding:22px 24px 8px}
#acRevendedorModal input{
  width:100%;
  min-height:44px;
  margin-bottom:10px;
  padding:10px 12px;
  border:1px solid #d8e3ed;
  border-radius:10px;
  outline:none;
  background:#f7fafc;
}
#acRevendedorModal input:focus{border-color:#67afe9;background:#fff;box-shadow:0 0 0 3px rgba(47,143,221,.11)}
#acRevendedorModal>div>div:last-child{
  display:flex;
  justify-content:flex-end;
  gap:9px;
  padding:18px 24px 24px;
}
#acRevendedorModal>div>div:last-child button{
  min-height:40px;
  padding:0 16px;
  border:0;
  border-radius:9px;
  font-weight:800;
  cursor:pointer;
}
#acRevendedorModal .ac-cancel{background:#e8eef4;color:#30465d}
#acEnviarRevendedor{background:#0d67c7;color:#fff}

.ac-product-page .ac-category-main-with-sidebar #sidebar{
  max-width:320px;
}

@media (max-width:900px){
  .ac-product-hero>div{width:min(calc(100% - 32px),1240px)}
  .ac-product-gallery{grid-template-columns:1fr;max-width:680px}
  .ac-product-thumbs{
    flex-direction:row;
    max-height:none;
    overflow-x:auto;
    padding:0 0 4px;
  }
  .ac-product-thumbs img{flex:0 0 78px;width:78px!important;height:72px}
}

@media (max-width:600px){
  .ac-product-hero{padding:24px 0 48px}
  .ac-product-hero>div{width:calc(100% - 28px)}
  .ac-product-hero .ac-product-breadcrumb{margin-bottom:28px}
  .ac-product-hero h1{font-size:clamp(2.2rem,11vw,3rem)}
  .ac-product-hero h2{font-size:.98rem;margin:18px 0 26px}
  .ac-product-gallery{padding:14px;border-radius:18px}
  .ac-product-main-image{min-height:260px}
  .ac-product-main-image #mainImage{max-height:240px}
  .ac-product-main .ac-product-content>p,
  .ac-product-main .ac-product-content>h3,
  .ac-product-main .ac-product-content>ul,
  #acResellerSection{padding:22px}
  .ac-product-main .ac-product-content>ul{padding-left:40px}
}

/* DTC1250e compact gallery refinement */
.ac-product-dtc1250e .ac-product-gallery{
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
  max-width:920px;
  align-items:start;
}

.ac-product-dtc1250e .ac-product-main-image{
  min-height:390px;
}

.ac-product-dtc1250e .ac-product-main-image #mainImage{
  max-width:94%;
  max-height:360px;
}

.ac-product-dtc1250e .ac-product-thumbs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  max-height:none;
  overflow:visible;
  padding:0;
  align-content:start;
}

.ac-product-dtc1250e .ac-product-thumbs img{
  width:100%!important;
  height:96px;
  padding:8px;
  object-fit:contain;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:rgba(255,255,255,.94);
}

@media (max-width:900px){
  .ac-product-dtc1250e .ac-product-gallery{
    grid-template-columns:1fr;
    max-width:720px;
  }
  .ac-product-dtc1250e .ac-product-thumbs{
    grid-template-columns:repeat(5,minmax(0,1fr));
    overflow:visible;
  }
  .ac-product-dtc1250e .ac-product-thumbs img{
    width:100%!important;
    height:82px;
  }
}

@media (max-width:600px){
  .ac-product-dtc1250e .ac-product-main-image{
    min-height:270px;
  }
  .ac-product-dtc1250e .ac-product-main-image #mainImage{
    max-height:245px;
  }
  .ac-product-dtc1250e .ac-product-thumbs{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
  }
  .ac-product-dtc1250e .ac-product-thumbs img{
    height:76px;
    padding:6px;
  }
}

/* DTC1250e hero split layout */
@media (min-width:1001px){
  .ac-product-dtc1250e .ac-product-hero div:has(> .ac-product-gallery){
    display:grid;
    grid-template-columns:minmax(0,1fr) 520px;
    grid-template-rows:auto auto auto auto;
    column-gap:54px;
    align-items:start;
  }
  .ac-product-dtc1250e .ac-product-hero div:has(> .ac-product-gallery) > .ac-product-kicker{
    grid-column:1;
    grid-row:1;
    justify-self:start;
  }
  .ac-product-dtc1250e .ac-product-hero div:has(> .ac-product-gallery) > .ac-product-top-cta{
    grid-column:1;
    grid-row:2;
  }
  .ac-product-dtc1250e .ac-product-hero div:has(> .ac-product-gallery) > h1{
    grid-column:1;
    grid-row:3;
    max-width:700px;
    font-size:clamp(2.7rem,4vw,4.15rem);
  }
  .ac-product-dtc1250e .ac-product-hero div:has(> .ac-product-gallery) > h2{
    grid-column:1;
    grid-row:4;
    max-width:650px;
    margin-bottom:0;
  }
  .ac-product-dtc1250e .ac-product-gallery{
    grid-column:2;
    grid-row:1 / span 4;
    display:block;
    width:100%;
    max-width:520px;
    margin-top:0;
    padding:18px;
  }
  .ac-product-dtc1250e .ac-product-main-image{
    min-height:360px;
  }
  .ac-product-dtc1250e .ac-product-main-image #mainImage{
    max-width:94%;
    max-height:330px;
  }
  .ac-product-dtc1250e .ac-product-thumbs{
    display:grid;
    grid-template-columns:repeat(9,minmax(0,1fr));
    gap:6px;
    margin-top:10px;
    max-height:none;
    overflow:visible;
    padding:0;
  }
  .ac-product-dtc1250e .ac-product-thumbs img{
    width:100%!important;
    height:58px;
    padding:4px;
    border-radius:8px;
  }
}

@media (min-width:701px) and (max-width:1000px){
  .ac-product-dtc1250e .ac-product-gallery{
    display:block;
    max-width:720px;
  }
  .ac-product-dtc1250e .ac-product-thumbs{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
    max-height:none;
    overflow:visible;
  }
}

@media (max-width:700px){
  .ac-product-dtc1250e .ac-product-gallery{
    display:block;
  }
  .ac-product-dtc1250e .ac-product-thumbs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
    max-height:none;
    overflow:visible;
  }
}



/* Shared product detail layout */
@media (min-width:1001px){
  .ac-product-detail .ac-product-intro{
    display:grid;
    grid-template-columns:minmax(0,1fr) 520px;
    column-gap:54px;
    align-items:start;
  }
  .ac-product-detail .ac-product-intro>*:not(.ac-product-gallery){grid-column:1}
  .ac-product-detail .ac-product-intro>.ac-product-gallery{
    grid-column:2;
    grid-row:1 / span 8;
    display:block;
    width:100%;
    max-width:520px;
    margin-top:0;
    padding:18px;
  }
  .ac-product-detail .ac-product-intro>h1{
    max-width:700px;
    font-size:clamp(2.55rem,3.8vw,4rem);
  }
  .ac-product-detail .ac-product-intro>h2{max-width:650px;margin-bottom:0}
  .ac-product-detail .ac-product-main-image{min-height:340px}
  .ac-product-detail .ac-product-main-image #mainImage{max-width:94%;max-height:315px}
  .ac-product-detail .ac-product-thumbs{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(0,1fr);
    gap:8px;
    margin-top:10px;
    max-height:none;
    overflow:visible;
    padding:0;
  }
  .ac-product-detail .ac-product-thumbs img{width:100%!important;height:64px;padding:5px;border-radius:9px}
}

.ac-product-detail .ac-product-main{
  width:min(calc(100% - 40px),1240px);
  margin:0 auto;
}
.ac-product-detail .ac-product-main p,
.ac-product-detail .ac-product-main h3,
.ac-product-detail .ac-product-main table,
.ac-product-detail .ac-product-main>div>ul{
  border:1px solid #dfe7f0;
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 20px rgba(15,35,60,.035);
}
.ac-product-detail .ac-product-main p{padding:24px 26px;color:#52657a;line-height:1.75}
.ac-product-detail .ac-product-main h3{padding:22px 26px;margin-bottom:0;color:#102033}
.ac-product-detail .ac-product-main table{width:100%;padding:8px;border-collapse:separate;border-spacing:0;overflow:hidden}
.ac-product-detail .ac-product-main th,.ac-product-detail .ac-product-main td{padding:12px 14px;border-bottom:1px solid #e7edf3;text-align:left}
.ac-product-detail .ac-product-main tr:last-child th,.ac-product-detail .ac-product-main tr:last-child td{border-bottom:0}

@media (min-width:701px) and (max-width:1000px){
  .ac-product-detail .ac-product-gallery{display:block;max-width:720px}
  .ac-product-detail .ac-product-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;max-height:none;overflow:visible}
}
@media (max-width:700px){
  .ac-product-detail .ac-product-gallery{display:block}
  .ac-product-detail .ac-product-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;max-height:none;overflow:visible}
  .ac-product-detail .ac-product-main{width:calc(100% - 28px)}
}
