/* ==========================================================================
   GibEsMir Wien – Standalone WordPress Theme App Styles
   Austrian Red & White Full-Screen Interactive Map + Markets + Listing App
   ========================================================================== */

:root {
    --gm-red: #D92332;
    --gm-red-deep: #B71C28;
    --gm-red-soft: #FFF5F6;
    --gm-red-band: #FFEBEE;
    --gm-rose-border: #FECDD3;
    --gm-white: #FFFFFF;
    --gm-canvas: #F8FAFC;
    --gm-ink: #18181B;
    --gm-muted: #64748B;
    --gm-divider: #E2E8F0;
    --gm-green: #10B981;
    --gm-green-dark: #047857;
    --gm-amber: #F59E0B;
    --gm-blue: #2563EB;
    --gm-purple: #9333EA;
}

html, body.gm-theme-body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: var(--gm-canvas);
    color: var(--gm-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.gm-theme-body.admin-bar .gm-app-root {
    top: 32px;
    height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
    body.gm-theme-body.admin-bar .gm-app-root {
        top: 46px;
        height: calc(100dvh - 46px);
    }
}

.gm-app-root,
.gm-app-root *,
.gm-app-root *::before,
.gm-app-root *::after {
    box-sizing: border-box;
}

.gm-app-root {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    background: var(--gm-canvas);
}

.gm-noscript {
    max-width: 480px;
    margin: 40px auto;
    padding: 20px;
    background: var(--gm-white);
    border: 2px solid var(--gm-red);
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
}

/* ==========================================================================
   Main Map Viewport & Custom Animated Pins
   ========================================================================== */

.gm-map-stage {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gm-map-canvas {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gm-leaflet-pin-wrap {
    background: transparent;
    border: none;
}

.gm-pin-dot {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid var(--gm-white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gm-white);
    font-size: 11px;
    font-weight: 900;
}

.gm-pin-dot.is-active {
    background: var(--gm-green);
}

.gm-pin-dot.is-active::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2.5px solid var(--gm-green);
    opacity: 0.7;
    animation: gmPulse 1.8s ease-out infinite;
}

.gm-pin-dot.is-scheduled {
    background: var(--gm-amber);
}

.gm-pin-dot.is-searched {
    background: var(--gm-purple);
    width: 26px;
    height: 26px;
}

.gm-pin-dot.is-gps {
    background: var(--gm-blue);
    width: 20px;
    height: 20px;
}

.gm-pin-dot.is-gps::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.28);
    animation: gmPulse 2s ease-out infinite;
}

@keyframes gmPulse {
    0% { transform: scale(0.85); opacity: 0.75; }
    100% { transform: scale(1.65); opacity: 0; }
}

/* ==========================================================================
   Top Overlay: Brand Strip + Search Bar + Category Filter Chips
   ========================================================================== */

.gm-top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 12px 0;
    gap: 8px;
}

.gm-top-inner {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
}

.gm-brand-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 255, 255, 0.97);
    border: 1.5px solid var(--gm-rose-border);
    border-radius: 20px;
    padding: 7px 10px;
    box-shadow: 0 8px 24px rgba(183, 28, 40, 0.12);
}

.gm-brand-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.gm-logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gm-red-deep), var(--gm-red));
    color: var(--gm-white);
    font-weight: 900;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    border: none;
}

.gm-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gm-brand-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gm-brand-name {
    font-size: 17px;
    font-weight: 900;
    color: var(--gm-ink);
    line-height: 1.1;
}

.gm-wien-pill {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.7px;
    background: var(--gm-red-soft);
    color: var(--gm-red-deep);
    border: 1px solid var(--gm-rose-border);
    border-radius: 6px;
    padding: 2px 6px;
}

.gm-brand-sub {
    font-size: 11px;
    color: var(--gm-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gm-lang-group {
    display: inline-flex;
    background: var(--gm-red-soft);
    border: 1px solid var(--gm-rose-border);
    border-radius: 999px;
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
}

.gm-lang-btn {
    border: none;
    background: transparent;
    color: var(--gm-muted);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 999px;
    cursor: pointer;
}

.gm-lang-btn.is-active {
    background: var(--gm-red);
    color: var(--gm-white);
}

/* Search Bar */
.gm-search-wrap {
    position: relative;
}

.gm-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 1.5px solid var(--gm-rose-border);
    border-radius: 16px;
    padding: 4px 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.gm-search-box:focus-within {
    border-color: var(--gm-red);
}

.gm-search-icon {
    font-size: 16px;
    color: var(--gm-red);
}

.gm-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 9px 4px;
    font-size: 14px;
    color: var(--gm-ink);
}

.gm-search-clear {
    border: none;
    background: var(--gm-red-soft);
    color: var(--gm-red-deep);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 800;
    cursor: pointer;
}

.gm-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: var(--gm-white);
    border: 1.5px solid var(--gm-red);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    max-height: 280px;
    overflow-y: auto;
    z-index: 900;
}

