section[data-section-template="Item"] .all_page .item-main {
  width: 100%;
}

#item-title {
  max-width: 600px;
  font-size: 2.3em;
  font-weight: 700;
}

.item-ensemble .img_desc_flex {
    flex: 2;
    width: 100%;
    gap: 30px;
    flex-direction: column-reverse;
    justify-content: flex-end;
}
@media (max-width: 1079px) {
    .img_desc_flex {
      flex-direction: column-reverse;
    }
}

.img_desc_flex .all-pic .item-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

#myimage {
    max-width: 400px;
    width: auto;
    max-height: 320px;
    vertical-align: top;
}

.item-ensemble .all-pic {
  margin-right: 0;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
}

.item-ensemble .all-pic img {
  opacity: 0.5;
  margin: 0;
  border-radius: 15px;
  transition: opacity 0.2s ease-in-out;
}

.item-ensemble .all-pic img.active_tmb {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.item-ensemble .all-pic img:hover {
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.item-ensemble .description {
    flex: 3;
    padding-left: 0;
    max-width: 800px;
    width: 100%;
    margin: 0;
}

.item-ensemble .price {
    font-weight: 500;
}

#myhide {
    float: right;
    position: absolute;
    top: -100px;
    left: 300px;
    width: auto;
    height: 100%;
}

#free {
  color: red;
}


/* Begin price */
.border-box {
  padding: 20px;
  border: 0!important;
  margin-left: 0!important;
  position: relative;
}
.border-box .price-edit,
.border-box .price-fraction {
  font-weight: 700;
}
.border-box #new_value {
  height: 35px;
  width: calc(100% - 4px);
  border: 2px solid var(--border-grey);
  margin-bottom: 10px;
}
.border-box > div {
  border: 2px var(--black) solid!important;
  background: var(--lightgrey);
  position: relative;
  margin-left: 0;
  border-radius: var(--border-radius-el);
}
.border-box label {
    display: block;
    margin-bottom: 0;
    font-size: 14px;
}
.border-box #btn-wishlist {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 5;
}
.border-box .pick_list li {
    border-radius: var(--border-radius-el);
    border-width: 2px!important;
    border-color: var(--border-grey)!important;
    padding: 5px;
    min-width: 50px!important;
    min-height: 30px!important;
    width: auto!important;
    height: auto!important;
}
.border-box .pick_list .selected {
    background: var(--yellow);
}
.border-box .btn-panier,
.border-box .btn-buy {
    border-radius: var(--border-radius-el);
    width: 100%;
}
.border-box #add_to_cart,
.border-box #buy_now {
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}
.border-box .warning-text p {
    color: red;
    font-size: 14px;
    line-height: 1.3;
}

.border-box #options .pick_list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* End price */

/* Begin tabs */
#tabs-container {
  display: flex;
  margin-bottom: -2px;
}

#tabs-container .tab-button {
  cursor: pointer;
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid var(--white);
  border-top-left-radius: var(--border-radius-el);
  border-top-right-radius: var(--border-radius-el);
  font-weight: bold;
  border-bottom-color: var(--black);
  text-transform: uppercase;
}

#tabs-container .tab-button.active {
  display: block;
  border: 2px solid var(--black);
  border-bottom-color: var(--white);
  background: var(--white);
  border-bottom: 2px solid var(--white);
}

#memo,
#field_to_shows {
  display: block!important;
  border: 2px solid var(--black);
  padding: 15px;
  margin-top: 0!important;
}

#memo:not(.active),
#field_to_shows:not(.active) {
  display: none!important;
}

#memo.active,
#field_to_shows.active {
  display: block;
}
/* End tabs */


/* Begin breadcrup */
.breadcrumb-item+.breadcrumb-item:before {
    content: "/"!important;
}
/* End breadcrump */

@media (min-width: 1024px) {
  .border-box .button {
    width: 100%;
  }
}


#popUp {
  background-color: rgba(255, 255, 255, 0.8)!important;
  position: fixed!important;
}
#imgPopUp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}
#imgPopUp img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

#closePopUp {
  background-color: var(--yellow);
  color: var(--black);
  font-weight: 700;
}

/* Begin button */
.btn-el {
  display: inline-flex;
  padding: 5px 10px;
  width: fit-content;
  font-family: var(--font-family-title);
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-el)!important;
  outline: none;
  cursor: pointer;
  text-decoration: none!important;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.btn-el:hover {
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-arrow-svg {
  background: var(--gradient-blue);
  display: flex;
  width: 40px;
  height: 40px;
  padding: 13px 11px;
  justify-content: center;
  align-items: center;
}
.btn-arrow-svg-blue {
  background: var(--gradient-blue);
}
.btn-arrow-svg-white {
  background: var(--gradient-blue);
}
.btn-el.btn-light {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  box-shadow: var(--shadow);
}
.btn-el.btn-light:hover {
  background-color: #e9eefd;
}
.btn-el.btn-dark {
  background-color: var(--black);
  color: var(--white);
}
.btn-el.btn-arrow {
  padding: 5px 5px 5px 15p;
}
.btn-el.btn-dark:hover {
  background-color: var(--primary);
  color: var(--black);
}
.btn-el.btn-yellow {
  background-color: var(--primary);
  color: var(--black);
}
.btn-el.btn-yellow:hover {
  background-color: var(--black);
  color: var(--white);
}
/* End button */

/* Begin input number */
.border-box .item-quantity {
  position: relative;
}

.border-box .item-quantity input[type=number] {
  width: 100%;
  padding: 5px 30px; /* espace pour les boutons */
  box-sizing: border-box;
  -moz-appearance: textfield; /* Firefox : cache flÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¨ches natives */
}

.border-box .item-quantity input[type=number]::-webkit-inner-spin-button, 
.border-box .item-quantity input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; /* Chrome/Safari : cache flÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¨ches natives */
  margin: 0;
}

.border-box .item-quantity button {
  position: absolute;
  bottom: -5px;
  transform: translateY(-50%);
  width: 25px;
  height: 33px;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  padding: 0;
}

.border-box .item-quantity .minus-btn {
  right: 35px;
}

.border-box .item-quantity .plus-btn {
  right: 5px;
}
/* End input number */