/*
Theme Name: Emall Child
Theme URI: https://demo.theme-sky.com/emall/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: A Premium and Responsive WordPress theme, designed for E-Commerce websites
Template: emall
Version: 1.0.0
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: emall-child
*/




div.product .summary .meta-content > .ts-social-sharing
Specificity: (0,4,1)
 {
    display: none !important;
	 }


.woocommerce-Price-amount.amount {
    color: #26528f;
    font-size: 20px;
}


.product-wrapper {
    position: relative !important;
    border: 1px solid #bcbcbc !important;
    padding: 5% !important;
    border-radius: 10px !important;

    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-wrapper h3.heading-title.product-name{
	font-weight: 500;
}




/* =======================================================
   ESTRUCTURA GENERAL Y ESCRITORIO (Alturas simétricas exactas)
   ======================================================= */

/* Contenedor interno de la tarjeta */
section.product.type-product .product-wrapper {
    border: 1px solid #c5d3e0;
    border-radius: 8px;
    padding: 12px 10px;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* 1. Área de imagen (170px fija) */
section.product.type-product .thumbnail-wrapper {
    height: 170px !important; 
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    width: 100% !important;
}

.woocommerce .product figure img:first-child,
section.product.type-product .thumbnail-wrapper img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* 2. Título (75px fijosa para alinear todos los nombres largos) */
section.product.type-product .product-name {
    height: 75px !important;
    min-height: 75px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.88em !important;
    line-height: 1.25 !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
    word-break: break-word;
}

/* 3. Categorías (52px fijos: da espacio para 4 líneas sin desalinear la tarjeta) */
section.product.type-product .product-categories {
    height: 52px !important;
    min-height: 52px !important;
    font-size: 0 !important; /* Oculta la palabra "Categories:" */
    line-height: 1.25 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
}

/* Ocultar etiquetas/spans de prefijo del tema */
section.product.type-product .product-categories > span,
section.product.type-product .product-categories label,
section.product.type-product .product-categories .cat-title,
section.product.type-product .product-categories::before,
section.product.type-product .product-categories *::before {
    display: none !important;
    font-size: 0 !important;
    content: "" !important;
}

/* Tamaño de letra exclusivo para los enlaces de categorías */
section.product.type-product .product-categories a {
    font-size: 11px !important;
    display: inline !important;
    line-height: 1.25 !important;
}

/* 4. Precio (36px fijosa) */
section.product.type-product .price {
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 1em !important;
    margin-top: auto !important;
}


/* =======================================================
   MÓVIL (<= 767px): SIN CAMBIOS (Se mantiene tu configuración)
   ======================================================= */
@media (max-width: 767px) {

    /* 1. Imagen */
    section.product.type-product .thumbnail-wrapper {
        height: 95px !important;
        margin-bottom: 6px !important;
    }

    /* 2. Título (56px) */
    section.product.type-product .product-name {
        height: 56px !important;
        min-height: 56px !important;
        font-size: 0.76em !important;
        line-height: 1.18 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        overflow: hidden !important;
        white-space: normal !important;
        word-break: break-word;
    }

    /* 3. Categorías (48px de espacio en bloque) */
    section.product.type-product .product-categories {
        height: 48px !important;
        min-height: 48px !important;
        font-size: 0 !important;
        line-height: 1.2 !important;
        display: block !important;
        text-align: center !important;
        overflow: hidden !important;
        margin-bottom: 4px !important;
    }

    /* Ocultar spans de etiquetas en móvil */
    section.product.type-product .product-categories > span,
    section.product.type-product .product-categories label {
        display: none !important;
        font-size: 0 !important;
    }

    /* Visibilidad exclusiva para las palabras clave de la categoría */
    section.product.type-product .product-categories a {
        display: inline !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
    }

    /* 4. Precio */
    section.product.type-product .price {
        height: 30px !important;
        font-size: 0.82em !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
    }
}





div.product .summary .meta-content > .ts-social-sharing{

    display: none;
}

.availability-bar {
    display: none;
}


/*Página de producto*/
	/*Nº referencia*/

.referencia-producto-personalizada {
    display: block !important;    
    width: max-content !important;   
    background-color: #e9ecef;      
    padding: 6px 12px;               
    border-radius: 4px;              
    margin-top: 10px;                
    margin-bottom: 10px;             
}

span.referencia-etiqueta{
	font-weight: 600;
}
