/*
	Theme Name:   Relicário (Savoy)
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Tema para Relicário (baseado no Savoy)
	Author:       NordicMade, Felipe Turcheti
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0.1
*/


/* Child theme CSS
=============================================================== */

/* Typography
--------------------------------------------------------------- */

@font-face {
  font-family: "Muli";
  src: url("./fonts/muli-light-webfont.woff2") format("woff2"),
  url("./fonts/muli-light-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Muli";
  src: url("./fonts/muli-lightitalic-webfont.woff2") format("woff2"),
  url("./fonts/muli-lightitalic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Muli";
  src: url("./fonts/muli-semibold-webfont.woff2") format("woff2"),
  url("./fonts/muli-semibold-webfont.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Muli";
  src: url("./fonts/muli-semibold-webfont.woff2") format("woff2"),
  url("./fonts/muli-semibold-webfont.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
@font-face {
    font-family: "Neutra";
    src: url("./fonts/NeutraText-Demi.woff2") format("woff2"),
        url("./fonts/NeutraText-Demi.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Neutra";
    src: url("./fonts/NeutraTextTF-Bold.woff2") format("woff2"),
        url("./fonts/NeutraTextTF-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
  font-family: "Muli", sans-serif;
  font-weight: normal !important;
}

h1, h2, h3, h4, h5, h6, .nm-alt-font {
  font-family: "Neutra", sans-serif;
  font-weight: normal !important;
}

h6, .h6-size {
  font-size: 17px;
}

b, strong {
  font-weight: bold !important;
}

#home-pre-banner-bar {
  font-family: "Neutra", sans-serif;
  color: #282828;

}

#home-tags-row .nm-widget-title {
  display: none;
}

.nm-main-menu li a {
  font-family: "Neutra", sans-serif;
  text-transform: uppercase;
  font-size: 16px !important;
}
/* .nm-main-menu li a::after,         */
/* .nm-main-menu li a::before {       */
/*   font-family: "Muli", sans-serif; */
/*   font-weight: normal !important;  */
/*   font-size: 1.1em;                */
/*   position: relative;              */
/*   bottom: 0;                       */
/* }                                  */



/* Header
--------------------------------------------------------------- */

@media screen and (min-width: 900px) {
  .nm-header.menu-centered .nm-header-logo {
    width: 20%;
  }
  .nm-header.menu-centered .nm-main-menu {
    width: 60%;
  }
  .nm-header.menu-centered .nm-right-menu {
    max-width: 20%;
  }
  .nm-main-menu > ul,
  .nm-right-menu > ul {
    vertical-align: bottom;
  }
  .nm-main-menu li a {
    padding: 2px 18px;
  }
  .nm-right-menu li a {
    padding: 2px 12px;
  }
}

.nm-menu .sub-menu {
  background: #000;
}
.nm-menu .sub-menu li a {
  color: #fff;
}
.nm-menu .sub-menu li a:hover {
  color: #dc9814;
}

.nm-menu-search.menu-item {
  position: absolute;
  top: 0;
  right: 10px;
}
.nm-menu-search.menu-item a::before {
  content: 'Buscar ';
  text-transform: uppercase;
  font-size: 0.8rem;
}
.nm-menu-search.menu-item i {
  font-size: 1rem;
  margin-left: 10px;
  position: relative;
  top: 2px;
}

/* Home
--------------------------------------------------------------- */

#home-banner-row {
  position: relative;
  top: -1px; /* dirty-fix for a completely ¯\_(ツ)_/¯ bug */
}
#home-banner-row::before {
  content: '';
  background: #000;
  width: 100%;
  height: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.nm-banner-slider.pagination-mobile-outside .flickity-page-dots, .nm-banner-slider.pagination-mobile-outside .slick-dots {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.header-border-0 #nm-mobile-menu .nm-mobile-menu-content {
  border-top: 0 !important;
}

.home .widget_product_tag_cloud a {
  background-color: #788470;
}

.home .nm_btn_link .nm_btn_title {
  color: #282828;
}
.home .nm_btn_link .nm_btn_title:hover {
  color: #777;
}

.home .wpb_widgetised_column {
  margin: 0;
}
.home .widget_product_tag_cloud {
  margin: 0;
  padding: 0;
}
.home .widget_product_tag_cloud h3 {
  display: none;
}
/* .home .widget_product_tag_cloud .tagcloud { */
/*   display: flex;                            */
/*   flex-wrap: wrap;                          */
/*   justify-content: center;                  */
/* }                                           */
.home .widget_product_tag_cloud .tagcloud a {
  word-break: keep-all;
  /* float: none; */
  font-size: 13px !important;
  margin: 3px 3px;
}


/* Blog
--------------------------------------------------------------- */

.nm-blog-grid .nm-post-title {
  font-size: 17px !important;
}
.nm-blog-grid .nm-post-content .nm-post-excerpt {
  font-size: 14px !important;
}

.nm-blog-categories-wrap {
  margin: 60px 0;
  padding: 0;
}

.nm-post-col {
  max-width: 800px !important;
}

.nm-related-posts-content h3 {
  font-size: 18px !important;
  line-height: 1.4em !important;
}
.nm-related-posts-excerpt {
  line-height: 1.6 !important;
  display: none;
}

.nm-blog-grid .nm-post-title {
  /* font-size: 20px; */
  font-size: 18px;
  line-height: 1.4em;
}

.nm-post-header h1 {
  line-height: 1.4em !important;
}

.nm-single-post-meta-top em {
  display: none;
}

.single-post .post .entry-content {
  text-align: justify;
}

/* Banners
--------------------------------------------------------------- */

.slick-slider .nm-banner img, .nm-banner img {
  width: 100% !important;
}

/* WooCommerce shop loop
--------------------------------------------------------------- */

.nm-shop-header {
  margin: 60px 0;
  padding: 0;
}

.nm-shop-sidebar-header #nm-shop-sidebar .widget {
  padding-top: 16px;
}

.onsale {
  left: 12px;
  right: auto;
  top: 12px;
  bottom: auto;
}
/* .woocommerce-product-gallery .onsale { */
  /* top: auto !important; */
/* } */

.woocommerce-loop-product__title {
  font-size: 17px !important; /* Neutra */
}

.nm-shop-loop-details h3 a {
  color: #282828 !important;
}

/* -- Price */
.products .price {
  font-size: 14px;
}

/* -- Wishlist button */
.products .nm-wishlist-button {
  position: relative;
  top: auto;
  right: auto;
  text-align: left;
}
.nm-shop-loop-actions {
  font-size: 14px;
}
.nm-shop-loop-actions a.nm-wishlist-button {
  border-bottom: 0;
  line-height: 1em;
  top: 0.3em;
}

/* -- Filter bar */
.nm-shop-filter-menu .filter {
  float: left;
}
.nm-shop-filter-menu .nm-shop-search-btn-wrap {
  float: right;
}
#nm-shop-sidebar.nm-shop-sidebar-header .nm-shop-sidebar-inner {
  padding-top: 0;
}

/* -- Tags */
.relicario-shop-loop-tags {
  display: block;
  margin-top: 3px;
  margin-bottom: 10px;
  padding: 0 !important;
}
.relicario-shop-loop-tags li {
  list-style: none !important;
}
.nm-single-product-showcase .relicario-shop-loop-tags {
  margin-bottom: 20px;
}
.relicario-shop-loop-tags::after {
  display: block;
  content: "";
  clear: both;
}
.relicario-shop-tag a {
  display: inline-block;
  float: left;
  font-size: 12px !important;
  line-height: 1;
  margin: 0 3px 3px 0;
  padding: 4px 8px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  background: #777;
  color: #fff;
}
.relicario-shop-tag.tag-highlight a {
  background: #282828;
}
.relicario-shop-tag a:hover {
  background: #dc9814;
  color: #fff;
}

/* -- Authors */
.relicario-shop-loop-authors {
  display: block;
  padding: 4px 0 0;
  line-height: 1.5em;
  font-size: 14px;
}
.products .relicario-shop-loop-authors {
  padding: 4px 0 0 !important;
}
.relicario-shop-loop-authors a {
  color: #777;
}
.relicario-shop-author {
  display: inline-block;
}
.relicario-shop-author::after {
  content: '/';
  display: inline-block;
  margin: 0 0.5em;
}
.relicario-shop-author:last-child::after {
  content: '';
}
.nm-single-product-showcase .relicario-shop-loop-authors {
  font-size: 16px;
  padding-bottom: 10px;
  padding-left: 95px;
  width: 50%;
  float: right;
}
@media screen and (max-width: 1080px) {
  .nm-single-product-showcase .relicario-shop-loop-authors {
    float: none;
    padding-left: 0;
    padding-top: 49px;
  }
  .product .summary {
    padding-top: 0;
  }
  /* .single-product .relicario-shop-loop-authors::before, */
  /* .single-product .relicario-shop-loop-authors::after { */
  /*   content: " ";                                       */
  /*   display: table;                                     */
  /* }                                                     */
  /* .single-product .relicario-shop-loop-authors::after { */
  /*   clear: both;                                        */
  /* }                                                     */
}


/* -- Thumbnail */
.nm-shop-loop-thumbnail img {
  width: auto !important;
  height: 320px !important;
  /* margin: 0 auto !important; */
}
.nm-shop-loop-thumbnail {
  /* padding: 12px; */
  background: transparent !important;
  /* border-bottom: 1px solid #777; */
}

/* -- Categories */
/* .relicario-shop-loop-categories  a { */
/*   position: relative;                */
/*   display: inline-block;             */
/*   color: inherit;                    */
/*   line-height: 1.4;                  */
/*   max-width: 100%;                   */
/*   white-space: nowrap;               */
/*   text-overflow: ellipsis;           */
/*   vertical-align: top;               */
/*   overflow: hidden;                  */
/*   padding: 5px 14px 5px 37px;        */
/*   border: 1px solid;                 */
/*   -webkit-border-radius: 30px;       */
/*   border-radius: 30px;               */
/* }                                    */



/* WooCommerce single product
--------------------------------------------------------------- */

.nm-single-product-showcase {
  padding: 60px 0;
}

.nm-product-tabs-col {
  padding: 28px 0 6px;
}

#nm-product-meta {
  display: none;
}
.woocommerce-tabs {
  border-bottom: 0;
}

/* -- Image */
.woocommerce-product-gallery__image a img {
  width: auto;
  max-height: 600px;
}

/* -- Author tab */
#tab-author {
  font-size: 16px;
  line-height: 1.8;
}
.relicario-author-tab-title {}
.relicario-author-tab-description {
  margin: 1em 0 2em;
}
.relicario-author-tab-description:last-of-type {
  margin-bottom: 0;
}

