/* =========================================================
   KAMAN PET ¡ª WOOCOMMERCE
   Archivo consolidado para catalogo, ficha de producto,
   relacionados y contenido nativo migrado desde Elementor.
   Reemplaza las reglas acumuladas de v0.3.x / v0.4.x.
========================================================= */

/* ---------------------------------------------------------
   1. BASE WOOCOMMERCE
--------------------------------------------------------- */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: var(--kaman-radius);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: var(--kaman-pink);
  color: #fff;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
  background: #e91d4e;
  color: #fff;
}

.woocommerce table.shop_table {
  border-color: var(--kaman-border);
}

.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 22px;
  color: #7a858e;
  font-size: 13px;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--kaman-navy);
  text-decoration: none;
}

/* ---------------------------------------------------------
   2. BANNER COMERCIAL
--------------------------------------------------------- */
.kaman-promo-banner {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.kaman-promo-banner picture,
.kaman-promo-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.kaman-promo-banner img {
  max-height: 128px;
  object-fit: cover;
}

/* ---------------------------------------------------------
   3. TIENDA / ARCHIVOS DE PRODUCTO
--------------------------------------------------------- */
.woocommerce-shop .kaman-woocommerce-content,
.tax-product_cat .kaman-woocommerce-content,
.tax-product_tag .kaman-woocommerce-content,
.tax-product_brand .kaman-woocommerce-content {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  margin-inline: auto;
  padding-top: 34px;
  padding-bottom: 64px;
}

.kaman-shop-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.kaman-shop-sidebar {
  grid-column: 1;
  min-width: 0;
}

.kaman-shop-results {
  grid-column: 2;
  min-width: 0;
}

.kaman-shop-filter-toggle {
  display: none;
}

/* El sidebar fluye con la pagina; las listas largas tienen scroll propio. */

.kaman-shop-sidebar__empty {
  color: var(--kaman-muted);
  font-size: 13px;
}

.kaman-shop-widget {
  margin: 0 0 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--kaman-border);
}

.kaman-shop-widget__title,
.kaman-shop-sidebar .widget-title {
  margin: 0 0 14px;
  color: var(--kaman-ink);
  font-size: 15px;
  font-weight: 700;
}

.kaman-shop-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kaman-shop-sidebar li {
  margin: 0 0 7px;
  font-size: 13px;
}

.kaman-shop-sidebar a {
  color: var(--kaman-ink);
  text-decoration: none;
}

.kaman-shop-sidebar a:hover {
  color: var(--kaman-pink);
}

/* Mascota */
.filtro-mascota {
  display: flex;
  gap: 14px;
}

.mascota-filter-item {
  display: grid;
  justify-items: center;
  gap: 5px;
  font-size: 11px;
}

.mascota-filter-item img {
  width: 54px;
  height: 54px;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  object-fit: cover;
}

.mascota-filter-item.is-active img {
  border-color: var(--kaman-pink);
}

/* Filtro de precio */
.kaman-shop-sidebar .price_slider_wrapper .ui-widget-content {
  background: #d9dee3;
}

.kaman-shop-sidebar .ui-slider .ui-slider-range,
.kaman-shop-sidebar .ui-slider .ui-slider-handle {
  background: var(--kaman-navy);
}

.kaman-shop-sidebar .widget_price_filter .price_slider {
  margin-bottom: 24px !important;
}

.kaman-shop-sidebar .widget_price_filter .price_slider_amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0;
  padding-top: 14px;
  padding-bottom: 2px;
  font-size: 11px;
}

.kaman-shop-sidebar .widget_price_filter .price_slider_amount .button {
  float: none;
  clear: both;
  min-height: 36px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--kaman-pink);
  color: #fff;
}

.kaman-shop-sidebar .price_slider_amount .price_label {
  display: block;
  clear: both;
  padding: 0;
}

/* Marcas */
.kaman-brand-filter {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 7px !important;
  scrollbar-width: thin;
}

.kaman-brand-filter__item {
  margin: 0 !important;
}

.kaman-brand-filter__item a {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 4px 0;
  font-size: 12px;
}

