/* ============================================================
   Fixar Suprimentos — Single Product Page Styles
   ============================================================ */

/* ── Breadcrumb ─────────────────────────────────────────────── */
.fx-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 20px;
  padding-bottom: 12px;
  font-size: 13px;
  color: var(--fx-muted, #6b7280);
}
.fx-breadcrumb a {
  color: var(--fx-muted, #6b7280);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}
.fx-breadcrumb a:hover { color: var(--fx-navy); }
.fx-breadcrumb [aria-current="page"] { color: var(--fx-navy); font-weight: 500; }

/* ── Product Hero ───────────────────────────────────────────── */
.fx-product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 40px;
}
@media (max-width: 768px) {
  .fx-product-hero { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Gallery ────────────────────────────────────────────────── */
.fx-product-gallery {
  position: sticky;
  top: 160px;
  min-width: 0; /* below sticky header */
}
.fx-gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f6f8;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.fx-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.fx-gallery-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.fx-gallery-wishlist .yith-wcwl-add-to-wishlist { margin: 0; }
.fx-gallery-wishlist a,
.fx-gallery-wishlist button {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fx-navy);
  transition: background .15s, color .15s;
}
.fx-gallery-wishlist a:hover,
.fx-gallery-wishlist button:hover {
  background: var(--fx-navy);
  color: #fff;
}

.fx-gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fx-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  padding: 0;
  cursor: pointer;
  background: #f5f6f8;
  transition: border-color .15s;
  flex-shrink: 0;
}
.fx-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.fx-gallery-thumb:hover,
.fx-gallery-thumb--active { border-color: var(--fx-orange); }

/* ── Purchase Panel ─────────────────────────────────────────── */
.fx-purchase-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.fx-product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.fx-product-category {
  color: var(--fx-orange);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
}
.fx-product-category:hover { text-decoration: underline; }
.fx-product-sku { color: var(--fx-muted, #6b7280); }

.fx-product-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--fx-navy);
  line-height: 1.2;
  margin: 0;
}

.fx-review-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.fx-stars { color: #f59e0b; letter-spacing: 2px; }
.fx-stars--lg { font-size: 24px; }
.fx-review-row a { color: var(--fx-muted, #6b7280); text-decoration: none; }
.fx-review-row a:hover { color: var(--fx-navy); text-decoration: underline; }

.fx-product-excerpt {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* ── Price Block ────────────────────────────────────────────── */
.fx-price-block {
  padding: 16px;
  background: #f5f6f8;
  border-radius: 10px;
}
.fx-price-block .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--fx-navy);
  display: block;
}
.fx-price-block .price del {
  font-size: 16px;
  font-weight: 400;
  color: var(--fx-muted, #9ca3af);
}
.fx-price-block .price ins {
  text-decoration: none;
}
/* Brazilian Market plugin parcelamento */
.fx-price-block .bmgf-installments,
.fx-price-block .woocommerce-price-suffix,
.fx-price-block p.woo-installment {
  font-size: 13px;
  color: var(--fx-muted, #6b7280);
  margin-top: 4px;
  display: block;
}

/* ── Add to Cart Form ───────────────────────────────────────── */
.fx-add-to-cart-wrap .cart {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.fx-add-to-cart-wrap .quantity {
  display: flex;
  align-items: center;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  width: fit-content;
  height: 50px;
}
.fx-add-to-cart-wrap .quantity input.qty {
  width: 52px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--fx-navy);
  padding: 0;
  -moz-appearance: textfield;
  background: transparent;
}
.fx-add-to-cart-wrap .quantity input.qty::-webkit-outer-spin-button,
.fx-add-to-cart-wrap .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }

/* WC qty buttons injected by JS */
.fx-add-to-cart-wrap .quantity .minus,
.fx-add-to-cart-wrap .quantity .plus {
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--fx-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.fx-add-to-cart-wrap .quantity .minus:hover,
.fx-add-to-cart-wrap .quantity .plus:hover { background: #f5f6f8; }

.fx-add-to-cart-wrap .single_add_to_cart_button,
.fx-add-to-cart-wrap button.button {
  flex: 1;
  min-width: 200px;
  height: 50px;
  background: var(--fx-orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .1s;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-family: inherit;
}
.fx-add-to-cart-wrap .single_add_to_cart_button:hover,
.fx-add-to-cart-wrap button.button:hover {
  background: #e55a00;
}
.fx-add-to-cart-wrap .single_add_to_cart_button:active { transform: scale(.98); }

/* Variations form */
.fx-add-to-cart-wrap .variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}
.fx-add-to-cart-wrap .variations td { padding: 6px 0; vertical-align: middle; }
.fx-add-to-cart-wrap .variations .label { font-weight: 600; color: var(--fx-navy); padding-right: 12px; white-space: nowrap; }
.fx-add-to-cart-wrap .variations select {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--fx-navy);
  font-family: inherit;
  width: 100%;
  max-width: 280px;
  background: #fff;
  cursor: pointer;
}
.fx-add-to-cart-wrap .variations select:focus { outline: 2px solid var(--fx-orange); outline-offset: 1px; }
.fx-add-to-cart-wrap .reset_variations {
  font-size: 12px;
  color: var(--fx-muted, #6b7280);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.fx-add-to-cart-wrap .single_variation_wrap { width: 100%; }
.fx-add-to-cart-wrap .woocommerce-variation-price { margin-bottom: 8px; }
.fx-add-to-cart-wrap .woocommerce-variation-availability { margin-bottom: 8px; font-size: 13px; }

/* ── Support Link ───────────────────────────────────────────── */
.fx-support-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fx-navy);
  text-decoration: none;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
  transition: color .15s;
}
.fx-support-link:hover { color: var(--fx-orange); }

/* ── CEP Wrap ───────────────────────────────────────────────── */
.fx-cep-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  background: #fafafa;
}
.fx-cep-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.fx-cep-header span { display: flex; flex-direction: column; }
.fx-cep-header strong { font-size: 14px; color: var(--fx-navy); font-weight: 600; }
.fx-cep-header small { font-size: 12px; color: var(--fx-muted, #6b7280); }

/* ── Assurance Bar ──────────────────────────────────────────── */
.fx-assurance-bar {
  background: var(--fx-navy);
  color: #fff;
  padding: 20px 0;
  margin-top: 8px;
}
.fx-assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .fx-assurance-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .fx-assurance-grid { grid-template-columns: 1fr; }
}
.fx-assurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fx-assurance-item svg { flex-shrink: 0; opacity: .9; }
.fx-assurance-item span { display: flex; flex-direction: column; }
.fx-assurance-item strong { font-size: 14px; font-weight: 600; }
.fx-assurance-item small { font-size: 12px; opacity: .75; }

/* ── Product Story ──────────────────────────────────────────── */
.fx-product-story {
  padding: 64px 0;
}
.fx-story-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .fx-story-grid { grid-template-columns: 1fr; }
}
.fx-story-copy { max-width: 600px; }
.fx-story-copy h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--fx-navy);
  margin: 8px 0 16px;
}
.fx-story-desc { font-size: 15px; color: #374151; line-height: 1.7; }
.fx-story-desc p { margin: 0 0 12px; }
.fx-story-checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fx-story-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fx-navy);
}
.fx-story-checks li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--fx-orange);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Spec Card ──────────────────────────────────────────────── */
.fx-spec-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.fx-spec-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--fx-muted, #6b7280);
  margin-bottom: 16px;
}
.fx-spec-list { margin: 0 0 20px; }
.fx-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}
.fx-spec-row:last-child { border-bottom: none; }
.fx-spec-row dt { color: var(--fx-muted, #6b7280); }
.fx-spec-row dd { font-weight: 600; color: var(--fx-navy); margin: 0; text-align: right; max-width: 55%; }
.fx-spec-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-orange);
  text-decoration: none;
  margin-top: 4px;
}
.fx-spec-link:hover { text-decoration: underline; }

