/* custom.css */
body#checkout .custom-checkbox span {
    float: none;
}
body#checkout section.checkout-step #login-form .form-control-label {
    text-align: left;
}
.product-variants > .product-variants-item ul li .radio-label {
    font-size: 14px;
    padding: 3px 10px;
    font-weight: 400;
}
.product-variants > .product-variants-item .color {
    width: 35px;
    height: 35px;
}
/* paypal */
.paypal-product-banner {
  width: 100%;
}

/* colores */
/* Contenedor base */
.product-variants .input-container {
  position: relative;
}

/* Imagen grande */
.product-variants .color::before {
  content: "";
  position: absolute;
  bottom: 0; /* la base del tooltip */
  left: 50%;
  transform: translateX(-50%) translateY(-30px); /* mueve toda la imagen hacia arriba */
  
  width: 90px;
  height: 90px;
  background: inherit;
  background-size: cover;
  background-position: center;
  
  /* Bordes superiores redondeados */
  border-radius: 10px;
  
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 100;
}

/* Recuadro con el nombre */
.product-variants .color::after {
  content: attr(data-name);
  position: absolute;
  bottom: 0; /* pegado a la imagen, no toca la imagen más */
  left: 50%;
  transform: translateX(-50%) translateY(-30px); /* mismo movimiento que la imagen */
  
  width: 90px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 4px 0;
  
  /* Bordes inferiores redondeados y superiores sin redondear */
  border-radius: 0 0 10px 10px;
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 101;
}

/* Mostrar ambos al hover */
.product-variants .input-container:hover .color::before,
.product-variants .input-container:hover .color::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-40px); /* sube un poco más al mostrar */
}

/* popup info medidas */
.product-quantity .w-full > div {
    line-height: 24px;
}
.product-quantity .w-full > div ul {
    list-style: disc;
    padding-left: 40px;
}
/* header login */
.userinfo-selector .user-info {
    flex-flow: column;
    align-items: start;
display:none;
}
.userinfo-selector .user-info > li:not(:first-child)::before {
    display:none;
}
.userinfo-selector.popup-over .popup-content {
    min-width: max-content;
}

/* attachments */
.product-attachments .attachments-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.product-attachments .attachment {
  border: 1px solid #cccccc;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
}
.product-attachments .attachment i.fa-file-pdf {
  font-size: 28px;
}
.product-attachments .attachment i.fa-download {
  margin-left: 8px;
}
.product-attachments .attachment h4 {
  margin-bottom: 0;
}
.product-attachments .attachment-inner {
  padding-left: 15px;
}

/* product discount */
.product-prices .has-discount .discount-percentage {
    display: inline-block;
}

/* select ordenar en movil */
@media (max-width: 767px ) {
.products-sort-order {
    padding: 0 !important;
}
}
#product .current-price span,
.discount-percentage {
color: #000000 !important;
}
.block-promo .cart-summary-line .label,
.block-promo .promo-name {
    color: #7A1F2B;
}
/* header responsive */
@media (min-width: 768px) {
    .elementor-61 .col__logo {
        width: 180px;
        min-width: 180px;
    }
  .elementor-61 .col__info {
        width: 210px;
        min-width: 210px;
    }
}
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.open > .btn-primary.dropdown-toggle
 {
    background-color: #7A1F2B;
}
.btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus, .open > .btn-primary.dropdown-toggle:hover, .open > .btn-primary.dropdown-toggle:focus, .open > .btn-primary.dropdown-toggle.focus
 {
    background-color: #7A1F2B;
}
.off-canvas-active .navbar-header .navbar-toggler {
    border-color: #ffffff;
    background: #ffffff;
    color: #a1a1a1;
}

/* checkout */
body#checkout a:hover {
    color: #7A1F2B;
}
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.open > .btn-primary.dropdown-toggle,
body#checkout .btn-primary:active,
body#checkout .btn-primary.active,
body#checkout .btn-primary.disabled,
body#checkout .open > .btn-primary.dropdown-toggle
 {
    background-color: #7A1F2B;
}
/* menu en otra linea */
.leo-megamenu .navbar-nav > li > a {
    padding: 0;
}
/* entrega estimada en producto */
.product-additional-info .eddp-widget-eta {
margin-bottom: 20px;
}
#back-top {
    bottom: 80px;
    right: 25px;
}
@media (max-width: 767px ) {
.menu-hidden {
display: none;
}
}
/* tabla order confirmation */
.order-confirmation-table .col-sm-4 {
width: 33.3333% !important;
}


/* blog */
#blog-category h1 {
margin-bottom: 30px;
}