.salon-reference,
.salon-curls {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.salon-reference legend,
.salon-curls legend {
  margin-bottom: 8px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
}

.salon-reference legend span,
.salon-curls legend span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
}

.salon-reference > p,
.salon-curls > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.salon-reference__choose {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--petrol);
  color: var(--petrol);
  background: #f4f9f8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.salon-reference__choose input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.salon-reference__choose:focus-within,
.salon-curl-choice input:focus-visible + span {
  outline: 2px solid var(--petrol);
  outline-offset: 4px;
}

.salon-reference > .salon-reference__help {
  margin-top: 9px;
  font-size: 10px;
}

.salon-reference__preview {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-top: 15px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.salon-reference__preview[hidden],
.salon-reference__retry[hidden] { display: none; }

.salon-reference__preview img {
  display: block;
  width: 100px;
  height: 120px;
  object-fit: contain;
  background: #f2f5f4;
}

.salon-reference__preview strong {
  display: block;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.5;
}

.salon-reference__preview button,
.salon-reference__retry,
.salon-curls__enlarge {
  padding: 4px 0;
  border: 0;
  color: var(--petrol);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.salon-reference > .salon-reference__status {
  margin: 10px 0 0;
  color: var(--ink);
}
.salon-reference__status:empty { display: none; }
.salon-reference > .salon-reference__status[data-state="success"] { color: #256255; }
.salon-reference > .salon-reference__status[data-state="error"] { color: #a52d24; }

.product-service-options .salon-curls__none {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-bottom: 10px;
  font-size: 11px;
  cursor: pointer;
}
.salon-curls input[type="radio"] { width: 16px; height: 16px; accent-color: var(--petrol); }
.salon-curls__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.salon-curl-choice { position: relative; min-width: 0; cursor: pointer; }
.salon-curl-choice input { position: absolute; z-index: 1; top: 8px; left: 8px; margin: 0; }
.salon-curl-choice__card {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
}
.salon-curl-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background-image: url("assets/salon-curl-guide-20260922.webp");
  background-size: 300% 100%;
  background-position: var(--curl-position, 0%) center;
  background-repeat: no-repeat;
  background-color: #e7edeb;
}
.salon-curl-choice__card > span:last-child { display: grid; gap: 4px; padding: 10px 9px; }
.salon-curl-choice__card strong { font-family: var(--font-display); font-size: 13px; line-height: 1.4; }
.salon-curl-choice__card small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.salon-curl-choice input:checked + span,
.salon-curl-choice__card[aria-pressed="true"] {
  border-color: var(--petrol);
  box-shadow: 0 0 0 1px var(--petrol);
  background: #f2f9f7;
}
.salon-curls__enlarge { margin: 12px 0 9px; }
.salon-curls > p { margin-bottom: 0; }

.salon-curl-dialog {
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.salon-curl-dialog__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.salon-curl-dialog__header .eyebrow { margin-bottom: 7px; }
.salon-curl-dialog__header h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; }
.salon-curl-dialog__header p:last-child { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.salon-curl-dialog__header .variant-dialog__close { flex: 0 0 auto; border: 1px solid var(--line); }
.salon-curl-dialog__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 25px 28px 28px; }
.salon-curl-dialog__choices button { cursor: pointer; }
.salon-curl-dialog__choices button:hover { border-color: var(--petrol); }
.salon-curl-dialog__choices button:focus-visible { outline: 2px solid var(--petrol); outline-offset: 4px; }
.salon-curl-dialog__choices .salon-curl-choice__card > span:last-child { padding: 16px; }
.salon-curl-dialog__choices strong { font-size: 16px; }
.salon-curl-dialog__choices small { font-size: 12px; }

@media (max-width: 600px) {
  .salon-curls__choices { gap: 7px; }
  .salon-curl-choice__card > span:last-child { padding: 9px 7px; }
  .salon-curl-choice__card small { font-size: 9px; }
  .salon-curl-dialog__header { padding: 20px; }
  .salon-curl-dialog__choices { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .salon-curl-dialog__choices .salon-curl-photo { max-height: none; }
}
