/*
Theme Name: balsima
Author: j-filipiak
Description: balsima theme
Version: 1.0.4
Template: salient

This is the child theme for Salient theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

.wpiqd-swatch {
  border-radius: 15px !important;
}

.wpiqd-swatch.active {
  border-color: #e2a851 !important;
  border-width: 2px;
  background-color: transparent !important;
  color: #000 !important;
  border-radius: 15px !important;
}

.wpiqd-radio {
  visibility: hidden !important;
}

.wpiron-notif-which-number {
  display: none !important;
}

.wpiron-variables-container .reset_variations {
  display: none !important;
}
.single
  .wpiqd-swatch.active
  .wpiron-variables-container
  .wpiron-variables-item
  label {
  color: #000 !important;
}

.one-block {
  display: none !important;
}

.second-block {
  margin-left: -15px;
}

.cfvsw-selected-swatch {
  color: #fff;
  background-color: #e2a851 !important;
  transition: all 0s ease !important;
  border-width: 2px;
}

.cfvsw-swatches-option,
.cfvsw-label-option {
  transition: all 0s ease !important;
}

@media screen and (max-width: 920px) {
  .wpiqd-swatch.active .wpiqd-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px;
  }

  .wpiqd-middle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* comments  */

.wcpr-grid-layout-2-style::before,
.wcpr-grid-layout-2-style::after {
  display: none;
}

#comments {
  max-width: 1370px;
  margin: 0 auto;
}
ol.commentlist {
  padding: 0 !important;
}

ol.commentlist::before,
ol.commentlist::after {
  display: none !important;
}

.woocommerce-Reviews-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  border-radius: 10px;
  outline: none;
  border: none;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.woocommerce-tabs[data-tab-style] #tab-reviews #comments {
  flex-direction: column;
}

/* Balsima Reviews Header Structure */
.balsima-reviews-header-wrapper {
  display: flex !important;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.balsima-reviews-header__left {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  padding: 30px 0px;
  border-radius: 10px;
  width: 100%;
}

.balsima-reviews-header__left .woocommerce-Reviews-title {
  margin-bottom: 0;
}

.balsima-reviews-header__right {
  flex: 1 1 auto;
  width: 100%;
}

.balsima-reviews-header__right .wcpr-overall-rating-and-rating-count {
  padding: 0;
  width: auto;
}

@media screen and (max-width: 767px) {
  .balsima-reviews-header-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  #comments .wcpr-overall-rating-and-rating-count.grid-style {
    min-width: 100%;
  }

  .review-content-container {
    padding: 0;
  }
}

#comments .wcpr-overall-rating-and-rating-count {
  display: inline-flex !important;
  gap: 20px;
  width: 80%;
  padding-bottom: 30px;
  padding-left: 30px;
  align-items: center;
}

#comments .wcpr-filter-container {
  display: none !important;
}

.wcpr-icon-badge::after {
  content: 'Potwierdzona opinia';
}

.wcpr-comment-author .wcpr-icon-badge {
  color: #b1e335;
  background: #dd9933;
  padding: 0.48rem 1.4rem;
  border-radius: 4rem;
  margin: 10px 0;
}

#comments .woocommerce-review__verified {
  color: #ffffff !important;
  display: inline-block;
}
.woocommerce-tabs[data-tab-style]
  #reviews
  #comments
  ol.commentlist
  li
  img.avatar {
  display: none !important;
}

.wcpr-load-more-reviews-button-container .wcpr-load-more-reviews-button {
  background: #dd9933;
  border-radius: 50px;
  padding: 2px 20px;
  height: auto;
  width: auto;
}

@media screen and (min-width: 430px) {
  .wcpr-comment-author .wcpr-icon-badge {
    margin-left: 10px;
  }
}

@media screen and (min-width: 600px) {
  .wcpr-grid-layout-2-style-item {
    flex-grow: 1;
  }

  .wcpr-stars-count {
    margin-bottom: 20px;
  }

  .wcpr-grid.wcpr-grid-layout-2-style {
    flex-direction: column;
  }
}

@media screen and (min-width: 768px) {
  .wcpr-grid.wcpr-grid-layout-2-style {
    flex-direction: row;
  }
  #comments .wcpr-overall-rating-and-rating-count.grid-style {
    padding: 0px;
    width: 100%;
  }
  .wcpr-grid-layout-2-style-item {
    padding: 10px;
  }

  .wcpr-comment-author .wcpr-icon-badge {
    color: #b1e335;
    background: #dd9933;
    padding: 0.48rem 1.4rem;
    border-radius: 4rem;
    margin: 10px 0;
  }
  .wcpr-grid::before,
  .wcpr-grid::after {
    display: none;
  }

  .balsima-reviews-header__left {
    width: 30%;
  }

  .balsima-reviews-header__right {
    width: auto;
  }
  .wcpr-grid.wcpr-grid-layout-2-style.wcpr-grid-loadmore.wcpr-grid-3-col
    .wcpr-grid-layout-2-style-item {
    width: 48%;
    flex-basis: auto;
  }
}

@media screen and (min-width: 1024px) {
  .wcpr-grid.wcpr-grid-layout-2-style.wcpr-grid-loadmore.wcpr-grid-3-col
    .wcpr-grid-layout-2-style-item {
    width: 32%;
    flex-basis: auto;
  }

  .wcpr-comment-author .wcpr-icon-badge {
    margin-left: 10px !important;
  }
}

.woocommerce-tabs[data-tab-style] #tab-reviews .woocommerce-pagination {
  padding-left: 0 !important;
}
