/* ==========================================================================
   SweetMeet PHP - Header
   ========================================================================== */

.smp-header {
    width: 100%;
    background: #000;
    border-bottom: 1px solid rgba(200, 169, 106, 0.20);
	
	font-family: Arial, Helvetica, sans-serif;
}

.smp-header__inner {
    width: 100%;
    max-width: 1320px;
    height: 130px;
    margin: 0 auto;
    padding: 10px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    box-sizing: border-box;
}


/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.smp-header__logo {
    display: block;
    flex: 0 0 auto;

    width: 380px;
    max-width: 100%;
    aspect-ratio: 380 / 90;

    line-height: 0;
}

.smp-header__logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.smp-header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}


/* --------------------------------------------------------------------------
   Login
   -------------------------------------------------------------------------- */

.smp-header__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;

	width: 50px;
    height: 22px;
    padding: 8px 22px;

    color: #ffffff;
    background: transparent;

    border: 2px solid #d4af5d;
    border-radius: 4px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;
}

.smp-header__login:hover,
.smp-header__login:focus {
    color: #000;
    background: #C8A96A;
    text-decoration: none;
}



/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 767px) {

    .smp-header__inner {
        height: 76px;
        padding: 8px 16px;
        gap: 16px;
    }

    .smp-header__logo {
        width: 220px;
    }

    .smp-header__login {
        min-height: 22px;
        padding: 7px 14px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {

    .smp-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 40px;
        padding: 28px 36px;
    }


    /* Brand */

    .smp-footer__brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .smp-footer__logo,
    .smp-footer__logo img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .smp-footer__tagline,
    .smp-footer__description {
        text-align: center;
    }


    /* Explore + Meet */

    .smp-footer__column {
        text-align: left;
        align-items: flex-start;
    }


    /* Help & Legal */

    .smp-footer__column:nth-of-type(4) {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }


    /* NZ ownership */

    .smp-footer__nz {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .smp-footer__nz img {
        display: block;
        margin: 12px auto 0;
    }
}



/* ==========================================================================
   Small Mobile
   ========================================================================== */

@media (max-width: 480px) {

    .smp-header__inner {
        height: 68px;
        padding: 7px 12px;
        gap: 10px;
    }

    .smp-header__logo {
        width: 190px;
    }

    .smp-header__login {
        min-height: 20px;
        padding: 6px 12px;
        font-size: 13px;
    }
}




/* ==========================================================================
   SweetMeet PHP - Logged-in Header Navigation
   ========================================================================== */

/*
 * The existing shared navigation PHP is used by both the legacy
 * header and SMP. All SMP presentation is therefore scoped here.
 */

.smp-header .sm-header-account-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* --------------------------------------------------------------------------
   Main icon navigation
   -------------------------------------------------------------------------- */

.smp-header .sm-header-nav-desktop {
    display: none;
}

.smp-header .sm-header-nav-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}


/* --------------------------------------------------------------------------
   Search / Messages / Menu buttons
   -------------------------------------------------------------------------- */

.smp-header .sm-header-mobile-link,
.smp-header .sm-header-menu-toggle {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    padding: 0;

    color: #C8A96A;
    background: transparent;
    border: 0;

    text-decoration: none;
    cursor: pointer;

    box-sizing: border-box;
}


/* SVG icons */

.smp-header .sm-header-icon {
    display: block;

    width: 32px;
    height: 32px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Hover */

.smp-header .sm-header-mobile-link:hover,
.smp-header .sm-header-mobile-link:focus,
.smp-header .sm-header-menu-toggle:hover,
.smp-header .sm-header-menu-toggle:focus {
    color: #fff;
    text-decoration: none;
    outline: none;
}


/* --------------------------------------------------------------------------
   Messages
   -------------------------------------------------------------------------- */

.smp-header .sm-header-message-icon-wrap {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Unread message badge */

.smp-header .sm-header-message-badge {
    position: absolute;

    top: -4px;
    right: 0px;

    min-width: 20px;
    height: 20px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #C8A96A;
    color: #fffefe;

    border-radius: 10px;

    font-size: 11px;
    font-weight: 700;
    line-height: 18px;

    box-sizing: border-box;
}

.smp-header .sm-header-message-badge[hidden] {
    display: none;
}


/* --------------------------------------------------------------------------
   Hamburger
   -------------------------------------------------------------------------- */

.smp-header .sm-header-menu {
    position: relative;
}

.smp-header .sm-header-menu-details {
    position: relative;
}

.smp-header .sm-header-menu-toggle {
    list-style: none;
}

.smp-header .sm-header-menu-toggle::-webkit-details-marker {
    display: none;
}

.smp-header .sm-header-menu-icon-wrap {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Master activity dot */

.smp-header .sm-header-menu-master-dot {
    position: absolute;

    top: -3px;
    right: -5px;

    width: 8px;
    height: 8px;

    background: #C8A96A;
    border-radius: 50%;
}

.smp-header .sm-header-menu-master-dot[hidden] {
    display: none;
}


/* --------------------------------------------------------------------------
   Dropdown panel
   -------------------------------------------------------------------------- */

.smp-header .sm-header-menu-panel {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    width: 260px;
    padding: 8px 0;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 4px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18);

    z-index: 9999;
}


/* Menu links */

.smp-header .sm-header-menu-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 38px;

    padding: 8px 16px;

    color: #333;
    background: transparent;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;

    text-decoration: none;

    box-sizing: border-box;
}

.smp-header .sm-header-menu-link:hover,
.smp-header .sm-header-menu-link:focus {
    color: #000;
    background: #f5f5f5;
    text-decoration: none;
}


/* Divider */

.smp-header .sm-header-menu-divider {
    height: 1px;
    margin: 6px 0;

    background: #e5e5e5;
}


/* Individual activity dots */

.smp-header .sm-header-menu-dot {
    flex: 0 0 auto;

    width: 7px;
    height: 7px;

    margin-left: 12px;

    background: #C8A96A;
    border-radius: 50%;
}

.smp-header .sm-header-menu-dot[hidden] {
    display: none;
}


/* Account action required */

.smp-header .sm-header-menu-link--action-required {
    font-weight: 600;
}


/* Moderation */

.smp-header .sm-header-menu-link--moderation {
    color: #555;
}


/* Logout */

.smp-header .sm-header-menu-link--logout {
    color: #777;
}


/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

    .smp-header .sm-header-nav-mobile {
        gap: 12px;
    }

    .smp-header .sm-header-mobile-link,
    .smp-header .sm-header-menu-toggle {
        width: 34px;
        height: 34px;
    }

    .smp-header .sm-header-icon {
        width: 26px;
        height: 26px;
    }

    .smp-header .sm-header-menu-panel {
        width: 250px;
        right: 0;
    }
}


@media (max-width: 480px) {

    .smp-header .sm-header-nav-mobile {
        gap: 7px;
    }

    .smp-header .sm-header-mobile-link,
    .smp-header .sm-header-menu-toggle {
        width: 31px;
        height: 31px;
    }

    .smp-header .sm-header-icon {
        width: 24px;
        height: 24px;
    }

    .smp-header .sm-header-menu-panel {
        width: 240px;
    }
}




/* ==========================================================================
   SweetMeet PHP - Footer
   ========================================================================== */

.smp-footer {
    width: 100%;
    background: #000;
    color: #fff;
    border-top: 1px solid rgba(200, 169, 106, 0.25);
}

.smp-footer__inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 24px 24px;

    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 0.95fr 0.75fr;
    gap: 40px;

    box-sizing: border-box;
}


