/*
Theme Name: 	KWPress
Description: 	Responsive WordPress Theme based on Boostrap for Novità.
Version:     	1.0
Author:     	KolorWeb di Vincenzo Casu
Author URI:   http://www.kolorweb.it
Site:         http://www.kolorweb.it
Text Domain: 	kwpress
Domain Path: 	/languages
Tags:        	grid-layout, blog, custom-menu, featured-images, right-sidebar
License:    	GNU General Public License v3.0
License URI:	http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ---------------------------------------------
 * Base
 * --------------------------------------------- */

:root {
  --primary-color: #b81f58;
  --secondary-color: #b81f58;
  --dark-color: #000000;
  --dark-text-color: #ffffff;

  --btn-primary-border-radius: 0.25rem;
  --btn-primary-color: #fff;
  --btn-primary-background-color: #b81f58;
  --btn-primary-border-color: #b81f58;
  --btn-primary-hover-color: #fff;
  --btn-primary-background-hover-color: #b81f58;
  --btn-primary-border-hover-color: #b81f58;
  --btn-primary-font-weight: 500;

  --btn-secondary-border-radius: 0.25rem;
  --btn-secondary-color: #b81f58;
  --btn-secondary-background-color: transparent;
  --btn-secondary-border-color: #b81f58;
  --btn-secondary-hover-color: #000;
  --btn-secondary-background-hover-color: #b81f58;
  --btn-secondary-border-hover-color: #b81f58;
  --btn-secondary-font-weight: 500;

  --heading-color: #000;
  --heading-font-family: 'Prata', sans-serif;
  --heading-font-weight: 700;

  --title-color: #000;
  --title-font-family: 'Montserrat', sans-serif;
  --title-font-weight: 400;

  --body-color: #000;
  --body-background-color: #fff;
  --body-font-family: 'Montserrat', sans-serif;
  --body-font-size: 14px;
  --body-font-weight: 400;

  --section-heading-color: #000;
  --section-heading-font-family: 'Prata', sans-serif;
  --section-heading-font-size: 38px;
  --section-heading-font-weight: 400;

  --section-subheading-color: #000;
  --section-subheading-font-family: 'Prata', sans-serif;
  --section-subheading-font-size: 18px;
  --section-subheading-font-weight: 400;
}

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

/* poppins-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('./assets/fonts/poppins-v20-latin/poppins-v20-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('./assets/fonts/poppins-v20-latin/poppins-v20-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('./assets/fonts/poppins-v20-latin/poppins-v20-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('./assets/fonts/poppins-v20-latin/poppins-v20-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('./assets/fonts/poppins-v20-latin/poppins-v20-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Montserrat-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('./assets/fonts/Montserrat/Montserrat-Thin.ttf');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Montserrat-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('./assets/fonts/Montserrat/Montserrat-Regular.ttf');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Montserrat-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('./assets/fonts/Montserrat/Montserrat-Medium.ttf');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Montserrat-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('./assets/fonts/Montserrat/Montserrat-Bold.ttf');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Montserrat-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('./assets/fonts/Montserrat/Montserrat-ExtraBold.ttf');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Prata-Regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  src: url('./assets/fonts/Prata/Prata-Regular.ttf');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* ---------------------------------------------
 * Custom Rules
 * --------------------------------------------- */

.kw-fade-in-out {
  opacity: 0;
  animation: kw-fade-in 1s ease-in forwards, kw-fade-out 1s ease-out forwards;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

@keyframes kw-fade-in {
  100% {
    opacity: 1;
  }
}

@keyframes kw-fade-out {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
    display: none;
  }
}

html {
  margin: 0 !important;
}

a {
  color: var(--btn-primary-background-color);
}

a:hover {
  color: var(--btn-primary-background-color);
}

a.wp-block-button__link.has-text-color.has-link-color {
  border: 2px solid;
  padding: 0.375rem 0.75rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

a.wp-block-button__link.has-text-color.has-link-color:hover {
  border: 2px solid var(--btn-primary-background-color);
  color: #fff !important;
  background-color: var(--btn-primary-background-color) !important;
}

.tooltip.show {
  opacity: 1 !important;
}

.single-product .tooltip-inner {
  background-color: var(--btn-primary-background-color);
}

.single-product .tooltip.bs-tooltip-right .tooltip-arrow::before {
  border-right-color: var(--btn-primary-background-color) !important;
}

.single-product .tooltip.bs-tooltip-left .tooltip-arrow::before {
  border-left-color: var(--btn-primary-background-color) !important;
}

.single-product .tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--btn-primary-background-color) !important;
}

