/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 13 2026 | 09:49:45 */
/* ================================================
   RED3DLINE — PAGE DEVIS COMPLÈTE (page-id-1507)
   ================================================ */

/* ================================================
   FOND DE PAGE
   ================================================ */
body.page-id-1507 .page_content_wrap {
  background: #f5f5f7;
}
.woocommerce ul.products li.product .post_data .post_data_inner .added_to_cart, .woocommerce-page ul.products li.product .post_data .post_data_inner .added_to_cart {
    padding: 2vh !important;
	text-align: center;
}
/* ================================================
   CONTENEUR PRINCIPAL
   ================================================ */
body.page-id-1507 .content_wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

body.page-id-1507 .adf-request-quote-page {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e8e8ed;
  padding: 36px !important;
  margin-top: 24px !important;
  max-width: 100% !important;
}

/* ================================================
   TABLEAU PRODUITS
   ================================================ */
body.page-id-1507 table.addify-quote-form__contents,
body.page-id-1507 table.addify-quote-formcontents {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 32px !important;
}

/* --- En-têtes --- */
body.page-id-1507 table.addify-quote-form__contents thead th,
body.page-id-1507 table.addify-quote-formcontents thead th {
  background: #1d1d1f !important;
  color: #ffffff !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 14px 16px !important;
  text-align: center !important;
  vertical-align: middle !important;
  border: none !important;
}

body.page-id-1507 table.addify-quote-form__contents thead th.product-name,
body.page-id-1507 table.addify-quote-formcontents thead th.product-name {
  text-align: left !important;
}

body.page-id-1507 table.addify-quote-form__contents thead th:first-child,
body.page-id-1507 table.addify-quote-formcontents thead th:first-child {
  border-top-left-radius: 12px;
}

body.page-id-1507 table.addify-quote-form__contents thead th:last-child,
body.page-id-1507 table.addify-quote-formcontents thead th:last-child {
  border-top-right-radius: 12px;
}

/* --- Lignes tbody --- */
body.page-id-1507 table.addify-quote-form__contents tbody tr.cart_item,
body.page-id-1507 table.addify-quote-formcontents tbody tr.cart_item {
  border-bottom: 1px solid #f0f0f2 !important;
  transition: background 0.18s ease;
}

body.page-id-1507 table.addify-quote-form__contents tbody tr.cart_item:last-child,
body.page-id-1507 table.addify-quote-formcontents tbody tr.cart_item:last-child {
  border-bottom: none !important;
}

body.page-id-1507 table.addify-quote-form__contents tbody tr.cart_item:hover,
body.page-id-1507 table.addify-quote-formcontents tbody tr.cart_item:hover {
  background: #fafafa !important;
}

body.page-id-1507 table.addify-quote-form__contents tbody td,
body.page-id-1507 table.addify-quote-formcontents tbody td {
  padding: 16px !important;
  font-size: 0.88rem !important;
  color: #1d1d1f !important;
  vertical-align: middle !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
}

/* --- Masquer ligne "actions" (Mettre à jour) --- */
body.page-id-1507 table.addify-quote-form__contents tbody tr td.actions,
body.page-id-1507 table.addify-quote-formcontents tbody tr td.actions {
  display: none !important;
}

/* ================================================
   COLONNE — NOM PRODUIT
   ================================================ */
body.page-id-1507 td.product-name {
  text-align: left !important;
  font-weight: 600 !important;
}

body.page-id-1507 td.product-name a {
  color: #1d1d1f !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}

body.page-id-1507 td.product-name a:hover {
  color: #ff2b00 !important;
}

/* ================================================
   COLONNE — THUMBNAIL
   ================================================ */
body.page-id-1507 td.product-thumbnail img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid #e8e8ed !important;
  display: block;
  margin: 0 auto;
}

/* ================================================
   COLONNE — SUPPRIMER
   ================================================ */
body.page-id-1507 td.product-remove {
  width: 48px !important;
  padding: 10px !important;
}

body.page-id-1507 td.product-remove a.remove {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 auto !important;
  border-radius: 50% !important;
  background: #f5f5f7 !important;
  color: #6e6e73 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  border: 1.5px solid #e8e8ed !important;
  line-height: 1 !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
}

body.page-id-1507 td.product-remove a.remove:hover {
  background: #ff2b00 !important;
  color: #ffffff !important;
  border-color: #ff2b00 !important;
}

/* ================================================
   COLONNE — QUANTITÉ
   Structure réelle : label.screen-reader-text
                      input.input-text.qty
                      span.q_inc
                      span.q_dec
   ================================================ */

/* Masquer label screen-reader */
body.page-id-1507 td.product-quantity .quantity .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* Wrapper flex : [−] [input] [+] */
body.page-id-1507 td.product-quantity .quantity.inited {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  border: 1.5px solid #e8e8ed !important;
  border-radius: 8px !important;
  background: #f5f5f7 !important;
  overflow: hidden !important;
  width: auto !important;
	    min-width: 20%;
}

/* Ordre : q_dec → input → q_inc */
body.page-id-1507 td.product-quantity .quantity.inited .q_dec { order: 1 !important; }
body.page-id-1507 td.product-quantity .quantity.inited input.qty { order: 2 !important; }
body.page-id-1507 td.product-quantity .quantity.inited .q_inc { order: 3 !important; }

/* Input — masquer spinners natifs */
body.page-id-1507 td.product-quantity input.input-text.qty {
  width: 44px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  padding: 8px 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
body.woocommerce-shop .woocommerce-pagination ul.page-numbers {
    min-height: 6vh!important;
}
body.page-id-1507 td.product-quantity input.input-text.qty::-webkit-inner-spin-button,
body.page-id-1507 td.product-quantity input.input-text.qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
  display: none !important;
}

