/* =========================================
   BUDGET PAGE – ERB DECO
   ========================================= */

/* ===== FONDO SLIDER ===== */

.budget-bg-slider {
  position: fixed;
  top: 110px;
  left: 0;
  width: 100%;
  height: calc(100vh - 110px);
  overflow: hidden;
  z-index: 0;
}

.budget-bg-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.budget-bg-slide.active {
  opacity: 0.25;
}

.budget-overlay {
  position: fixed;
  top: 110px;
  left: 0;
  width: 100%;
  height: calc(100vh - 110px);
  background: rgba(0,0,0,0.65);
  z-index: 1;
}

/* ===== CONTENEDOR ===== */

.premium-budget {
  padding-top: 130px;
  position: relative;
  z-index: 5;
}

.budget-container {
  width: 100%;
  max-width: 700px;
  margin: auto;
  padding: 50px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  background: rgba(23,23,23,0.85);
  border: 1px solid rgba(255,255,255,0.05);
}

.budget-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  margin-bottom: 10px;
}

.budget-container p {
  color: #bbb;
  margin-bottom: 40px;
}

/* ===== FORM ===== */

.budget-form .form-group {
  margin-bottom: 30px;
}

.budget-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
}

.budget-form input[type="text"],
.budget-form input[type="tel"],
.budget-form input[type="email"],
.budget-form select {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0f0f11;
  color: white;
  font-size: 14px;
  transition: 0.3s ease;
}

.budget-form select:focus,
.budget-form input:focus {
  border-color: #d4af37;
  outline: none;
}

/* =========================================
   COLOR SELECTOR
   ========================================= */

.color-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 20;
}

.color-selector label {
  position: relative;
  z-index: 20;
}

.color-option {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  box-shadow: 0 0 0 1px #333 inset;
  position: relative;
  z-index: 20;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-selector input:checked + .color-option {
  border: 2px solid #d4af37;
  box-shadow: 0 0 10px rgba(212,175,55,0.6);
  transform: scale(1.1);
}

/* ===== TOOLTIP COLOR ===== */

.color-option::after {
  content: attr(data-color);
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #d4af37;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 9999;
  border: 1px solid rgba(212,175,55,0.4);
}

.color-option:hover::after {
  opacity: 1;
}

/* =========================================
   EXTRAS – MINIMAL PREMIUM
   ========================================= */

/* ===== EXTRAS SIMPLE Y PROFESIONAL ===== */

.extras-box {
  margin-top: 15px;
  padding: 25px;
  background: #181818;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.extra-item {
  display: block;
  cursor: pointer;
}

.extra-item input {
  display: none;
}

.extra-item span {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 30px;   /* 🔥 estilo pill elegante */
  background: #222;
  border: 1px solid #333;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #ddd;
}

/* Contenedor de extras motor */
#extras-motor {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;        /* 🔥 separación horizontal y vertical */
  margin-top: 10px; /* 🔥 separación respecto a los de arriba */
}

/* Hover elegante */
.extra-item span:hover {
  border-color: #d4af37;
}

/* Seleccionado */
.extra-item input:checked + span {
  background: #d4af37;
  border-color: #d4af37;
  color: #111; /* 🔥 texto negro para que se vea */
  font-weight: 500;
}

/* ================= COLOR LONA ================= */

.lona-box input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1a1a1c;
  color: white;
  font-size: 14px;
  transition: 0.3s ease;
}

.lona-box input:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 8px rgba(212,175,55,0.3);
}

/* Link pequeño elegante */
.lona-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #bbb;
  text-decoration: underline;
  transition: 0.3s ease;
}

.lona-link:hover {
  color: #d4af37;
}

/* ================= MEDIDAS ================= */

.medidas-grid {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.medida-item {
  flex: 1;
}

.medida-item input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1a1a1c;
  color: white;
  font-size: 14px;
  transition: 0.3s ease;
}

.medida-item input:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 8px rgba(212,175,55,0.3);
}


/* =========================================
   BOTÓN
   ========================================= */

.budget-form button {
  margin-top: 30px;
  width: 100%;
}

@media (max-width: 768px) {
  .medidas-grid {
    flex-direction: column;
  }
}