.kaman-brand-filter__marker {
  width: 12px;
  height: 12px;
  border: 1px solid #aab2b9;
  border-radius: 50%;
}

.kaman-brand-filter__item.is-active .kaman-brand-filter__marker {
  border: 4px solid var(--kaman-pink);
}

.kaman-brand-filter__item small {
  color: var(--kaman-muted);
  font-size: 10px;
}

/* Layered nav */
.kaman-shop-sidebar .woocommerce-widget-layered-nav-list {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 7px;
  scrollbar-width: thin;
}

.kaman-shop-sidebar .woocommerce-widget-layered-nav-list__item {
  padding: 3px 0;
}

.kaman-shop-sidebar .woocommerce-widget-layered-nav-list__item a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 1px solid #aab2b9;
  border-radius: 50%;
  vertical-align: -1px;
}

.kaman-shop-sidebar .chosen a::before {
  border: 4px solid var(--kaman-pink);
}

.kaman-filter-clear,
.kaman-shop-clear-all a {
  color: var(--kaman-pink) !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}

.kaman-shop-clear-all {
  margin: 8px 0 22px;
  padding: 10px 0;
  border-top: 1px solid var(--kaman-border);
}

/* Cabecera resultados */
.kaman-shop-results .woocommerce-result-count {
  margin: 10px 0 28px;
  color: var(--kaman-muted);
  font-size: 13px;
}

.kaman-shop-results .woocommerce-ordering {
  margin: 0 0 28px;
}

.kaman-shop-results .woocommerce-ordering select,
.single-product div.product form.cart .variations select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 46px;
  padding: 10px 42px 10px 14px;
  border: 1px solid #ccd4db;
  border-radius: 10px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23243544' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M1 1.5 7 7.5 13 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
  color: var(--kaman-ink);
}

.kaman-shop-results .woocommerce-ordering select:focus,
.single-product div.product form.cart .variations select:focus {
  outline: 0;
  border-color: #8ca2b5;
  box-shadow: 0 0 0 3px rgba(0, 63, 92, .10);
}

/* ---------------------------------------------------------
   4. GRID / TARJETAS DE PRODUCTO
--------------------------------------------------------- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 20px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 8px;
  float: none !important;
  background: #fff;
}

.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.kaman-loop-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 210px;
  margin: 0 0 14px;
  background: #fff;
  overflow: hidden;
}

.woocommerce ul.products li.product .kaman-loop-media > img,
.woocommerce ul.products li.product .kaman-loop-media .attachment-woocommerce_thumbnail {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  background: #fff;
  object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 42px;
  margin: 0 0 8px;
  padding: 0;
  color: var(--kaman-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

/* Marca: conservar la salida del plugin usada en produccion y estilizarla sin afectar la foto del producto. */
.kaman-loop-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 2px 0 7px;
  padding: 0;
  text-align: center;
  line-height: 1;
}

.kaman-loop-brand__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 0;
}

.kaman-loop-brand__logo {
  display: block;
  width: auto;
  max-width: 105px;
  height: auto;
  max-height: 28px;
  margin: 0 auto;
  object-fit: contain;
}

.woocommerce ul.products li.product .product-brands,
.woocommerce ul.products li.product .brands-in-loop {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 2px 0 7px !important;
  padding: 0 !important;
  text-align: center;
  line-height: 1;
}

.woocommerce ul.products li.product .product-brands a,
.woocommerce ul.products li.product .brands-in-loop a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product .product-brands img,
.woocommerce ul.products li.product .brands-in-loop img {
  display: block !important;
  width: auto !important;
  max-width: 105px !important;
  height: auto !important;
  max-height: 28px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.woocommerce ul.products li.product .price {
  margin: 5px 0 8px;
  color: #968700;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.woocommerce ul.products li.product .price del {
  color: #9ca3aa;
  opacity: 1;
  font-size: 12px;
}

.woocommerce ul.products li.product .price ins {
  color: #968700;
  text-decoration: none;
}

.kaman-loop-formats {
  margin: 3px 0 5px;
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
  color: #4b5560;
  font-size: 9px;
}

.kaman-loop-formats__head,
.kaman-loop-formats__row {
  display: grid;
  gap: 4px;
  align-items: center;
  padding: 4px 0;
  text-align: center;
}

.kaman-loop-formats--3 .kaman-loop-formats__head,
.kaman-loop-formats--3 .kaman-loop-formats__row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kaman-loop-formats--2 .kaman-loop-formats__head,
.kaman-loop-formats--2 .kaman-loop-formats__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kaman-loop-formats__head {
  color: #111827;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.kaman-loop-formats__row + .kaman-loop-formats__row {
  border-top: 1px solid #f0f2f4;
}

.kaman-loop-formats__row .woocommerce-Price-amount {
  font-size: inherit;
}

.woocommerce ul.products li.product .button {
  align-self: center;
  margin: 10px auto 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--kaman-navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--kaman-surface);
  color: var(--kaman-pink);
}

