.options-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(47, 24, 10, 0.35);
  backdrop-filter: blur(2px);
}

.options-modal {
  width: min(440px, 100%);
  border-radius: 22px;
  background: #fffaf5;
  border: 1px solid rgba(143, 65, 12, 0.1);
  box-shadow: 0 24px 60px rgba(79, 35, 8, 0.2);
  padding: 22px;
}

.options-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.options-modal__eyebrow {
  margin: 0 0 4px;
  color: rgba(143, 65, 12, 0.55);
  font-size: 12px;
  font-family: Cailyne, Georgia, serif;
}

.options-modal__title {
  margin: 0;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
}

.options-modal__meta {
  margin: 6px 0 0;
  color: var(--color-secondary);
  font-size: 13px;
}

.options-modal__close {
  border: none;
  background: rgba(143, 65, 12, 0.06);
  color: var(--color-primary);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.options-modal__fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.options-modal__fieldset legend {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.options-modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.options-modal__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(143, 65, 12, 0.12);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.options-modal__chip.is-active {
  border-color: var(--color-primary);
  background: rgba(143, 65, 12, 0.06);
}

.options-modal__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.options-modal__check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(143, 65, 12, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  flex-shrink: 0;
}

.options-modal__chip.is-active .options-modal__check {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.options-modal__chip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-secondary);
  font-size: 14px;
}

.options-modal__chip-price {
  color: var(--color-primary);
  font-size: 12px;
}

.options-modal__preview {
  margin: 16px 0 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 15px;
}

.options-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.options-modal__cancel {
  border: 1px solid rgba(143, 65, 12, 0.15);
  background: transparent;
  color: var(--color-secondary);
  border-radius: 12px;
  padding: 10px 16px;
  font-family: inherit;
}

@media (max-width: 480px) {
  .options-modal-overlay {
    align-items: flex-end;
    padding: 0;
    place-items: end center;
  }

  .options-modal {
    width: 100%;
    max-height: min(92vh, 100%);
    overflow: auto;
    border-radius: 22px 22px 0 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .options-modal__actions {
    flex-direction: column-reverse;
  }

  .options-modal__actions .btn-primary,
  .options-modal__cancel {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }
}
