/* OT3D Print Calculator — aligné sur le langage visuel de la boutique
   (Jost, orange Furneta #FD8311, ardoise #313D4D, filets fins, rayon 2px) */

.ot3d-plc {
  border: 1px solid #e3e6ea;
  border-radius: 2px;
  background: #f8f8fa;
  padding: 16px;
  margin: 0 0 18px;
  font-family: Jost, sans-serif;
  color: #313d4d;
}

.ot3d-plc-group {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}

.ot3d-plc-group:last-of-type {
  margin-bottom: 0;
}

.ot3d-plc-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
  color: #313d4d;
  padding: 0;
  margin: 0 0 8px;
}

.ot3d-plc-seg,
.ot3d-plc-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ot3d-plc-opt {
  position: relative;
  margin: 0;
}

.ot3d-plc-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.ot3d-plc-opt span {
  display: block;
  border: 1px solid #bbcED5;
  background: #fff;
  border-radius: 2px;
  padding: 7px 14px;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ot3d-plc-opt span small {
  display: block;
  font-size: 0.72rem;
  color: #7a8699;
}

.ot3d-plc-opt input:checked + span {
  border-color: #fd8311;
  background: #fd8311;
  color: #fff;
}

.ot3d-plc-opt input:checked + span small {
  color: #fff;
}

.ot3d-plc-opt input:focus-visible + span {
  outline: 2px solid #313d4d;
  outline-offset: 1px;
}

/* Pastilles couleur */
.ot3d-swatch {
  position: relative;
  margin: 0;
  display: inline-block;
}

.ot3d-swatch[hidden] {
  display: none;
}

.ot3d-swatch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.ot3d-swatch i {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #bbcED5;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.ot3d-swatch input:checked + i {
  box-shadow: 0 0 0 2px #fd8311;
}

.ot3d-swatch input:focus-visible + i {
  outline: 2px solid #313d4d;
  outline-offset: 2px;
}

/* Récap prix */
.ot3d-plc-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e3e6ea;
  font-size: 0.95rem;
}

.ot3d-plc-summary strong {
  color: #fd8311;
  font-size: 1.12rem;
  font-weight: 600;
}

/* Pastille de couleur dans le panier / checkout */
.ot3d-plc-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
  box-shadow: 0 0 0 1px #bbcED5;
}

/* Prix « à partir de » dans les listes */
.ot3d-plc-from {
  font-size: 0.85em;
}
