/* Ferreton Producto Individual PRO v5.8 - CSS limpio */
body.fdt58-product-only {
  --fdt58-accent:#0093E7;
  --fdt58-ink:#172033;
  --fdt58-muted:#697386;
  --fdt58-line:#E5EBF2;
  --fdt58-soft:#F7FAFD;
}
body.fdt58-product-only * {box-sizing:border-box}

/* Solo producto individual: reduce el espacio superior sin tocar header/footer. */
body.fdt58-product-only div.product {margin-top:0!important;padding-top:0!important}
body.fdt58-product-only .woocommerce-breadcrumb {margin-bottom:10px!important}
body.fdt58-product-only .fdt58-topbar {
  display:flex;align-items:center;gap:7px;width:100%;margin:0 0 12px;padding:7px 10px;
  border:1px solid #E6EEF5;border-radius:10px;background:#FAFCFE;color:#647184;font-size:10.5px;line-height:1.2;
}
body.fdt58-product-only .fdt58-topbar-dot {width:7px;height:7px;border-radius:50%;background:var(--fdt58-accent);flex:0 0 auto}
body.fdt58-product-only .fdt58-topbar strong {color:var(--fdt58-ink);font-size:inherit}
body.fdt58-product-only .fdt58-topbar-sep {opacity:.5}

/* Escritorio: imagen izquierda / detalles derecha. */
body.fdt58-product-only .fdt58-product-layout {
  display:grid!important;
  grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;
  gap:28px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
  clear:both!important;
}
body.fdt58-product-only .fdt58-product-layout > .woocommerce-product-gallery,
body.fdt58-product-only .fdt58-product-layout > .summary,
body.fdt58-product-only .fdt58-product-layout > .summary.entry-summary {
  float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
}

