/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

.site-header .custom-logo-link img {
	height: 76px !important;
}

@media (max-width: 992px) {
  .site-header .custom-logo-link img {
    width: auto;
	height: 56px !important;
  }
}

/* shoptimizer-child-theme/style.css */

/* ---- Botón header CTA WhatsApp ---- */
.menu-primary-menu-container > ul > li.urufer-header-cta > a {
	line-height: 32px;
}

.urufer-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-left: 2rem;
    padding: 0.55em 1.2em;
    border-radius: 4px;            /* sharp edges = lenguaje industrial */
    background: #25D366;            /* WhatsApp brand */
    color: #000;                    /* On-Surface (#000) = contraste 21:1 */
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}
.urufer-header-cta:hover {
    background: #1DA851;
    color: #000;
    transform: translateY(-1px);
}
.urufer-header-cta:focus-visible {
    outline: 2px solid #FFA239;     /* tu Primary naranja = focus ring accesible */
    outline-offset: 2px;
}

/* En header negro sobresale sin necesidad de borde */
@media (max-width: 768px) {
    .urufer-header-cta {
        padding: 0.5em 0.9em;
        font-size: 12px;
		margin: 0px;
    }
}

/* PRODUCT LIST ITEM */

/* Product card — border + hover accent */
ul.products li.product {
    position: relative;
    /*border: 1px solid #e5e5e5;*/
    border-radius: 4px;
    background: #fff;
    padding: 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}


ul.products li.product:hover,
ul.products li.product:focus-within {
    border: 0; 
    /* box-shadow: 0 4px 12px rgba(255, 162, 57, 0.15); */
}

/* Cancel the parent's ::before shadow so we don't double up */
ul.products li.product::before {
    /*display: none !important;*/
	border: 1px solid #FFA239;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(255, 162, 57, 0.15) !important;
	
}

ul.products li.product .woocommerce-loop-product__title {
    
    /* Truncate to 2 lines for grid rhythm */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5em; /* reserve 2 lines so all cards align */
}
