/* =========================================================
   KINGO WOOCOMMERCE DESIGN
   Archivo de productos + Single Product para Elementor Pro
========================================================= */

body.kb-woo-design {
  --kb-woo-red: #a01027;
  --kb-woo-red-dark: #710b1b;
  --kb-woo-red-soft: rgba(160, 16, 39, 0.09);
  --kb-woo-black: #050505;
  --kb-woo-black-soft: #111111;
  --kb-woo-white: #ffffff;
  --kb-woo-gray: #f5f5f5;
  --kb-woo-muted: rgba(5, 5, 5, 0.63);
  --kb-woo-border: rgba(5, 5, 5, 0.11);
  --kb-woo-background-image: none;
  font-family: "Montserrat", sans-serif;
}

body.kb-woo-design,
body.kb-woo-design * {
  box-sizing: border-box;
}

/* Fondo compartido para plantillas de Elementor. */
body.kb-woo-design .elementor-location-archive,
body.kb-woo-design .elementor-location-single,
body.kb-woo-design main.site-main,
body.kb-woo-design #primary {
  position: relative;
  isolation: isolate;
}

body.kb-woo-design .elementor-location-archive::before,
body.kb-woo-design .elementor-location-single::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,248,248,.8)),
    var(--kb-woo-background-image) center / cover no-repeat;
  background-blend-mode: normal, luminosity;
  opacity: 1;
}

body.kb-woo-design .elementor-location-archive::after,
body.kb-woo-design .elementor-location-single::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 10%, rgba(160,16,39,.09), transparent 28%),
    radial-gradient(circle at 93% 78%, rgba(160,16,39,.065), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.58) 55%, rgba(255,255,255,.78));
}

body.kb-woo-design .elementor-location-archive > *,
body.kb-woo-design .elementor-location-single > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   ELEMENTOS COMPARTIDOS
========================================================= */

body.kb-woo-design .woocommerce-breadcrumb,
body.kb-woo-design .elementor-widget-woocommerce-breadcrumbs {
  color: rgba(5, 5, 5, 0.52) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  letter-spacing: 0.35px;
}

body.kb-woo-design .woocommerce-breadcrumb a,
body.kb-woo-design .elementor-widget-woocommerce-breadcrumbs a {
  color: var(--kb-woo-red) !important;
  text-decoration: none !important;
}

body.kb-woo-design .woocommerce-message,
body.kb-woo-design .woocommerce-info,
body.kb-woo-design .woocommerce-error {
  margin: 0 0 24px !important;
  padding: 17px 20px 17px 48px !important;
  color: var(--kb-woo-black) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-top: 3px solid var(--kb-woo-red) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 35px rgba(5, 5, 5, 0.08) !important;
  font-size: 12px !important;
}

body.kb-woo-design .star-rating,
body.kb-woo-design .star-rating::before,
body.kb-woo-design .star-rating span::before {
  color: var(--kb-woo-red) !important;
}

/* =========================================================
   ARCHIVE PRODUCTS
========================================================= */

body.kb-woo-archive .elementor-widget-woocommerce-archive-title .elementor-heading-title,
body.kb-woo-archive .woocommerce-products-header__title,
body.kb-woo-archive .page-title {
  margin: 0 !important;
  color: var(--kb-woo-black) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(36px, 5.5vw, 68px) !important;
  font-weight: 900 !important;
  line-height: 1.04 !important;
  letter-spacing: -2.5px !important;
}

body.kb-woo-archive .elementor-widget-woocommerce-archive-description,
body.kb-woo-archive .term-description {
  max-width: 760px;
  color: var(--kb-woo-muted) !important;
  font-size: 13px !important;
  line-height: 1.85 !important;
}

