:root {
    --maroon: #895454;
    --cream: #fff7e5;
    --dark: #4a2e2e;
    --transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--cream); color: var(--dark); font-family: 'Poppins', sans-serif; }

/* NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    height: 70vh; /* Massive start */
    background: var(--cream);
    display: flex;
    align-items: center;
    padding: 0 10%;
    z-index: 1000;
    transition: var(--transition);
}

.logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

#main-logo { height: 45vh; width: auto; display: block; }

.nav-links {
    margin-left: auto;
    display: flex;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SHRUNK NAVBAR */
.navbar.shrunk {
    height: 12vh;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar.shrunk .logo-container {
    left: 10%;
    transform: translate(0, -50%);
}

.navbar.shrunk #main-logo { height: 20vh; }
.navbar.shrunk .nav-links { opacity: 1; pointer-events: all; }

/* HERO SECTION - SPACING FIX */
.hero {
    min-height: 160vh; /* Extra height to accommodate the 70vh navbar */
    padding: 0 10%;
    display: flex;
    align-items: flex-end; /* Align content to bottom of hero */
    padding-bottom: 10vh;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.hero-content { flex: 1; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 4rem; line-height: 1.1; }
.hero-content h1 span { color: var(--maroon); }

.hero-image { flex: 1; height: 60vh; border-radius: 10px; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* PRODUCTS SECTION - GRID FIX */
.products-section {
    padding: 100px 10%;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--maroon);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--cream);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.carousel-container {
    position: relative;
    height: 350px;
    width: 100%;
    overflow: hidden;
}

.carousel-slide { display: flex; height: 100%; transition: 0.6s ease; }
.carousel-slide img { min-width: 100%; height: 100%; object-fit: cover; }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: white; border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; z-index: 10;
}
.prev { left: 10px; } .next { right: 10px; }

.product-info { padding: 30px; text-align: center; }
.dynamic-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--maroon); margin-bottom: 10px; }

/* BUTTONS */
.btn-premium { display: inline-block; background: var(--maroon); color: white; padding: 1.2rem 2.5rem; text-decoration: none; font-weight: bold; margin-top: 20px; }
.btn-secondary { display: inline-block; border: 1px solid var(--maroon); color: var(--maroon); padding: 10px 20px; text-decoration: none; margin-top: 15px; }



/* --- ORDER FORM SECTION (The Reddish Look) --- */
.order-section {
    padding: 100px 10%;
    background-color: var(--dark); /* Dark base for contrast */
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--maroon); /* Your primary reddish color */
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-title {
    font-family: 'Playfair Display', serif;
    color: var(--cream);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-container input, 
.form-container select, 
.form-container textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--cream);
    font-family: 'Poppins', sans-serif;
}

/* FIX FOR DROPDOWN OPTIONS */
.form-container select option {
    background-color: var(--maroon); /* Solid background so you can see the text */
    color: var(--cream);            /* High contrast text color */
    padding: 10px;
}

/* Specific fix for some browsers/mobile devices */
.form-container select {
    appearance: none; /* Removes default browser styling */
    cursor: pointer;
}

.form-container select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff7e5' stroke-width='3' 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 15px center;
    padding-right: 40px;
}

.form-container input::placeholder, 
.form-container textarea::placeholder {
    color: rgba(255, 231, 229, 0.6);
}

.btn-form {
    width: 100%;
    padding: 1.2rem;
    background: var(--cream);
    color: var(--maroon);
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-form:hover {
    background: white;
    transform: translateY(-3px);
}

/* --- SLIM FOOTER (Single Line Sight) --- */
.footer {
    padding: 20px 10%; /* Heavily reduced padding */
    background: var(--cream);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-slim-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-legal-links a {
    text-decoration: none;
    color: var(--dark);
    margin: 0 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

.reclamos-slim {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
    font-size: 0.8rem;
}

.reclamos-slim img {
    height: 30px; /* Smaller icon */
}

/* Responsive fix for small screens */
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
    .footer-slim-wrapper { flex-direction: column; gap: 15px; text-align: center; }
}

/* --- PRODUCT CARD HEADER --- */
.card-header {
    padding: 20px 0; /* Vertical padding to space it from the image */
    background: var(--white); /* Keeps it clean and separate from the cream background */
    text-align: center;
    border-bottom: 3px solid rgba(137, 84, 84, 0.1); /* Subtle maroon line */
    margin-bottom: 5px;
    background-color: var(--maroon); /* Maroon background for the header */
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    color: var(--cream); /* Cream text for contrast against maroon background */
}

/* Ensure the product card handles the new header properly */
.product-card {
    display: flex;
    flex-direction: column;
    /* ... existing styles ... */
}