/* ============================================================
   balti-show.css
   Styles specific to the fishing spot detail page (show)
   ============================================================ */

/* ── Spot weather widget ─────────────────────────────────── */

/* Skeleton shimmer */
.sw-skeleton__bar {
    height: 0.75rem;
    border-radius: 4px;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: sw-shimmer 1.4s linear infinite;
    margin-bottom: 0.4rem;
}
.sw-skeleton__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.sw-skeleton__grid .sw-skeleton__bar {
    margin-bottom: 0;
    height: 1.6rem;
}
@keyframes sw-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Current conditions row */
.sw-current {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}
.sw-current__icon {
    font-size: 2.4rem;
    line-height: 1;
    flex-shrink: 0;
}
.sw-current__temp {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}
.sw-current__feels {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
}
.sw-current__desc {
    font-size: 0.8rem;
    color: #4b5563;
    margin-top: 0.2rem;
}

/* Stats grid */
.sw-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.75rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 0.75rem;
    margin-bottom: 0.85rem;
}
.sw-stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.sw-stat__lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    font-weight: 600;
}
.sw-stat__val {
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
}

/* Daily forecast row */
.sw-forecast {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 0.75rem;
}
.sw-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: #f9fafb;
    border-radius: 10px;
    padding: 0.5rem 0.25rem;
}
.sw-day__name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sw-day__icon {
    font-size: 1.3rem;
    line-height: 1;
}
.sw-day__temps {
    display: flex;
    gap: 0.3rem;
    align-items: baseline;
}
.sw-day__max {
    font-size: 0.82rem;
    font-weight: 800;
    color: #111827;
}
.sw-day__min {
    font-size: 0.72rem;
    color: #9ca3af;
}
.sw-day__prec {
    font-size: 0.65rem;
    color: #3b82f6;
    font-weight: 600;
}

.sw-error {
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    padding: 0.75rem 0;
}


.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.prose p {
    margin-bottom: 0.75rem;
}

/* ── Mobile responsive ──────────────────────────────────── */
@media (max-width: 767px) {
    /* Hero */
    .spot-hero-price-box {
        width: 100%;
        text-align: left;
    }

    /* Prevent long spot names from overflowing */
    h1 {
        word-break: break-word;
        hyphens: auto;
    }

    /* Breadcrumb truncation */
    .spot-breadcrumb-name {
        max-width: 160px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: bottom;
    }

    /* Specs grid: single column on small phones */
    .specs-grid {
        grid-template-columns: 1fr !important;
    }

    /* Sidebar full-width when stacked */
    .sidebar-card {
        width: 100%;
    }

    /* Tariffs table readable on mobile */
    .tariff-row {
        flex-wrap: wrap;
    }
}
