/*
Theme Name:  Optimizer PRO Child
Theme URI:   https://goyatchify.com
Description: Child theme for Optimizer PRO — GoYatchify Yacht Listing Marketplace
Author:      GoYatchify
Author URI:  https://goyatchify.com
Template:    optimizer_pro
Version:     1.6.8
Text Domain: optimizer_pro-child
*/

/* =========================================================
   GoYatchify Custom Styles
   Add all custom CSS below — never edit the parent theme
   ========================================================= */

/* ── Fonts: Inter (body/links) · DM Sans (headings/menu) ────────── */
/* NOTE: never target *, *::before, *::after here — that clobbers icon
   fonts (Dashicons, Font Awesome) which render glyphs via ::before. */
html,
body,
p, a, li, ul, ol,
input, textarea, select, button,
label,
.entry-content,
.post_content,
.page_content {
    font-family: "Helvetica Neue", "Manrope", Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.gy-heading,
#topmenu .menu-header ul > li > a {
    font-family: "PP Neue Montreal", "Inter", Arial, sans-serif !important;
}

/* ── Design Tokens ──────────────────────────────────────────────── */
:root {
    --gy-navy:   #0b1f6f;
    --gy-gold:   #0073ff;
    --gy-blue:   #0073ff;
    --gy-light:  #f4f6f9;
    --gy-border: #e2e6ea;
    --gy-muted:  #6c757d;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER — Fixed overlay on hero (front page) · Sticky on inner pages
   ═══════════════════════════════════════════════════════════════════ */

/* ── All pages: sticky solid navy ─────────────────────────────── */
.header_wrap {
    position: sticky !important;
    top: 0 !important;
    z-index: 9990 !important;
    width: 100% !important;
    transition: background .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}
.header_wrap,
.header_wrap .header {
    background: var(--gy-navy) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.25) !important;
}

/* ── Front page: FIXED so it floats over the hero image ───────── */
body.home .header_wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    /* subtle dark-to-transparent gradient keeps nav readable on any hero */
    background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, transparent 100%) !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ── Front page BEFORE scroll: clear all inner backgrounds ────── */
body.home .header_wrap .header,
body.home .header_wrap .header_inner,
body.home .header_wrap #topmenu,
body.home .header_wrap #topmenu > div,
body.home .header_wrap .head_wrap,
body.home .header_wrap .site-header {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ── Front page AFTER scroll: full solid navy ─────────────────── */
body.home .header_wrap.gy-scrolled {
    background: var(--gy-navy) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,.35) !important;
}
body.home .header_wrap.gy-scrolled .header,
body.home .header_wrap.gy-scrolled .header_inner,
body.home .header_wrap.gy-scrolled #topmenu,
body.home .header_wrap.gy-scrolled #topmenu > div {
    background: var(--gy-navy) !important;
    background-color: var(--gy-navy) !important;
}

/* ── Front page: hero slides up behind the fixed header ────────── */
/* SS3 / page content starts at y=0 (no gap for fixed header)       */
body.home .page_wrap,
body.home #content,
body.home .single_wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ── Prevent WP admin bar from offsetting the fixed header ─────── */
body.home.admin-bar .header_wrap {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.home.admin-bar .header_wrap { top: 46px !important; }
}

/* ── Logo — always white ───────────────────────────────────────── */
.header_wrap .logo h1 a,
.header_wrap .logo h2 a,
.header_wrap .logo .desc,
.header_wrap .logo a,
.header_wrap .logo span,
.header_wrap .logo p {
    color: #fff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

/* ── Logo image — keep visible on both transparent & solid header ─ */
.header_wrap .logo img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* ── Header inner layout — logo left · menu + actions right ────── */
/* The real container is .header > .center > .head_inner (not .header_inner) */
.header_wrap .center,
.header .center {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 32px !important;
    box-sizing: border-box !important;
}
.header_wrap .head_inner,
.header .head_inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    width: 100% !important;
    gap: 24px !important;
}
/* Kill the parent theme's floats so flex can take over */
.header_wrap .head_inner .logo,
.header .head_inner .logo,
.header_wrap .head_inner #topmenu,
.header .head_inner #topmenu {
    float: none !important;
    margin: 0 !important;
}