/* --------------------------------------------------------------------------
   Brand
   -------------------------------------------------------------------------- */

.smp-footer__brand {
    min-width: 0;
}

.smp-footer__logo {
    display: block;
    width: 300px;
    max-width: 100%;
    line-height: 0;
}

.smp-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.smp-footer__tagline {
    margin: 14px 0 0;

    color: #fff;

    font-size: 16px;
    line-height: 1.4;
}

.smp-footer__description {
    margin: 10px 0 0;

    color: #ddd;

    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}


/* --------------------------------------------------------------------------
   Navigation Columns
   -------------------------------------------------------------------------- */

.smp-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.smp-footer__column h2,
.smp-footer__nz h2 {
    margin: 0 0 15px;

    color: #C8A96A;

    font-size: 19px;
    font-weight: 500;
    line-height: 1.15;
}

.smp-footer__column a {
    margin: 0 0 12px;

    color: #fff;

    font-size: 16px;
    line-height: 1.35;

    text-decoration: none;
}

.smp-footer__column a:hover,
.smp-footer__column a:focus {
    color: #C8A96A;
    text-decoration: none;
}


/* --------------------------------------------------------------------------
   New Zealand
   -------------------------------------------------------------------------- */

.smp-footer__nz {
    min-width: 0;
}

.smp-footer__nz img {
    display: block;

    width: 120px;
    height: auto;

    margin-top: 15px;
}


