/* ========================================
   BOTÓN PRINCIPAL
======================================== */
#cotizador-btn,
.cotizador-btn {
    width: 100%;
    border-radius: 5px;
    background-color: #ea0029;
    color: #fff;
}

#cotizador-btn:hover,
.cotizador-btn:hover {
    background-color: #e4022e;
    color: #fff;
}

/* ========================================
   MODAL
======================================== */
#cotizador-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: baseline;
    justify-content: center;
    z-index: 9998;
    padding: 50px;
    overflow:auto;
}

.cotizador-wrap {
    background: #fff;
    padding: 25px 30px;
    max-width: 480px;
    width: 90%;
    position: relative;
    border-radius: 15px !important;
}

#cotizador-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 32px;
    cursor: pointer;
}

/* ========================================
   CAMPOS DEL FORMULARIO
======================================== */
.cotizador-wrap input,
.cotizador-wrap select,
.cotizador-wrap textarea {
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid #ddd;
}

.cotizador-wrap select {
    max-width: 100% !important;
}

#cotizador-submit {
    background-color: #ea0029;
    color: #fff;
    border: 0;
    padding: 10px 15px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
}

#cotizador-submit:hover {
    background-color: #d10025;
    color: #fff;
}

#cotizador-msg {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* ========================================
   MENSAJES DE ERROR
======================================== */
.error-msg {
    color: red;
    font-size: 13px;
    margin-top: -43px;
    text-align: right;
    position: absolute;
    right: 35px;
    pointer-events: none;
}

/* ========================================
   BADGE DE PRODUCTO (MINIMALISTA Y COMPACTO)
======================================== */
.producto-badge-container {
    margin-bottom: 15px;
    animation: slideIn 0.3s ease-out;
    display: inline-block;
    max-width: 100%;
}

.producto-badge {
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    padding: 10px 35px 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 3px 12px rgba(204, 0, 0, 0.3);
    line-height: 1.3;
    max-width: 100%;
    word-break: break-word;
}

.producto-remove {
  position: absolute !important;
  top: -2px;
  right: -16px;
  background: white;
  border: 2px solid #ff4444 !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  font-size: 15px !important;
  font-weight: bold !important;
  color: #ff4444 !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  line-height: 1 !important;  
}

.producto-remove:hover {
    background: #ff4444;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(204, 0, 0, 0.4);
}

/* ========================================
   ANIMACIONES
======================================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}