/* 7Rental / Conversion V3.1 — composants devis, déclinaison de la charte officielle.
   Feuille dédiée chargée APRES theme.css/custom.css. Compatible PS 1.7.4.0.
   Ne modifie pas les fonctionnalités JavaScript ni le module Roja45. */

/* Bloc commercial des pages catégories : aligné sur l'univers noir / orange 7Rental. */
body#category .category-quote-options-7r {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(235px, 0.9fr) !important;
  align-items: center !important;
  column-gap: 28px !important;
  row-gap: 20px !important;
  margin: 0 0 25px !important;
  padding: 25px 28px !important;
  color: #ffffff !important;
  background: #1d1d1b !important;
  border: 1px solid #282826 !important;
  border-left: 4px solid #e6332a !important;
  border-radius: 3px !important;
  box-shadow: 0 9px 25px rgba(29, 29, 27, 0.10) !important;
}
body#category .category-quote-options-7r__content {
  min-width: 0 !important;
  max-width: none !important;
}
body#category .category-quote-options-7r__eyebrow {
  display: block !important;
  margin: 0 0 8px !important;
  color: #ff8765 !important;
  font-family: 'ITCAvantGardeGothicBold', Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
  line-height: 1.45 !important;
}
body#category .category-quote-options-7r h2 {
  margin: 0 0 9px !important;
  color: #ffffff !important;
  font-family: 'ITCAvantGardeGothicBold', Arial, sans-serif !important;
  font-size: clamp(18px, 1.7vw, 23px) !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}
body#category .category-quote-options-7r p {
  margin: 0 !important;
  color: #d9dada !important;
  font-family: Verdana, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
body#category .category-quote-options-7r__actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: 100% !important;
  flex: none !important;
}
body#category .category-quote-options-7r__actions a {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 11px 14px !important;
  border-radius: 3px !important;
  font-family: 'ITCAvantGardeGothicBold', Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  text-align: center !important;
  letter-spacing: 0.15px !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease !important;
}
body#category .category-quote-options-7r__primary {
  background: #e6332a !important;
  color: #ffffff !important;
  border: 1px solid #e6332a !important;
}
body#category .category-quote-options-7r__primary:hover,
body#category .category-quote-options-7r__primary:focus {
  background: #e84e1b !important;
  color: #ffffff !important;
  border-color: #e84e1b !important;
  transform: translateY(-1px);
}
body#category .category-quote-options-7r__secondary {
  color: #ffffff !important;
  background: transparent !important;
  border: 1px solid #888884 !important;
}
body#category .category-quote-options-7r__secondary:hover,
body#category .category-quote-options-7r__secondary:focus {
  color: #ffffff !important;
  background: #333330 !important;
  border-color: #eeeeea !important;
}
body#category .category-quote-options-7r__actions a:focus-visible,
.product-card-actions-7r .product-card-quick-quote-7r:focus-visible {
  outline: 2px solid #e6332a !important;
  outline-offset: 3px !important;
}

/* Cartes produits : les deux actions sont EMPILÉES, jamais côte à côte. */
.product-card-7r .product-card-actions-7r.roja45quotationspro_button_container,
.product-card-7r .product-card-actions-7r {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-top: auto !important;
  float: none !important;
}
.product-card-7r .product-card-actions-7r .product-card-quote-7r {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 10px 18px 10px 11px !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}
.product-card-7r .product-card-actions-7r .product-card-quick-quote-7r {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  flex: none !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 41px !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border: 1px solid #d2d2d0 !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  color: #242422 !important;
  font-family: 'ITCAvantGardeGothicBold', Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.15px !important;
  text-decoration: none !important;
  text-align: center !important;
  white-space: normal !important;
  transition: color .2s ease, border-color .2s ease, background .2s ease !important;
}
.product-card-7r .product-card-actions-7r .product-card-quick-quote-7r:hover,
.product-card-7r .product-card-actions-7r .product-card-quick-quote-7r:focus {
  color: #1d1d1b !important;
  border-color: #e6332a !important;
  background: #fff4f1 !important;
  text-decoration: none !important;
}
.product-card-7r .product-card-quick-quote-7r__symbol {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 0 19px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 19px !important;
  height: 19px !important;
  border-radius: 50% !important;
  background: #e6332a !important;
  color: #ffffff !important;
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.product-card-7r .product-card-quick-quote-7r__label {
  display: inline-block !important;
  min-width: 0 !important;
  color: inherit !important;
  font: inherit !important;
}

@media (max-width: 991px) {
  body#category .category-quote-options-7r {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    padding: 20px 18px !important;
  }
  body#category .category-quote-options-7r__actions {
    width: 100% !important;
  }
}
@media (max-width: 767px) {
  .product-card-7r .product-card-actions-7r .product-card-quote-7r {
    font-size: 9px !important;
    letter-spacing: 0 !important;
    padding: 9px 10px !important;
  }
  .product-card-7r .product-card-actions-7r .product-card-quote-7r::after {
    display: none !important;
    content: none !important;
  }
  .product-card-7r .product-card-actions-7r .product-card-quick-quote-7r {
    font-size: 9px !important;
    gap: 6px !important;
    padding: 9px 6px !important;
    min-height: 43px !important;
  }
  .product-card-7r .product-card-quick-quote-7r__symbol {
    width: 16px !important;
    height: 16px !important;
    flex-basis: 16px !important;
    font-size: 10px !important;
  }
}
@media (max-width: 390px) {
  .product-card-7r .product-card-actions-7r .product-card-quick-quote-7r {
    font-size: 8px !important;
    letter-spacing: 0 !important;
  }
}