/* ── Primary menu container ──────────────────────────────────── */
/* Parent theme sets margin-top:5px which pushes the nav off-center — zero it */
#topmenu { background: transparent !important; margin-top: 0 !important; text-align: left !important; }
#topmenu .menu-header { display: flex !important; align-items: center !important; }
#topmenu .menu-header { background: transparent !important; }

/* Reset parent theme's UL */
#topmenu .menu-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ── Top-level menu items ────────────────────────────────────── */
/* Make EVERY top-level <li> an identical flex box so items with and
   without dropdowns share the exact same height/centering. The parent
   theme adds a block ::after underline to plain items but disables it on
   dropdown items (optimizer_pro/style.css:256-261) — that asymmetry
   offset the rows. We kill that pseudo entirely here. */
#topmenu .menu-header ul > li {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex !important;
    align-items: center !important;
    height: 64px !important;
    float: none !important;
    vertical-align: middle !important;
}
#topmenu .menu-header ul > li::after,
#topmenu .menu-header ul > li::before {
    display: none !important;
    content: none !important;
}

#topmenu .menu-header ul > li > a {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 64px;
    line-height: 1 !important;
    box-sizing: border-box !important;
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255,255,255,.88) !important;
    text-decoration: none !important;
    white-space: nowrap;
    border-bottom: none !important;
    transition: color .2s, opacity .2s;
    background: transparent !important;
}
#topmenu .menu-header ul > li > a:hover {
    opacity: 1;
    color: #fff !important;
}

#topmenu .menu-header ul > li > a:hover,
#topmenu .menu-header ul > li.current-menu-item > a,
#topmenu .menu-header ul > li.current-menu-ancestor > a {
    color: #fff !important;
    border-bottom-color: transparent !important;
    background: transparent !important;
}

/* ── "List Your Boat" — CTA button style ────────────────────── */
#topmenu .menu-header ul > li.menu-item-list-your-boat > a,
#topmenu .menu-header ul > li > a[href*="list-your-boat"] {
    background: var(--gy-gold) !important;
    color: #fff !important;
    border-radius: 6px !important;
    border-bottom: 3px solid transparent !important;
    margin-left: 8px !important;
    padding: 0 20px !important;
    height: 38px !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
}
#topmenu .menu-header ul > li > a[href*="list-your-boat"]:hover {
    background: #005fd6 !important;
    color: #fff !important;
}

/* ── Dropdown menu ───────────────────────────────────────────── */
/* Always rendered as flex (so the parent theme's superfish JS can't toggle
   display and "double-open" it); visibility/opacity give one smooth reveal. */
#topmenu .menu-header ul > li > ul.sub-menu,
#topmenu .menu-header ul > li > ul {
    display: flex !important;
    flex-direction: column !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #fff !important;
    border: 1px solid var(--gy-border) !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    z-index: 9999;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(8px) !important;
    pointer-events: none !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
}

/* Show on hover / keyboard focus — single smooth fade + slide */
#topmenu .menu-header ul > li:hover > ul.sub-menu,
#topmenu .menu-header ul > li:hover > ul,
#topmenu .menu-header ul > li:focus-within > ul.sub-menu,
#topmenu .menu-header ul > li:focus-within > ul {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Dropdown items */
#topmenu .menu-header ul > li > ul > li {
    margin: 0 !important;
    padding: 0 !important;
}
#topmenu .menu-header ul > li > ul > li > a {
    display: block !important;
    padding: 10px 20px !important;
    font-size: .88rem !important;
    font-weight: 500 !important;
    color: var(--gy-navy) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    border-left: 3px solid transparent !important;
    transition: background .15s, border-color .15s !important;
    height: auto !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    border-bottom: none !important;
}
#topmenu .menu-header ul > li > ul > li > a:hover {
    background: var(--gy-light) !important;
    border-left-color: var(--gy-gold) !important;
    color: var(--gy-navy) !important;
}

