/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Feb 07 2026 | 05:20:51 */
/* 1. Todas las cards misma altura + layout limpio */
.wc-block-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #ffcc00; /* borde amarillo */
    border-radius: 10px;
    padding: 12px;
    box-sizing: border-box;
	background: #000;
}

/* Bordes redondeados correctos en imagen de producto Woo Blocks */
/* WooCommerce Blocks reinyecta estilos por JS */
.wc-block-product .wc-block-components-product-image {
    border-radius: 5px !important;
    overflow: hidden !important;
}

/* Asegura que la imagen no escape */
.wc-block-product .wc-block-components-product-image img {
    border-radius: 5px !important;
}

/* Neutraliza el inner absolute que rompe el clip */
.wc-block-product .wc-block-components-product-image__inner-container {
    overflow: hidden !important;
}



/* 2. Título con altura controlada (2 líneas reales) */
.wc-block-product h2.wp-block-post-title {
    min-height: 3.6em; /* ~2 líneas con line-height 1.4 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 3. Evita que el precio empuje el layout */
.wc-block-components-product-price {
    margin-bottom: 12px;
}

/* 4. Botón siempre alineado abajo */
.wc-block-components-product-button {
    margin-top: auto;
}

/* 5. Ajuste fino móvil */
@media (max-width: 768px) {
    .wc-block-product h2.wp-block-post-title {
        min-height: auto;
    }
}

/* CENTRAR productos cuando no se llena la fila */
.wc-block-grid__products {
    justify-content: center;
}

/* Transición base */
.wc-block-product {
    transition: 
        box-shadow 0.35s ease,
        transform 0.25s ease,
        border-color 0.35s ease;
}

/* Hover glow amarillo */
.wc-block-product:hover {
    border-color: #ffeb3b;
    box-shadow:
        0 0 12px rgba(255, 235, 59, 0.45),
        0 0 24px rgba(255, 235, 59, 0.25);
    transform: translateY(-4px);
}


/* Centrar */
.wc-block-product-template {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 220px)) !important;
    justify-content: center !important;
    gap: 20px;
}


/* ===============================
   CARRO: imágenes con borde redondeado
   =============================== */

.single-product .ct-media-container {
    position: relative;
}

/* Marco falso con border-radius */
.single-product .ct-media-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 5px;
    pointer-events: none;
    box-shadow: 0 0 0 2px transparent;
    z-index: 5;
}

/* Recorte visual real */
.single-product .ct-media-container {
    clip-path: inset(0 round 5px);
}


@media (max-width: 768px) {
    .wc-block-product .wp-block-post-title,
    .wc-block-product .wp-block-post-title a {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }
}


@media (max-width: 768px) {
    .wc-block-product-template {
        grid-template-columns: repeat(auto-fit, minmax(160px, 160px)) !important;
    }
}