/* Boutons +/- */
body.page-id-1507 td.product-quantity .quantity.inited .q_inc,
body.page-id-1507 td.product-quantity .quantity.inited .q_dec {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  min-height: 36px !important;
  cursor: pointer !important;
  color: #6e6e73 !important;
  background: transparent !important;
  border: none !important;
  font-size: 0 !important; /* masque tout contenu texte injecté par thème */
  transition: background 0.15s ease, color 0.15s ease !important;
  user-select: none;
}

body.page-id-1507 td.product-quantity .quantity.inited .q_dec::before {
  content: "−" !important;
  font-size: 1.1rem !important;
}

body.page-id-1507 td.product-quantity .quantity.inited .q_inc::before {
  content: "+" !important;
  font-size: 1.1rem !important;
}

body.page-id-1507 td.product-quantity .quantity.inited .q_dec::after,
body.page-id-1507 td.product-quantity .quantity.inited .q_inc::after {
  display: none !important;
  content: none !important;
}

body.page-id-1507 td.product-quantity .quantity.inited .q_inc:hover,
body.page-id-1507 td.product-quantity .quantity.inited .q_dec:hover {
  background: #e8e8ed !important;
  color: #1d1d1f !important;
}

/* ================================================
   CHAMPS CONTACT
   ================================================ */
body.page-id-1507 .afquotefields {
  width: 100% !important;
  border-top: 1px solid #e8e8ed !important;
  padding-top: 28px !important;
  margin-top: 0 !important;
}

body.page-id-1507 .afquotefields h2 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #1d1d1f !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: none !important;
}

body.page-id-1507 .quote-fields {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

body.page-id-1507 .adf-half-width {
  flex: 0 0 calc(50% - 8px) !important;
  width: calc(50% - 8px) !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-id-1507 .adf-full-width {
  flex: 0 0 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Label */
body.page-id-1507 .afquotefields label {
  display: block !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  margin-bottom: 6px !important;
}

/* Wrapper field — supprimer accent rouge du thème */
body.page-id-1507 .afquotefields .addify-option-field {
  border-left: none !important;
  padding-left: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

body.page-id-1507 .afquotefields .addify-option-field::before,
body.page-id-1507 .afquotefields .addify-option-field::after {
  display: none !important;
  content: none !important;
}

/* Inputs */
body.page-id-1507 .afquotefields input[type="text"],
body.page-id-1507 .afquotefields input[type="email"],
body.page-id-1507 .afquotefields input[type="number"],
body.page-id-1507 .afquotefields input[type="tel"],
body.page-id-1507 .afquotefields textarea,
body.page-id-1507 .afquotefields select {
  width: 100% !important;
  height: 44px !important;
  background: #f5f5f7 !important;
  border: 1.5px solid #e8e8ed !important;
  border-left: 1.5px solid #e8e8ed !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  font-size: 0.88rem !important;
  color: #1d1d1f !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, background 0.18s ease !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

body.page-id-1507 .afquotefields input[type="text"]:focus,
body.page-id-1507 .afquotefields input[type="email"]:focus,
body.page-id-1507 .afquotefields input[type="number"]:focus,
body.page-id-1507 .afquotefields input[type="tel"]:focus,
body.page-id-1507 .afquotefields textarea:focus,
body.page-id-1507 .afquotefields select:focus {
  border: 1.5px solid #ff2b00 !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
}

body.page-id-1507 .afquotefields textarea {
  height: auto !important;
  padding: 12px 14px !important;
  resize: vertical !important;
}

/* Placeholder */
body.page-id-1507 .afquotefields input::placeholder,
body.page-id-1507 .afquotefields textarea::placeholder {
  color: #b0b0b8 !important;
  font-size: 0.85rem !important;
}

/* ================================================
   BOUTON DEMANDER UN DEVIS
   ================================================ */
body.page-id-1507 button.addifycheckoutplacequote,
body.page-id-1507 input[type="submit"].addifycheckoutplacequote {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ff2b00 !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0 32px !important;
  height: 50px !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(255, 43, 0, 0.25) !important;
  transition:
    background 0.22s ease,
    transform 0.18s ease,
    box-shadow 0.22s ease !important;
  margin-top: 24px !important;
  float: none !important;
  text-decoration: none !important;
}

body.page-id-1507 button.addifycheckoutplacequote:hover,
body.page-id-1507 input[type="submit"].addifycheckoutplacequote:hover {
  background: #e02200 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(255, 43, 0, 0.35) !important;
}

/* Masquer bouton "Mettre à jour" */
body.page-id-1507 #afrfq_update_quote_btn,
body.page-id-1507 .afrfq_update_quote_btn {
  display: none !important;
}

/* ================================================
   TABLETTE — max 1024px
   ================================================ */
@media (max-width: 1024px) {
  body.page-id-1507 .content_wrap {
    padding: 0 24px 48px;
  }

  body.page-id-1507 .adf-request-quote-page {
    padding: 24px !important;
  }
}

/* ================================================
   MOBILE — max 767px
   ================================================ */
@media (max-width: 767px) {
  body.page-id-1507 .content_wrap {
    padding: 0 16px 36px;
  }

  body.page-id-1507 .adf-request-quote-page {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  body.page-id-1507 .adf-half-width {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  body.page-id-1507 td.product-thumbnail img {
    width: 48px !important;
    height: 48px !important;
  }

  body.page-id-1507 button.addifycheckoutplacequote {
    width: 100% !important;
  }
}