/* ── Dropdown arrow — hide the theme's (broken) icon font glyph ──── */
#topmenu .menu-header ul > li.menu-item-has-children > a .dropdown-icon,
#topmenu .menu-header ul > li.menu-item-has-children > a .fa,
#topmenu .menu-header ul > li.menu-item-has-children > a .fas,
#topmenu .menu-header ul > li.menu-item-has-children > a i,
#topmenu .menu-header ul > li.menu-item-has-children > a span.sub-arrow {
    display: none !important;
}

/* Draw our own chevron with CSS borders — no icon-font dependency */
#topmenu .menu-header ul > li.menu-item-has-children > a::after {
    content: "" !important;
    display: inline-block !important;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 8px;
    position: relative;
    top: 0;
    opacity: .85;
    transition: transform .2s ease;
    align-self: center;
}
/* Flip the chevron up when the dropdown is open (hover/focus) */
#topmenu .menu-header ul > li.menu-item-has-children:hover > a::after,
#topmenu .menu-header ul > li.menu-item-has-children:focus-within > a::after {
    transform: rotate(-135deg) translateY(-2px);
    top: 0;
}

/* Hide parent theme's built-in search/social inside topmenu */
#topmenu .head_soc,
#topmenu .header_s.headrsearch_off { display: none !important; }

/* ── Plugin extras moved to end of nav via JS ────────────────── */
#gy-plugin-extras {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: 10px !important;
    padding: 0 !important;
}

/* Make all plugin-injected icons/links white to match the nav */
#gy-plugin-extras *,
#gy-plugin-extras a,
#gy-plugin-extras button,
#gy-plugin-extras i,
#gy-plugin-extras svg,
#gy-plugin-extras span:not(.sub-arrow) {
    color: rgba(255,255,255,.85) !important;
    fill: rgba(255,255,255,.85) !important;
    border-color: transparent !important;
    background: transparent !important;
    font-size: .82rem !important;
}
#gy-plugin-extras a:hover,
#gy-plugin-extras button:hover {
    color: #fff !important;
    background: rgba(255,255,255,.12) !important;
    border-radius: 6px !important;
}

/* Language switcher (WPML / Polylang) inside extras */
#gy-plugin-extras .wpml-ls-legacy-list-horizontal,
#gy-plugin-extras .pll-parent-menu-item,
#gy-plugin-extras ul {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   HEADER RIGHT ACTION BUTTONS  (search · wishlist · login)
   ══════════════════════════════════════════════════════════════ */

/* Container li */
li.gy-nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: 10px !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
}

/* Icon buttons (search, wishlist, account) */
.gy-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,.85) !important;
    cursor: pointer !important;
    transition: background .2s, color .2s !important;
    text-decoration: none !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}
.gy-nav-btn:hover {
    background: rgba(255,255,255,.15) !important;
    color: #fff !important;
}
.gy-nav-btn svg { display: block; }

/* LOG IN pill button */
.gy-nav-login {
    display: inline-flex !important;
    align-items: center !important;
    height: 34px !important;
    padding: 0 16px !important;
    margin-left: 4px !important;
    background: rgba(255,255,255,.12) !important;
    border: 1px solid rgba(255,255,255,.3) !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background .2s !important;
    white-space: nowrap !important;
}
.gy-nav-login:hover {
    background: rgba(255,255,255,.22) !important;
    color: #fff !important;
}

/* After scroll — darken buttons slightly so they still show on navy */
.gy-scrolled .gy-nav-btn { color: rgba(255,255,255,.8) !important; }
.gy-scrolled .gy-nav-btn:hover { background: rgba(255,255,255,.1) !important; }

