/***** CALCULATEUR DE VOLUME *****/

.calculateur-volume {
  margin-top: 100px !important;
  margin-bottom: 100px !important;
}

.calculateur-volume h1 {
  margin-bottom: 80px;
}

.calculateur-volume ul {
  padding: 0;
}

.calculateur-volume > h1 {
  text-align: center;
}

.calculateur-volume-resume {
  display: flex;
  flex-direction: row;
  margin-bottom: 25px;
}

.calculateur-volume-resume > div {
  flex: 1;
}

.calculateur-volume-resume > div {
  flex: 1;
  background-color: #eee;
  margin-right: 25px;
  border-radius: 5px;
  padding: 15px;
}

.calculateur-volume-resume > div:last-of-type {
  margin: 0;
}

.calculateur-volume-resume .volume-total {
  font-size: 2rem;

  color: #f29400;

  text-align: center;
}

.calculateur-volume-resume .volume-total span {
  font-size: 1.5em;
}

ul.volume-details {
  max-height: 110px;

  overflow: scroll;

  padding-right: 20px;
}

ul.volume-details span::-moz-selection {
  background-color: transparent;
}

ul.volume-details span::selection {
  background-color: transparent;
}

ul.volume-details::-moz-selection {
  background-color: transparent;
}

ul.volume-details::selection {
  background-color: transparent;
}

.volume-details-item {
  display: flex;

  align-items: center;
}

.volume-details-item span {
  flex: 1;
}

.volume-details-item i {
  cursor: pointer;
}

.volume-total-container {
  display: flex;
}

.volume-total-container > * {
  flex: 1;
}

.volume-total-container ul {
  list-style: none;

  flex: 1;

  margin: 0 auto;
}

.calculateur-volume-choices {
  display: flex;

  flex-direction: column;

  font: icon;
}

.calculateur-volume-choices ul,
.calculateur-volume-choices ul li,
.calculateur-volume-choices ul li div.description {
  display: flex;

  flex-direction: column;

  list-style: none;

  flex-wrap: wrap;
}

.calculateur-volume-choices ul li,
.calculateur-volume-choices ul li div.description {
  align-items: center;

  justify-content: center;

  cursor: pointer;
}

.calculateur-volume-choices ul li div.description {
  flex-wrap: nowrap;

  flex: 1;
}

.calculateur-volume-choices ul li div.description .description-visual {
  display: flex;

  align-items: center;

  flex: 1;
}

/* Listing des catégories */

ul.categories-list {
  flex-direction: row;

  width: 100%;

  justify-content: space-between;

  border-top: 1px solid #f29400;

  border-bottom: 1px solid #f29400;

  background-color: rgba(242, 148, 0, 0.1);

  margin: 0;
}

ul.categories-list li {
  width: 120px;

  height: 120px;

  padding: 0 10px;

  color: #aaa;

  transition: all 0.1s ease;
}

ul.categories-list li:hover {
  font-weight: bold;

  color: #434451;
}

ul.categories-list li:hover i::before {
  font-weight: normal;
}

ul.categories-list li.active {
  font-weight: bold;

  border-bottom: 7px solid #f29400;

  color: #434451;
}

ul.categories-list li i::before {
  font-size: 3.5rem;

  margin: 0;
}

ul.categories-list li.active i::before {
  font-weight: normal;
}

ul.categories-list li span {
  font-size: 1.2em;

  padding: 5px 0;
}

/* Listing des objets */

.objects-container {
  margin: -10px;
}

ul.objects-list {
  flex-direction: row;

  display: none;

  justify-content: center;

  margin: 30px 0;

  min-height: 420px;
}

ul.active {
  display: flex;
}

ul.objects-list > li {
  position: relative;

  width: 120px;

  height: 120px;

  background-color: #eeeeee;

  margin: 10px;

  border-radius: 5px;

  color: black;
}

ul.objects-list > li div {
  flex-wrap: nowrap;
}

ul.objects-list > li i::before {
  font-size: 4rem;

  margin: 0;
}

ul.objects-list > li i.small::before {
  font-size: 3rem;

  margin: 0;
}

ul.objects-list > li i.medium::before {
  font-size: 3.5rem;

  margin: 0;
}

ul.objects-list > li .description span {
  margin: 0;

  text-align: center;

  padding-bottom: 5px;
}

ul.objects-list > li.activated {
  background-color: #f29400;
}

ul.objects-list > li.selected .description {
  color: #f29400;
}

ul.objects-list > li.activated .tools {
  display: flex;

  flex-direction: column;

  width: 100%;

  flex: 1;
}

.item-counter {
  position: absolute;

  width: 20px;

  height: 20px;

  top: -10px;

  right: -10px;

  background-color: #434451;

  color: white;

  border-radius: 50%;

  display: none;

  align-items: center;

  justify-content: center;

  font-size: 0.8em;
}

.tools,
ul.objects-list > li.activated .description {
  display: none;
}

.tools p {
  text-align: center;

  margin: auto 0;

  font-size: 1.2em;
}