.gm-search-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid var(--gm-divider);
    background: var(--gm-white);
    padding: 10px 14px;
    cursor: pointer;
}

.gm-search-row:hover {
    background: var(--gm-red-soft);
}

.gm-search-row-icon {
    font-size: 16px;
    margin-top: 2px;
}

.gm-search-row-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--gm-ink);
}

.gm-search-row-sub {
    font-size: 11.5px;
    color: var(--gm-muted);
    margin-top: 2px;
}

/* Category Filter Chips */
.gm-chips-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.gm-chips-row::-webkit-scrollbar {
    display: none;
}

.gm-chip {
    border: 1.2px solid var(--gm-rose-border);
    background: rgba(255, 255, 255, 0.96);
    color: var(--gm-ink);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.gm-chip.is-active {
    background: var(--gm-red);
    border-color: var(--gm-red-deep);
    color: var(--gm-white);
}

/* ==========================================================================
   Floating Map Controls & Searched Location Card
   ========================================================================== */

.gm-map-controls {
    position: absolute;
    right: 14px;
    bottom: 98px;
    z-index: 450;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gm-ctrl-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1.4px solid var(--gm-rose-border);
    background: rgba(255, 255, 255, 0.97);
    color: var(--gm-red-deep);
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-ctrl-btn:hover {
    background: var(--gm-red-soft);
}

.gm-map-hint-pill {
    position: absolute;
    left: 14px;
    bottom: 98px;
    z-index: 440;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--gm-rose-border);
    border-radius: 14px;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gm-ink);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    max-width: 240px;
}

.gm-searched-card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 96px;
    z-index: 520;
    width: calc(100% - 28px);
    max-width: 480px;
    background: var(--gm-white);
    border: 1.5px solid var(--gm-purple);
    border-radius: 20px;
    padding: 14px 16px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gm-searched-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.gm-searched-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--gm-ink);
}

.gm-searched-sub {
    font-size: 12px;
    color: var(--gm-muted);
}

/* ==========================================================================
   Vienna Markets List View (Matches ViennaMarketListView.kt)
   ========================================================================== */

.gm-list-stage {
    position: absolute;
    inset: 0;
    z-index: 200;
    background: var(--gm-canvas);
    overflow-y: auto;
    padding: 174px 14px 110px;
}

.gm-list-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gm-hero-card {
    position: relative;
    background: linear-gradient(135deg, var(--gm-red-deep) 0%, var(--gm-red) 100%);
    color: var(--gm-white);
    border-radius: 24px;
    padding: 18px 20px;
    box-shadow: 0 12px 28px rgba(183, 28, 40, 0.24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    overflow: hidden;
}

.gm-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: var(--gm-white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.gm-hero-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 900;
}

.gm-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gm-hero-pill-white {
    background: var(--gm-white);
    color: var(--gm-red-deep);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 10px;
}

.gm-hero-pill-ghost {
    background: rgba(255, 255, 255, 0.2);
    color: var(--gm-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
}

.gm-gauge-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-gauge-val {
    position: absolute;
    font-size: 20px;
    font-weight: 900;
    color: var(--gm-white);
}

.gm-market-card {
    background: var(--gm-white);
    border: 1.2px solid var(--gm-rose-border);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.15s ease;
}

.gm-market-card:hover {
    border-color: var(--gm-red);
    transform: translateY(-1px);
}

.gm-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.gm-card-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gm-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 8px;
}

.gm-status-badge.is-live {
    background: #ECFDF5;
    color: var(--gm-green-dark);
}

.gm-status-badge.is-scheduled {
    background: var(--gm-red-soft);
    color: var(--gm-red-deep);
}

.gm-plz-badge {
    font-size: 11px;
    font-weight: 800;
    background: var(--gm-red-soft);
    border: 1px solid var(--gm-rose-border);
    color: var(--gm-red-deep);
    padding: 2px 8px;
    border-radius: 8px;
}

.gm-card-title {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--gm-ink);
}