/* ── Technical Help CTA ─────────────────────────────────────── */
.fx-tech-help {
  background: var(--fx-navy);
  color: #fff;
  padding: 56px 0;
}
.fx-tech-help-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.fx-tech-help h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 8px 0 8px;
}
.fx-tech-help p {
  font-size: 15px;
  opacity: .8;
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}
.fx-btn--outline-white {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.fx-btn--outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* ── Related Products ───────────────────────────────────────── */
.fx-related-section {
  padding: 64px 0;
}
.fx-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.fx-section-header h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--fx-navy);
  margin: 8px 0 0;
}
.fx-link-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fx-orange);
  text-decoration: none;
  white-space: nowrap;
}
.fx-link-arrow:hover { text-decoration: underline; }

.fx-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .fx-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fx-related-grid { grid-template-columns: 1fr; }
}

.fx-product-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.fx-product-card:hover {
  box-shadow: 0 8px 24px rgba(6,45,98,.12);
  transform: translateY(-2px);
}
.fx-card-visual {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f6f8;
}
.fx-card-img,
.fx-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .3s;
}
.fx-product-card:hover .fx-card-img,
.fx-product-card:hover .fx-card-visual img { transform: scale(1.04); }
.fx-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.fx-card-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--fx-orange);
}
.fx-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fx-navy);
  line-height: 1.4;
  margin: 0;
}
.fx-card-name a { color: inherit; text-decoration: none; }
.fx-card-name a:hover { color: var(--fx-orange); }
.fx-card-price { font-size: 15px; font-weight: 700; color: var(--fx-navy); }
.fx-card-price .price { font-size: 15px; }
.fx-card-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-orange);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
}
.fx-card-link:hover { text-decoration: underline; }