body.kb-woo-archive .woocommerce-result-count {
  margin: 0 !important;
  color: rgba(5, 5, 5, 0.56) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

body.kb-woo-archive .woocommerce-ordering {
  margin: 0 !important;
}

body.kb-woo-archive .woocommerce-ordering select,
body.kb-woo-archive select.orderby {
  min-height: 46px;
  margin: 0 !important;
  padding: 10px 42px 10px 15px !important;
  color: var(--kb-woo-black) !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 26px rgba(5, 5, 5, 0.06) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  outline: none !important;
}

body.kb-woo-archive .woocommerce-ordering select:focus,
body.kb-woo-archive select.orderby:focus {
  border-color: var(--kb-woo-red) !important;
  box-shadow: 0 0 0 3px rgba(160, 16, 39, 0.1) !important;
}

body.kb-woo-archive .elementor-widget-woocommerce-archive-products ul.products,
body.kb-woo-archive .woocommerce ul.products,
body.kb-woo-archive ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.kb-woo-archive ul.products::before,
body.kb-woo-archive ul.products::after {
  display: none !important;
  content: none !important;
}

body.kb-woo-archive ul.products li.product {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 13px !important;
  overflow: hidden !important;
  color: var(--kb-woo-black) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(248,248,248,.92)) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-top: 3px solid rgba(160, 16, 39, 0.82) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(5, 5, 5, 0.08) !important;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease !important;
}

body.kb-woo-archive ul.products li.product:hover {
  border-color: rgba(160, 16, 39, 0.48) !important;
  box-shadow: 0 26px 60px rgba(5, 5, 5, 0.13), 0 10px 28px rgba(160, 16, 39, 0.08) !important;
  transform: translateY(-7px) !important;
}

body.kb-woo-archive ul.products li.product .woocommerce-LoopProduct-link {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  color: inherit !important;
  text-decoration: none !important;
}

body.kb-woo-archive ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 0 16px !important;
  object-fit: cover !important;
  background: #f1f1f1 !important;
  border-radius: 12px !important;
  transition: transform .4s ease, filter .4s ease !important;
}

body.kb-woo-archive ul.products li.product:hover img {
  transform: scale(1.035) !important;
  filter: contrast(1.03) !important;
}