.gm-card-addr {
    font-size: 12.5px;
    color: var(--gm-muted);
    font-weight: 600;
}

.gm-card-msg {
    font-size: 13px;
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gm-card-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

.gm-empty-card {
    background: var(--gm-white);
    border: 1.2px solid var(--gm-divider);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    color: var(--gm-muted);
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   Bottom Floating Navigation Bar (Matches MainScreen.kt v2.0)
   ========================================================================== */

.gm-bottom-nav-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 550;
    pointer-events: none;
    display: flex;
    justify-content: center;
    padding: 0 12px;
}

.gm-bottom-nav {
    pointer-events: auto;
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.98);
    border: 1.5px solid var(--gm-rose-border);
    border-radius: 24px;
    padding: 6px 10px;
    box-shadow: 0 12px 30px rgba(183, 28, 40, 0.16);
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr 1fr;
    align-items: center;
    gap: 4px;
}

.gm-nav-item {
    border: none;
    background: transparent;
    color: var(--gm-muted);
    padding: 6px 4px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
}

.gm-nav-item .gm-nav-ico {
    font-size: 18px;
    line-height: 1;
}

.gm-nav-item.is-active {
    background: var(--gm-red-soft);
    color: var(--gm-red-deep);
}

.gm-nav-fab {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    border: 2px solid var(--gm-white);
    background: linear-gradient(135deg, var(--gm-red-deep), var(--gm-red));
    color: var(--gm-white);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(217, 35, 50, 0.36);
    margin: -18px 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-nav-fab:hover {
    transform: scale(1.04);
}

/* ==========================================================================
   Modal Sheets (Detail Sheet, Add/Edit Listing Sheet, Profile Modal, Lightbox)
   ========================================================================== */

.gm-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
}

@media (min-width: 720px) {
    .gm-modal-backdrop {
        align-items: center;
    }
}

.gm-sheet {
    width: 100%;
    max-width: 620px;
    max-height: 90dvh;
    background: var(--gm-white);
    border: 1.5px solid var(--gm-rose-border);
    border-radius: 26px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gm-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px;
    border-bottom: 1px solid var(--gm-divider);
}

.gm-sheet-handle {
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: var(--gm-rose-border);
    margin: 0 auto;
}

.gm-sheet-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--gm-rose-border);
    background: var(--gm-red-soft);
    color: var(--gm-red-deep);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.gm-sheet-body {
    overflow-y: auto;
    padding: 14px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Detail Sheet Specifics */
.gm-detail-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gm-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gm-red);
    color: var(--gm-white);
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gm-detail-msg {
    font-size: 15px;
    line-height: 1.55;
    color: var(--gm-ink);
    white-space: pre-line;
    word-break: break-word;
}

.gm-detail-addr-box {
    background: var(--gm-red-soft);
    border: 1px solid var(--gm-rose-border);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gm-ink);
}

.gm-detail-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gm-detail-photo {
    width: 100%;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--gm-rose-border);
    cursor: zoom-in;
}

.gm-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* ==========================================================================
   Form Controls (Notched Boxes, 3D Drum Wheels, Weekdays, Photos)
   ========================================================================== */

.gm-notched-box {
    position: relative;
    border: 1.5px solid var(--gm-red);
    border-radius: 14px;
    background: var(--gm-white);
    padding: 14px 12px 10px;
    margin-top: 6px;
}

.gm-notched-label {
    position: absolute;
    top: -10px;
    left: 12px;
    background: var(--gm-white);
    padding: 0 7px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gm-ink);
    max-width: calc(100% - 54px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gm-notched-remove {
    position: absolute;
    top: -11px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.2px solid var(--gm-red);
    background: var(--gm-white);
    color: var(--gm-red);
    font-weight: 800;
    cursor: pointer;
}

.gm-top-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 10px;
    align-items: end;
}

.gm-center-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--gm-ink);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    padding: 6px 4px;
}

.gm-email-input::placeholder {
    color: var(--gm-red);
    font-size: 18px;
    font-weight: 800;
}

