/* Edu Games — página de produto 0.9.6 */
.single-product .ed-trust-product{display:none!important}
.single-product .ed-simple-delivery{display:flex;align-items:center;gap:8px;margin:16px 0 14px;color:#d4e8ff;font-weight:800;font-size:14px}
.single-product .ed-simple-delivery .ed-ui-icon{width:18px;height:18px;background:#91b9ff}
.single-product .nd-offline-info{margin:14px 0!important;padding:18px 20px!important;background:#172851!important;border:1px solid rgba(130,158,240,.38)!important;border-radius:14px!important}
.single-product .nd-offline-info strong{font-size:16px!important;line-height:1.45!important;display:flex;align-items:center;gap:9px}
.single-product .nd-offline-info p{line-height:1.7;margin:7px 0 0!important;font-size:14px}
.single-product .ed-product-story,.single-product .ed-reviews-section{clear:both;padding:30px 0;margin:28px 0 10px;color:#e9f1ff}
.single-product .ed-product-story h2,.single-product .ed-reviews-section h2{font-size:clamp(22px,2.8vw,29px);line-height:1.3;margin:0 0 22px;color:#fff}
.single-product .ed-product-story-content{background:#131e43;border:1px solid rgba(130,163,247,.22);border-radius:18px;padding:clamp(16px,3vw,34px);overflow-wrap:anywhere}
.single-product .ed-product-story-content img{max-width:100%;height:auto;border-radius:10px}
.single-product .ed-product-story-content iframe{max-width:100%;aspect-ratio:16/9;height:auto;border:0}
.single-product .ed-product-story-content h3{color:#eaf2ff}
.single-product .ed-reviews-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
.single-product .ed-reviews-controls{display:flex;gap:8px}
.single-product .ed-reviews-controls button{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;border:1px solid #6386d07a;background:#1b2b58;color:#fff;cursor:pointer;font-size:20px}
.single-product .ed-reviews-controls button:hover{background:#3658a4}
.single-product .ed-reviews-section #reviews{background:transparent;border:0;padding:0}
.single-product .ed-reviews-section #comments{width:100%}
.single-product .ed-reviews-section #comments>h2{font-size:0!important;margin:0!important;height:0;overflow:hidden}
.single-product .ed-reviews-section #comments ol.commentlist{display:flex!important;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;list-style:none;padding:3px 0 18px!important;margin:0!important;scrollbar-width:thin}
.single-product .ed-reviews-section #comments ol.commentlist>li{flex:0 0 min(350px,85vw);max-width:350px;scroll-snap-align:start;background:#172651;border:1px solid #7898d047;border-radius:16px;padding:20px!important;margin:0!important;float:none!important;box-sizing:border-box}
.single-product .ed-reviews-section #comments ol.commentlist li img.avatar{position:static!important;float:left!important;margin:0 10px 8px 0;padding:0!important;width:42px!important;height:42px!important;border-radius:50%}
.single-product .ed-reviews-section #comments ol.commentlist li .comment-text{margin:0!important;border:0!important;padding:0!important;clear:both}
.single-product .ed-reviews-section #comments ol.commentlist li .comment-text .description{overflow-wrap:anywhere}
.single-product .ed-reviews-section #review_form_wrapper{margin-top:28px;background:#131e43;border:1px solid #7898d047;padding:22px;border-radius:16px}
.single-product .ed-reviews-section #reviews #comments>p.woocommerce-noreviews{color:#b9c9ed}
@media(max-width:640px){.single-product .ed-product-story,.single-product .ed-reviews-section{margin-top:12px;padding:20px 0}.single-product .ed-reviews-head{align-items:flex-start}.single-product .ed-reviews-controls button{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.single-product .ed-reviews-section #comments ol.commentlist{scroll-behavior:auto}}


/* 0.9.3 — reorganiza a area principal e move o trailer para baixo */
.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description,
.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description iframe,
.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description video,
.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description embed{display:none!important}
.single-product .woocommerce div.product .summary .price{margin:10px 0 10px!important}
.single-product .ed-product-trailer{clear:both;padding:18px 0 0;margin:14px 0 0}
.single-product .ed-product-trailer-card{background:#131e43;border:1px solid rgba(130,163,247,.22);border-radius:18px;padding:20px 20px 18px;box-shadow:0 12px 28px rgba(1,7,25,.18)}
.single-product .ed-product-trailer-card h2{margin:0 0 14px;color:#fff;font-size:clamp(22px,2.5vw,28px);line-height:1.2}
.single-product .ed-product-trailer-media iframe,
.single-product .ed-product-trailer-media video,
.single-product .ed-product-trailer-media embed{display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:14px}
.single-product .ed-product-story,.single-product .ed-reviews-section{padding-top:24px}
.single-product .ed-product-story h2:first-child{margin-top:0}
.single-product .ed-product-story-content > h2:first-child{margin-top:0}
.single-product .ed-product-story-content > h2:first-child{font-size:clamp(24px,3vw,32px);line-height:1.25;margin-bottom:18px;color:#fff}
.single-product .ed-product-story-content > h3{margin-top:22px}
.single-product .woocommerce div.product .summary{display:flex;flex-direction:column}
.single-product .woocommerce div.product .summary .product_title{order:1}
.single-product .woocommerce div.product .summary .price{order:2}
.single-product .woocommerce div.product .summary .nd-offline-info{order:3}
.single-product .woocommerce div.product .summary .ed-simple-delivery{order:4}
.single-product .woocommerce div.product form.cart{order:5}
.single-product .woocommerce div.product .product_meta{order:6}
.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description{order:7}
@media(max-width:768px){
 .single-product .ed-product-trailer-card{padding:16px}
 .single-product .ed-product-lead p{font-size:14px}
}


/* 0.9.4 — remove resumo no topo e adiciona fundo hero com imagem do jogo */
.single-product .nd-main{position:relative;isolation:isolate}
.single-product .nd-main::before{
  content:"";position:absolute;left:-22px;right:-22px;top:-26px;height:min(46vw,560px);z-index:-1;pointer-events:none;
  background:
   linear-gradient(90deg, rgba(7,12,30,.96) 0%, rgba(8,14,34,.90) 28%, rgba(10,16,38,.78) 52%, rgba(8,12,28,.96) 100%),
   radial-gradient(circle at 18% 30%, rgba(92,127,255,.22), transparent 30%),
   var(--ed-hero-image) center/cover no-repeat;
  border-radius:28px;
  box-shadow:0 28px 50px rgba(0,0,0,.24);
  opacity:.95;
}
.single-product .nd-main::after{
  content:"";position:absolute;left:-30px;right:-30px;top:300px;height:200px;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg, rgba(9,14,36,0), rgba(9,14,36,.88) 60%, rgba(9,14,36,1) 100%);
}
.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.single-product .woocommerce div.product .summary{backdrop-filter:blur(6px)}
.single-product .woocommerce div.product .summary{background:linear-gradient(160deg,rgba(17,27,60,.86),rgba(12,20,46,.78));}
.single-product .woocommerce div.product .product_title{margin-bottom:10px}
.single-product .woocommerce div.product .summary .price{margin:8px 0 16px!important}
.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description,
.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description p{display:none!important}
.single-product .woocommerce div.product .summary .nd-offline-info{margin-top:2px}
.single-product .ed-product-trailer{padding-top:34px}
.single-product .ed-product-story{padding-top:28px}
@media(max-width:768px){
 .single-product .nd-main::before{left:-10px;right:-10px;top:-12px;height:260px;border-radius:18px}
 .single-product .nd-main::after{top:170px;height:150px}
}


/* 0.9.5: degradê horizontal de verdade por tras do conteudo do jogo */
body.single-product .nd-main{position:relative;isolation:isolate;background:transparent!important}
body.single-product .nd-main::before{
  content:"";position:absolute;top:-38px;left:calc(50% - 50vw);right:auto;
  width:100vw;max-width:none;height:min(750px,72vw);
  pointer-events:none;z-index:0;border-radius:0;box-shadow:none;opacity:var(--ed-hero-opacity,0);
  background-image:
   linear-gradient(180deg,rgba(9,14,36,.26) 0%,rgba(9,14,36,.28) 35%,rgba(9,14,36,.92) 84%,#090e24 100%),
   linear-gradient(90deg,rgba(9,14,36,.90) 0%,rgba(9,14,36,.53) 45%,rgba(9,14,36,.62) 100%),
   var(--ed-hero-image,none);
  background-position:center,center,center 36%;background-size:cover;background-repeat:no-repeat;
}
body.single-product .nd-main::after{display:none!important}
body.single-product .nd-main > *{position:relative;z-index:1}
body.single-product .woocommerce div.product .summary{background:linear-gradient(150deg,rgba(17,27,60,.78),rgba(12,20,46,.72))!important;backdrop-filter:blur(5px)}
body.single-product .woocommerce div.product .summary .ed-product-lead{display:none!important}
@media(max-width:768px){
 body.single-product .nd-main::before{left:calc(50% - 50vw);top:-22px;height:440px;background-position:center,center,60% top}
}
@media(prefers-reduced-motion:reduce){body.single-product .nd-main::before{transition:none!important}}


/* 0.9.6 — hero mais alto e box de compra mais destacada */
body.single-product .woocommerce div.product{
  padding-top:68px;
  display:flex;
  align-items:flex-start;
  gap:34px;
}
body.single-product .nd-main::before{
  top:-52px;
  height:min(860px,78vw);
  background-image:
   linear-gradient(180deg,rgba(9,14,36,.12) 0%,rgba(9,14,36,.20) 28%,rgba(9,14,36,.86) 76%,#090e24 100%),
   linear-gradient(90deg,rgba(9,14,36,.82) 0%,rgba(9,14,36,.36) 42%,rgba(9,14,36,.58) 100%),
   var(--ed-hero-image,none);
  background-position:center,center,center 26%;
}
body.single-product .woocommerce div.product .summary{
  padding:26px 28px 24px !important;
  border-radius:24px !important;
  border:1px solid rgba(129,163,247,.32) !important;
  background:linear-gradient(160deg,rgba(14,24,54,.90),rgba(10,18,42,.88)) !important;
  box-shadow:0 18px 44px rgba(2,7,24,.32), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(8px);
}
body.single-product .woocommerce div.product .summary > *{position:relative;z-index:1}
body.single-product .woocommerce div.product .summary::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:24px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0));
}
body.single-product .woocommerce div.product .summary .product_title{
  font-size:clamp(34px,4vw,54px);
  line-height:1.04;
  max-width:11ch;
  margin-bottom:14px;
}
body.single-product .woocommerce div.product .summary .price{
  font-size:clamp(22px,2.3vw,32px)!important;
  margin:0 0 20px!important;
}
body.single-product .woocommerce div.product .summary .nd-offline-info{
  margin:0 0 16px!important;
  background:linear-gradient(180deg,rgba(28,45,93,.96),rgba(22,38,80,.96))!important;
  border:1px solid rgba(134,167,244,.38)!important;
  box-shadow:0 10px 24px rgba(1,8,28,.16);
}
body.single-product .woocommerce div.product .summary .ed-simple-delivery{
  margin:10px 0 14px;
  font-size:15px;
}
body.single-product .woocommerce div.product form.cart{
  margin-top:2px;
}
body.single-product .woocommerce div.product .product_meta{
  margin-top:12px;
  padding-top:14px;
  border-top:1px solid rgba(116,145,217,.20);
}
body.single-product .woocommerce div.product .images .woocommerce-product-gallery__wrapper{
  box-shadow:0 18px 40px rgba(2,8,27,.30);
}
@media(max-width:980px){
 body.single-product .woocommerce div.product{padding-top:42px;gap:24px}
 body.single-product .nd-main::before{height:620px;background-position:center,center,center 22%}
 body.single-product .woocommerce div.product .summary .product_title{font-size:clamp(28px,5vw,40px);max-width:none}
}
@media(max-width:768px){
 body.single-product .woocommerce div.product{padding-top:24px;gap:18px}
 body.single-product .nd-main::before{top:-18px;height:390px;background-position:center,center,58% top}
 body.single-product .woocommerce div.product .summary{padding:18px 18px 16px!important;border-radius:18px!important}
 body.single-product .woocommerce div.product .summary::before{border-radius:18px}
 body.single-product .woocommerce div.product .summary .product_title{font-size:clamp(24px,8vw,34px)}
}
