html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
@media only screen and (max-width: 767px) {
  .cuota-precio {
    font-size: 7px !important;
  }
}
.leyenda-archivo-productos {
    font-size: 12px;
    color: black;
    font-weight: bold;
    margin-top: 10px;
}
.woocommerce ul.products li.product a img {
    margin-bottom: 15px; /* Ajusta este valor según sea necesario */
}

.ct-order-review {
    border-radius: 10px; /* Ajusta el radio de los bordes según sea necesario */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Añade una sombra para un aspecto tridimensional */
}

.cart_totals {
	 border-radius: 10px; /* Ajusta el radio de los bordes según sea necesario */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Añade una sombra para un aspecto tridimensional */
}


.custom-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #56111a;
    color: white;
    padding: 4px 7px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 99;
}

.shipping-badge svg {
    width: 19px;
    height: 16px;
    stroke: white;
}

/* Media Query for mobile */
@media (max-width: 768px) {
    .custom-badge {
        font-size: 9px;
        padding: 4px 7px;
    }

    .shipping-badge svg {
        width: 15px;
        height: 12px;
    }
}

/* Badge de PREVENTA */
.custom-badge-preventa {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    background-color: white !important;
    color: black !important;
    z-index: 99;
    white-space: nowrap;
}

/* Badge de IN STOCK */
.custom-badge-instock {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    background-color: white !important;
    color: black !important;
    z-index: 99;
    white-space: nowrap;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .custom-badge-preventa,
    .custom-badge-instock {
        font-size: 9px;
        padding: 4px 7px;
    }
}

.variation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.variation-btn {
  padding: 10px 14px;
  font-size: 14px;
  border: 2px solid #ccc;
  border-radius: 6px;
  background: #f5f5f5;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-width: 40px;
}

.variation-btn:hover:not(.disabled) {
  border-color: #888;
  background: #eaeaea;
}

.variation-btn.selected {
  background-color: #222;
  color: #fff;
  border-color: #000;
}

.variation-btn.disabled {
  background: #eee;
  color: #aaa;
  border-color: #ccc;
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}

/* Dibuja la ✖ como dos líneas finas */
.variation-btn.disabled::before,
.variation-btn.disabled::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 2px;
  background-color: rgba(120, 120, 120, 0.30);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}

.variation-btn.disabled::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* En mobile: ✖ más delgada y más suave */
@media (max-width: 600px) {
  .variation-btn.disabled::before,
  .variation-btn.disabled::after {
    height: 2px;
    background-color: rgba(120, 120, 120, 0.50);
  }
}


/* Precio tachado más chico y alineado más arriba en listados */
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .woocommerce-Price-amount {
  font-size: 0.7em;         /* más chico */
  position: relative;
  top: -0.5px;                /* sube un poco (ajustá según necesites) */
}

.woocommerce ul.products li.product .price {
  margin-top: 4px !important;     /* refuerzo por si el título no toma margen */
  display: inline-block;            /* evita colapsar el margen */
}


/* Badge junto al título */
.woocommerce ul.products li.product .coco-title-badge {
  display: inline-block;
  margin-left: 2px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #000;
  border-radius: 9999px;
  white-space: nowrap;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .woocommerce ul.products li.product .coco-title-badge {
    font-size: 9px;
    padding: 3px 5px;
  }
}

/* Single product: poner el H1 y el badge en la misma línea */
.single-product .product_title.entry-title {
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
}

.single-product .coco-title-badge--single {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #000;
  border-radius: 9999px;
  white-space: nowrap;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .single-product .coco-title-badge--single {
    font-size: 14px;
    padding: 3px 8px;
  }
}


/* Botón "Añadir al carrito" y "Finalizar compra" en negro con esquinas redondeadas */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit {
    background-color: #000000; /* negro */
    color: #ffffff; /* texto blanco */
    border: none;
		border-radius: 5px !important; /* redondeado */
}

/* ======== Estilos de precios en PRODUCTO ======== */
.single-product .cuota-precio span,
.single-product .go-cuotas-precio span,
.single-product .precio-efectivo span {
    font-size: 14px !important;
    line-height: 1.4;
}

/* Para IDs especiales */
.coco-title-badge.rojo {
    background: #000000 !important; /* Bordo oscuro */
    color: #fff !important;
}


/* ==========================================================
   BARRA DE AVISO — ABAJO DEL MENÚ — SOLO MOBILE/TABLET
   Bordó oscuro elegante, Poppins, blanco en negrita
   ========================================================== */

/* MOBILE / TABLET */
@media (max-width: 1024px) {

    .coco-announcement-bar {
        width: 100%;
        background: #4b0d16 !important;     /* Bordó oscuro navideño */
        color: #ffffff !important;
        font-family: "Poppins", sans-serif !important;
        font-weight: 600;                   /* negrita elegante */

        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 12px;

        padding: 3px 14px;
        font-size: 10px;
        letter-spacing: 0.03em;

        /* Clave: YA NO ES FIXED, VA EN EL FLUJO */
        position: fixed;
        top: auto;
        z-index: 1;

        /* Empujamos la barra hacia abajo para que quede
           visualmente debajo del menú sticky */
        margin-top: 50px; /* 🔧 AJUSTÁ este valor según la altura del menú mobile *  }

    /* Ya no hace falta empujar el body */
    body:not(.elementor-editor-active) {
        padding-top: 0 !important;
    }
}

/* Ocultar barra en desktop */
@media (min-width: 1025px) {
    .coco-announcement-bar {
        display: none !important;
    }
}

/* ================================
   ANIMACIÓN SLIDER (SE MANTIENE)
   ================================ */

.coco-announcement-track {
    position: relative;
    overflow: hidden;
    min-height: 20px;
    flex: 1;
    text-align: center;
}

.coco-announcement-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s ease, transform .4s ease;

    padding: 0 8px;
    white-space: nowrap;
}

.coco-announcement-slide.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* Sin flechas */
.coco-announcement-arrow {
    display: none !important;
}