.gm-cat-heading {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gm-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.gm-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 62px;
    padding: 4px 2px;
    border-radius: 10px;
    border: 1.2px solid var(--gm-rose-border);
    background: var(--gm-red-soft);
    color: var(--gm-ink);
    cursor: pointer;
}

.gm-cat-tile .gm-cat-ico { font-size: 18px; line-height: 1; }
.gm-cat-tile .gm-cat-lbl { font-size: 9.5px; font-weight: 700; text-align: center; line-height: 1.1; }
.gm-cat-tile.is-selected[data-cat="TAVSIYE"] { background: rgba(245, 158, 11, 0.14); border: 1.8px solid var(--gm-amber); color: #B45309; }
.gm-cat-tile.is-selected[data-cat="KESIF"] { background: rgba(16, 185, 129, 0.14); border: 1.8px solid var(--gm-green); color: #047857; }
.gm-cat-tile.is-selected[data-cat="UYARI"] { background: rgba(37, 99, 235, 0.14); border: 1.8px solid var(--gm-blue); color: #1D4ED8; }

.gm-email-notice {
    text-align: center;
    font-size: 11.5px;
    margin: -4px 8px 0;
}

.gm-email-notice strong { color: var(--gm-red-deep); }

/* 3D Rotating Drum Wheels */
.gm-datetime-layout { display: flex; flex-direction: column; gap: 10px; }
.gm-date-wheels-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gm-wheel-col { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.gm-wheel-caption { font-size: 10.5px; font-weight: 700; color: var(--gm-muted); text-transform: uppercase; }

.gm-wheel-drum {
    position: relative;
    width: 100%;
    height: 92px;
    background: var(--gm-red-soft);
    border: 1.2px solid rgba(217, 35, 50, 0.85);
    border-radius: 12px;
    overflow: hidden;
    user-select: none;
    touch-action: none;
    cursor: ns-resize;
    perspective: 220px;
}

.gm-wheel-drum.is-time { height: 74px; width: 52px; border-radius: 10px; }

.gm-wheel-band {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 30px;
    transform: translateY(-50%);
    background: var(--gm-red-band);
    border-top: 1px solid rgba(217, 35, 50, 0.65);
    border-bottom: 1px solid rgba(217, 35, 50, 0.65);
    pointer-events: none;
}

.gm-wheel-drum.is-time .gm-wheel-band { height: 24px; }

.gm-wheel-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(217, 35, 50, 0.16) 0%, transparent 32%, transparent 68%, rgba(217, 35, 50, 0.16) 100%);
    pointer-events: none;
    z-index: 3;
}

.gm-wheel-slots {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.gm-wheel-item {
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--gm-ink);
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
}

.gm-wheel-item.is-side { font-size: 12.5px; font-weight: 600; color: var(--gm-muted); }
.gm-wheel-drum.is-dragging .gm-wheel-item { transition: none; }
.gm-wheel-tap-top, .gm-wheel-tap-bottom { position: absolute; left: 0; right: 0; height: 36%; z-index: 4; cursor: pointer; }
.gm-wheel-tap-top { top: 0; }
.gm-wheel-tap-bottom { bottom: 0; }

.gm-time-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--gm-rose-border);
}

.gm-time-group { display: flex; align-items: center; gap: 5px; }
.gm-time-prefix { font-size: 11.5px; font-weight: 800; color: var(--gm-red-deep); }
.gm-time-colon { font-size: 17px; font-weight: 900; color: var(--gm-red); }

.gm-weekdays-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; padding-top: 4px; }
.gm-day-chip {
    border: 1.2px solid var(--gm-rose-border);
    background: var(--gm-white);
    color: var(--gm-ink);
    font-size: 11px;
    font-weight: 700;
    padding: 8px 2px;
    border-radius: 10px;
    cursor: pointer;
}
.gm-day-chip.is-selected { background: var(--gm-red); border-color: var(--gm-red-deep); color: var(--gm-white); }

.gm-textarea {
    width: 100%;
    min-height: 84px;
    border: none;
    outline: none;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    color: var(--gm-ink);
    background: transparent;
}

.gm-compact-input {
    width: 100%;
    border: 1px solid var(--gm-rose-border);
    border-radius: 10px;
    background: var(--gm-red-soft);
    padding: 8px 10px;
    font-size: 13px;
    color: var(--gm-ink);
    outline: none;
}

.gm-compact-input:focus { border-color: var(--gm-red); background: var(--gm-white); }