/* ── Reviews Section ────────────────────────────────────────── */
.fx-reviews-section {
  padding: 48px 0 64px;
  border-top: 1px solid #e5e7eb;
}
.fx-reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 15px;
}
.fx-reviews-summary strong { font-size: 22px; font-weight: 700; color: var(--fx-navy); }
.fx-reviews-summary small { color: var(--fx-muted, #6b7280); }

/* WooCommerce native reviews styling */
.fx-reviews-section #reviews h2 { font-size: 20px; font-weight: 700; color: var(--fx-navy); margin-bottom: 16px; }
.fx-reviews-section #reviews .comment-respond { margin-top: 24px; }
.fx-reviews-section #reviews .commentlist { list-style: none; padding: 0; }
.fx-reviews-section #reviews .commentlist li { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.fx-reviews-section #reviews .comment_container { display: flex; gap: 12px; }
.fx-reviews-section .comment-form-rating { margin-bottom: 12px; }
.fx-reviews-section .comment-form-rating .stars a { color: #f59e0b; font-size: 20px; text-decoration: none; }
.fx-reviews-section input[type="text"],
.fx-reviews-section input[type="email"],
.fx-reviews-section textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 12px;
}
.fx-reviews-section #submit {
  background: var(--fx-orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.fx-reviews-section #submit:hover { background: #e55a00; }

/* ── Eyebrow (shared) ───────────────────────────────────────── */
.fx-eyebrow {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--fx-orange);
}

/* ── Responsive adjustments ─────────────────────────────────── */
@media (max-width: 1024px) {
  .fx-product-gallery { position: static; }
}
@media (max-width: 430px) {
  .fx-assurance-grid { grid-template-columns: 1fr; }
  .fx-tech-help-inner { flex-direction: column; align-items: flex-start; }
  .fx-btn--outline-white { width: 100%; justify-content: center; }
}


/* =============================================================================
   PAGINA DE PRODUTO — ALINHADA A REFERENCIA, MEDIDA A MEDIDA

   O que estava diferente (medido no DOM dos dois sites):
   - a faixa de garantias era uma barra navy de ponta a ponta; na referencia e
     um cartao BRANCO com borda, raio 14 e sombra, dentro do grid;
   - a sessao "Desempenho na pratica" estava transparente e a "Na duvida entre
     dois materiais?" estava navy — na referencia e o contrario: a primeira e
     um degrade navy com cartao de vidro, a segunda e LARANJA;
   - a foto do produto nao tinha o halo laranja nem o cartao com degrade;
   - faltava a sessao "Onde usar" inteira;
   - o bloco de preco despejava o HTML cru do WooCommerce.
   ============================================================================= */

.fx-product-main {
    --fxp-navy: #062d62;
    --fxp-navy-deep: #02142d;
    --fxp-orange: #ff6a13;
    --fxp-orange-dark: #df5100;
    --fxp-ink: #072d5d;
    --fxp-muted: #5f7084;
    --fxp-line: #dfe7ef;
    --fxp-soft: #f5f8fa;
}

/* ---------- migalhas ---------- */
.fx-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 0;
    font-size: 0.72rem;
    color: var(--fxp-muted);
}

.fx-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fxp-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fx-breadcrumb a:hover {
    color: var(--fxp-orange);
}

.fx-breadcrumb [aria-current="page"] {
    color: var(--fxp-ink);
    font-weight: 700;
}

/* ---------- topo: galeria + painel de compra ---------- */
.fx-product-hero {
    display: grid;
    grid-template-columns: 1.17fr 1fr;
    gap: 58px;
    padding-bottom: 44px;
    align-items: start;
}

.fx-gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1.05 / 1;
    border: 1px solid #e1e8ef;
    border-radius: 22px;
    background: linear-gradient(145deg, #f9fbfc, #e9eff4);
    overflow: hidden;
}

/* o halo fica ATRAS da foto e nunca captura o clique */
.fx-gallery-halo {
    position: absolute;
    width: 58%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 19, 0.22), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.fx-gallery-main-img {
    position: relative;
    z-index: 1;
    width: 52%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.fx-gallery-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    padding: 8px 11px;
    border-radius: 5px;
    background: var(--fxp-orange);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fx-gallery-wishlist {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
}

.fx-gallery-wishlist a,
.fx-gallery-wishlist button {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid #dbe4ec;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--fxp-navy);
    transition: background 0.2s ease, color 0.2s ease;
}

.fx-gallery-wishlist a:hover,
.fx-gallery-wishlist button:hover {
    background: var(--fxp-orange);
    color: #fff;
}

/* miniaturas no formato "abas" da referencia */
.fx-gallery-thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.fx-gallery-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 72px;
    padding: 6px;
    border: 1px solid #e1e8ef;
    border-radius: 10px;
    background: #fff;
    color: var(--fxp-muted);
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.fx-gallery-thumb img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.fx-gallery-thumb:hover,
.fx-gallery-thumb--active {
    border-color: var(--fxp-orange);
    background: #fff6f0;
    color: var(--fxp-orange);
}

/* ---------- painel de compra ---------- */
.fx-purchase-panel {
    padding-top: 10px;
}

.fx-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--fxp-orange);
}

.fx-product-category {
    color: var(--fxp-orange);
    text-decoration: none;
}

.fx-product-sku {
    color: var(--fxp-orange);
}

.fx-product-title {
    margin: 16px 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.055em;
    color: var(--fxp-ink);
}

.fx-review-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.73rem;
}

.fx-stars {
    color: var(--fxp-orange);
    letter-spacing: 0.08em;
}

.fx-product-excerpt,
.fx-product-excerpt p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--fxp-muted);
}

.fx-product-excerpt {
    margin: 22px 0;
}

/* preco */
.fx-price-block {
    padding: 21px 0;
    border-top: 1px solid var(--fxp-line);
    border-bottom: 1px solid var(--fxp-line);
}

.fx-price-label {
    display: block;
    font-size: 0.7rem;
    color: #76869a;
}

.fx-price-block .price,
.fx-price-block > .amount,
.fx-price-block .woocommerce-Price-amount {
    display: block;
    margin: 3px 0 0;
    font-size: 1.86rem;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.035em;
    color: var(--fxp-ink);
    background: none;
    padding: 0;
}

.fx-price-block .price del {
    display: inline;
    margin-right: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #9aa8b8;
    opacity: 1;
}

.fx-price-block .price ins {
    text-decoration: none;
}

.fx-price-pix {
    display: block;
    margin-top: 3px;
    font-size: 0.76rem;
    font-weight: 850;
    color: #138451;
}

.fx-price-installment,
.fx-price-block .bmgf-installments,
.fx-price-block p.woo-installment {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #5d6d80;
}

.fx-price-installment svg {
    flex-shrink: 0;
    color: var(--fxp-orange);
}

/* quantidade + botao */
.fx-add-to-cart-wrap {
    padding-top: 22px;
}

.fx-add-to-cart-wrap .stock {
    margin: 0 0 12px;
    font-size: 0.73rem;
    font-weight: 700;
    color: #138451;
}

.fx-add-to-cart-wrap .stock.out-of-stock {
    color: #c23b22;
}

