/*
	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
*/

:root {
	--firm-red: #dd1500;
	--firm-blue: #4671b0;
	--firm-yellow: #ffcb00;
}

body {
	font-family: 'Raleway', sans-serif;
}

.nm-header-col {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

#nm-main-menu-ul {
	display: flex;
  flex-direction: row;
  column-gap: 20px;
  align-items: center;
  justify-content: flex-end;
}

.donate-btn {
	background-color: #dd1500;
	border-radius: 4px;
	padding: 0 20px;
	text-align: center;
	line-height: 50px;
	white-space: nowrap;
	transition: all .3s ease-out;
}

.donate-btn:hover {
	background-color: #4671b0;
}

.donate-btn>a {
	color: #FFF !important;
	font-weight: 700;
	font-size: .875rem;
	transition: all .3s;
}

#nm-widget-panel,
.widget-panel-dark .nm-widget-panel-header-inner,
.widget-panel-dark .nm-cart-panel-summary-inner {
	background: #FFF !important;
	color: #000 !important;
	border: none;
}

#nm-widget-panel li a,
.nm-widget-panel-close-title,
.widget-panel-dark #nm-widget-panel .nm-cart-panel-item-price .amount,
.widget-panel-dark #nm-widget-panel .buttons a:first-child {
	color: #000 !important; 
}

footer#footer {
  background-color: #4671b0;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
	padding: 72px 0 100px;
}

footer .footer-context img {
  max-width: 250px;
}

footer .socials {
	display: flex;
	flex-direction: row;
	column-gap: 15px;
	align-items: center;
	margin-top: 1rem;
}

footer .socials a {
	width: 36px;
	height: 36px;
}

footer .footer-menu ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

footer .footer-menu li a {
	font-family: 'Raleway', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	color: #FFF;
	transition: all .3s ease-in-out;
}

footer .footer-menu li a:hover {
  color: #ffcb00;
}

footer .footer-bottom {
	background-color: #efefef;
}

footer .footer-bottom .inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	padding: 35px 0;
	max-width: 1240px;
	margin: 0 auto;
}

footer .footer-bottom .inner .legal-links {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

footer .footer-bottom .inner span,
footer .footer-bottom .inner p {
	color: #333;
	text-align: center;
}

footer .footer-bottom .inner a {
	color: #333;
	font-weight: 500;
	font-size: 1rem;
}

.nm-single-product-menu {
  display: none;
}

.social-bar {
  max-height: 68px;
	background-color: #638dc9;
}

.social-bar .inner {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	max-width: 1340px;
	margin: 0 auto;
	height: 68px;
}

.social-bar span {
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #FFF;
}

.social-bar .socials {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
	align-items: center;
}

.social-bar .socials a {
	width: 29px;
  height: 29px;
	display: flex;
}

.nm-header-inner {
  height: 165px;
}

.nm-header {
  padding: 0 !important;
}

.nm-header-inner .nm-header-row {
	padding: 40px 0;
	max-width: 1440px;
	margin: 0 auto;
}

.header-on-scroll .nm-header:not(.static-on-scroll) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.has-bg-color .nm-single-product-bg {
  background: #FFF !important;
}

.nm-products {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: auto;
	gap: 40px;
	margin-top: 5px;
}

.nm-products>li.product {
	width: 100%;
	border-radius: 10px;
	background-color: #FFF;
}

[class*="block-grid-"]:before, 
[class*="block-grid-"]:after {
  content: none;
}

.nm-shop-header,
#nm-shop-products {
  background-color: #FFF;
	max-width: 1280px;
  margin: 0 auto;
}

#nm-shop-products .nm-shop-loop-title-link {
	color: #000 !important;
	font-weight: 500;
	font-size: 16px;
}

#nm-shop-products .price {
	color: #000 !important;
	font-weight: 400;
	font-size: 16px;
}

