@font-face {
    font-family: 'Beyond';
    src: url('../fonts/beyond.otf') format('opentype');
    font-display: swap;
}
* { box-sizing: border-box; }

/* View Transitions — smooth crossfade between pages */
@media screen and (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    color: #333;
    margin: 0;
}

/* ── Top Bar ── */
.py-topbar {
    background: var(--py-footer-bar, #1a1a2e);
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
    padding: 0.375rem 0;
}
.py-topbar a { color: rgba(255,255,255,0.85); text-decoration: none; }
.py-topbar a:hover { color: #fff; }

/* ── Header ── */
.py-header {
    background: var(--py-header);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s;
}
.py-header.scrolled {
    background: var(--py-sticky-rgba);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.py-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--py-header-height);
}
.py-logo img { height: 45px; width: auto; }
@media (max-width: 991px) {
    .py-topbar { display: none; }
    .py-header .container { min-height: 60px; }
    .py-logo img { height: 30px; }
}

/* ── Nav ── */
.py-nav {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
@media (min-width: 992px) {
    .py-nav { display: flex; }
    /* Mobile nav toggle */
.py-nav-toggle { display: none !important; }
}
.py-nav li a {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--py-menu-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.py-nav li a:hover,
.py-nav li.active > a { color: var(--py-gold); }

/* Dropdown */
.py-nav li { position: relative; }
.py-nav .dropdown-menu {
    min-width: 200px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 0.5rem 0;
    background: var(--py-dropdown-rgba);
}
.py-nav .dropdown-menu a {
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    color: var(--py-menu-color);
}
.py-nav .dropdown-menu a:hover {
    color: var(--py-gold);
    background: rgba(0,0,0,0.03);
}

/* Mega Dropdown */
.py-nav .mega-dropdown {
    position: relative;
}
.py-nav .mega-dropdown-menu {
    min-width: 560px;
    display: none;
    position: absolute;
    right: -1rem;
    top: 100%;
    background: var(--py-dropdown-rgba);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 40px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    animation: megaFadeIn .2s ease-out;
}
@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.py-nav .mega-dropdown:hover .mega-dropdown-menu {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2.5rem;
    row-gap: 0.25rem;
}
.py-nav .mega-header {
    width: 100%;
    text-align: center;
    margin-bottom: 0.125rem;
}
.py-nav .mega-header-region {
    font-family: 'Beyond', serif;
    font-size: 2rem;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.08em;
    color: #fff;
}
.py-nav .mega-col {
    flex: 1;
    min-width: 180px;
}
.py-nav .mega-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--py-gold);
}
.py-nav .mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.py-nav .mega-col ul li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.py-nav .mega-col ul li:last-child {
    border-bottom: none;
}
.py-nav .mega-col ul li a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem;
    margin: 0 -0.5rem;
    font-size: 0.8125rem;
    color: var(--py-menu-color);
    font-weight: 400;
    border-radius: 6px;
    transition: background .15s, color .15s, padding-left .15s;
}
.py-nav .mega-col ul li a:hover {
    color: var(--py-gold);
    background: rgba(255,255,255,0.06);
    padding-left: 0.75rem;
}
.py-nav .mega-col ul li:first-child a {
    font-weight: 600;
}

/* Separator */
.py-nav .py-nav-separator span {
    display: block;
    padding: 0.5rem 0.25rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.875rem;
}

/* Mobile nav toggle */
/* Mobile nav toggle */
.py-nav-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--py-menu-color);
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile yacht nav overlay */
.py-nav-mobile {
    display: none;
    position: fixed;
    left: 5px; right: 5px; bottom: 60px;
    background: var(--py-header-30);
    z-index: 1035;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
    max-height: 70vh;
    box-sizing: border-box;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.py-nav-mobile.open { display: block; }
.py-nav-mobile .close-btn {
    background: none; border: none; font-size: 1.5rem;
    color: var(--py-menu-color);
    position: absolute; top: 0.75rem; right: 1rem; cursor: pointer;
}
.py-nav-mobile > ul { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; max-width: 100%; }

/* Top-level menu items: card-style buttons */
.py-nav-mobile > ul > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.875rem 1rem; font-size: 1rem; font-weight: 600;
    color: var(--py-menu-color); text-decoration: none;
    background: var(--py-header);
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 3px solid var(--py-gold);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all .2s;
}
.py-nav-mobile > ul > li > a:active {
    background: rgba(255,255,255,0.12);
    transform: scale(0.98);
}