.woocommerce ul.products li.product .added_to_cart {
  margin-top: 8px;
  font-size: 12px;
}

/* Badges cards */
.woocommerce span.onsale.kaman-sale-badge,
.woocommerce ul.products li.product .onsale.kaman-sale-badge {
  position: absolute;
  top: 10px;
  left: 8px;
  right: auto;
  z-index: 8;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 5px 8px;
  border-radius: 0;
  background: var(--kaman-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.kaman-stock-badge {
  position: absolute;
  top: 10px;
  right: 8px;
  z-index: 8;
  padding: 5px 8px;
  background: #4b5563;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.kaman-product-badges {
  position: absolute;
  top: 40px;
  left: 8px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 75%;
}

.kaman-product-badge {
  padding: 4px 7px;
  border-radius: 999px;
  background: #9a9000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

/* Paginacion */
.woocommerce nav.woocommerce-pagination {
  margin-top: 46px;
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  margin: 0 3px;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 4px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--kaman-pink);
  color: #fff;
}

/* ---------------------------------------------------------
   5. SINGLE PRODUCT ¡ª CABECERA COMERCIAL
--------------------------------------------------------- */
.single-product .kaman-woocommerce-content {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin-inline: auto;
  padding-top: 34px;
  padding-bottom: 70px;
}

.single-product div.product {
  position: relative;
  padding-top: 18px;
}

.single-product div.product .woocommerce-product-gallery {
  width: 43%;
}

.single-product div.product .summary {
  width: 51%;
}

.single-product .woocommerce-product-gallery__image img {
  max-height: 520px;
  object-fit: contain;
}

.single-product div.product .product_title {
  margin: 0 0 14px;
  color: var(--kaman-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
}

.single-product div.product p.price,
.single-product div.product span.price {
  color: #9a8c00;
  font-size: 21px;
}

.single-product div.product .woocommerce-product-details__short-description {
  color: #45515b;
  font-size: 14px;
  line-height: 1.65;
}

/* Ahorro a la izquierda. */
.single-product div.product > .onsale.kaman-sale-badge,
.single-product div.product .woocommerce-product-gallery .onsale.kaman-sale-badge {
  top: 14px;
  left: 12px;
  right: auto;
}

/* Express a la derecha. */
.kaman-express-badge {
  position: absolute;
  top: 14px;
  right: calc(57% + 12px);
  left: auto;
  z-index: 5;
  display: grid;
  gap: 3px;
  justify-items: end;
  text-align: right;
}

.kaman-express-badge strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--kaman-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.kaman-express-badge span {
  display: block;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
}

/* Variaciones / compra */
.single-product div.product form.cart {
  display: block;
  margin: 20px 0 18px;
}

.single-product div.product form.cart .variations {
  width: 100%;
  margin: 0 0 14px;
}

.single-product div.product form.cart .variations th,
.single-product div.product form.cart .variations td {
  vertical-align: middle;
}

.single-product div.product form.cart .variations label {
  font-weight: 700;
}

.single-product div.product form.cart .reset_variations {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  color: var(--kaman-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.single-product div.product form.cart .single_variation_wrap {
  width: 100%;
}

.single-product div.product form.cart .woocommerce-variation-add-to-cart,
.single-product div.product form.cart .cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.single-product div.product form.cart .quantity {
  margin: 0 0 8px;
}

.single-product div.product form.cart .quantity .qty {
  min-height: 48px;
  border: 1px solid #ccd4db;
  border-radius: 10px;
}

.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 48px;
  margin: 0 0 8px;
  padding-inline: 20px;
  border-radius: 10px;
}

.single-product div.product .product_meta {
  margin-top: 14px;
  color: #5e6972;
  font-size: 12px;
  line-height: 1.55;
}

.single-product div.product .product_meta a {
  color: var(--kaman-navy);
}

/* Compra recurrente */
.kaman-recurring-banner {
  display: block;
  width: min(78%, 500px);
  margin: 16px auto 0;
}

.kaman-recurring-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Beneficios comerciales */
.kaman-product-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 6px;
}

.kaman-product-benefit {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}

.kaman-product-benefit img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: none;
}

/* Tabs */
.single-product .woocommerce-tabs {
  clear: both;
  padding-top: 34px;
}

.single-product .woocommerce-tabs ul.tabs {
  margin-bottom: 28px !important;
  padding-left: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs::before {
  border-color: var(--kaman-border) !important;
}

.single-product .woocommerce-tabs ul.tabs li {
  border-color: var(--kaman-border) !important;
  border-radius: 0 !important;
  background: #f7f8fa !important;
}

.single-product .woocommerce-tabs ul.tabs li.active {
  background: #fff !important;
}

/* Relacionados */
.single-product .related.products {
  margin-top: 54px;
}

.single-product .related.products > h2 {
  margin-bottom: 26px;
  font-size: 20px;
}

.single-product .related.products ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------------------------------------------------------
   6. CONTENIDO NATIVO MIGRADO DESDE ELEMENTOR
--------------------------------------------------------- */
.single-product .kaman-product-native {
  --kp-ink: #101820;
  --kp-muted: #5f6f7a;
  --kp-blue: #00344f;
  --kp-pink: #ff2358;
  --kp-yellow: #ffb93a;
  --kp-border: #e5e9ee;
  color: var(--kp-ink);
  font-size: 15px;
  line-height: 1.65;
}

.single-product .kaman-product-native > .kaman-product-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--kp-border);
}

.single-product .kaman-product-native > .kaman-product-section:first-child {
  padding-top: 8px;
}

.single-product .kaman-product-native > .kaman-product-section:last-child {
  padding-bottom: 8px;
  border-bottom: 0;
}

.single-product .kaman-product-section--nested {
  padding: 8px 0;
  border: 0;
}

.single-product .kaman-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px 28px;
  align-items: start;
}

