@* {
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  margin-top: 0 !important;
  font-family: 'DM Sans', sans-serif;
}
body {
  max-width: 100%;
}
/* Blurred background */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* QUIZ CONTAINER */
/* ============================================
   FULL SCREEN MODAL
   ============================================ */
.quiz-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #8888;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-modal.show {
  opacity: 1;
  visibility: visible;
}

.quiz-modal-container {
  background: #fff;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.icon-bg {
  width: 400px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Close Button */
.modal-close-btn {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 18px;
  height: 18px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100;
}

/*.modal-close-btn:hover {*/
/*    background: #ea2025;*/
/*    color: #fff;*/
/*    transform: rotate(90deg);*/
/*}*/

/* ============================================
   3-STEP PROGRESS BAR - 3 HORIZONTAL LINES
   ============================================ */
.progress-steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  background: #1c1c1c;
  /*border-bottom: 1px solid #e8e8e8;*/
}

.progress-step-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 335px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffff;
  margin-bottom: 12px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.step-title.active {
  opacity: 1;
  visibility: visible;
  color: #ffff;
}

.progress-line {
  width: 100%;
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.progress-line.active {
  background-image: linear-gradient(45deg, #ff2a2f, #c91b1f);
}

/* ============================================
   QUIZ CONTAINER
   ============================================ */
.quiz-container-content {
  position: inherit;
  padding: 20px 40px;
  max-width: 1100px;
  margin: 0 auto;
  min-height: calc(100vh - 180px);
  z-index: 2;
}

/* Quiz Step Header */
.quiz-step-header {
  text-align: center;
  margin-bottom: 40px;
}

.quiz-step-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.quiz-step-header p {
  font-size: 20px;
  color: #666666;
  /*margin-bottom: 8px;*/
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Option Card */
.option-card {
  display: flex;
  background: #fff;
  border: 2px solid #cf2026;
  border-radius: 15px;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.option-card:hover {
  border-color: #cf2026;
  /*transform: translateY(-4px);*/
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.option-card.selected {
  border-color: #cf2026;
  background: #cf2026;
  position: relative;
}

.option-card.selected::before {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  background: #ea2025;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-icon-img {
  width: 75px;
  height: 60px;
  object-fit: contain;
  margin-right: 20px;
}
/*.option-card.selected .option-icon {*/
/*    background: #ea2025;*/
/*    color: #fff;*/
/*}*/

.option-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #cf2026;
  /*margin-bottom: 12px;*/
}

.option-card p {
  font-size: 14px;
  color: #cf2026;
  line-height: 1.3;
  /*margin-bottom: 12px;*/
}

.option-badge {
  display: inline-block;
  background: #f0f0f0;
  color: #888;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
}

.option-card.selected .option-badge {
  background: #ea2025;
  color: #ffff;
}
.option-card.selected p,
.option-card.selected h3 {
  color: #ffff;
}

/* Navigation Buttons */
.quiz-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  gap: 10px;
  /*border-top: 1px solid #e8e8e8;*/
}

.btn-back {
  padding: 8px 50px;
  background: transparent;
  border: 1.5px solid #565656;
  border-radius: 40px;
  color: #565656;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  color: #ffff;
  background: #565656;
}

.btn-next,
.btn-results {
  padding: 8px 32px;
  background-image: linear-gradient(45deg, #ff2a2f, #c91b1f);
  border: none;
  border-radius: 40px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-next {
  padding: 8px 50px;
}
.btn-next:hover,
.btn-results:hover {
  background: linear-gradient(45deg, #ff2a2f, #c91b1f);
  /*transform: translateY(-2px);*/
  box-shadow: 0 4px 12px rgba(234, 32, 37, 0.3);
}

.btn-next:disabled,
.btn-results:disabled {
  background: #565656;
  color: #ffff;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-restart {
  padding: 8px 28px;
  width: 180px;
  margin: 0 auto;
  margin-bottom: 20px;
  background: #666666;
  border-radius: 40px;
  color: #ffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-restart:hover {
  box-shadow: 0 4px 12px rgba(98, 97, 97, 0.3);
}

/* Results Header */
.results-header {
  text-align: center;
  margin-bottom: 32px;
}

.results-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
}

/*.results-header .brand-highlight {*/
/*    color: #ea2025;*/
/*}*/

.results-header p {
  font-size: 18px;
  color: #666666;
}

/* Result Tabs */
.result-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  /*border-bottom: 1px solid #e8e8e8;*/
}

.tab-btn {
  width: 100%;
  padding: 8px 28px;
  background: transparent;
  border: 1.8px solid #cf2026;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #cf2026;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.tab-btn.active {
  color: #ffff;
  background: #cf2026;
}

/*.tab-btn.active::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -1px;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 3px;*/
/*    background: #ea2025;*/
/*    border-radius: 3px 3px 0 0;*/
/*}*/

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   PRODUCT CAROUSEL
   ============================================ */
.product-carousel-container {
  position: relative;
  margin-bottom: 20px;
}

.product-carousel {
  overflow: hidden;
  position: relative;
}

.product-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.product-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #e5e5e5;
  border: 1px solid #e5e5e5;
  color: #fff;
  /*border-radius: 50%;*/
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  font-weight: bold;
}

.carousel-arrow:hover {
  background: #cf2026;
  border-color: #cf2026;
}

.carousel-arrow.prev {
  left: -20px;
}

.carousel-arrow.next {
  right: -20px;
}

/* Dot Indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  /*margin-top: 24px;*/
  padding: 16px 0;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  padding: 0;
}

.carousel-dot:hover {
  background: #ea2025;
  opacity: 0.7;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 10px;
  background: #ea2025;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-arrow.prev {
    left: -20px;
  }

  .carousel-arrow.next {
    right: -20px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 20px;
  }
}

/* Product Detail Card */
.product-detail-card {
  display: flex;
  gap: 32px;
  background: #ffff;
  box-shadow: 0 6px 12px rgb(117 116 116 / 20%);
  border-radius: 24px;
  padding: 32px;
  margin: 0 5px;
  margin-bottom: 32px;
}

.product-detail-image {
  flex-shrink: 0;
}

.product-detail-image img {
  width: 250px;
}

.product-detail-info {
  flex: 1;
}

.product-detail-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
}

