/*== Navbar ==*/
.navbar-modern {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    min-height: 76px;
    padding: 10px 0;
}

.navbar-shell {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 1.1em;
    height: 1.1em;
}

.brand-mark {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    color: var(--primary) !important;
    margin-right: 28px;
    flex-shrink: 0;
}

.brand-logo {
    height: 86px;
    width: auto;
    object-fit: contain;
    margin-left: 4rem;
    scale: 1.8;
}

.navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    gap: 14px;
    min-width: 0;
}

.navbar-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
}

.navbar-nav .nav-item {
    flex-shrink: 1;
    min-width: 0;
}

.navbar-main-nav .nav-link {
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar-main-nav .nav-link:hover {
    background: rgba(229, 57, 53, 0.08);
    color: var(--primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    margin-left: 0;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
}

.wishlist-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.wishlist-pill:hover {
    color: var(--text);
    border-color: rgba(229, 57, 53, 0.18);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px);
}

.wishlist-pill-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.wishlist-pill-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--muted);
}

.wishlist-pill-price {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--text);
}

.wishlist-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--text);
}

.wishlist-heart {
    width: 26px;
    height: 26px;
}

#wishlist-heart-fill {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.45s ease;
    will-change: clip-path;
}

.navbar-account-btn {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 10px 16px;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-account-btn:hover {
    background: rgba(17, 24, 39, 0.04);
    color: var(--text);
    border-color: rgba(229, 57, 53, 0.16);
}

.dropdown-menu {
    margin-top: 10px;
    border-radius: 16px;
    padding: 10px;
    min-width: 220px;
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(229, 57, 53, 0.06);
    color: var(--primary);
}

.dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.nav-calculator:hover {
    filter: brightness(0.8);
    background-color: var(--accent);
    color: white;
}
.nav-calculator {
    background-color: var(--accent);
}

.nav-calculator i {
    font-size: 1rem;
    color: white;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-main-nav {
        margin-right: 0;
    }
}

@media (max-width: 992px) {
    .navbar-modern {
        min-height: auto;
        padding: 12px 0;
    }

    .navbar-shell {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        display: block !important;
        width: 100%;
        padding-top: 1rem;
    }

    .navbar-main-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin-bottom: 14px;
    }

    .navbar-main-nav .nav-link {
        padding: 12px 14px;
        border-radius: 14px;
        white-space: normal;
    }

    .navbar-actions {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .wishlist-pill,
    .navbar-account-btn {
        width: 100%;
        justify-content: center;
    }
}

.user-email {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.dropdown-menu {
    margin-top: 8px;
    border-radius: 16px;
    padding: 10px;
    min-width: 220px;
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
}

.dropdown-item:hover {
    background: rgba(229, 57, 53, 0.06);
    color: var(--primary);
}

.dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

/*== Footer ==*/
.footer-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f8f6f2 100%);
    border-top: 1px solid var(--border);
    color: var(--text);
    padding: 60px 0;
    margin-top: 80px;
}

.footer-modern .brand-mark {
    margin-left: 0;
    margin-right: 0;
    display: block;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.footer-modern .footer-text {
    margin-top: 8px;
}

.footer-text {
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-light);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-spacer {
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
}

.footer-social {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.08);
    color: var(--primary);
    transition: all 0.25s ease;
}

.footer-social:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-2px);
}

.footer-modern .col-lg-3:last-child {
    padding-left: 0;
    margin-left: -10px;
}