.gm-quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gm-quick-btn {
    border: 1.2px solid var(--gm-red);
    background: var(--gm-red-soft);
    color: var(--gm-red-deep);
    font-size: 12px;
    font-weight: 700;
    padding: 11px 8px;
    border-radius: 12px;
    cursor: pointer;
}

.gm-pricing-row { display: grid; grid-template-columns: 1.2fr 0.55fr 1fr 34px; gap: 6px; align-items: center; }
.gm-row-remove { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--gm-rose-border); background: var(--gm-white); color: var(--gm-red); font-weight: 800; cursor: pointer; }
.gm-addr-grid { display: grid; grid-template-columns: 0.36fr 0.64fr; gap: 8px; margin-bottom: 8px; }
.gm-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.gm-accordion { border: 1.2px solid var(--gm-rose-border); border-radius: 14px; overflow: hidden; }
.gm-accordion.is-open { border-color: var(--gm-red); }
.gm-accordion-head { width: 100%; border: none; background: transparent; padding: 11px 14px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.gm-accordion-body { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }

.gm-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gm-photo-slot {
    position: relative;
    height: 82px;
    border: 1.5px solid var(--gm-red);
    border-radius: 12px;
    background: var(--gm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}
.gm-photo-plus { font-size: 34px; color: var(--gm-red); }
.gm-photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.gm-photo-remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0,0,0,0.72); color: #fff; font-weight: 800; cursor: pointer; }

.gm-btn-primary {
    width: 100%;
    min-height: 48px;
    border: 1.5px solid var(--gm-red-deep);
    border-radius: 24px;
    background: var(--gm-red);
    color: var(--gm-white);
    font-size: 14.5px;
    font-weight: 800;
    padding: 11px 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gm-btn-primary:disabled {
    background: #F1F5F9;
    border-color: var(--gm-rose-border);
    color: var(--gm-muted);
    cursor: not-allowed;
}

.gm-btn-secondary {
    min-height: 44px;
    border: 1.2px solid var(--gm-red);
    border-radius: 14px;
    background: var(--gm-white);
    color: var(--gm-red-deep);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.gm-btn-danger {
    min-height: 44px;
    border: 1.2px solid #DC2626;
    border-radius: 14px;
    background: #FEF2F2;
    color: #B91C1C;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
}

.gm-code-input {
    width: 100%;
    border: 2px solid var(--gm-red);
    border-radius: 14px;
    background: var(--gm-red-soft);
    padding: 13px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 10px;
    text-align: center;
    font-family: monospace;
    color: var(--gm-red-deep);
}

.gm-alert { padding: 11px 13px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.gm-alert.is-error { background: #FEF2F2; border: 1px solid #EF4444; color: #991B1B; }
.gm-alert.is-success { background: #ECFDF5; border: 1px solid #10B981; color: #065F46; }
.gm-alert.is-info { background: #EFF6FF; border: 1px solid #3B82F6; color: #1E3A8A; }

.gm-toast {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    background: var(--gm-ink);
    color: var(--gm-white);
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.gm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.gm-lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gm-hidden { display: none !important; }

/* Optional Static WordPress Pages (Impressum / Datenschutz) */
.gm-static-page-wrap { min-height: 100vh; background: var(--gm-canvas); padding: 18px; }
.gm-static-topbar { max-width: 780px; margin: 0 auto 16px; display: flex; justify-content: space-between; align-items: center; }
.gm-static-back { text-decoration: none; background: var(--gm-red); color: var(--gm-white); padding: 9px 15px; border-radius: 12px; font-weight: 800; font-size: 13px; }
.gm-static-badge { font-size: 11px; font-weight: 800; color: var(--gm-red-deep); background: var(--gm-red-soft); border: 1px solid var(--gm-rose-border); padding: 4px 10px; border-radius: 8px; }
.gm-static-card { max-width: 780px; margin: 0 auto; background: var(--gm-white); border: 1.5px solid var(--gm-rose-border); border-radius: 22px; padding: 26px; }
.gm-static-title { margin-top: 0; color: var(--gm-red-deep); }

@media (max-width: 560px) {
    .gm-top-row, .gm-two-col, .gm-addr-grid { grid-template-columns: 1fr; }
    .gm-pricing-row { grid-template-columns: 1fr 0.6fr; }
    .gm-map-hint-pill { display: none; }
}