.single-product .tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--btn-primary-background-color) !important;
}

.cursor-pointer {
  cursor: pointer;
}

.mb-100 {
  margin-bottom: 100px;
}

.collection-filter {
  z-index: 9999999 !important;
}

.sorting-lists-mobile li.checked:before {
  background: url("/wp-content/themes/kwpress/assets/img/checked.png");
  background-size: 200%;
  background-position: center;
}

.filter-widget .accordion-collapse.show.min-height-120 {
  min-height: 120px;
}

.filter-widget .accordion-collapse.show {
  max-height: 235px;
  overflow-y: scroll;
}

::-webkit-scrollbar-track {
  background: transparent;
  opacity: 0;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--btn-secondary-color);
  border-radius: 6px;
}

.announcement-bar {
  margin-top: 0px;
}

body.admin-bar .sticky-header {
  top: 32px !important;
}

body.admin-bar .announcement-bar {
  margin-top: 32px;
}

@media all and (max-width:782px) {
  body.admin-bar .sticky-header {
    top: 46px !important;
  }

  body.admin-bar .announcement-bar {
    margin-top: 46px;
  }
}

@media (max-width: 767px) {
  .announcement-bar {
    margin-top: 46px;
  }
}

@media all and (max-width:600px) {
  html {
    margin-top: -46px !important;
  }

  body.admin-bar .sticky-header {
    top: 0px !important;
  }

  body.admin-bar .announcement-bar {
    position: relative;
    top: 46px;
    margin-bottom: 46px;
  }

}

.announcement-call .announcement-text {
  position: relative;
  top: 2px;
}

.has-shortcode ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.slide-btn {
  background-color: var(--btn-secondary-color) !important;
}

.slide-btn:hover {
  background-color: var(--btn-primary-background-color) !important;
  color: var(--dark-color) !important;
}

.contact-item {
  min-height: 130px;
}

.wpsl-gmap-canvas {
  margin: 0;
}

.wpsl-search {
  margin-bottom: 0px;
  padding: 24px 24px 12px 24px;
  background: #b81f58;
  color: #fff;
}

#wpsl-wrap {
  margin-bottom: 0;
}

#wpsl-result-list li p,
.wpsl-direction-wrap {
  padding: 0 1rem;
}


.instagram-card.sbi_photo_wrap,
.instagram-img-wrapper.sbi_photo {
  height: 328px !important;
}

@media (max-width: 768px) {
  #wpsl-wrap {
    padding: 0 1rem;
  }

  .instagram-card.sbi_photo_wrap,
  .instagram-img-wrapper.sbi_photo {
    height: 260px !important;
  }
}

.btn-banner {

  width: 80%;

}

.pagination .link.current {
  color: var(--secondary-color);
}

.pagination a.link:hover {
  color: var(--secondary-color);
}

.grid-item.bg-hover:hover img {
  -webkit-filter: brightness(0.5);
  filter: brightness(0.5);
}

.modal {
  z-index: 99999999;
}

/* ---------------------------------------------
 * WooCommerce
 * --------------------------------------------- */
.woocommerce-form-login,
.woocommerce-form-register {
  border: none !important;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
}


.offcanvas {
  z-index: 999999 !important;
}

/* Button */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: #b81f58;
  color: #fff;
  font-weight: normal;
  padding: .618em 1em;
  border-radius: 3px;
  display: inline-block;
  border: 0;
  line-height: 1;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #ad1a45;
  color: #fff;
  font-weight: normal;
}

/* Active Filters */
.active-filters-container {
  background: #ad1a45;
  border-radius: 4px;
  padding: 40px;
  margin-top: 48px;
}

.kwpress-notice .woocommerce-info::before {
  color: #ad1a45;
}

.kwpress-notice .woocommerce-info {
  border-top-color: #f391be;
}

.kwpress-notice .woocommerce-error,
.kwpress-notice .woocommerce-info,
.kwpress-notice .woocommerce-message {
  background-color: #fff;
}


/* price */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #999;
  font-weight: bold;
}

.product-details .product-price.compare-price {
  color: var(--btn-primary-background-color) !important;
  font-weight: bold !important;
  letter-spacing: 1.5px !important;
}

