.elementor-1786 .elementor-element.elementor-element-47902af > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-1786 .elementor-element.elementor-element-47902af:not(.elementor-motion-effects-element-type-background), .elementor-1786 .elementor-element.elementor-element-47902af > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-secondary );}.elementor-1786 .elementor-element.elementor-element-47902af{border-style:solid;border-width:0px 0px 1px 0px;transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;z-index:2;}.elementor-1786 .elementor-element.elementor-element-47902af > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-icon-list .elementor-icon-list-item:not(:last-child):after{border-color:var( --e-global-color-text );}.elementor-widget-icon-list .elementor-icon-list-icon i{color:var( --e-global-color-primary );}.elementor-widget-icon-list .elementor-icon-list-icon svg{fill:var( --e-global-color-primary );}.elementor-widget-icon-list .elementor-icon-list-item > .elementor-icon-list-text, .elementor-widget-icon-list .elementor-icon-list-item > a{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-icon-list .elementor-icon-list-text{color:var( --e-global-color-secondary );}.elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-icon i{color:#000000;transition:color 0.3s;}.elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-icon svg{fill:#000000;transition:fill 0.3s;}.elementor-1786 .elementor-element.elementor-element-b95d62a{--e-icon-list-icon-size:14px;--icon-vertical-offset:0px;}.elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-item > a{font-family:"Inter", Sans-serif;font-size:13px;font-weight:400;}.elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-text{color:#000000;transition:color 0.3s;}.elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-icon i{color:var( --e-global-color-primary );transition:color 0.3s;}.elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-icon svg{fill:var( --e-global-color-primary );transition:fill 0.3s;}.elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-item:hover .elementor-icon-list-icon i{color:var( --e-global-color-primary );}.elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-item:hover .elementor-icon-list-icon svg{fill:var( --e-global-color-primary );}.elementor-1786 .elementor-element.elementor-element-5ea30ca{--e-icon-list-icon-size:14px;--icon-vertical-offset:0px;}.elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-item > a{font-family:"Inter", Sans-serif;font-size:13px;font-weight:400;}.elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-text{color:#000000;transition:color 0.3s;}.elementor-1786 .elementor-element.elementor-element-bdde69c > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-1786 .elementor-element.elementor-element-8ef57ec{margin-top:50px;margin-bottom:50px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1786 .elementor-element.elementor-element-705661d .elementor-heading-title{font-family:"Roboto", Sans-serif;font-weight:500;color:#000000;}.elementor-1786 .elementor-element.elementor-element-88cad14 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-weight:400;color:#000000;}.elementor-1786 .elementor-element.elementor-element-a97a61e{margin-top:50px;margin-bottom:50px;}.elementor-1786 .elementor-element.elementor-element-dffd05d .elementor-heading-title{color:#000000;}.elementor-1786 .elementor-element.elementor-element-8701b13 iframe{filter:brightness( 100% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );}@media(max-width:1024px){.elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-item > a{font-size:12px;}.elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-item > a{font-size:12px;}}@media(max-width:767px){.elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1786 .elementor-element.elementor-element-b95d62a .elementor-icon-list-item > a{font-size:11px;}.elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1786 .elementor-element.elementor-element-5ea30ca .elementor-icon-list-item > a{font-size:11px;}.elementor-1786 .elementor-element.elementor-element-167ad88{width:100%;}.elementor-1786 .elementor-element.elementor-element-8ef57ec > .elementor-container{max-width:506px;}.elementor-1786 .elementor-element.elementor-element-8ef57ec{padding:0px 0px 53px 0px;}.elementor-1786 .elementor-element.elementor-element-88cad14 .elementor-heading-title{font-size:19px;}.elementor-1786 .elementor-element.elementor-element-a97a61e{padding:0px 0px 50px 0px;}}@media(min-width:768px){.elementor-1786 .elementor-element.elementor-element-167ad88{width:100%;}.elementor-1786 .elementor-element.elementor-element-e2a907e{width:100%;}}@media(max-width:1024px) and (min-width:768px){.elementor-1786 .elementor-element.elementor-element-167ad88{width:88%;}}/* Start custom CSS for html, class: .elementor-element-ed23bcd */.step-box
{
  border: 1px solid #ddd;
  padding: 24px;
  border-radius: 15px;
  margin: 32px auto;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  max-width: 1400px;
  width: 100%;
}

.title-heading-box 
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.left-header
{
  display: flex;
  align-items: center;
  gap: 10px;
}

.left-header h4
{
  margin: 0;
  font-weight: 600;
  font-size: 1.2rem;
  color: #333;
  margin-top: 18px;
}

.previous-icon
{
  visibility: hidden;
}

.right-header .wrapper
{
  display: flex;
  align-items: center;
  gap: 15px;
}

.right-header input
{
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 220px;
  outline: none;
  background: #f7f8fa;
  transition: border-color 0.2s;
}

.right-header input:focus 
{
  border-color: #007bff;
}

.right-header button
{
  margin-top: 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 2px 6px;
  display: flex;
  align-items: center;
}

.type-box
{
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 18px;
  height: 200px;
}

.type-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 18px;
  cursor: pointer;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  width: 180px;
  min-width: 180px;
  flex: 1 1 200px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 30px;
  margin-left: 30px;
}

.type-item:hover {
box-shadow: 0 8px 24px rgba(0,0,0,0.14);
transform: translateY(-2px) scale(1.03);
}

.type-item-img img {
height: 60px;
margin-top: 30px;
margin-bottom: 10px;
display: block;
}

.type-item-content p {
margin: 0;
font-size: 1.09rem;
color: #222;
font-weight: 500;
}

.loader {
text-align: center;
margin: 18px 0;
color: #007bff;
font-size: 1.4rem;
}

@media (min-width: 767px) and (max-width: 1024px) {
  .step-1-box {
    /*max-width: 96vw;*/
    padding: 20px 24px;
    margin: 24px auto;
    border-radius: 14px;
  }

  .step-1-box .title-heading-box {
flex-wrap: wrap;
    margin-bottom: 22px;
  }
   Search area 
  .step-1-box .right-header .search-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left : 2px;
  }
  .step-1-box .right-header input {
    width: clamp(220px, 32vw, 320px);
    margin-top: 0;
  }
  .step-1-box .right-header button {
    margin-top: 0;
  }

   Cards: 2–3 per row depending on width 
  .step-1-box .type-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px 20px;
    justify-items: stretch;
    align-items: stretch;
    height: auto; /* override fixed height from base */
    margin-top: 12px;
  }
  .step-1-box .type-item {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 16px;
  }
  .step-1-box .type-item-img img {
    height: 58px;
    margin-top: 14px;
  }
}

