/* ==========================================================
   PEHRAWAAH — HEADER & TOP ANNOUNCEMENT BAR (ROYAL LUXURY)
   ========================================================== */

/* -------------------------
   TOP ANNOUNCEMENT BAR
-------------------------- */
.pw-top-bar {
    background: #07261C;
    color: #F4EFE6;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    padding: 7px 24px;
    position: relative;
    z-index: 1002;
}

.pw-top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pw-top-bar-text {
    font-weight: 500;
}

.pw-top-bar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pw-top-bar-pill {
    background: rgba(197, 160, 89, 0.2);
    color: #DFBE7A;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pw-top-bar-whatsapp {
    color: #DFBE7A;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.pw-top-bar-whatsapp:hover {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .pw-top-bar-pill {
        display: none;
    }
    .pw-top-bar-container {
        justify-content: center;
        text-align: center;
    }
    .pw-top-bar-whatsapp {
        display: none;
    }
}

/* -------------------------
   HEADER BASE
-------------------------- */
.tf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 4px 20px rgba(11, 59, 44, 0.06);
    transition: all 0.3s ease;
}

/* -------------------------
   CONTAINER (DESKTOP)
-------------------------- */
.tf-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

/* -------------------------
   LEFT / CENTER / RIGHT
-------------------------- */
.tf-header-left,
.tf-header-center,
.tf-header-right {
    display: flex;
    align-items: center;
}

.tf-header-center {
    justify-content: center;
}

.tf-header-right {
    justify-content: flex-end;
    gap: 16px;
}

/* -------------------------
   BRAND LOGO
-------------------------- */
.pw-brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.pw-brand-logo:hover {
    transform: scale(1.02);
}

.pw-brand-logo img {
    height: 52px;
    width: auto;
    max-width: 230px;
    display: block;
}

/* -------------------------
   DESKTOP NAVIGATION
-------------------------- */
.pw-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
}

.pw-nav a {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #161E1A;
    text-decoration: none;
    position: relative;
    padding: 8px 4px;
    transition: color 0.2s ease;
}

.pw-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: #C5A059;
    transition: transform 0.25s ease;
}

.pw-nav a:hover,
.pw-nav a.active {
    color: #0B3B2C;
}

.pw-nav a:hover::after,
.pw-nav a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* -------------------------
   HEADER ICONS & BADGES
-------------------------- */
.tf-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #161E1A;
    font-size: 18px;
    position: relative;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.tf-icon-link:hover {
    background: #E8F0EC;
    color: #0B3B2C;
    border-color: rgba(11, 59, 44, 0.15);
}

.tf-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #0B3B2C;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    display: none;
    place-items: center;
    justify-content: center;
    border: 1.5px solid #FFFFFF;
}

.tf-badge.active,
.tf-badge:not(:empty):not(:contains('0')) {
    display: flex;
}

/* -------------------------
   ACCOUNT CONTROLS
-------------------------- */
.tf-account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    border-radius: 999px;
    background: #FBF9F5;
    border: 1px solid rgba(197, 160, 89, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tf-account-btn:hover {
    background: #E8F0EC;
    border-color: #0B3B2C;
}

.tf-account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0B3B2C;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

.tf-account-greeting {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    font-size: 12.5px;
    font-weight: 700;
    color: #161E1A;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tf-account-greeting small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7B8C86;
    font-weight: 600;
}

.tf-account-dropdown {
    position: relative;
}

.tf-account-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    background: #FFFFFF;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(11, 59, 44, 0.14);
    padding: 8px 0;
    display: none;
    z-index: 1010;
}

.tf-account-menu.active {
    display: block;
    animation: pwDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pwDropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tf-account-menu a,
.tf-account-menu form button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 18px;
    font-size: 13.5px;
    color: #161E1A;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.tf-account-menu a i,
.tf-account-menu form button i {
    width: 16px;
    color: #C5A059;
}

.tf-account-menu a:hover,
.tf-account-menu form button:hover {
    background: #E8F0EC;
    color: #0B3B2C;
    padding-left: 22px;
}

.tf-account-menu hr {
    margin: 6px 0;
    border: 0;
    border-top: 1px solid rgba(11, 59, 44, 0.1);
}

/* -------------------------
   MOBILE & HAMBURGER
-------------------------- */
.tf-mobile-only {
    display: none;
}

.tf-desktop-only {
    display: flex;
}

.tf-mobile-menu-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(11, 59, 44, 0.15);
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.tf-mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: #0B3B2C;
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* MOBILE DRAWER */
.pw-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: #FFFFFF;
    box-shadow: 8px 0 30px rgba(11, 59, 44, 0.2);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.pw-mobile-menu.active {
    transform: translateX(0);
}

.pw-mobile-menu-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    background: #FBF9F5;
}

.pw-mobile-menu-links {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.pw-mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #161E1A;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pw-mobile-menu-links a i {
    width: 18px;
    color: #C5A059;
}

.pw-mobile-menu-links a:hover,
.pw-mobile-menu-links a.active {
    background: #E8F0EC;
    color: #0B3B2C;
}

.pw-mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(11, 59, 44, 0.1);
    background: #FBF9F5;
}

.pw-mobile-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #0B3B2C;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
    .tf-desktop-only {
        display: none !important;
    }
    .tf-mobile-only {
        display: flex !important;
    }
    .tf-header-container {
        grid-template-columns: auto 1fr auto;
        padding: 10px 18px;
    }
}