body.kb-woo-archive .kb-woo-card__category {
  display: block;
  margin: 0 4px 8px;
  overflow: hidden;
  color: var(--kb-woo-red);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1.15px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.kb-woo-archive ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  min-height: 2.75em !important;
  margin: 0 4px 10px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: var(--kb-woo-black) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.38 !important;
  letter-spacing: -0.25px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.kb-woo-archive ul.products li.product .price {
  display: block !important;
  margin: auto 4px 15px !important;
  color: var(--kb-woo-red) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
}

body.kb-woo-archive ul.products li.product .price del {
  margin-right: 4px;
  color: rgba(5, 5, 5, 0.42) !important;
  font-size: 0.78em !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

body.kb-woo-archive ul.products li.product .price ins {
  text-decoration: none !important;
}

body.kb-woo-archive ul.products li.product .button,
body.kb-woo-archive ul.products li.product .added_to_cart {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 45px !important;
  margin: 0 !important;
  padding: 11px 12px !important;
  overflow: hidden !important;
  color: #fff !important;
  background: var(--kb-woo-red) !important;
  border: 1px solid var(--kb-woo-red) !important;
  border-radius: 9px !important;
  box-shadow: 0 12px 25px rgba(160, 16, 39, 0.22) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.65px !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease !important;
}

body.kb-woo-archive ul.products li.product .button:hover,
body.kb-woo-archive ul.products li.product .added_to_cart:hover {
  background: var(--kb-woo-red-dark) !important;
  border-color: var(--kb-woo-red-dark) !important;
  box-shadow: 0 15px 30px rgba(160, 16, 39, 0.32) !important;
  transform: translateY(-2px) !important;
}

body.kb-woo-archive ul.products li.product .onsale,
body.kb-woo-archive .kb-woo-card__stock-badge {
  position: absolute !important;
  z-index: 5 !important;
  top: 23px !important;
  min-width: auto !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  color: #fff !important;
  background: var(--kb-woo-red) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 22px rgba(160, 16, 39, 0.24) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 7px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: 0.7px !important;
  text-transform: uppercase !important;
}

body.kb-woo-archive ul.products li.product .onsale {
  right: 23px !important;
  left: auto !important;
}

body.kb-woo-archive .kb-woo-card__stock-badge {
  right: auto !important;
  left: 23px !important;
  background: var(--kb-woo-black) !important;
}

body.kb-woo-archive .woocommerce-pagination {
  margin-top: 42px !important;
}

body.kb-woo-archive .woocommerce-pagination ul.page-numbers {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.kb-woo-archive .woocommerce-pagination ul.page-numbers li {
  margin: 0 !important;
  border: 0 !important;
}

body.kb-woo-archive .woocommerce-pagination .page-numbers a,
body.kb-woo-archive .woocommerce-pagination .page-numbers span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 8px !important;
  color: var(--kb-woo-black) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-radius: 9px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.kb-woo-archive .woocommerce-pagination .page-numbers .current,
body.kb-woo-archive .woocommerce-pagination .page-numbers a:hover {
  color: #fff !important;
  background: var(--kb-woo-red) !important;
  border-color: var(--kb-woo-red) !important;
}

/* =========================================================
   SINGLE PRODUCT
========================================================= */

body.kb-woo-single .elementor-widget-woocommerce-product-images,
body.kb-woo-single .woocommerce-product-gallery {
  padding: 14px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-top: 3px solid var(--kb-woo-red) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 65px rgba(5, 5, 5, 0.11) !important;
}

body.kb-woo-single .woocommerce-product-gallery img {
  border-radius: 13px !important;
}

body.kb-woo-single .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 9px !important;
  margin-top: 10px !important;
}

body.kb-woo-single .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
}

body.kb-woo-single .flex-control-thumbs img {
  border: 1px solid var(--kb-woo-border) !important;
  border-radius: 9px !important;
  opacity: 0.66 !important;
}

body.kb-woo-single .flex-control-thumbs img.flex-active,
body.kb-woo-single .flex-control-thumbs img:hover {
  border-color: var(--kb-woo-red) !important;
  opacity: 1 !important;
}

body.kb-woo-single .elementor-widget-woocommerce-product-title .product_title,
body.kb-woo-single h1.product_title {
  margin: 0 !important;
  color: var(--kb-woo-black) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(32px, 4.2vw, 56px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -2px !important;
}

body.kb-woo-single .elementor-widget-woocommerce-product-price .price,
body.kb-woo-single .summary .price {
  color: var(--kb-woo-red) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(25px, 3vw, 36px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

body.kb-woo-single .price del {
  margin-right: 8px;
  color: rgba(5, 5, 5, 0.4) !important;
  font-size: 0.65em !important;
  font-weight: 650 !important;
  opacity: 1 !important;
}

body.kb-woo-single .price ins {
  text-decoration: none !important;
}

body.kb-woo-single .woocommerce-product-details__short-description,
body.kb-woo-single .elementor-widget-woocommerce-product-short-description {
  color: rgba(5, 5, 5, 0.72) !important;
  font-size: 15px !important;
  font-weight: 450 !important;
  line-height: 1.8 !important;
}

body.kb-woo-single .woocommerce-product-details__short-description p,
body.kb-woo-single .elementor-widget-woocommerce-product-short-description p {
  margin-bottom: 0.9em !important;
}

body.kb-woo-single .woocommerce-product-details__short-description p:last-child,
body.kb-woo-single .elementor-widget-woocommerce-product-short-description p:last-child {
  margin-bottom: 0 !important;
}

body.kb-woo-single .stock {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 0 14px !important;
  color: var(--kb-woo-black) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
}

body.kb-woo-single .stock::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--kb-woo-red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(160, 16, 39, 0.09);
}

body.kb-woo-single form.cart,
body.kb-woo-single .elementor-widget-woocommerce-product-add-to-cart form.cart {
  display: flex !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.kb-woo-single form.cart .quantity {
  margin: 0 !important;
}

body.kb-woo-single form.cart .quantity input.qty {
  width: 78px !important;
  min-height: 52px !important;
  margin: 0 !important;
  color: var(--kb-woo-black) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

body.kb-woo-single form.cart .button,
body.kb-woo-single .single_add_to_cart_button {
  position: relative !important;
  flex: 1 1 220px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 14px 22px !important;
  overflow: hidden !important;
  color: #fff !important;
  background: var(--kb-woo-red) !important;
  border: 1px solid var(--kb-woo-red) !important;
  border-radius: 9px !important;
  box-shadow: 0 14px 30px rgba(160, 16, 39, 0.25) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0.85px !important;
  text-transform: uppercase !important;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease !important;
}

body.kb-woo-single form.cart .button:hover,
body.kb-woo-single .single_add_to_cart_button:hover {
  background: var(--kb-woo-red-dark) !important;
  border-color: var(--kb-woo-red-dark) !important;
  box-shadow: 0 18px 38px rgba(160, 16, 39, 0.35) !important;
  transform: translateY(-2px) !important;
}

body.kb-woo-single table.variations {
  width: 100% !important;
  margin: 0 0 18px !important;
  border: 0 !important;
}

body.kb-woo-single table.variations th,
body.kb-woo-single table.variations td {
  display: block !important;
  padding: 0 0 8px !important;
  border: 0 !important;
}

body.kb-woo-single table.variations label {
  color: var(--kb-woo-black) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
}

body.kb-woo-single table.variations select {
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 14px !important;
  color: var(--kb-woo-black) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-radius: 9px !important;
  font-size: 11px !important;
}

body.kb-woo-single .reset_variations {
  color: var(--kb-woo-red) !important;
  font-size: 9px !important;
  font-weight: 750 !important;
}

body.kb-woo-single .product_meta,
body.kb-woo-single .elementor-widget-woocommerce-product-meta {
  color: rgba(5, 5, 5, 0.6) !important;
  font-size: 11px !important;
  line-height: 1.8 !important;
}

body.kb-woo-single .product_meta a,
body.kb-woo-single .elementor-widget-woocommerce-product-meta a {
  color: var(--kb-woo-red) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.kb-woo-single .woocommerce-tabs,
body.kb-woo-single .elementor-widget-woocommerce-product-data-tabs {
  padding: 28px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-top: 3px solid var(--kb-woo-red) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 55px rgba(5, 5, 5, 0.09) !important;
}

body.kb-woo-single .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.kb-woo-single .woocommerce-tabs ul.tabs::before,
body.kb-woo-single .woocommerce-tabs ul.tabs li::before,
body.kb-woo-single .woocommerce-tabs ul.tabs li::after {
  display: none !important;
  content: none !important;
}

body.kb-woo-single .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.kb-woo-single .woocommerce-tabs ul.tabs li a {
  display: inline-flex !important;
  min-height: 40px !important;
  align-items: center !important;
  padding: 10px 14px !important;
  color: rgba(5, 5, 5, 0.58) !important;
  background: #f3f3f3 !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-radius: 8px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;
}

body.kb-woo-single .woocommerce-tabs ul.tabs li.active a,
body.kb-woo-single .woocommerce-tabs ul.tabs li a:hover {
  color: #fff !important;
  background: var(--kb-woo-red) !important;
  border-color: var(--kb-woo-red) !important;
}

body.kb-woo-single .woocommerce-Tabs-panel {
  color: rgba(5, 5, 5, 0.72) !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

body.kb-woo-single .woocommerce-Tabs-panel p,
body.kb-woo-single .woocommerce-Tabs-panel li,
body.kb-woo-single .woocommerce-Tabs-panel td,
body.kb-woo-single .woocommerce-Tabs-panel th {
  color: rgba(5, 5, 5, 0.72) !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

body.kb-woo-single .woocommerce-Tabs-panel p {
  margin: 0 0 1.25em !important;
}

body.kb-woo-single .woocommerce-Tabs-panel p:last-child {
  margin-bottom: 0 !important;
}

body.kb-woo-single .woocommerce-Tabs-panel h2 {
  margin: 0 0 18px !important;
  color: var(--kb-woo-black) !important;
  font-size: clamp(25px, 3vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.8px !important;
}

body.kb-woo-single .woocommerce-Tabs-panel h3 {
  color: var(--kb-woo-black) !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.kb-woo-single .related > h2,
body.kb-woo-single .upsells > h2,
body.kb-woo-single .elementor-widget-woocommerce-product-related > .elementor-widget-container > h2,
body.kb-woo-single .elementor-widget-woocommerce-product-upsell > .elementor-widget-container > h2 {
  margin: 0 0 28px !important;
  color: var(--kb-woo-black) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(26px, 3.5vw, 42px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -1.4px !important;
}

body.kb-woo-single .related ul.products,
body.kb-woo-single .upsells ul.products,
body.kb-woo-single .elementor-widget-woocommerce-product-related ul.products,
body.kb-woo-single .elementor-widget-woocommerce-product-upsell ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.kb-woo-single .related ul.products li.product,
body.kb-woo-single .upsells ul.products li.product,
body.kb-woo-single .elementor-widget-woocommerce-product-related ul.products li.product,
body.kb-woo-single .elementor-widget-woocommerce-product-upsell ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 12px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--kb-woo-border) !important;
  border-top: 3px solid rgba(160, 16, 39, 0.82) !important;
  border-radius: 17px !important;
  box-shadow: 0 18px 48px rgba(5, 5, 5, 0.08) !important;
}

body.kb-woo-single .related ul.products li.product img,
body.kb-woo-single .upsells ul.products li.product img {
  border-radius: 11px !important;
}

body.kb-woo-single .related ul.products li.product .woocommerce-loop-product__title,
body.kb-woo-single .upsells ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.7em !important;
  color: var(--kb-woo-black) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
}

body.kb-woo-single .related ul.products li.product .price,
body.kb-woo-single .upsells ul.products li.product .price {
  color: var(--kb-woo-red) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
}

body.kb-woo-single .related ul.products li.product .button,
body.kb-woo-single .upsells ul.products li.product .button {
  width: 100% !important;
  min-height: 43px !important;
  color: #fff !important;
  background: var(--kb-woo-red) !important;
  border-radius: 8px !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: .6px !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

/* Shortcodes auxiliares para Single Product. */
body.kb-woo-single .kb-single-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
}

body.kb-woo-single .kb-single-benefits__item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 10px 11px;
  color: rgba(5, 5, 5, 0.68);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--kb-woo-border);
  border-radius: 10px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.45;
}

body.kb-woo-single .kb-single-benefits__icon,
body.kb-woo-single .kb-single-whatsapp__icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

body.kb-woo-single .kb-single-benefits__icon {
  color: var(--kb-woo-red);
}

body.kb-woo-single .kb-single-benefits__icon--truck {
  -webkit-mask-image: url("../icons/truck.svg");
  mask-image: url("../icons/truck.svg");
}

body.kb-woo-single .kb-single-benefits__icon--card {
  -webkit-mask-image: url("../icons/card.svg");
  mask-image: url("../icons/card.svg");
}

body.kb-woo-single .kb-single-benefits__icon--shield {
  -webkit-mask-image: url("../icons/shield.svg");
  mask-image: url("../icons/shield.svg");
}

body.kb-woo-single .kb-single-whatsapp {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 13px 18px !important;
  color: var(--kb-woo-red) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(160, 16, 39, 0.38) !important;
  border-radius: 9px !important;
  box-shadow: 0 12px 28px rgba(5, 5, 5, 0.07) !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .7px !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: color .3s ease, background .3s ease, transform .3s ease !important;
}

body.kb-woo-single .kb-single-whatsapp:hover {
  color: #fff !important;
  background: var(--kb-woo-red) !important;
  transform: translateY(-2px) !important;
}

body.kb-woo-single .kb-single-whatsapp__icon {
  -webkit-mask-image: url("../icons/whatsapp.svg");
  mask-image: url("../icons/whatsapp.svg");
}

/* =========================================================
   ANIMACIONES
========================================================= */

body.kb-woo-animations.kb-woo-design ul.products li.product,
body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-images,
body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-title,
body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-price,
body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-add-to-cart,
body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-data-tabs {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease var(--kb-woo-delay, 0ms), transform .7s ease var(--kb-woo-delay, 0ms) !important;
}

body.kb-woo-animations.kb-woo-design .kb-woo-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 1100px) {
  body.kb-woo-archive .elementor-widget-woocommerce-archive-products ul.products,
  body.kb-woo-archive .woocommerce ul.products,
  body.kb-woo-archive ul.products,
  body.kb-woo-single .related ul.products,
  body.kb-woo-single .upsells ul.products,
  body.kb-woo-single .elementor-widget-woocommerce-product-related ul.products,
  body.kb-woo-single .elementor-widget-woocommerce-product-upsell ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 19px !important;
  }
}

@media screen and (max-width: 767px) {
  body.kb-woo-design .elementor-location-archive::before,
  body.kb-woo-design .elementor-location-single::before {
    background-attachment: scroll;
  }

  body.kb-woo-archive .elementor-widget-woocommerce-archive-title .elementor-heading-title,
  body.kb-woo-archive .woocommerce-products-header__title,
  body.kb-woo-archive .page-title {
    font-size: clamp(32px, 10vw, 46px) !important;
    letter-spacing: -1.5px !important;
  }

  body.kb-woo-archive .woocommerce-result-count,
  body.kb-woo-archive .woocommerce-ordering {
    float: none !important;
    width: 100% !important;
    margin: 0 0 12px !important;
  }

  body.kb-woo-archive .woocommerce-ordering select,
  body.kb-woo-archive select.orderby {
    width: 100% !important;
  }

  body.kb-woo-archive .elementor-widget-woocommerce-archive-products ul.products,
  body.kb-woo-archive .woocommerce ul.products,
  body.kb-woo-archive ul.products,
  body.kb-woo-single .related ul.products,
  body.kb-woo-single .upsells ul.products,
  body.kb-woo-single .elementor-widget-woocommerce-product-related ul.products,
  body.kb-woo-single .elementor-widget-woocommerce-product-upsell ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }

  body.kb-woo-archive ul.products li.product,
  body.kb-woo-single .related ul.products li.product,
  body.kb-woo-single .upsells ul.products li.product {
    padding: 8px !important;
    border-radius: 13px !important;
  }

  body.kb-woo-archive ul.products li.product img {
    margin-bottom: 11px !important;
    border-radius: 9px !important;
  }

  body.kb-woo-archive .kb-woo-card__category {
    margin: 0 2px 6px;
    font-size: 6.5px;
    letter-spacing: .7px;
  }

  body.kb-woo-archive ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.7em !important;
    margin: 0 2px 7px !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  body.kb-woo-archive ul.products li.product .price {
    margin: auto 2px 10px !important;
    font-size: 12px !important;
  }

  body.kb-woo-archive ul.products li.product .button,
  body.kb-woo-archive ul.products li.product .added_to_cart {
    min-height: 39px !important;
    padding: 8px 5px !important;
    border-radius: 7px !important;
    font-size: 6.5px !important;
    letter-spacing: .35px !important;
  }

  body.kb-woo-archive ul.products li.product .onsale,
  body.kb-woo-archive .kb-woo-card__stock-badge {
    top: 15px !important;
    padding: 5px 6px !important;
    font-size: 5.5px !important;
  }

  body.kb-woo-archive ul.products li.product .onsale {
    right: 15px !important;
  }

  body.kb-woo-archive .kb-woo-card__stock-badge {
    left: 15px !important;
  }

  body.kb-woo-single .elementor-widget-woocommerce-product-title .product_title,
  body.kb-woo-single h1.product_title {
    font-size: clamp(30px, 10vw, 44px) !important;
    letter-spacing: -1.5px !important;
  }

  body.kb-woo-single .elementor-widget-woocommerce-product-price .price,
  body.kb-woo-single .summary .price {
    font-size: 26px !important;
  }

  body.kb-woo-single .woocommerce-tabs,
  body.kb-woo-single .elementor-widget-woocommerce-product-data-tabs {
    padding: 20px 15px !important;
    border-radius: 14px !important;
  }

  body.kb-woo-single .woocommerce-tabs ul.tabs {
    flex-direction: column !important;
  }

  body.kb-woo-single .woocommerce-tabs ul.tabs li a {
    width: 100% !important;
    justify-content: center !important;
  }

  body.kb-woo-single .kb-single-benefits {
    grid-template-columns: 1fr !important;
  }

  body.kb-woo-single .related > h2,
  body.kb-woo-single .upsells > h2 {
    font-size: 27px !important;
  }
}

@media screen and (max-width: 380px) {
  body.kb-woo-archive .elementor-widget-woocommerce-archive-products ul.products,
  body.kb-woo-archive .woocommerce ul.products,
  body.kb-woo-archive ul.products,
  body.kb-woo-single .related ul.products,
  body.kb-woo-single .upsells ul.products {
    gap: 8px !important;
  }

  body.kb-woo-archive ul.products li.product {
    padding: 6px !important;
  }

  body.kb-woo-archive ul.products li.product .woocommerce-loop-product__title {
    font-size: 9px !important;
  }

  body.kb-woo-archive ul.products li.product .price {
    font-size: 11px !important;
  }

  body.kb-woo-archive ul.products li.product .button,
  body.kb-woo-archive ul.products li.product .added_to_cart {
    min-height: 37px !important;
    font-size: 6px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.kb-woo-design *,
  body.kb-woo-design *::before,
  body.kb-woo-design *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  body.kb-woo-animations.kb-woo-design ul.products li.product,
  body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-images,
  body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-title,
  body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-price,
  body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-add-to-cart,
  body.kb-woo-animations.kb-woo-single .elementor-widget-woocommerce-product-data-tabs {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   SINGLE PRODUCT POR SHORTCODE
   [kingo_single_product]
========================================================= */

body.kb-woo-single .kb-shortcode-single-product-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 88px;
  font-family: "Montserrat", sans-serif;
}

body.kb-woo-single .kb-shortcode-single-product__breadcrumb {
  margin: 0 0 24px;
  color: rgba(5, 5, 5, 0.58);
  font-size: 10px;
  font-weight: 700;
}

body.kb-woo-single .kb-shortcode-single-product__breadcrumb a {
  color: var(--kb-woo-red) !important;
  text-decoration: none !important;
}

body.kb-woo-single .kb-shortcode-single-product__main {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 44px;
  align-items: start;
}

body.kb-woo-single .kb-shortcode-single-product__gallery,
body.kb-woo-single .kb-shortcode-single-product__summary {
  min-width: 0;
}

body.kb-woo-single .kb-shortcode-single-product__gallery {
  position: sticky;
  top: 28px;
}

body.kb-woo-single .kb-shortcode-single-product__gallery .woocommerce-product-gallery,
body.kb-woo-single .kb-shortcode-single-product__gallery .images {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.kb-woo-single .kb-shortcode-single-product__gallery .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

body.kb-woo-single .kb-shortcode-single-product__gallery .woocommerce-product-gallery__image,
body.kb-woo-single .kb-shortcode-single-product__gallery .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 0 !important;
  background: #fff;
}

body.kb-woo-single .kb-shortcode-single-product__gallery .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.kb-woo-single .kb-shortcode-single-product__summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 36px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--kb-woo-border);
  border-top: 3px solid var(--kb-woo-red);
  border-radius: 20px;
  box-shadow: 0 24px 65px rgba(5, 5, 5, 0.1);
}

body.kb-woo-single .kb-shortcode-single-product__summary > * {
  margin-bottom: 18px;
}

body.kb-woo-single .kb-shortcode-single-product__summary > *:last-child {
  margin-bottom: 0;
}

body.kb-woo-single .kb-shortcode-single-product__summary h1.product_title {
  font-size: clamp(34px, 3.8vw, 50px) !important;
  text-align: left !important;
}

body.kb-woo-single .kb-shortcode-single-product__extras {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 20px 0 0;
}

body.kb-woo-single .kb-shortcode-single-product__after {
  clear: both;
  width: 100%;
  margin-top: 52px;
}

body.kb-woo-single .kb-shortcode-single-product__after .woocommerce-tabs,
body.kb-woo-single .kb-shortcode-single-product__after .upsells,
body.kb-woo-single .kb-shortcode-single-product__after .related {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.kb-woo-single .kb-shortcode-single-product__after .upsells,
body.kb-woo-single .kb-shortcode-single-product__after .related {
  margin-top: 52px !important;
}

body.kb-woo-single .kb-category-related-products {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

body.kb-woo-single .kb-category-related-products ul.products li.product img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

body.kb-woo-single .kb-shortcode-single-product__after:empty {
  display: none;
}

body.kb-woo-single .kb-shortcode-single-product__notice {
  max-width: 900px;
  margin: 30px auto;
  padding: 18px;
  color: #050505;
  background: #fff8e5;
  border: 1px solid #e5c66c;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

@media screen and (max-width: 900px) {
  body.kb-woo-single .kb-shortcode-single-product-wrap {
    padding: 58px 20px 72px;
  }

  body.kb-woo-single .kb-shortcode-single-product__main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body.kb-woo-single .kb-shortcode-single-product__gallery {
    position: static;
  }
}

@media screen and (max-width: 767px) {
  body.kb-woo-single .kb-shortcode-single-product-wrap {
    padding: 40px 15px 58px;
  }

  body.kb-woo-single .kb-shortcode-single-product__summary {
    padding: 23px !important;
    border-radius: 16px;
  }

  body.kb-woo-single .kb-shortcode-single-product__summary h1.product_title {
    font-size: 30px !important;
    letter-spacing: -1.1px !important;
  }

  body.kb-woo-single .kb-shortcode-single-product__gallery .woocommerce-product-gallery__image img {
    max-height: 430px !important;
  }

  body.kb-woo-single .kb-shortcode-single-product__after {
    margin-top: 38px;
  }
}


/* Mejor legibilidad en tablet y celular. */
@media screen and (max-width: 767px) {
  body.kb-woo-single .woocommerce-product-details__short-description,
  body.kb-woo-single .elementor-widget-woocommerce-product-short-description,
  body.kb-woo-single .woocommerce-Tabs-panel,
  body.kb-woo-single .woocommerce-Tabs-panel p,
  body.kb-woo-single .woocommerce-Tabs-panel li,
  body.kb-woo-single .woocommerce-Tabs-panel td,
  body.kb-woo-single .woocommerce-Tabs-panel th {
    font-size: 14px !important;
    line-height: 1.78 !important;
  }

  body.kb-woo-single .woocommerce-tabs,
  body.kb-woo-single .elementor-widget-woocommerce-product-data-tabs {
    padding: 21px 18px !important;
  }
}