/* Breadcrumb and prev/next */
.nm-single-product-top {
  display: none;
}

/* Categories */
#nm-product-meta .posted_in {
  display: none;
}

/* WooCommerce archives
--------------------------------------------------------------- */

/* -- Filters bar */
.nm-blog-categories-wrap,
.nm-shop-header {
  /* padding: 0 0 60px !important; */
}

/* -- Taxonomy description header */
#nm-shop-taxonomy-header {
  /* padding-top: 0; */
}
.nm-shop-taxonomy-text-col {
  /* margin-bottom: 60px; */
}

.widget_tag_cloud a, .widget_product_tag_cloud a {
  /* font-size: 13.5px; */
  font-size: 13px !important;
}

/* -- Filters remover */
.nm-shop-results-bar {
  margin-bottom: 60px;
}

/* Footer
--------------------------------------------------------------- */

.nm-footer .nm-menu-item-copyright {
  position: relative;
  top: 3px;
}

.nm-footer-bar .menu > li > a {
  color: #fff;
}
.nm-footer-bar .menu > li > a:hover {
  color: #aaa;
}

.logo-pagseguro {
  width: 150px;
  height: auto;
}

.nm-footer-widgets .nm-widget-title {
  font-size: 18px !important;
  position: relative;
  z-index: 2;
}

