* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f6f8f7;
}

/* ================= TOPBAR ================= */

.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg,#1db954,#17a74a);
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 12px;
    z-index: 1000;
}

.topbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* ================= FORMULARIO ================= */

.sell-section {
    padding: 150px 10% 100px 10%;
    display: flex;
    justify-content: center;
}

.sell-container {
    width: 100%;
    max-width: 900px;
    background: white;
    padding: 100px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.sell-container h1 {
    color: #1db954;
    margin-bottom: 10px;
}

.sell-container p {
    margin-bottom: 40px;
    color: #555;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: 'Poppins';
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1db954;
    box-shadow: 0 0 10px rgba(29,185,84,0.2);
}

.submit-btn {
    margin-top: 20px;
    padding: 14px;
    background: #1db954;
    border: none;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #159a45;
    transform: translateY(-3px);
}

/* ================= FOOTER ================= */

footer {
    background: #0a0a0a;
    padding: 80px 10%;
    text-align: center;
    color: #aaa;
}

footer h2 {
    color: #1db954;
}

.legal-links {
    margin: 30px 0;
}

.legal-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
}

.dev a {
    color: #aaa;
}
/* =============================== */
/* MENÚ LATERAL CATEGORÍAS */
/* =============================== */

.menu-toggle {
    position: fixed;
    top: 70px; /* debajo de la topbar */
    left: 20px;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: 0.3s;
}

.menu-toggle:hover {
    transform: translateY(-3px);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100%;
    background: #f9f9f9;
    padding: 30px 25px;
    box-shadow: 10px 0 40px rgba(0,0,0,0.15);
    transition: left 0.4s ease;
    z-index: 1999;
}

.side-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.menu-header h2 {
    font-size: 1.2rem;
    color: #1db954;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.menu-links a {
    text-decoration: none;
    font-weight: 600;
    color: #222;
    transition: 0.3s;
}

.menu-links a:hover {
    color: #1db954;
    transform: translateX(6px);
}
.menu-toggle.hide {
    opacity: 0;
    pointer-events: none;
}