/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Tema hijo de GeneratePress
 Author:       Tu Nombre
 Author URI:   https://qrooms.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  generatepress-child
*/

/* Agrega aquí tus estilos personalizados */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled {
	background-color: #6c71b4;
}

.woocommerce-Price-amount {
	color: #999999;
}

.entry-content .sku_wrapper,
.entry-content .posted_in {
	display: none;
}

.cart_item img {
	max-height: 150px;
	width: auto;
}

#contactos a {
	text-decoration: none;
}

.footer-widget-4 {
	max-width: 10%;
}

.footer-widgets-container {
	border-top: 1px solid #CCCCCC;
}

.site-branding-container {
	display: block;
}
.site-branding {
	text-align:center;
	letter-spacing: 0.18em;
}
.site-branding p {
	text-transform: uppercase;
	font-weight: 300;
}
textarea, input, select { 
	border-color:#666 !important;
	margin-left:10px;
	width: 100%;
}
label {
	text-align:right;
	float:right;
	clear:both;
	margin-bottom:5px;
	width: 100%;
}
input, select {
	float:right;
	clear:both;
	margin-bottom:5px;
}
.espacio-form {
    height: 30px; /* Ajusta la altura del espacio */
	border-top: solid 1px #666;
    clear: both;
}
mark {
    background-color: rgba(108, 113, 180, 0.12);
    color: rgba(108, 113, 180, 1);
	padding: 1px 3px;
}
.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img, 
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper .zoomImg:hover {
    border: 1px solid #ccc;
}
.yith-wcbm-badge.yith-wcbm-badge-text.yith-wcbm-badge-1547 {
    width: 100% !important;
	background-color: rgba(151, 21, 21, 0.5) !important;
}
.product-search-menu {
    padding-left: 10px;
	float: right;
}

.product-search-menu form {
    display: flex;
    align-items: center;
	float: right;
}

.product-search-menu input[type="search"] {
    height: 28px;
    padding: 4px 4px;
}
#menu-main > li.menu-item.product-search-menu > form > button {
    height: 32px;
    padding: 4px 10px;
	background-color:rgba(108, 113, 180, 1) ;
}



/* === Serenarte Product Grid === */
.serenarte-grid {
    display: grid;
    gap: 10px;
    margin: 10px 0;
}

.serenarte-grid[data-per-row="2"] { grid-template-columns: repeat(2, 1fr); }
.serenarte-grid[data-per-row="3"] { grid-template-columns: repeat(3, 1fr); }
.serenarte-grid[data-per-row="4"] { grid-template-columns: repeat(4, 1fr); }
.serenarte-grid[data-per-row="5"] { grid-template-columns: repeat(5, 1fr); }

.sg-item {
    background: #fff;
    border-radius: 0px;
    padding: 0px;
    text-align: center;
    transition: .2s ease;
    border:1px solid #ccc;
}
.sg-item img {
    width: 100%;
    height: 320px;          /* Alto fijo */
    object-fit: cover;      /* Recorta sin deformar */
    object-position: center;/* Centra el recorte */
    display: block;         /* Evita espacios fantasmas */
}
.sg-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.sg-title {
    font-size: 1rem;
    margin: 10px 0 5px;
}


.sg-item a {
    font-size: 1rem;
    text-decoration: none;
}
.sg-item .product_type_variable {
    display: none;
}
.sg-item h3 {
    font-weight: 600;
    text-decoration: none;
}

.sg-price {
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
}

.sg-pagination {
    text-align: center;
    margin-top: 20px;
}

.sg-loadmore {
    display: block;
    margin: 25px auto;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 0px;
    cursor: pointer;
}
.sg-loadmore:hover {
    background: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .serenarte-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .serenarte-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
.woocommerce-Tabs-panel--description h2 {
    display: none;
}
/*VACACIONES ESCONDE BOTON AGREGAR AL PEDIDO*/
/*.yith-ywraq-add-to-quote,
.add-to-quote,
.ywraq-add-button,
.yith-ywraq-add-button,
.single_add_to_quote_button,
.ywraq_add_to_quote {
    display: none !important;
}*/
/*END VACACIONES*/
