@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,700;1,400;1,700&family=Belleza&display=swap');

:root {
    --background-hsl: 60 56% 91%;
    --foreground-hsl: 116 25% 20%;
    --primary-hsl: 116 44% 34%;
    --accent-hsl: 25 56% 40%;
    --primary-light-hsl: 116 44% 34% / 0.05;
    --primary-lighter-hsl: 116 44% 34% / 0.1;
    --foreground-light-hsl: 116 25% 20% / 0.8;
    --foreground-lighter-hsl: 116 25% 20% / 0.7;
    --border-hsl: 60 20% 80%;
    --font-body: 'Alegreya', serif;
    --font-headline: 'Belleza', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: hsl(var(--background-hsl));
    color: hsl(var(--foreground-hsl));
    margin: 0;
    line-height: 1.5;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: hsla(var(--background-hsl), 0.8);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid hsl(var(--border-hsl));
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

header .logo img {
    height: 60px;
    width: auto;
    border-radius: 15%;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header nav a {
    font-family: var(--font-headline);
    color: hsl(var(--foreground-light-hsl));
    transition: color 0.2s;
}

header nav a:hover {
    color: hsl(var(--foreground-hsl));
}

.detalle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background-color: hsla(var(--primary-light-hsl));
    padding: 2rem 1rem;
}

.detalle-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detalle-card img {
    width: 100%;
    max-width: 300px;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.detalle-card h1 {
    font-family: var(--font-headline);
    font-size: 2.25rem;
    color: hsl(var(--primary-hsl));
    margin-bottom: 1rem;
}

.detalle-card .precio {
    font-size: 1.25rem;
    color: hsl(var(--accent-hsl));
    font-weight: bold;
    margin-bottom: 2rem;
}

.volver-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: hsl(var(--primary-hsl));
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-family: var(--font-headline);
    font-size: 1rem;
    transition: background 0.2s;
    margin-top: 1rem;
}

.volver-button:hover {
    background: hsl(var(--accent-hsl));
}

footer {
    background-color: hsla(var(--primary-lighter-hsl));
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

footer p {
    font-size: 0.875rem;
    color: hsl(var(--foreground-lighter-hsl));
    margin: 0;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.social-media a {
    color: hsl(var(--foreground-light-hsl));
    font-family: var(--font-headline);
    font-size: 1rem;
    transition: color 0.2s;
}

.social-media a:hover {
    color: hsl(var(--accent-hsl));
}

@media (max-width: 600px) {
    .detalle-card {
        padding: 1rem;
        max-width: 95vw;
    }
    .detalle-card img {
        max-width: 90vw;
    }
    header {
        flex-direction: column;
        height: auto;
        padding: 0.5rem;
    }
    header nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }
}