/* Phone: <= 767px */
@media (max-width: 767px) {
  .step-1-box {
    max-width: 100vw;
    padding: 12px 14px;
    margin: 16px auto;
    border-radius: 12px;
  }

  .step-1-box .title-heading-box {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
    display:flex;
  }

  .step-1-box .left-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-content: center;
    gap: 8px;
  }
  .step-1-box .left-header h4 {
    font-size: clamp(1rem, 4.6vw, 1.15rem);
    margin-top: 6px;
    align-items: center;
    justify-content: center;
  }
  /* Optional: show the back icon on phones */
  .step-1-box .previous-icon {
    visibility: visible;
  }

  /* Search area stacks nicely */
  .step-1-box .right-header .search-wrapper {
    display: flex;
    width: 100%;
    gap: 8px;
  }
  .step-1-box .right-header input {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    margin-top: 0;
    font-size: 0.96rem;
  }
  .step-1-box .right-header button {
    margin-top: 0;
  }

  /* Cards: single column, comfortable spacing */
  .step-1-box .type-box {
    display: flex;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    height: auto; /* override fixed height from base */
    margin-top: 8px;
  }
  .step-1-box .type-item {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px;
  }
  .step-1-box .type-item-img img {
    height: 52px;
    margin-top: 10px;
  }
  .step-1-box .type-item-content p {
    font-size: 1rem;
  }
}
  
