/* Fonts loaded via fonts.css (self-hosted) */

.newhome-header {
    width: 100%;
    background-color: #15130D;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    font-family: 'DM Sans', sans-serif;
    padding: 0 80px;
    box-sizing: border-box;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .newhome-header {
    padding: 0 40px;
  }
}

.header-container {
    /* max-width: 1728px; */
    height: 60px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo .logo-text {
    font-family: 'Cormorant', serif;
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: #B8922A;
    text-decoration: none;
    letter-spacing: 1px;
}

.header-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-item {
    margin-bottom: 0px;
}

.header-nav a {
    font-family: 'DM Sans', sans-serif;
    color: #D9D9D9;
    text-decoration: none;
    font-weight: 300;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 1.54px;
    text-transform: capitalize;
    transition: color 0.3s ease;

}

.header-nav a:hover {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-login {
    color: #F6F2EBB2 !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 0.5px solid #F6F2EB38;
    padding: 12px 30px;
    background: transparent;
    letter-spacing: 2px;
    line-height: 120%;
}

.header-login .arrow {
    margin-left: 8px;
    font-size: 14px;
}

.header-login:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons a {
    color: rgba(246, 242, 235, 0.9);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.header-icons a:hover {
    color: #fff;
}

.header-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.header-icon-logo {
    width: 16px;
    height: 19px;
    object-fit: contain;
    display: block;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
}

.cart-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Mobile Menu Styles (Hidden by default) --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    transition: left 0.4s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.open {
    left: 0;
}

.mobile-menu-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #333;
    padding: 0;
    margin-right: 15px;
}

.mobile-menu-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #333;
    letter-spacing: 1px;
    flex-grow: 1;
}

.mobile-menu-logo {
    max-width: 120px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 30px;
}

.mobile-nav a {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    letter-spacing: 1px;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 40px;
}

.mobile-menu-footer p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.mobile-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    text-decoration: none;
    border-radius: 0;
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-weight: 400;
    background-color: transparent;
    color: #15130D !important;
    border: 0.5px solid rgba(21, 19, 13, 0.2);
    transition: all 0.3s ease;
}

.mobile-btn .arrow {
    margin-left: 8px;
    font-size: 14px;
}

.mobile-btn:hover {
    background-color: rgba(21, 19, 13, 0.05);
}

/* --- Responsive Media Queries --- */
@media screen and (max-width: 768px) {
    .newhome-header {
        padding: 0 20px;
    }

    .header-container {
        position: relative;
    }

    .header-nav,
    .header-login,
    .icon-user {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
        background: none !important;
        border: 0px solid #cdcdcd !important;
    }

    /* Center the logo on mobile */
    .header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-actions {
        gap: 0;
    }

    .header-minicart .action.showcart .counter.qty {
        left: 51%;
    }
}

/* Native Minicart Overrides to match Custom Design */
.header-minicart .minicart-wrapper {
    margin: 0;
}

.header-minicart .action.showcart {
    position: relative;
    display: inline-flex;
    width: 20px;
    height: 20px;
    color: transparent;
    /* hide native text */
    text-decoration: none;
    background-image: url('../images/cart.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header-minicart .action.showcart .text {
    display: none;
    /* Hide native "My Cart" text */
}

.header-minicart .action.showcart .counter.qty.empty {
    display: none;
}

.header-minicart .action.showcart .counter.qty .counter-label {
    display: none;
}

.newhome-header a.account_Svg_icon {
    display: none;
}

/* Hide the old SVG cart icons */
.header-minicart .action.showcart svg {
    display: none !important;
}

/* Center the cart counter badge */
.header-minicart .action.showcart .counter.qty {
    position: absolute;
    top: 60%;
    left: 51%;
    transform: translate(-50%, -50%);
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    height: auto;
    width: auto;
    line-height: 1;
}

.header-minicart .action.showcart .counter.qty span.counter-number {
    color: #ffffff !important;
    font-size: 11px !important;
    position: static !important;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);
}

.minicart-wrapper .action.showcart {
    right: 0px !important;
    top: -2px !important;
}

.minicart-wrapper .action.showcart.active {
    display: inline-flex !important;
}


.minicart-wrapper .block-minicart:before , .minicart-wrapper .block-minicart:after{
    right: 2px !important;
    
}



/* //////////login hide ? */
.newhome-header button#institution-pop-btn {
    display: none;
}