.product-subname {
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-detail-description {
  font-size: 15px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
}

.spec-value.price {
  color: #ea2025;
  font-size: 20px;
}

.charging-note {
  margin-bottom: 24px;
  font-size: 14px;
  color: #000000;
}

.product-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-where-to-buy,
.btn-product-details {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-where-to-buy {
  background: #1a1a2e;
  color: #fff;
}

.btn-where-to-buy:hover {
  background: #ea2025;
}

.btn-product-details {
  background: #cf2026;
  border: 1.5px solid #cf2026;
  color: #ffff;
}

.btn-product-details:hover {
  box-shadow: 0 4px 12px rgba(234, 32, 37, 0.3);
}

/* Product List Grid */
.product-list-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.product-list-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffff;
  box-shadow: 0 10px 12px rgba(117, 116, 116, 0.3);
  border-radius: 20px;
  padding: 20px 24px;
  transition: all 0.2s ease;
}

.product-list-card:hover {
  transform: translateX(4px);
}

.product-list-card img {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-list-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
}

.product-list-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #383838;
  /*margin-bottom: 8px;*/
}

.product-list-specs {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333333;
}
/*.product-list-specs span {*/
/*    color*/
/*}*/

.product-list-specs .product-price {
  color: #cf2026;
  font-weight: 700;
  font-size: 17px;
}

.product-list-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.link-where-to-buy,
.link-product-details {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.link-where-to-buy {
  color: #1c1c1c;
  border-radius: 40px;
  padding: 8px 20px;
  border: 2px solid #1c1c1c;
}

.link-where-to-buy:hover {
  box-shadow: 0 4px 12px rgba(98, 97, 97, 0.3);
}

.link-product-details {
  color: #ffff;
  padding: 8px 20px;
  border: 1.5px solid transparent;
  background-image: linear-gradient(45deg, #ff2a2f, #c91b1f);
  border-radius: 40px;
}

.link-product-details:hover {
  /*transform: translateY(-2px);*/
  box-shadow: 0 4px 12px rgba(234, 32, 37, 0.3);
}

.results-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 24px 0;
  padding-top: 24px;
  text-align: center;
  gap: 15px;
}

.results-actions p {
  color: #666666;
}

/* Open Quiz Button */
.open-quiz-btn {
  color: #ea2025;
  border: none;
  font-size: 25px;
  font-weight: 600;
  cursor: pointer;
  /*transition: all 0.2s ease;*/
}

/*.open-quiz-btn:hover {*/
/*    background: #c41e22;*/
/*    transform: translateY(-2px);*/
/*}*/

/* Responsive */
@media (max-width: 768px) {
  .open-quiz-btn {
    font-size: 20px;
  }
  .progress-steps-container {
    padding: 30px 20px;
    gap: 6px;
  }

  .step-title {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .progress-line {
    height: 3px;
  }

  .progress-labels {
    padding: 0 20px 15px 20px;
    gap: 6px;
  }

  .progress-label {
    font-size: 10px;
  }

  /* Close Button */
  .modal-close-btn {
    right: 14px;
    top: 15px;
    width: 16px;
    height: 16px;
  }
  .icon-bg {
    width: 200px;
  }
  .quiz-container-content {
    padding: 40px;
    padding-top: 50px;
  }

  .quiz-step-header h2 {
    font-size: 24px;
  }

  .options-grid {
    /*grid-template-columns: 1fr;*/
    gap: 5px;
  }
  .options-grid-mb {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .option-card {
    padding: 17px;
    flex-direction: column;
    text-align: center;
    border-radius: 6px;
  }
  .option-card-mb {
    flex-direction: row;
    text-align: left;
  }
  .option-icon-img {
    margin: 0 auto;
    width: 50px;
  }
  .option-icon-img-mb {
    margin-right: 10px;
  }
  .option-card h3 {
    font-size: 16px;
  }
  .option-card p {
    font-size: 11px;
    line-height: 1.2;
    /*font-weight: 600;*/
  }

  .product-detail-card {
    flex-direction: column;
    padding: 20px;
  }
  .product-list-card img {
    width: 120px;
  }

  .product-specs {
    justify-content: center;
    text-align: center;
  }

  .spec-item {
    align-items: center;
  }

  .product-actions {
    justify-content: center;
  }

  .product-list-card {
    flex-direction: column;
    text-align: left;
  }

  .product-list-specs {
    justify-content: center;
  }

  .product-list-actions {
    justify-content: center;
    flex-direction: column;
  }

  .quiz-navigation {
    flex-direction: column;
    gap: 12px;
  }
  .tab-btn {
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 15px;
  }
  .btn-back,
  .btn-next,
  .btn-results {
    width: 50%;
    text-align: center;
  }
  .btn-next {
    padding: 8px 30px;
  }
  .results-actions {
    flex-direction: column;
  }
  .results-header h2 {
    font-size: 25px;
  }
  .results-header p {
    font-size: 16px;
  }
  .btn-restart {
    width: 50%;
    text-align: center;
  }
  .product-list-info {
    flex-direction: column;
  }
}
.modal .content-card a h2,
.modal .content-card h2 a {
  font-weight: 600 !important;
}