.nm-footer-widgets .widget p {
  max-width: 400px;
  line-height: 1.6;
}

.form-newsletter input {
  width: 100% !important;
  max-width: 400px !important;
}
.form-newsletter br {
  display: none;
}


/* Sender footer form
--------------------------------------------------------------- */

/* New: form builder */
.nm-footer-widgets .sender-form-field {
  margin-top: -36px;
  margin-left: -40px;
}

/* Old: html code */
.subscription-form {
    padding: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}
.nm-footer-widgets .subscription-form {
  max-width: 420px !important;
}
.subscription-form-fields {
    margin-top: 0.5rem !important;
}
.subscription-form input {
    border-color: #e7e7e7 !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    padding: 12px !important;
    margin-bottom: 0 !important;
}
.subscription-form input:focus {
    border-color: #ccc !important;
}
.subscription-form button {
    font-family: inherit !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    padding: 12px !important;
    margin: 0 !important;
    transition: opacity 0.2s ease !important;
}
.subscription-form button:hover {
    opacity: 0.82 !important;
}
.sender-link-wrapper {
    display: none !important;
}

/*
 * Newsletter sticky widget
 * ==========================================================================
 */
.popup-widget.hidden {
  display: none !important;
}
.popup-widget__overlay {
  z-index: 2000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: hsla(0, 0%, 0%, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-widget__inner {
    position: relative;
    max-width: 485px;
    bottom: 0;
    left: 0;
    background: white;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 -0.5rem 0.5rem hsla(0, 0%, 0%, 0.05);
}
.popup-widget .widget-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  padding: 24px 40px 0;
}
.popup-widget .textwidget + .textwidget {
  margin-top: 1rem;
}
.popup-widget .textwidget p {
  width: 424px;
  padding: 0 40px;
  margin: 0;
}
.popup-widget__close {
    position: absolute;
    top: 1rem;
    right: 0.5rem;
    padding: 0 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
}
.popup-widget__close-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Authors listing
--------------------------------------------------------------- */
.relicario-authors-names h4 {
  border-bottom: 1px solid #eee;
  padding: 11px 0;
  break-after: avoid-column;
}
.relicario-authors-names ul + h4 {
  margin-top: 1em;
}
.relicario-authors-names ul {
  columns: 1;
  margin-top: 11px;
}

@media screen and (min-width: 400px) {
  .relicario-authors-names ul {
    columns: 2;
  }
}
@media screen and (min-width: 750px) {
  .relicario-authors-names ul {
    columns: 3;
  }
}
@media screen and (min-width: 1024px) {
  .relicario-authors-names ul {
    columns: 4;
  }
}


/* with pictures */
.relicario-authors-pics h4 {
  border-bottom: 1px solid #eee;
  padding: 11px 0;
}
.relicario-authors-pics ul + h4 {
  margin-top: 1em;
}
.relicario-authors-pics ul {
  width: 100%;
  margin: 2rem 0;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.relicario-authors-pics li {
  width: 100%;
}
.relicario-authors-pics li a {
  display: block;
}
.relicario-authors-pics li a:hover img {
  opacity: 0.8;
}
.relicario-authors-pics li a:hover h5 {
  color: #dc9814;
}
.relicario-authors-pics li h5 {
  padding-top: 0.25rem;
}
.relicario-authors-pics li .img-bg {
  height: 0;
  padding-bottom: 100%;
  position: relative;
  background: #eee;
  width: 100%;
}
.relicario-authors-pics li img {
  position: absolute;
  filter: grayscale(100%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 400px) {
  .relicario-authors-pics ul {
    gap: 2rem;
  }
  .relicario-authors-pics li {
    width: calc(50% - 1rem);
  }
}
@media screen and (min-width: 750px) {
  .relicario-authors-pics li {
    width: calc(33.33% - 1.34rem);
  }
}
@media screen and (min-width: 1024px) {
  .relicario-authors-pics li {
    width: calc(25% - 1.5rem);
  }
}

/* WooCommerce checkout
--------------------------------------------------------------- */

.woocommerce-checkout .nm-checkout-ty .woocommerce-message {
  margin-bottom: 36px;

}


/* Spotlight Instagram Feed
--------------------------------------------------------------- */

.InstagramFeed__feed .MediaOverlay__date-container {
  display: none;
}
