/*
Theme Name: NX Fresh
Theme URI: https://nixo.pro
Author: Mario
Author URI: https:/nixo.pro
Description: A minimalistic WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nx-fresh

  --nxf-fg: #0f172a;
  --nxf-bg: #fff;
  --nxf-accent: var(--nxf-accent);
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krub:wght@200;300;400;600;700&display=swap');
/* variables */
:root {
  --bg-color: #fff;
  --bg-secondary-color: #f3f3f6;
  --color-primary: #14854f;
  --color-lightGrey: #f3f3f3;
  --color-grey: #747681;
  --color-darkGrey: #3f4144;
  --color-error: #d43939;
  --color-success: #28bd14;
  --grid-maxWidth-XL: 1500px;
  --grid-maxWidth: 1330px;
  --grid-gutter: 2rem;
  --font-size: 1rem;
  --font-color: #333;
  --font-family-sans: "Krub", -apple-system, "BlinkMacSystemFont", "Avenir",
    "Avenir Next", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  --font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
  --max-page-width: 100vw;
  --nx-box-shadow: 0 10px 50px rgba(22,87,142,0.2);
  /* Initial value, will be updated by JS */

}

/* Global styles */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}


a {
  text-decoration: none;
  color: #333;
}

a:not(class):hover, a:not(class):focus, a:not(class):active {
  color: var(--nxf-accent);
}

img, picture {
  max-width: 100%;
  height: auto;
}

/* Body styles */
body {
  background-color: var(--bg-color);
  line-height: 1.7;
  font-size: var(--font-size);
  color: var(--font-color);
  /* fallback */
  font-family: var(--font-family-sans);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Header default styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  box-shadow: var(--nx-box-shadow);/* 0 0.2rem 1.25rem 0 rgba(27, 30, 36, .07); */
  flex-direction: column;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.header-default .h-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;

}
.header-default .h-main .h-inner {
  padding: 10px 0;
}
.header-default .h-bottom:not(.toggled) nav {
  margin-left: auto;
}
.make-header-transparent header {
  background-color: transparent;
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 2;
}
.header-default .h-content {
  display: flex;;
}
@media screen and (max-width: 992px) {
  .header-default .h-content {
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  .header-default .custom-logo-link {
    margin-left: 15px;
  }
}

.admin-bar.make-header-transparent header {
  top: 32px;
}

h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
}
/* reset */


/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/* Utilities */
.bxs-long {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.mobile-hide {
  display: none;
  cursor: pointer;
}
.mobile-menu-close {
  margin-left: auto;
}
@media (max-width: 992px) {
  .mobile-hide {
    display: none;
  }
}
@media (min-width: 992px) {
  .desktop-hide {
    display: none;
  }
  .mobile-menu-close {
    display: none;
  }
}
/* Navigation styles */
nav {
  display: flex;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  padding: .4rem .7rem;
}

nav:not(.shop-nav) a, .menu a {
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
}

.menu {
  list-style: none;
  padding: 0;
}
.menu a {
  border-bottom: 1px dashed transparent;
}
.menu a:hover {
  color: #0a0a0a;
  border-bottom: 1px dashed #0a0a0a;
}

nav a:hover {
  color: var(--nxf-accent);
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 0.2rem 1.25rem 0 rgba(27, 30, 36, .07);
  display: none;
  z-index: 1;
}

.menu-item-has-children:hover .sub-menu {
  display: block;
}

.menu-item-has-children .sub-menu li {
  margin: 0;
}

.menu-item-has-children .sub-menu a {
  color: #333;
  display: flex;
  align-items: center;
}

.menu-item-has-children .sub-menu a:hover {
  color: var(--nxf-accent);
}

.sub-menu .lang-item span {
  margin-right: 10px;
}

.menu-item-icon {
  max-height: 20px;
  min-width: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.custom-logo-link {
  min-width: 120px;
  display: flex;
  justify-content: center;
}

/* Main styles */
@media (min-width: 1300px) {
  .site, .footer-inner {
    max-width: var(--grid-maxWidth);
    margin: auto;
  }
}
@media (min-width: 1550px) {
  .site, .footer-inner {
    max-width: var(--grid-maxWidth-XL);
    margin: auto;
  }
}

/* Article styles */
article {
  margin-bottom: 2rem;
  /* background-color: #fff;
  box-shadow: 0 0.2rem 1.25rem 0 rgba(27, 30, 36, .07); */
}
@media (max-width: 1350px) {
  .article-single, .article-page, .single-product .woo-main, .archive .woo-main {
    padding: 0 15px; 
  }
}

article h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: bold;
}

article p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.article-single {
  max-width: 760px;
  margin: auto;
  margin-bottom: 2rem;
}
.article-single .page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: .5rem;
  margin-top: .5rem;
}
.article-single .badge {
  background: #0069d9;
  transform: skew(-10deg);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-right: .5rem;
}
.post-meta {
  font-size: 0.8rem;
  color: #747681;
  border-top: solid 1px #ddd;
  margin-bottom: 1rem;
}
.post-meta span {
  display: inline-block;
  margin-right: 1rem;
  letter-spacing: 0.05em;
  padding-top: .5rem;
}
.post-meta span, .post-meta span a{
  display: inline-flex;
  align-items: center;
}
.post-meta svg {
  margin-right: .5rem;
  width: 1rem;
  height: 1rem;
}
@media (min-width: 992px) {
  .article-single .nxf-content>figure,
  .article-single .nxf-content>.wp-block-image,
  .article-single .nxf-content>.wp-block-embed,
  .article-single>.article-thumbnail {
    text-align: center;
    margin-left: -6em;
    margin-right: -6em;
    padding: 1rem;
    clear: both;
  }
}

