/* cadastro local: formulário + ações */
.local-form {
  margin: 28px 0 0;
  max-width: 720px;
}

.local-form__title {
  font-size: 18px;
  font-weight: 600;
  color: rgba(0, 0, 0, .9);
  margin: 0 0 16px;
}

.local-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.local-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.local-field--wide { grid-column: 1 / -1; }
.local-field--cep  { grid-column: 1 / -1; max-width: 220px; }

.local-field__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, .7);
}

.local-field__input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  background: #fff;
  font: 400 15px/1 'Proxima Nova', Arial, sans-serif;
  color: rgba(0, 0, 0, .9);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  box-sizing: border-box;
}

.local-field__input::placeholder { color: #9b9b9b; }

.local-field__input:focus {
  border-color: #3483fa;
  box-shadow: 0 0 0 2px rgba(52, 131, 250, .14);
}

.local-field__input[readonly] {
  background: #f6f6f6;
  color: rgba(0, 0, 0, .75);
  cursor: default;
}

.local-field__input.is-invalid {
  border-color: #f23d4f;
  box-shadow: 0 0 0 2px rgba(242, 61, 79, .12);
}

.local-field__hint {
  font-size: 12px;
  color: #737373;
  min-height: 15px;
}

.local-field__hint.is-error { color: #f23d4f; }

.local-form__address {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ececec;
}

.local-form__address[hidden] { display: none; }

.local-form__address-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-6 { grid-column: 1 / -1; }

.local-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 64px;
  flex-wrap: wrap;
}

.local-actions .andes-button { min-width: 200px; }

.local-success {
  margin: 36px 0 96px;
  max-width: 620px;
  padding: 28px 32px;
  border-radius: 8px;
  background: #f2f8ff;
  border: 1px solid #d6e6fb;
}

.local-success__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: rgba(0, 0, 0, .9);
}

.local-success__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(0, 0, 0, .7);
}

@media (max-width: 720px) {
  .local-form__grid,
  .local-form__address-grid { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: 1 / -1; }
  .local-field--cep { max-width: none; }
  .local-actions .andes-button { width: 100%; }
}

.span-1 { grid-column: span 1; }

.local-field__textarea {
  height: auto;
  min-height: 92px;
  padding: 10px 12px;
  line-height: 1.45;
  resize: vertical;
  font-family: inherit;
}

.local-field__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.local-field__select:invalid,
.local-field__select option[value=""] { color: #9b9b9b; }
.local-field__select option { color: rgba(0, 0, 0, .9); }

/* ---------- banner rotativo ---------- */
.local-promo {
  position: relative;
  margin: 28px 0 12px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}

.local-promo__slide {
  display: none;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  min-height: 176px;
  box-sizing: border-box;
}

.local-promo__slide.is-active {
  display: grid;
  animation: localPromoIn .5s ease both;
}

@keyframes localPromoIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: none; }
}

.local-promo__img {
  width: 100%;
  max-height: 156px;
  object-fit: contain;
}

.local-promo__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(0, 0, 0, .9);
}

.local-promo__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, .65);
  max-width: 46ch;
}

.local-promo__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 0 16px;
}

.local-promo__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}

.local-promo__dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: #3483fa;
}

@media (max-width: 900px) {
  .local-promo__slide {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    min-height: 0;
    text-align: left;
  }
  .local-promo__img { max-height: 110px; }
  .local-promo__title { font-size: 16px; }
}