/* Accordion chevron */
.py-nav-mobile .mobile-has-sub > a svg {
    transition: transform .25s; color: var(--py-gold);
}
.py-nav-mobile .mobile-has-sub.open > a svg { transform: rotate(180deg); }
.py-nav-mobile .mobile-has-sub.open > a {
    border-color: var(--py-gold);
    background: rgba(255,255,255,0.1);
    border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}

/* Submenu */
.py-nav-mobile .mobile-sub {
    display: none; list-style: none; padding: 0; margin: 0;
    background: var(--py-header);
    border: 1px solid rgba(255,255,255,0.1); border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}
.py-nav-mobile .mobile-has-sub.open .mobile-sub { display: block; }
.py-nav-mobile .mobile-sub li a {
    display: block;
    padding: 0.625rem 1rem 0.625rem 1.5rem; font-size: 0.9rem;
    color: rgba(255,255,255,0.75); text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color .15s, padding-left .15s;
}
.py-nav-mobile .mobile-sub li:last-child a { border-bottom: none; }
.py-nav-mobile .mobile-sub li a:active {
    color: var(--py-gold); padding-left: 1.75rem;
}
.py-nav-mobile .mobile-sub-title {
    padding: 0.75rem 1rem 0.25rem 1.5rem; font-size: 0.7rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--py-gold); border-bottom: none; opacity: 0.8;
}

/* ── Main ── */
.py-main {
    min-height: 60vh;
}

/* ── Footer ── */
.py-footer {
    background: var(--py-footer-bg, #2a2a3e);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 0;
    font-size: 0.8125rem;
}
.py-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.py-footer a:hover { color: var(--py-gold); }
.py-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 3rem;
}
.py-footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.py-footer-col ul { list-style: none; padding: 0; margin: 0; }
.py-footer-col ul li { margin-bottom: 0.5rem; }
.py-footer-col ul li a { font-size: 0.85rem; transition: color .2s; }
.py-footer-payments {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    align-items: center; margin-top: 0.5rem;
}
.py-footer-payments img,
.py-footer-payments svg {
    height: 32px; width: auto; opacity: 0.8; transition: opacity .2s;
}
.py-footer-payments img {
    border-radius: 4px; background: #fff; padding: 3px 6px;
}
.py-footer-payments img:hover,
.py-footer-payments svg:hover { opacity: 1; }
.py-footer-company {
    display: flex; flex-direction: column; gap: 0.75rem;
}
.py-footer-company p {
    margin: 0; line-height: 1.6; font-size: 0.85rem;
}
.py-footer-badge {
    display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem;
}
.py-footer-badge img { height: 60px; width: auto; }
.py-footer-bottom {
    max-width: none;
    margin: 2rem 0 0;
    padding: 1rem 1rem;
    background: var(--py-footer-bar, #1a1a2e);
    text-align: center;
    font-size: 0.8rem;
}
.py-footer-social {
    display: flex; gap: 0.75rem; margin-top: 0.75rem;
}
.py-footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.1); transition: background .2s;
}
.py-footer-social a:hover { background: var(--py-gold); }
.py-footer-social svg { width: 16px; height: 16px; fill: #fff; }
.py-footer-center { text-align: center; }
.py-footer-center .py-footer-payments { justify-content: center; }
.py-footer-center .py-footer-social { justify-content: center; }
.py-footer-right { text-align: right; }
.py-footer-right .py-footer-badge { justify-content: flex-end; }
.py-footer-right .py-footer-company { align-items: flex-end; }
@media(max-width:768px){
    .py-footer-grid{grid-template-columns:1fr;text-align:center}
    .py-footer-payments{justify-content:center}
    .py-footer-badge{justify-content:center}
    .py-footer-social{justify-content:center}
    .py-footer-right{text-align:center}
    .py-footer-right .py-footer-badge{justify-content:center}
    .py-footer-right .py-footer-company{align-items:center}
}

/* ── Favorites Overlay ── */
.py-fav-overlay {
    display: none; position: fixed; inset: 0; z-index: 1050;
    background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
}
.py-fav-overlay.open { display: flex; align-items: flex-start; justify-content: center; padding: 2rem; overflow-y: auto; }
.py-fav-panel {
    background: #fff; border-radius: 12px; max-width: 900px; width: 100%;
    padding: 2rem; position: relative;
}
.py-fav-close {
    position: absolute; top: 1rem; right: 1rem; background: none;
    border: none; font-size: 1.5rem; cursor: pointer; color: #666;
}
.py-fav-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem; margin-top: 1rem;
}