/*           Brand Griiiiiiiiiid            */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 18px;
  padding: 22px 0;
}

.brand-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.brand-item:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.13);
  transform: translateY(-3px) scale(1.04);
}

.brand-img img {
  max-width: 80px;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

@media (max-width: 700px) {
  .brand-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
  }
  .brand-img img {
      max-width: 64px;
      max-height: 48px;
  }
}

/* Models */


#models-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  padding: 16px;
  place-items: center; /* This centers the items in the grid cells */
}

.model-widget-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Centers everything vertically in the card */
  padding: 18px 12px 12px 12px;
  transition: box-shadow 0.2s;
  cursor: pointer;
  width: 130px; /* Ensures the card has a fixed width for centering */
  min-height: 170px; /* Optional: gives enough height for image and name */
}

.model-widget-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.model-item-img {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 12px;
}

.model-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  padding: 5px;
}

.model-item-content {
  text-align: center;
  width: 100%;
  margin-top: 4px;
}

.model-item-content h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: #222;
  letter-spacing: 0.01em;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.model-item-content p.mmcode {
  display: none;
}

/* button charger plus */

#load-more-btn {
  display: block;
  margin: 30px auto 10px auto;
  padding: 12px 32px;
  background: linear-gradient(90deg, #3a86ff 0%, #8338ec 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 18px rgba(58, 134, 255, 0.19), 0 1.5px 8px rgba(131, 56, 236, 0.09);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  outline: none;
  position: relative;
  z-index: 1;
}

#load-more-btn:hover, #load-more-btn:focus {
  background: linear-gradient(90deg, #8338ec 0%, #3a86ff 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(58, 134, 255, 0.24), 0 3px 15px rgba(131, 56, 236, 0.12);
}

#load-more-btn:active {
  background: linear-gradient(90deg, #3a86ff 0%, #8338ec 100%);
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(58, 134, 255, 0.14), 0 1px 4px rgba(131, 56, 236, 0.08);
}

/* search button */

/* ...other styles... */

/* Modern classic header styles + beautiful search bar + dropdown */

.title-heading-box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 30px 16px 30px;
  /* background: linear-gradient(90deg, #e9ecef 0%, #f7fafc 100%); */
  border-radius: 20px 20px 0 0;
  box-shadow: 0 2px 18px rgba(90, 90, 130, 0.07);
  position: relative;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.left-header, .right-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.previous-icon, .back-btn {
  color: #3a86ff;
  font-size: 1.3rem;
  font-weight: 600;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(58, 134, 255, 0.08);
  padding: 6px 12px;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.previous-icon i, .back-btn i {
  vertical-align: middle;
}

.back-btn:hover, .previous-icon:hover {
  background: #e3ebff;
  color: #8338ec;
  box-shadow: 0 2px 8px rgba(131, 56, 236, 0.13);
}

.title-heading-box h4 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #252b3b;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(90, 90, 130, 0.06);
}

.title-heading-box h4 span {
  color: #3a86ff;
  font-weight: 700;
  background: linear-gradient(90deg, #3a86ff 0%, #8338ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
          text-fill-color: transparent;
  padding-left: 5px;
}

.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
}

.search-wrapper input[type="text"] {
  border: none;
  background: #fff;
  font-size: 1.08rem;
  padding: 7px 15px 7px 13px;
  border-radius: 12px 0 0 12px;
  outline: none;
  box-shadow: 0 1.5px 8px rgba(131, 56, 236, 0.09);
  width: 195px;
  color: #252b3b;
  transition: box-shadow 0.2s;
}
.search-wrapper input[type="text"]:focus {
  box-shadow: 0 2px 16px rgba(58,134,255,0.20);
}

