:root {
    --bg-primary: #f5efe4;
    --bg-elevated: rgba(255, 250, 241, 0.86);
    --text-primary: #201a14;
    --text-muted: #76695c;
    --accent: #b98541;
    --accent-soft: rgba(185, 133, 65, 0.15);
    --accent-deep: #6f3528;
    --line-soft: rgba(80, 60, 40, 0.16);
}

html,
body {
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(185, 133, 65, 0.14), transparent 30%),
        linear-gradient(180deg, #fffaf1 0%, var(--bg-primary) 68%);
    color: var(--text-primary);
    min-height: 100%;
}

body[data-route="catalogo"] {
    background: #fff;
}

.navbar-maison {
    background:
        linear-gradient(180deg, rgba(255, 250, 241, 0.74), rgba(255, 250, 241, 0));
    padding: 0.9rem 0;
}

.navbar-shell {
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255, 225, 168, 0.2);
    background:
        radial-gradient(520px 160px at 12% 0%, rgba(255, 225, 168, 0.13), transparent 62%),
        linear-gradient(135deg, rgba(35, 22, 15, 0.94), rgba(58, 37, 24, 0.92) 52%, rgba(24, 15, 11, 0.95));
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    box-shadow: 0 18px 42px rgba(32, 20, 13, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.08) 50%, transparent 64%);
    pointer-events: none;
}

.brand-mark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fffaf1;
    text-decoration: none;
}

.navbar-maison .navbar-brand,
.navbar-maison .brand-mark {
    color: #fffaf1 !important;
}

.TamanoLogo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(241, 201, 121, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.navbar-maison.navbar-dark .navbar-nav .nav-link,
.navbar-maison .nav-link {
    position: relative;
    z-index: 1;
    color: rgba(255, 247, 236, 0.74);
    font-weight: 650;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.navbar-maison.navbar-dark .navbar-nav .nav-link:hover,
.navbar-maison.navbar-dark .navbar-nav .nav-link.active,
.navbar-maison .nav-link:hover,
.navbar-maison .nav-link.active {
    color: #fffaf1;
    background: rgba(241, 201, 121, 0.16);
    transform: translateY(-1px);
}

.nav-cta {
    position: relative;
    z-index: 1;
    border-radius: 999px;
    background: linear-gradient(120deg, #fff1c8, #c79f56 58%, #8d6430);
    color: #11100d;
    font-weight: 800;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(255, 238, 204, 0.24);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    background: linear-gradient(120deg, #ffe7ad, #c7964f);
    color: #000;
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.dropdown-menu-maison {
    padding: 0.45rem;
    border: 1px solid rgba(241, 201, 121, 0.25);
    border-radius: 8px;
    background: #2a1b13 !important;
    box-shadow: 0 18px 42px rgba(32, 20, 13, 0.28);
    z-index: 1100;
}

.dropdown-menu-maison .dropdown-item {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    color: rgba(255, 247, 236, 0.88) !important;
    font-weight: 650;
}

.dropdown-menu-maison .dropdown-item:hover,
.dropdown-menu-maison .dropdown-item:focus,
.dropdown-menu-maison .dropdown-item.active {
    color: #fffaf1 !important;
    background: rgba(241, 201, 121, 0.16) !important;
}

.menu-toggle {
    position: relative;
    z-index: 1;
    border-color: rgba(255, 230, 184, 0.34);
    background: rgba(255, 255, 255, 0.04);
}

.navbar-maison .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 250, 241, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.route-error {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    text-align: center;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(255, 250, 241, 0.86);
}

.route-error strong {
    display: block;
    color: var(--text-primary);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.route-error p {
    margin: 0.55rem 0 0;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .navbar-maison {
        padding-bottom: 0;
    }

    .navbar-shell {
        padding: 0.65rem 0.9rem;
    }

    .navbar-collapse {
        margin-top: 0.7rem;
    }

    .navbar-maison .nav-link {
        border-radius: 10px;
        margin-bottom: 0.2rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-menu-maison {
        width: 100%;
        margin: 0.2rem 0 0.5rem;
    }

    .nav-cta-wrap {
        margin-top: 0.45rem;
        width: 100%;
    }

    .nav-cta {
        width: 100%;
    }
}