/* ── Header extras (bell, language, messages) — moved to nav end via JS ──── */
.gy-header-extras {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.gy-header-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,.82) !important;
    cursor: pointer !important;
    transition: background .2s !important;
    text-decoration: none !important;
    position: relative !important;
    font-size: .8rem !important;
}
.gy-header-btn:hover {
    background: rgba(255,255,255,.13) !important;
    color: #fff !important;
}
.gy-lang-btn {
    width: auto !important;
    padding: 0 8px !important;
    border-radius: 6px !important;
    gap: 5px !important;
}

/* Notification badge */
.gy-notif-badge {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    min-width: 16px !important;
    height: 16px !important;
    border-radius: 8px !important;
    background: #e53e3e !important;
    color: #fff !important;
    font-size: .62rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 3px !important;
}

/* Language dropdown */
.gy-lang-switch {
    position: relative !important;
}
.gy-lang-dropdown {
    display: none;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    min-width: 160px !important;
    background: #fff !important;
    border: 1px solid var(--gy-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.14) !important;
    padding: 6px 0 !important;
    z-index: 9999 !important;
}
.gy-lang-switch:hover .gy-lang-dropdown,
.gy-lang-switch:focus-within .gy-lang-dropdown {
    display: block !important;
}
.gy-lang-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 16px !important;
    font-size: .86rem !important;
    color: var(--gy-navy) !important;
    text-decoration: none !important;
    transition: background .15s !important;
    white-space: nowrap !important;
}
.gy-lang-item:hover,
.gy-lang-item.active { background: var(--gy-light) !important; }
.gy-lang-item.active { font-weight: 600 !important; }

/* ── Mobile hamburger ─────────────────────────────────────────── */
#simple-menu {
    color: rgba(255,255,255,.85) !important;
    font-size: 1.4rem !important;
}

/* ── Mobile: collapse menu ────────────────────────────────────── */
@media (max-width: 900px) {
    #topmenu .menu-header ul {
        flex-direction: column;
        align-items: flex-start;
        background: var(--gy-navy) !important;
        gap: 0;
    }
    #topmenu .menu-header ul > li > a {
        height: auto !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,.07) !important;
        width: 100%;
    }
    #topmenu .menu-header ul > li > a[href*="list-your-boat"] {
        margin: 12px 16px !important;
        width: calc(100% - 32px) !important;
        justify-content: center;
    }
    #topmenu .menu-header ul > li > ul.sub-menu,
    #topmenu .menu-header ul > li > ul {
        position: static !important;
        display: flex !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: rgba(0,0,0,.2) !important;
        padding: 0 !important;
    }
    #topmenu .menu-header ul > li > ul > li > a {
        color: rgba(255,255,255,.75) !important;
        padding-left: 36px !important;
    }
    #topmenu .menu-header ul > li > ul > li > a:hover {
        background: rgba(255,255,255,.06) !important;
        color: #fff !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   LIVE SEARCH OVERLAY  (header search-toggle button)
   ═══════════════════════════════════════════════════════════════════ */

/* Full-viewport overlay backdrop */
#gy-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(9,18,35,.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
#gy-search-overlay.gy-sov--open {
    opacity: 1;
    pointer-events: auto;
}

