/* ═══════════════════════════════════════════════════════════════════════════
   carving-finder.css — Full-screen map with bottom sheet + floating controls
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── FULL SCREEN MAP ───────────────────────────────────────────────────── */
/* .cl-animate-in has CSS transforms (settle animations) which trap
   position:fixed children. Kill the animation, use absolute chain. */

.cl-main:has(.cl-map-page) {
    padding: 0 !important;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

    .cl-main:has(.cl-map-page) > .cl-animate-in {
        position: absolute;
        top: var(--cl-topbar-height, 56px);
        left: 0;
        right: 0;
        bottom: 0;
        animation: none !important;
        transform: none !important;
    }

.cl-map-page {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* ─── ZERO-CARVING LAUNCH STATE ───────────────────────────────────────── */

.cl-first-pin-stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: clamp(20px, 5vw, 64px);
    overflow: auto;
    color: #fff;
    background:
        radial-gradient(circle at 14% 20%, rgba(243, 122, 31, 0.2), transparent 34%),
        radial-gradient(circle at 90% 85%, rgba(255, 255, 255, 0.07), transparent 30%),
        linear-gradient(135deg, #202020 0%, #2a2928 54%, #171717 100%);
}

.cl-first-pin-stage::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom right, #000, transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 70%);
}

.cl-first-pin-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    width: min(920px, 100%);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: clamp(18px, 3vw, 28px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.cl-first-pin-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 36px 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(243, 122, 31, 0.25), transparent 50%),
        linear-gradient(160deg, #353230, #1f1f1f);
}

.cl-first-pin-visual::after {
    position: absolute;
    bottom: -56px;
    left: 50%;
    width: 190px;
    height: 100px;
    content: "";
    border: 1px solid rgba(243, 122, 31, 0.34);
    border-radius: 50%;
    transform: translateX(-50%);
}

.cl-first-pin-mark-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 210px;
    height: 210px;
}

.cl-first-pin-orbit {
    position: absolute;
    border: 1px solid rgba(243, 122, 31, 0.36);
    border-radius: 50%;
}

.cl-first-pin-orbit-outer {
    inset: 0;
    box-shadow: 0 0 0 18px rgba(243, 122, 31, 0.035);
}

.cl-first-pin-orbit-inner {
    inset: 32px;
    border-color: rgba(255, 255, 255, 0.14);
}

.cl-first-pin-mark {
    position: relative;
    z-index: 1;
    display: block;
    width: 136px;
    height: 136px;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.36));
}