.single-product .kaman-product-grid.kaman-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.single-product .kaman-product-grid.kaman-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.single-product .kaman-product-grid.kaman-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.single-product .kaman-product-grid.kaman-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.single-product .kaman-product-grid.kaman-cols-many { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.single-product .kaman-product-col {
  min-width: 0;
}

.single-product .kaman-product-heading {
  margin: 0 0 14px;
  color: var(--kp-ink);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.single-product .kaman-product-native h2.kaman-product-heading { font-size: clamp(23px, 2.5vw, 30px); }
.single-product .kaman-product-native h3.kaman-product-heading { font-size: clamp(20px, 2vw, 26px); }
.single-product .kaman-product-native h4.kaman-product-heading { font-size: 19px; }
.single-product .kaman-product-native h5.kaman-product-heading,
.single-product .kaman-product-native h6.kaman-product-heading { font-size: 17px; }
.single-product .kaman-product-heading--text { font-size: 16px; }

.single-product .kaman-product-text {
  color: var(--kp-ink);
  overflow-wrap: anywhere;
}

.single-product .kaman-product-text > :first-child { margin-top: 0; }
.single-product .kaman-product-text > :last-child { margin-bottom: 0; }
.single-product .kaman-product-text p { margin: 0 0 14px; }
.single-product .kaman-product-text a { color: var(--kp-blue); text-decoration: underline; text-underline-offset: 2px; }

.single-product .kaman-product-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 16px;
  padding: 0;
  list-style: none;
}

.single-product .kaman-product-list li {
  position: relative;
  margin: 0;
  padding-left: 19px;
}

.single-product .kaman-product-list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kp-pink);
  transform: translateY(-50%);
}

