/* =========================
   GLOW TIME - CALCULATEUR
   (repris à l'identique de glowtime.ch)
   ========================= */

#gt-laser-calculator {
  max-width: 1050px;
  margin: 30px auto;
  font-family: inherit;
  color: #151515;
}

#gt-laser-calculator * {
  box-sizing: border-box;
}

/* TITRE */
.gt-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 500;
}

.gt-subtitle {
  text-align: center;
  margin: 0 auto 30px;
  max-width: 680px;
  color: #666;
  line-height: 1.6;
}

/* FEMME / HOMME */
.gt-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.gt-tab {
  border: 1px solid #7b45ff;
  background: #fff;
  color: #7b45ff;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  transition: .2s ease;
}

.gt-tab.active {
  background: #7b45ff;
  color: white;
}

/* GRILLE */
.gt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.gt-zones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

/* CATEGORIE */
.gt-category {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: white;
}

.gt-category-title {
  background: #7b45ff;
  color: white;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
}

.gt-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background .15s ease;
}

.gt-zone:last-child {
  border-bottom: none;
}

.gt-zone:hover {
  background: #fafafa;
}

.gt-zone-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.gt-zone input {
  width: 18px;
  height: 18px;
  accent-color: #7b45ff;
  cursor: pointer;
  flex-shrink: 0;
}

.gt-zone-name {
  font-size: 14px;
}

.gt-zone-price {
  font-weight: 600;
  white-space: nowrap;
  font-size: 14px;
}

/* RECAP */
.gt-summary {
  position: sticky;
  top: 110px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 23px;
  box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.gt-summary h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

.gt-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 11px 0;
  font-size: 15px;
}

.gt-original-price {
  color: #777;
}

.gt-original-price.discounted {
  text-decoration: line-through;
}

.gt-divider {
  height: 1px;
  background: #e7e7e7;
  margin: 18px 0;
}

.gt-final-label {
  font-size: 14px;
  margin-bottom: 3px;
}

.gt-final-price {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 700;
  color: #7b45ff;
}

.gt-per-session {
  font-size: 13px;
  color: #777;
}

.gt-saving {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.gt-message {
  margin-top: 15px;
  padding: 11px;
  border-radius: 7px;
  background: #f6f3ff;
  font-size: 13px;
  line-height: 1.45;
}

.gt-selected-list {
  margin-top: 18px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.gt-selected-list strong {
  color: #222;
}

.gt-reset {
  width: 100%;
  margin-top: 18px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 7px;
  padding: 10px;
  cursor: pointer;
  font-size: 13px;
}

.gt-reset:hover {
  background: #f7f7f7;
}

/* MOBILE */
@media (max-width: 900px) {
  .gt-layout {
    grid-template-columns: 1fr;
  }

  .gt-summary {
    position: relative;
    top: auto;
  }
}

@media (max-width: 650px) {
  .gt-zones {
    grid-template-columns: 1fr;
  }

  .gt-title {
    font-size: 21px;
  }

  .gt-tab {
    flex: 1;
    padding: 10px 15px;
  }
}
