@charset "utf-8";

/*
Theme Name: Ruzhana.by
Author: Creative.by
Author URI: http://creative.by/
Description: Шаблон, созданный специально для интернет-витрины Ruzhana.by
Version: 2.0
Tags: магазин, одежда, лен, сайт
*/

html, body {
  margin: 0;
  padding: 0;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  background: #fff;
}

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

p {
  margin: 0 0 16px;
}

.container {
  padding: 0 40px;
}

@media screen and (max-width: 980px) {
  .container {
    padding: 0 24px;
  }
}

/** NAVIGATION **/

#naviWrapper {
  position: fixed;
  flex-flow: row;
  flex-wrap: nowrap;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  top: 0;
  left: 0;
}

.navi {
  width: 33%;
  min-height: 100vh;
  padding: 32px 40px;
  background: #fff;
  position: fixed;
  overflow-y: scroll;
  inset: 0;
}

.blackbg {
  width: 100%;
  min-height: 100vh;
}

.naviCategories {
  margin: 32px 0;
  display: flex;
  flex-flow: column;
  border-bottom: 1px solid #ddd;
}

.naviCategories a {
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 24px;
  font-weight: 500;
}

.naviPages {
  padding: 0 0 64px;
  display: flex;
  flex-flow: column;
}

.naviPages a {
  margin-bottom: 16px;
  font-weight: 500;
}

.noscroll {
  overflow: hidden;
}

[aria-hidden="true"]  { display: none; }
[aria-hidden="false"] { display: block; }

@media screen and (max-width: 980px) {
  .navi {
    width: auto;
    padding: 24px;
  }
}

/** HEADER **/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 32px 0;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  line-height: 100%;
  z-index: 1000;
}

.header div {
  flex: 0 1 33.3%;
  margin: 0 40px;
}

.menu a {
  display: flex;
  align-items: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.menu img {
  margin-right: 16px;
}

.header .logo {
  text-align: center;
}

.phone a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.phone img {
  margin-right: 16px;
}

@media screen and (max-width: 980px) {
  .header {
    padding: 24px 0;
  }

  .header div {
    margin: 0 24px;
  }

  .menu span {
    display: none;
  }

  .header .logo img {
    height: 20px;
  }

  .phone img {
    margin-right: 0;
  }

  .phone span {
    display: none;
  }
}

/** FOOTER **/

.footer {
  margin-top: 120px;
  border-top: 1px solid #ddd;
  padding: 40px;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  font-size: 16px;
  line-height: 24px;
}

.footer a {
  display: inline-block;
  margin: 0 24px 0 0;
}

.footer a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 980px) {
  .footer {
    flex-flow: column;
    padding: 40px 24px;
  }

  .links  {
    margin: 0 0 32px;
  }

  .footer a {
    display: block;
    margin: 0 0 16px;
  }
}

/** HOMEPAGE **/

.heroScreen {
  margin: 88px 0 120px;
  height: 80vh;
  background: #eee;
  text-align: center;
  background: url(./images/heroPhoto.jpg) top right no-repeat;
  background-size: cover;
  display: flex;
  flex-flow: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

.heroScreen span {
  display: block;
  margin: 0 auto 40px;
  width: 60%;
  font-size: 60px;
  line-height: 60px;
  font-weight: 500;
  color: #fff;
}

.buttonWhite {
  width: 240px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 0;
  background: #fff;
  border-radius: 40px;
  margin-bottom: 80px;
  font-weight: 500;
}

@media screen and (max-width: 980px) {
  .heroScreen {
    margin: 72px 0 120px;
  }

  .heroScreen span {
    font-size: 36px;
    line-height: 40px;
    width: auto;
    margin: 0 24px 40px;
  }
}

.infoBlocks {
  width: 80%;
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  margin: 0 auto 120px;
  justify-content: space-between;
}

.infoBlocks div {
  margin: 0;
  text-align: center;
  flex: 0 0 22%;
}

.infoBlocks h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 24px 0 8px;
}

.infoBlocks p {
  margin: 0;
}

@media screen and (max-width: 980px) {
  .infoBlocks {
    width: auto;
    flex-flow: column;
    margin: 0 24px 88px;
    justify-content: flex-start;
  }

  .infoBlocks div {
    margin-bottom: 32px;
  }
}