.fx-add-to-cart-wrap form.cart {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 11px;
    align-items: stretch;
    margin: 0;
}

.fx-add-to-cart-wrap .quantity {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    width: 126px;
    height: 54px;
    margin: 0;
    border: 1px solid #d8e1e9;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

.fx-add-to-cart-wrap .quantity input.qty {
    width: 100%;
    height: 52px;
    padding: 0;
    border: 0;
    background: none;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--fxp-ink);
    -moz-appearance: textfield;
}

.fx-add-to-cart-wrap .quantity input.qty::-webkit-outer-spin-button,
.fx-add-to-cart-wrap .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fx-add-to-cart-wrap .quantity .minus,
.fx-add-to-cart-wrap .quantity .plus {
    display: grid;
    place-items: center;
    width: 38px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--fxp-navy);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.fx-add-to-cart-wrap .quantity .minus:hover,
.fx-add-to-cart-wrap .quantity .plus:hover {
    background: #f2f6fa;
    color: var(--fxp-orange);
}

.fx-add-to-cart-wrap .single_add_to_cart_button,
.fx-add-to-cart-wrap button.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    height: 54px;
    min-height: 54px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: var(--fxp-orange);
    box-shadow: 0 12px 25px rgba(255, 106, 19, 0.24);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.fx-add-to-cart-wrap .single_add_to_cart_button:hover,
.fx-add-to-cart-wrap button.button:hover {
    background: var(--fxp-orange-dark);
    box-shadow: 0 8px 18px rgba(255, 106, 19, 0.3);
}

/* variacoes */
.fx-add-to-cart-wrap .variations {
    width: 100%;
    margin-bottom: 18px;
    border: 0;
}

.fx-add-to-cart-wrap .variations th,
.fx-add-to-cart-wrap .variations td {
    display: block;
    padding: 0 0 8px;
    border: 0;
    text-align: left;
}

.fx-add-to-cart-wrap .variations .label label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--fxp-ink);
}

.fx-add-to-cart-wrap .variations select {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #d8e1e9;
    border-radius: 8px;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fxp-navy);
}

/* link de suporte */
.fx-support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px 0 22px;
    font-size: 0.73rem;
    font-weight: 800;
    color: var(--fxp-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fx-support-link svg {
    flex-shrink: 0;
    color: var(--fxp-orange);
}

.fx-support-link:hover {
    color: var(--fxp-orange);
}

/* ---------- caixa de frete (envolve o calculador do Melhor Envio) ---------- */
.fx-delivery-box {
    margin-top: 4px;
    padding: 17px;
    border: 1px solid #dce5ed;
    border-radius: 12px;
    background: var(--fxp-soft);
}

.fx-delivery-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.fx-delivery-head svg {
    flex-shrink: 0;
    color: var(--fxp-orange);
}

.fx-delivery-head span {
    display: flex;
    flex-direction: column;
}

.fx-delivery-head strong {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--fxp-ink);
}

.fx-delivery-head small {
    margin-top: 2px;
    font-size: 0.7rem;
    color: var(--fxp-muted);
}

/* o plugin monta a propria caixa aqui dentro — so damos forma a ela */
.fx-delivery-box .containerCalculator {
    margin-top: 12px;
}

.fx-delivery-box .calculatorRow .row,
.fx-delivery-box .calculatorRow .col-75 {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.fx-delivery-box .col-75 > p {
    margin: 0 0 6px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--fxp-muted);
}

.fx-delivery-box input.iptCep,
.fx-delivery-box #inputCep {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #d7e0e8;
    border-radius: 7px;
    background: #fff;
    font-size: 0.75rem;
    color: var(--fxp-ink);
}

.fx-delivery-box input.iptCep:focus,
.fx-delivery-box #inputCep:focus {
    outline: 0;
    border-color: var(--fxp-orange);
}

.fx-delivery-box .resultado-frete table {
    width: 100%;
    margin-top: 10px;
    font-size: 0.72rem;
}

.fx-delivery-box .resultado-frete td {
    padding: 6px 4px;
    border-bottom: 1px solid #e4ebf1;
}

/* ---------- faixa de garantias: cartao branco, nao barra navy ---------- */
.fx-assurance-bar {
    background: none;
    padding: 0;
}

.fx-assurance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 104px;
    margin-bottom: 92px;
    border: 1px solid #e0e7ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(4, 35, 74, 0.09);
    overflow: hidden;
}

.fx-assurance-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 19px 23px;
    border-right: 1px solid #edf2f6;
    color: var(--fxp-ink);
}

.fx-assurance-item:last-child {
    border-right: 0;
}

.fx-assurance-item svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--fxp-orange);
}

.fx-assurance-item span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fx-assurance-item strong {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--fxp-ink);
}

.fx-assurance-item small {
    margin-top: 3px;
    font-size: 0.63rem;
    color: #78889a;
}

/* ---------- "Desempenho na pratica": faixa navy com cartao de vidro ---------- */
.fx-product-story {
    padding: 94px 0;
    background: linear-gradient(115deg, #041d3f, #062d62 62%, #09223c);
    color: #fff;
}

.fx-story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: center;
}

.fx-story-copy .fx-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fxp-orange);
}

.fx-story-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #fff;
}

.fx-story-desc {
    margin: 25px 0;
    max-width: 680px;
}

.fx-story-desc p {
    margin: 0 0 10px;
    font-size: 0.93rem;
    line-height: 1.75;
    color: #bdc9d7;
}

.fx-story-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fx-story-checks li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.8rem;
    font-weight: 750;
    color: #fff;
}

.fx-story-checks li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--fxp-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.fx-spec-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
}