.search-wrapper button {
  background: linear-gradient(90deg, #3a86ff 0%, #8338ec 100%);
  border: none;
  border-radius: 0 12px 12px 0;
  color: #fff;
  font-size: 1.12rem;
  padding: 7px 18px 7px 12px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 5px rgba(58,134,255,0.08);
}

.search-wrapper button:hover {
  background: linear-gradient(90deg, #8338ec 0%, #3a86ff 100%);
}

.search-results-box {
  position: absolute;
  top: 42px;
  left: 0;
  z-index: 11;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(58,134,255,0.14);
  max-height: 340px;
  overflow-y: auto;
  width: 100%;
  font-size: 1rem;
  display: none;
  min-width: 220px;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f2f6fc;
  font-weight: 500;
  color: #333;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background: #f0f4ff;
  color: #3a86ff;
}
.search-result-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  background: #f3f6fb;
  border: 1px solid #e3ebff;
}

/* Responsive */
@media (max-width: 700px) {
  .title-heading-box {
    flex-direction: column;
    gap: 10px;
    padding: 14px 8px 10px 8px;
  }
  .title-heading-box h4 {
    font-size: 1.25rem;
  }
  .search-wrapper input[type="text"] {
    width: 110px;
    font-size: 0.9rem;
  }
}


/* Reparation box  */



.reparation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 0 0;
  padding: 0 12px;
}

.reparation-item {
  background: linear-gradient(90deg, #3a86ff 0%, #8338ec 100%);
  color: #fff;
  border-radius: 18px;
  padding: 14px 28px;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(58,134,255,0.10), 0 1.5px 8px rgba(131,56,236,0.08);
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 6px;
}

.reparation-item:hover {
  background: linear-gradient(90deg, #8338ec 0%, #3a86ff 100%);
  transform: scale(1.04);
}

/* Autre button */


.autre-input {
  margin-top: 10px;
  width: 100%;
  padding: 12px 42px 12px 14px;  /* right padding = icon size + some spacing */
  font-size: 1.1rem;
  border-radius: 12px;
  border: 1.5px solid #3a86ff;
  box-shadow: 0 1px 8px rgba(58,134,255,0.08);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  display: block;
  box-sizing: border-box;  /* ensures padding doesn't overflow */
}

.autre-input:focus {
  border: 1.5px solid #8338ec;
  box-shadow: 0 2px 16px rgba(131,56,236,0.15);
}

#autre-input-box {
  position: relative;
  width: 100%;             /* full width so icon aligns with input's right edge */
  margin-top: 4px;
}

.autre-send-icon {
  position: absolute;
  top: 50%;
  right: 12px;             /* flush with input padding */
  transform: translateY(-50%);
  color: #3a86ff;
  font-size: 1.38rem;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s;
  padding: 3px;
  border-radius: 50%;
}

.autre-send-icon:hover {
  color: #8338ec;
  background: #f3f6fb;
}


/* Personnal Info */


.step-box.step-5 {
  padding: 36px 18px;
}
.personal-info-form {
  max-width: 1100px;
  margin: 0 auto;
}
.form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 7px;
}
.form-group input,
.form-group select {
  padding: 11px 12px;
  border-radius: 7px;
  border: 1.2px solid #dbe2ef;
  font-size: 1.08rem;
  margin-bottom: 2px;
}
.form-group input:focus,
.form-group select:focus {
  border-color: #3a86ff;
  outline: none;
}
.required {
  color: #e63946;
}
.confirm-btn {
  background: linear-gradient(90deg, #3a86ff 0%, #8338ec 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.18rem;
  padding: 13px 36px;
  font-weight: 600;
  cursor: pointer;
  margin: 18px auto 0 auto;
  display: block;
  transition: background 0.15s;
}
.confirm-btn:hover {
  background: linear-gradient(90deg, #8338ec 0%, #3a86ff 100%);
}
#thank-you-message {
  text-align: center;
  margin-top: 32px;
}



/* reparation new styling */

/* Professional repair cards */
#reparation-pricing-container {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 10px;
  padding: 6px 0 30px;
}

.repair-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6e9f2;
  border-radius: 16px;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow .25s, border-color .25s, transform .15s;
  overflow: hidden;
}

.repair-card:hover {
  box-shadow: 0 4px 18px -4px rgba(21,48,126,.08), 0 2px 6px -1px rgba(21,48,126,.05);
  border-color: #d2d9ee;
}

.repair-card.selected {
  border-color: #4d63ff;
  box-shadow: 0 0 0 3px rgba(77,99,255,.18);
}

