/*** 2007-2024 PrestaShop ** NOTICE OF LICENSE ** This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. ** DISCLAIMER ** Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. **  @author    PrestaShop SA <contact@prestashop.com> *  @copyright 2007-2024 PrestaShop SA *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0) *  International Registered Trademark & Property of PrestaShop SA ** Don't forget to prefix your containers with your own identifier * to avoid any conflicts with others containers.*/

/* Progress Bar Container */
.progress-bar-container {
  position: relative;
  width: 80%;
  z-index: 1;
  margin: 70px auto;
}

/* Progress Bar */
.progress-bar {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #f2f2f2;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
}

/* Segment Styles */
.segment {
  height: 100%;
}

.before-sailor,
.leia-to-wonder {
  width: 25%;
  background-color: #f1b300;
}

.sailor-to-leia,
.after-wonder {
  width: 25%;
  background-color: #001e62;
}

/* Level Positioning */
.level {
  position: absolute;
  bottom: -20px;
  font-size: 12px;
}

.sailor-moon {
  left: 30%;
}

.leia {
  left: 60%;
}

.wonder-woman {
  left: 80%;
}

/* Arrow Styles */
.arrow {
  position: absolute;
  top: 5px;
  z-index: 9999;
  transform: translateX(-50%);
  transition: left 0.3s ease;
}

.arrow-woman {
  position: absolute;
  width: max-content;
  top: -60px;
  transform: translateX(-40%);
  transition: left 0.3s ease;
}

/* Number of Dresses Styles */
.number-of-dresses {
  font-family: "Tartuffo", serif;
  font-size: 22px;
  margin: 16px auto 0 auto;
  left: 64px;
  width: max-content;
  text-align: center;
  top: -64px;
}

/* Arrow Woman Paragraph */
p.arrow-woman-p {
  font-family: "Tartuffo", serif;
  font-size: 20px;
  color: #001e62;
  margin: 0;
  position: absolute;
  left: 64px;
  width: max-content;
  top: -70px;
}

/* Popup Container */
#popup-container {
  position: fixed;
  top: 15%;
  padding: 0 35px;
  max-width: 50%;
  background-color: #fff;
  border-radius: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  overflow: visible;
}

/* Popup Styles */
.popup-container-wonder .popup-body {
  padding: 0;
}

.popup-container-wonder .popup-text {
  padding: 20px;
}

.popup-header {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: -webkit-fill-available;
}

.popup-header h2 {
  margin: 0;
  flex: 1;
  text-align: center;
}

.popup-header .close-popup {
  background: none;
  border: none;
  color: #011d62;
  font-size: 24px;
  cursor: pointer;
}

/* Popup Body */
.popup-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 16px;
  line-height: 1.6;
  color: #001e62;
  text-align: center;
  border-radius: 50px;
  padding: 20px;
  border: 6px solid #001e62;
}

/* Popup Text */
.popup-text {
  flex: 2;
  padding-left: 20px;
}

/* Popup Footer */
.popup-footer {
  padding: 15px;
  display: flex;
  justify-content: flex-end;
  background-color: #f2f2f2;
}

/* Popup Confirm Button */
.popup-footer .btn-confirm {
  padding: 10px 20px;
  background-color: #001e62;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.popup-footer .btn-confirm:hover {
  background-color: #003399;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Hero Text Styles */
.hero-text p {
  font-family: "Tartuffo", serif;
  font-size: 19px;
  font-weight: 500;
  color: #011d62;
  margin: 0;
}

.hero-text ul {
  list-style: disc !important;
  margin-top: 0 !important;
}

.hero-text li {
  border: none;
}

/* Reduction Button Styles */
.reduction-button {
  display: inline-block;
  padding: 10px 30px;
  background-color: #001f73;
  color: #ffd700 !important;
  border-radius: 40px;
  margin: 40px;
  font-size: 15px !important;
  border: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
  font-family: "Tartuffo", serif;
  letter-spacing: 2px;
  line-height: 1;
  font-weight: 100 !important;
}

/* Reduction Page Styles */
.reduction-page {
  text-align: center;
  padding: 20px;
  
  color: #001e62;
  margin-bottom: 150px;
}
#content.page-cms .reduction-page img {
  width: auto;
}
#content.page-cms:has(.reduction-page) {
  max-width: 100%;
}
.row:has(.reduction-page) {
  max-width: 100%;
}
.card-block.cart-title.custom-style {
  display: none;
}


/* Heroine Sections */
.heroine-sections {
  display: flex;
  margin-top: 40px;
  width: 80%;
  margin: auto;
  justify-content: space-around;
}

/* Heroine Styles */
.heroine {
  display: flex;
  background-color: #001e62;
  color: #ffd700;
  border-radius: 20px;
  width: 30%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

.heroine h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffd700;
}

.heroine p {
  display: inline-flex;
  font-size: 16px;
  margin-bottom: 0;
  color: #ffd700;
  font-family: "Tartuffo";
}

.heroine .heroine-text-titre {
  margin-bottom: 20px;
}

.heroine .heroine-text {
  padding: 10px;
}

.heroine img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Reduction Page Paragraph */
.reduction-page-p {
  width: 80%;
  font-size: 20px;
  margin: auto;
  font-family: "Tartuffo";
}

/* Sailor Moon Image */
.sailor-moon-img {
  max-width: max-content;
  margin: 0 0 -85px -160px;
}

/* Princesse Leia Image */
.princesse-leia-img {
  max-width: max-content;
  margin: -45px 0 -38px 0px;
}

/* Reduction Link */
li#reduction-link {
  order: 1;
}

/* Media Queries */
@media (max-width: 768px) {
  .number-of-dresses {
    font-size: 18px;
  }

  .popup-header {
    padding: 20px;
  }
}

@media (max-width: 1024px) {
  .heroine {
    width: 100%;
    margin: 20px auto;
  }

  .heroine-sections {
    flex-direction: column;
  }

  #popup-container {
    position: unset;
    max-width: 100%;
  }

  .popup-body {
    max-width: 100%;
    flex-direction: column;
    padding: 10px;
  }

  .popup-text {
    padding: 0;
  }

  .sailor-moon-img,
  .princesse-leia-img {
    max-width: 100%;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .sailor-moon img {
    max-width: 125%;
    margin-left: -60px;
    margin-bottom: -80px;
    height: 275px;
  }

  .princesse-leia img {
    height: 250px;
    margin-bottom: -8px;
  }

  .wonder-woman .heroine-image img {
    max-width: 100%;
    margin-bottom: -105px;
    height: 310px;
  }

  .reduction-page{
    margin-top: 20px;
  }
}

@media (min-width: 1281px) and (max-width: 1900px) {
  .princesse-leia-img {
    max-width: max-content;
    margin: -54px 0 -51px 0px;
  }

  #popup-container {
    max-width: 70%;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  /* Styles for large tablets or small laptops */
  #popup-container {
    max-width: 100%;
  }

  #popup-container.popup-container-sailor {
    max-width: 78%;
  }
}

@media (min-width: 1281px) and (max-width: 1440px) {
  /* Styles for laptops */

  #popup-container {
    max-width: 90%;
  }

  #popup-container.popup-container-sailor {
    max-width: 80%;
  }
}

@media (min-width: 1441px) {
  /* Styles for large screens */

  #popup-container {
    max-width: 74%;
  }

  .reduction-page-p {
    width: 60%;
  }

  .heroine-sections {
    width: 60%;
  }
}
