.payment-error {
  margin: 18px 0 0;
  padding: 12px;
  border: 1px solid #b74b42;
  background: #b74b4217;
  color: #ffaaa2;
  font-size: 12px;
  line-height: 1.45;
}

.cta:disabled {
  cursor: wait;
  opacity: .65;
}

.back-action {
  margin-left: auto;
  padding: 12px 16px;
  border: 1px solid #625b55;
  background: transparent;
  color: #f4f1ed;
  font: 700 12px 'DM Sans', sans-serif;
  cursor: pointer;
}

.back-action:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.back-action + .cta {
  margin-left: 0;
}

.screen-back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 9px 12px;
  border: 1px solid #625b55;
  background: #151515;
  color: #f4f1ed;
  font: 600 11px 'DM Sans', sans-serif;
  cursor: pointer;
}

.screen-back:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.date-picker {
  display: block;
}

.booking-calendar-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.booking-calendar-head strong {
  text-align: center;
  font: 600 17px 'Oswald', sans-serif;
  text-transform: capitalize;
}

.booking-calendar-head button {
  height: 36px;
  border: 1px solid #48433f;
  background: #0b0b0c;
  color: #f4f1ed;
  font-size: 22px;
  cursor: pointer;
}

.booking-calendar-head button:disabled {
  color: #4d4946;
  cursor: not-allowed;
  opacity: .45;
}

.booking-calendar-weekdays,
.booking-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.booking-calendar-weekdays {
  margin-bottom: 7px;
  color: var(--muted);
  text-align: center;
  font: 9px 'DM Mono', monospace;
  text-transform: uppercase;
}

.calendar-date {
  display: grid;
  place-items: center;
  min-height: 43px;
  border: 1px solid #393533;
  background: #0b0b0c;
  color: #ddd8d1;
  font: 600 12px 'DM Sans', sans-serif;
  cursor: pointer;
}

.calendar-date:hover:not(:disabled) {
  border-color: var(--accent);
}

.calendar-date.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #17100c;
}

.calendar-date.unavailable {
  border-color: #262423;
  background: #080808;
  color: #4c4946;
  cursor: not-allowed;
  opacity: .55;
}

.calendar-date.other-month:not(.active) {
  opacity: .35;
}

.booking-limit {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.time:disabled {
  border-color: #262423;
  color: #4c4946;
  cursor: not-allowed;
  opacity: .5;
}

.no-times {
  width: 100%;
  margin: 8px 0 0;
  color: #d59387;
  font-size: 11px;
}

.service-details h4 {
  margin: 2px 0 14px;
  color: #f4f1ed;
  font: 600 14px 'Oswald', sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.service-details ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: service-step;
}

.service-details li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 9px;
  padding: 10px;
  border: 1px solid #302e2d;
  background: #090909;
  line-height: 1.4;
}

.service-details li b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #bd8c651c;
  color: var(--accent);
  font: 10px 'DM Mono', monospace;
}

.service-details li span {
  padding-top: 5px;
  color: #d8d2cb;
}

@media (max-width: 620px) {
  .service-details ol {
    grid-template-columns: 1fr;
  }
}

.option-picker {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 20px 4px 4px;
  border-top: 1px solid var(--line);
  cursor: default;
}

.option-picker-heading {
  position: relative;
  margin-bottom: 14px;
}

.option-picker-heading h3 {
  margin: 0;
  font: 600 22px 'Oswald', sans-serif;
  text-transform: uppercase;
}

.option-picker-heading > small {
  position: absolute;
  right: 0;
  bottom: 2px;
  color: var(--muted);
  font: 9px 'DM Mono', monospace;
  text-transform: uppercase;
}

.option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-card {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid #393533;
  background: #0b0b0c;
  cursor: pointer;
}

.option-card:hover,
.option-card.selected {
  border-color: var(--accent);
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-check {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #5b5550;
  color: transparent;
  font-size: 12px;
}

.option-card.selected .option-check {
  border-color: var(--accent);
  background: var(--accent);
  color: #17100c;
}

.option-card b,
.option-card small {
  display: block;
}

.option-card b {
  color: #f4f1ed;
  font-size: 12px;
}

.option-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.option-card strong {
  color: var(--accent);
  font: 600 16px 'Oswald', sans-serif;
  white-space: nowrap;
}

.summary-options {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 620px) {
  .option-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sticky-action:has(.back-action:not([hidden])) #sticky-copy {
    display: none;
  }
}

/* Galerie des réalisations */
.gallery img {
  height: 74px;
  filter: saturate(.9) contrast(1.04);
}

.gallery img:first-child,
.gallery img:last-child {
  grid-column: span 2;
}

.confidence {
  grid-template-columns: 160px 1fr;
}

.confidence .gallery {
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: none;
}

.confidence .gallery img,
.confidence .gallery img:first-child,
.confidence .gallery img:last-child {
  grid-column: auto;
  height: 145px;
}

@media (max-width: 760px) {
  .confidence .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .confidence .gallery img,
  .confidence .gallery img:first-child,
  .confidence .gallery img:last-child {
    height: 120px;
  }
}