.tools ul {
  display: flex;

  flex-direction: row;

  flex-wrap: nowrap;

  list-style: none;

  margin: 0;

  padding: 0;
}

.tools ul > li {
  flex: 1;

  background-color: #434451;

  color: white;

  text-align: center;

  padding: 10px 0;
}

.tools ul > li i.fa::before {
  font-size: 1.5rem;
}

.tools ul > li:hover {
  background-color: #7e8098;
}

.tools ul > li:first-of-type {
  border-bottom-left-radius: 5px;
}

.tools ul > li:last-of-type {
  border-bottom-right-radius: 5px;
}

.calc-info {
  text-align: center;

  font-size: 0.75em;

  color: #999;
}

/* Choix des boxes */

.box-prefered > div {
  display: flex;
}

.box-choice:not(.box-s),
.box-visual img:not(.box-s) {
  display: none;
}

.box-choice h3 {
  margin: 0 0 15px 0;

  font-size: 2em;
}

.box-visual img {
  width: auto;
  height: 150px;
  margin-right: 25px;
}

.box-description {
  display: flex;

  flex-direction: column;

  justify-content: space-between;

  flex: 1;
}

.box-description a.button {
  width: 100%;

  padding: 10px 0;
}

/* Ripple magic */

.ripple {
  position: relative;

  overflow: hidden;
}

.ripple:after {
  content: "";

  position: absolute;

  top: 50%;

  left: 50%;

  width: 5px;

  height: 5px;

  background: rgba(255, 255, 255, 0.5);

  opacity: 0;

  border-radius: 100%;

  transform: scale(1, 1) translate(-50%);

  transform-origin: 50% 50%;
}

.ripple > i {
  pointer-events: none;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);

    opacity: 1;
  }

  20% {
    transform: scale(25, 25);

    opacity: 1;
  }

  100% {
    opacity: 0;

    transform: scale(40, 40);
  }
}

.ripple.focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@media screen and (max-width: 1000px) {
  .calculateur-volume-resume {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .calculateur-volume-resume > div {
    margin-bottom: 25px;
    margin-right: 0;
  }

  .calculateur-volume-resume > div.box-prefered {
    margin-bottom: 25px;
  }
}


/* New CSS Zone Ryan 17/12/2025 */

.volume-details {
    margin: 16px 0;
    max-height: 170px !important;
}

.volume-details li {
    margin-bottom: 8px;
    padding: 10px 12px;
    background: #F4F5F6;
    border-radius: 12px;
}

.volume-details li span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.05em;
    color: #0F1B2E;
}

.volume-details li .item-count-calculator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    background: #0F1B2E;
    border-radius: 50%;
    color: white;
    font-size: 12px;
}

.calculateur-volume .calculateur-results-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: #FFFFFF;
}

.calculateur-volume .calculateur-results-container .calculateur-results-left {
  width: 50%;
  padding: 40px;
  border-right: solid rgb(221, 221, 221) 1px;
}

.calculateur-volume .calculateur-results-container .calculateur-results-left > span {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  letter-spacing: -0.05em;
  color: #0F1B2E;
}

.calculateur-volume .calculateur-results-container .calculateur-results-right {
  width: 50%;
  padding: 40px;
  border-left: solid rgb(221, 221, 221) 1px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.calculateur-volume .calculateur-results-container .calculateur-results-right > span {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  letter-spacing: -0.05em;
  color: #0F1B2E;
}

.calculateur-volume .calculateur-results-container .calculateur-results-right .volume-total {
  margin: 30px 0;
  font-style: normal;
  font-weight: 400;
  font-size: 61.8647px;
  line-height: 72px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: -0.05em;
  color: #0F1B2E;
}

.calculateur-volume .calculateur-results-container .calculateur-results-right .cta-section {
  display: flex;
  align-items: center;
  padding: 0px;
  gap: 30px;
  justify-content: center;
}

.calculateur-volume .calculateur-results-container .calculateur-results-right .cta-section > a {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.05em;
  text-decoration-line: underline;
  color: #0F1B2E;
}

.calculateur-volume .calculateur-results-container .calculateur-results-right .cta-section div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 22px;
  gap: 10px;
  background: #F09121;
  border-radius: 100px;
  text-align: center;
}

.calculateur-volume .calculateur-results-container .calculateur-results-right .cta-section div > a {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.05em;
  color: #FFFFFF;
}


@media screen and (max-width: 649px) {
  .calculateur-volume .calculateur-results-container {
    flex-direction: column;
  }

  .calculateur-volume .calculateur-results-container .calculateur-results-right,
  .calculateur-volume .calculateur-results-container .calculateur-results-left {
    width: 100%;
  }

  .calculateur-volume .calculateur-results-container .calculateur-results-left {
    padding: 40px 40px 20px 40px;
  }

  .calculateur-volume .calculateur-results-container .calculateur-results-right {
    padding: 20px 40px 40px 40px;
  }

  ul.volume-details {
    padding-right: 0;
  }
  
}