.repair-card .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg,#2e7bff,#7f3dff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.repair-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.repair-card h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1f2532;
}

.repair-card .desc {
  font-size: 12.8px;
  line-height: 1.35;
  color: #5e6776;
  min-height: 34px;
}

.repair-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.repair-card .meta span {
  background:#f3f6fb;
  color:#3d4760;
  font-size:11.2px;
  font-weight:500;
  padding:4px 8px;
  border-radius:24px;
  display:inline-flex;
  align-items:center;
  gap:4px;
}

.repair-card .price-line {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.repair-card .price {
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(90deg,#276dff,#7a38ff);
  -webkit-background-clip:text;
  color: transparent;
}

.repair-card .price-range {
  font-size: 12px;
  color: #7a8495;
  font-weight: 500;
}

.repair-card .select-badge {
  position:absolute;
  top:10px;
  right:10px;
  background:#eef2ff;
  color:#3341b3;
  font-size:11px;
  letter-spacing:.3px;
  padding:4px 8px;
  border-radius:8px;
  opacity:0;
  transform:translateY(-4px);
  transition:.25s;
  font-weight:600;
}

.repair-card.selected .select-badge {
  opacity:1;
  transform:translateY(0);
}

.repair-card.other-card {
  border-style: dashed;
  background: #fbfcff;
}

.repair-card.other-card:hover {
  border-color:#b4c2ef;
}

.other-input-wrapper {
  display:flex;
  gap:8px;
  margin-top:4px;
}

.other-input-wrapper input {
  flex:1;
  border:1px solid #d8dfea;
  border-radius:10px;
  padding:10px 12px;
  font-size:13px;
  outline:none;
  transition:border-color .2s, box-shadow .2s;
}

.other-input-wrapper input:focus {
  border-color:#4d63ff;
  box-shadow:0 0 0 2px rgba(77,99,255,.2);
}

.other-input-wrapper button {
  background:linear-gradient(135deg,#2b76ff,#7c3eff);
  border:none;
  color:#fff;
  font-size:13px;
  font-weight:600;
  border-radius:10px;
  padding:0 16px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
  transition:background .25s, transform .15s;
}

.other-input-wrapper button:hover { filter:brightness(1.06); }
.other-input-wrapper button:active { transform:scale(.96); }

.pricing-note {
  margin: 4px 0 4px;
  font-size: 12.5px;
  color:#586071;
  line-height:1.4;
}

.pricing-note strong { color:#303747; }

.repair-card.other-card {
  min-width: 320px; /* or 340 / 360 */
  overflow: visible; /* just in case */
}
.other-input-wrapper input { min-width: 0; }
.other-input-wrapper button { flex-shrink: 0; }

/* =========================================================
   OTHER (Autre…) CARD – shared styling for brand & model
   ========================================================= */
   :root {
    /* Set this to the real fixed (or typical) inner height your brand/model card already has */
    --other-card-min-height: 140px; /* Change if your standard card is shorter/taller */
    --other-gradient: linear-gradient(135deg,#2b76ff,#7c3eff);
  }
  
  .other-option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: var(--other-card-min-height);
    background: #fff;
    border: 2px dashed #cdd5e4;
    border-radius: 20px;
    padding: 18px 18px 20px;
    cursor: pointer;
    transition: border-color .25s, background .25s, box-shadow .25s;
    box-sizing: border-box;
  }
  
  .other-option-card:hover,
  .other-option-card:focus {
    border-color: #8ba2c7;
    background: #f6f9ff;
    outline: none;
  }
  
  .other-option-card:active {
    transform: scale(.97);
  }
  
  .other-option-card .other-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--other-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
  }
  
  .other-option-card h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #212b3c;
  }
  
  .other-option-card p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.35;
    color: #546173;
    max-height: 3.2em; /* clamp-ish safeguard */
    overflow: hidden;
  }
  
  /* Editing (input) state inside the same fixed card box */
  .other-option-card.editing {
    border-style: solid;
    background: #ffffff;
    box-shadow: 0 4px 18px -4px rgba(24,53,110,.12), 0 2px 6px -1px rgba(24,53,110,.06);
  }
  
  .other-option-card.editing .display-state {
    display: none;
  }
  
  .other-option-card .edit-state {
    display: none;
    flex-direction: column;
    gap: 10px;
    height: 100%;
  }
  
  .other-option-card.editing .edit-state {
    display: flex;
  }
  
  /* Input block */
  .other-option-card .edit-top-text {
    font-size: 12px;
    line-height: 1.3;
    color: #415068;
    font-weight: 500;
  }
  
  .other-option-card .other-input-row {
    display: flex;
    gap: 6px;
    width: 100%;
  }
  
  .other-option-card .other-input-row input {
    flex: 1;
    border: 1px solid #c9d4e5;
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    min-width: 0;
    background: #fff;
  }
  
  .other-option-card .other-input-row input:focus {
    border-color: #4d63ff;
    box-shadow: 0 0 0 2px rgba(77,99,255,.25);
  }
  
  .other-option-card .other-input-row button {
    border: none;
    background: var(--other-gradient);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 0 14px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: filter .25s, transform .15s;
    white-space: nowrap;
  }
  
  .other-option-card .other-input-row button:hover {
    filter: brightness(1.08);
  }
  
  .other-option-card .other-input-row button:active {
    transform: scale(.95);
  }
  
  .other-option-card .other-input-row .cancel-btn {
    background: #eef1f7;
    color: #37465b;
  }
  
  .other-option-card .other-input-row .cancel-btn:hover {
    filter: brightness(1.04);
  }
  
  /* (Optional) Smaller card variant if your brand cards are shorter */
  .brand-grid .other-option-card,
  .models-grid .other-option-card {
    /* inherit dimensions from grid item container if needed */
  }
  
  /* Accessibility focus ring override if needed */
  .other-option-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(60,120,255,.35);
  }
  
  /* Prevent grid height changes */
  .brand-grid .brand-item,
  .models-grid .model-widget-item {
    /* ensure items align; if you have explicit heights keep them */
    align-self: stretch;
  }
