/* FDI Produto Premium - reorganização final da página */

body.single-product div.product,
body.product-template-default div.product {
  padding: 34px 38px 32px !important;
  overflow: hidden !important;
}

body.single-product div.product::before,
body.product-template-default div.product::before {
  height: 5px !important;
  z-index: 2 !important;
  background: linear-gradient(90deg, #00AAFF 0%, #6E6BFF 52%, #7B2FBE 100%) !important;
}

body.single-product div.product div.images,
body.product-template-default div.product div.images {
  padding: 24px !important;
  border-radius: 28px !important;
}

body.single-product div.product div.summary,
body.product-template-default div.product div.summary {
  display: block !important;
}

body.single-product .summary::before,
body.product-template-default .summary::before {
  margin-bottom: 8px !important;
  padding: 7px 12px !important;
  font-size: 10.5px !important;
  letter-spacing: .09em !important;
}

body.single-product .product_title,
body.product-template-default .product_title {
  font-size: clamp(2.45rem, 3.8vw, 3.9rem) !important;
  margin-bottom: 8px !important;
  line-height: .98 !important;
}

body.single-product .fdi-product-emotional-line {
  max-width: 610px !important;
  margin-bottom: 10px !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

body.single-product .summary .price,
body.product-template-default .summary .price {
  margin-bottom: 10px !important;
  padding: 8px 14px !important;
  font-size: 1.12rem !important;
}

body.single-product .woocommerce-product-details__short-description,
body.product-template-default .woocommerce-product-details__short-description {
  margin-bottom: 10px !important;
  font-size: .93rem !important;
  line-height: 1.65 !important;
}

body.single-product form.cart,
body.product-template-default form.cart {
  margin-top: 8px !important;
  padding: 12px 13px !important;
  border-radius: 17px !important;
  gap: 10px !important;
}

body.single-product .quantity .qty,
body.product-template-default .quantity .qty,
body.single-product button.single_add_to_cart_button,
body.product-template-default button.single_add_to_cart_button {
  min-height: 46px !important;
}

body.single-product button.single_add_to_cart_button,
body.product-template-default button.single_add_to_cart_button {
  padding-inline: 26px !important;
}

body.single-product .fdi-buy-microcopy {
  font-size: .79rem !important;
  line-height: 1.42 !important;
}

body.single-product .product_meta,
body.product-template-default .product_meta {
  margin-top: 12px !important;
  padding-top: 12px !important;
  font-size: .82rem !important;
}

/* Selos agora ficam debaixo da imagem */
body.single-product div.product div.images .fdi-product-trust-js,
body.product-template-default div.product div.images .fdi-product-trust-js,
body.single-product .fdi-product-trust-js.fdi-trust-under-image,
body.product-template-default .fdi-product-trust-js.fdi-trust-under-image {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 16px 0 0 !important;
  width: 100% !important;
}

body.single-product div.product div.images .fdi-product-trust-js div,
body.product-template-default div.product div.images .fdi-product-trust-js div,
body.single-product .fdi-product-trust-js.fdi-trust-under-image div,
body.product-template-default .fdi-product-trust-js.fdi-trust-under-image div {
  min-height: 74px !important;
  padding: 10px 7px 9px !important;
  border-radius: 16px !important;
  justify-content: flex-start !important;
  text-align: center !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF8FF 100%) !important;
  border: 1px solid rgba(123,47,190,.13) !important;
  box-shadow: 0 9px 20px rgba(61,26,110,.055) !important;
}

body.single-product .fdi-trust-icon,
body.product-template-default .fdi-trust-icon {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  min-height: 31px !important;
  margin: 0 auto 6px !important;
  border-radius: 12px !important;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #681AB2 0%, #A04DE6 100%) !important;
  box-shadow: 0 8px 16px rgba(123,47,190,.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.single-product .fdi-trust-icon svg,
body.product-template-default .fdi-trust-icon svg {
  display: none !important;
}

body.single-product .fdi-trust-symbol,
body.product-template-default .fdi-trust-symbol {
  display: inline-flex !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.single-product .fdi-product-trust-js strong,
body.product-template-default .fdi-product-trust-js strong {
  font-size: .72rem !important;
  line-height: 1.13 !important;
  margin-bottom: 2px !important;
  color: #3D1A6E !important;
}

body.single-product .fdi-product-trust-js span:not(.fdi-trust-icon):not(.fdi-trust-symbol),
body.product-template-default .fdi-product-trust-js span:not(.fdi-trust-icon):not(.fdi-trust-symbol) {
  font-size: .64rem !important;
  line-height: 1.2 !important;
  color: #776C8D !important;
}

/* Descrição logo abaixo do produto */
body.single-product .woocommerce-tabs.fdi-description-first,
body.product-template-default .woocommerce-tabs.fdi-description-first {
  margin-top: 30px !important;
  padding: 32px !important;
}

body.single-product .woocommerce-Tabs-panel h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem) !important;
  margin-bottom: 16px !important;
}

body.single-product .woocommerce-Tabs-panel p {
  max-width: 980px !important;
}

body.single-product .woocommerce-Tabs-panel strong {
  display: inline-block !important;
  margin-top: 10px !important;
}

body.single-product .fdi-description-highlight {
  margin: 0 0 22px !important;
  padding: 18px 20px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #FAF7FF 0%, #FFFFFF 100%) !important;
  border: 1px solid rgba(123,47,190,.12) !important;
  color: #514963 !important;
  line-height: 1.75 !important;
  box-shadow: 0 12px 28px rgba(61,26,110,.045) !important;
}

/* Card roxo mais abaixo, antes dos relacionados */
body.single-product .fdi-conversion-block.fdi-conversion-before-related,
body.product-template-default .fdi-conversion-block.fdi-conversion-before-related {
  margin-top: 30px !important;
  padding: 36px !important;
  border-radius: 28px !important;
}

body.single-product .fdi-conversion-block .fdi-conversion-cta {
  display: none !important;
}

body.single-product .fdi-conversion-grid {
  grid-template-columns: .95fr 1.05fr !important;
  gap: 24px !important;
}

body.single-product .fdi-conversion-block h2 {
  font-size: clamp(1.9rem, 2.65vw, 2.75rem) !important;
  line-height: 1.05 !important;
  max-width: 500px !important;
}

body.single-product .fdi-conversion-block p {
  font-size: .94rem !important;
  line-height: 1.68 !important;
  max-width: 520px !important;
}

body.single-product .fdi-conversion-card {
  padding: 15px 16px !important;
  border-radius: 18px !important;
}

body.single-product .fdi-conversion-card strong {
  font-size: .94rem !important;
}

body.single-product .fdi-conversion-card span {
  font-size: .85rem !important;
}

/* Relacionados */
body.single-product .related.products::before,
body.single-product .upsells.products::before {
  display: none !important;
  content: none !important;
}

body.single-product .related.products,
body.single-product .upsells.products {
  overflow: visible !important;
  padding: 32px !important;
}

body.single-product .related.products h2,
body.single-product .upsells.products h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.45rem) !important;
  margin-bottom: 20px !important;
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
  padding: 18px !important;
}