.nm-wishlist-button, .nm-wishlist-button i {
  display: ruby-text;
	font-size: 22px;
  width: 26px;
  height: 26px;
	position: relative;
	top: 4px !important;
	right: 0px !important;
}

.product-template-default .social-bar {
	display: none;
}

.product-template-default .nm-header-inner {
  height: 165px;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
}

.nm-shop-loop-details {
  position: static;
}

#nm-right-menu-ul li:first-child a {
  padding-left: 0;
}

body.home #nm-shop.nm-shop {
	display:none;
}

.contactos-page-content {
	max-width: 1200px;
	margin: 80px auto;
}

.contactos-page-content h2 {
	font-size: 30px;
	color: #000;
	font-weight: 700;
	text-align: center;
	margin-bottom: 28px;
}

.contactos-page-content .contactos-list {
	display: flex;
	flex-direction: column;
	row-gap: 20px;
}

.contactos-page-content .contactos-list .contacto {
	display: grid;
	grid-template-columns: 250px 4fr 200px;
	grid-column-gap: 18px;
	align-items: center;
	-webkit-box-shadow: 4px 4px 22px 0 rgba(0, 0, 0, .15);
	box-shadow: 4px 4px 22px 0 rgba(0, 0, 0, 0.15);
	background-color: #FFF;
}

.contactos-page-content .contactos-list .contacto a {
	color: #4671b0;
}

.contactos-page-content .contactos-list .contacto .image-container {
	height: 100%;
}

.contactos-page-content .contactos-list .contacto .image-container img {
	object-fit: cover;
	height: 100%;
}

.contactos-page-content .contactos-list .contacto .content {
	padding: 36px 0;
}

.contactos-page-content .contactos-list .contacto .content h3 {
	font-size: 20px;
	font-weight: 700;
	color: #4671b0;
	line-height: 30px;
	margin-bottom: 20px;
}

.contactos-page-content .contactos-list .contacto .content p {
	font-size: 20px;
	font-weight: 400;
	color: #333;
}

.contactos-page-content .contactos-list .contacto .map-info {
	text-align: center;
}

.contactos-page-content .contactos-list .contacto .map-info a img {
	width: auto;
	height: 100%;
	object-fit: cover;
	max-width: 100%;
}

.contactos-page-content .contactos-list .contacto .map-info a span {
	text-align: center;
	color: #4671b0;
	font-weight: 700;
	font-size: 20px;
	line-height: 26px;
	margin-top: 5px;
	display: block;
}

.header-border-1 .nm-header {
  border-bottom: none;
}

.nm-header-inner .nm-menu .current_page_item a {
  text-decoration: underline;
	text-decoration-thickness: 4px;
	text-decoration-color: #4671b0;
	text-underline-offset: 5px;
	color: #4671b0;
}

#nm-shop-products-overlay, #nm-shop {
  background-color: #FFF !important;
}

#nm-shop-products .nm-row,
.nm-shop-header .nm-row {
	padding: 0;
}

.woocommerce-mini-cart__buttons .button.checkout.wc-forward {
	background-color: var(--firm-blue);
	border-radius: 5px;
	border: none!important;
	font-weight: 700;
}

.product .summary .button {
	background-color: var(--firm-yellow);
	font-weight: 700;
}

.woocommerce-mini-cart__buttons a:first-child {
  background-color: var(--firm-yellow) !important;
  border: none!important;
  border-radius: 5px;
  font-weight: 700;
}

.nm-product-category-text {
  top: 5px;
  left: 5px;
  background-color: var(--firm-blue);
  border-radius: 5px;
  padding: 5px 15px;
}

.nm-product-category-text .nm-product-category-heading {
  font-size: 18px;
  color: #FFF;
  font-weight: 600;
}


@media screen and (min-width: 768px) {
	#nm-right-menu-ul li a {
		font-size: 20px !important;
	}
}

