/* Webbuilder shared navigation and drawer styles */
#mainNav, .nav {
    position: fixed !important;
    top: 0;
    inset-inline: 0;
    width: 100%;
    z-index: 300;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--out-v);
    box-shadow: 0 1px 8px rgba(10,37,64,.06);
    transition: box-shadow .3s ease;
}
#mainNav.scrolled, .nav.scrolled {
    box-shadow: 0 4px 20px rgba(10,37,64,.14);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--p);
    letter-spacing: -.02em;
}
.brand img {
    height: 36px;
    width: auto;
    object-fit: contain;
}
.nav-links {
    display: none;
    list-style: none;
    gap: 4px;
}
.nav-links a {
    display: block;
    padding: 8px 14px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--on-surf-v);
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--p);
    background: rgba(0,15,34,.06);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-wa {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: var(--r-f);
    font-size: .85rem;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}
.btn-wa:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37,211,102,.4);
}
.btn-menu {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    color: var(--p);
}
.drawer {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
}
.drawer.open {
    display: block;
}
.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
}
.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px,88vw);
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
}
.drawer.open .drawer-panel {
    transform: translateX(0);
}
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.drawer-head span {
    font-weight: 800;
    color: var(--p);
}
.drawer-head button {
    background: none;
    border: none;
    padding: 6px;
}
.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.drawer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--on-surf);
    border-radius: 10px;
    transition: background .2s;
}
.drawer-links a:hover {
    background: var(--surf-c);
}
.bnav {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 280;
    background: #fff;
    border-top: 1px solid rgba(10,37,64,.08);
    box-shadow: var(--shadow-b);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
}
.bnav-item.active {
    color: var(--p);
    font-weight: 700;
}
.bnav-item .ms {
    font-size: 22px;
}
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .btn-wa { display: flex; }
    .btn-menu, .bnav { display: none; }
    body { padding-bottom: 0 !important; }
}
.webbuilder-content {
    padding-top: 64px;
    min-height: calc(100dvh - 64px);
}
@media (max-width: 767px) {
    body { padding-bottom: 64px; }
    .webbuilder-content { padding-bottom: 80px; }
    body footer { padding-bottom: calc(32px + 64px) !important; }
}