.cl-first-pin-coordinate {
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.5);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.cl-first-pin-content {
    align-self: center;
    padding: clamp(30px, 5vw, 58px);
    color: var(--cl-charcoal, #2a2a2a);
}

.cl-first-pin-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #b84f00;
    font-size: var(--cl-text-xs, 0.75rem);
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.cl-first-pin-kicker-dot {
    width: 8px;
    height: 8px;
    background: var(--cl-stihl-orange, #f37a1f);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(243, 122, 31, 0.14);
}

.cl-first-pin-content h2 {
    max-width: 560px;
    margin: 0 0 16px;
    color: var(--cl-charcoal, #2a2a2a);
    font-size: clamp(2.15rem, 4.4vw, 3.65rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.cl-first-pin-intro {
    max-width: 570px;
    margin: 0;
    color: var(--cl-steel, #6b6b6b);
    font-size: clamp(0.98rem, 1.7vw, 1.08rem);
    line-height: 1.6;
}

.cl-first-pin-achievement {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin: 26px 0;
    padding: 16px;
    background: #f4f1ed;
    border: 1px solid #e6e0d9;
    border-left: 4px solid var(--cl-stihl-orange, #f37a1f);
    border-radius: 10px;
}

.cl-first-pin-achievement-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--cl-stihl-orange, #f37a1f);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 16px rgba(42, 42, 42, 0.1);
}

.cl-first-pin-achievement-icon svg {
    width: 25px;
    height: 25px;
}

.cl-first-pin-achievement-label {
    display: block;
    margin-bottom: 2px;
    color: #8a8178;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.cl-first-pin-achievement strong {
    display: block;
    font-family: var(--cl-font-heading);
    font-size: 1.15rem;
}

.cl-first-pin-achievement p {
    margin: 2px 0 0;
    color: var(--cl-steel, #6b6b6b);
    font-size: var(--cl-text-sm, 0.875rem);
    line-height: 1.45;
}

.cl-first-pin-action {
    display: inline-flex;
    gap: 9px;
    min-height: 48px;
    padding-inline: 22px;
    text-decoration: none;
}

.cl-first-pin-action svg {
    width: 19px;
    height: 19px;
}

.cl-first-pin-guest-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cl-first-pin-login {
    color: var(--cl-charcoal, #2a2a2a);
    text-decoration: none;
}

.cl-first-pin-membership-note {
    margin: 11px 0 0;
    color: var(--cl-steel, #6b6b6b);
    font-size: var(--cl-text-xs, 0.75rem);
}

@media (max-width: 760px) {
    .cl-first-pin-stage {
        align-items: start;
        padding: 16px 16px calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .cl-first-pin-card {
        grid-template-columns: 1fr;
        margin: auto 0;
    }

    .cl-first-pin-visual {
        min-height: 168px;
        padding: 18px;
    }

    .cl-first-pin-mark-wrap {
        width: 126px;
        height: 126px;
    }

    .cl-first-pin-orbit-inner {
        inset: 20px;
    }

    .cl-first-pin-mark {
        width: 82px;
        height: 82px;
    }

    .cl-first-pin-coordinate {
        position: absolute;
        right: 14px;
        bottom: 10px;
        margin: 0;
        font-size: 0.56rem;
    }

    .cl-first-pin-content {
        padding: 26px 24px 28px;
    }

    .cl-first-pin-content h2 {
        font-size: clamp(2rem, 10vw, 2.85rem);
    }
}

@media (max-width: 420px) {
    .cl-first-pin-stage {
        padding: 10px;
    }

    .cl-first-pin-visual {
        min-height: 132px;
    }

    .cl-first-pin-mark-wrap {
        width: 104px;
        height: 104px;
    }

    .cl-first-pin-mark {
        width: 70px;
        height: 70px;
    }

    .cl-first-pin-content {
        padding: 22px 20px 24px;
    }

    .cl-first-pin-kicker {
        margin-bottom: 12px;
    }

    .cl-first-pin-intro {
        line-height: 1.48;
    }

    .cl-first-pin-achievement {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
        margin: 20px 0;
        padding: 13px;
    }

    .cl-first-pin-achievement-icon {
        width: 40px;
        height: 40px;
    }

    .cl-first-pin-action,
    .cl-first-pin-guest-actions .cl-btn {
        justify-content: center;
        width: 100%;
    }
}

.cl-map-canvas {
    position: relative;
    z-index: 0;
    isolation: isolate;
    width: 100%;
    height: 100%;
}

.cl-map-status {
    position: absolute;
    top: var(--cl-space-4, 16px);
    left: 50%;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: var(--cl-space-3, 12px);
    width: min(420px, calc(100% - 32px));
    padding: var(--cl-space-3, 12px) var(--cl-space-4, 16px);
    color: var(--cl-charcoal, #2A2A2A);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--cl-concrete, #E8E5E0);
    border-radius: var(--cl-radius-md, 8px);
    box-shadow: var(--cl-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.12));
    transform: translateX(-50%);
}

.cl-map-status span {
    flex: 1;
    min-width: 0;
    font-size: var(--cl-text-sm, 0.875rem);
}

/* ─── MAP VIEW CONTROLS ────────────────────────────────────────────────── */

.cl-map-status-error {
    align-items: stretch;
    flex-direction: column;
    width: min(680px, calc(100% - 24px));
    max-height: calc(100% - 32px);
    overflow: auto;
}

.cl-map-diagnostics {
    display: grid;
    gap: 8px;
    padding: 12px;
    color: #f5f5f5;
    background: var(--cl-charcoal, #2a2a2a);
    border-radius: var(--cl-radius-sm, 6px);
}

.cl-map-diagnostics code {
    display: block;
    padding: 8px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    color: #fff;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.75rem;
    line-height: 1.45;
}

.cl-map-diagnostics small {
    color: #d8d8d8;
    font-size: 0.75rem;
}

.cl-map-status-error > .cl-btn {
    align-self: flex-start;
}

.cl-map-controls {
    position: absolute;
    top: var(--cl-space-3, 12px);
    right: var(--cl-space-3, 12px);
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cl-map-control-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 12px;
    color: var(--cl-charcoal, #2A2A2A);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(42, 42, 42, 0.16);
    border-radius: var(--cl-radius-md, 8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font-family: var(--cl-font-heading);
    font-size: var(--cl-text-sm, 0.875rem);
    font-weight: 700;
    white-space: nowrap;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.cl-map-control-btn:hover:not(:disabled) {
    border-color: var(--cl-stihl-orange, #F37A1F);
    box-shadow: 0 3px 11px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
}

.cl-map-control-btn:focus-visible {
    outline: 3px solid rgba(243, 122, 31, 0.35);
    outline-offset: 2px;
}

.cl-map-control-btn:disabled {
    cursor: default;
    opacity: 0.55;
}

.cl-map-control-btn svg,
.cl-map-control-btn > .cl-spinner {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

@media (max-width: 620px) {
    .cl-map-controls {
        flex-direction: column;
        align-items: flex-end;
    }

    .cl-map-control-btn {
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .cl-map-control-btn > span:not(.cl-spinner) {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}


/* ─── FLOATING ACTION BUTTON (pin a carving) ────────────────────────────── */

.cl-photo-source-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: var(--cl-space-2);
}

.cl-photo-source-button {
    display: inline-flex;
    width: 100%;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: var(--cl-space-2);
    cursor: pointer;
    text-align: center;
}

.cl-photo-source-button svg {
    flex: 0 0 auto;
}

.cl-map-fab {
    position: absolute;
    right: 16px;
    bottom: 90px;
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--cl-stihl-orange, #F37A1F);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 180ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 180ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

    .cl-map-fab:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .cl-map-fab:active {
        transform: scale(0.95);
    }

.cl-map-pin-btn {
    position: absolute;
    bottom: calc(var(--cl-space-8) + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 25; /* above the bottom sheet, below app navigation and dialogs */

    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: var(--cl-stihl-orange);
    color: #fff;
    font-family: var(--cl-font-heading);
    font-weight: 700;
    font-size: var(--cl-text-base);
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 150ms var(--cl-ease-settle), box-shadow 150ms ease, background 150ms ease;
}

    .cl-map-pin-btn:hover {
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    }

    .cl-map-pin-btn:active {
        transform: translateX(-50%) translateY(0);
    }

/* Keep the primary action comfortably above the phone's bottom sheet and browser chrome. */
@media (max-width: 768px) {
    .cl-map-pin-btn {
        bottom: calc(var(--cl-space-10) + 60px + env(safe-area-inset-bottom, 0px));
    }
}

/* ─── BOTTOM SHEET ──────────────────────────────────────────────────────── */

.cl-bottom-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: var(--cl-white, #FFFFFF);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

    /* Sheet states via transform */
    .cl-bottom-sheet.peek {
        transform: translateY(calc(100% - 56px));
    }

    .cl-bottom-sheet.half {
        transform: translateY(50%);
    }

    .cl-bottom-sheet.full {
        transform: translateY(0);
    }

    .cl-bottom-sheet.hidden {
        transform: translateY(100%);
    }

/* Drag handle */
.cl-sheet-handle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 16px 6px;
    cursor: grab;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
}

.cl-sheet-handle-bar {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--cl-concrete, #E8E5E0);
}

.cl-sheet-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 12px;
    color: inherit;
    text-align: left;
    cursor: pointer;
    background: none;
    border: 0;
    flex-shrink: 0;
}

.cl-sheet-header:focus-visible {
    outline: 2px solid var(--cl-stihl-orange, #F37A1F);
    outline-offset: -2px;
}

.cl-sheet-header-title {
    font-weight: 700;
    font-family: var(--cl-font-heading, 'Roboto Condensed', sans-serif);
    font-size: var(--cl-text-base, 1rem);
    color: var(--cl-charcoal, #2A2A2A);
}

.cl-sheet-header-count {
    font-size: var(--cl-text-xs, 0.75rem);
    color: var(--cl-steel, #6B6B6B);
}

.cl-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px 16px;
    -webkit-overflow-scrolling: touch;
}

.cl-cluster-back {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 4px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--cl-stihl-orange, #F37A1F);
    font: inherit;
    font-size: var(--cl-text-sm, 0.875rem);
    font-weight: 700;
    cursor: pointer;
}

.cl-cluster-back:focus-visible {
    outline: 2px solid var(--cl-stihl-orange, #F37A1F);
    outline-offset: 2px;
}


/* ─── SPOT CARDS (inside bottom sheet) ──────────────────────────────────── */

.cl-spot-card {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    color: inherit;
    text-align: left;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--cl-concrete-light, #F0EDE8);
    cursor: pointer;
    transition: opacity 120ms ease;
}

    .cl-spot-card:last-child {
        border-bottom: none;
    }

    .cl-spot-card:active {
        opacity: 0.7;
    }

    .cl-spot-card:focus-visible {
        outline: 2px solid var(--cl-stihl-orange, #F37A1F);
        outline-offset: -2px;
    }

.cl-spot-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--cl-concrete, #E8E5E0);
}

.cl-spot-info {
    flex: 1;
    min-width: 0;
}

.cl-spot-title {
    font-weight: 600;
    font-size: var(--cl-text-sm, 0.875rem);
    color: var(--cl-charcoal, #2A2A2A);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cl-spot-meta {
    font-size: var(--cl-text-xs, 0.75rem);
    color: var(--cl-steel, #6B6B6B);
    margin-top: 2px;
}


/* ─── DETAIL PANEL (inside drawer) ──────────────────────────────────────── */

.cl-spot-detail-photo {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    background: var(--cl-concrete-light, #F0EDE8);
    border-radius: var(--cl-radius-md, 8px);
    margin-bottom: var(--cl-space-4, 16px);
    display: block;
}

.cl-spot-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: var(--cl-text-sm, 0.875rem);
    border-bottom: 1px solid var(--cl-concrete-light, #F0EDE8);
}

    .cl-spot-detail-row:last-child {
        border-bottom: none;
    }

.cl-spot-detail-label {
    color: var(--cl-steel, #6B6B6B);
}

.cl-spot-detail-value {
    font-weight: 600;
    color: var(--cl-charcoal, #2A2A2A);
    text-align: right;
}


/* ─── POST FORM (inside drawer) ─────────────────────────────────────────── */

.cl-post-form {
    padding: var(--cl-space-4, 16px) 0;
}

    .cl-post-form .cl-input-group {
        margin-bottom: var(--cl-space-3, 12px);
    }

.cl-pin-guidance {
    margin-bottom: var(--cl-space-4, 16px);
    padding: var(--cl-space-4, 16px);
    color: var(--cl-charcoal, #2a2a2a);
    background: linear-gradient(145deg, #fff8f1, #fff3e8);
    border: 1px solid rgba(243, 122, 31, 0.3);
    border-left: 4px solid var(--cl-stihl-orange, #f37a1f);
    border-radius: var(--cl-radius-md, 8px);
}

.cl-pin-guidance-heading {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: var(--cl-space-3, 12px);
    align-items: center;
}

.cl-pin-guidance-heading strong,
.cl-pin-guidance-heading p {
    display: block;
    margin: 0;
}

.cl-pin-guidance-heading strong {
    font-family: var(--cl-font-heading);
    font-size: var(--cl-text-base, 1rem);
}

.cl-pin-guidance-heading p {
    margin-top: 2px;
    color: var(--cl-steel, #6b6b6b);
    font-size: var(--cl-text-sm, 0.875rem);
    line-height: 1.4;
}

.cl-pin-guidance-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: var(--cl-stihl-orange, #f37a1f);
    border-radius: 50%;
    box-shadow: 0 5px 12px rgba(180, 74, 0, 0.2);
}

.cl-pin-guidance-icon svg {
    width: 20px;
    height: 20px;
}

.cl-pin-guidance ul {
    display: grid;
    gap: var(--cl-space-2, 8px);
    margin: var(--cl-space-3, 12px) 0 0;
    padding: var(--cl-space-3, 12px) 0 0 18px;
    border-top: 1px solid rgba(243, 122, 31, 0.2);
}

.cl-pin-guidance li {
    padding-left: 2px;
    color: var(--cl-steel, #6b6b6b);
    font-size: var(--cl-text-sm, 0.875rem);
    line-height: 1.45;
}

.cl-pin-guidance li::marker {
    color: var(--cl-stihl-orange, #f37a1f);
}

.cl-pin-guidance li strong {
    color: var(--cl-charcoal, #2a2a2a);
}

.cl-gps-btn {
    width: 100%;
    padding: var(--cl-space-4, 16px);
    border: 2px dashed var(--cl-concrete, #E8E5E0);
    border-radius: var(--cl-radius-md, 8px);
    background: transparent;
    cursor: pointer;
    text-align: center;
    transition: border-color 180ms ease, background 180ms ease;
}

    .cl-gps-btn:hover {
        border-color: var(--cl-stihl-orange, #F37A1F);
        background: var(--cl-orange-light, #FFF4EB);
    }

.cl-gps-locked {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--cl-orange-light, #FFF4EB);
    border-radius: var(--cl-radius, 6px);
    margin-bottom: var(--cl-space-3, 12px);
}


/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */

@media (min-width: 768px) {
    .cl-bottom-sheet {
        left: auto;
        right: 16px;
        width: 380px;
        border-radius: 16px 16px 0 0;
    }

    .cl-map-fab {
        bottom: 100px;
    }

    .cl-bottom-sheet.peek {
        transform: translateY(calc(100% - 56px));
    }

    .cl-bottom-sheet.half {
        transform: translateY(40%);
    }
}


/* ─── PUBLIC CARVING PAGE ──────────────────────────────────────────────── */

.cl-public-carving {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: var(--cl-space-6, 24px) 0;
}

.cl-public-carving-breadcrumb {
    display: flex;
    gap: var(--cl-space-2, 8px);
    align-items: center;
    margin-bottom: var(--cl-space-5, 20px);
    color: var(--cl-steel, #6B6B6B);
    font-size: var(--cl-text-sm, 0.875rem);
}

.cl-public-carving-breadcrumb a {
    color: var(--cl-stihl-orange, #F37A1F);
    font-weight: 600;
    text-decoration: none;
}

.cl-public-carving-breadcrumb span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cl-public-carving-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    overflow: hidden;
    background: var(--cl-white, #FFFFFF);
    border: 1px solid var(--cl-concrete, #E8E5E0);
    border-radius: var(--cl-radius-lg, 12px);
    box-shadow: var(--cl-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.cl-public-carving-media {
    min-height: 520px;
    background: var(--cl-charcoal, #2A2A2A);
}

.cl-public-carving-media img,
.cl-public-carving-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: contain;
}

.cl-public-carving-placeholder {
    display: grid;
    place-items: center;
    color: var(--cl-white, #FFFFFF);
    font-size: 4rem;
}

.cl-public-carving-content {
    align-self: center;
    padding: clamp(24px, 5vw, 52px);
}

.cl-public-carving-kicker {
    margin-bottom: var(--cl-space-2, 8px);
    color: var(--cl-stihl-orange, #F37A1F);
    font-size: var(--cl-text-xs, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cl-public-carving-content h1 {
    margin: 0 0 var(--cl-space-4, 16px);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
}

.cl-public-carving-badges {
    flex-wrap: wrap;
    margin-bottom: var(--cl-space-5, 20px);
}

.cl-public-carving-facts {
    margin: 0 0 var(--cl-space-6, 24px);
}

.cl-public-carving-facts > div {
    display: grid;
    grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr);
    gap: var(--cl-space-4, 16px);
    padding: var(--cl-space-2, 8px) 0;
    border-bottom: 1px solid var(--cl-concrete-light, #F0EDE8);
}

.cl-public-carving-facts dt {
    color: var(--cl-steel, #6B6B6B);
    font-size: var(--cl-text-sm, 0.875rem);
}

.cl-public-carving-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: var(--cl-text-sm, 0.875rem);
    font-weight: 600;
}

.cl-public-carving-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cl-space-3, 12px);
}

.cl-public-carving-note {
    margin: var(--cl-space-4, 16px) 0 0;
    color: var(--cl-steel, #6B6B6B);
    font-size: var(--cl-text-sm, 0.875rem);
    line-height: 1.55;
}

.cl-public-carving-missing {
    width: min(560px, 100%);
    margin: var(--cl-space-10, 40px) auto;
    padding: var(--cl-space-8, 32px);
    text-align: center;
}

.cl-public-carving-missing p {
    margin: var(--cl-space-3, 12px) 0 var(--cl-space-5, 20px);
    color: var(--cl-steel, #6B6B6B);
}

@media (max-width: 860px) {
    .cl-public-carving-grid {
        grid-template-columns: 1fr;
    }

    .cl-public-carving-media,
    .cl-public-carving-media img,
    .cl-public-carving-placeholder {
        min-height: min(62vh, 520px);
        max-height: 520px;
    }
}

@media (max-width: 480px) {
    .cl-public-carving {
        padding-top: var(--cl-space-3, 12px);
    }

    .cl-public-carving-content {
        padding: var(--cl-space-5, 20px);
    }

    .cl-public-carving-actions > .cl-btn {
        width: 100%;
    }
}
