/*
Theme Name: Mar-ton
Theme URI: https://mar-ton.pl
description: Mar-ton theme
Author: Digitalexp Mateusz Brania
Author URI: http://digitalexp.pl
Template: storefront
Version: 1.0.0
Text Domain: mar-ton
*/
/* INIT */
body.woocommerce #primary {
  float: none;
  width: 100%;
}

/* $textFontFamily: 'robotoregular';
$titleFontFamily: 'robotomedium'; */
/* FONTS */
/* @font-face {
	font-family: 'robotoregular';
	src: url('~assets/fonts/roboto/Roboto-Regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'robotomedium';
	src: url('~assets/fonts/roboto/Roboto-Medium-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
 */
/* COMPONENTS */
.section {
  width: 100%;
  padding: 0;
  margin-bottom: 5%;
}

.section__title {
  text-align: center;
  margin-bottom: 50px;
}

.section:last-child {
  margin-bottom: 50px;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text {
  font-size: 1rem;
  font-family: "Arial";
  margin-bottom: 10px;
  color: #000;
}

.text--bold {
  font-weight: bold;
}

.text--white {
  color: #fff;
}

.title {
  font-size: 2rem;
  font-family: "Arial";
}

.link {
  font-size: 1rem;
  font-family: "Arial";
  text-decoration: none;
}

@media (min-width: 1024px) {
  .section {
    padding: 0 15%;
  }
  .section--full {
    padding: 0;
  }
}

.button {
  width: auto;
  padding: 10px 30px;
  color: #000;
  background: transparent;
  font-family: 'robotoregular', sans-serif;
  text-decoration: none;
  text-align: center;
}

.add_to_cart_button {
  color: #fff;
  background: #8B0017!important;
}

.button--primary {
  color: #8B0017;
  border: 2px solid #8B0017;
  border-radius: 20px;
  font-weight: bold;
}

.button--primary:hover {
  color: #fff;
  background: #8B0017;
  transition: 0.2s ease-in-out;
}

/* TEMPLATES */
.nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  height: 10vh;
  padding: 0 10%;
  z-index: 100;
  background: #fff;
}

.nav__logo {
  width: 50%;
}

.nav__logo .image {
  object-fit: contain;
}

.nav__mobile-menu {
  width: 30px;
  height: 30px;
  border: 1px solid #8B0017;
  color: #8B0017;
  background: white;
  font-weight: bold;
  font-size: 1rem;
}

.nav__mobile-menu--active {
  color: #fff;
  background: #8B0017;
}

.navbar {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: absolute;
  top: 10vh;
  left: -200%;
  width: 100%;
  height: 90vh;
  background: white;
  z-index: 10;
}

.navbar--active {
  left: 0;
  transition: 0.5s ease-in-out;
}

.navbar__link {
  color: #8B0017;
}

.navbar__link::before {
  display: block;
  content: attr(title);
  font-weight: bold;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.navbar__link:hover {
  font-weight: bold;
  transition: 0.2s ease-in-out;
}

.navbar__cart {
  width: 30px;
  height: 30px;
  fill: #8B0017;
}

@media (min-width: 1024px) {
  .nav__logo {
    width: 30%;
    height: 100%;
  }
  .nav__mobile-menu {
    display: none;
  }
  .navbar {
    flex-direction: row;
    position: relative;
    top: 0;
    left: 0;
    width: 60%;
    height: auto;
  }
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: #8B0017;
  padding: 10% 0;
}

.footer__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  margin-bottom: 20px;
}

.footer__item:first-child {
  order: 3;
}

.footer__item:nth-child(n + 2) {
  order: 1;
}

.footer__item:nth-child(n + 3) {
  order: 2;
}

.footer__title {
  color: #fff;
  margin-bottom: 10px;
}

.footer__text {
  color: #fff;
}

@media (min-width: 1024px) {
  .footer {
    flex-direction: row;
    padding: 50px 0;
    align-items: flex-start;
  }
}

.site-content {
  margin-top: 40px;
}

/* SINGLES */
.product {
  margin-top: 5%;
}

.product__content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.product__description {
  max-width: 800px;
  margin: 0 auto;
}

.product__summary {
  width: 50%;
}

.woocommerce-store-notice.demo_store {
	background-color: #8B0017!important
}
