/*
Theme Name: Tecnova Theme
Theme URI: 
Description: Thème enfant du thème Hello Elementor
Author: Tecnova
Author URI: https://tecnova.ca
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

.extand-svg-btn svg {
  transition: all 0.3s ease;
}
.extand-svg-btn:hover .elementor-button {
  padding-right: 20px !important;
}
.extand-svg-btn:hover svg {
  transform: scaleX(1.4) translateX(5px);
}
.avis-toggle-btn,
.avis-toggle-btn:focus {
  padding: 0;
  color: #d8ad54;
  background: transparent;
  font-size: 14px;
  box-shadow: none;
  border: none;
}
.avis-toggle-btn:hover {
  background: transparent;
  color: black;
  box-shadow: none;
}

/*CARTE PRODUIT*/
.prix-gras {
  font-size: 48px;
  font-weight: bold;
}
.prix-cenne {
  font-size: 28px;
}
.prix-barre {
  text-decoration: line-through;
  color: #888;
  font-size: 14px;
  display: block;
  line-height: 100%;
}

/* ICONE PANIER */
.custom-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.custom-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.custom-cart-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  color: black;
}
.custom-cart-icon svg:hover {
  fill: #d8ad54;
}
.custom-cart-icon svg:hover path,
.custom-cart-icon svg:hover circle {
  stroke: #d8ad54;
  fill: #d8ad54;
}

.custom-cart-count-wrapper {
  position: absolute;
  top: -1px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d92d20;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.custom-cart-count-wrapper.has-items {
  display: inline-flex;
}

/* INFO (bleu par défaut) */
/* SUCCESS */
.woocommerce-message {
  background-color: #d8ad54;
  border-top: 3px solid #d8ad54;
  color: #fff;
}

.woocommerce-message::before {
  color: #000;
}

/* INFO */
.woocommerce-info {
  background-color: #fff;
  border-top: 3px solid #d8ad54 !important;
  color: #000;
}

.woocommerce-info::before {
  color: black;
}

/* ERROR */
.woocommerce-error {
  background-color: #d8ad54;
  border-top: 3px solid #d8ad54;
  color: #fff;
}
.woocommerce-Button.wc-forward.button {
  color: #fff !important;
  background-color: #d8ad54;
}

.woocommerce-error::before {
  color: black;
}

/* PRODUCT FIELD GARANTIE */
.wapf-field-container.wapf-field-radio .wapf-radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.wapf-field-container.wapf-field-radio .wapf-checkable {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 20px 16px;
  cursor: pointer;
  background: #fff;
  transition: all 0.25s ease;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wapf-field-container.wapf-field-radio .wapf-checkable:hover {
  border-color: #d8ad54;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.wapf-field-container.wapf-field-radio .wapf-input {
  display: none;
}

.wapf-field-container.wapf-field-radio .wapf-label-text {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  text-align: center;
}

.wapf-field-container.wapf-field-radio .wapf-checkable.wapf-checked {
  border: 2px solid #d8ad54;
  background: rgba(216, 173, 84, 0.08);
  box-shadow: 0 12px 30px rgba(216, 173, 84, 0.12);
}

.wapf-field-container.wapf-field-radio .wapf-checkable.wapf-checked::after {
  display: none;
}

.wapf-field-container.wapf-field-radio .wapf-checkable:active {
  transform: scale(0.98);
}
.sg-garanties-wrapper {
  margin-top: 20px;
}

.sg-garanties-titre {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.sg-garanties-inclus {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #ecfdf3;
  border: 1px solid #86efac;
  border-left: 4px solid #22c55e;
  border-radius: 10px;
}

.sg-garanties-inclus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.sg-garanties-inclus-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sg-garanties-inclus-content strong {
  color: #166534;
  font-size: 15px;
  font-weight: 700;
}

.sg-garanties-inclus-content span {
  color: #14532d;
  font-size: 14px;
  line-height: 1.4;
}

.sg-garanties-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sg-garantie-card {
  cursor: pointer;
}

@media (max-width: 768px) {
  .wapf-field-container.wapf-field-radio .wapf-radios {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 650px) {
  #map {
    width: 100% !important;
  }
}

@media screen and (max-width: 1710px) {
  .prix-gras {
    font-size: calc(1.5vw + 5px);
  }
  .prix-cenne {
    font-size: calc(1vw + 5px);
  }
}
@media screen and (max-width: 1350px) {
  .prix-gras {
    font-size: calc(2.5vw + 10px);
  }
  .prix-cenne {
    font-size: calc(1.8vw + 10px);
  }
}

@media screen and (max-width: 980px) {
  .prix-gras {
    font-size: 36px;
  }
  .prix-cenne {
    font-size: 24px;
  }
}