/* --------------------------------------------------------------------------
   Copyright
   -------------------------------------------------------------------------- */

.smp-footer__bottom {
    width: 100%;

    border-top: 1px solid #C8A96A;

    text-align: center;
}

.smp-footer__bottom p {
    margin: 0;
    padding: 12px 20px;

    color: #ccc;

    font-size: 14px;
    line-height: 1.4;
}


/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1000px) {

    .smp-footer__inner {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 35px 30px;
    }

    .smp-footer__brand {
        grid-column: span 3;
    }

    .smp-footer__logo {
        width: 280px;
    }

    .smp-footer__description {
        text-align: left;
    }

    .smp-footer__nz {
        grid-column: span 3;
    }

}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 767px) {

    .smp-footer__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
        row-gap: 36px;
        padding: 28px 20px;
    }


    /* Brand */

    .smp-footer__brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .smp-footer__logo {
        display: block;
        margin: 0 auto;
    }

    .smp-footer__logo img {
        display: block;
        margin: 0 auto;
    }

    .smp-footer__tagline,
    .smp-footer__description {
        text-align: center;
    }


    /* Explore */

    .smp-footer__explore {
        grid-column: 1;
        text-align: left;
        align-items: flex-start;
    }


    /* Meet */

    .smp-footer__meet {
        grid-column: 2;
        text-align: left;
        align-items: flex-start;
    }


    /* Help & Legal */

    .smp-footer__legal {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }


    /* New Zealand */

    .smp-footer__nz {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }

    .smp-footer__nz img {
        display: block;
        margin: 12px auto 0;
    }


    /* Copyright */

    .smp-footer__bottom {
        text-align: center;
    }
}


/* ==========================================================================
   Footer - Small Mobile
   ========================================================================== */

@media (max-width: 520px) {

    .smp-footer__inner {
        grid-template-columns: 1fr;
        row-gap: 30px;
        padding: 28px 20px 30px;
    }


    /* Brand */

    .smp-footer__brand {
        grid-column: 1;
        width: 100%;
        text-align: center;
    }

    .smp-footer__logo img {
        width: 280px;
        max-width: 100%;
        height: auto;
    }

    .smp-footer__description br {
        display: none;
    }


    /* Navigation sections */

    .smp-footer__explore,
    .smp-footer__meet,
    .smp-footer__legal {
        grid-column: 1;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;

        text-align: left;
        align-items: flex-start;
    }

    .smp-footer__legal {
        text-align: left;
        align-items: flex-start;
    }


    /* NZ */

    .smp-footer__nz {
        grid-column: 1;
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .smp-footer__nz img {
        margin: 12px auto 0;
    }

}


/* ==========================================================================
   Small Mobile
   ========================================================================== */

@media (max-width: 480px) {

    .smp-footer__inner {
        padding: 26px 18px 22px;

        grid-template-columns: 1fr;
        gap: 28px;
    }

    .smp-footer__brand,
    .smp-footer__nz {
        grid-column: auto;
    }

    .smp-footer__logo {
        width: 250px;
    }

    .smp-footer__column h2,
    .smp-footer__nz h2 {
        margin-bottom: 12px;
    }

    .smp-footer__column a {
        margin-bottom: 10px;
    }

    .smp-footer__bottom p {
        padding: 11px 15px;
        font-size: 13px;
    }
}


/* ==========================================================
   SWEETMEET — ALIGN MY ACCOUNT NOTIFICATION DOTS
   ========================================================== */

/* Both indicators use the same positioning reference */
.smp-header .sm-header-menu-link-action-required {
    position: relative;
}

/* First dot — HTML span */
.smp-header .sm-header-menu-dot[data-sm-menu-dot="account"] {
    position: absolute;
    top: 50%;
    right: 14px;
    margin: 0;
    transform: translateY(-50%);

    width: 8px;
    height: 8px;
}

/* Second dot — CSS pseudo-element */
.smp-header .sm-header-menu-link-action-required::after {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);

    width: 8px;
    height: 8px;
}