.fx-spec-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    font-size: 0.71rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.fx-spec-eyebrow svg {
    color: var(--fxp-orange);
}

.fx-spec-list {
    margin: 0;
}

.fx-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 58px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fx-spec-row:last-child {
    border-bottom: 0;
}

.fx-spec-row dt {
    margin: 0;
    font-size: 0.73rem;
    font-weight: 400;
    color: #9fb0c4;
}

.fx-spec-row dd {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    text-align: right;
    color: #fff;
}

.fx-spec-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 21px;
    font-size: 0.71rem;
    font-weight: 900;
    color: #ff9e65;
    text-decoration: none;
}

.fx-spec-link svg {
    transition: transform 0.2s ease;
}

.fx-spec-link:hover svg {
    transform: translateX(4px);
}

/* ---------- "Onde usar" ---------- */
.fx-applications {
    padding: 100px 0;
}

.fx-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 38px;
}

.fx-section-header .fx-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fxp-orange);
}

.fx-section-header h2 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--fxp-ink);
}

.fx-section-header > p {
    max-width: 320px;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--fxp-muted);
}

.fx-application-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.fx-application-grid article {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: 30px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: var(--fxp-soft);
    overflow: hidden;
}

.fx-application-grid article > span {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 3.35rem;
    font-weight: 900;
    line-height: 1;
    color: #e4ebf1;
}

.fx-application-grid article > svg {
    position: relative;
    width: 34px;
    height: 34px;
    margin-bottom: auto;
    color: var(--fxp-orange);
}

.fx-application-grid article h3 {
    position: relative;
    margin: 0 0 9px;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--fxp-ink);
}

.fx-application-grid article p {
    position: relative;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--fxp-muted);
}

/* ---------- "Na duvida entre dois materiais?": laranja ---------- */
.fx-tech-help {
    position: relative;
    padding: 75px 0;
    background: var(--fxp-orange);
    color: #fff;
    overflow: hidden;
}

.fx-tech-help-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.fx-tech-help .fx-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.fx-tech-help h2 {
    max-width: 720px;
    margin: 0 0 14px;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #fff;
}

.fx-tech-help p {
    max-width: 620px;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.fx-tech-help .fx-btn--outline-white {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    min-height: 56px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: var(--fxp-navy-deep);
    box-shadow: 0 16px 35px rgba(54, 20, 0, 0.2);
    color: #fff;
    font-size: 0.77rem;
    font-weight: 900;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fx-tech-help .fx-btn--outline-white:hover {
    background: var(--fxp-navy);
}

.fx-tech-help .fx-btn--outline-white svg:last-child {
    transition: transform 0.2s ease;
}

.fx-tech-help .fx-btn--outline-white:hover svg:last-child {
    transform: translateX(4px);
}

/* ---------- relacionados ---------- */
.fx-related-section {
    padding: 100px 0;
}

.fx-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--fxp-navy);
    text-decoration: none;
    white-space: nowrap;
}

.fx-link-arrow svg {
    color: var(--fxp-orange);
    transition: transform 0.2s ease;
}

.fx-link-arrow:hover svg {
    transform: translateX(4px);
}

.fx-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fx-product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e7ee;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(4, 35, 74, 0.05), 0 6px 16px rgba(4, 35, 74, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fx-product-card:hover {
    transform: scale(1.025);
    box-shadow: 0 3px 6px rgba(4, 35, 74, 0.07), 0 16px 34px rgba(4, 35, 74, 0.13);
}

.fx-card-visual {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1.25 / 1;
    background: #f2f5f7;
    overflow: hidden;
}

.fx-card-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at 84% 84%, rgba(255, 106, 19, 0.07), transparent 60%);
}

.fx-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 5px 7px;
    border-radius: 3px;
    background: var(--fxp-orange);
    color: #fff;
    font-size: 0.47rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fx-card-img,
.fx-card-visual img {
    position: relative;
    z-index: 1;
    width: 58%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.fx-product-card:hover .fx-card-img,
.fx-product-card:hover .fx-card-visual img {
    transform: scale(1.06) rotate(-2deg);
}

.fx-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 15px 14px 14px;
}

.fx-card-cat {
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--fxp-orange);
}

.fx-card-name {
    min-height: 2.7em;
    margin: 4px 0 6px;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--fxp-ink);
}

.fx-card-name a {
    color: inherit;
    text-decoration: none;
}

.fx-card-price {
    margin-top: 8px;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--fxp-ink);
}

.fx-card-price .price {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.fx-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    margin-top: 12px;
    border-radius: 6px;
    background: var(--fxp-orange);
    color: #fff;
    font-size: 0.69rem;
    font-weight: 900;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fx-card-link:hover {
    background: var(--fxp-orange-dark);
}

.fx-card-link svg {
    display: none;
}

/* ---------- avaliacoes ---------- */
.fx-reviews-section {
    padding: 74px 0;
    background: #eff4f7;
}

.fx-reviews-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 26px;
}

.fx-reviews-summary .fx-stars--lg {
    font-size: 1.1rem;
}

.fx-reviews-summary strong {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--fxp-ink);
}

.fx-reviews-summary small {
    font-size: 0.72rem;
    color: var(--fxp-muted);
}

.fx-reviews-section #reviews h2,
.fx-reviews-section #reviews h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--fxp-ink);
}

.fx-reviews-section input[type="text"],
.fx-reviews-section input[type="email"],
.fx-reviews-section textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    background: #fff;
    font-size: 0.8rem;
}

.fx-reviews-section #submit {
    min-height: 46px;
    padding: 0 26px;
    border: 0;
    border-radius: 8px;
    background: var(--fxp-orange);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.fx-reviews-section #submit:hover {
    background: var(--fxp-orange-dark);
}

