/**!
Theme Name:     ilcondizionatoreportatile
Theme URI:      https://www.ilcondizionatoreportatile.it
Template: neve
Author:         Ilcondizionatoreportatile
Author URI:     https://www.Ilcondizionatoreportatile
Description:    Child
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    Ilcondizionatoreportatile
*/
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 60px;
  right: 10px;
  z-index: 999;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: #333;
  color: #fff;
  place-items: center;
  transition: background 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
  line-height: 0;
  box-sizing: border-box;
}

#scrollTopBtn svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  position: relative;
  top: 12px;
  left: 12px;
}

#scrollTopBtn:hover {
  background: #000;
}

.wp-block-button a {
  text-decoration: none !important;
  font-size: larger;
}

/** Css Tabelle WP Money Click unificate e ottimizzate */
.dda-ribbon {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
}
.dda-ribbon-none {
  display: none;
}
.dda-ribbon-left {
  left: -5px;
  top: -5px;
}
.dda-ribbon-left span {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  top: 19px;
  left: -21px;
}
.dda-ribbon-right {
  right: -5px;
  top: -5px;
}
.dda-ribbon-right span {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  top: 19px;
  right: -21px;
}
.dda-ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  width: 100px;
  display: block;
  box-shadow: 0 3px 10px -5px rgb(0, 0, 0);
  position: absolute;
}
.dda-ribbon span::before, .dda-ribbon span::after {
  content: "";
  position: absolute;
  top: 100%;
  z-index: -1;
  border-bottom: 3px solid transparent;
}
.dda-ribbon span::before {
  left: 0;
  border-right: 3px solid transparent;
}
.dda-ribbon span::after {
  right: 0;
  border-left: 3px solid transparent;
}
.dda-ribbon-green span {
  background: linear-gradient(#9BC90D 0%, #79A70A 100%);
}
.dda-ribbon-green span::before {
  border-left: 3px solid #79A70A;
  border-top: 3px solid #79A70A;
}
.dda-ribbon-green span::after {
  border-right: 3px solid #79A70A;
  border-top: 3px solid #79A70A;
}
.dda-ribbon-green2 span {
  background: linear-gradient(#0E964A 0%, #0A6934 100%);
}
.dda-ribbon-green2 span::before {
  border-left: 3px solid #0A6934;
  border-top: 3px solid #0A6934;
}
.dda-ribbon-green2 span::after {
  border-right: 3px solid #0A6934;
  border-top: 3px solid #0A6934;
}
.dda-ribbon-blue span {
  background: linear-gradient(#2989d8 0%, #1e5799 100%);
}
.dda-ribbon-blue span::before {
  border-left: 3px solid #1e5799;
  border-top: 3px solid #1e5799;
}
.dda-ribbon-blue span::after {
  border-right: 3px solid #1e5799;
  border-top: 3px solid #1e5799;
}
.dda-ribbon-red span {
  background: linear-gradient(#FF0000 0%, #DB0000 100%);
}
.dda-ribbon-red span::before {
  border-left: 3px solid #DB0000;
  border-top: 3px solid #DB0000;
}
.dda-ribbon-red span::after {
  border-right: 3px solid #DB0000;
  border-top: 3px solid #DB0000;
}
.dda-ribbon-orange span {
  background: linear-gradient(#FF861C 0%, #F54E28 100%);
}
.dda-ribbon-orange span::before {
  border-left: 3px solid #F54E28;
  border-top: 3px solid #F54E28;
}
.dda-ribbon-orange span::after {
  border-right: 3px solid #F54E28;
  border-top: 3px solid #F54E28;
}
.dda-ribbon-purple span {
  background: linear-gradient(#AB5FB8 0%, #8C239E 100%);
}
.dda-ribbon-purple span::before {
  border-left: 3px solid #8C239E;
  border-top: 3px solid #8C239E;
}
.dda-ribbon-purple span::after {
  border-right: 3px solid #8C239E;
  border-top: 3px solid #8C239E;
}
.dda-ribbon-brown span {
  background: linear-gradient(#8A6152 0%, #704F43 100%);
}
.dda-ribbon-brown span::before {
  border-left: 3px solid #704F43;
  border-top: 3px solid #704F43;
}
.dda-ribbon-brown span::after {
  border-right: 3px solid #704F43;
  border-top: 3px solid #704F43;
}
.dda-ribbon-gray span {
  background: linear-gradient(#b0b0b0 0%, #808080 100%);
}
.dda-ribbon-gray span::before {
  border-left: 3px solid #808080;
  border-top: 3px solid #808080;
}
.dda-ribbon-gray span::after {
  border-right: 3px solid #808080;
  border-top: 3px solid #808080;
}

.dda-price-note-tooltip-block {
  position: relative;
  font-size: 12px;
  color: #555;
  cursor: help;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  margin-top: 4px;
}
.dda-price-note-tooltip-block .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 240px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  font-size: 12px;
  line-height: 1.4;
}
.dda-price-note-tooltip-block:hover .tooltip-text, .dda-price-note-tooltip-block:focus-within .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.dda-price-note-tooltip {
  font-size: 11px;
  text-decoration: underline;
  color: #777;
  margin-top: 2px;
  position: relative;
  cursor: help;
}
.dda-price-note-tooltip .dda-tooltip-text {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 5px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  line-height: 1.4;
}
.dda-price-note-tooltip:hover {
  text-decoration: none;
}
.dda-price-note-tooltip:hover .dda-tooltip-text {
  visibility: visible;
  opacity: 1;
}

.wpmoneyclick_product_no_discount {
  display: none;
}

.dda-product-table-m1 {
  max-width: 800px;
  margin: 30px auto;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border-radius: 10px;
  background-color: #fff;
  font-size: 14px;
  overflow: visible;
}

.dda-product-table-m1__inner {
  display: flex;
  flex-direction: column;
}

.dda-product-table-m1__footer {
  padding: 12px 15px;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-top: none;
  font-size: 13px;
  color: #666;
  text-align: right;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.dda-product-table-m1__inner > a:first-of-type {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.dda-row-m1-template-product-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  font-size: 14px;
  margin: 0 auto;
  max-width: 900px;
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: 15px;
}

.dda-row-m1-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.dda-row-m1-product-image {
  flex: 0 0 130px;
  text-align: center;
}
.dda-row-m1-product-image img {
  max-width: 120px;
  height: 100px;
  object-fit: contain;
}

.dda-row-m1-card-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dda-row-m1-product-title {
  margin-bottom: 5px;
}

.dda-row-m1-template-product-card-title {
  font-size: 18px !important;
  font-weight: bold;
  color: #333 !important;
  line-height: 1.3;
  display: block;
}

.dda-row-m1-description {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
.dda-row-m1-description p {
  margin-bottom: 8px;
}

.dda-row-m1-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 180px;
}

.dda-row-m1-footer-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dda-row-m1-product-discount {
  border-radius: 20px;
  padding: 5px 12px;
  min-width: 55px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.dda-row-m1-product-price {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.2;
}

.dda-row-m1-product-price span {
  font-size: 14px;
  font-weight: normal;
  margin-left: 3px;
  vertical-align: top;
}

.dda-row-m1-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background-color: #ff9900;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.dda-row-m1-cta .dda-row-m1-cta-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.dda-row-m2_template_product-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  max-width: 800px;
  position: relative;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  text-decoration: none;
  color: inherit;
}

.dda-row-m2-card-inner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
}

.dda-row-m2_product_image {
  flex: 0 0 130px;
  text-align: center;
}

.dda-row-m2_product_image img {
  max-width: 120px;
  height: 100px;
  object-fit: contain;
}

.dda-row-m2-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
}

.dda-row-m2_product_title {
  margin-bottom: 15px;
}

.dda-row-m2_template_product-card_title {
  font-size: 18px !important;
  font-weight: bold;
  color: #333 !important;
  line-height: 1.3;
  display: block;
}

.dda-row-m2_product_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dda-row-m2_product_discount {
  border-radius: 20px;
  padding: 5px 12px;
  min-width: 55px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.dda-row-m2_product_price {
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  position: relative;
}

.dda-row-m2_product_price span {
  font-size: 14px;
  font-weight: normal;
  margin-left: 3px;
  vertical-align: top;
}

@media only screen and (max-width: 700px) {
  .dda-row-m1-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .dda-row-m1-card-middle {
    align-items: center;
  }
  .dda-row-m1-footer-right {
    align-items: center;
  }
  .dda-row-m1-cta {
    width: 100%;
    justify-content: center;
  }
}
@media only screen and (max-width: 550px) {
  .dda-row-m2-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .dda-row-m2_product_image {
    flex: none;
    margin-bottom: 10px;
  }
  .dda-row-m2-card-content {
    align-items: center;
  }
  .dda-row-m2_product_footer {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}