/* Yacht card CSS (for favorites overlay on all pages) */
.py-fav-grid .sp-yacht {
    display: flex; flex-direction: column; background: #fff;
    border-radius: 12px; overflow: hidden; text-decoration: none; color: #333;
    box-shadow: 0 4px 20px rgba(0,0,0,.15), 0 1px 4px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s;
}
.py-fav-grid .sp-yacht:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.1); }
.py-fav-grid .sp-yacht-header { padding: .75rem 1rem .25rem; }
.py-fav-grid .sp-yacht-header h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.py-fav-grid .sp-yacht-visual { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.py-fav-grid .sp-yacht-visual img { width: 100%; height: 100%; object-fit: cover; }
.py-fav-grid .sp-yacht-badge {
    position: absolute; bottom: 0; left: 0; right: 0; top: auto;
    background: rgba(0,0,0,.55); color: #fff;
    font-size: .65rem; font-weight: 600; letter-spacing: .05em;
    padding: .35rem .75rem; text-transform: uppercase;
    height: auto; z-index: 2;
}
.py-fav-grid .sp-yacht-specs { display: flex; justify-content: space-around; padding: .5rem; border-top: 1px solid #f0f0f0; }
.py-fav-grid .sp-yacht-spec { display: flex; flex-direction: column; align-items: center; font-size: .7rem; color: #666; }
.py-fav-grid .sp-yacht-spec svg { width: 20px; height: 20px; color: #999; margin-bottom: 2px; }
.py-fav-grid .sp-yacht-price-section { padding: .5rem 1rem; border-top: 1px solid #f0f0f0; text-align: center; }
.py-fav-grid .sp-yacht-price-info { font-size: .75rem; color: #888; }
.py-fav-grid .sp-yacht-prices { display: flex; gap: .5rem; justify-content: center; align-items: baseline; }
.py-fav-grid .sp-yacht-price-old { text-decoration: line-through; color: #999; font-size: .8rem; }
.py-fav-grid .sp-yacht-price-new { font-weight: 700; color: var(--py-gold); font-size: 1rem; }
.py-fav-grid .sp-yacht-footer { display: flex; justify-content: space-between; align-items: center; padding: .5rem 1rem .75rem; }
.py-fav-grid .sp-yacht-stars { color: var(--py-gold); }
.py-fav-grid .sp-yacht-stars svg { width: 16px; height: 16px; }
.py-fav-grid .sp-yacht-bookmark { cursor: pointer; color: #ccc; display: inline-flex; }
.py-fav-grid .sp-yacht-bookmark svg { width: 22px; height: 22px; }
.py-fav-grid .sp-yacht-bookmark.bookmarked { color: #e74c3c; }
.py-fav-grid .sp-yacht-bookmark.bookmarked svg { fill: #e74c3c; stroke: #e74c3c; }
.py-fav-grid .sp-yacht-sticker-wrap { position: relative; }
.py-fav-grid .sp-yacht-sticker { position: absolute; top: -8px; right: 8px; height: 48px; width: auto; z-index: 2; }

/* py-fav-grid mobile fix — reset aggressive sp-yacht-cards mobile CSS */
@media (max-width: 768px) {
    .py-fav-overlay.open { padding: 1rem; padding-bottom: 70px; }
    .py-fav-panel { padding: 1rem; }
    .py-fav-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .py-fav-grid .sp-yacht { overflow: hidden !important; }
    .py-fav-grid .sp-yacht-header { position: relative !important; order: 0 !important; background: none !important; backdrop-filter: none !important; border-radius: 0 !important; padding: .75rem 1rem .25rem !important; height: auto !important; }
    .py-fav-grid .sp-yacht-header h3 { color: #333 !important; font-size: .95rem !important; }
    .py-fav-grid .sp-yacht-h3-mobile { display: none !important; }
    .py-fav-grid .sp-yacht-h3-desktop { display: block !important; }
    .py-fav-grid .sp-yacht-visual { order: 0 !important; aspect-ratio: 16/10 !important; }
    .py-fav-grid .sp-yacht-name-section { display: none !important; }
    .py-fav-grid .sp-yacht-specs { display: none !important; }
    .py-fav-grid .sp-yacht-price-section { display: block !important; padding: .5rem 1rem !important; }
    .py-fav-grid .sp-yacht-footer { display: flex !important; }
    .py-fav-grid .sp-yacht-badge--price { display: none !important; }
    .py-fav-grid .sp-yacht-bookmark--mobile { display: none !important; }
    .py-fav-grid .sp-yacht-sticker-wrap { display: none !important; }
}

/* Mobile nav extras (search, language, bottom menu) */
.py-mobile-extras { margin-top: 1.5rem; padding: 0 0.25rem; }
.py-mobile-search { position: relative; margin-bottom: 1.25rem; }
.py-mobile-search input {
    width: 100%; padding: 0.75rem 1rem; border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px; background: rgba(255,255,255,0.08); color: #fff;
    font-size: 0.95rem; font-family: inherit; outline: none;
    box-sizing: border-box;
}
.py-mobile-search input::placeholder { color: rgba(255,255,255,0.4); }
.py-mobile-search input:focus { border-color: var(--py-gold); background: rgba(255,255,255,0.12); }
.py-mobile-lang { margin-bottom: 1.25rem; }
.py-mobile-lang select {
    width: 100%; padding: 0.75rem 1rem; border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px; background: rgba(255,255,255,0.08); color: #fff;
    font-size: 0.95rem; font-family: inherit; outline: none;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1rem;
    box-sizing: border-box;
}
.py-mobile-lang select option { background: #303030; color: #fff; }
.py-mobile-bottom { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.py-mobile-bottom li { width: 50%; }
.py-mobile-bottom li a {
    display: block; padding: 0.5rem 0; font-size: 0.85rem;
    color: rgba(255,255,255,0.5); text-decoration: none;
}
.py-mobile-bottom li a:active { color: var(--py-gold); }
.py-mobile-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 0.5rem 0 1rem; }

/* Fixed bottom bar (mobile only) */
.py-bottom-bar {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 1070;
    background: var(--py-header);
    border-top: 1px solid rgba(255,255,255,1);
    padding: 0; margin: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
@media (max-width: 991px) {
    .py-bottom-bar { display: flex; }
    body { overflow-x: hidden; padding-bottom: 60px; }
}
.py-bottom-bar-item {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px;
    padding: 8px 4px; color: #fff;
    text-decoration: none; font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.05em; text-transform: uppercase; position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s;
    border: none; background: none; cursor: pointer; font-family: inherit;
}
.py-bottom-bar-item:active,
.py-bottom-bar-item.active { color: #e30d13; font-weight: 600; }
.py-bottom-bar-assistant { color: #e30d13; }
.py-bottom-bar-assistant:active { color: #b00a0f; }
.py-bottom-bar-contact { color: #fff; }
.py-bottom-bar-contact:active { color: rgba(255,255,255,.7); }
.py-bottom-bar-item svg { width: 22px; height: 22px; transition: transform 0.15s; }
.py-bottom-bar-item.active svg { transform: scale(1.15); stroke-width: 2; }

/* Yachts dropup */
.py-bottom-dropup {
    display: none; position: absolute; bottom: 100%; left: 0; right: 0;
    background: var(--py-header);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
    padding: 0.75rem 0;
}
.py-bottom-dropup.open { display: block; }
.py-bottom-dropup a {
    display: block; padding: 0.7rem 1.25rem;
    color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.95rem;
}
.py-bottom-dropup a:active { color: var(--py-gold); }
.py-bottom-dropup-backdrop {
    display: none; position: fixed; inset: 0; z-index: 1029;
}
.py-bottom-dropup-backdrop.open { display: block; }


/* Browse filter overlay */
/* Promo badge on tour cards — circular, same position as membership sticker */
.sp-promo-badge {
    position: absolute; bottom: -20px; right: 25px;
    width: 82px; height: 82px; border-radius: 50%;
    background: #e30d13; color: #fff;
    font-size: 1.44rem; font-weight: 800; letter-spacing: -0.02em;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
    pointer-events: none; z-index: 200; transform: rotate(10deg);
}

.py-info-search-field {
    width: 100%; padding: 0.6rem 2rem 0.6rem 0.85rem; border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 2rem; font-size: 0.85rem; font-family: inherit; outline: none;
    background: rgba(0,0,0,0.35); color: #fff; box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3), inset 0 1px 2px rgba(0,0,0,0.2);
}
.py-info-search-field:focus { border-color: var(--py-gold); background: rgba(0,0,0,0.55); }
.py-info-search-field::placeholder { color: rgba(255,255,255,0.5); }
.py-info-search-spinner {
    display: none; position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--py-gold);
    border-radius: 50%; animation: spin 0.6s linear infinite;
}
.py-info-search-results { margin-top: 0.4rem; }
.py-info-search-results a {
    display: block; padding: 0.4rem 0.75rem; color: rgba(255,255,255,0.8);
    text-decoration: none; font-size: 0.85rem; border-radius: 0.5rem; transition: background 0.15s;
}
.py-info-search-results a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.py-info-search-results .py-info-search-cat {
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.04em;
    color: rgba(255,255,255,0.35); padding: 0.3rem 0.75rem 0.1rem; font-weight: 600;
}
.py-info-links {
    display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; padding: 0.25rem 0;
}
.py-info-link {
    display: inline-block; padding: 0.36rem 0.9rem; border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.1); background: var(--py-header, #1a2332);
    color: rgba(255,255,255,0.82); font-size: 0.9rem; font-weight: 500;
    text-decoration: none; transition: all 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.py-info-link:hover, .py-info-link:active {
    border-color: var(--py-gold); color: var(--py-gold);
}
.py-browse-overlay {
    display: none;
    position: fixed;
    left: 5px; right: 5px; bottom: 60px;
    background: var(--py-header-30);
    z-index: 1035;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 0.75rem;
    box-sizing: border-box;
    max-width: calc(100vw - 10px);
    height: 50vh;
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.py-browse-overlay.open { display: block; }
.py-browse-handle { display:flex; justify-content:center; align-items:center; padding:11px 0 17px; cursor:grab; touch-action:none; margin:-0.5rem -0.75rem 10px; border-radius:16px 16px 0 0; position:sticky; top:-0.5rem; z-index:2; background:var(--py-header); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.py-browse-handle-close { position:absolute; right:0.75rem; top:50%; transform:translateY(-50%); background:none; border:none; color:#fff; font-size:1.5rem; line-height:1; cursor:pointer; padding:0.25rem 0.5rem; z-index:3; opacity:0.85; } .py-browse-handle-close:active { opacity:1; }
.py-browse-handle:active { cursor:grabbing; }
.py-browse-handle-bar { width:36px; height:4px; border-radius:2px; background:rgba(255,255,255,0.35); }
.py-browse-section { margin-bottom: 0.35rem; text-align: center; }
.py-browse-collapsed { display: flex; gap: 0.5rem; align-items: center; justify-content: center; padding: 0.25rem 0; }
.py-browse-choice-label { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6); font-size: 0.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
.py-browse-btn {
    padding: 0.4rem 1rem; border-radius: 2rem; font-size: 0.8rem; font-weight: 600;
    cursor: pointer; font-family: inherit; border: none; transition: all 0.15s;
}
.py-browse-btn-change { background: var(--py-header); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15); }
.py-browse-btn-change:active { color: var(--py-gold); border-color: var(--py-gold); }
.py-browse-label {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; color: #fff; opacity: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    margin-bottom: 0.3rem; text-align: center;
}
.py-browse-pills { display: flex; flex-wrap: wrap; gap: 0.3rem; justify-content: center; }
.py-browse-pill {
    padding: 0.36rem 0.9rem; border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.1); background: var(--py-header);
    color: rgba(255,255,255,0.82); font-size: 0.9rem; font-weight: 500;
    cursor: pointer; transition: all 0.15s; font-family: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.py-browse-pill.active { border-color: var(--py-gold); color: var(--py-gold); }
.py-browse-pill:active { transform: scale(0.96); }
.py-browse-slider-wrap { display:flex; align-items:center; gap:0.5rem; padding:0.15rem 0; }
.py-browse-slider { -webkit-appearance:none; appearance:none; flex:1; height:6px; border-radius:3px; background:rgba(255,255,255,0.15); outline:none; box-shadow:0 1px 3px rgba(0,0,0,0.6); }
.py-browse-slider::-webkit-slider-thumb { -webkit-appearance:none; width:28px; height:28px; border-radius:50%; background:var(--py-gold); cursor:pointer; border:2px solid rgba(0,0,0,0.2); }
.py-browse-slider::-moz-range-thumb { width:28px; height:28px; border-radius:50%; background:var(--py-gold); cursor:pointer; border:2px solid rgba(0,0,0,0.2); }
.py-browse-slider-val { color:#fff; font-size:0.9rem; font-weight:700; min-width:2.5rem; text-align:center; text-shadow:0 1px 3px rgba(0,0,0,0.6); }
.py-browse-close {
    position: sticky; top: 0; float: right;
    background: var(--py-header); border: none; color: var(--py-menu-color); font-size: 1.5rem; cursor: pointer;
    z-index: 1; padding: 0 0.25rem; margin: -0.5rem -0.25rem 0 0; line-height: 1;
}
.py-browse-empty {
    text-align: center; color: rgba(255,255,255,0.5); padding: 1rem 0; font-size: 0.85rem;
}
.py-browse-regions { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.75rem; justify-content: center; }
.py-browse-region {
    padding: 0.5rem 1rem; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1); background: var(--py-header);
    color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600;
    text-decoration: none; text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border-left: 3px solid var(--py-gold);
}
.py-browse-region:active { color: var(--py-gold); }

/* Language dropdown (mobile header) */
.py-header-lang-mobile { position: relative; }
.py-lang-toggle {
    background: none; border: none; color: var(--py-menu-color); cursor: pointer;
    padding: 0.25rem; display: flex; align-items: center;
    opacity: 0.7; transition: opacity 0.2s;
}
.py-lang-toggle:active { opacity: 1; }
.py-lang-dropdown {
    display: none; position: absolute; top: 100%; right: 0;
    background: var(--py-header); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 0.5rem 0; min-width: 140px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3); z-index: 1050;
    margin-top: 0.5rem;
}
.py-lang-dropdown.open { display: block; }
.py-lang-option {
    display: block; padding: 0.5rem 1rem; color: rgba(255,255,255,0.7);
    text-decoration: none; font-size: 0.875rem; white-space: nowrap;
}
.py-lang-option:active, .py-lang-option.active { color: var(--py-gold); }
.py-lang-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 0.4rem 0; }
.py-currency-hint, .calc-currency-hint { display: none; }
.py-currency-option { display: block; padding: 0.5rem 1rem; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; white-space: nowrap; }
.py-currency-option:active, .py-currency-option.active { color: var(--py-gold); }

/* Header right group (mobile: heart + lang) */
.py-header-right {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;
}

/* Header left group (logo) */
.py-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 992px) {
    .py-header-fav-mobile { display: none !important; }
}

/* Header Favorites */
.py-header-fav {
    position: relative;
    display: flex;
    align-items: center;
    color: #999;
    text-decoration: none;
    transition: color .2s;
}
.py-header-fav:hover { color: var(--py-gold); }
@media (max-width: 991px) {
    .py-header-fav-desktop { display: none !important; }
}
.py-header-fav svg { stroke: currentColor; }
/* Solid white heart on mobile when header is scrolled (transparent over content) */
@media (max-width: 991px) {
    .py-header.scrolled .py-header-fav-mobile { color: #fff; }
    .py-header.scrolled .py-header-fav-mobile svg { fill: #fff; stroke: #fff; }
}
.py-header-fav-count {
    position: absolute;
    top: -6px; right: -8px;
    background: #e74c3c; color: #fff;
    font-size: .6rem; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Language globe button */
.py-lang-globe {
    position: relative;
    display: flex; align-items: center; cursor: pointer;
    background: none; border: none; padding: 0.25rem;
    color: var(--py-menu-color); opacity: 0.75; transition: opacity 0.2s;
}
.py-lang-globe:hover { opacity: 1; }
.py-lang-globe svg { width: 20px; height: 20px; }

/* Language popup dropdown */
.py-lang-popup {
    display: none; position: absolute; top: 100%; right: 0;
    margin-top: 0.5rem; background: var(--py-header, #1a1a2e);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 0.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3); min-width: 160px;
    padding: 0.5rem 0; z-index: 1050;
}
.py-lang-popup.open { display: block; }
.py-lang-popup a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 1rem; color: var(--py-menu-color); text-decoration: none;
    font-size: 0.875rem; transition: background 0.15s;
}
.py-lang-popup a:hover { background: rgba(255,255,255,0.08); }
.py-lang-popup a.active { opacity: 0.5; pointer-events: none; }
.py-lang-popup a .py-lang-flag { font-size: 1.2rem; line-height: 1; }

/* Search icon button */
.py-search-btn {
    position: relative;
    display: flex; align-items: center; cursor: pointer;
    background: none; border: none; padding: 0.25rem;
    color: var(--py-menu-color); opacity: 0.75; transition: opacity 0.2s;
    list-style: none;
}
.py-search-btn:hover { opacity: 1; }
.py-search-btn svg { width: 20px; height: 20px; }

/* Search popup overlay */
.py-search-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    z-index: 1030; align-items: flex-start; justify-content: center;
    padding-top: 18vh;
}
.py-search-overlay.open { display: flex; }
.py-search-box {
    background: #fff; border-radius: 0.75rem;
    box-shadow: 0 12px 48px rgba(0,0,0,0.3);
    padding: 1.5rem; width: 90%; max-width: 540px;
    position: relative;
}
.py-search-box-close {
    position: absolute; top: 0.75rem; right: 0.75rem;
    background: none; border: none; font-size: 1.5rem;
    color: #666; cursor: pointer; line-height: 1;
}
.py-search-box-close:hover { color: #333; }
.py-search-box h3 {
    margin: 0 0 1rem; font-size: 1.125rem; color: #333; font-weight: 600;
}
.py-search-box input[type="search"] {
    width: 100%; padding: 0.75rem 2.5rem 0.75rem 1rem; border: 2px solid #e0e0e0;
    border-radius: 0.5rem; font-size: 1rem; outline: none;
    transition: border-color 0.2s;
}
.py-search-box input[type="search"]:focus {
    border-color: var(--py-gold, #c9a96e);
}
.py-search-input-wrap { position: relative; }
.py-search-spinner {
    display: none; position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; border: 2px solid #ddd; border-top-color: var(--py-gold, #c9a96e);
    border-radius: 50%; animation: spin .6s linear infinite;
}
.py-search-spinner.active { display: block; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.py-search-results { max-height: 50vh; overflow-y: auto; margin-top: 0.75rem; }
.py-search-results:empty { margin: 0; }
.py-search-group-title {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; color: #999; padding: 0.5rem 0 0.25rem; margin: 0;
}
.py-search-item {
    display: block; padding: 0.6rem 0.5rem; border-bottom: 1px solid #f0f0f0;
    text-decoration: none; color: #333; transition: background 0.15s; border-radius: 0.375rem;
}
.py-search-item:hover { background: #f8f6f2; }
.py-search-item-title { font-weight: 600; font-size: 0.9375rem; }
.py-search-item-sub { font-weight: 400; color: #999; font-size: 0.8125rem; }
.py-search-item-desc { font-size: 0.8125rem; color: #777; margin-top: 0.15rem; }
.py-search-tour-link {
    background: #f8f6f2; border: 1px solid var(--py-gold-light, #c9a96e40);
    border-radius: 0.5rem; margin-top: 0.25rem; padding: 0.75rem 0.75rem !important;
}
.py-search-tour-link:hover { background: #f3efe8; }
.py-search-tour-link .py-search-item-desc { color: var(--py-gold, #c9a96e); }
.py-search-empty { text-align: center; color: #999; padding: 1.5rem 0; font-size: 0.9rem; }