/* =============================================================================
   RESPONSIVO
   ============================================================================= */

@media (max-width: 1080px) {
    .fx-product-hero {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .fx-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fx-assurance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 56px;
    }

    .fx-assurance-item:nth-child(2) {
        border-right: 0;
    }

    .fx-assurance-item:nth-child(1),
    .fx-assurance-item:nth-child(2) {
        border-bottom: 1px solid #edf2f6;
    }

    .fx-application-grid {
        grid-template-columns: 1fr;
    }

    .fx-application-grid article {
        min-height: 0;
    }

    .fx-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fx-product-story,
    .fx-applications,
    .fx-related-section {
        padding: 56px 0;
    }

    .fx-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .fx-tech-help-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
    }
}

@media (max-width: 760px) {
    .fx-breadcrumb {
        flex-wrap: wrap;
        row-gap: 4px;
        font-size: 0.68rem;
    }

    .fx-assurance-grid {
        grid-template-columns: 1fr;
    }

    .fx-assurance-item {
        border-right: 0;
        border-bottom: 1px solid #edf2f6;
    }

    .fx-assurance-item:last-child {
        border-bottom: 0;
    }

    .fx-add-to-cart-wrap form.cart {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 8px;
    }

    .fx-add-to-cart-wrap .quantity {
        width: 110px;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
    }

    .fx-product-story,
    .fx-applications,
    .fx-related-section,
    .fx-reviews-section {
        padding: 46px 0;
    }

    .fx-tech-help {
        padding: 46px 0;
    }

    .fx-gallery-thumbs {
        grid-auto-flow: column;
    }

    .fx-gallery-thumb {
        min-height: 58px;
        font-size: 0.64rem;
    }
}

/* Os tokens estavam em .fx-product-main, mas o <main> fecha antes das sessoes
   de baixo (elas saem como irmas dele no DOM), entao var(--fxp-*) virava
   invalida ali e o fundo caia para transparente. No :root vale em toda a pagina. */
:root {
    --fxp-navy: #062d62;
    --fxp-navy-deep: #02142d;
    --fxp-orange: #ff6a13;
    --fxp-orange-dark: #df5100;
    --fxp-ink: #072d5d;
    --fxp-muted: #5f7084;
    --fxp-line: #dfe7ef;
    --fxp-soft: #f5f8fa;
}

/* O tema pai pinta o botao com .woocommerce button.button.alt (0,3,1), que
   ganhava da nossa regra (0,2,1). Subimos ao mesmo nivel — e a nossa vem
   depois no arquivo, entao vale. */
.woocommerce .fx-add-to-cart-wrap .single_add_to_cart_button,
.woocommerce .fx-add-to-cart-wrap button.button.alt,
.fx-add-to-cart-wrap button.button.alt {
    background: var(--fxp-orange);
    color: #fff;
    border-radius: 9px;
}

.woocommerce .fx-add-to-cart-wrap .single_add_to_cart_button:hover,
.woocommerce .fx-add-to-cart-wrap button.button.alt:hover,
.fx-add-to-cart-wrap button.button.alt:hover {
    background: var(--fxp-orange-dark);
    color: #fff;
}

/* O bloco de preco ainda herdava o retangulo cinza da versao antiga. Na
   referencia ele e apenas um trecho separado por filetes. */
.fx-price-block {
    background: none;
    border-radius: 0;
}

/* wc_price() devolve um .woocommerce-Price-amount, e a regra do preco grande
   pegava tambem os valores dentro das linhas do PIX e do parcelamento —
   por isso os tres apareciam do mesmo tamanho, cada um em uma linha. */
.fx-price-pix .woocommerce-Price-amount,
.fx-price-installment .woocommerce-Price-amount,
.fx-price-pix bdi,
.fx-price-installment bdi {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: normal;
    color: inherit;
}

.fx-price-installment .woocommerce-Price-amount {
    font-weight: 800;
    color: var(--fxp-ink);
}

/* .fx-breadcrumb e .fx-applications tambem carregam a classe .fx-container.
   Usar o atalho `padding` nelas zerava o padding lateral do container, e as
   duas ficavam 32px mais largas que o resto da pagina. padding-block mexe
   so no eixo vertical. */
.fx-breadcrumb {
    padding: 0;
    padding-block: 22px;
}

.fx-applications {
    padding: 0;
    padding-block: 100px;
}

@media (max-width: 1080px) {
    .fx-applications {
        padding-block: 56px;
    }
}

@media (max-width: 760px) {
    .fx-applications {
        padding-block: 46px;
    }

    .fx-breadcrumb {
        padding-block: 16px;
    }
}

/* padding-block sozinho nao devolve o respiro lateral, porque as regras
   antigas do arquivo (padding: 22px 0) ja tinham zerado o padding-inline do
   container. Aqui ele e declarado de novo, com os mesmos valores do grid. */
.fx-breadcrumb,
.fx-applications {
    padding-inline: 32px;
}

@media (max-width: 1080px) {
    .fx-breadcrumb,
    .fx-applications {
        padding-inline: 20px;
    }
}

@media (max-width: 760px) {
    .fx-breadcrumb,
    .fx-applications {
        padding-inline: 15px;
    }
}