/* Inner panel */
.gy-sov-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 20px;
    position: relative;
    animation: gySOVIn .25s ease both;
}
@keyframes gySOVIn {
    from { transform: translateY(-14px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* Input row */
.gy-sov-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 0 0 0 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.gy-sov-icon { flex-shrink: 0; }
.gy-sov-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 1.15rem;
    font-weight: 400;
    color: #1a1a2e;
    padding: 18px 14px !important;
    background: transparent !important;
    box-shadow: none !important;
}
.gy-sov-input::placeholder { color: #aab; }
.gy-sov-submit {
    flex-shrink: 0;
    background: var(--gy-navy);
    color: #fff;
    border: none;
    padding: 16px 28px;
    border-radius: 0 12px 12px 0;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .04em;
    transition: background .2s;
}
.gy-sov-submit:hover { background: var(--gy-blue); }

/* Close button */
.gy-sov-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: transparent;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color .2s;
}
.gy-sov-close:hover { color: #fff; }

/* Keyboard hint */
.gy-sov-hint {
    margin-top: 10px;
    font-size: .75rem;
    color: rgba(255,255,255,.45);
    text-align: center;
    letter-spacing: .03em;
}
.gy-sov-hint kbd {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: inherit;
    font-size: .72rem;
}

/* ── Search results dropdown (shared by overlay + hero bar) ──── */
.gy-sr-results,
#gy-sov-results {
    margin-top: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,.18);
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
}
#gy-sov-results { border-radius: 0 0 12px 12px; margin-top: 0; }

.gy-sr-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    border-bottom: 1px solid #f0f2f5;
}
.gy-sr-item:last-child { border-bottom: none; }
.gy-sr-item:hover,
.gy-sr-item--active { background: var(--gy-light); }

.gy-sr-thumb {
    width: 60px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #e8edf2;
}
.gy-sr-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: #e8edf2;
}