.single-product .kaman-product-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  margin: 0;
}

.single-product .kaman-product-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

.single-product .kaman-product-table-wrap {
  width: 100%;
  margin: 14px 0 20px;
  overflow-x: auto;
  border: 1px solid var(--kp-border);
  border-radius: 12px;
  background: #fff;
}

.single-product table.kaman-product-table {
  width: 100%;
  min-width: 420px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: #fff;
}

.single-product .kaman-product-table th,
.single-product .kaman-product-table td {
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--kp-border);
  text-align: left;
  vertical-align: top;
}

.single-product .kaman-product-table th {
  background: var(--kp-blue);
  color: #fff;
  font-weight: 700;
}

.single-product .kaman-product-table tbody tr:nth-child(even) td {
  background: #f7f8fa;
}

.single-product .kaman-product-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Icon-box convertido */
.single-product .kaman-product-feature {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--kp-border);
  border-radius: 14px;
  background: #fff;
}

.single-product .kaman-product-feature__dot,
.single-product .kaman-product-dot {
  display: inline-block;
  flex: 0 0 9px !important;
  width: 9px !important;
  min-width: 9px !important;
  max-width: 9px !important;
  height: 9px;
  border-radius: 50%;
  background: var(--kp-pink);
}

.single-product .kaman-product-feature__dot { margin-top: 7px; }
.single-product .kaman-product-dot { margin: 8px 0 12px; }

.single-product .kaman-product-feature > .kaman-product-feature__body,
.single-product .kaman-product-feature > div {
  display: block;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  float: none !important;
}

.single-product .kaman-product-feature__title {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 800;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.single-product .kaman-product-feature__text,
.single-product .kaman-product-feature__text p {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.single-product .kaman-product-feature__text > :first-child { margin-top: 0; }
.single-product .kaman-product-feature__text > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------
   7. RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 980px) {
  .woocommerce-shop .kaman-woocommerce-content,
  .tax-product_cat .kaman-woocommerce-content,
  .tax-product_tag .kaman-woocommerce-content,
  .single-product .kaman-woocommerce-content {
    width: min(100% - 28px, 900px);
  }

  .kaman-shop-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .kaman-shop-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--kaman-border);
    border-radius: 6px;
    background: #fff;
    font-weight: 700;
  }

  .kaman-shop-sidebar {
    display: none;
    grid-column: 1;
    max-height: none;
    padding: 20px;
    border: 1px solid var(--kaman-border);
    border-radius: 8px;
    overflow: visible;
  }

  .kaman-shop-sidebar.is-open {
    display: block;
  }

  .kaman-shop-results {
    grid-column: 1;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary {
    width: 100%;
    float: none;
  }

  .single-product div.product .summary {
    margin-top: 30px;
  }

  .single-product .kaman-product-grid.kaman-cols-4,
  .single-product .kaman-product-grid.kaman-cols-5,
  .single-product .kaman-product-grid.kaman-cols-many {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .kaman-promo-banner img {
    max-height: none;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .kaman-loop-media {
    height: 180px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    font-size: 13px;
  }

  .kaman-loop-formats {
    display: none;
  }

  .single-product div.product {
    padding-top: 8px;
  }

  .single-product div.product > .onsale.kaman-sale-badge,
  .single-product div.product .woocommerce-product-gallery .onsale.kaman-sale-badge {
    top: 12px;
    left: 10px;
  }

  .kaman-express-badge {
    top: 12px;
    right: 10px;
    left: auto;
    justify-items: end;
    text-align: right;
  }

  .single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kaman-recurring-banner {
    width: min(90%, 440px);
  }

  .kaman-product-benefits {
    gap: 6px;
    margin-top: 18px;
  }

  .kaman-product-benefit {
    min-height: 0;
    padding: 0;
  }

  .single-product .kaman-product-native > .kaman-product-section {
    padding: 22px 0;
  }

  .single-product .kaman-product-grid.kaman-cols-2,
  .single-product .kaman-product-grid.kaman-cols-3,
  .single-product .kaman-product-grid.kaman-cols-4,
  .single-product .kaman-product-grid.kaman-cols-5,
  .single-product .kaman-product-grid.kaman-cols-many {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-product .kaman-product-table th,
  .single-product .kaman-product-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 520px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .kaman-loop-media {
    height: 230px;
  }
}

/* ---------------------------------------------------------
   v0.4.10 - compact format table on single product
--------------------------------------------------------- */
.kaman-single-formats {
  width: 100%;
  margin: 18px 0 8px;
  border: 1px solid var(--kaman-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  color: #4b5560;
  font-size: 11px;
}

.kaman-single-formats__head,
.kaman-single-formats__row {
  display: grid;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  text-align: center;
}

.kaman-single-formats--3 .kaman-single-formats__head,
.kaman-single-formats--3 .kaman-single-formats__row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kaman-single-formats--2 .kaman-single-formats__head,
.kaman-single-formats--2 .kaman-single-formats__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kaman-single-formats__head {
  background: #f7f8fa;
  color: #111827;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.kaman-single-formats__row + .kaman-single-formats__row {
  border-top: 1px solid #edf0f2;
}

.kaman-single-formats__row .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: 600;
}

/* Reserve real vertical space between price slider and filter button. */
.kaman-shop-sidebar .widget_price_filter .price_slider_amount {
  padding-top: 16px !important;
}

.kaman-shop-sidebar .widget_price_filter .price_slider_amount .button {
  margin-top: 0 !important;
}

@media (max-width: 680px) {
  .kaman-single-formats {
    margin-top: 14px;
  }

  .kaman-single-formats__head,
  .kaman-single-formats__row {
    padding: 8px 7px;
    gap: 4px;
  }
}

/* ---------------------------------------------------------
   0.4.11 - NORMALIZACION DE DESCRIPCIONES LEGACY DE PRODUCTO
   Solo afecta contenido HTML antiguo que aun no usa
   .kaman-product-native. El heading nativo de Woo se elimina
   por filtro PHP para evitar "Descripcion" duplicado.
--------------------------------------------------------- */
.single-product #tab-description {
  color: var(--kaman-ink);
  font-size: 15px;
  line-height: 1.65;
}

.single-product #tab-description > h2 {
  margin: 0 0 18px;
  color: var(--kaman-ink);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
}

.single-product #tab-description > h3 {
  margin: 28px 0 12px;
  color: var(--kaman-ink);
  font-size: 20px;
  line-height: 1.25;
}

