/* ==========================================================
   TARA FASHION — HEADER (LOCKED TO BLADE)
   ========================================================== */

/* -------------------------
   HEADER BASE
-------------------------- */
.tf-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    /* VERY LIGHT PASTEL PINK */
    background: rgba(255, 240, 246, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* -------------------------
   CONTAINER (DESKTOP)
-------------------------- */
.tf-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 28px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* -------------------------
   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: 18px;
}

/* -------------------------
   LOGO (BIGGER + CLEAR)
-------------------------- */
.tf-logo img {
    height: 70px; /* increased as requested */
    width: auto;
}

/* -------------------------
   DESKTOP MENU
-------------------------- */
.tf-nav {
    display: flex;
    gap: 34px;
}

.tf-nav a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #3a2a32;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
}

/* Soft luxury underline */
.tf-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8a6be, #d27a9c);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.tf-nav a:hover::after {
    width: 100%;
}

/* -------------------------
   ICONS
-------------------------- */
.tf-icon-link {
    position: relative;
    font-size: 22px;
    color: #3a2a32;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.tf-icon-link:hover {
    color: #c86a8d;
    transform: translateY(-1px);
}

/* -------------------------
   BADGES
-------------------------- */
.tf-badge {
    display: none;
    position: absolute;
    top: -7px;
    right: -9px;
    background: linear-gradient(135deg, #e46c94, #c8577c);
    color: #fff;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 999px;
}

.tf-badge.active {
    display: inline-block;
}

/* -------------------------
   ACCOUNT DROPDOWN
-------------------------- */
.tf-account-dropdown {
    position: relative;
}

.tf-account-btn {
    background: none;
    border: none;
    cursor: pointer;

    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #3a2a32;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 12px;
    border-radius: 20px;
}

.tf-account-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    color: #c86a8d;
}

.tf-account-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);

    background: rgba(255, 248, 252, 0.96);
    backdrop-filter: blur(10px);

    min-width: 200px;
    border-radius: 14px;
    padding: 8px 0;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    z-index: 2000;
}

.tf-account-menu a,
.tf-account-menu button {
    width: 100%;
    padding: 12px 18px;
    background: none;
    border: none;

    font-size: 14px;
    color: #3a2a32;
    text-align: left;
    cursor: pointer;
}

.tf-account-menu a:hover,
.tf-account-menu button:hover {
    background: rgba(232, 166, 190, 0.18);
}

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

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

/* Hamburger */
.tf-mobile-menu-btn {
    width: 34px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
}

.tf-mobile-menu-btn span {
    height: 3px;
    border-radius: 3px;
    background: #3a2a32;
}

/* Mobile drawer */
.tf-mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(255, 242, 248, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.6);
}

.tf-mobile-menu a,
.tf-mobile-menu button {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: none;
    border: none;
    font-size: 15px;
    color: #3a2a32;
    text-align: left;
}

/* Mobile menu visibility */
.tf-mobile-menu.active {
    display: flex;
}

/* Account dropdown visibility */
.tf-account-menu.active {
    display: block;
}


/* -------------------------
   RESPONSIVE
-------------------------- */
@media (max-width: 900px) {

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

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

    .tf-header-container {
        padding: 14px 18px;
    }

    .tf-header-left {
        justify-content: flex-start;
    }

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

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

    .tf-logo img {
        height: 58px;
    }

    .tf-icon-link {
        font-size: 24px;
    }
}


/* ==============================
   ACCOUNT DROPDOWN – PREMIUM
============================== */

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

/* Button (Welcome, Name) */
.tf-account-btn {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(200, 120, 160, 0.25);
    border-radius: 22px;
    padding: 8px 14px;

    font-size: 14px;
    font-weight: 500;
    color: #3a2a32;

    display: flex;
    align-items: center;
    gap: 6px;

    cursor: pointer;
    transition: all 0.25s ease;
}

.tf-account-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(200, 100, 140, 0.25);
}

/* Dropdown box */
.tf-account-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);

    min-width: 210px;
    padding: 10px 0;

    background: rgba(255, 245, 250, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 16px;
    border: 1px solid rgba(220, 150, 180, 0.35);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18);

    z-index: 999;
}

/* Links inside dropdown */
.tf-account-menu a,
.tf-account-menu button {
    display: block;
    width: 100%;

    padding: 12px 18px;
    background: none;
    border: none;

    font-size: 14px;
    font-weight: 500;
    color: #3a2a32;
    text-align: left;
    text-decoration: none;

    cursor: pointer;
    transition: background 0.25s ease, padding-left 0.25s ease;
}

/* Hover effect */
.tf-account-menu a:hover,
.tf-account-menu button:hover {
    background: rgba(232, 166, 190, 0.22);
    padding-left: 22px;
}

/* Active state from JS */
.tf-account-menu.active {
    display: block;
}


/* ==========================================================
   MOBILE / TABLET MENU — SMOOTH & PREMIUM
   ========================================================== */

.tf-mobile-menu {
    background: rgba(255, 245, 250, 0.92); /* light pastel pink */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

/* Links */
.tf-mobile-menu a {
    display: block;
    padding: 14px 22px;

    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: #2e2e2e;
    text-decoration: none;

    border-radius: 10px;
    margin: 2px 12px;

    transition: background 0.25s ease, transform 0.2s ease;
}

/* Hover */
.tf-mobile-menu a:hover {
    background: rgba(255, 182, 205, 0.25);
    transform: translateX(2px);
}

/* Divider */
.tf-mobile-menu hr {
    border: none;
    height: 1px;
    margin: 10px 22px;
    background: rgba(0, 0, 0, 0.08);
}

/* Logout button */
.tf-mobile-menu form button {
    width: 100%;
    padding: 14px 22px;

    background: none;
    border: none;

    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: #2e2e2e;
    text-align: left;

    border-radius: 10px;
    margin: 2px 12px;

    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

/* Logout hover */
.tf-mobile-menu form button:hover {
    background: rgba(255, 182, 205, 0.25);
    transform: translateX(2px);
}