.gy-sr-body { flex: 1; min-width: 0; }
.gy-sr-title {
    display: block;
    font-size: .92rem;
    font-weight: 600;
    color: var(--gy-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gy-sr-sub {
    display: block;
    font-size: .78rem;
    color: var(--gy-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gy-sr-price {
    font-size: .88rem;
    font-weight: 700;
    color: var(--gy-gold);
    white-space: nowrap;
    flex-shrink: 0;
}
.gy-sr-empty {
    padding: 20px 20px;
    color: var(--gy-muted);
    font-size: .9rem;
    text-align: center;
}
.gy-sr-empty a { color: var(--gy-blue); text-decoration: none; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER NAV — clean pill links
   ═══════════════════════════════════════════════════════════════════ */
.footer_nav .menu li { display: inline-block; margin: 0 4px; }
.footer_nav .menu li a {
    font-size: .82rem;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 4px;
    transition: color .2s, background .2s;
}
.footer_nav .menu li a:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ═══════════════════════════════════════════════════════════════════
   NOTIFICATION BELL DROPDOWN
   ═══════════════════════════════════════════════════════════════════ */

/* Wrapper — positions the dropdown relative to the bell */
.gy-notif-wrap {
    position: relative;
    display: inline-flex;
}

/* Dropdown panel */
.gy-notif-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    z-index: 9999;
    overflow: hidden;
    animation: gyNotifFadeIn .15s ease;
}
@keyframes gyNotifFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
    .gy-notif-dropdown { width: calc(100vw - 32px); right: -60px; }
}

/* Header row */
.gy-notif-dropdown__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #e2e6ea;
}
.gy-notif-dropdown__title {
    font-size: 14px;
    font-weight: 700;
    color: #0b1f6f;
}
.gy-notif-mark-all {
    background: none;
    border: none;
    font-size: 12px;
    color: #0073ff;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-weight: 600;
}
.gy-notif-mark-all:hover { text-decoration: underline; }

/* List */
.gy-notif-list {
    max-height: 360px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Individual item */
.gy-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
}
.gy-notif-item:last-child { border-bottom: none; }
.gy-notif-item:hover { background: #f8f9fa; }
.gy-notif-item--unread { background: #f0f6ff; }
.gy-notif-item--unread:hover { background: #e8f0fb; }

.gy-notif-item__icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.4;
}
.gy-notif-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.gy-notif-item__body a,
.gy-notif-item__body span {
    font-size: 13px;
    color: #0b1f6f;
    line-height: 1.4;
    text-decoration: none;
}
.gy-notif-item__body a:hover { color: #0073ff; }
.gy-notif-item__body strong { font-weight: 600; }
.gy-notif-item__time {
    font-size: 11px;
    color: #6c757d;
}

/* Empty / loading states */
.gy-notif-empty,
.gy-notif-loading {
    padding: 28px 16px;
    text-align: center;
    font-size: 13px;
    color: #6c757d;
}

/* Footer link */
.gy-notif-dropdown__foot {
    padding: 10px 16px;
    border-top: 1px solid #e2e6ea;
    text-align: center;
}
.gy-notif-dropdown__foot a {
    font-size: 12px;
    color: #0073ff;
    font-weight: 600;
    text-decoration: none;
}
.gy-notif-dropdown__foot a:hover { text-decoration: underline; }


/* =========================================================
   PREMIUM VESSELS — centered carousel with side arrows
   ========================================================= */
.gy-pv { background: #fff; padding: 56px 0; width: 100%; }

/* Centered row: [prev arrow] [viewport] [next arrow] */
.gy-pv__wrap { max-width: 95%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 14px; box-sizing: border-box; }

/* Viewport clips EXACTLY at the visible cards — no partial card peeking */
.gy-pv__viewport { flex: 1 1 auto; overflow: hidden; min-width: 0; }
.gy-pv__track { display: flex; gap: 24px; transition: transform .4s ease; }
.gy-pv__slide { flex: 0 0 calc((100% - 48px) / 3); box-sizing: border-box; min-width: 0; } /* 3 per view */
.gy-pv__slide .gy-card { width: 100%; }

/* Arrows sit beside the cards (left & right), vertically centred.
   Sizing is forced with !important so SmartSlider's CSS can't stretch them into ovals. */
.gy-pv__arrow {
  flex: 0 0 46px !important;
  width: 46px !important; height: 46px !important;
  min-width: 46px !important; max-width: 46px !important;
  padding: 0 !important; aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  border: 1px solid var(--gy-border); background: #fff; color: var(--gy-navy);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.12); transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.gy-pv__arrow:hover:not(:disabled) { background: var(--gy-gold); color: #fff; border-color: var(--gy-gold); }
.gy-pv__arrow:disabled { opacity: .4; cursor: default; }

@media (max-width: 1100px) { .gy-pv__slide { flex-basis: calc((100% - 24px) / 2); } }  /* 2 per view */
@media (max-width: 640px)  {
  .gy-pv__slide { flex-basis: 100%; }                                                  /* 1 per view */
  .gy-pv__wrap { gap: 6px; padding: 0 8px; }
  .gy-pv__arrow { width: 40px; height: 40px; }
}

/* =========================================================
   PREMIUM VESSELS — Slick luxury carousel (matches reference)
   ========================================================= */
.gy-lux { background:#f8fafc; padding:64px 0; }
.gy-lux, .gy-lux * { box-sizing:border-box; }
.gy-lux__inner { max-width:1280px; margin:0 auto; padding:0 64px; position:relative; }
.gy-lux__slider { position:relative; }

/* Fallback before Slick initialises */
.gy-lux__slider:not(.slick-initialized){ display:flex; gap:24px; overflow:hidden; }
.gy-lux__slider:not(.slick-initialized) .gy-lux__item{ flex:0 0 calc((100% - 48px)/3); }

.gy-lux__item { padding:0 12px; height:auto; }
.gy-lux .slick-list { margin:0 -12px; padding-bottom:6px; }
.gy-lux .slick-track { display:flex; }
.gy-lux .slick-slide { height:inherit; }
.gy-lux .slick-slide > div { height:100%; }

/* Card */
.gy-lux-card { background:#fff; border:1px solid #f1f5f9; border-radius:16px; overflow:hidden; display:flex; flex-direction:column; height:100%;
  box-shadow:0 4px 20px -2px rgba(0,0,0,.05), 0 2px 8px -1px rgba(0,0,0,.02); transition:transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1); }
.gy-lux-card:hover { transform:translateY(-6px); box-shadow:0 20px 35px -10px rgba(0,0,0,.08), 0 8px 20px -6px rgba(0,0,0,.03); }

.gy-lux-card__media { position:relative; height:240px; overflow:hidden; background:#f1f5f9; }
.gy-lux-card__imglink { display:block; height:100%; }
.gy-lux-card__media img { width:100%; height:100%; object-fit:cover; transition:transform .7s ease; display:block; }
.gy-lux-card:hover .gy-lux-card__media img { transform:scale(1.05); }
.gy-lux-card__top { position:absolute; left:16px; right:16px; top:16px; display:flex; justify-content:space-between; align-items:center; }
.gy-lux-card__tr { display:flex; align-items:center; gap:8px; }

.gy-lux-badge { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; border-radius:6px; padding:5px 12px; line-height:1; }
.gy-lux-badge--featured { background:#38bdf8; color:#fff; }
.gy-lux-badge--cond { background:#fff; color:#334155; box-shadow:0 2px 6px rgba(0,0,0,.06); }

.gy-lux-fav { width:36px; height:36px; border-radius:50%; background:#fff; color:#94a3b8; border:1px solid #f1f5f9; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.06); transition:all .25s; padding:0; }
.gy-lux-fav:hover { transform:scale(1.1); color:#ef4444; }
.gy-lux-fav.is-active { color:#ef4444; background:#fee2e2; border-color:#fca5a5; }
.gy-lux-fav.is-active svg { fill:#ef4444; }

.gy-lux-card__body { padding:24px; display:flex; flex-direction:column; flex:1 1 auto; }
.gy-lux-card__meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; gap:8px; }
.gy-lux-card__cat { color:#0284c7; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.gy-lux-card__loc { color:#94a3b8; font-size:12px; font-weight:600; display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.gy-lux-card__loc svg { color:#cbd5e1; flex:0 0 auto; }

.gy-lux-card__title { margin:0 0 20px; font-size:20px; font-weight:800; line-height:1.3; letter-spacing:-.01em; font-family:'Inter',sans-serif !important; }
.gy-lux-card__title a { color:#0f172a; text-decoration:none; transition:color .2s; font-family:'Inter',sans-serif !important; }
.gy-lux-card__title a:hover { color:#0284c7; }

.gy-lux-card__specs { display:grid; grid-template-columns:1fr 1fr; gap:16px; border-top:1px solid #f1f5f9; padding-top:16px; margin-bottom:24px; }
.gy-lux-lbl { display:block; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#94a3b8; margin-bottom:3px; }
.gy-lux-val { font-size:15px; font-weight:800; color:#1e293b; }

.gy-lux-card__foot { margin-top:auto; padding-top:16px; border-top:1px solid #f1f5f9; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.gy-lux-card__price { font-size:22px; font-weight:900; color:#0f172a; letter-spacing:-.02em; }
.gy-lux-card__act { display:flex; align-items:center; gap:10px; }

.gy-lux-compare { width:42px; height:40px; border:1px solid #cbd5e1; color:#64748b; border-radius:8px; background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .2s; padding:0; }
.gy-lux-compare:hover { border-color:#94a3b8; color:#334155; background:#f8fafc; }
.gy-lux-compare.is-active { background:#f1f5f9; border-color:#94a3b8; color:#1e293b; }

.gy-lux-details { background:#2496d8; color:#fff; border-radius:8px; font-weight:700; font-size:13px; padding:9px 16px; text-decoration:none; transition:all .2s; white-space:nowrap; display:inline-flex; align-items:center; }
.gy-lux-details:hover { background:#1d7eb6; color:#fff; box-shadow:0 4px 14px rgba(36,150,216,.3); }

/* Arrows (Slick-injected) */
.gy-lux-arrow { position:absolute; top:50%; transform:translateY(-55%); width:48px; height:48px; border-radius:50%; background:#fff; border:1px solid #e2e8f0; color:#1e293b; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:20; box-shadow:0 6px 20px rgba(0,0,0,.12); transition:all .25s cubic-bezier(.4,0,.2,1); padding:0; }
.gy-lux-arrow:hover { background:#0284c7; color:#fff; border-color:#0284c7; box-shadow:0 8px 24px rgba(2,132,199,.35); transform:translateY(-55%) scale(1.08); }
.gy-lux-arrow:before { content:none; }
.gy-lux-arrow--prev { left:-56px; }
.gy-lux-arrow--next { right:-56px; }

/* Dots */
.gy-lux .slick-dots { bottom:-38px; }
.gy-lux .slick-dots li { margin:0 5px; }
.gy-lux .slick-dots li button:before { font-size:10px; color:#3b82f6; opacity:.25; transition:all .3s ease; }
.gy-lux .slick-dots li.slick-active button:before { opacity:1; color:#0284c7; }

@media (max-width:1140px){ .gy-lux__inner{ padding:0 56px; } }
@media (max-width:768px){
  .gy-lux__inner{ padding:0 52px; }
  .gy-lux-arrow--prev{ left:-46px; } .gy-lux-arrow--next{ right:-46px; }
}
@media (max-width:640px){
  .gy-lux__inner{ padding:0 28px; }
  .gy-lux-arrow{ width:42px; height:42px; }
  .gy-lux-arrow--prev{ left:-14px; } .gy-lux-arrow--next{ right:-14px; }
}

/* ── Rounded (pill) buttons site-wide ────────────────────────────── */
.gy-btn, .gy-btn--primary, .gy-btn--ghost, .gy-btn--sm, .gy-btn--block,
.gy-details, .gy-lux-details, .gyslider-details, .gy-pv__search,
.gy-nav-login, .gy-header-login, .gy-btn--block,
button[type="submit"], input[type="submit"], input[type="button"],
.button, .button-primary, .wp-block-button__link,
#topmenu .menu-header ul > li > a[href*="list-your-boat"] {
  border-radius: 999px !important;
}

/* ── Single listing "Save to Wishlist": keep it an inline button, ───
   not the card's floating circular heart (.gy-wishlist-btn is reused). */
.gy-btn.gy-wishlist-btn {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 20px !important;
  background: transparent !important;
  color: var(--gy-navy) !important;
}
.gy-btn.gy-wishlist-btn svg { width: 16px !important; height: 16px !important; flex: 0 0 auto; }
.gy-btn.gy-wishlist-btn .gy-wishlist-label { display: inline !important; }
.gy-btn.gy-wishlist-btn.is-wishlisted { color: #0b1f6f !important; border-color: #0b1f6f !important; }
.gy-btn.gy-wishlist-btn.is-wishlisted svg { fill: #0b1f6f; }

/* ── Hero search (SmartSlider slide) — theme blue button + spaced advanced link ── */
#gy-hero-search button[type="submit"] {
  background: #0073ff !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(0,115,255,.35) !important;
}
#gy-hero-search button[type="submit"]:hover { background: #005fd6 !important; }
#gy-hero-search a[href*="advanced"] { margin-right: 20px !important; }

/* ── Active / current page menu — subtle colour change only ─────── */
#topmenu .menu-header ul > li.current-menu-item > a,
#topmenu .menu-header ul > li.current-menu-ancestor > a,
#topmenu .menu-header ul > li.current-menu-parent > a,
#topmenu .menu-header ul > li.current_page_item > a,
#topmenu .menu-header ul > li.current_page_ancestor > a {
    color: var(--gy-gold) !important;
}
/* Active submenu (dropdown) item */
#topmenu .menu-header ul > li > ul > li.current-menu-item > a,
#topmenu .menu-header ul > li > ul > li.current_page_item > a {
    color: var(--gy-gold) !important;
    font-weight: 600 !important;
}
/* Keep the "List Your Boat" CTA text white even when it's the current page */
#topmenu .menu-header ul > li > a[href*="list-your-boat"] { color: #fff !important; }