/* v 1.5.0 */
/* aliges les elements du header */
#header .navbar.navbar-expand-lg.navbar-light{
  padding: 5px  !important;
}
#trigger_search_mobile{
  border: 0;
  background: none;
}
/* fix cartzilla */
.row {
  margin-left: 0;
  margin-right: 0;
}

.row .col {
  padding-left: 0;
  padding-right: 0;
}


html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}


.account-sidebar a{
  color: var(--body-color);
}
.account-sidebar a:hover{
  color: var(--primary);
}

#my-account .card-body a,
#my-account .card-body i{
  color: var(--body-color) !important;
}
#my-account .card-body:hover a,
#my-account .card-body:hover a p,
#my-account .card-body:hover .nav-link-style,
#my-account .card-body:hover i{
  color: var(--primary) !important;
}
.scroll_text p{
    margin-bottom: 0;
}
@media (max-width: 768px) {
  #_mobile_search{
    width: 100% !important;
  }
}

#product .product-tab-details{
  display: none;
}
#product .product-tab-details.show{
  display: block;
}

.comments-nb,
.comments-note {
  display: none !important;
}



.product-comment-list-item .comment-content .comment-buttons a{
  color: var(--primary) !important;
}
.product-comment-list-item .comment-content .comment-buttons a:hover{
  color: var(--primary) !important;
}
#product-comments-list-header, 
#product-comments-list, 
.comment-content {
  margin: 0 auto;
  text-align: center;
}

/* .product-comment-list-item{
  min-width: 500px;
  max-width: 100%;
} */
.burger-menu{
  font-size: 20px;
  color: #4b566b;
}

/* zoom loupe (custom lens, remplace Drift par une loupe circulaire) */
.cz-preview-item .cz-image-zoom-pane { display: none; }
.cz-preview-item img.cz-image-zoom { cursor: crosshair; }
.cz-zoom-lens {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  background-color: #fff;
  background-repeat: no-repeat;
  display: none;
  z-index: 20;
}
.cz-zoom-lens.active { display: block; }

/* #productTab — accordéon sur mobile, onglets sur desktop */
@media (max-width: 575.98px) {
  #productTab > ul.nav-tabs,
  #productTab > .tab-content { display: none; }
}
@media (min-width: 576px) {
  #productTab .accordion-mobile { display: none; }
}

/* Product question — bouton "Poser une question" / partagé avec "Ajouter au devis" */
.product-question-trigger,
#add-to-devis-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  background: #fff;
  color: #ff6b35;
  border: 1px solid #ffc7b3;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.product-question-trigger:hover,
#add-to-devis-btn:hover { background: #fff5ef; border-color: #ff6b35; color: #ff6b35; }
.product-question-trigger svg,
#add-to-devis-btn i { flex-shrink: 0; }

/* Product question — modal */
.product-question-modal .modal-dialog { max-width: 560px; }
.product-question-modal .modal-content { border-radius: 10px; border: 0; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.product-question-modal .modal-header { padding: 18px 20px 12px; border-bottom: 0; align-items: flex-start; }
.product-question-modal .modal-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: #101828; }
.product-question-modal .modal-title svg { color: #ff6b35; }
.product-question-modal__lead { margin: 0 20px 16px; color: #6a7282; font-size: 14px; }
.product-question-modal .modal-body { padding: 0 20px 4px; }
.product-question-modal__product {
  display: flex; gap: 12px; align-items: center;
  padding: 12px; margin-bottom: 18px;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px;
}
.product-question-modal__product-img {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.product-question-modal__product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-question-modal__product-name { font-weight: 600; color: #101828; font-size: 14px; line-height: 1.3; }
.product-question-modal__product-ref { font-size: 13px; color: #6a7282; margin-top: 2px; }
.product-question-modal__product-meta { font-size: 13px; color: #6a7282; }
.product-question-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-question-modal__field { margin-bottom: 14px; }
.product-question-modal__field label { display: block; font-size: 13px; font-weight: 500; color: #101828; margin-bottom: 6px; }
.product-question-modal__field .required { color: #ff6b35; }
.product-question-modal__field input,
.product-question-modal__field textarea {
  width: 100%; padding: 9px 12px; font-size: 14px;
  border: 0; border-radius: 6px; background: #fff;
  transition: box-shadow .15s ease;
}
.product-question-modal__field input:focus,
.product-question-modal__field textarea:focus {
  outline: 0; box-shadow: 0 0 0 3px rgba(255,107,53,.15);
}
.product-question-modal__field textarea { resize: vertical; min-height: 90px; }
.product-question-modal__uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-question-modal__upload-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px; background: #fff;
  border: 1px dashed #d1d5db; border-radius: 6px;
  font-size: 13px; color: #4b5563; cursor: pointer; margin: 0;
  text-align: center;
}
.product-question-modal__upload-btn:hover { border-color: #ff6b35; color: #ff6b35; }
.product-question-modal__filelist {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: flex; flex-direction: column; gap: 4px;
}
.product-question-modal__filelist li {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 10px; background: #f3f4f6; border-radius: 4px;
  font-size: 12px; color: #374151;
}
.product-question-modal__filelist-remove {
  background: none; border: 0; color: #6a7282; font-size: 18px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.product-question-modal__filelist-remove:hover { color: #ef4444; }
.product-question-modal__tip {
  margin-top: 14px; padding: 10px 12px;
  background: #eff6ff; border: 1px solid #dbeafe; border-radius: 6px;
  font-size: 13px; color: #1e3a8a;
}
.product-question-modal__feedback { margin-top: 12px; font-size: 13px; min-height: 0; }
.product-question-modal__feedback.is-success { color: #15803d; }
.product-question-modal__feedback.is-error { color: #b91c1c; }
.product-question-modal .modal-footer { padding: 14px 20px; border-top: 0; display: flex; gap: 10px; }
.product-question-modal__cancel {
  flex: 1 1 0; background: #fff; color: #101828;
  border: 1px solid #d1d5db; border-radius: 6px; padding: 10px;
}
.product-question-modal__submit {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #ff6b35; color: #fff; border: 0; border-radius: 6px; padding: 10px;
  font-weight: 500;
}
.product-question-modal__submit:hover:not(:disabled) { background: #e85c2a; }
.product-question-modal__submit:disabled { opacity: .7; cursor: not-allowed; }
.product-question-modal__submit-spinner svg { animation: azuralya-spin 1s linear infinite; }
.product-question-modal__schedule {
  text-align: center; padding: 0 20px 16px;
  font-size: 12px; color: #6a7282;
}

/* azuralya-products-section — bouton "Voir plus" */
.azuralya-products-section__load-more-wrapper {
  display: flex;
  justify-content: center;
  padding: 32px 0 16px;
}
.azuralya-products-section__load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 12px 28px;
  background: #fff;
  color: #101828;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.azuralya-products-section__load-more:hover:not(:disabled) {
  background: #F9FAFB;
  border-color: #D1D5DB;
}
.azuralya-products-section__load-more:disabled {
  cursor: not-allowed;
  opacity: .7;
}
.azuralya-products-section__load-more-spinner {
  display: inline-flex;
  animation: azuralya-spin 1s linear infinite;
}