/* =============================================================================
   RITMO VERTICAL E EQUILIBRIO DAS COLUNAS

   Medido nesta pagina (1440px):
   - coluna de texto da sessao navy: 830px de altura contra 309px do cartao ao
     lado — 521px de desequilibrio. A causa e de conteudo: a primeira parte da
     descricao ("Cor:, Largura:, Rolo:, Referencia:, Marca:") e uma ficha
     tecnica escrita como texto, repetindo o que o cartao da direita ja mostra.
     Agora esses pares vao para o cartao e a esquerda fica so com o texto.
   - <p class="fx-product-excerpt"> recebia a descricao curta, que o WooCommerce
     ja entrega dentro de <p>. Um <p> dentro de outro e fechado pelo parser, e
     sobrava um paragrafo VAZIO com 22px de margem em cima e embaixo: 44px de
     buraco antes do preco. Virou <div>.
   - respiros das sessoes reduzidos: a referencia usa 94/100px sobre uma raiz de
     16px; a nossa raiz e ~17,2px, entao a mesma medida rende mais alta.
   ============================================================================= */

/* ---------- topo ---------- */
.fx-product-hero {
    padding-bottom: 32px;
}

.fx-gallery-main {
    aspect-ratio: 1.15 / 1;
}

.fx-product-title {
    margin: 12px 0 10px;
}

.fx-product-excerpt {
    margin: 16px 0;
}

.fx-price-block {
    padding: 16px 0;
}

.fx-add-to-cart-wrap {
    padding-top: 16px;
}

/* a caixa de frete tinha uma segunda caixa dentro dela (a do plugin), com
   padding e fundo proprios — duas molduras para o mesmo campo. */
.fx-delivery-box .containerCalculator {
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.fx-assurance-grid {
    margin-bottom: 64px;
}

/* ---------- sessoes ---------- */
.fx-product-story {
    padding-block: 72px;
}

.fx-applications {
    padding-block: 76px;
}

.fx-related-section {
    padding: 76px 0;
}

.fx-tech-help {
    padding: 60px 0;
}

.fx-reviews-section {
    padding: 60px 0;
}

/* ---------- sessao navy: colunas equilibradas ---------- */
.fx-story-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 72px;
    align-items: start;
}

.fx-story-desc {
    margin: 20px 0 24px;
}

/* subtitulos do texto ("Aplicação", "Recorte e transporte", "Cola") viravam
   negrito solto no meio do paragrafo; agora sao linhas proprias. */
.fx-story-desc p > strong:first-child {
    display: block;
    margin-bottom: 3px;
    font-size: 0.87rem;
    font-weight: 800;
    color: #fff;
}

.fx-story-desc p {
    margin: 0 0 16px;
}

.fx-story-desc p:last-child {
    margin-bottom: 0;
}

/* o cartao acompanha a leitura em vez de ficar parado no meio do vazio */
.fx-spec-card {
    position: sticky;
    top: 96px;
}

@media (max-width: 1080px) {
    .fx-spec-card {
        position: static;
    }

    .fx-story-grid {
        gap: 34px;
    }

    .fx-product-story {
        padding-block: 52px;
    }

    .fx-applications {
        padding-block: 52px;
    }

    .fx-related-section,
    .fx-reviews-section,
    .fx-tech-help {
        padding: 52px 0;
    }
}

@media (max-width: 760px) {
    .fx-product-story {
        padding-block: 42px;
    }

    .fx-applications {
        padding-block: 42px;
    }

    .fx-related-section,
    .fx-reviews-section,
    .fx-tech-help {
        padding: 42px 0;
    }

    .fx-assurance-grid {
        margin-bottom: 38px;
    }
}

/* A coluna de texto tinha max-width: 600px dentro de uma faixa de 671px —
   sobravam 71px mortos a direita e o texto ficava mais alto do que precisava. */
.fx-story-copy {
    max-width: none;
}

.fx-story-desc {
    max-width: none;
}

/* A regra base (1.35fr 1fr) vinha DEPOIS do @media antigo que empilhava as
   colunas, entao no celular a sessao navy continuava em duas colunas e o
   cartao ficava espremido em 138px. Aqui o empilhamento e reafirmado. */
@media (max-width: 1080px) {
    .fx-story-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =============================================================================
   RESPIROS DO PAINEL DE COMPRA

   A ordem estava trocada: o link de suporte caia DEPOIS da caixa de frete,
   porque a caixa e injetada pelo plugin dentro do bloco do carrinho e o link
   vinha depois dele no template. Agora o link entra no mesmo hook, antes da
   caixa (prioridade 0), e a sequencia fica como na referencia:
   botao -> link de suporte -> caixa de frete.

   E a caixa terminava a 8px da faixa de garantias — dai a sensacao de que o
   frete estava colado na sessao de baixo.
   ============================================================================= */

.fx-support-link {
    margin: 16px 0 0;
    padding: 0;
}

.fx-delivery-box {
    margin: 18px 0 0;
}

/* o plugin reserva altura para o loader e para a tabela de resultado mesmo
   antes de qualquer consulta; sem CEP digitado isso e so espaco vazio. */
.fx-delivery-box #calcular-frete-loader:not([style*="block"]) {
    display: none;
}

.fx-delivery-box .resultado-frete:empty {
    display: none;
}

.fx-delivery-box .resultado-frete table:empty,
.fx-delivery-box .resultado-frete tbody:empty {
    display: none;
}

/* folga real entre o fim do painel e a faixa de garantias */
.fx-product-hero {
    padding-bottom: 56px;
}

@media (max-width: 760px) {
    .fx-product-hero {
        padding-bottom: 34px;
    }
}

/* A tabela de resultado do frete vem vazia (altura 0) mas com
   margin: 10px 0 17,28px — 27px de espaco morto no pe da caixa antes de
   qualquer consulta. A margem so entra quando a tabela tem linhas. */
.fx-delivery-box .resultado-frete table {
    margin: 0;
}

.fx-delivery-box .resultado-frete table:has(td) {
    margin: 10px 0 0;
}