#product-image-container .product-gallery {
  position: sticky;
  top: 150px;
}

.related-img-wrapper {
  width: 120px !important;
  min-width: 120px !important;
}

.message-popup svg.bi.bi-whatsapp {
  width: 28px;
  height: 28px;
  fill: #000;
}

.from-to-label {
  min-width: 40px;
  display: inline-block;
}

/* variations */
.variations label {
  margin-top: 0;
}

.related.product-card-title {
  padding: 0 30px;
}

/* Coupon */
#coupon_code {
  width: 129px;
}

/* Single product */
.product-gallery-vertical .product-img-large:has(.disabled) {
  width: 100%;
}

.woocommerce .quantity .qty {
  width: 4em
}

.woocommerce-page article {
  width: 100%
}

.woocommerce-product-gallery {
  padding: 0;
}

.header-action-item span {
  display: inline-block;
  position: absolute;
  height: 20px;
  width: 20px;
  line-height: 22px;
  border-radius: 5px;
  text-align: center;
  font-size: 12px;
  left: 40px;
  bottom: -10px;
  font-weight: 700;
  background: #b81f58;
  color: #fff;
}

#wishlist-count {
  opacity: 1;
  transform: scale(1);
  bottom: -8px;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

#wishlist-count.hide {
  transform: scale(0);
  opacity: 0;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
}

.select2-container .select2-selection--single {
  height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 30px;
}

.checkout_coupon {
  position: absolute;
  width: 100%;
  z-index: -1;
  background: rgb(207, 200, 216);
  top: -100px;
  display: none;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.checkout_coupon.active {
  top: -30px;
  z-index: 9;
  min-height: 100px;
  display: block !important;
}

.coupon-input {
  height: 100px;
}

.checkout-promo-code .woocommerce-error,
.checkout-promo-code .woocommerce-message {
  position: absolute;
  z-index: 10;
  width: 100%;
  top: -70px;
  cursor: pointer;
}

.checkout-bar li:not(.disabled):hover {
  cursor: pointer;
}

.checkout-bar li:not(.disabled):hover:before {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
}

@media (max-width: 768px) {
  .checkout_coupon.active {
    min-height: 220px;
  }

  .coupon-input {
    height: 180px;
  }

  table.shop_table_responsive thead,
  table.shop_table_responsive tr td.actions::before,
  table.shop_table_responsive tr td.download-actions::before,
  table.shop_table_responsive tr td.product-remove::before,
  table.shop_table_responsive.cart tbody th {
    display: none;
  }

  table.shop_table_responsive tr,
  table.shop_table_responsive tr {
    padding: 0.5rem;
    margin: 0.5rem auto;
  }

  table.shop_table_responsive td.cart-item-media.product-thumbnail::before {
    display: none;
  }

  table.shop_table_responsive td.cart-item-media.product-thumbnail {
    display: block;
    width: 100%;
  }

  table.shop_table_responsive td.cart-item-media.product-thumbnail .mini-img-wrapper {
    width: 100%;
  }

  table.shop_table_responsive td.cart-item-quantity {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
  }

  table.shop_table_responsive td.product-vendor,
  table.shop_table_responsive td.quantity input,
  table.shop_table_responsive td.product-price:not(th) {
    font-size: var(--body-font-size);
  }

  table.shop_table_responsive td.product-name p {
    display: inline-block;
    width: 100%;
  }

  table.shop_table_responsive #coupon_code,
  table.shop_table_responsive td.actions .coupon .input-text+.button {
    width: 100%;
    margin: 0.5rem 0;
  }

  .subtotal-value {
    text-align: right;
  }

  table.shop_table_responsive tr:nth-child(2n) td,
  table.shop_table_responsive tr:nth-child(2n) td {
    background-color: transparent !important;
  }

}



.woocommerce-bacs-bank-details,
.woocommerce-bacs-bank-details * {
  color: #ffffff;
}


.wc-bacs-bank-details-heading {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.woocommerce ul#shipping_method,
#add_payment_method #payment ul.payment_methods li,
.woocommerce-cart #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
  display: flex;
  flex-wrap: wrap;
}

.woocommerce ul#shipping_method li {
  display: flex;
  width: 100%;
}

