.buscador-elegante { background: 
    linear-gradient(135deg, #8B5E3C 0%, #9C6D48 100%); 
    padding: 32px 24px; border-radius: 16px; 
    margin: 32px 0 40px 0; 
    box-shadow: 0 12px 28px rgba(139, 94, 60, 0.2); 
    position: relative; overflow: hidden; 
}
.buscador-elegante::before { content: ''; 
    position: absolute; 
    top: -50%; right: -50%; 
    width: 200px; height: 200px; 
    background: rgba(217, 164, 65, 0.1); 
    border-radius: 50%; 
} 
.buscador-elegante::after { content: ''; 
    position: absolute; 
    bottom: -60%; 
    left: -30%; 
    width: 180px; 
    height: 180px; 
    background: rgba(245, 241, 232, 0.05); 
    border-radius: 50%; 
} 
.buscador-header { margin-bottom: 24px; 
    position: relative; z-index: 2; 
} 
.buscador-header h2 { font-family: 'Merriweather', serif; 
    font-size: 28px; color: #F5F1E8; 
    margin: 0 0 8px 0; 
} 
.buscador-header p { color: rgba(245, 241, 232, 0.9); 
    font-size: 16px; 
    margin: 0; 
    font-weight: 300; 
} 
.form-busqueda-avanzada { display: flex; 
    flex-wrap: wrap; 
    gap: 16px; 
    position: relative; 
    z-index: 2; 
} 
.grupo-busqueda { flex: 1; min-width: 300px; 
} .grupo-busqueda label { display: block; 
    margin-bottom: 8px; color: #F5F1E8; 
    font-weight: 500; font-size: 15px; 
} 
.input-icono { position: relative;
} 
.input-icono i { position: absolute; 
    left: 16px; 
    top: 50%; transform: translateY(-50%); 
    color: #8B5E3C; font-size: 18px; 
} 
.input-elegante { width: 100%; 
    padding: 14px 18px 14px 48px; 
    border: none; 
    border-radius: 10px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 16px; background: #F5F1E8; 
    color: #3A2F2A; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 12px rgba(58, 47, 42, 0.1); 
} 
.input-elegante:focus { outline: none; 
    box-shadow: 0 4px 16px rgba(217, 164, 65, 0.3); 
    transform: translateY(-2px); 
} 
.input-elegante::placeholder { color: #9C8A7C; 
} 
.select-elegante { width: 100%; padding: 14px 18px; 
    border: none; 
    border-radius: 10px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 16px; 
    background: #F5F1E8; 
    color: #3A2F2A;
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(58, 47, 42, 0.1); 
    appearance: none; 
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B5E3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; 
    background-position: right 16px center; 
    background-size: 18px; 
} 
.select-elegante:focus { outline: none; 
    box-shadow: 0 4px 16px rgba(217, 164, 65, 0.3); 
    transform: translateY(-2px); 
} 
.botones-busqueda { display: flex; 
    gap: 12px; align-items: flex-end; 
} 
.btn-buscar { background: #D9A441; 
    color: #3A2F2A; 
    padding: 14px 28px; 
    border: none;
    border-radius: 10px; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 600; 
    font-size: 16px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    white-space: nowrap; 
    box-shadow: 0 4px 12px rgba(217, 164, 65, 0.3); 
} 
.btn-buscar:hover { background: #E8B954; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 18px rgba(217, 164, 65, 0.4); 
} 
.btn-buscar:active { transform: translateY(0); 
} 
.btn-limpiar-filtros { background: rgba(245, 241, 232, 0.2); 
    color: #F5F1E8; 
    padding: 14px 20px; 
    border: 2px solid rgba(245, 241, 232, 0.3); 
    border-radius: 10px; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 500; 
    font-size: 16px; 
    cursor: pointer; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    white-space: nowrap; 
} 
.btn-limpiar-filtros:hover { background: rgba(245, 241, 232, 0.3); 
    border-color: rgba(245, 241, 232, 0.5); 
    transform: translateY(-2px); 
} 
/* Resultados y estado */ 
.resultados-header { background: #F5F1E8; 
    padding: 20px 24px; 
    border-radius: 12px; 
    margin-bottom: 24px; 
    border-left: 4px solid #D9A441; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 4px 12px rgba(58, 47, 42, 0.08); 
} 
.filtros-activos { display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    align-items: center; 
} 
.filtro-tag { background: #8B5E3C; 
    color: #F5F1E8; 
    padding: 6px 14px; 
    border-radius: 20px; 
    font-size: 14px; 
    font-weight: 500; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
} 
.filtro-tag i { font-size: 12px; opacity: 0.8; 
} 
.contador-resultados { font-family: 'Merriweather', serif; 
    font-size: 18px; 
    color: #3A2F2A; 
    font-weight: bold; 
} 
.sin-resultados { text-align: center; 
    padding: 60px 20px; background: #F5F1E8; 
    border-radius: 16px; margin: 40px 0; 
    box-shadow: 0 8px 24px rgba(58, 47, 42, 0.08); 
} 
.sin-resultados i {
    font-size: 48px;
    color: #D9A441;
    margin-bottom: 20px;
}

.sin-resultados h3 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    color: #3A2F2A;
    margin: 0 0 12px 0;
}