body.single-product .related.products ul.products li.product img,
body.single-product .upsells.products ul.products li.product img {
  margin-bottom: 12px !important;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(1.18rem, 1.8vw, 1.5rem) !important;
  line-height: 1.14 !important;
}

/* Explore caminhos */
body.single-product .fdi-category-explorer {
  padding: 32px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF8FF 100%) !important;
}

body.single-product .fdi-explorer-premium {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 24px !important;
  align-items: center !important;
  margin-bottom: 22px !important;
}

body.single-product .fdi-explorer-eyebrow {
  display: inline-flex !important;
  margin-bottom: 10px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: rgba(123,47,190,.08) !important;
  color: #7B2FBE !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
}

body.single-product .fdi-category-explorer h2 {
  margin: 0 0 8px !important;
  font-size: clamp(1.75rem, 2.6vw, 2.55rem) !important;
  line-height: 1.08 !important;
}

body.single-product .fdi-explorer-copy p {
  margin: 0 !important;
  color: #6C647D !important;
  line-height: 1.65 !important;
}

body.single-product .fdi-explorer-actions {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}

body.single-product .fdi-explorer-btn {
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

body.single-product .fdi-explorer-btn-primary {
  background: linear-gradient(135deg, #7B2FBE 0%, #9C52DE 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 14px 28px rgba(123,47,190,.20) !important;
}

body.single-product .fdi-explorer-btn-secondary {
  background: #FFFFFF !important;
  color: #3D1A6E !important;
  border: 1px solid rgba(123,47,190,.14) !important;
}

body.single-product .fdi-category-card {
  padding: 18px !important;
}

body.single-product .fdi-category-card strong {
  font-size: .95rem !important;
}

body.single-product .fdi-category-card span {
  font-size: .84rem !important;
}

@media (max-width: 1100px) {
  body.single-product div.product div.images .fdi-product-trust-js,
  body.product-template-default div.product div.images .fdi-product-trust-js,
  body.single-product .fdi-product-trust-js.fdi-trust-under-image,
  body.product-template-default .fdi-product-trust-js.fdi-trust-under-image {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.single-product div.product,
  body.product-template-default div.product {
    padding: 22px 18px !important;
  }

  body.single-product div.product div.images .fdi-product-trust-js,
  body.product-template-default div.product div.images .fdi-product-trust-js,
  body.single-product .fdi-product-trust-js.fdi-trust-under-image,
  body.product-template-default .fdi-product-trust-js.fdi-trust-under-image {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product .fdi-conversion-grid,
  body.single-product .fdi-conversion-cards,
  body.single-product .fdi-how-steps,
  body.single-product .fdi-category-grid,
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products,
  body.single-product .fdi-explorer-premium {
    grid-template-columns: 1fr !important;
  }

  body.single-product .fdi-explorer-actions {
    justify-content: flex-start !important;
  }

  body.single-product .product_title {
    font-size: clamp(2.35rem, 11vw, 3.25rem) !important;
  }
}