#add_payment_method #payment ul.payment_methods li input,
.woocommerce-cart #payment ul.payment_methods li input,
.woocommerce-checkout #payment ul.payment_methods li input,
.woocommerce ul#shipping_method li input {
  margin: 0 0.4375em 0 0;
  vertical-align: middle;
  width: auto;
  height: auto;
}

#add_payment_method #payment ul.payment_methods li label,
.woocommerce-cart #payment ul.payment_methods li label,
.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce ul#shipping_method li label {
  margin-bottom: 0;
  width: auto;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
  display: flex;
  vertical-align: middle;
  align-items: center;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox input {
  margin: 0 10px 4px 0;
}

.hover-switch .primary-img,
.hover-switch .secondary-img {
  height: 300px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}

#filter-color .filter-label input:checked+.filter-checkbox:after {
  top: 8px;
}

.filter-color .filter-label.bianco-bg input:checked+.filter-checkbox:after {
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
}

.multicolor-bg {
  background: repeating-linear-gradient(90deg,
      #D50000,
      #AA00FF 6px,
      #2962FF 12px,
      #00C853 18px,
      #FFD600 24px,
      #FF6D00 30px) !important;
}

.leopardo-bg,
.leopardato-bg {
  background:
    radial-gradient(circle, #3F2204 20%, transparent 20%) 0em 51em,
    radial-gradient(circle, #3F2204 21%, transparent 21%) 67em 10em,
    radial-gradient(circle, #472b0e 20%, transparent 20%) 145em 0em,
    radial-gradient(circle, #3F2204 17%, transparent 17%) -8em 60em,
    radial-gradient(circle, #3F2204 20%, transparent 20%) 66em 21em,
    radial-gradient(circle, #472b0e 22%, transparent 22%) 120em 84em,
    radial-gradient(circle, #472b0e 18%, transparent 18%) -1em 155em,
    radial-gradient(circle, #3F2204 20%, transparent 20%) 71em 135em,
    radial-gradient(circle, #3F2204 20%, transparent 20%) 81em 140em,
    radial-gradient(circle, #d18c41 0%, #D19441 1000%);
  background-color: #D19441;
}

.zebra-bg,
.zebrato-bg {
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #000 10px, #000 20px);
}

.maculato-bg {
  background: radial-gradient(circle, #fff 30%, transparent 30%), repeating-radial-gradient(circle, #000 0, #000 2px, transparent 3px, transparent 5px);
  background-size: 30% 30%;
}

.filter-sizes .filter-lists {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-top: -12px;
}

.filter-sizes .filter-item {
  margin-left: 8px;
  margin-top: 12px;
  width: 60px;
  height: 40px;
}

.filter-sizes input:checked+.filter-label,
.filter-sizes input:checked+.filter-label span {
  background-color: var(--btn-primary-background-color);
  color: white !important;
}

.filter-sizes .filter-item:hover .filter-label {
  background-color: var(--btn-primary-background-color);
}

.filter-sizes .filter-item:hover .filter-label span {
  color: white !important;
}


@media (max-width: 768px) {
  .product-page.mt-100 {
    margin-top: 0;
  }

  .hover-switch .primary-img,
  .hover-switch .secondary-img {
    height: 150px;
  }
}

li.footer-menu-item .checkout-icon-list {
  margin: 0 auto;
}

li.footer-menu-item .checkout-icon-item {
  display: flex;
  width: 28px;
  height: auto;
  margin: 0 1px 0 -1px;
}

li.footer-menu-item a:has(.checkout-icon-list) {
  opacity: 1;
}

.img-large-wrapper img {
  max-height: 500px;
}


.woocommerce-form-login-toggle .woocommerce-info {
  background-color: #b81f58 !important;
  color: #fff;
  border-top-color: #f5d2e3;
}

.woocommerce-form-login-toggle .woocommerce-info a {
  color: #fff;
}

.woocommerce-form-login-toggle .woocommerce-info::before {
  color: #f5d2e3;
  content: '\e03a';
}

/* ---------------------------------------------
 * Responsive Rules
 * --------------------------------------------- */


/** ---------------------------------------------
 * Desktop
 * --------------------------------------------- */
@media (min-width: 1023px) {}


/** ---------------------------------------------
 * Tablet
 * --------------------------------------------- */
@media (max-width: 998px) {}

/** ---------------------------------------------
 * Smarthphone
 * --------------------------------------------- */
@media (max-width: 767px) {}


/* ---------------------------------------------
 * WordPress Default Styles
 * --------------------------------------------- */