.single-product #tab-description > p {
  margin: 0 0 16px;
}

.single-product #tab-description > ul,
.single-product #tab-description > ol {
  margin: 10px 0 22px;
}

.single-product #tab-description a[href="#"] {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.single-product #tab-description > img {
  display: block;
  width: auto;
  max-width: min(100%, 840px);
  height: auto;
  margin: 22px auto 28px;
}

.single-product #tab-description > table {
  width: 100%;
  margin: 18px 0 28px;
  border-collapse: collapse;
  background: #fff;
}

.single-product #tab-description > table th,
.single-product #tab-description > table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--kaman-border);
  text-align: left;
  vertical-align: top;
}

.single-product #tab-description > table th {
  color: var(--kaman-ink);
  font-weight: 700;
}

.single-product #tab-description > article {
  margin: 0;
}

.single-product #tab-description > article p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   KAMAN INFINITE SCROLL
   La paginacion se mantiene en HTML como fallback y para SEO.
--------------------------------------------------------- */

body.kaman-infinite-scroll-ready
  .kaman-shop-results
  nav.woocommerce-pagination {
  display: none !important;
}

.kaman-infinite-scroll-sentinel {
  width: 100%;
  height: 2px;
  clear: both;
}

.kaman-infinite-scroll-status {
  width: 100%;
  margin: 34px auto 10px;
  padding: 12px 18px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.kaman-infinite-scroll-status.is-loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 9px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -3px;
  animation: kaman-infinite-spin 0.7s linear infinite;
}

.kaman-infinite-scroll-status.is-finished {
  opacity: 0.7;
}

.kaman-infinite-scroll-status.is-error {
  margin-top: 24px;
}

@keyframes kaman-infinite-spin {
  to {
    transform: rotate(360deg);
  }
}