.sin-resultados p {
    color: #6B5A4D;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-explorar {
    background: #8B5E3C;
    color: #F5F1E8;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-explorar:hover {
    background: #9C6D48;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 94, 60, 0.3);
}

/* Estilos para productos */
.producto {
    background: #F5F1E8;
    border: 1px solid rgba(139, 94, 60, 0.1);
    border-left: 4px solid #D9A441;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(58, 47, 42, 0.05);
}

.producto:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(58, 47, 42, 0.1);
}

.btn-agregar {
    background: #D9A441;
    color: #3A2F2A;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-agregar:hover {
    background: #E8B954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 164, 65, 0.3);
}

.categoria-titulo {
    color: #3A2F2A;
    border-bottom: 3px solid #D9A441;
    padding-bottom: 10px;
    margin: 40px 0 25px;
    font-family: 'Merriweather', serif;
    font-size: 28px;
}

/* Iconos */
.icono {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icono-buscar {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='11' cy='11' r='8'%3e%3c/circle%3e%3cpath d='M21 21l-4.35-4.35'%3e%3c/path%3e%3c/svg%3e");
}

.icono-filtro {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'%3e%3c/polygon%3e%3c/svg%3e");
}

.icono-limpiar {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cline x1='18' y1='6' x2='6' y2='18'%3e%3c/line%3e%3cline x1='6' y1='6' x2='18' y2='18'%3e%3c/line%3e%3c/svg%3e");
}

.icono-ver-todo {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M3 12h18M3 6h18M3 18h18'%3e%3c/path%3e%3c/svg%3e");
}

/* Responsive */
@media (max-width: 768px) {
    .buscador-elegante {
        padding: 24px 16px;
    }

    .form-busqueda-avanzada {
        flex-direction: column;
        gap: 16px;
    }

    .grupo-busqueda {
        min-width: 100%;
    }

    .botones-busqueda {
        flex-direction: column;
        width: 100%;
    }

    .btn-buscar,
    .btn-limpiar-filtros {
        width: 100%;
        justify-content: center;
    }

    .resultados-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .contador-resultados {
        align-self: flex-end;
    }

    .producto {
        padding: 16px;
    }

    .btn-agregar {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ===== Modal Login Required ===== */
.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.login-modal.active {
  display: flex;
}

.login-modal-content {
  background: #F5F1E8;
  padding: 28px 32px;
  border-radius: 14px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.login-modal-content h3 {
  font-family: 'Merriweather', serif;
  color: #3A2F2A;
  margin-bottom: 12px;
}

.login-modal-content p {
  color: #6B5A4D;
  margin-bottom: 24px;
}

.login-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-ir-login {
  background: #8B5E3C;
  color: #F5F1E8;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-ir-login:hover {
  background: #9C6D48;
}

.btn-cancelar {
  background: transparent;
  border: 2px solid #8B5E3C;
  color: #8B5E3C;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn-cancelar:hover {
  background: rgba(139, 94, 60, 0.1);
}

/* ===== Modal Login ===== */
.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.login-modal.active {
  display: flex;
}

.login-modal-content {
  background: #F5F1E8;
  padding: 28px 32px;
  border-radius: 14px;
  max-width: 420px;
  width: 90%;
  text-align: center;
}

.login-modal-content h3 {
  font-family: 'Merriweather', serif;
  margin-bottom: 12px;
}

.login-modal-content p {
  color: #6B5A4D;
  margin-bottom: 24px;
}

.login-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-ir-login {
  background: #8B5E3C;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-cancelar {
  background: transparent;
  border: 2px solid #8B5E3C;
  color: #8B5E3C;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}