.categories, .homeCategories {
  padding: 0 32px;
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-content: space-between;
  flex-wrap: wrap;
  font-size: 20px;
  font-weight: 500;
}

.categories .category {
  flex: calc(14% - 16px);
  padding: 0 8px 40px;
}

.homeCategories .category {
  flex: 0 0 calc(25% - 16px);
  padding: 0 8px 40px;
}

.category .image {
  background: #eee;
  margin-bottom: 24px;
}

.category img {
  width: 100%;
}

@media screen and (max-width: 980px) {
  .categories {
    width: 100%;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: scroll;
    font-size: 16px;
  }

  .homeCategories {
    width: calc(100% - 8px);
    padding: 0 4px;
    flex-wrap: wrap;
    font-size: 16px;
  }

  .homeCategories .category {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
    margin-bottom: 64px;
    padding: 0 4px;
  }

  .homeCategories .category span {
    display: block;
    padding: 0 16px;
  }

  .categories .category {
    flex: 0 0 32%;
    width: 32%;
    padding: 0 0 0 24px;
  }

  .categories .category:last-child {
    padding: 0 24px;
  }
}

/** TITLE **/

.title {
  margin-top: 88px;
  padding: 80px 40px 40px;
  border-top: 1px solid #ddd;
}

h1, .h1 {
  display: block;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  margin: 0 0 24px;
}

.title div {
  width: 50%;
}

@media screen and (max-width: 980px) {
  .title {
    margin-top: 72px;
    padding: 80px 24px 40px;
  }

  .title div {
    width: 100%;
  }
}

/** LISTINGS **/

.listings_container {
}