/* Galería propia, sin FlexSlider. */
body.fdt58-product-only .fdt58-gallery {
  display:block!important;position:relative!important;width:100%!important;padding:12px!important;
  border:1px solid var(--fdt58-line);border-radius:15px;background:#fff;box-shadow:0 8px 26px rgba(22,42,70,.045);overflow:hidden;
}
body.fdt58-product-only .fdt58-gallery-stage {
  display:flex;align-items:center;justify-content:center;width:100%;min-height:340px;max-height:520px;
  padding:6px;border-radius:11px;background:#fff;overflow:hidden;
}
body.fdt58-product-only .fdt58-main-image {
  display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:500px!important;
  margin:auto!important;object-fit:contain!important;transition:opacity .16s ease,transform .16s ease;
}
body.fdt58-product-only .fdt58-main-image.is-switching {opacity:.28;transform:scale(.99)}
body.fdt58-product-only .fdt58-gallery-thumbs {
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;margin:10px 0 0;padding:0;
}
body.fdt58-product-only .fdt58-thumb {
  appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;width:100%;height:68px;margin:0;padding:4px!important;
  overflow:hidden;border:1px solid var(--fdt58-line)!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;cursor:pointer;
}
body.fdt58-product-only .fdt58-thumb img {display:block;width:100%;height:100%;object-fit:contain!important;object-position:center center!important;border-radius:6px;background:#fff}
body.fdt58-product-only .fdt58-thumb.is-active {border-color:var(--fdt58-accent)!important;box-shadow:0 0 0 2px rgba(0,147,231,.12)!important}

/* Resumen */
body.fdt58-product-only .summary .product_title {
  margin:5px 0 8px!important;color:var(--fdt58-ink)!important;font-size:clamp(26px,2.4vw,36px)!important;line-height:1.14!important;letter-spacing:-.02em!important;
  overflow-wrap:anywhere;
}
body.fdt58-product-only .summary .woocommerce-product-rating {margin:0 0 10px!important;font-size:12px!important}
body.fdt58-product-only .fdt58-badge {
  display:inline-flex;align-items:center;margin:0 0 2px;padding:5px 9px;border-radius:999px;background:#EAF6FE;color:#0879BB;font-size:9.5px;font-weight:700;line-height:1;
}
body.fdt58-product-only .summary .product_meta {display:none!important}

/* Tarjeta de datos */
body.fdt58-product-only .fdt58-details {
  margin:12px 0 13px;overflow:hidden;border:1px solid var(--fdt58-line);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(20,42,70,.035);
}
body.fdt58-product-only .fdt58-details-head,
body.fdt58-product-only .fdt58-specs-head {
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;background:linear-gradient(135deg,#F6FBFF,#FCFDFE);border-bottom:1px solid var(--fdt58-line);
}
body.fdt58-product-only .fdt58-details-head strong,
body.fdt58-product-only .fdt58-specs-head strong {color:var(--fdt58-ink);font-size:12px}
body.fdt58-product-only .fdt58-details-head small,
body.fdt58-product-only .fdt58-specs-head small {color:var(--fdt58-muted);font-size:9px}
body.fdt58-product-only .fdt58-details-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
body.fdt58-product-only .fdt58-detail,
body.fdt58-product-only .fdt58-description {
  display:flex;align-items:flex-start;gap:8px;min-width:0;padding:10px 11px;border-bottom:1px solid var(--fdt58-line);
}
body.fdt58-product-only .fdt58-detail:first-child {border-right:1px solid var(--fdt58-line)}
body.fdt58-product-only .fdt58-icon {
  flex:0 0 29px;display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#EDF7FF;color:var(--fdt58-accent);font-size:10px;font-weight:800;
}
body.fdt58-product-only .fdt58-detail > div,
body.fdt58-product-only .fdt58-description > div {min-width:0}
body.fdt58-product-only .fdt58-detail small,
body.fdt58-product-only .fdt58-description small,
body.fdt58-product-only .fdt58-price-row small {display:block;margin:1px 0 3px;color:var(--fdt58-muted);font-size:9.5px;font-weight:500}
body.fdt58-product-only .fdt58-detail strong {display:block;color:var(--fdt58-ink);font-size:12px;line-height:1.3;overflow-wrap:anywhere}

/* Precio destacado: fila completa y nunca se parte. */
body.fdt58-product-only .fdt58-price-row {
  grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:11px 13px;
  border-bottom:1px solid var(--fdt58-line);background:linear-gradient(135deg,#F2FAFF,#FFFFFF);
}
body.fdt58-product-only .fdt58-live-price {
  display:flex!important;align-items:baseline;gap:6px;max-width:100%;color:var(--fdt58-accent)!important;font-size:clamp(27px,3vw,36px)!important;font-weight:800!important;line-height:1.05!important;letter-spacing:-.025em;white-space:nowrap!important;
}
body.fdt58-product-only .fdt58-live-price .price,
body.fdt58-product-only .fdt58-live-price ins,
body.fdt58-product-only .fdt58-live-price del,
body.fdt58-product-only .fdt58-live-price .woocommerce-Price-amount {font-size:inherit!important;line-height:inherit!important;white-space:nowrap!important;margin:0!important}
body.fdt58-product-only .fdt58-live-price ins {text-decoration:none!important}
body.fdt58-product-only .fdt58-live-price del {font-size:.5em!important;color:#95A0AE!important;font-weight:500!important;opacity:1!important}
body.fdt58-product-only .fdt58-live-stock .stock {
  display:inline-flex!important;align-items:center;margin:0!important;padding:5px 8px;border-radius:999px;background:#EAF8EF;color:#168547!important;font-size:9px!important;font-weight:700!important;white-space:nowrap;
}
body.fdt58-product-only .fdt58-description {grid-column:1/-1;border-bottom:0}
body.fdt58-product-only .fdt58-description strong {display:block;color:#536174;font-size:11px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}

/* Formularios y botones. */
body.fdt58-product-only .summary .quantity .qty {
  width:64px!important;height:42px!important;min-height:42px!important;padding:6px!important;border:1px solid #DCE5ED!important;border-radius:9px!important;text-align:center!important;font-size:12px!important;
}
body.fdt58-product-only .product-type-simple .summary form.cart,
body.fdt58-product-only .summary .woocommerce-variation-add-to-cart {
  display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:11px 0!important;
}
body.fdt58-product-only .summary button.button,
body.fdt58-product-only .summary a.button,
body.fdt58-product-only .summary input.button,
body.fdt58-product-only .summary .single_add_to_cart_button,
body.fdt58-product-only .summary [class*="cotizador"] a,
body.fdt58-product-only .summary [class*="cotizador"] button,
body.fdt58-product-only .summary [class*="quote"] a.button,
body.fdt58-product-only .summary [class*="quote"] button.button {
  min-height:42px!important;height:auto!important;width:auto!important;max-width:100%!important;margin:0!important;padding:10px 15px!important;border-radius:9px!important;font-size:11px!important;font-weight:650!important;line-height:1.15!important;white-space:normal!important;text-align:center!important;box-shadow:none!important;
}
body.fdt58-product-only .summary .single_add_to_cart_button {background:var(--fdt58-accent)!important;color:#fff!important;border:1px solid var(--fdt58-accent)!important}
body.fdt58-product-only .summary [class*="cotizador"] a,
body.fdt58-product-only .summary [class*="cotizador"] button,
body.fdt58-product-only .summary [class*="quote"] a.button,
body.fdt58-product-only .summary [class*="quote"] button.button {background:#F7FBFF!important;color:#0879BB!important;border:1px solid #BBDFF6!important}
body.fdt58-product-only .summary .variations {width:100%!important;margin-bottom:8px!important}
body.fdt58-product-only .summary .variations td,
body.fdt58-product-only .summary .variations th {padding:5px 4px!important;vertical-align:middle!important}
body.fdt58-product-only .summary .variations select {width:100%!important;max-width:100%!important;min-height:40px;border-radius:8px}
body.fdt58-product-only .summary .woocommerce-variation-price,
body.fdt58-product-only .summary .woocommerce-variation-availability {display:none!important}
body.fdt58-product-only .fdt58-duplicate-action {display:none!important}

/* WhatsApp */
body.fdt58-product-only .fdt58-wa {
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 5px;padding:10px 11px;border:1px solid #D8EEFF;border-radius:12px;background:linear-gradient(135deg,#EEF8FF,#F9FCFF);
}
body.fdt58-product-only .fdt58-wa-copy {display:flex;align-items:center;gap:8px;min-width:0}
body.fdt58-product-only .fdt58-wa-icon {flex:0 0 30px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#DFF7E8;color:#1CA558;font-size:8px}
body.fdt58-product-only .fdt58-wa-copy strong,
body.fdt58-product-only .fdt58-wa-copy small {display:block}
body.fdt58-product-only .fdt58-wa-copy strong {color:var(--fdt58-ink);font-size:11px}
body.fdt58-product-only .fdt58-wa-copy small {margin-top:2px;color:var(--fdt58-muted);font-size:9px}
body.fdt58-product-only .fdt58-wa > a {flex:0 0 auto;padding:9px 11px;border-radius:8px;background:var(--fdt58-accent);color:#fff!important;text-decoration:none!important;font-size:10.5px;font-weight:650;white-space:nowrap}

/* Especificaciones */
body.fdt58-product-only .fdt58-specs {clear:both;width:100%;margin:18px 0;border:1px solid var(--fdt58-line);border-radius:14px;background:#fff;overflow:hidden}
body.fdt58-product-only .fdt58-specs-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
body.fdt58-product-only .fdt58-spec-row {display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:9px 11px;border-bottom:1px solid var(--fdt58-line)}
body.fdt58-product-only .fdt58-spec-row:nth-child(odd) {border-right:1px solid var(--fdt58-line)}
body.fdt58-product-only .fdt58-spec-row span {color:var(--fdt58-muted);font-size:10px}
body.fdt58-product-only .fdt58-spec-row strong {color:var(--fdt58-ink);font-size:10.5px;text-align:right;overflow-wrap:anywhere}

/* TABLET HORIZONTAL / pantallas medianas amplias: conserva lado a lado. */
@media (min-width:921px) and (max-width:1100px) {
  body.fdt58-product-only .fdt58-product-layout {grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;gap:20px!important}
  body.fdt58-product-only .fdt58-gallery-stage {min-height:300px;max-height:430px}
  body.fdt58-product-only .fdt58-main-image {max-height:410px!important}
  body.fdt58-product-only .fdt58-gallery-thumbs {grid-template-columns:repeat(4,minmax(0,1fr))}
  body.fdt58-product-only .summary .product_title {font-size:25px!important}
}

/* TABLET VERTICAL: una columna para evitar encimados y desbordes. */
@media (min-width:601px) and (max-width:920px) {
  body.fdt58-product-only .fdt58-product-layout {grid-template-columns:1fr!important;gap:16px!important}
  body.fdt58-product-only .fdt58-gallery {max-width:none;margin:0!important;padding:10px!important}
  body.fdt58-product-only .fdt58-gallery-stage {min-height:320px;max-height:460px}
  body.fdt58-product-only .fdt58-main-image {max-height:440px!important}
  body.fdt58-product-only .fdt58-gallery-thumbs {grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
  body.fdt58-product-only .fdt58-thumb {height:62px}
  body.fdt58-product-only .summary .product_title {font-size:27px!important}
  body.fdt58-product-only .fdt58-details-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* CELULAR */
@media (max-width:600px) {
  body.fdt58-product-only .woocommerce-breadcrumb {margin-bottom:7px!important;font-size:10px!important}
  body.fdt58-product-only .fdt58-topbar {margin-bottom:9px;padding:7px 8px;font-size:9.5px;white-space:normal;flex-wrap:wrap}
  body.fdt58-product-only .fdt58-product-layout {grid-template-columns:1fr!important;gap:12px!important}

  body.fdt58-product-only .fdt58-gallery {padding:8px!important;border-radius:12px}
  body.fdt58-product-only .fdt58-gallery-stage {min-height:230px;max-height:350px;padding:3px}
  body.fdt58-product-only .fdt58-main-image {max-height:335px!important}
  body.fdt58-product-only .fdt58-gallery-thumbs {grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px}
  body.fdt58-product-only .fdt58-thumb {height:56px;padding:2px!important;border-radius:8px!important}

  body.fdt58-product-only .summary .product_title {margin-top:3px!important;font-size:21px!important;line-height:1.18!important}
  body.fdt58-product-only .summary .woocommerce-product-rating {font-size:11px!important;margin-bottom:7px!important}

  body.fdt58-product-only .fdt58-details {margin:9px 0 10px;border-radius:11px}
  body.fdt58-product-only .fdt58-details-head,
  body.fdt58-product-only .fdt58-specs-head {padding:8px 9px}
  body.fdt58-product-only .fdt58-details-head small,
  body.fdt58-product-only .fdt58-specs-head small {display:none}
  body.fdt58-product-only .fdt58-details-grid {grid-template-columns:1fr}
  body.fdt58-product-only .fdt58-detail:first-child {border-right:0}
  body.fdt58-product-only .fdt58-detail,
  body.fdt58-product-only .fdt58-description {padding:8px 9px}
  body.fdt58-product-only .fdt58-price-row {grid-column:auto;align-items:flex-start;flex-direction:column;gap:6px;padding:10px 9px}
  body.fdt58-product-only .fdt58-live-price {font-size:28px!important;max-width:100%;white-space:nowrap!important}
  body.fdt58-product-only .fdt58-live-stock {align-self:flex-start}
  body.fdt58-product-only .fdt58-description {grid-column:auto}

  body.fdt58-product-only .product-type-simple .summary form.cart,
  body.fdt58-product-only .summary .woocommerce-variation-add-to-cart {display:grid!important;grid-template-columns:66px minmax(0,1fr)!important;gap:7px!important;width:100%!important}
  body.fdt58-product-only .summary .quantity,
  body.fdt58-product-only .summary .quantity .qty {width:100%!important;margin:0!important}
  body.fdt58-product-only .summary .single_add_to_cart_button {width:100%!important}
  body.fdt58-product-only .summary [class*="cotizador"],
  body.fdt58-product-only .summary [class*="quote"] {grid-column:1/-1;max-width:100%!important}
  body.fdt58-product-only .summary [class*="cotizador"] a,
  body.fdt58-product-only .summary [class*="cotizador"] button,
  body.fdt58-product-only .summary [class*="quote"] a.button,
  body.fdt58-product-only .summary [class*="quote"] button.button {width:100%!important}

  body.fdt58-product-only .fdt58-wa {flex-direction:column;align-items:stretch;padding:9px}
  body.fdt58-product-only .fdt58-wa > a {width:100%;text-align:center;white-space:normal}

  body.fdt58-product-only .fdt58-specs {margin:13px 0;border-radius:11px}
  body.fdt58-product-only .fdt58-specs-grid {grid-template-columns:1fr}
  body.fdt58-product-only .fdt58-spec-row,
  body.fdt58-product-only .fdt58-spec-row:nth-child(odd) {border-right:0;padding:8px 9px}
}

/* v5.10.7 · Apariencia más llamativa sin perder el estilo minimalista */
body.fdt58-product-only div.product.type-product,
body.fdt58-product-only .woocommerce div.product.type-product {
  padding:clamp(14px,1.5vw,24px)!important;
  border:1px solid rgba(0,147,231,.13)!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 8% 4%,rgba(24,185,242,.12),transparent 27%),
    radial-gradient(circle at 94% 26%,rgba(0,147,231,.09),transparent 25%),
    linear-gradient(145deg,#f4faff 0%,#ffffff 44%,#edf8ff 100%)!important;
  box-shadow:0 18px 52px rgba(20,60,92,.09)!important;
}
body.fdt58-product-only .fdt58-gallery,
body.fdt58-product-only .fdt58-product-layout > .summary {
  border-color:#d6e9f6!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 12px 34px rgba(18,57,88,.075)!important;
}
body.fdt58-product-only .fdt58-gallery {
  background:
    radial-gradient(circle at 50% 44%,#ffffff 0%,#ffffff 52%,#edf8ff 100%)!important;
}
body.fdt58-product-only .fdt58-product-layout > .summary {
  position:relative!important;
  overflow:hidden!important;
}
body.fdt58-product-only .fdt58-product-layout > .summary::before {
  content:''!important;
  position:absolute!important;
  inset:0 0 auto 0!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:5px!important;
  background:linear-gradient(90deg,#0869c7,#00a7ec,#5fd5ff)!important;
}
body.fdt58-product-only .summary .product_title {
  text-shadow:0 2px 14px rgba(0,91,160,.07)!important;
}
body.fdt58-product-only .fdt58-live-price {
  filter:drop-shadow(0 5px 12px rgba(0,147,231,.14))!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel {
  border-color:#cfe7f6!important;
  background:
    linear-gradient(180deg,rgba(235,248,255,.96) 0%,rgba(255,255,255,.98) 35%,#fff 100%)!important;
  box-shadow:0 16px 42px rgba(16,62,96,.09)!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
  border-color:#d4e8f5!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 70%,#f2faff 100%)!important;
  box-shadow:0 8px 22px rgba(18,58,88,.065)!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product:hover {
  border-color:#8fd1f2!important;
  box-shadow:0 14px 30px rgba(0,123,198,.14)!important;
}
@media (max-width:520px) {
  body.fdt58-product-only div.product.type-product,
  body.fdt58-product-only .woocommerce div.product.type-product {
    padding:7px!important;
    border-radius:17px!important;
  }
}

/* v5.10.4 · Carrusel responsive de productos relacionados */
body.fdt58-product-only .related.products.fdt58-related-carousel {
  position:relative!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel > h2 {
  padding-right:104px!important;
}
body.fdt58-product-only .fdt58-related-nav {
  position:absolute!important;
  z-index:3!important;
  top:14px!important;
  right:18px!important;
  display:flex!important;
  gap:7px!important;
}
body.fdt58-product-only .fdt58-related-nav button {
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  margin:0!important;
  padding:0 0 3px!important;
  border:1px solid #cce7f7!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#0879bb!important;
  font-family:Arial,sans-serif!important;
  font-size:29px!important;
  line-height:1!important;
  font-weight:400!important;
  box-shadow:0 5px 15px rgba(18,55,84,.08)!important;
  cursor:pointer!important;
  transition:background .2s ease,color .2s ease,transform .2s ease,opacity .2s ease!important;
}
body.fdt58-product-only .fdt58-related-nav button:hover,
body.fdt58-product-only .fdt58-related-nav button:focus-visible {
  background:var(--fdt58-accent,#0093E7)!important;
  border-color:var(--fdt58-accent,#0093E7)!important;
  color:#fff!important;
  outline:none!important;
  transform:translateY(-1px)!important;
}
body.fdt58-product-only .fdt58-related-nav button:disabled {
  opacity:.38!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  grid-template-columns:none!important;
  gap:14px!important;
  width:100%!important;
  margin:0!important;
  padding:2px 2px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth!important;
  scroll-snap-type:x mandatory!important;
  scrollbar-width:none!important;
  overscroll-behavior-inline:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products::-webkit-scrollbar {
  display:none!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 calc((100% - 42px)/4)!important;
  width:calc((100% - 42px)/4)!important;
  max-width:calc((100% - 42px)/4)!important;
  float:none!important;
  clear:none!important;
  scroll-snap-align:start!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product .button,
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product a.button {
  margin-top:auto!important;
}
@media (max-width:980px) {
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:calc((100% - 14px)/2)!important;
    width:calc((100% - 14px)/2)!important;
    max-width:calc((100% - 14px)/2)!important;
  }
}
@media (max-width:600px) {
  body.fdt58-product-only .related.products.fdt58-related-carousel > h2 {
    padding-right:82px!important;
    white-space:normal!important;
  }
  body.fdt58-product-only .fdt58-related-nav {
    top:10px!important;
    right:12px!important;
    gap:5px!important;
  }
  body.fdt58-product-only .fdt58-related-nav button {
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    border-radius:9px!important;
    font-size:25px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products {
    gap:10px!important;
    padding-bottom:8px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:86%!important;
    width:86%!important;
    max-width:86%!important;
  }
}

/* Refuerzo final contra reglas de cuadrícula/flex-wrap de Rishi y WooCommerce. */
body.fdt58-product-only section.related.products.fdt58-related-carousel > ul.products {
  display:flex!important;
  flex-flow:row nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}

@media (max-width:380px) {
  body.fdt58-product-only .fdt58-gallery-stage {min-height:205px;max-height:300px}
  body.fdt58-product-only .fdt58-main-image {max-height:285px!important}
  body.fdt58-product-only .fdt58-gallery-thumbs {grid-template-columns:repeat(3,minmax(0,1fr))}
  body.fdt58-product-only .fdt58-live-price {font-size:25px!important}
  body.fdt58-product-only .summary .product_title {font-size:19px!important}
}
\n\n/* v5.8 · ANCHO AMPLIO SEGURO\n * Importante: NO cambia #primary, .site-main, contenedores de Rishi, Elementor, header ni footer.\n * Solo ensancha el div.product de WooCommerce y lo centra respecto a la ventana.\n */\nbody.fdt58-product-only div.product.type-product,\nbody.fdt58-product-only .woocommerce div.product.type-product {\n  box-sizing:border-box!important;\n  position:relative;\n  left:50%;\n  transform:translateX(-50%);\n  width:min(1600px, calc(100vw - 32px))!important;\n  max-width:min(1600px, calc(100vw - 32px))!important;\n  margin-left:0!important;\n  margin-right:0!important;\n}\n\nbody.fdt58-product-only .fdt58-topbar,\nbody.fdt58-product-only .fdt58-product-layout,\nbody.fdt58-product-only .fdt58-specs,\nbody.fdt58-product-only .woocommerce-tabs,\nbody.fdt58-product-only .related.products,\nbody.fdt58-product-only .up-sells.products {\n  box-sizing:border-box;\n  width:100%!important;\n  max-width:100%!important;\n}\n\n@media (min-width:1200px) {\n  body.fdt58-product-only .fdt58-product-layout {\n    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)!important;\n    gap:30px!important;\n  }\n}\n\n@media (min-width:921px) and (max-width:1199px) {\n  body.fdt58-product-only div.product.type-product,\n  body.fdt58-product-only .woocommerce div.product.type-product {\n    width:calc(100vw - 24px)!important;\n    max-width:calc(100vw - 24px)!important;\n  }\n  body.fdt58-product-only .fdt58-product-layout {\n    grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;\n    gap:20px!important;\n  }\n}\n\n@media (min-width:601px) and (max-width:920px) {\n  body.fdt58-product-only div.product.type-product,\n  body.fdt58-product-only .woocommerce div.product.type-product {\n    width:calc(100vw - 20px)!important;\n    max-width:calc(100vw - 20px)!important;\n  }\n  body.fdt58-product-only .fdt58-product-layout {\n    grid-template-columns:1fr!important;\n    gap:14px!important;\n  }\n}\n\n@media (max-width:600px) {\n  body.fdt58-product-only div.product.type-product,\n  body.fdt58-product-only .woocommerce div.product.type-product {\n    width:calc(100vw - 12px)!important;\n    max-width:calc(100vw - 12px)!important;\n  }\n  body.fdt58-product-only .fdt58-product-layout {\n    width:100%!important;\n    grid-template-columns:minmax(0,1fr)!important;\n    gap:10px!important;\n  }\n  body.fdt58-product-only .fdt58-gallery,\n  body.fdt58-product-only .fdt58-product-layout > .summary {\n    min-width:0!important;\n    width:100%!important;\n    max-width:100%!important;\n  }\n}\n

/* v5.9 · Acorta SOLO el espacio superior del contenido del producto.
 * No modifica header ni footer. Se limita a la zona main/content en single product.
 */
body.fdt58-product-only #primary,
body.fdt58-product-only .content-area,
body.fdt58-product-only main.site-main,
body.fdt58-product-only .site-main,
body.fdt58-product-only .woocommerce,
body.fdt58-product-only .woocommerce-page {
  margin-top:0!important;
  padding-top:0!important;
}

/* Rishi puede añadir un padding vertical al contenedor del contenido. */
body.fdt58-product-only .site-content,
body.fdt58-product-only #content,
body.fdt58-product-only .main-content-wrapper,
body.fdt58-product-only .rishi-container,
body.fdt58-product-only .rishi-main-container {
  padding-top:12px!important;
}

/* El primer bloque del plugin queda más cerca de la cabecera. */
body.fdt58-product-only .fdt58-topbar {
  margin-top:0!important;
  margin-bottom:8px!important;
  padding-top:6px!important;
  padding-bottom:6px!important;
}
body.fdt58-product-only .fdt58-product-layout {
  margin-top:0!important;
}
body.fdt58-product-only .woocommerce-breadcrumb {
  margin-top:0!important;
  margin-bottom:7px!important;
  padding-top:0!important;
}

@media (min-width:1101px) {
  body.fdt58-product-only .site-content,
  body.fdt58-product-only #content,
  body.fdt58-product-only .main-content-wrapper,
  body.fdt58-product-only .rishi-container,
  body.fdt58-product-only .rishi-main-container {
    padding-top:10px!important;
  }
}

@media (min-width:601px) and (max-width:1100px) {
  body.fdt58-product-only .site-content,
  body.fdt58-product-only #content,
  body.fdt58-product-only .main-content-wrapper,
  body.fdt58-product-only .rishi-container,
  body.fdt58-product-only .rishi-main-container {
    padding-top:8px!important;
  }
  body.fdt58-product-only .fdt58-topbar {margin-bottom:7px!important}
}

@media (max-width:600px) {
  body.fdt58-product-only .site-content,
  body.fdt58-product-only #content,
  body.fdt58-product-only .main-content-wrapper,
  body.fdt58-product-only .rishi-container,
  body.fdt58-product-only .rishi-main-container {
    padding-top:5px!important;
  }
  body.fdt58-product-only .fdt58-topbar {margin-bottom:6px!important;padding:5px 7px!important}
  body.fdt58-product-only .woocommerce-breadcrumb {margin-bottom:5px!important}
}


/* v5.9.1 · PEGADO SUPERIOR
 * Reduce al mínimo el espacio entre el encabezado del tema y el producto.
 * No modifica el header: solo mueve hacia arriba el contenido del single product.
 */
body.fdt58-product-only .site-content,
body.fdt58-product-only #content,
body.fdt58-product-only #primary,
body.fdt58-product-only .content-area,
body.fdt58-product-only main.site-main,
body.fdt58-product-only .site-main,
body.fdt58-product-only .main-content-wrapper,
body.fdt58-product-only .rishi-container,
body.fdt58-product-only .rishi-main-container,
body.fdt58-product-only .woocommerce,
body.fdt58-product-only .woocommerce-page {
  padding-top:0!important;
  margin-top:0!important;
}

/* Evita que un breadcrumb nativo de WooCommerce duplique altura arriba. */
body.fdt58-product-only .woocommerce-breadcrumb {
  margin-top:0!important;
  margin-bottom:3px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

/* Acerca el producto al header sin solaparlo. */
body.fdt58-product-only div.product.type-product,
body.fdt58-product-only .woocommerce div.product.type-product {
  margin-top:-34px!important;
}

body.fdt58-product-only .fdt58-topbar {
  margin-top:0!important;
  margin-bottom:5px!important;
  padding:5px 8px!important;
  min-height:0!important;
}

body.fdt58-product-only .fdt58-product-layout {
  margin-top:0!important;
  padding-top:0!important;
}

@media (min-width:921px) and (max-width:1199px) {
  body.fdt58-product-only div.product.type-product,
  body.fdt58-product-only .woocommerce div.product.type-product {
    margin-top:-28px!important;
  }
}

@media (min-width:601px) and (max-width:920px) {
  body.fdt58-product-only div.product.type-product,
  body.fdt58-product-only .woocommerce div.product.type-product {
    margin-top:-20px!important;
  }
  body.fdt58-product-only .fdt58-topbar {margin-bottom:4px!important;padding:5px 7px!important}
}

@media (max-width:600px) {
  body.fdt58-product-only div.product.type-product,
  body.fdt58-product-only .woocommerce div.product.type-product {
    margin-top:-10px!important;
  }
  body.fdt58-product-only .fdt58-topbar {margin-bottom:4px!important;padding:4px 6px!important}
}
\n\n/* v5.10 · Galería sin recortes + productos relacionados formales */\nbody.fdt58-product-only .fdt58-gallery-thumbs {\n  align-items:stretch;\n}\nbody.fdt58-product-only .fdt58-thumb {\n  display:flex!important;\n  align-items:center!important;\n  justify-content:center!important;\n  overflow:hidden!important;\n  background:#fff!important;\n  border:1px solid #dfe7ef!important;\n  box-shadow:0 2px 8px rgba(24,45,72,.035)!important;\n}\nbody.fdt58-product-only .fdt58-thumb img {\n  display:block!important;\n  width:100%!important;\n  height:100%!important;\n  max-width:100%!important;\n  max-height:100%!important;\n  object-fit:contain!important;\n  object-position:center!important;\n  padding:4px!important;\n  background:#fff!important;\n  border-radius:6px!important;\n  box-sizing:border-box!important;\n}\nbody.fdt58-product-only .fdt58-thumb.is-active {\n  border-color:var(--fdt58-accent)!important;\n  box-shadow:0 0 0 2px rgba(0,147,231,.13)!important;\n}\n\n/* Related Products / Productos relacionados */\nbody.fdt58-product-only .related.products {\n  clear:both!important;\n  width:100%!important;\n  max-width:100%!important;\n  margin:26px 0 16px!important;\n  padding:18px!important;\n  border:1px solid #e5ebf1!important;\n  border-radius:16px!important;\n  background:#fff!important;\n  box-shadow:0 8px 26px rgba(24,45,72,.045)!important;\n  font-family:'Rubik',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;\n  box-sizing:border-box!important;\n}\nbody.fdt58-product-only .related.products > h2 {\n  margin:0 0 16px!important;\n  padding:0 0 11px!important;\n  border-bottom:1px solid #e8edf3!important;\n  color:#172033!important;\n  font-family:'Rubik',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;\n  font-size:clamp(20px,2vw,27px)!important;\n  line-height:1.2!important;\n  font-weight:600!important;\n  letter-spacing:-.015em!important;\n  text-transform:none!important;\n}\nbody.fdt58-product-only .related.products ul.products {\n  display:grid!important;\n  grid-template-columns:repeat(4,minmax(0,1fr))!important;\n  gap:14px!important;\n  margin:0!important;\n  padding:0!important;\n}\nbody.fdt58-product-only .related.products ul.products::before,\nbody.fdt58-product-only .related.products ul.products::after {display:none!important}\nbody.fdt58-product-only .related.products ul.products li.product {\n  width:auto!important;\n  min-width:0!important;\n  margin:0!important;\n  padding:10px 10px 12px!important;\n  border:1px solid #e4eaf0!important;\n  border-radius:13px!important;\n  background:#fff!important;\n  box-shadow:0 4px 14px rgba(25,48,76,.035)!important;\n  overflow:hidden!important;\n  font-family:'Rubik',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;\n  box-sizing:border-box!important;\n  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;\n}\nbody.fdt58-product-only .related.products ul.products li.product:hover {\n  transform:translateY(-2px);\n  border-color:#cfe4f3!important;\n  box-shadow:0 8px 22px rgba(25,48,76,.075)!important;\n}\nbody.fdt58-product-only .related.products ul.products li.product a.woocommerce-LoopProduct-link {\n  display:block!important;\n  text-decoration:none!important;\n}\nbody.fdt58-product-only .related.products ul.products li.product img {\n  display:block!important;\n  width:100%!important;\n  height:170px!important;\n  margin:0 0 10px!important;\n  padding:7px!important;\n  object-fit:contain!important;\n  object-position:center!important;\n  background:#fff!important;\n  border:0!important;\n  border-radius:9px!important;\n  box-sizing:border-box!important;\n}\nbody.fdt58-product-only .related.products .woocommerce-loop-product__title {\n  min-height:2.7em!important;\n  margin:0 0 7px!important;\n  padding:0!important;\n  color:#202a3a!important;\n  font-family:'Rubik',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;\n  font-size:13px!important;\n  line-height:1.35!important;\n  font-weight:500!important;\n  text-transform:none!important;\n}\nbody.fdt58-product-only .related.products .price {\n  display:block!important;\n  margin:0 0 9px!important;\n  color:var(--fdt58-accent)!important;\n  font-family:'Rubik',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;\n  font-size:15px!important;\n  line-height:1.2!important;\n  font-weight:700!important;\n  white-space:nowrap!important;\n}\nbody.fdt58-product-only .related.products .button,\nbody.fdt58-product-only .related.products a.button {\n  width:100%!important;\n  min-height:36px!important;\n  margin:0!important;\n  padding:8px 10px!important;\n  border:1px solid #cfe5f4!important;\n  border-radius:8px!important;\n  background:#f4faff!important;\n  color:#0879bb!important;\n  font-family:'Rubik',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;\n  font-size:11.5px!important;\n  line-height:1.2!important;\n  font-weight:600!important;\n  text-align:center!important;\n  box-shadow:none!important;\n}\n@media (max-width:980px) {\n  body.fdt58-product-only .related.products ul.products {grid-template-columns:repeat(3,minmax(0,1fr))!important}\n  body.fdt58-product-only .related.products ul.products li.product img {height:150px!important}\n}\n@media (max-width:700px) {\n  body.fdt58-product-only .related.products {margin-top:18px!important;padding:12px!important;border-radius:13px!important}\n  body.fdt58-product-only .related.products > h2 {font-size:20px!important;margin-bottom:12px!important}\n  body.fdt58-product-only .related.products ul.products {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}\n  body.fdt58-product-only .related.products ul.products li.product {padding:8px!important;border-radius:10px!important}\n  body.fdt58-product-only .related.products ul.products li.product img {height:125px!important;padding:4px!important}\n  body.fdt58-product-only .related.products .woocommerce-loop-product__title {font-size:11.5px!important}\n  body.fdt58-product-only .related.products .price {font-size:13px!important}\n}\n@media (max-width:380px) {\n  body.fdt58-product-only .related.products ul.products {grid-template-columns:1fr!important}\n  body.fdt58-product-only .related.products ul.products li.product img {height:155px!important}\n}\n

/* v5.10.2 · Miniaturas sin recorte real */
body.fdt58-product-only .fdt58-gallery-thumbs {
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important;
  align-items:stretch!important;
}
body.fdt58-product-only .fdt58-thumb {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:88px!important;
  min-height:88px!important;
  padding:8px!important;
  background:#fff!important;
}
body.fdt58-product-only .fdt58-thumb img {
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:unset!important;
  object-position:center center!important;
  margin:auto!important;
  padding:0!important;
}
@media (max-width:920px) {
  body.fdt58-product-only .fdt58-gallery-thumbs {grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important;}
  body.fdt58-product-only .fdt58-thumb {height:78px!important;min-height:78px!important;padding:6px!important;}
}
@media (max-width:600px) {
  body.fdt58-product-only .fdt58-gallery-thumbs {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  body.fdt58-product-only .fdt58-thumb {height:74px!important;min-height:74px!important;padding:6px!important;border-radius:10px!important;}
}

/* v5.10.3 · Encabezado moderno y minimalista de Productos relacionados */
body.fdt58-product-only .related.products > h2,
body.fdt58-product-only section.related.products > h2 {
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  margin:0 0 20px!important;
  padding:0!important;
  border:0!important;
  color:#122033!important;
  font-family:'Rubik',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:clamp(20px,2vw,27px)!important;
  line-height:1.25!important;
  font-weight:600!important;
  letter-spacing:-.02em!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
body.fdt58-product-only .related.products > h2::before,
body.fdt58-product-only section.related.products > h2::before {
  content:''!important;
  display:block!important;
  flex:0 0 6px!important;
  width:6px!important;
  height:28px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#18b9f2 0%,var(--fdt58-accent,#0093E7) 55%,#0869c7 100%)!important;
  box-shadow:0 4px 12px rgba(0,147,231,.24)!important;
}

/* v5.10.6 · Ancho fluido, centrado y adaptable a cualquier pantalla */
body.fdt58-product-only div.product.type-product,
body.fdt58-product-only .woocommerce div.product.type-product {
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1600px,calc(100vw - 64px))!important;
  max-width:min(1600px,calc(100vw - 64px))!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body.fdt58-product-only .fdt58-topbar,
body.fdt58-product-only .fdt58-product-layout,
body.fdt58-product-only .fdt58-specs,
body.fdt58-product-only .woocommerce-tabs,
body.fdt58-product-only .related.products,
body.fdt58-product-only .up-sells.products {
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.fdt58-product-only .fdt58-product-layout {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:clamp(20px,2vw,34px)!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel {
  margin:34px 0 20px!important;
  padding:22px!important;
  border:1px solid #e1ebf3!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(22,52,81,.055)!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products {
  gap:16px!important;
  padding:3px 3px 12px!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
  flex-basis:calc((100% - 48px)/4)!important;
  width:calc((100% - 48px)/4)!important;
  max-width:calc((100% - 48px)/4)!important;
}
body.fdt58-product-only .fdt58-related-nav {
  top:18px!important;
  right:22px!important;
}
@media (min-width:1500px) {
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:calc((100% - 64px)/5)!important;
    width:calc((100% - 64px)/5)!important;
    max-width:calc((100% - 64px)/5)!important;
  }
}
@media (min-width:1024px) and (max-width:1499px) {
  body.fdt58-product-only div.product.type-product,
  body.fdt58-product-only .woocommerce div.product.type-product {
    width:calc(100vw - 40px)!important;
    max-width:calc(100vw - 40px)!important;
  }
}
@media (min-width:768px) and (max-width:1023px) {
  body.fdt58-product-only div.product.type-product,
  body.fdt58-product-only .woocommerce div.product.type-product {
    width:calc(100vw - 28px)!important;
    max-width:calc(100vw - 28px)!important;
  }
  body.fdt58-product-only .fdt58-product-layout {
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:calc((100% - 32px)/3)!important;
    width:calc((100% - 32px)/3)!important;
    max-width:calc((100% - 32px)/3)!important;
  }
}
@media (min-width:521px) and (max-width:767px) {
  body.fdt58-product-only div.product.type-product,
  body.fdt58-product-only .woocommerce div.product.type-product {
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
  }
  body.fdt58-product-only .fdt58-product-layout {
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel {
    padding:16px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:calc((100% - 12px)/2)!important;
    width:calc((100% - 12px)/2)!important;
    max-width:calc((100% - 12px)/2)!important;
  }
}
@media (max-width:520px) {
  body.fdt58-product-only div.product.type-product,
  body.fdt58-product-only .woocommerce div.product.type-product {
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
  }
  body.fdt58-product-only .fdt58-product-layout {
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel {
    margin-top:22px!important;
    padding:12px!important;
    border-radius:14px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products {
    gap:10px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:88%!important;
    width:88%!important;
    max-width:88%!important;
  }
  body.fdt58-product-only .fdt58-related-nav {
    top:10px!important;
    right:12px!important;
  }
}
body.fdt58-product-only .related.products > h2::after,
body.fdt58-product-only section.related.products > h2::after {
  content:''!important;
  display:block!important;
  flex:1 1 auto!important;
  height:1px!important;
  margin-left:4px!important;
  background:linear-gradient(90deg,rgba(0,147,231,.38),rgba(0,147,231,.05),transparent)!important;
}
@media (max-width:600px) {
  body.fdt58-product-only .related.products > h2,
  body.fdt58-product-only section.related.products > h2 {
    gap:9px!important;
    margin-bottom:15px!important;
    font-size:20px!important;
  }
  body.fdt58-product-only .related.products > h2::before,
  body.fdt58-product-only section.related.products > h2::before {
    flex-basis:5px!important;
    width:5px!important;
    height:23px!important;
  }
}

/* v5.10.7 · Prioridad final de color frente a Rishi/WooCommerce */
body.fdt58-product-only div.product.type-product,
body.fdt58-product-only .woocommerce div.product.type-product {
  background:radial-gradient(circle at 8% 4%,rgba(24,185,242,.12),transparent 27%),radial-gradient(circle at 94% 26%,rgba(0,147,231,.09),transparent 25%),linear-gradient(145deg,#f4faff 0%,#fff 44%,#edf8ff 100%)!important;
}
body.fdt58-product-only .fdt58-gallery {
  background:radial-gradient(circle at 50% 44%,#fff 0%,#fff 52%,#edf8ff 100%)!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel {
  background:linear-gradient(180deg,rgba(231,247,255,.98) 0%,rgba(250,253,255,.98) 38%,#fff 100%)!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
  background:linear-gradient(180deg,#fff 0%,#fbfdff 70%,#f0f9ff 100%)!important;
}

/* v5.10.8 · Tarjetas compactas, proporcionadas y alineadas */
body.fdt58-product-only .related.products.fdt58-related-carousel {
  padding:20px!important;
  background:linear-gradient(180deg,#eef9ff 0%,#fff 31%,#fff 100%)!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products {
  align-items:stretch!important;
  gap:16px!important;
  padding:3px 3px 10px!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
  flex:0 0 calc((100% - 48px)/4)!important;
  width:calc((100% - 48px)/4)!important;
  max-width:calc((100% - 48px)/4)!important;
  min-height:0!important;
  height:auto!important;
  padding:12px 12px 13px!important;
  justify-content:flex-start!important;
  align-self:stretch!important;
  border:1px solid #d5e7f3!important;
  border-radius:15px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(22,57,84,.065)!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product > a:not(.button),
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product a.woocommerce-LoopProduct-link {
  display:flex!important;
  flex:0 0 auto!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  text-decoration:none!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product img {
  display:block!important;
  flex:none!important;
  width:100%!important;
  height:190px!important;
  min-height:190px!important;
  max-height:190px!important;
  margin:0 0 14px!important;
  padding:8px!important;
  object-fit:contain!important;
  object-position:center!important;
  border:1px solid #e5eef5!important;
  border-radius:11px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product .product-category,
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product .product-categories,
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product [class*="category"] {
  min-height:0!important;
  margin:0 0 8px!important;
  padding:0!important;
  color:#0879cc!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:600!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel .woocommerce-loop-product__title {
  min-height:3.9em!important;
  margin:0 0 8px!important;
  padding:0!important;
  color:#132033!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:600!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel .price {
  min-height:20px!important;
  margin:0 0 10px!important;
  color:#008bd6!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:700!important;
}
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product > .button,
body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product > a.button {
  flex:none!important;
  width:100%!important;
  min-height:42px!important;
  margin:auto 0 0!important;
  border-radius:10px!important;
}
@media (min-width:1500px) {
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:calc((100% - 48px)/4)!important;
    width:calc((100% - 48px)/4)!important;
    max-width:calc((100% - 48px)/4)!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product img {
    height:205px!important;
    min-height:205px!important;
    max-height:205px!important;
  }
}
@media (min-width:768px) and (max-width:1100px) {
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:calc((100% - 32px)/3)!important;
    width:calc((100% - 32px)/3)!important;
    max-width:calc((100% - 32px)/3)!important;
  }
}
@media (min-width:521px) and (max-width:767px) {
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:calc((100% - 12px)/2)!important;
    width:calc((100% - 12px)/2)!important;
    max-width:calc((100% - 12px)/2)!important;
  }
}
@media (max-width:520px) {
  body.fdt58-product-only .related.products.fdt58-related-carousel {
    padding:11px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product {
    flex-basis:88%!important;
    width:88%!important;
    max-width:88%!important;
    padding:9px!important;
  }
  body.fdt58-product-only .related.products.fdt58-related-carousel ul.products li.product img {
    height:175px!important;
    min-height:175px!important;
    max-height:175px!important;
  }
}