/* MOBILE */
@media screen and (max-width: 767px) {
	.nm-header-logo svg, .nm-header-logo img {
		height: 54px !important;
	}

	ul#nm-right-menu-ul {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	#nm-right-menu-ul li a {
		font-size: 24px !important;
	}

	.nm-header-inner {
		height: 98px;
	}

	.nm-header-inner .nm-header-row {
		padding: 20px 0;
	}

	.social-bar .inner {
		padding: 0 24px;
	}

	.nm-products {
		grid-template-columns: 1fr 1fr;
		padding: 0 30px;
	}


	.footer-top {
		grid-template-columns: 1fr;
		padding: 72px 30px 100px;
		grid-row-gap: 40px;
	}

	footer .footer-bottom .inner {
		padding: 35px 30px;
	}

	footer .footer-bottom .inner .legal-links {
		flex-direction: column;
		gap: 14px;
		align-items: center;
	}

	.nm-product-category-text {
		padding: 5% !important;
	}

	.nm-product-category-text .nm-product-category-heading {
		font-size: 14px!important;
	}

	.contactos-page-content .contactos-list {
		padding: 0 30px;
	}

	.contactos-page-content .contactos-list .contacto {
		grid-template-columns: 1fr;
		align-items: center;
		justify-items: center;
		text-align: center;
	}

	.contactos-page-content .contactos-list .contacto .image-container,
	.contactos-page-content .contactos-list .contacto .image-container img {
		width: 100%;
	}

	.contactos-page-content .contactos-list .contacto .content h3 {
		font-size: 16px;
		line-height: 26px;
	}

	.contactos-page-content .contactos-list .contacto .content p {
		font-size: 14px;
		line-height: 26px;
	}

	.contactos-page-content .contactos-list .contacto .map-info {
		margin-bottom: 20px;
	}
}


/* Custom css rules */
.elementor-element.elementor-element-875d027.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded .nm-products {
	grid-template-columns: 1fr 1fr 1fr !important;
}

div#custom-category-columns .nm-products {
	grid-template-columns: 1fr 1fr 1fr !important;
}


div#custom-product-slider .nm-products {
	grid-template-columns: 1fr !important;
	grid-template-rows: 1fr 40px !important;
	row-gap: 0 !important;
}

ul.nm-products.products.xsmall-block-grid-1.small-block-grid-2.medium-block-grid-3.large-block-grid-5.grid-default.layout-default.attributes-position-thumbnail.no-action-links.slick-initialized.slick-slider {
    display: flex;
    flex-direction: column;
	row-gap: 0;
}

@media screen and (max-width: 468px) {
	ul.slick-dots {
    	background-color: #fff !important;
	}
	
	.nm-banner-slider.pagination-mobile-outside .flickity-page-dots, .nm-banner-slider.pagination-mobile-outside .slick-dots {
		border-top: 0;
        border-bottom: 0;
	}
	
	div#custom-category-columns .nm-products {
		column-gap: 0;
		padding: 0 10px;
	}
	
	.nm-product-category-text {
		text-align: center;
        top: 95px;
        width: 100%;
		height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
	}
	
	.woocommerce-loop-product__title {
		padding-right: 0px !important;
	}
	
	a.nm-shop-loop-title-link.woocommerce-LoopProduct-link {
		text-overflow: ellipsis;
		overflow: hidden;
		height: 50px;
        position: relative;
        display: flex;
	}
	
	span.price {
    	text-align: center !important;
	}
	
	.wc-block-components-sidebar-layout.wc-block-cart.wp-block-woocommerce-filled-cart-block.is-mobile {
		padding-right: 35px;
		padding-left: 35px;
	}
	
	.elementor-element.elementor-element-137cc95.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded, .elementor-757 .elementor-element.elementor-element-875d027, div#post-12 {
		padding-right: 35px;
		padding-left: 35px;
	}
	
	.nm-products {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 0;
		padding: 0;
    }
	
	.theme-savoy .wp-block-woocommerce-cart .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:last-child:not(:first-child) {
		left: 180px;
	}
}