body {
  background-color: #ffffff;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
  justify-content: center;
}

/*
.left-column,
.right-column {
  flex: 1 1 400px;
  max-width: 600px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}*/


.titre {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.libelle {
  color: #666;
  font-size: 1em;
  font-weight: 500;
}

.en-stock {
  color: #01a736;
  font-size: 1em;
  font-weight: bold;
  display: block;        /* Permet à text-align de s’appliquer */
  text-align: right;     /* Aligne le texte à droite */
}

.valLivbelle {
  font-size: 1.1em;
  color: #000;
}

.left-column {
  flex: 1 1 400px;
  max-width: 600px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);

  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px; /* Fixe une hauteur raisonnable */
}

.img-detail {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: auto; /* ou 'crisp-edges' ou 'high-quality' selon le cas */
}


.remise {
  color: green;
  font-size: 1.2em;
  font-weight: bold;
}

.prixVente {
  font-size: 1.2em;
  font-weight: bold;
  color: #01a736;
}

.text-barred {
  color: #797878;
  text-decoration: line-through;
  text-decoration-color: red;
  font-size: 1.2em;
}

.rectangular-button,
.rectangular-epuise-button {
  width: 100%;
  height: 45px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rectangular-button {
  background-color: white;
  color: black;
  border: 2px solid #ccc;
}

.rectangular-button:hover {
  background-color: #333;
  color: white;
}

.rectangular-epuise-button {
 background-color: #f0f0f0; /* gris clair */
    color: #999;               /* texte gris */
  border: none;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

.remise-rectangle {
  background-color: #ff1493;
  color: #fff;
  width: 70px;            /* largeur fixe pour le cercle */
  height: 70px;           /* hauteur fixe pour le cercle */
  border-radius: 50%;     /* rend le badge parfaitement rond */
  font-size: 12px;
  font-weight: bold;
  display: flex;          /* pour centrer le contenu dans le cercle */
  align-items: center;    /* centre verticalement */
  justify-content: center;/* centre horizontalement */
  margin: auto;           /* centre le cercle dans son parent */
}


.prix-container {
  display: flex;
  justify-content: center;  /* Centre horizontalement */
  align-items: center;      /* Centre verticalement */
  /*flex-direction: column;   /* Empile les éléments verticalement */
  text-align: center;       /* Centre le texte à l'intérieur des éléments */
  gap: 8px;                 /* Espacement entre les éléments */
}

::ng-deep .input-simple {
  width: 60px;
  background-color: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s ease;
}

::ng-deep .input-simple:focus {
  border-color: #007bff;
  outline: none;
}

::ng-deep .p-inputnumber-button {
  background-color: #ffffff;
  border: 1px solid #d0d7de;
  color: #333;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

::ng-deep .p-inputnumber-button:hover {
  background-color: #e2e6ea;
}

.qte-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 150px;
  margin: auto;
}

.qte-input {
  text-align: center;
  width: 50px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fdfdfd;
}

.btn-qte {
  width: 36px;
  height: 36px;
  padding: 0;
  background-color: #fa4fc4 !important; /* rose */
  border: none;
  color: white;
  border-radius: 4px;

  &:hover:not(:disabled) {
    background-color:#ff1fb8 !important; /* rose foncé */
  }

  &:disabled {
    background-color: #f8bbd0 !important; /* rose très clair */
    opacity: 0.6;
  }
}



@media (max-width: 600px) {
  .qte-wrapper {
    gap: 0.25rem;
    max-width: 120px;
  }

  .btn-qte {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  .qte-input {
    width: 40px;
    height: 30px;
    font-size: 0.9rem;
  }
}



@media (max-width: 768px) {
  .titre {
    font-size: 1.0rem;
  }

  .libelle,
  .valLivbelle,
  .remise,
  .prixVente {
    font-size: 1.1em;
  }

  .text-barred {
    font-size: 1em;
  }

  .container {
    padding: 10px;
  }
  .en-stock {
    font-size: 0.9em;
  }

  .remise-rectangle {
    width: 40px;            /* largeur fixe pour le cercle */
    height: 40px;           /* hauteur fixe pour le cercle */
    
  }

  ::ng-deep .input-simple {
    width: 50px;

  }
}



.breadcrumb-discret {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  padding-left: 8px;
}

.lien-retour {
  color: #ff7aed;
  text-decoration: none;
  transition: color 0.2s;
}

.lien-retour:hover {
  text-decoration: underline;
  color: #005b9f;
}

.separateur {
  margin: 0 5px;
  color: #999;
}

.gamme-actuelle {
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
}

.icon-home {
  font-size: 1.3rem; /* ou 24px, 3rem selon la taille voulue */
}

/*
.img-detail {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}
*/


@media screen and (max-width: 480px) {
  .icon-home {
  font-size: 1rem; /* ou 24px, 3rem selon la taille voulue */
}

.gamme-actuelle {
  font-size: 0.8rem;
}
}


.qte-wrapper-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;

    width: 100%;
    justify-content: center;
}


.qte-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: 600;
}

.btn-qte {
    width: 36px;
    height: 36px;
    background-color: #fa4fc4;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-qte:hover {
    background-color: #ff1fb8;
}