.article-single blockquote {
  float: left;
  margin: 20px 20px 20px -6rem;
  width: calc(60% - 50px);
  max-width: 400px;
}
.article-single blockquote p{
  font-size: 2rem;
  letter-spacing: -.03em;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 0;
}
.article-single blockquote cite {
  font-size: 1.2rem;
  font-weight: 400;
}

/* sidebar */
aside .widget-area__inner {
  margin-bottom: 2rem;
  margin-top: 2rem;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 0.2rem 1.25rem 0 rgba(27, 30, 36, .07);
  position: sticky;
  top: 90px;
}

/* Footer styles */
footer {
  padding: 3rem 1rem 1rem 1rem;
  background-color: var(--nxf-accent);
  color: #fff
}

footer p {
  margin-bottom: 0;
  font-size: 0.8rem;
  text-align: center;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: var(--nxf-accent);
}

/* Button styles */
.button {
  display: flex;
  justify-content: center;
  align-items: center;

  color: var(--nxf-accent);
  border: solid 2px var(--nxf-accent);
  background: transparent;

  padding: 10px 15px;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  white-space: nowrap;
}


.button:hover {
  background-color: var(--nxf-accent);
  color: #fff;
}

 

/* Responsive grid styles */
.container {
  max-width: var(--grid-maxWidth);
  margin: 0 auto;
  width: 96%;
  padding: 0 calc(var(--grid-gutter) / 2);
}

.row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-left: calc(var(--grid-gutter) / -2);
  margin-right: calc(var(--grid-gutter) / -2);
}

.row.reverse {
  flex-direction: row-reverse;
}

.col {
  flex: 1;
}

.col,
[class*=" col-"],
[class^="col-"] {
  margin: 0 calc(var(--grid-gutter) / 2) calc(var(--grid-gutter) / 2);
}

.col-1 {
  flex: 0 0 calc((100% / (12/1)) - var(--grid-gutter));
  max-width: calc((100% / (12/1)) - var(--grid-gutter));
}

.col-2 {
  flex: 0 0 calc((100% / (12/2)) - var(--grid-gutter));
  max-width: calc((100% / (12/2)) - var(--grid-gutter));
}

.col-3 {
  flex: 0 0 calc((100% / (12/3)) - var(--grid-gutter));
  max-width: calc((100% / (12/3)) - var(--grid-gutter));
}

.col-4 {
  flex: 0 0 calc((100% / (12/4)) - var(--grid-gutter));
  max-width: calc((100% / (12/4)) - var(--grid-gutter));
}

.col-5 {
  flex: 0 0 calc((100% / (12/5)) - var(--grid-gutter));
  max-width: calc((100% / (12/5)) - var(--grid-gutter));
}

.col-6 {
  flex: 0 0 calc((100% / (12/6)) - var(--grid-gutter));
  max-width: calc((100% / (12/6)) - var(--grid-gutter));
}

.col-7 {
  flex: 0 0 calc((100% / (12/7)) - var(--grid-gutter));
  max-width: calc((100% / (12/7)) - var(--grid-gutter));
}

.col-8 {
  flex: 0 0 calc((100% / (12/8)) - var(--grid-gutter));
  max-width: calc((100% / (12/8)) - var(--grid-gutter));
}

.col-9 {
  flex: 0 0 calc((100% / (12/9)) - var(--grid-gutter));
  max-width: calc((100% / (12/9)) - var(--grid-gutter));
}

.col-10 {
  flex: 0 0 calc((100% / (12/10)) - var(--grid-gutter));
  max-width: calc((100% / (12/10)) - var(--grid-gutter));
}

.col-11 {
  flex: 0 0 calc((100% / (12/11)) - var(--grid-gutter));
  max-width: calc((100% / (12/11)) - var(--grid-gutter));
}

.col-12 {
  flex: 0 0 calc((100% / (12/12)) - var(--grid-gutter));
  max-width: calc((100% / (12/12)) - var(--grid-gutter));
}

@media screen and (max-width: 599px) {
  .container {
    width: 100%;
  }

  .col,
  [class*="col-"],
  [class^="col-"] {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 1350px) {
  article.article-single {
    padding: 1rem;
  }
}

/* Mobile styles */
@media (max-width: 992px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
  }
 
  .top-nav {
    overflow-y: hidden;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: white transparent;
  }

  .top-nav::-webkit-scrollbar {
    width: 2px;
  }

  .top-nav::-webkit-scrollbar-track {
    background-color: transparent;
  }

  .top-nav::-webkit-scrollbar-thumb {
    background-color: white;
    opacity: 0.5;
  }
  .top-nav ul {
    /*display: none;*/
    white-space: nowrap;
  
    flex-direction: row;
  }

}

.h-over .wp-block-social-links {
  margin: 0;
}