/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/

/* Child theme CSS
--------------------------------------------------------------- */

.term-description {
  clear: both;
}

b, strong{ font-weight: bold; }

/* Header */

#nm-header{ padding-top: 0px; padding-bottom: 5px; }
#nm-header .nm-header-row.nm-row{ max-width: 100%; padding: 0px; }
#nm-header .nm-header-row.nm-row .nm-header-col{ padding: 0px; }
#nm-header .nm-header-row.nm-row .nm-header-logo{ background-color: #30271E; padding: 15px 0; margin-bottom: 5px;  }

.nm-menu-icon span{ background: #FFFFFF; }

.ppcp-messages{ margin-top: 15px; }

/* Footer */

footer .nm-footer-widgets{ padding-top: 70px; }

footer .nm-footer-widgets,
footer .nm-footer-bar-inner{ background-color: #282828; color: #FFF; }
footer .large-block-grid-4 > li:nth-of-type(5){ width: 100%; text-align: center; }

footer .nm-footer-bar-inner{ padding-top: 0px; }

footer .nm-footer-widgets .widget ul li a{
	color: #FFF;
	font-size: 1.2rem;
}
footer .info_text{
	color: #FEC100;
	font-size: 1.2rem;
	display: block;
	line-height: 160%;
}

footer .info_text small{
	font-size: 60%;
    line-height: 150%;
    display: block;
    opacity: 0.8;
	color: #AAA; 
	margin-top: 10px;
}

footer .credits_text{ 
	font-size: 0.8rem; 
	color: #AAA; 
	opacity: 0.5; 
	line-height: 130%; 
	display: inline-block;  
	margin-top: 20px;
	padding-top:45px;  
	border-top:1px solid rgba(255,255,255,0.1);
	padding-bottom: 45px;
	border-bottom:1px solid rgba(255,255,255,0.1);
}

/* Home banner */

.homebanner .nm-banner.text-color-light .nm-banner-title{ color: #FEC100; font-size: 3rem; text-transform: uppercase; font-weight: bold;  }
.homebanner .subtitle-below .nm-banner-subtitle{ font-size: 1.333rem; }

.homebanner .nm-banner-text{ width: 640px; max-width: 80%; }

.homebanner .nm-banner.text-color-light .nm-banner-link.type-txt{ color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.8); }
.homebanner .nm-banner.text-color-light .nm-banner-link.type-txt:hover{ color: rgba(255,255,255,1); border-color: rgba(255,255,255,1); }
.homebanner .nm-banner.text-color-light .nm-banner-link.type-btn{ 
	background-color: #1F1D1B;
	color: #FFF;
    padding: 12px 30px;
    border-radius: 50px;
    min-width: 180px;
    text-align: center;
}

.homebanner .nm-banner.text-color-light .nm-banner-link.type-btn:hover{
	background-color: #FEC100;
	color: #282828;
} 

/* Home banners */

.homebanners{}
.homebanners .has_opacity .nm-banner-image{ position: relative; }
.homebanners .has_opacity .nm-banner-image:before{ 
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	left:0;
	top:0;
}
.homebanners .has_opacity .nm-banner-image .nm-banner-content{ 
	z-index: 2;
}

.homebanners .nm-banner.text-color-light .nm-banner-link.type-txt,
.homebanners .nm-banner.text-color-light .nm-banner-subtitle{ position: absolute; bottom: 30px; }
.homebanners .nm-banner.text-color-light .nm-banner-subtitle{ border-bottom: 1px solid #AAA; font-size: 1.333rem; opacity: 0.7; }


.homebanners .nm-banner.text-color-light:hover .nm-banner-title{ color: #FEC100; }
.homebanners .nm-banner.text-color-light:hover .nm-banner-subtitle{ opacity: 1; }
 

.promoimage_big .nm-banner-link.type-txt{ color: #282828; border-color: #282828; position: absolute; bottom: 20px; font-size: 1rem; }

.promobanners .nm-banner-subtitle{ color: #666; }


/* Features */

.features_boxes .nm-feature h2{ color: #FFF; }
.features_boxes .nm-feature h3{ color: #FFF; opacity: 0.8; }

/* Listado productos */

.nm-products .product{ margin-bottom: 40px; text-align: center; } 
.nm-products .woocommerce-loop-product__title{ color: #777777; margin-top: 24px; min-height: 70px; padding-right: 0px; font-size: 18px; }
.nm-products .product .price ins,
.nm-products .product .price del,
.nm-products .product .price bdi{ font-size: 1.2rem; }
.nm-products .product .price ins .amount{ color: #282828!important; font-weight: 700; }
.nm-products .product .price del,
.nm-products .product .price del bdi{ color: #777777!important; font-weight: 400; font-size: 0.85rem!important; }
.nm-products .product .woocommerce-loop-product__link img{ margin: 0 auto; display: block; max-height: 250px; width: auto; } 
.nm-products .product .add_to_cart_button,
.nm-products .product .button.product_type_simple{
	margin-top: 15px;
	font-size: 1rem;
	border-radius: 30px;
	background: #FEC100;
	color: #282828;
	min-width: 140px;
	font-weight: 500;
	
}
.nm-products .product .add_to_cart_button:hover{
	background:#30271E;
	color: #FEC100;
	opacity: 1;
}

.product .onsale{
	background:#30271E;
	color: #FEC100;
    padding: 7px 10px;
    font-weight: bold!important;
}

.touch.has-hover .products.has-action-links:not(.attributes-position-details) li:hover .price, .no-touch .products.has-action-links li:hover .price{ opacity: 1; }


.nm-products .added_to_cart{ display:none!important; }

.cafetera_box{ height: 100%; min-height: 440px; }

/* Category */

.nm-shop-taxonomy-heading h1{ font-size: 2rem; font-weight: 600; }
#nm-shop-browse-wrap .term-description{ margin-top: 40px; }
.nm-shop-description-clean .term-description{ color: #282828; margin-top: 60px;  }
.nm-shop-description-clean .term-description h2{ font-size: 1.6667rem; }
.nm-shop-description-clean .term-description h2 span{ font-size: inherit!important; }
.nm-shop-description-clean .term-description :is(h1, h2, h3, h4, h5, h6, strong, b) {
	font-weight: 600;
}

.tax-product_cat .ppcp-messages{ display: none!important; }

/* Checkout button */

#nm-widget-panel .buttons .button.checkout,
body.theme-savoy .wc-block-components-button:not(.is-link).contained{ background: #FEC100; color: #282828; }

/* Product page */

.product .summary .stock.in-stock{ display: none; }
.product .summary .button.single_add_to_cart_button{ background: #FEC100; color: #282828; }
.product .summary .button.single_add_to_cart_button:hover{  background: #282828; color: #FEC100; opacity: 1; }

.product .summary .price .amount{ color: #282828!important; font-weight: 700; font-size: 1.1rem; }
.product .summary .price del .amount{ opacity: 0.65; font-weight: 400; font-size: 1.1rem!important; }


.single-product .nm-wishlist-button{ display: none!important }

/* Filtros */

.nm-shop-sidebar-header #nm-shop-sidebar .widget.nm_widget_price_filter,
.nm-shop-sidebar-header #nm-shop-sidebar .widget.widget_product_tag_cloud{ display: none; }

@media screen and (max-width: 991px) {
	
	.mobile-menu-open .nm-header,
	#nm-header{ background-color: #282828!important; padding: 15px; }
	
	#nm-header .nm-menu-cart-icon{ color: #FFF; }

}

@media screen and (max-width: 768px) {
 
 	.mobile-menu-open .nm-header, #nm-header{ background-color: #30271E!important;}
	#nm-header .nm-menu-icon span{ background: #FFF; }
	.mobile-menu-open .nm-menu-icon span.line-2{ background: none!important; }
	
	.homebanner .nm-banner.text-color-light .nm-banner-title{ font-size: 2.1rem; }
	.homebanner .subtitle-below .nm-banner-subtitle{ font-size: 1.15rem; }
	.homebanner .nm-banner-content{ background-color: rgba(0,0,0,0.4); }
	
	.nm-products .woocommerce-loop-product__title{ min-height: 90px; }
	
}


@media screen and (min-width: 768px) {
	
	.nm-main-menu ul.nm-sub-menu-ul{ width: 275px; max-width: 100%; }


}

.is-large.wc-block-cart .wc-block-components-sidebar .wp-block-image a,
.is-large.wc-block-components-sidebar-layout .wc-block-components-main .wp-block-image a,
.is-large .wc-block-checkout__sidebar .wp-block-image a{ width: 100%; }
.is-large.wc-block-components-sidebar-layout .wc-block-components-main .wp-block-image a{ display: none; }

.is-large.wc-block-cart .wc-block-components-sidebar .wp-block-image img,
.is-large.wc-block-components-sidebar-layout .wc-block-components-main .wp-block-image img,
.is-mobile.wc-block-components-sidebar-layout .wc-block-components-main .wp-block-image img,
.is-large .wc-block-checkout__sidebar .wp-block-image img{ margin-top: 24px; width: 240px; max-width: 100%; }

 

.is-mobile .wc-block-checkout__sidebar .wp-block-image a{ display: none; }
.is-mobile.wc-block-components-sidebar-layout .wc-block-components-main .wp-block-image a{ display: block; }


.product .summary .stock.out-of-stock{ background-color: #FEC100; color: #282828; }

.custom-product-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 8px 0;
    justify-content: center; /* Centra las etiquetas horizontalmente */
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
    text-align: center; /* Centra el texto cuando hay una sola etiqueta */
}

.custom-label {
    display: inline-block;
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 20px;
    background-color: #30271E;
    color: #FEC100;
    border:1px solid #30271E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-label.out-of-stock {
}

/* Estilos específicos para ajustarse al tema Savoy */
.products .product .nm-shop-loop-thumbnail {
    margin-bottom: 0 !important; /* Asegurar que no haya margen grande entre imagen y etiquetas */
}

/* Asegurar que las etiquetas estén sobre el título */
.products .product .custom-product-labels + .nm-shop-loop-details {
    margin-top: 5px;
}
 