/* =============================================================================
   PAGINA DE PRODUTO — LINK DE SUPORTE E PASSAGEM DE CELULAR

   1) "esse cara ainda ta grudado"
      Medindo o link: ele carrega border-top: 1px solid #e5e7eb, que vem da
      regra antiga deste mesmo arquivo (a primeira versao da pagina, linha ~230,
      onde o link ficava sozinho depois do formulario e o filete servia de
      separador). Naquela regra havia padding: 10px 0 segurando o texto longe
      do filete. Na rodada passada eu zerei o padding para aproximar a caixa de
      frete — e o texto passou a nascer exatamente em cima da linha.
      Na referencia esse filete nao existe: o link e uma linha solta, alinhada a
      esquerda, com 14px acima e 22px ate a caixa de frete. E o que vale aqui.

   2) "no mobile ta tudo desconfigurado"
      A pagina so empilhava as colunas no celular; a tipografia e os espacos
      continuavam os do desktop. Medido em 375px: H1 a 28,8px ocupando 3 linhas,
      titulos de sessao a 32px, migalhas em 3 linhas antes do produto aparecer,
      a faixa de garantias somando 320px de altura e os cartoes de "onde usar"
      com 30px de padding e o numero de fundo a 53,6px. Abaixo cada um desses
      valores passa a ter uma medida propria de celular.
   ============================================================================= */

/* ---------- 1) link de suporte ---------- */

.fx-add-to-cart-wrap .fx-support-link {
    align-items: flex-start;
    justify-content: flex-start;
    border-top: 0;
    margin: 15px 0 0;
    padding: 0;
    line-height: 1.45;
}

.fx-add-to-cart-wrap .fx-support-link svg {
    margin-top: 2px;
}

.fx-add-to-cart-wrap .fx-delivery-box {
    margin: 24px 0 0;
}

/* ---------- 2) produto sem preco cadastrado ----------
   45 dos 200 produtos do catalogo estao sem preco, e a pagina exibia
   "R$ 0,00" em corpo grande — pior do que nao mostrar valor nenhum. */

.fx-price-consult {
    display: block;
    font-size: 1.62rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--fxp-ink);
}

.fx-price-consult-note {
    display: block;
    margin-top: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--fxp-muted);
}

/* ---------- 3) celular ---------- */

@media (max-width: 760px) {

    /* migalhas: o nome do produto ja aparece no H1 logo abaixo, entao no
       celular a ultima migalha sai e a trilha cabe em uma ou duas linhas. */
    .fx-breadcrumb {
        padding-block: 13px;
        font-size: 0.66rem;
    }

    .fx-breadcrumb > [aria-current],
    .fx-breadcrumb > span[aria-hidden="true"]:nth-last-of-type(2) {
        display: none;
    }

    /* topo do produto */
    .fx-product-hero {
        gap: 20px;
        padding-top: 14px;
        padding-bottom: 26px;
    }

    .fx-product-title {
        margin: 9px 0 0;
        font-size: 1.45rem;
        line-height: 1.17;
    }

    .fx-product-excerpt {
        margin: 12px 0 0;
        font-size: 0.9rem;
        line-height: 1.62;
    }

    .fx-price-block {
        margin-top: 14px;
        padding: 14px 0;
    }

    .fx-price-block > .woocommerce-Price-amount,
    .fx-price-block > .price,
    .fx-price-consult {
        font-size: 1.7rem;
        line-height: 1.15;
    }

    .fx-add-to-cart-wrap {
        padding-top: 14px;
    }

    .fx-add-to-cart-wrap .fx-support-link {
        margin-top: 14px;
    }

    .fx-add-to-cart-wrap .fx-delivery-box {
        margin-top: 20px;
        padding: 15px;
    }

    /* garantias: eram quatro linhas de 77px — 320px de faixa antes do
       conteudo comecar. Com o cartao compacto a faixa cai para ~230px. */
    .fx-assurance-grid {
        margin-bottom: 34px;
    }

    .fx-assurance-item {
        gap: 12px;
        padding: 13px 16px;
    }

    .fx-assurance-item svg {
        width: 21px;
        height: 21px;
    }

    .fx-assurance-item strong {
        font-size: 0.8rem;
    }

    .fx-assurance-item small {
        font-size: 0.7rem;
    }

    /* titulos de sessao: 32px em uma coluna de 345px viravam blocos de
       quatro linhas. */
    .fx-product-story h2,
    .fx-applications h2,
    .fx-tech-help h2,
    .fx-related-section h2 {
        font-size: 1.55rem;
        line-height: 1.16;
    }

    .fx-product-story,
    .fx-applications,
    .fx-related-section {
        padding: 40px 0;
    }

    .fx-tech-help {
        padding: 38px 0;
    }

    .fx-section-header {
        gap: 10px;
        margin-bottom: 26px;
    }

    .fx-section-header p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    /* sessao navy */
    .fx-story-grid {
        gap: 30px;
    }

    .fx-story-desc {
        font-size: 0.9rem;
    }

    .fx-spec-card {
        padding: 20px;
    }

    .fx-spec-row {
        padding-block: 10px;
    }

    /* "onde usar": o numero de fundo estava a 53,6px e o cartao com 30px de
       padding, entao o texto ficava espremido contra o numero. */
    .fx-application-grid {
        gap: 12px;
    }

    .fx-application-grid article {
        padding: 20px;
    }

    .fx-application-grid article > span {
        font-size: 2.4rem;
    }

    .fx-application-grid article h3 {
        font-size: 1rem;
    }

    .fx-application-grid article p {
        font-size: 0.82rem;
        line-height: 1.55;
    }
}