.filters {
  display: flex;
  flex-flow: row nowrap;
  padding: 32px 40px;
  border-top: 1px solid #ddd;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

::-webkit-scrollbar {
    display: none;
}

@media screen and (max-width: 980px) {
  .filters {
    padding: 32px 24px;
  }
}

.wpc-filters-open-button-container {
  display: none;
}

.wpc-filters-section {
  display: flex;
  flex-flow: row;
  align-items: center;
}

.wpc-filter-header {
  font-weight: 500;
  margin-right: 24px;
}

.wpc-filters-ul-list {
  display: flex;
  flex-flow: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.wpc-filters-ul-list li {
  margin: 0;
  padding: 0;
}

.wpc-filters-ul-list a {
  display: block;
  margin-right: 8px;
  padding: 4px 16px;
  background: #eee;
  border-radius: 32px;
  color: #000;
}

.wpc-term-selected a {
  background: #000;
  color: #fff;
}

.wpc-filters-ul-list li input {
  display: none;
}

.wpc-filters-widget-controls-container {
  display: none;
}

.wpc-filters-widget-top-container {
  display: none;
}

.wpc-widget-close-container {
  display: none;
}

.wpc-filter-chips-list {
  display: flex;
  flex-flow: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.wpc-filter-chip {
  display: none;
}

.wpc-chip-reset-all {
  display: block;
  margin-right: 8px;
  padding: 4px 16px;
  border-radius: 32px;
  color: #000;
  white-space: nowrap;
}

.wpc-chip-remove-icon {
  display: none;
}

.listings {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}

.listing {
  flex: 0 0 25%;
  width: 25%;
  margin-bottom: 64px;
  word-wrap: break-word;
}

.listing a {
  display: block;
  position: relative;
}

.listing .new {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 12px;
  line-height: 16px;
  background: #DC143C;
  border-radius: 32px;
  color: #FFF;
  display: inline-block;
  padding: 4px 12px;
  margin: 0;
}

.listing .image {
  padding: 0;
  margin: 2px 2px 16px;
  background: #eee;
  text-align: center;
}

.listing:hover .image {
  background: #ddd;
}

.listing img {
  width: 100%;
  height: auto;
}

.listing span {
  margin: 0 16px;
  font-size: 16px;
  line-height: 24px;
  color: #666;
}

.listing h4 {
  margin: 0 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.listing .price {
  margin: 4px 16px 0;
  font-weight: 500;
}

@media screen and (max-width: 980px) {
  .listings {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    margin: 0 4px;
  }

  .listing {
    flex: 0 0 50%;
    width: 50%;
    margin-bottom: 64px;
  }

  .listing .image {
    padding: 0;
    margin: 0 4px 16px;
    background: #eee;
    text-align: center;
  }

  .listing span {
    margin: 0 22px;
  }

  .listing h4 {
    margin: 0 22px;
  }

  .listing .price {
    margin: 4px 22px 0;
  }
}

.wp-pagenavi {
  justify-content: center;
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
}

.wp-pagenavi .pages {
  padding: 16px 0;
}

.wp-pagenavi a {
  color: #fff;
  background: #000;
  padding: 16px 40px;
  margin: 0 16px;
  border-radius: 40px;
}

.wp-pagenavi .previouspostslink {
  order: 1;
}

.wp-pagenavi .pages {
  order: 2;
}

.wp-pagenavi .nextpostslink {
  order: 3;
}

/** PDP **/

.pdp {
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  margin-bottom: 120px;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
}

.gallery {
  width: 50%;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}

.gallery img {
  width: calc(50% - 2px);
  height: auto;
  margin-top: 4px;
  background: #eee;
}

.gallery img:nth-child(odd) {
  margin-left: 2px;
}

.gallery img:nth-child(even) {
  margin-right: 2px;
}

.gallery img:first-child {
  width: 100%;
  margin: 0;
}

.content {
  width: calc(50% - 240px);
  margin: 120px;
}

.pdp .price {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 24px;
}

.colors {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  padding: 8px 0 24px;
  border-bottom: 1px solid #ddd;
  margin: 0 0 24px;
}

.colors a {
  width: 16%;
  margin: 0 8px 8px 0;
  border: 2px solid #fff;
}

.colors img {
  width: 100%;
  height: auto;
}

.colors .activeColor {
  border: 2px solid #000;
}

.params {
  padding: 8px 0 24px;
  border-bottom: 1px solid #ddd;
}

.params span {
  font-size: 16px;
  line-height: 24px;
  color: #666;
  display: block;
  margin-bottom: 8px;
}

.params .new {
  font-size: 12px;
  line-height: 16px;
  background: #DC143C;
  border-radius: 32px;
  color: #FFF;
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 32px;
}

.description {
  padding: 32px 0 0;
  border-top: 1px solid #ddd;
}

.cta {
  margin: 32px 0;
}

.wb_button {
  display: block;
  background: linear-gradient(91.86deg, #C412A1 0%, #87006C 100%);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  padding: 20px 0;
  border-radius: 40px;
  margin-bottom: 24px;
}

.shops_button {
  display: block;
  background: linear-gradient(91.86deg, #333 0%, #000 100%);
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  padding: 20px 0;
  border-radius: 40px;
  margin-bottom: 24px;
}

.inStores {
  text-align: center;
}

.inStores span {
  display: block;
}

.inStores a {
  font-weight: 500;
}

.breadcrumbs {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 24px;

}

.breadcrumbs a {
  color: #666;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #ddd;
  margin: 0 8px;
}

@media screen and (max-width: 980px) {
  .pdp {
    margin-top: 72px;
    flex-flow: column;
  }

  .gallery {
    width: 100%;
    flex-flow: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
  }

  .gallery img, .gallery img:first-child {
    min-width: 80%;
    width: 80%;
    height: auto;
    margin: 0 4px 0 0;
  }

  .gallery img:last-child {
    margin: 0;
  }

  .content {
    width: auto;
    margin: 40px 24px 0;
  }
}

.page {
  width: 80%;
  margin: 120px auto;
}

.stores {
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
}

.storesMap {
  flex: 0 0 50%;
}

.storesList {
  flex: 0 0 50%;
  text-align: left;
}

.store {
  margin: 0 80px 40px;
}

.store h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 32px;
}

.store p {
  margin: 0;
}

@media screen and (max-width: 980px) {
  .page {
    width: auto;
    margin: 120px 16px;
  }

  .stores {
    flex-flow: column;
  }

  .storesMap {
    flex: 0 0 auto;
    order: 2;
  }

  .storesList {
    flex: 0 0 auto;
    order: 1;
  }

  .store {
    margin: 0 0 32px;
  }
}

.is-search-form {
  margin-top: 32px;
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
}

.is-search-input {
  border: #000 1px solid;
  border-radius: 0;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  height: 40px;
  width: 240px;
}

.is-search-submit {
  background: #000;
  border-radius: 0;
  border: none;
  color: #fff;
  height: 40px;
  width: 40px;
  cursor: pointer;
}

.is-search-icon {
  fill: #fff;
}

.is-screen-reader-text {
  display: none;
}
