.lm-complete-room-packages {
  --lm-crp-primary: var(--wd-primary-color, #7a5740);
  --lm-crp-accent: color-mix(in srgb, var(--lm-crp-primary) 65%, #d5b08c 35%);
  --lm-crp-text: #ffffff;
  --lm-crp-card-bg: rgba(255, 255, 255, 0.18);
  --lm-crp-card-border: rgba(255, 255, 255, 0.35);
  --lm-crp-card-shadow: 0 20px 40px rgba(31, 24, 20, 0.25);
  --lm-crp-gap: 24px;
  background: linear-gradient(120deg, var(--lm-crp-primary), var(--lm-crp-accent), var(--lm-crp-primary));
  color: var(--lm-crp-text);
  padding: 36px 0 34px;
  position: relative;
  overflow: hidden;
}

.lm-complete-room-packages.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.lm-crp__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.lm-crp__header {
  text-align: center;
  margin-bottom: 28px;
}

.lm-crp__title {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--lm-crp-text);
}

.lm-crp__subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.lm-crp__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lm-crp-gap);
  margin-bottom: 20px;
}

.lm-crp-card {
  border-radius: 18px;
  padding: 26px 24px 28px;
  background: var(--lm-crp-card-bg);
  border: 1px solid var(--lm-crp-card-border);
  box-shadow: var(--lm-crp-card-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  min-height: 260px;
}

.lm-crp-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--lm-crp-text);
}

.lm-crp-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.lm-crp-card__price {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 6px;
}

.lm-crp-card__button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 26px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--lm-crp-primary);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(22, 18, 15, 0.2);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.lm-crp-card__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 18, 15, 0.25);
}

.lm-crp-card__button.is-disabled {
  opacity: 0.8;
  pointer-events: none;
}

.lm-crp__dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.lm-crp__dot {
  all: unset !important;
  box-sizing: border-box !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  max-width: 10px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.4) !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  display: inline-block !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  outline: none !important;
  line-height: 1 !important;
  font-size: 0 !important;
  transition: width 200ms ease, background-color 200ms ease;
}

.lm-crp__dot.is-active {
  width: 46px !important;
  height: 10px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
}

.lm-crp__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lm-crp__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.lm-crp__cta--primary {
  background: #ffffff;
  color: var(--lm-crp-primary);
  box-shadow: 0 12px 24px rgba(23, 18, 14, 0.24);
}

.lm-crp__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(23, 18, 14, 0.28);
}

.lm-crp__cta--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.lm-crp__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lm-crp__cta i {
  font-size: 16px;
}

.lm-crp__cta.is-disabled {
  pointer-events: none;
  opacity: 0.9;
}

.lm-crp__modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
}

.lm-crp__modal[hidden] {
  display: none;
}

.lm-crp__modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, 0.55);
}

.lm-crp__modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, calc(100vh - 48px));
  overflow-y: auto;
  background: #ffffff;
  color: #2b2622;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(20, 16, 12, 0.3);
  padding: 28px;
  z-index: 1;
}

.lm-crp__modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 12, 10, 0.08);
  color: #2b2622;
  font-size: 20px;
  cursor: pointer;
}

.lm-crp__modal-header h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.lm-crp__modal-header p {
  margin: 0 0 20px;
  color: #6c6761;
}

.lm-crp__modal-header {
  text-align: center;
}

.lm-crp-form {
  display: grid;
  gap: 18px;
}

.lm-crp-form__field {
  display: grid;
  gap: 10px;
}

.lm-crp-form__field label {
  font-weight: 600;
  color: #3b2f27;
}

.lm-crp-form__field label span {
  color: #b58b54;
}

.lm-crp-form__field input,
.lm-crp-form__field select,
.lm-crp-form__field textarea {
  width: 100%;
  border-radius: 16px;
  border: 2px solid #e2d8cf;
  padding: 14px 16px;
  min-height: 52px;
  font-size: 16px;
  line-height: 1.2;
  color: #2b2622;
  background: #ffffff;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.lm-crp-form__field textarea {
  min-height: 160px;
  resize: none;
}

.lm-crp-form__field select {
  appearance: none;
  color: #2b2622;
  background-image: linear-gradient(45deg, transparent 50%, #6b5a4f 50%),
    linear-gradient(135deg, #6b5a4f 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.lm-crp-form__field input:focus,
.lm-crp-form__field select:focus,
.lm-crp-form__field textarea:focus {
  outline: none;
  border-color: #b58b54;
  box-shadow: 0 0 0 3px rgba(181, 139, 84, 0.15);
}

.lm-crp-form__phone {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 12px;
}

@media (max-height: 720px) {
  .lm-crp__modal {
    place-items: start center;
    padding: 24px 16px 32px;
  }
}

@media (max-height: 600px) {
  .lm-crp__modal {
    padding: 16px 12px 28px;
  }
}

.lm-crp-form__notice {
  min-height: 20px;
  font-size: 14px;
  color: #7a746d;
}

.lm-crp-form__notice.is-error {
  color: #c14b3e;
}

.lm-crp-form__notice.is-success {
  color: #2f7b4f;
}

.lm-crp-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.lm-crp-form__math {
  display: grid;
  grid-template-columns: auto minmax(120px, 160px);
  gap: 12px;
  align-items: center;
  justify-content: start;
}

.lm-crp-form__math-label {
  font-weight: 600;
  color: #3b2f27;
}

.lm-crp-form__math input {
  width: 100%;
}

.lm-crp-form__submit {
  flex: 1 1 220px;
  padding: 14px 24px;
  border-radius: 16px;
  border: none;
  background: #b58b54;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(181, 139, 84, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.lm-crp-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(181, 139, 84, 0.32);
  background: #a77d47;
}

.lm-crp-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lm-crp-form__cancel {
  padding: 14px 22px;
  border-radius: 16px;
  border: none;
  background: #e9e9ec;
  color: #4f4a46;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}

.lm-crp-form__cancel:hover {
  background: #dfdfe4;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .lm-crp-form__cancel {
    display: none;
  }
}

.lm-crp__modal-placeholder {
  padding: 18px;
  border: 1px dashed #d7cfc7;
  border-radius: 12px;
  color: #6c6761;
  text-align: center;
}

@media (max-width: 768px) {
  .lm-complete-room-packages {
    padding: 16px 0 16px;
  }

  .lm-crp__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .lm-crp__cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    padding-bottom: 4px;
  }

  .lm-crp__cards::-webkit-scrollbar {
    display: none;
  }

  .lm-crp-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .lm-crp__dots {
    display: flex;
  }
}
