

.mg-a,
.thumbs {
  margin: auto;
}
.prix-produit-div,
.t-c,
.ta-c {
  text-align: center;
}
.avis-produit.owl-carousel.owl-theme.owl-loaded.owl-drag .owl-nav.disabled {
  display: block !important;
}
.owl-stage {
  margin: auto;
  margin-top: 20px;
}

.thumbs {
  border: 1px solid #aaa;
  /*height:64px!important;
    width:auto!important*/
}
.lentille .picture {
  width: 30%;
}
.p-r-8 {
  position: relative;
  top: +8px;
}
.images-taille {
  display: block;
  height: 115px;
}

.desc-btn {
  display: block;
  min-height: 50px;
  margin-top: 20px;
  font-size: 17px;
}

.choix-table {
  margin-left: -5px;
  margin-right: -5px;
}
.choix-table h5 {
  font-size: 18px;
  margin-bottom: 20px;
}

.choix-table-btn {
  height: 34px;
  border: 2px solid #7c974e;
  background: #91b356;
  color: #fff;
  margin: 10px 10px 0px 0px;
  font-size: 18px;
}

/*
.grisse-a-lentille-main:after,.grisse-a-main:after{
    display:block;
    background-color:red;
    content:"";
    height:3px;
    transform:rotate(45deg);
    position:absolute
}*/
.images-taille img {
  width: 40%;
}
.grisse-images-main {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.grisse-a-main a::after {
  content: "";
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><path d='M1 0 L0 1 L99 100 L100 99' fill='red' /></svg>");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%, auto;
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/*
.grisse-a-main:after{
    width:50%;
    top:50%;
    left:20%
}
.grisse-a-lentille-main:after{
    width:15%;
    top:15%;
    left:5%
}*/
.btn-devis-icon,
.devis-icon-calc,
.btn-back-icon {
  position: relative;
  left: -5px;
}
h1 {
  font-size: 26px;
}
h3 {
  font-size: 20px;
}
.montage-complexe-div {
  margin-top: 10px;
}
.pd0 {
  padding: 0;
}
.add_cart button {
  background: #ff5e5e;
  border: none;
  padding: 7px;
  color: #fff;
  width: 100%;
}
.devis,
.montage {
  color: #fff !important;
  border: none;
}
.modal-body {
  clear: both;
  display: flow-root;
}
.btn-close-modal {
  padding: 5px 10px;
}
.btn-add-panier-complexe {
  background: #ff5e5e;
  padding: 5px 10px;
}
.montage {
  background: #91b356 !important;
}
.montage-marque {
  background: #1e3f6c !important;
}
.devis {
  background: #56b3b3 !important;
}
.c-b {
  clear: both;
  color: #000;
}
.dn {
  display: none;
}
.mg-t-15 {
  margin-top: 15px;
}
.d-flex {
  display: flex;
}
.btn-back-complexe {
  background: #1a1a1a !important;
  width: 33%;
  padding: 7px;
}
.btn-devis-complexe {
  background: #568fb3 !important;
  width: 33%;
  padding: 7px;
}
.btn-panier-complexe, .btn-panier-modal {
  background: #ff5e5e !important;
  width: 33%;
  padding: 7px;
  height: 34px;
}
.btn-close-complexe, .btn-close-modal {
  background: #3c3c3c !important;
  width: 33%;
  padding: 7px;
}
.negative {
  color: red;
}
.positive {
  color: green;
}
.prix-produit-div {
  clear: both;
  font-size: 1.2em;
}
.w121px {
  width: 121px;
}
.pd-t-15 {
  padding-top: 15px;
}
@media screen and (max-width: 767px) {
  .form-group,
  input,
  select {
    text-align: left !important;
  }
  .img-montage {
    display: table-cell;
  }
}

@media screen and (min-width: 770px) {
  .modal-dialog,
  .modal:before {
    display: inline-block;
    vertical-align: middle;
  }
  .modal {
    text-align: center;
    padding: 0 !important;
  }
  .modal:before {
    content: "";
    height: 100%;
    margin-right: -4px;
  }
  .modal-dialog {
    text-align: left;
    width: 737px !important;
  }
}
.prix-barre {
  text-decoration: line-through;
  font-size: 30px;
  font-weight: 700;
}
.pricing {
  color: #91b356;
}

.dropdown-lens {
  position: relative;
  display: inline-block;
  width: 320px;
}

.dropdown-lens span {
  height: 50px;
  background: lightblue;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border: 1px solid #aaaae3;
}

.dropdown-lens .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  max-height: 200px;
  overflow-y: scroll;
}

.dropdown-lens .dropdown-content ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 15px;
}

.dropdown-lens .dropdown-content ul li input {
  display: flex;
  justify-content: center;
  align-self: center;
  align-items: center;
  margin: 0;
}
.dropdown-lens .dropdown-content ul li label {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0px 5px;
  margin: 0;
}

.dropdown-lens:hover .dropdown-content {
  display: block;
}

.thumbs img {
  width: 100%; /* S'adapte à la largeur du conteneur */
  max-height: 200px; /* Limite la hauteur */
  object-fit: contain; /* Maintient les proportions sans découper */
}

.small img {
  width: 100%; /* Remplit le conteneur */
  height: auto; /* Ajuste la hauteur proportionnellement */
  object-fit: contain; /* Préserve les proportions */
  border: 1px solid #ddd;
  border-radius: 5px; /* Coins arrondis */
}

.slider .items img {
  width: 100%; /* Remplit le conteneur */
  max-height: 500px; /* Limite la hauteur */
  object-fit: contain; /* Préserve les proportions */
  margin: 0 auto; /* Centre l'image dans son conteneur */
}
