/* =========================
   SHARED PAGE NAVBAR
   (shop, product, cart, checkout, about, contact, login, account)
========================= */

.page-navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(18,18,18,.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .3s;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: #F6F2EA;
    letter-spacing: .03em;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-size: .875rem;
    color: rgba(246,242,234,.72);
    transition: color .25s;
    letter-spacing: .02em;
    font-family: 'Inter', sans-serif;
}

.nav-menu a:hover { color: #F6F2EA; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon {
    background: transparent;
    border: none;
    color: #F6F2EA;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: opacity .2s;
}

.nav-icon:hover { opacity: .75; }

/* Mobile toggle - hidden by default */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #F6F2EA;
    cursor: pointer;
    padding: 4px;
}

/* =========================
   MOBILE MENU (shared)
========================= */
.mobile-menu {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100vh;
    background: #0a0a12;
    z-index: 9999;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: right .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { right: 0; }
.mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
    opacity: 0; pointer-events: none;
    transition: opacity .35s;
    backdrop-filter: blur(4px);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-close {
    background: transparent; border: none;
    color: rgba(255,255,255,.6); cursor: pointer;
    align-self: flex-end; margin-bottom: 32px; padding: 4px;
}
.mobile-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; color: white; margin-bottom: 40px;
}
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
    color: rgba(255,255,255,.7);
    font-family: 'Inter', sans-serif;
    font-size: 1rem; padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: color .2s; text-decoration: none;
}
.mobile-nav a:hover { color: white; }
.mobile-nav a:last-child { border-bottom: none; color: #b79aad; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: inline-flex; }
}


/* =========================
   INNER PAGE MOBILE FIXES
========================= */
@media (max-width: 480px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Prevent any child from blowing out the layout */
*, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}
