/* ═══════════════════════════════════════════════════
   GeoDiscovery Frontend Styles
   ═══════════════════════════════════════════════════ */
 
/* ── Reset / Base ── */
.geo-popup-open { overflow: hidden; }
 
#geo-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9998;
    backdrop-filter: blur(2px);
}
#geo-popup-mount {
    position: fixed; inset: 0;
    z-index: 9999;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 12px;
    padding-top: max(12px, env(safe-area-inset-top, 12px));
    pointer-events: none;
    overflow-y: auto;
}
#geo-popup-mount:not([hidden]) { pointer-events: all; }
 
/* ── Popup wrapper ── */
.geo-popup {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
    width: 100%; max-width: 800px;
    max-height: calc(100dvh - 24px);
    overflow-y: overlay;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    animation: geoSlideIn .25s ease;
    margin-top: 0;
}

/* ── Popup font-family overrides per popup type ── */
.geo-popup--town {
    font-family: var(--geo-gz-font-family, Arial, sans-serif);
}

@keyframes geoSlideIn {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}
 
/* ── Close bar / header ── */
.geo-popup__close-bar {
    background: #4a4a5e;
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky; top: 0; z-index: 10;
}
.geo-zone-detected {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
    animation: geoFlash 2s ease-in-out infinite;
}
.geo-zone-detected i { margin-right: 8px; }
@keyframes geoFlash {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
.geo-popup__close {
    background: none; border: none; color: #fff;
    font-size: 28px; cursor: pointer; line-height: 1;
    padding: 4px 8px; min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .2s; position: relative; z-index: 25;
}
.geo-popup__close:hover { opacity: .7; }
 
/* ── Accordion ── */
.geo-accordion-item { border-bottom: 1px solid #e0e0e0; }
.geo-accordion-item:last-child { border-bottom: none; }
 
.geo-accordion-header {
    background: var(--geo-accordion-btn-bg, #f7941d) !important;
    color: var(--geo-accordion-btn-text, #fff) !important;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: background .25s;
}
.geo-accordion-header:hover  { filter: brightness(0.9); }
.geo-accordion-header.active { filter: brightness(0.85); }
 
.geo-accordion-title {
    display: flex; align-items: center; gap: 12px;
    font-size: var(--geo-acc-tab-size, var(--geo-font-accordion, 15px)) !important;
    font-family: var(--geo-acc-tab-family, inherit) !important;
    font-weight: 700; text-transform: uppercase;
    color: var(--geo-accordion-btn-text, #fff) !important;
}
.geo-accordion-title i { font-size: calc(var(--geo-gz-tab-icon-size, 48px) * 0.5); }
.geo-accordion-chevron { transition: transform .3s; font-size: 13px; }
.geo-accordion-header.active .geo-accordion-chevron { transform: rotate(180deg); }

/* GZ accordion tab header image — size controlled by gz_tab_icon_size setting */
.geo-accordion-tab-img {
    width: var(--geo-gz-tab-icon-size, 48px);
    height: var(--geo-gz-tab-icon-size, 48px);
    object-fit: contain;
    display: block;
    background: transparent;
    border-radius: 50%;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}
 
.geo-accordion-body {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    background: var(--geo-accordion-body-bg, #fafafa) !important;
    color: var(--geo-gz-body-color, #374151) !important;
    font-size: var(--geo-acc-body-size, var(--geo-gz-body-size, var(--geo-font-body, 14px))) !important;
    font-family: var(--geo-acc-body-family, var(--geo-gz-font-family, inherit)) !important;
}
.geo-accordion-body.active { max-height: 3000px; }
.geo-accordion-body-inner  { padding: 22px 24px; }

/* ── NEWS Card Hearts ── */
.geo-news-heart {
    background: rgba(50,50,50,.75) !important;
    border: 2px solid #f7941d !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer;
}
.geo-news-heart .geo-heart-icon {
    font-size: 18px !important;
}
.geo-news-heart .geo-heart-count {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    min-width: 14px;
}

/* ── Accordion body inner content ── */
.geo-accordion-body-inner p,
.geo-accordion-body-inner span,
.geo-accordion-body-inner div,
.geo-accordion-body-inner li,
.geo-accordion-body-inner td,
.geo-accordion-body-inner h3,
.geo-accordion-body-inner h4,
.geo-accordion-body-inner .geo-biz-name,
.geo-accordion-body-inner .geo-biz-card strong {
    font-size: var(--geo-acc-body-size, var(--geo-gz-body-size, var(--geo-font-body, 14px))) !important;
}
.geo-popup .geo-accordion-body-inner h3,
.geo-popup .geo-accordion-body-inner h4 {
    font-size: var(--geo-acc-body-size, var(--geo-gz-body-size, var(--geo-font-body, 14px))) !important;
}
.geo-accordion-body-inner .geo-weather-temp { font-size: 2.2em !important; }
.geo-accordion-body-inner .geo-forecast-date { font-size: 0.9em !important; }
.geo-accordion-body-inner .geo-forecast-temp { font-size: 0.9em !important; }
.geo-accordion-body-inner .geo-forecast-desc { font-size: 0.85em !important; }
.geo-accordion-body-inner .quiz-btn          { font-size: 0.9em !important; }
.geo-accordion-body-inner .score-cw-value    { font-size: 2em !important; }
.geo-accordion-body-inner .geo-deal-badge    { font-size: 0.8em !important; }
 
/* ── Weather ── */
.geo-weather-current {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #fff; padding: 16px; border-radius: 8px;
    margin-bottom: 16px; text-align: center;
}
.geo-weather-location { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.geo-weather-temp     { font-size: 36px; font-weight: 700; margin: 6px 0; }
.geo-weather-condition{ font-size: 14px; margin-bottom: 8px; }
.geo-weather-details  {
    display: flex; justify-content: center; gap: 16px;
    margin-top: 10px; font-size: 12px;
}
.geo-weather-details span { display: flex; align-items: center; gap: 4px; }
.geo-forecast-title   { font-size: 15px; font-weight: 600; margin-bottom: 10px; color: #333; }
.geo-forecast-grid    {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 8px;
}
.geo-forecast-day {
    background: #f4f4f4; padding: 10px 6px; border-radius: 8px;
    text-align: center; border: 1px solid #ddd;
}
.geo-forecast-date { font-weight: 600; font-size: 13px; margin-bottom: 4px; color: #333; line-height: 1.3; }
.geo-forecast-icon { font-size: 22px; margin: 5px 0; }
.geo-forecast-temp { font-size: 13px; font-weight: 600; color: #333; }
.geo-forecast-desc { font-size: 12px; color: #666; margin-top: 3px; }
 
/* ── Businesses ── */
.geo-biz-card {
    background: #f4f4f4; padding: 12px 16px; border-radius: 8px;
    margin-bottom: 10px; border: 1px solid #ddd;
    display: flex; justify-content: space-between; align-items: center;
}
.geo-biz-info { display: flex; align-items: center; gap: 10px; flex: 1; }
.geo-biz-name { font-weight: 600; font-size: 15px; margin: 0; }
.geo-biz-actions { display: flex; gap: 10px; }
 
.geo-icon-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; transition: all .25s;
    text-decoration: none; font-size: 17px;
}
.geo-btn-route {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.geo-btn-route:hover { background: linear-gradient(135deg,#2d3748 0%,#1a202c 100%); transform:scale(1.1); }
.geo-btn-web {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.geo-btn-web:hover { background: linear-gradient(135deg,#2c5aa0 0%,#2a5298 100%); transform:scale(1.1); }
 
/* ── Fun Fact ── */
.geo-fact-box {
    background: #eee; border-radius: 14px; padding: 20px;
    line-height: 1.7; font-size: 14px;
}
.geo-fact-box h3 { margin-bottom: 10px; font-size: 18px; }
 
/* ── Deals ── */
.geo-deal-badge {
    display: inline-block;
    background: #e74c3c; color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 12px;
    margin-top: 4px;
}
 
/* ── Treasure ── */
.geo-treasure-item {
    background: #fff8e1; border: 1px solid #ffe082;
    border-radius: 10px; padding: 16px; margin-bottom: 12px;
}
.geo-treasure-item h4 { margin-bottom: 6px; font-size: 17px; }
 
/* ══════════════════════════════════════════════════
   GEO QUIZ
   ══════════════════════════════════════════════════ */
.quiz-container     { display: flex; gap: 20px; flex-wrap: wrap; }
.quiz-main          { flex: 1; min-width: 280px; }
 
.quiz-sidebar-container {
    min-width: 240px; max-width: 300px; position: relative;
}
.quiz-sidebar-wrapper,
.geo-quiz-carousel  {
    display: flex;
    overflow: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
}
.quiz-sidebar {
    background: #f7941d; color: #fff;
    padding: 20px 18px 16px; border-radius: 8px;
    min-width: 100%; width: 100%;
    flex: 0 0 100%; flex-shrink: 0;
    text-align: center; transition: opacity .3s;
}
.score-placeholder { background: rgba(247,148,29,.5); }
.score-loading     { padding: 30px 10px; font-size: 13px; opacity: .85; }
 
.carousel-controls { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
 
.quiz-greeting {
    font-size: 22px; color: #333; margin-bottom: 18px;
    padding-left: 12px; border-left: 4px solid #f7941d;
}
.quiz-question,
.geo-quiz-question {
    font-size: 18px; color: #333; line-height: 1.6;
    margin-bottom: 14px; padding-left: 12px;
    border-left: 4px solid #f7941d; min-height: 54px;
}
.quiz-input,
.geo-quiz-input {
    width: 100%; padding: 12px 14px; font-size: 14px;
    border: 2px solid #ddd; border-radius: 4px; margin-bottom: 14px;
    box-sizing: border-box;
}
.quiz-input:focus,
.geo-quiz-input:focus { outline: none; border-color: #f7941d; }
 
.quiz-buttons  { display: flex; gap: 12px; margin-bottom: 14px; }
.quiz-btn {
    flex: 1; padding: 13px 20px; font-size: 14px; font-weight: 700;
    text-transform: uppercase; border: none; border-radius: 4px;
    cursor: pointer; transition: all .25s;
}
.quiz-btn.check       { background: #27ae60; color: #fff; }
.quiz-btn.check:hover { background: #229954; }
.quiz-btn.next        { background: #3498db; color: #fff; }
.quiz-btn.next:hover  { background: #2980b9; }
.quiz-btn:disabled    { opacity: .45; cursor: not-allowed; }
 
.quiz-feedback,
.geo-quiz-feedback-wrap {
    padding: 14px 16px; border-radius: 4px; margin-bottom: 14px;
}
.geo-quiz-feedback-wrap.correct,
.quiz-feedback.correct {
    background: #d4edda; border-left: 4px solid #27ae60; color: #155724;
}
.geo-quiz-feedback-wrap.wrong,
.quiz-feedback.wrong   {
    background: #f8d7da; border-left: 4px solid #e74c3c; color: #721c24;
}
.quiz-feedback-title,
.geo-quiz-feedback-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
 
.geo-quiz-complete {
    background: #e8f5e9; border: 2px solid #27ae60;
    border-radius: 8px; padding: 18px 20px;
    margin-bottom: 16px; text-align: center;
}
.geo-quiz-complete i  { font-size: 28px; color: #27ae60; display: block; margin-bottom: 8px; }
.geo-quiz-complete p  { font-size: 15px; font-weight: 700; color: #1b5e20; margin-bottom: 4px; }
.geo-quiz-complete small { font-size: 12px; color: #4caf50; }
 
.score-town-name   { font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; word-break: break-word; }
.score-town-sub    { font-size: 13px; opacity: .85; }
.score-divider     { width: 100%; height: 1px; background: rgba(255,255,255,.3); margin: 10px 0; }
 
.score-rankings        { background: rgba(0,0,0,.15); border-radius: 6px; padding: 10px 8px; margin: 10px 0; text-align: left; }
.score-rankings-title  { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; opacity: .9; font-weight: 700; margin-bottom: 8px; text-align: center; }
.ranking-row           { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.15); }
.ranking-row:last-child{ border-bottom: none; }
.ranking-label         { opacity: .85; }
.ranking-value         { font-weight: 700; font-size: 16px; }
 
.score-title-section  { margin: 8px 0; }
.score-title-label    { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; opacity: .9; margin-bottom: 2px; }
.score-title-value    { font-size: 20px; font-weight: 700; }
 
.score-progress-section  { margin: 8px 0 4px; }
.score-progress-label    { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; opacity: .9; margin-bottom: 6px; }
.score-progress-row      { display: flex; align-items: center; gap: 8px; }
.score-progress-bar-bg   { flex: 1; height: 10px; background: rgba(0,0,0,.2); border-radius: 5px; overflow: hidden; }
.score-progress-bar-fill { height: 100%; background: rgba(255,255,255,.85); border-radius: 5px; transition: width .4s ease; }
.score-progress-fraction { font-size: 14px; font-weight: 700; white-space: nowrap; opacity: .95; }
 
.score-cw-row  { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.score-cw-box  { flex: 1; border-radius: 6px; padding: 8px 4px; text-align: center; }
.score-cw-box.correct-score { background: rgba(39,174,96,.25); border: 2px solid #27ae60; }
.score-cw-box.wrong-score   { background: rgba(231,76,60,.25);  border: 2px solid #e74c3c; }
.score-cw-label { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; opacity: .9; margin-bottom: 2px; }
.score-cw-value { font-size: 32px; font-weight: 700; line-height: 1; }
 
/* ── Business list popup ── */
.geo-popup__header {
    padding: 16px 20px; background: #4a4a5e; color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 20;
}
.geo-popup__header h2 { font-size: 18px; margin: 0; }
.geo-business-list {
    background: var(--geo-wf-list-bg, #b8a66d) !important;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}
.geo-card {
    padding: 16px 48px 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,.3);
    position: relative;
    background: transparent;
    color: var(--geo-wf-card-text, #1a1a0a) !important;
    display: flex !important;
    flex-direction: column !important;
}
.geo-card:last-child { border-bottom: none; }
 
.geo-btn {
    background: #f7941d; color: #fff; border: none;
    padding: 12px 20px; border-radius: 6px;
    font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s;
}
.geo-btn:hover { background: #e67e22; }
 
/* ── Loader / Error toasts ── */
#geo-loader {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,.8); color: #fff;
    padding: 12px 24px; border-radius: 30px;
    font-size: 14px; z-index: 10000;
    display: flex; align-items: center; gap: 10px;
}
#geo-loader i { animation: geoSpin .8s linear infinite; }
@keyframes geoSpin { to { transform: rotate(360deg); } }
#geo-error {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: #e74c3c; color: #fff;
    padding: 12px 24px; border-radius: 8px;
    font-size: 14px; z-index: 10001; max-width: 320px; text-align: center;
}
 
/* ── Responsive ── */
@media (max-width: 640px) {
    #geo-popup-mount {
        align-items: flex-start;
        padding: 0;
        padding-top: env(safe-area-inset-top, 0px);
    }
    .geo-popup {
        max-height: 100dvh;
        max-height: calc(var(--geo-viewport-height, 100vh));
        border-radius: 0 0 10px 10px;
        margin-top: 0;
    }
    .quiz-container          { flex-direction: column; }
    .quiz-sidebar-container  { max-width: 100%; width: 100%; order: 2; }
    .quiz-main               { order: 1; }
    .quiz-buttons            { flex-direction: column; }
    .geo-forecast-grid       { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); }
    .geo-weather-temp        { font-size: 28px; }
    .geo-accordion-body-inner{ padding: 16px; }
}
 
/* ── Enhanced / Geo-Zone flashing cards ── */
@keyframes geoCardFlash {
    0%,100% { background: #fffde7; border-color: #f7941d; box-shadow: 0 0 6px rgba(247,148,29,.3); }
    50%      { background: #fff3cd; border-color: #e67e22; box-shadow: 0 0 12px rgba(247,148,29,.55); }
}
.geo-card--flash {
    border: 2px solid #f7941d !important;
    animation: geoCardFlash 2.2s ease-in-out infinite;
}
.geo-hotspot-badge {
    position: absolute;
    top: 8px; left: 8px;
    height: 36px;
    pointer-events: none;
    z-index: 2;
}
 
/* ── GEO ZONE DETECTED flash block ── */
@keyframes geoZoneBlockFlash {
    0%,100% { background: linear-gradient(135deg, var(--geo-geozone-header-bg, #f7941d), color-mix(in srgb, var(--geo-geozone-header-bg, #f7941d) 85%, #000)); }
    50%      { background: linear-gradient(135deg,#ffb347,#f7941d); box-shadow: 0 4px 18px rgba(247,148,29,.7); }
}
.geo-zone-detected-block {
    background: linear-gradient(135deg, var(--geo-geozone-header-bg, #f7941d), color-mix(in srgb, var(--geo-geozone-header-bg, #f7941d) 85%, #000));
    border-radius: 0;
    text-align: center;
}
.geo-zone-detected-flash {
    animation: geoZoneBlockFlash 1.6s ease-in-out infinite;
}
.geo-zone-detected {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--geo-geozone-header-text, #fff) !important;
    text-align: center;
}
 
/* ══ Wayfinding Card ═══════════════════════════════════════════════ */
.geo-wf-name {
    display: block;
    font-size: var(--geo-wf-biz-name-size, var(--geo-font-biz-name, 18px)) !important;
    font-family: var(--geo-wf-font-family, inherit) !important;
    font-weight: 800;
    color: var(--geo-wf-biz-name-color, var(--geo-wf-card-text, #1a1a0a)) !important;
    line-height: 1.3;
    margin-bottom: 2px;
    text-align: center;
}
.geo-wf-name--center { text-align: left; }
.geo-wf-location {
    font-size: var(--geo-wf-location-size, 13px) !important;
    font-family: var(--geo-wf-font-family, inherit);
    color: var(--geo-wf-location-color, #6b7280) !important;
    margin-top: 1px;
    text-align: center;
}
.geo-wf-dist {
    font-size: 12px;
    color: #4a4a2a;
    margin-top: 2px;
    margin-bottom: 8px;
    text-align: center;
}
.geo-wf-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}
.geo-wf-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    border: none;
    background: transparent;
}
.geo-wf-route { color: #1a1a0a; }
.geo-wf-route i { font-size: 18px; color: #444; }
.geo-wf-web { color: #1e5a9e; }
.geo-wf-web i { font-size: 18px; color: #1e5a9e; }
.geo-wf-view { color: #333; }
.geo-wf-view i { font-size: 18px; }
.geo-wf-geozone {
    color: #c97a10;
    font-weight: 800;
    font-size: 13px;
}
 
/* ── Enhanced (HOT SPOT) card ── */
.geo-card--enhanced {
    background: linear-gradient(135deg, var(--geo-wf-enhanced-bg, #e8b030), color-mix(in srgb, var(--geo-wf-enhanced-bg, #e8b030) 80%, #000)) !important;
    border-bottom: none;
    border-radius: 6px;
    margin: 4px 4px;
    padding: 16px 18px 12px 18px;
    text-align: center;
    position: relative;
    min-height: 80px;
}
.geo-card--enhanced .geo-wf-name {
    color: var(--geo-wf-enhanced-text, #fff) !important;
    font-size: var(--geo-wf-biz-name-size, var(--geo-font-biz-name, 17px)) !important;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
    text-align: center;
    display: block;
    padding-top: 28px;
}
.geo-card--enhanced .geo-wf-location { color: rgba(255,255,255,.9); text-align: center; }
.geo-card--enhanced .geo-wf-dist     { color: rgba(255,255,255,.8); text-align: center; }
.geo-card--enhanced .geo-wf-route    { color: #fff; }
.geo-card--enhanced .geo-wf-route i  { color: #fff; }
.geo-card--enhanced .geo-wf-web      { color: #fff; }
.geo-card--enhanced .geo-wf-web i    { color: #fff; }
.geo-card--enhanced .geo-wf-view     { color: rgba(255,255,255,.9); }
.geo-card--enhanced .geo-wf-view i   { color: #fff; }
.geo-card--enhanced .geo-wf-geozone  { color: #ffe082; font-weight: 800; }
 
.geo-hotspot-badge {
    position: absolute;
    top: 8px; left: 8px;
    height: 48px;
    pointer-events: none;
    z-index: 2;
}
.geo-hotspot-text {
    display: inline-flex;
    align-items: center;
    height: auto;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 4px;
    text-shadow: none;
}
.geo-geozone-badge {
    position: absolute;
    top: 10px; right: 14px;
    height: 32px;
    pointer-events: none;
    z-index: 2;
}
 
@keyframes geoCardFlash2 {
    0%,100% { filter: brightness(1); }
    50%      { filter: brightness(1.12); box-shadow: 0 0 14px rgba(247,148,29,.5); }
}
.geo-card--flash { animation: geoCardFlash2 2s ease-in-out infinite; }
 
.geo-card--geozone { background: rgba(255,255,255,.12); }
 
.geo-popup--list .geo-popup__header { background: #8a7a50; }
 
/* ── Accordion BEM variants ── */
.geo-accordion__item { border-bottom: 1px solid rgba(0,0,0,.1); }
.geo-accordion__item:last-child { border-bottom: none; }
.geo-accordion__btn {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 11px 14px; border: none;
    border-radius: 6px 6px 0 0; cursor: pointer;
    font-size: var(--geo-font-accordion, 13px) !important;
    font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    text-align: left; transition: background .2s;
    background: var(--geo-accordion-btn-bg, #1a1a0a) !important;
    color: var(--geo-accordion-btn-text, #fff) !important;
}
.geo-accordion__btn:hover { filter: brightness(1.1); }
.geo-accordion__btn--open .geo-accordion__arrow { transform: rotate(0deg); transition: transform .3s; }
.geo-accordion__body {
    background: var(--geo-accordion-body-bg, #fff) !important;
    font-size: var(--geo-acc-body-size, var(--geo-gz-body-size, var(--geo-font-body, 14px))) !important;
}
.geo-accordion__arrow { transition: transform .3s; font-size: 11px; margin-left: auto; }
 
.geo-wf-geozone-row {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}
 
/* ── VIEW expand panel ── */
.geo-view-panel {
    margin-top: 12px;
    border-top: 2px solid rgba(0,0,0,.08);
    padding-top: 12px;
    animation: geoFadeIn .25s ease;
}
.geo-view-photo {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    max-height: 200px;
    margin-bottom: 10px;
    display: block;
}
.geo-view-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    margin: 0 0 12px;
}
.geo-view-hours {
    background: var(--geo-acc-body-bg, #fff3e0);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.geo-view-section-hdr {
    background: #f7941d;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
    padding: 8px;
}
.geo-hours-grid { padding: 4px 0; }
.geo-hours-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 5px 12px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: 13px;
}
.geo-hours-row:last-child { border-bottom: none; }
.geo-hours-day { font-weight: 600; min-width: 36px; }
.geo-hours-val { color: #374151; }
.geo-view-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f7941d;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
}
.geo-view-phone-btn:hover { background: #e07c10; color: #fff; }
.geo-wf-view.active { background: #f7941d; color: #fff; }
@keyframes geoFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
 
/* ── Geo Nav Fixed Overlay ── */
#geoNavOverlayFixed {
    position: fixed !important;
    z-index: 10000 !important;
    display: flex;
    flex-direction: column;
    border-radius: 10px 10px 16px 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
    background: var(--geo-nav-bg, rgba(184,142,90,.97));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
}
#geoNavOverlayFixed.geo-nav-hidden { display: none !important; }

/* ── Wayfinding Card Hearts ── */
.geo-wf-heart {
    pointer-events: all;
    background: rgba(50,50,50,.75);
    border: 2px solid #f7941d;
    border-radius: 20px;
    padding: 4px 10px;
    display: flex !important;
    align-items: center;
    gap: 5px;
}
.geo-wf-heart--bottom {
    align-self: flex-end;
    margin-top: 8px;
    margin-left: auto;
}
.geo-wf-heart-icon {
    transition: color .2s;
    font-size: 18px !important;
    color: #e74c3c !important;
}
.geo-wf-heart-icon:hover { color: #c0392b !important; }
.geo-wf-heart-count { color: #fff !important; font-size: 13px !important; font-weight: 700; }
.geo-card--enhanced .geo-wf-heart-icon { color: #e74c3c !important; }
.geo-card--enhanced .geo-wf-heart-icon:hover { color: #c0392b !important; }
.geo-card--enhanced .geo-wf-heart-count { color: #fff !important; }

/* ── Geo Zone header location name badge ── */
.geo-location-name-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 16px;
    background: rgba(40,40,40,.85);
    border: 2px solid #f7941d;
    border-radius: 20px;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600;
    letter-spacing: .5px;
}

/* ══════════════════════════════════════════════════
   EngageBox Icon Row
   ══════════════════════════════════════════════════ */
#icon-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#icon-row img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    cursor: pointer !important;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
    transition: transform 0.3s ease, border-color 0.2s;
}
#icon-row img:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: #f7941d;
}
@keyframes borderGlow {
    0%   { box-shadow: 0 0 0px #f68e13; }
    50%  { box-shadow: 0 0 18px #f68e13; }
    100% { box-shadow: 0 0 0px #f68e13; }
}
#icon-row img:nth-of-type(1) { animation: borderGlow 3s ease-in-out infinite; }
#icon-row img:nth-of-type(2) { animation: borderGlow 3.6s ease-in-out infinite; }
#icon-row img:nth-of-type(3) { animation: borderGlow 4.2s ease-in-out infinite; }
.vertical-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #f68e13, transparent);
    opacity: 0.7;
}
.icon-hidden {
    opacity: 0 !important;
    transform: translateY(-20px) !important;
    pointer-events: none !important;
}
#icon-row-label-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 8px !important;
    height: 38px !important;
    padding: 0 30px !important;
    width: fit-content !important;
    min-width: 160px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: rgba(210,140,30,.85) !important;
    border-radius: 999px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: #fff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,.4) !important;
    box-shadow: inset 0 0 6px rgba(0,0,0,.2) !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease, transform 0.5s ease !important;
    pointer-events: none !important;
}
#icon-row-label-box.visible { opacity: 1 !important; }
.geo-btn--businesses:not(img),
.geo-btn--town:not(img) { display: none !important; }

/* ── Guest blur overlay ── */
.geo-guest-blur-wrap {
    border-radius: 8px;
    min-height: 120px;
}
.geo-guest-blur-wrap > * {
    filter: blur(6px) !important;
    opacity: 0.45 !important;
    pointer-events: none !important;
    user-select: none !important;
}
.geo-guest-fixed-overlay {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    z-index: 99999 !important;
    pointer-events: none !important;
    background: transparent !important;
    padding-bottom: 0 !important;
}
.geo-guest-overlay__box {
    position: relative !important;
    background: #f7941d !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 20px 24px 28px !important;
    text-align: center !important;
    box-shadow: 0 -4px 24px rgba(0,0,0,.3) !important;
    max-width: 420px !important;
    width: 100% !important;
    pointer-events: all !important;
    z-index: 99999 !important;
    border: 3px solid #DBC01F !important;
    border-bottom: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   GeoDiscovery – Compass Background on Geo Zone Accordion
   ═══════════════════════════════════════════════════════════════ */

/* 1. Accordion container: positioning context */
.geo-popup--town .geo-accordion {
    position: relative;
    overflow: hidden;
    margin-right: -15px;
    width: calc(100% + 15px);
}

/* 2. Compass pseudo-element — GZ mode only, suppressed in WF mode */
.geo-popup--town .geo-accordion::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--compass-image-url, none);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    transform: translateY(var(--compass-offset-y, 0px));
    transition: opacity 0.4s ease,
                transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s ease;
}

/* ── WF mode: initWfAccordionBg sets --compass-image-url with the WF image,
   so the existing ::before pseudo renders it automatically — no CSS override needed. ──
   Just ensure the WF accordion has the same positioning context as GZ. */
.geo-popup--unified-wf .geo-accordion {
    position: relative;
    overflow: hidden;
    margin-right: -15px;
    width: calc(100% + 15px);
}

/* WF ::before: shift orange WF image toward GZ brown/sepia tone and match GZ opacity */
.geo-popup--unified-wf .geo-accordion::before {
    filter: sepia(0.45) hue-rotate(-10deg) brightness(0.88);
    opacity: 0.85;
}

.geo-popup--unified-wf .geo-accordion.geo-compass-open::before {
    opacity: 0.80;
}

/* Items above the pseudo */
.geo-popup--unified-wf .geo-accordion-item {
    position: relative;
    z-index: 1;
}

/* Slight dim when any GZ tab is open */
.geo-popup--town .geo-accordion.geo-compass-open::before {
    opacity: 0.80;
}

/* GZ accordion items above compass pseudo */
.geo-popup--town .geo-accordion-item {
    position: relative;
    z-index: 1;
}

/* ── GZ mode tab headers: semi-transparent over compass ── */
.geo-popup--town:not(.geo-popup--unified-wf) .geo-accordion-header {
    position: relative;
    z-index: 1;
    background: rgba(160, 80, 5, 0.52) !important;
    filter: none !important;
}

.geo-popup--town:not(.geo-popup--unified-wf) .geo-accordion-header:hover {
    background: rgba(160, 80, 5, 0.70) !important;
    filter: none !important;
}

.geo-popup--town:not(.geo-popup--unified-wf) .geo-accordion-header.active {
    background: rgba(100, 50, 3, 0.80) !important;
    filter: none !important;
}

.geo-popup--town:not(.geo-popup--unified-wf) .geo-accordion-title {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
}

.geo-popup--town:not(.geo-popup--unified-wf) .geo-accordion-title span,
.geo-popup--town:not(.geo-popup--unified-wf) .geo-accordion-title i {
    color: #ffffff !important;
}

.geo-popup--town:not(.geo-popup--unified-wf) .geo-accordion-chevron {
    color: rgba(255, 255, 255, 0.90) !important;
}

/* Tab bodies: light background in both modes */
.geo-popup--town .geo-accordion-body {
    position: relative;
    z-index: 1;
    background: var(--geo-accordion-body-bg, #fafafa) !important;
}

/* ═══════════════════════════════════════════════════════════════
   UNIFIED POPUP — DUAL MODE TOGGLE PAIR
   Both GZ and WF icons shown side-by-side in the header.
   Active mode = greyed out, non-clickable.
   Inactive mode = full colour, clickable, tooltip on hover.
   ═══════════════════════════════════════════════════════════════ */

/* Container: absolute left of flashing header, vertically centred */
.geo-mode-toggle-pair {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    z-index: 30;
}

/* Each toggle button */
.geo-mode-toggle-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
    position: relative;
}

.geo-mode-toggle-btn:not([disabled]):hover {
    transform: scale(1.10);
}

/* Icon image inside each button */
.geo-mode-toggle-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.35);
    transition: border-color 0.2s, opacity 0.2s;
}

.geo-mode-toggle-btn:not([disabled]):hover .geo-mode-toggle-img {
    border-color: #f7941d;
}

/* Active (current) mode icon: greyed out, not interactive */
.geo-mode-toggle-btn.geo-mode-toggle-active {
    cursor: default;
    pointer-events: none;
}

.geo-mode-toggle-btn.geo-mode-toggle-active .geo-mode-toggle-img {
    opacity: 0.35;
    filter: grayscale(80%);
    border-color: rgba(255,255,255,.15);
}

/* Tooltip on inactive button (desktop hover) */
.geo-mode-toggle-btn:not([disabled])::after {
    content: attr(title);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 2px 7px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.geo-mode-toggle-btn:not([disabled]):hover::after { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   WAYFINDING — SINGLE-TAB RESULTS MODE
   When a sub-category search is active, all other accordion items
   are hidden. Only the active tab header + results body remain.
   ═══════════════════════════════════════════════════════════════ */

.geo-accordion-item.geo-wf-item-hidden {
    display: none !important;
}

/* In results mode the accordion takes full available height */
.geo-accordion.geo-wf-results-mode {
    display: flex;
    flex-direction: column;
}

.geo-accordion.geo-wf-results-mode .geo-accordion-body.active {
    max-height: none;
    flex: 1;
    overflow-y: auto;
}

/* ═══════════════════════════════════════════════════════════════
   WAYFINDING ACCORDION MODE (fixes 2, 3, 4, 5)
   ═══════════════════════════════════════════════════════════════ */

/* ── WF tab headers: transparent bg, show icon + hidden label (fix 5) ── */
/* ── WF main tab headers: fully configurable via Dashboard WF Settings ──
   color_wf_tab_btn_bg + wf_tab_btn_opacity + color_wf_tab_btn_text
   Defaults (brown 52%) match GZ accordion appearance out of the box. */
.geo-popup--unified-wf .geo-accordion-header.geo-wf-tab-header {
    background: var(--geo-wf-tab-btn-rgba, rgba(160,80,5,0.52)) !important;
    filter: none !important;
    padding: 15px 20px;
}

.geo-popup--unified-wf .geo-accordion-header.geo-wf-tab-header:hover {
    background: var(--geo-wf-tab-btn-rgba-hover, rgba(160,80,5,0.70)) !important;
    filter: none !important;
}

.geo-popup--unified-wf .geo-accordion-header.geo-wf-tab-header.active {
    background: var(--geo-wf-tab-btn-rgba-active, rgba(100,50,3,0.80)) !important;
    filter: none !important;
}

/* Inner layout: flex row, icon + label side by side — same as .geo-accordion-title */
.geo-wf-tab-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    font-size: var(--geo-acc-tab-size, 15px);
    font-family: var(--geo-acc-tab-family, inherit);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--geo-wf-tab-btn-text, var(--geo-accordion-btn-text, #fff));
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

/* Icon: small inline image (same height as GZ FA icons ~20px) — no circle border */
.geo-wf-tab-icon-wrap {
    width: var(--geo-wf-tab-icon-size, 48px);
    height: var(--geo-wf-tab-icon-size, 48px);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.geo-wf-tab-header:hover .geo-wf-tab-icon-wrap,
.geo-wf-tab-header.active .geo-wf-tab-icon-wrap {
    border-color: transparent;
    transform: none;
}

.geo-wf-tab-icon-img {
    width: var(--geo-wf-tab-icon-size, 48px);
    height: var(--geo-wf-tab-icon-size, 48px);
    object-fit: contain;
    display: block;
    background: transparent;
    border-radius: 50%;
    mix-blend-mode: multiply;
}

/* FA icon fallback — scales proportionally with icon size setting */
.geo-wf-tab-icon-fa {
    font-size: calc(var(--geo-wf-tab-icon-size, 48px) * 0.5);
    color: var(--geo-wf-tab-btn-text, var(--geo-accordion-btn-text, #fff));
}
.geo-wf-tab-icon-fa i {
    font-size: calc(var(--geo-wf-tab-icon-size, 48px) * 0.5);
    color: var(--geo-wf-tab-btn-text, var(--geo-accordion-btn-text, #fff));
}

/* Label: plain inline text — no pill, no background */
.geo-wf-tab-label {
    position: static;
    background: transparent;
    color: var(--geo-wf-tab-btn-text, var(--geo-accordion-btn-text, #fff));
    font-size: var(--geo-acc-tab-size, 15px);
    font-family: var(--geo-acc-tab-family, inherit);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    pointer-events: none;
    padding: 0;
    border-radius: 0;
}

/* Active tab label: no special treatment — row brightening handles it */
.geo-wf-tab-header.active .geo-wf-tab-label {
    background: transparent;
    color: var(--geo-wf-tab-btn-text, var(--geo-accordion-btn-text, #fff));
}

/* Chevron: same color as WF tab text */
.geo-popup--unified-wf .geo-accordion-chevron {
    color: var(--geo-wf-tab-btn-text, var(--geo-accordion-btn-text, #fff)) !important;
    flex-shrink: 0;
}

/* WF tab body background (fix 5: use the warm parchment tone matching the WF image) */
.geo-popup--unified-wf .geo-accordion-body {
    background: rgba(245, 240, 232, 0.92) !important;
}

/* ── Sub-category grid (fix 5: transparent backgrounds) ── */
.geo-wf-subcat-grid {
    display: grid;
    column-gap: 6px;
    row-gap: 0;
    justify-items: center;
    align-items: start;
    padding: 2px 0 4px;
    width: 100%;
}

/* Sub-cat button: zero padding/gap, sized to icon */
.geo-wf-subcat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-width: 80px;
    max-width: 100px;
}

/* Sub-cat icon circle: 80px — matches nav menu */
.geo-wf-subcat-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.3);
    background: transparent;
    display: block;
    transition: border-color 0.2s, transform 0.15s;
}

.geo-wf-subcat-btn:hover .geo-wf-subcat-img,
.geo-wf-subcat-btn.geo-nav-touched .geo-wf-subcat-img {
    border-color: #f7941d;
    transform: scale(1.06);
}

/* FA icon inside sub-cat circle */
.geo-wf-subcat-btn i {
    font-size: 32px;
    color: rgba(255,255,255,.85);
    display: block;
}

/* Sub-cat label: hidden by default, orange pill on hover/tap.
   Pill grows to fit full words — never clips, never splits mid-word. */
.geo-wf-subcat-btn span {
    display: inline-block;
    background: transparent;
    color: transparent;
    font-size: var(--geo-wf-subcat-title-size, 10px) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    border-radius: 20px;
    padding: 4px 12px;
    text-align: center;
    line-height: 1.4;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    height: 0;
    overflow: hidden;
    transition: background 0.2s, color 0.2s;
    align-self: center;
    box-sizing: border-box;
}

.geo-wf-subcat-btn:hover span,
.geo-wf-subcat-btn.geo-nav-touched span {
    background: #f7941d;
    color: #fff;
    height: auto;
    overflow: visible;
    padding: 4px 12px;
}

/* Cuisine / Food Type section divider labels — black font */
/* Higher specificity (0,2,0) beats .geo-accordion-body-inner div (0,1,1) even with both !important */
.geo-accordion-body-inner .geo-wf-subcat-divider-label {
    width: 100%;
    font-size: var(--geo-wf-subcat-title-size, 14px) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #111;
    padding: 6px 0 2px;
    text-align: center;
}

/* Cuisine / section HR divider */
.geo-wf-subcat-divider {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255,255,255,.25);
    margin: 8px 0 4px;
}

/* Inline loader (shown while searching) */
.geo-wf-inline-loader {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.geo-wf-inline-loader i {
    margin-right: 6px;
    color: #f7941d;
}

/* Results rendered inside a WF accordion tab body */
.geo-wf-inline-results {
    background: var(--geo-wf-list-bg, #b8a66d);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
}

/* Back button inside a WF tab */
.geo-wf-subcat-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 8px 14px;
    margin-bottom: 10px;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .geo-mode-toggle-pair { gap: 4px; left: 5px; }
    .geo-mode-toggle-img { width: 40px; height: 40px; }
    .geo-wf-subcat-btn { min-width: 68px; max-width: 84px; }
    .geo-wf-subcat-img { width: 68px; height: 68px; }
    .geo-wf-subcat-btn i { font-size: 28px; }
    .geo-wf-subcat-btn span { font-size: var(--geo-wf-subcat-title-size, 9px) !important; }
}

/* ── Profile Dashboard: Membership Styles ── */

/* Profile/Account panel — live membership box */
.gdp-mp-live {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fff9f0 0%, #fff3e0 100%);
    border: 1px solid #f7941d40;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.gdp-mp-live-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7941d, #DBC01F);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gdp-mp-live-icon svg { stroke: #fff; }
.gdp-mp-live-text { flex: 1; min-width: 0; }
.gdp-mp-live-text .gdp-mp-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gdp-text, #1a1a2e);
    margin: 0 0 2px;
}
.gdp-mp-live-text .gdp-mp-sub {
    font-size: 11px;
    color: var(--gdp-muted, #888);
    margin: 0;
}

/* Status badges */
.gdp-mem-status {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: capitalize;
    flex-shrink: 0;
}
.gdp-mem-status-active {
    background: #dcfce7;
    color: #16a34a;
}
.gdp-mem-status-other {
    background: #fef9c3;
    color: #a16207;
}

/* Membership panel tab body */
.gdp-membership-body {
    padding: 4px 0;
}

/* Current plan card */
.gdp-mem-current-card {
    background: linear-gradient(135deg, #fff9f0 0%, #fff3e0 100%);
    border: 1px solid #f7941d40;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.gdp-mem-current-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gdp-muted, #888);
    margin-bottom: 10px;
}
.gdp-mem-plan-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--gdp-text, #1a1a2e);
    margin-bottom: 10px;
    background: linear-gradient(90deg, #f7941d, #DBC01F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gdp-mem-plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    font-size: 12px;
    color: var(--gdp-muted, #888);
}
.gdp-mem-plan-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.gdp-mem-plan-meta i { color: #f7941d; }

/* Upgrade section */
.gdp-mem-upgrade-wrap {
    text-align: center;
    padding: 4px 0 8px;
}
.gdp-mem-upgrade-label {
    font-size: 13px;
    color: var(--gdp-muted, #888);
    margin-bottom: 12px;
}
.geo-guest-fixed-overlay.cth-geo-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* ═══════════════════════════════════════════════════════════════
   Business Interaction Icons — Coin + Announcement
   ═══════════════════════════════════════════════════════════════ */

/* Desktop: all 4 icons in a single row (existing .geo-biz-actions layout preserved) */
/* Mobile: 2×2 grid */
@media (max-width: 600px) {
    .geo-biz-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 5px;
        width: 88px;
    }
}

/* Base for new icon buttons — mirrors existing .geo-icon-btn sizing */
.geo-btn-announce,
.geo-btn-coin {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; transition: all .25s;
    text-decoration: none; font-size: 17px;
    position: relative;
}

/* Announcement button — dark navy, matching existing map-pin tone */
.geo-btn-announce {
    background: linear-gradient(135deg, #1a4a8a 0%, #0e2f5e 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.geo-btn-announce:hover:not(:disabled):not(.biz-locked) {
    background: linear-gradient(135deg, #0e2f5e 0%, #091e3a 100%);
    transform: scale(1.1);
}

/* Coin button — dark gold/amber */
.geo-btn-coin {
    background: linear-gradient(135deg, #b8860b 0%, #8a620a 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.geo-btn-coin:hover:not(:disabled):not(.biz-locked) {
    background: linear-gradient(135deg, #8a620a 0%, #5e4208 100%);
    transform: scale(1.1);
}

/* Locked state — grey, no pointer, lock badge visible */
.geo-btn-announce.biz-locked,
.geo-btn-coin.biz-locked {
    background: linear-gradient(135deg, #555 0%, #3a3a3a 100%) !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    opacity: 0.55;
    transform: none !important;
}

/* Used state — muted green, "already collected" */
.geo-btn-announce.biz-used,
.geo-btn-coin.biz-used {
    background: linear-gradient(135deg, #2d4a2d 0%, #1e321e 100%) !important;
    color: #7ab87a !important;
    cursor: default !important;
    opacity: 0.75;
    transform: none !important;
}

/* Coin collect pop animation */
@keyframes geo-coin-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.38); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}
.geo-btn-coin.biz-collecting {
    animation: geo-coin-pop 0.42s ease-out;
}

/* Lock badge overlay — shown inside locked buttons */
.geo-btn-lock-badge {
    position: absolute;
    bottom: 3px; right: 3px;
    font-size: 9px;
    color: rgba(255,255,255,.65);
    pointer-events: none;
    line-height: 1;
}

/* ── Interaction toast notification ─────────────────────────────────────── */
#geo-interaction-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: rgba(26, 26, 10, 0.93);
    color: #f0d060;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 24px;
    border: 1px solid #b8860b;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    white-space: nowrap;
}
#geo-interaction-toast.gz-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── FB Announcement confirm overlay ────────────────────────────────────── */
#gz-fb-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.62);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.gz-fb-confirm-box {
    background: #1a1a0a;
    border: 1px solid #b8860b;
    border-radius: 12px;
    padding: 22px 20px 18px;
    max-width: 360px;
    width: 100%;
    color: #f5f0e0;
    font-family: inherit;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.gz-fb-confirm-box h4 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #f0d060;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gz-fb-confirm-msg {
    font-size: 13px;
    line-height: 1.5;
    color: #ccc;
    margin: 0 0 16px;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
    padding: 10px 12px;
    border-left: 3px solid #b8860b;
}
.gz-fb-confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.gz-fb-btn-cancel {
    background: transparent;
    border: 1px solid #666;
    color: #aaa;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
}
.gz-fb-btn-cancel:hover { border-color: #999; color: #ccc; }
.gz-fb-btn-post {
    background: #1877f2;
    border: none;
    color: #fff;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.gz-fb-btn-post:hover { background: #1460c4; }

/* ── Ad card image — show full image, no cropping, auto height ── */
.geo-card--ad img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    display: block !important;
}
/* ── WF Card: category icon footer row ── */
.geo-wf-footer-row {
    margin-top: 6px;
}

/* Wrapper: flex row — arrow | track | arrow, nothing overlaps */
.geo-wf-cat-icon-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
    overflow: hidden;
}

/* Scroll track fills remaining space between the two arrows */
.geo-wf-cat-icons {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    flex: 1;
    min-width: 0;
    padding: 2px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.geo-wf-cat-icons::-webkit-scrollbar { display: none; }

/* Individual icon */
.geo-wf-cat-icon {
    width: 52px; !important;
    height: 52px; !important;
    object-fit: contain;
    opacity: 0.82;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.geo-wf-cat-icon:hover { opacity: 1; }

/* Arrow buttons: fixed-width columns, never overlap icons */
.geo-wf-cat-arrow {
    display: none; /* JS shows them when needed */
    width: 28px;
    min-width: 28px;
    height: 52px;
    border: none;
    border-radius: 6px;
    background: rgba(0,0,0,0.50);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 0 2px 0;
    flex-shrink: 0;
    transition: background 0.2s;
}
.geo-wf-cat-arrow:hover { background: rgba(0,0,0,0.80); }

/* Heart: absolute top-right corner of card */
.geo-wf-heart--bottom {
    position: absolute;
    top: 8px;
    right: 8px;
    margin: 0;
}
