.pocket-ghost-section {
  padding: 4rem 0 5rem;
  background: radial-gradient(circle at top left, rgba(0, 200, 255, 0.08), transparent 55%);
}

.pghost-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pghost-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 200, 255, 0.12);
  color: #5fd4ff;
  margin-bottom: 0.8rem;
}

.pghost-title {
  font-size: 2.1rem;
  color: #f7f7ff;
  margin-bottom: 0.6rem;
}

.pghost-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: #a9b2c6;
}

/* Galerie */

.pghost-gallery {
  background: rgba(8, 12, 24, 0.9);
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid rgba(95, 212, 255, 0.2);
}

.pghost-gallery-main {
  border-radius: 1rem;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 55%);
}

.pghost-main-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.pghost-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pghost-thumb {
  border: 0;
  padding: 0;
  border-radius: 0.6rem;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  border: 1px solid transparent;
  flex: 1 1 0;
}

.pghost-thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}

.pghost-thumb.is-active {
  border-color: rgba(95, 212, 255, 0.9);
}

/* Panel infos produit */

.pghost-panel {
  background: radial-gradient(circle at top right, rgba(95, 212, 255, 0.12), rgba(5, 8, 18, 0.98));
  border-radius: 1.2rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(95, 212, 255, 0.25);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.65);
}

.pghost-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.pghost-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7a8498;
}

.pghost-price {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
}

.pghost-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #9be58a;
}

.pghost-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.pghost-dot-green {
  background: #46d369;
}

.pghost-alert {
  margin-bottom: 1.2rem;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pghost-alert-warning {
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: #ffd46a;
}

.pghost-alert-title {
  font-weight: 600;
}

.pghost-alert-text {
  opacity: 0.9;
}

.pghost-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.tp-btn-primary,
.tp-btn-ghost {
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tp-btn-primary {
  background: linear-gradient(120deg, #00c8ff, #ff3366);
  color: #ffffff;
}

.tp-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tp-btn-ghost {
  background: transparent;
  border-color: rgba(149, 181, 213, 0.5);
  color: #9fb5d0;
}

.pghost-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
  margin-bottom: 1.3rem;
}

.pghost-icon-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #a9b2c6;
}

.pghost-icon-item i {
  color: #5fd4ff;
}

/* Résumé */

.pghost-summary h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #f6f7ff;
}

.pghost-summary p {
  font-size: 0.95rem;
  color: #a9b2c6;
}

/* Détails bas */

.pghost-details-row {
  margin-top: 2.8rem;
}

.pghost-card {
  background: rgba(6, 10, 22, 0.95);
  border-radius: 1.1rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(58, 90, 130, 0.7);
  color: #c3cce0;
}

.pghost-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: #f3f4ff;
}

.pghost-card p {
  font-size: 0.94rem;
  margin-bottom: 0.55rem;
}

.pghost-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 0.9rem;
}

.pghost-feature h4 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
  color: #e4e8ff;
}

.pghost-feature p {
  font-size: 0.9rem;
  color: #aeb6cb;
}

/* Usage et FAQ */

.pghost-steps {
  margin: 0.5rem 0 0.8rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.pghost-steps li + li {
  margin-top: 0.3rem;
}

.pghost-usage-note {
  font-size: 0.9rem;
  color: #b5c0da;
}

.pghost-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.pghost-list li + li {
  margin-top: 0.25rem;
}

/* Responsive */

@media (max-width: 991.98px) {
  .pocket-ghost-section {
    padding-top: 3rem;
  }
  .pghost-panel {
    margin-top: 0.4rem;
  }
}

@media (max-width: 575.98px) {
  .pghost-title {
    font-size: 1.7rem;
  }
  .pghost-gallery {
    padding: 1.1rem;
  }
  .pghost-panel {
    padding: 1.3rem 1.1rem;
  }
}


/* Détails bas */

.pghost-details-row {
  margin-top: 2.8rem;
}

.pghost-card {
  background: rgba(6, 10, 22, 0.95);
  border-radius: 1.1rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(58, 90, 130, 0.7);
  color: #c3cce0;
}

/* Titre principal du bloc (Conception, Utilisation, etc.) */
.pghost-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #f3f4ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(95, 212, 255, 0.35);
  padding-bottom: 0.4rem;
}

/* Texte général des paragraphes */
.pghost-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
  color: #b8c2da;
}

/* Grille des petites rubriques "Deux compartiments", etc. */
.pghost-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
  margin-top: 1rem;
}

/* Sous titres de chaque petite rubrique */
.pghost-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #e4e8ff;
}

/* Texte des petites rubriques */
.pghost-feature p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #aeb6cb;
}

/* Usage et FAQ */

.pghost-steps {
  margin: 0.6rem 0 0.9rem;
  padding-left: 1.1rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: #b8c2da;
}

.pghost-steps li + li {
  margin-top: 0.35rem;
}

.pghost-usage-note {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #bfc8dd;
}

.pghost-faq h3 {
  /* profite de la même base que les autres titres mais un poil moins marqué */
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.pghost-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #b8c2da;
}

.pghost-list li + li {
  margin-top: 0.3rem;
}

/* Bloc media Pocket Ghost */

.pghost-media {
  background: rgba(8, 12, 24, 0.9);
  border-radius: 1.2rem;
  padding: 1.4rem 1.3rem 1.2rem;
  border: 1px solid rgba(95, 212, 255, 0.25);
}

/* Carousel */

.pghost-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pghost-carousel-viewport {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 60%);
  aspect-ratio: 4 / 6;        /* ratio fixe, responsive */
}

.pghost-carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides superposées avec effet de switch */

.pghost-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
}

.pghost-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.pghost-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;        /* image entière dans le cadre */
}

/* Dots */

.pghost-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.2rem;
}

.pghost-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(120, 136, 160, 0.5);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, width 0.2s ease, transform 0.2s ease;
}

.pghost-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, #00c8ff, #ff3366);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.pghost-dot.is-active {
  width: 22px;
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.35);
}

.pghost-dot.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.pghost-dot:hover {
  background: rgba(166, 193, 222, 0.9);
}

/* Responsive */

@media (max-width: 575.98px) {
  .pghost-media {
    padding: 1.1rem;
  }

  .pghost-carousel-viewport {
    aspect-ratio: 4 / 3.2;
  }
}
