:root {
    --primary: #f8bbd0;
    --accent: #d81b60;
    --dark: #444;
    --bg-light: #fffcfd;
    --shadow: 0 5px 20px rgba(0,0,0,0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--bg-light);
    color: var(--dark);
    scroll-behavior: smooth;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0; z-index: 1000;
}

.logo { font-size: 26px; font-weight: 600; color: var(--accent); }
.logo span { color: var(--dark); }

.search-bar { display: flex; flex: 0.4; }
.search-bar input {
    width: 100%; padding: 12px;
    border: 1px solid #eee; border-radius: 25px 0 0 25px; outline: none;
}
.search-bar button {
    background: var(--primary); border: none; padding: 0 20px;
    border-radius: 0 25px 25px 0; cursor: pointer; color: white;
}

.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 15px; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
    height: 450px;
    background: linear-gradient(rgba(248,187,208,0.3), rgba(248,187,208,0.3)), 
                url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=1000');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero h1 { font-size: 45px; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); margin: 0; }
.hero p { color: #fff; font-size: 18px; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }

.btn-main {
    display: inline-block; margin-top: 20px;
    background: var(--accent); color: white; text-decoration: none;
    padding: 15px 40px; border-radius: 30px; font-weight: 600;
}

/* Productos */
.container { padding: 50px 5%; max-width: 1200px; margin: auto; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 28px; color: var(--accent); }

.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px;
}

.product-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow); transition: 0.3s;
}
.product-card:hover { transform: translateY(-10px); }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-info { padding: 20px; text-align: center; }
.price { font-size: 22px; font-weight: 600; color: var(--accent); }

.btn-add {
    width: 100%; background: var(--bg-light); border: 1px solid var(--primary);
    padding: 10px; border-radius: 12px; cursor: pointer; transition: 0.3s;
}
.btn-add:hover { background: var(--primary); color: white; }

/* Formulario */
.sell-section { background: #fff5f7; border-top: 1px solid #fce4ec; }
.modern-form {
    max-width: 600px; margin: auto; display: flex; flex-direction: column; gap: 15px;
}
.modern-form input {
    padding: 15px; border-radius: 15px; border: 1px solid #ddd; outline: none;
}
.btn-publish {
    background: var(--accent); color: white; border: none; padding: 15px;
    border-radius: 15px; font-weight: 600; cursor: pointer;
}

/* Carrito */
.modal {
    position: fixed; top: 0; right: -400px; width: 350px; height: 100%;
    background: white; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: 0.4s; z-index: 2000; padding: 30px;
}
.modal.active { right: 0; }
.cart-total { font-size: 20px; font-weight: 600; margin: 20px 0; }
.btn-checkout {
    width: 100%; background: var(--accent); color: white; border: none;
    padding: 15px; border-radius: 10px; cursor: pointer;
}
.btn-close { width: 100%; background: none; border: none; margin-top: 10px; cursor: pointer; color: #888; }