/* Jaqueline Fonseca 2026.1.9 — produto individual com foco em leitura e conversão.
 * Só páginas de produto: WooCommerce continua responsável por preço, variantes, carrinho e pagamento.
 */
body.single-product.jf-woocommerce {
  --jf-product-bordo:#6b1e3b;
  --jf-product-malva:#a67c8a;
  --jf-product-line:#e8d8dc;
  --jf-product-ink:#392932;
}
body.single-product.jf-woocommerce .jf-main {
  width:100%;max-width:100%;min-width:0;min-height:0;
  padding:clamp(16px,2.5vw,32px) clamp(12px,3vw,36px) 72px;
}
body.single-product.jf-woocommerce .jf-main :is(#container,#primary,#content,.content-area,.site-main) {
  width:100%!important;min-width:0!important;max-width:1250px!important;
  margin-left:auto!important;margin-right:auto!important;float:none!important;
}
body.single-product.jf-woocommerce .jf-main .woocommerce-breadcrumb {
  margin:0 auto 16px!important;padding:0 8px;
  width:100%;max-width:1250px;color:#806976;font-size:12px;line-height:1.5;
}
/* A barra lateral com "Páginas", "Arquivos" e "Categorias" é removida via hook PHP. */
body.single-product.jf-woocommerce .jf-main :is(#secondary,.widget-area,aside.sidebar) {display:none!important}
body.single-product.jf-woocommerce .jf-main div.product {
  display:grid!important;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  column-gap:clamp(22px,4vw,54px);row-gap:28px;
  align-items:start;width:100%!important;max-width:1200px!important;
  padding:clamp(12px,2vw,26px)!important;margin:0 auto!important;
  border:1px solid var(--jf-product-line)!important;
  border-radius:24px!important;background:#fffdfb!important;
  box-shadow:0 18px 45px rgba(76,35,50,.055)!important;
}
body.single-product.jf-woocommerce .jf-main div.product::before,
body.single-product.jf-woocommerce .jf-main div.product::after {display:none!important}
body.single-product.jf-woocommerce .jf-main div.product>.onsale {
  position:absolute!important;top:25px!important;left:25px!important;right:auto!important;
  z-index:3;display:inline-flex;align-items:center;min-height:31px;
  padding:5px 12px!important;border-radius:99px!important;
  background:var(--jf-product-bordo)!important;color:white!important;font-size:12px!important;
}
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery {
  grid-column:1;grid-row:1;min-width:0!important;width:100%!important;max-width:100%!important;
  float:none!important;margin:0!important;padding:clamp(14px,2vw,25px);
  border-radius:19px;background:#f8f2ef;
  position:relative;
  display:flex;flex-direction:column;justify-content:center;
}
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  display:flex;justify-content:center;align-items:center;min-width:0!important;
  min-height:clamp(420px,56vw,720px);
}
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery .woocommerce-product-gallery__image,
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery .woocommerce-product-gallery__image a {
  display:flex;justify-content:center;align-items:center;min-width:0;
  width:100%;
}
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery img {
  width:auto!important;max-width:min(100%,460px)!important;height:auto!important;
  max-height:min(72vh,720px)!important;object-fit:contain!important;object-position:center top!important;
  margin:0 auto!important;border-radius:10px!important;
  box-shadow:0 14px 34px rgba(38,22,30,.12)!important;
  background:#fff!important;border:1px solid #eadedf!important;
}
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery .flex-control-thumbs {
  display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0!important;padding:0!important;
}
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery .flex-control-thumbs li {
  float:none!important;max-width:70px!important;width:calc(25% - 6px)!important;
}
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery .flex-control-thumbs img {
  width:100%!important;aspect-ratio:5/8!important;object-fit:contain!important;object-position:center top!important;
  max-height:none!important;border-radius:8px!important;box-shadow:none!important;background:#fff!important;border:1px solid #eadedf!important;
}
body.single-product.jf-woocommerce .jf-main div.product>.summary {
  grid-column:2;grid-row:1;float:none!important;width:100%!important;min-width:0;
  margin:0!important;padding:clamp(7px,1.8vw,22px) clamp(0px,1vw,10px)!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body.single-product.jf-woocommerce .jf-main div.product>.summary .jf-sale-eyebrow {
  display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:.12em;
  line-height:1.65;color:#7e3654;margin:0 0 13px!important;
}
body.single-product.jf-woocommerce .jf-main div.product>.summary .jf-sale-eyebrow::before {
  content:"";width:23px;height:2px;flex:0 0 23px;background:#b98d9b;
}
body.single-product.jf-woocommerce .jf-main div.product .product_title {
  color:#34222b!important;font:400 clamp(30px,3.2vw,49px)/1.13 var(--jf-font-display,Georgia,serif)!important;
  letter-spacing:-.025em!important;margin:0 0 14px!important;text-wrap:balance;
}
body.single-product.jf-woocommerce .jf-main div.product .woocommerce-product-rating {
  display:flex;align-items:center;gap:8px;font-size:12px;margin:0 0 10px!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-intro {
  margin:0 0 16px!important;color:#594a51;font-size:15px;line-height:1.72;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-intro-lead {
  font-size:15px;line-height:1.72;max-width:54ch;
}
body.single-product.jf-woocommerce .jf-main div.product .summary p.price {
  display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;
  color:var(--jf-product-bordo)!important;
  font-size:clamp(26px,2.7vw,35px)!important;font-weight:800!important;
  margin:18px 0 11px!important;line-height:1.2!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary p.price del {
  color:#8d7a83!important;font-size:.6em!important;font-weight:500!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary p.price ins {color:var(--jf-product-bordo)!important}
/* Duas ações distintas: Comprar (principal) e Ler amostra (secundária). */
body.single-product.jf-woocommerce .jf-main div.product .summary form.cart {
  display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;
  margin:8px 0 10px!important;padding:0!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary form.cart .quantity {
  max-width:70px;margin:0!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary form.cart .qty {min-height:53px;border-radius:12px}
body.single-product.jf-woocommerce .jf-main div.product .summary form.cart .single_add_to_cart_button {
  flex:1 1 220px;min-height:53px!important;background:var(--jf-product-bordo)!important;
  border-radius:12px!important;padding:13px 18px!important;color:white!important;
  box-shadow:0 9px 20px rgba(107,30,59,.15)!important;
  font-size:15px!important;font-weight:800!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary form.cart .single_add_to_cart_button:hover {
  background:#8b3656!important;box-shadow:0 11px 24px rgba(107,30,59,.19)!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-prev-single {
  display:flex;justify-content:center;align-items:center;gap:10px;
  min-height:49px;width:100%;margin:0 0 10px!important;
  border:1.5px solid #a77c8b!important;background:#fffaf8!important;
  color:#6b1e3b!important;border-radius:12px!important;font-size:14px;font-weight:750;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-prev-single:hover {
  background:#f6e9ee!important;color:#6b1e3b!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-cart-caption {
  margin:8px 0 9px!important;color:#7a6870;font-size:12px;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-facts-inline {
  list-style:none;margin:9px 0 15px;padding:11px 0;
  display:flex;flex-wrap:wrap;gap:7px 15px;
  border-top:1px solid var(--jf-product-line);border-bottom:1px solid var(--jf-product-line);
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-facts-inline li {
  padding-left:18px;position:relative;font-size:12px;line-height:1.48;color:#64525a;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-facts-inline li::before {
  content:"✓";position:absolute;left:0;color:#79415a;font-weight:900;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-topics {
  padding:14px 16px;margin:17px 0 0!important;
  border:1px solid #eadbdc;border-radius:13px;background:#faf4f2;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-topics h2 {
  font-size:21px!important;margin-bottom:10px!important;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-topics li {font-size:13px;line-height:1.5}
body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-details {
  margin-top:9px;border-color:var(--jf-product-line);background:#fff;
}
body.single-product.jf-woocommerce .jf-main div.product .summary .product_meta {
  margin-top:20px;padding-top:11px;color:#8b7b82;font-size:11px;
}
/* Conteúdo já cadastrado aparece aberto, em seção própria, antes das avaliações. */
body.single-product.jf-woocommerce .jf-main div.product>.jf-sale-story {
  grid-column:1/-1;grid-row:auto;
  margin:0!important;padding:clamp(18px,3vw,40px)!important;
  border:1px solid var(--jf-product-line);border-radius:19px;background:#f8f2ef;
}
body.single-product.jf-woocommerce .jf-sale-story-heading {max-width:780px;margin:0 0 18px}
body.single-product.jf-woocommerce .jf-sale-story-heading span {
  font:800 10px/1.5 var(--jf-font-ui,sans-serif);letter-spacing:.16em;color:#8c5368;
}
body.single-product.jf-woocommerce .jf-sale-story-heading h2 {
  font:400 clamp(26px,2.8vw,37px)/1.22 var(--jf-font-display,Georgia,serif)!important;
  color:#3e2732!important;margin:7px 0 0!important;
}
body.single-product.jf-woocommerce .jf-sale-story-content {max-width:950px;color:#544750;font-size:15px;line-height:1.83}
body.single-product.jf-woocommerce .jf-sale-story-content :is(h2,h3,h4) {margin:22px 0 9px!important}
body.single-product.jf-woocommerce .jf-sale-story-content :is(p,ul,ol) {margin:0 0 14px!important}
body.single-product.jf-woocommerce .jf-sale-story-content :is(ul,ol) {padding-left:22px}
body.single-product.jf-woocommerce .jf-sale-story-content img {max-height:480px;object-fit:contain}
body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-tabs {
  grid-column:1/-1;margin:0!important;border-radius:18px!important;box-shadow:none!important;
}
body.single-product.jf-woocommerce .jf-main div.product>.related,
body.single-product.jf-woocommerce .jf-main div.product>.up-sells {
  grid-column:1/-1;clear:none!important;margin:6px 0 0!important;
  padding-top:24px;border-top:1px solid var(--jf-product-line);
}
body.single-product.jf-woocommerce .jf-main div.product>.related ul.products {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important;
}
@media (max-width:820px) {
  body.single-product.jf-woocommerce .jf-main {padding:12px 10px 95px}
  body.single-product.jf-woocommerce .jf-main div.product {
    grid-template-columns:minmax(0,1fr);row-gap:14px;
    border-radius:17px!important;padding:11px!important;
  }
  body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery {
    grid-column:1;grid-row:1;max-width:100%!important;
    padding:16px!important;border-radius:13px;margin:0!important;
  }
  body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery img {
    max-height:clamp(260px,49vh,410px)!important;max-width:100%!important;
  }
  body.single-product.jf-woocommerce .jf-main div.product>.summary {
    grid-column:1;grid-row:2;width:100%!important;padding:10px 5px 13px!important;
  }
  body.single-product.jf-woocommerce .jf-main div.product .product_title {
    font-size:clamp(27px,6.8vw,38px)!important;line-height:1.18!important;margin-bottom:12px!important;
  }
  body.single-product.jf-woocommerce .jf-main div.product .summary p.price {
    font-size:29px!important;margin:13px 0 12px!important;
  }
  body.single-product.jf-woocommerce .jf-main div.product>.jf-sale-story,
  body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-tabs,
  body.single-product.jf-woocommerce .jf-main div.product>.related,
  body.single-product.jf-woocommerce .jf-main div.product>.up-sells {
    grid-column:1;width:100%;min-width:0;
  }
  body.single-product.jf-woocommerce .jf-main div.product>.jf-sale-story {padding:18px!important}
  body.single-product.jf-woocommerce .jf-main div.product>.related ul.products {
    display:flex!important;gap:12px!important;overflow-x:auto;
  }
  body.single-product.jf-woocommerce .jf-main div.product>.related ul.products>li.product {
    width:min(63vw,220px)!important;min-width:min(63vw,220px)!important;
    flex:0 0 min(63vw,220px)!important;
  }
  body.single-product.jf-woocommerce .jf-main div.product>.onsale {top:19px!important;left:19px!important}
}
@media (max-width:420px) {
  body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {min-height:340px!important}
  body.single-product.jf-woocommerce .jf-main div.product>.woocommerce-product-gallery img {max-height:380px!important}
  body.single-product.jf-woocommerce .jf-main div.product .summary .jf-sale-intro {font-size:14px}
  body.single-product.jf-woocommerce .jf-main div.product .summary form.cart .quantity {max-width:60px}
  body.single-product.jf-woocommerce .jf-main div.product .summary form.cart .single_add_to_cart_button {
    font-size:14px!important;flex-basis:200px;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.single-product.jf-woocommerce .jf-main div.product :is(a,button) {transition:none!important}
}
