/* FDI Produto Premium - refinamento visual e conversão */

body.single-product,
body.product-template-default {
  background:
    radial-gradient(circle at 10% 8%, rgba(123,47,190,.10), transparent 24%),
    radial-gradient(circle at 92% 20%, rgba(0,170,255,.07), transparent 22%),
    linear-gradient(180deg, #FCFAFF 0%, #FFFFFF 45%, #F8F3FF 100%) !important;
}

body.single-product .woocommerce-breadcrumb,
body.single-product .kadence-breadcrumbs,
body.single-product .entry-hero,
body.single-product .entry-header,
body.single-product .page-header,
body.product-template-default .woocommerce-breadcrumb,
body.product-template-default .kadence-breadcrumbs,
body.product-template-default .entry-hero,
body.product-template-default .entry-header,
body.product-template-default .page-header {
  display: none !important;
}

body.single-product .content-area,
body.single-product #primary,
body.single-product .site-main,
body.single-product .entry-content-wrap,
body.product-template-default .content-area,
body.product-template-default #primary,
body.product-template-default .site-main,
body.product-template-default .entry-content-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-product div.product,
body.product-template-default div.product {
  position: relative !important;
  width: min(1320px, calc(100% - 42px)) !important;
  max-width: 1320px !important;
  margin: 34px auto 0 !important;
  padding: 40px !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 8% 8%, rgba(123,47,190,.055), transparent 22%),
    linear-gradient(180deg, #FFFFFF 0%, #FCFAFF 100%) !important;
  border: 1px solid rgba(123,47,190,.12) !important;
  box-shadow: 0 28px 78px rgba(61,26,110,.12) !important;
  overflow: hidden !important;
  font-family: 'Nunito', sans-serif !important;
}

body.single-product div.product::before,
body.product-template-default div.product::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(90deg, #00AAFF 0%, #6E6BFF 48%, #7B2FBE 100%) !important;
}

body.single-product div.product::after,
body.product-template-default div.product::after {
  content: "";
  display: block;
  clear: both;
}

body.single-product div.product div.images,
body.product-template-default div.product div.images {
  width: 46% !important;
  margin: 0 !important;
  padding: 28px !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 15% 8%, rgba(123,47,190,.10), transparent 24%),
    linear-gradient(180deg, #FAF7FF 0%, #FFFFFF 100%) !important;
  border: 1px solid rgba(123,47,190,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 44px rgba(61,26,110,.06) !important;
}

body.single-product div.product div.summary,
body.product-template-default div.product div.summary {
  width: 48% !important;
  margin: 0 !important;
  padding-top: 2px !important;
}

body.single-product div.product div.images img,
body.product-template-default div.product div.images img {
  border-radius: 22px !important;
  mix-blend-mode: multiply;
}

body.single-product .summary::before,
body.product-template-default .summary::before {
  content: "Essência Floral da Integração";
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(123,47,190,.08);
  border: 1px solid rgba(123,47,190,.10);
  color: #7B2FBE;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

body.single-product .product_title,
body.product-template-default .product_title {
  margin: 0 0 12px !important;
  color: #3D1A6E !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(3rem, 4.7vw, 4.65rem) !important;
  line-height: .98 !important;
  letter-spacing: -.025em !important;
}

body.single-product .fdi-product-emotional-line {
  margin: 0 0 20px !important;
  color: #4F4663 !important;
  font-size: 1.16rem !important;
  line-height: 1.72 !important;
  font-weight: 800 !important;
}

body.single-product .summary .price,
body.product-template-default .summary .price {
  display: inline-flex !important;
  align-items: center !important;
  margin: 2px 0 20px !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: rgba(232,201,109,.22) !important;
  border: 1px solid rgba(232,201,109,.34) !important;
  color: #3D1A6E !important;
  font-size: 1.34rem !important;
  font-weight: 950 !important;
}

body.single-product .woocommerce-product-details__short-description,
body.product-template-default .woocommerce-product-details__short-description {
  color: #655D77 !important;
  font-size: 1.02rem !important;
  line-height: 1.85 !important;
  margin: 0 0 22px !important;
}

body.single-product form.cart,
body.product-template-default form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 18px !important;
  padding: 18px !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg,#FAF7FF 0%,#FFFFFF 100%) !important;
  border: 1px solid rgba(123,47,190,.10) !important;
  box-shadow: 0 14px 34px rgba(61,26,110,.05) !important;
}

body.single-product .quantity .qty,
body.product-template-default .quantity .qty {
  min-width: 78px !important;
  min-height: 54px !important;
  border-radius: 15px !important;
  border: 1px solid rgba(123,47,190,.18) !important;
  background: #FFFFFF !important;
  color: #3D1A6E !important;
  font-weight: 900 !important;
}

body.single-product button.single_add_to_cart_button,
body.product-template-default button.single_add_to_cart_button {
  min-height: 56px !important;
  padding: 0 34px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #7B2FBE 0%, #9C52DE 100%) !important;
  color: #FFFFFF !important;
  font-weight: 950 !important;
  box-shadow: 0 18px 42px rgba(123,47,190,.26) !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
}

body.single-product button.single_add_to_cart_button:hover,
body.product-template-default button.single_add_to_cart_button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 50px rgba(123,47,190,.34) !important;
}

body.single-product .fdi-buy-microcopy {
  width: 100%;
  margin: 2px 0 0 !important;
  color: #7A728F !important;
  font-size: .9rem !important;
  line-height: 1.55 !important;
}

body.single-product .product_meta,
body.product-template-default .product_meta {
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(123,47,190,.10) !important;
  color: #7A728F !important;
  font-size: .92rem !important;
}

/* Selos de confiança - vertical e limpo */
body.single-product .fdi-product-trust-js {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 22px !important;
}

body.single-product .fdi-product-trust-js div {
  min-height: 112px !important;
  padding: 16px 12px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7FF 100%) !important;
  border: 1px solid rgba(123,47,190,.11) !important;
  box-shadow: 0 12px 28px rgba(61,26,110,.06) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

body.single-product .fdi-trust-icon {
  width: 39px;
  height: 39px;
  margin: 0 0 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7B2FBE 0%, #9C52DE 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 20px rgba(123,47,190,.22);
}

body.single-product .fdi-trust-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.single-product .fdi-product-trust-js strong,
body.single-product .fdi-product-trust-js span { display: block; }
body.single-product .fdi-product-trust-js strong { color: #3D1A6E; font-size: .9rem; margin-bottom: 5px; line-height: 1.25; }
body.single-product .fdi-product-trust-js span { color: #786F8C; font-size: .78rem; line-height: 1.42; }

/* Blocos abaixo do produto */
body.single-product .fdi-conversion-block,
body.single-product .fdi-how-block,
body.single-product .fdi-category-explorer,
body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.single-product .upsells.products {
  clear: both !important;
  width: min(1320px, calc(100% - 42px)) !important;
  max-width: 1320px !important;
  margin: 30px auto 0 !important;
  border-radius: 30px !important;
  font-family: 'Nunito', sans-serif !important;
}

body.single-product .fdi-conversion-block {
  padding: 34px 38px !important;
  background:
    radial-gradient(circle at 8% 14%, rgba(255,255,255,.12), transparent 22%),
    linear-gradient(135deg,#2E1048 0%,#7B2FBE 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 28px 78px rgba(61,26,110,.16) !important;
}

body.single-product .fdi-conversion-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

body.single-product .fdi-conversion-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.16);
  color: #F7E3A3;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

body.single-product .fdi-conversion-block h2,
body.single-product .fdi-how-block h2,
body.single-product .fdi-category-explorer h2 {
  margin: 0 0 12px !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.06 !important;
}
body.single-product .fdi-conversion-block h2 { color: #FFFFFF !important; max-width: 520px; }
body.single-product .fdi-how-block h2,
body.single-product .fdi-category-explorer h2 { color: #3D1A6E !important; }
body.single-product .fdi-conversion-block p { margin: 0 0 18px !important; color: rgba(255,255,255,.84) !important; line-height: 1.78 !important; font-size: .98rem !important; }

body.single-product .fdi-conversion-cta,
body.single-product .fdi-category-all {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #4A166E !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.14) !important;
}

body.single-product .fdi-conversion-cards,
body.single-product .fdi-how-steps,
body.single-product .fdi-category-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
body.single-product .fdi-how-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
body.single-product .fdi-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 20px; }

body.single-product .fdi-conversion-card {
  padding: 17px;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
}
body.single-product .fdi-conversion-card strong { display: block; color: #FFFFFF; margin-bottom: 7px; font-size: .98rem; }
body.single-product .fdi-conversion-card span { display: block; color: rgba(255,255,255,.78); line-height: 1.55; font-size: .9rem; }

body.single-product .fdi-how-block,
body.single-product .fdi-category-explorer,
body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.single-product .upsells.products {
  padding: 30px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(123,47,190,.10) !important;
  box-shadow: 0 18px 48px rgba(61,26,110,.06) !important;
}
body.single-product .fdi-how-step,
body.single-product .fdi-category-card {
  padding: 22px 20px;
  border-radius: 22px;
  background: #FAF7FF;
  border: 1px solid rgba(123,47,190,.09);
}
body.single-product .fdi-how-step b { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 999px; background: linear-gradient(135deg,#7B2FBE 0%,#9C52DE 100%); color: #FFFFFF; }
body.single-product .fdi-how-step strong,
body.single-product .fdi-category-card strong { display: block; color: #3D1A6E; margin-bottom: 7px; }
body.single-product .fdi-how-step span,
body.single-product .fdi-category-card span { display: block; color: #6C647D; line-height: 1.65; }
body.single-product .fdi-category-card { text-decoration: none !important; transition: transform .22s ease, box-shadow .22s ease; }
body.single-product .fdi-category-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(61,26,110,.09); }
body.single-product .fdi-category-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.single-product .fdi-category-head p { margin: 0; color: #6C647D; line-height: 1.65; }

/* Descrição / tabs */
body.single-product .woocommerce-tabs ul.tabs { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; padding: 0 !important; margin: 0 0 22px !important; border: 0 !important; }
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.single-product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 999px !important; background: rgba(123,47,190,.07) !important; }
body.single-product .woocommerce-tabs ul.tabs li a { padding: 10px 18px !important; color: #3D1A6E !important; font-weight: 800 !important; }
body.single-product .woocommerce-tabs ul.tabs li.active { background: linear-gradient(135deg, #7B2FBE 0%, #9C52DE 100%) !important; }
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #FFFFFF !important; }
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3 { color: #3D1A6E !important; font-family: 'Cormorant Garamond', Georgia, serif !important; }
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li { color: #514963; line-height: 1.86; font-size: .98rem; }
body.single-product .woocommerce-Tabs-panel strong { color: #3D1A6E; font-weight: 900; }
body.single-product .fdi-description-highlight { margin: 0 0 22px; padding: 18px 20px; border-radius: 20px; background: #FAF7FF; border: 1px solid rgba(123,47,190,.10); color: #514963; line-height: 1.75; }

/* Relacionados */
body.single-product .related.products,
body.single-product .upsells.products { position: relative !important; overflow: hidden !important; }
body.single-product .related.products::before,
body.single-product .upsells.products::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #00AAFF 0%, #6E6BFF 48%, #7B2FBE 100%); }
body.single-product .related.products h2,
body.single-product .upsells.products h2 { color: #3D1A6E !important; font-family: 'Cormorant Garamond', Georgia, serif !important; font-size: clamp(1.8rem, 3vw, 2.55rem) !important; line-height: 1.08 !important; margin: 0 0 24px !important; }
body.single-product .related.products h2::before,
body.single-product .upsells.products h2::before { content: none !important; display: none !important; }
body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px !important; margin: 0 !important; padding: 0 !important; }
body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product { width: auto !important; margin: 0 !important; padding: 20px !important; border-radius: 24px !important; background: linear-gradient(180deg,#FFFFFF 0%,#FCFAFF 100%) !important; border: 1px solid rgba(123,47,190,.10) !important; box-shadow: 0 14px 36px rgba(61,26,110,.07) !important; display: flex !important; flex-direction: column !important; min-height: 100% !important; transition: transform .22s ease, box-shadow .22s ease !important; }
body.single-product .related.products ul.products li.product:hover,
body.single-product .upsells.products ul.products li.product:hover { transform: translateY(-4px) !important; box-shadow: 0 22px 50px rgba(61,26,110,.12) !important; }
body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link,
body.single-product .upsells.products ul.products li.product a.woocommerce-LoopProduct-link { display: flex !important; flex-direction: column !important; flex: 1 !important; text-decoration: none !important; }
body.single-product .related.products ul.products li.product img,
body.single-product .upsells.products ul.products li.product img { width: 100% !important; aspect-ratio: 1 / 1 !important; object-fit: contain !important; margin: 0 0 16px !important; padding: 12px !important; background: #FFFFFF !important; border-radius: 18px !important; mix-blend-mode: multiply; }
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 { color: #3D1A6E !important; font-family: 'Cormorant Garamond', Georgia, serif !important; font-size: clamp(1.35rem, 2vw, 1.75rem) !important; line-height: 1.12 !important; margin: 0 0 12px !important; display: -webkit-box !important; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
body.single-product .related.products ul.products li.product .woocommerce-loop-product__title::before,
body.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title::before { content: none !important; display: none !important; }
body.single-product .related.products ul.products li.product .price,
body.single-product .upsells.products ul.products li.product .price { display: inline-flex !important; width: max-content !important; max-width: 100% !important; padding: 8px 13px !important; border-radius: 999px !important; background: rgba(232,201,109,.18) !important; border: 1px solid rgba(232,201,109,.28) !important; font-weight: 900 !important; color: #3D1A6E !important; margin: auto 0 16px !important; }
body.single-product .fdi-related-cta { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 46px !important; margin-top: auto !important; padding: 0 18px !important; border-radius: 999px !important; background: linear-gradient(135deg, #7B2FBE 0%, #9C52DE 100%) !important; color: #FFFFFF !important; text-decoration: none !important; font-weight: 900 !important; box-shadow: 0 14px 30px rgba(123,47,190,.22) !important; }

body.single-product .fdi-mobile-sticky-buy { display: none; }

@media (max-width: 900px) {
  body.single-product div.product,
  body.product-template-default div.product,
  body.single-product .fdi-conversion-block,
  body.single-product .fdi-how-block,
  body.single-product .fdi-category-explorer,
  body.single-product .woocommerce-tabs,
  body.single-product .related.products,
  body.single-product .upsells.products { width: calc(100% - 24px) !important; padding: 22px 18px !important; border-radius: 22px !important; }
  body.single-product div.product div.images,
  body.single-product div.product div.summary,
  body.product-template-default div.product div.images,
  body.product-template-default div.product div.summary { width: 100% !important; float: none !important; }
  body.single-product div.product div.images,
  body.product-template-default div.product div.images { margin-bottom: 18px !important; }
  body.single-product form.cart,
  body.product-template-default form.cart { flex-direction: column !important; align-items: stretch !important; }
  body.single-product .quantity,
  body.single-product .quantity .qty,
  body.single-product button.single_add_to_cart_button { width: 100% !important; }
  body.single-product .fdi-product-trust-js,
  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 { grid-template-columns: 1fr !important; }
  body.single-product .product_title { font-size: clamp(2.4rem, 12vw, 3.4rem) !important; }
  body.single-product .fdi-category-head { align-items: flex-start; flex-direction: column; }
  body.single-product .fdi-mobile-sticky-buy { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 999999; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.98); border: 1px solid rgba(123,47,190,.14); box-shadow: 0 16px 40px rgba(61,26,110,.18); }
  body.single-product .fdi-mobile-sticky-buy__info strong,
  body.single-product .fdi-mobile-sticky-buy__info span { display: block; }
  body.single-product .fdi-mobile-sticky-buy__info strong { color: #3D1A6E; font-size: .9rem; line-height: 1.2; }
  body.single-product .fdi-mobile-sticky-buy__info span { color: #7B2FBE; font-size: .95rem; font-weight: 900; }
  body.single-product .fdi-mobile-sticky-buy__btn { min-height: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #7B2FBE 0%, #9C52DE 100%); color: #FFFFFF; font-weight: 900; }
  body.single-product { padding-bottom: 84px; }
}