/* Acceso y tarjetas de repuestos en la ficha de producto. */
#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut {
  margin-top: 12px;
  margin-bottom: 16px;
}

#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut a {
  display: flex;
  float: none;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid #b7ddef;
  border-left: 4px solid #0089d0;
  border-radius: 5px;
  background: #e5f3fb;
  color: #006a9c;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  text-transform: none;
}

#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut a span {
  flex: 0 0 auto;
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut a .product-parts-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut a .product-parts-count {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 12px;
  background: #fff;
  color: #0076ad;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut a .product-parts-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut a svg {
  flex: 0 0 auto;
}

#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut a:hover,
#container_bg #main .central .content .ficha_producto .detalles .product-parts-shortcut a:focus {
  border-color: #0089d0;
  background: #d7edfa;
  color: #006ca4;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  padding: 16px;
  background: #f8f8f8;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 160px minmax(63px, auto) 32px auto auto;
  gap: 12px;
  align-content: start;
  align-items: center;
  box-sizing: border-box;
  float: none;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 1px solid #e0e5e8;
  border-radius: 6px;
  background: #fff;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li {
  box-sizing: border-box;
  float: none;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.imagen {
  grid-column: 1 / -1;
  grid-row: 1;
  max-width: none;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.imagen a {
  display: block;
  float: none;
  width: 100%;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.imagen img {
  display: block;
  float: none;
  width: 160px;
  height: 160px;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.texto {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 0;
  align-self: start;
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  text-align: left;
  text-transform: none;
  overflow-wrap: break-word;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.texto a {
  display: block;
  flex: 1;
  color: #222;
  text-decoration: none;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.texto span.referencia {
  float: none;
  flex: 0 0 auto;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.texto a:hover,
#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.texto a:focus {
  color: #0089d0;
  text-decoration: underline;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.precio {
  grid-column: 1;
  grid-row: 3;
  font-size: 20px;
  text-align: left;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.custom-counter {
  grid-column: 2;
  grid-row: 3;
  text-align: right;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.custom-counter label.quantity {
  display: none;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.cesta {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  grid-column: 1 / -1;
  grid-row: 4;
  border-radius: 4px;
  text-align: center;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.cesta a,
#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.cesta button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  box-sizing: border-box;
  float: none;
  min-height: 40px;
  padding: 10px 12px;
  line-height: 20px;
  overflow-wrap: break-word;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.cesta button:disabled {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #e5e7e9;
  color: #555;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.stock,
#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.sold-out,
#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.info-warning {
  grid-column: 1 / -1;
  grid-row: 5;
  align-self: start;
  padding-left: 16px;
  text-align: left;
  line-height: 18px;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.stock:before,
#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.sold-out:before,
#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.info-warning:before {
  left: 0;
  right: auto;
  top: 4px;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.stock:before {
  background-color: #2f9e6a;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.sold-out:before {
  background-color: #ff0000;
}

#container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.info-warning:before {
  background-color: #ffc700;
}

@media only screen and (min-width: 769px) and (max-width: 1023px) {
  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 768px) {
  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
    gap: 12px;
  }

  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: minmax(96px, auto) 32px auto auto;
    padding: 12px;
  }

  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.imagen img {
    width: 96px;
    height: 96px;
  }

  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.imagen {
    grid-column: 1;
  }

  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.texto {
    grid-column: 2;
    grid-row: 1;
  }

  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.precio,
  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.custom-counter {
    grid-row: 2;
  }

  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.cesta {
    grid-row: 3;
  }

  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.stock,
  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.sold-out,
  #container_bg #main .central .content .ficha_producto #content-product #repuestos.repuestos > ul.opcion > li.info-warning {
    grid-row: 4;
  }
}