/* ///////////////////////// */


/* extra css */

/* === Autre card overlay panel (Option 2) === */
.other-card-wrapper {
  position:relative;
  overflow:visible;
}

.other-option-card {
  position:relative;
  overflow:visible;
  transition:box-shadow .25s ease, border-color .25s ease;
}

.other-option-card.editing {
  border-color:#4d63ff;
  box-shadow:0 4px 18px -4px rgba(24,53,110,.15), 0 2px 6px -1px rgba(24,53,110,.08);
}

/* Main floating panel */
.other-option-card.editing .edit-state {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:360px; /* adjust */
  max-width:calc(100vw - 48px);
  background:#fff;
  border:2px solid #4d63ff;
  border-radius:20px;
  padding:18px 20px 20px;
  box-shadow:0 14px 34px -10px rgba(30,55,110,.35), 0 6px 14px -4px rgba(30,55,110,.18);
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:50;
  animation:otherPanelFade .2s ease;
}

.other-option-card.editing .display-state {
  opacity:.18;
  pointer-events:none;
}

.other-option-card.editing .other-input-row {
  gap:8px;
}

.other-option-card.editing .other-input-row input {
  flex:1;
  min-width:0;
}

@keyframes otherPanelFade {
  from { opacity:0; transform:translate(-50%, -46%); }
  to { opacity:1; transform:translate(-50%, -50%); }
}

/* Backdrop */
.other-edit-backdrop {
  position:fixed;
  inset:0;
  background:rgba(35,48,78,.12);
  backdrop-filter:blur(1px);
  z-index:40;
  display:none;
}

.other-edit-backdrop.active { display:block; }











/*  */
@media (max-width:640px) {
  #reparation-pricing-container { grid-template-columns: 1fr 1fr; }
  .repair-card { padding:14px 14px 16px; }
  .repair-card .price { font-size:16px; }
}

@media (max-width:480px) {
  #reparation-pricing-container { grid-template-columns: 1fr; }
}/* End custom CSS */