/* ============================================================
   HERO-CITY CSS — SportZone Pro
   4-Panel City-Aware Hero Grid
   ============================================================ */

/* ── Grid Layout ──────────────────────────────────────────── */
.sz-hero-city {
    width: 100%;
    padding: 24px var(--sz-gap, 24px);
    background: #ffffff;
}

.sz-hc-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    max-width: 1700px;
    margin: 0 auto;
    min-height: 580px;
}

/* Panel base */
.sz-hc-panel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
}
.sz-hc-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(78, 52, 46, 0.15);
}

/* ── Panel placement ──────────────────────────────────────── */
.sz-hc-main   { grid-row: 1 / 3; grid-column: 1; }     /* Left large */
.sz-hc-events { grid-row: 1; grid-column: 2; }          /* Top right */
.sz-hc-shop   { grid-row: 2; grid-column: 2; }          /* Bottom right — but split */
.sz-hc-best   { grid-row: 2; grid-column: 2; }

/* Bottom-right: side by side inside column 2 row 2 */
.sz-hc-shop,
.sz-hc-best {
    grid-row: 2;
    grid-column: auto;
}
/* Override: make row 2 of column 2 a nested 2-column grid */
.sz-hc-grid {
    grid-template-columns: 3fr 1fr 1fr;
    grid-template-rows: auto auto;
}
.sz-hc-main   { grid-row: 1 / 3; grid-column: 1; }
.sz-hc-events { grid-row: 1;     grid-column: 2 / 4; }
.sz-hc-shop   { grid-row: 2;     grid-column: 2; }
.sz-hc-best   { grid-row: 2;     grid-column: 3; }


/* ── Main Panel (Booking Hero) ────────────────────────────── */
.sz-hc-main {
    background: #ffffff;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
}

.sz-hc-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.sz-hc-mesh { display: none; }
.sz-hc-overlay { display: none; }

.sz-hc-main-content {
    position: relative;
    z-index: 1;
    padding: 40px 40px 36px;
}

/* City badge */
.sz-hc-city-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sz-green, #4E342E);
    background: rgba(78, 52, 46, 0.1);
    border: 1px solid rgba(78, 52, 46, 0.25);
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.sz-hc-city-dot {
    width: 7px; height: 7px;
    background: var(--sz-green, #4E342E);
    border-radius: 50%;
    animation: sz-blink 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(78, 52, 46, 0.8);
}
@keyframes sz-blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* Title */
.sz-hc-title {
    font-family: var(--sz-font-head, 'Oswald', sans-serif);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--sz-text);
    margin-bottom: 16px;
}
.sz-hc-accent {
    color: var(--sz-green, #4E342E);
    position: relative;
    display: inline-block;
}
.sz-hc-accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 3px;
    background: var(--sz-green, #4E342E);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(78, 52, 46, 0.6);
}

/* Sub */
.sz-hc-sub {
    font-size: 0.95rem;
    color: var(--sz-text2);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 420px;
}

/* CTA buttons */
.sz-hc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.sz-hc-book-btn,
.sz-hc-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: var(--sz-font-head, 'Oswald', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.22s ease;
    cursor: pointer;
    border: none;
}
.sz-hc-book-btn {
    background: var(--sz-green, #4E342E);
    color: #ffffff;
}
.sz-hc-book-btn:hover {
    background: #3e2723;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(78, 52, 46, 0.35);
}
.sz-hc-shop-btn {
    background: rgba(78, 52, 46, 0.05);
    color: var(--sz-text);
    border: 1px solid rgba(78, 52, 46, 0.15);
}
.sz-hc-shop-btn:hover {
    background: rgba(78, 52, 46, 0.1);
    border-color: rgba(78, 52, 46, 0.3);
}

/* Sports chips row */
.sz-hc-sports-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
    min-height: 26px;
    transition: opacity 0.3s ease;
}
.sz-hc-sport-chip {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(78, 52, 46, 0.05);
    border: 1px solid rgba(78, 52, 46, 0.12);
    color: var(--sz-text2);
}

/* Stats */
.sz-hc-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(78, 52, 46, 0.08);
}
.sz-hc-stat {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
}
.sz-hc-stat:first-child { padding-left: 0; }
.sz-hc-stat strong {
    font-family: var(--sz-font-head, 'Oswald', sans-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sz-green, #4E342E);
    line-height: 1;
}
.sz-hc-stat span {
    font-size: 0.7rem;
    color: var(--sz-text2);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 3px;
}
.sz-hc-stat-sep {
    width: 1px; height: 36px;
    background: rgba(78, 52, 46, 0.1);
}

/* Arrows */
.sz-hc-arrows {
    position: absolute;
    bottom: 32px;
    right: 32px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.sz-hc-arrow {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(78, 52, 46, 0.05);
    border: 1px solid rgba(78, 52, 46, 0.15);
    color: var(--sz-text);
    cursor: pointer;
    transition: all 0.2s ease;
}
.sz-hc-arrow:hover {
    background: var(--sz-green, #4E342E);
    color: #ffffff;
    border-color: var(--sz-green, #4E342E);
}


/* ── Shared Panel Styles ──────────────────────────────────── */
.sz-hc-panel-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(78, 52, 46, 0.85);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
}
.sz-hc-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sz-hc-badge-orange { background: #d84315; box-shadow: 0 0 8px rgba(216, 67, 21, 0.6); }
.sz-hc-badge-blue   { background: #5d4037; box-shadow: 0 0 8px rgba(93, 64, 55, 0.6); }
.sz-hc-badge-green  { background: #3e2723; box-shadow: 0 0 8px rgba(62, 39, 35, 0.6); }

/* Full-bleed image fills */
.sz-hc-img-fill {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.4s ease;
}
.sz-hc-panel:hover .sz-hc-img-fill { transform: scale(1.04); }
.sz-hc-img-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 28, 21, 0.92) 0%, rgba(46, 28, 21, 0.45) 55%, rgba(46, 28, 21, 0.1) 100%);
}

/* Panel CTAs */
.sz-hc-panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sz-green, #4E342E);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: gap 0.2s ease;
    margin-top: 8px;
}
.sz-hc-panel-cta:hover { gap: 8px; }

/* Price */
.sz-hc-price { font-size: 1rem; font-weight: 700; color: #fff; margin: 4px 0 8px; }
.sz-hc-price ins { text-decoration: none; color: var(--sz-green, #4E342E); }
.sz-hc-price del { color: rgba(255,255,255,0.35); font-size: 0.82rem; }

/* Empty state */
.sz-hc-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 24px;
}
.sz-hc-empty span { font-size: 2.5rem; }
.sz-hc-empty p { font-size: 0.82rem; color: var(--sz-text2); line-height: 1.5; }
.sz-hc-empty-sm span { font-size: 1.8rem; }
.sz-hc-empty-sm p { font-size: 0.75rem; color: var(--sz-text2); }


/* ── Events Panel ─────────────────────────────────────────── */
.sz-hc-events { min-height: 260px; }
.sz-hc-events-content {
    position: absolute;
    inset: 0;
}
.sz-hc-event-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 16px 20px 20px;
}
.sz-hc-event-date {
    display: block;
    font-size: 0.7rem;
    color: #d84315;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.sz-hc-event-info h3 {
    font-family: var(--sz-font-head, 'Oswald', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 4px;
    text-transform: uppercase;
}


/* ── Shop Panel ───────────────────────────────────────────── */
.sz-hc-shop {
    background: #ffffff;
    min-height: 200px;
}
.sz-hc-shop-content {
    position: absolute;
    inset: 0;
}
.sz-hc-shop-info,
.sz-hc-best-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 14px 18px 18px;
}
.sz-hc-shop-info h4,
.sz-hc-best-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ── Bestsellers Panel ────────────────────────────────────── */
.sz-hc-best {
    background: #ffffff;
    min-height: 200px;
}
.sz-hc-best-content {
    position: absolute;
    inset: 0;
}
.sz-hc-sales-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d84315;
    background: rgba(216, 67, 21, 0.12);
    border: 1px solid rgba(216, 67, 21, 0.25);
    padding: 2px 8px;
    border-radius: 10px;
    margin: 4px 0 6px;
    display: block;
}


/* ── Panel transition animation ───────────────────────────── */
.sz-hc-switching .sz-hc-events-content,
.sz-hc-switching .sz-hc-shop-content,
.sz-hc-switching .sz-hc-best-content,
.sz-hc-switching .sz-hc-city-badge,
.sz-hc-switching .sz-hc-sports-row {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.sz-hc-events-content,
.sz-hc-shop-content,
.sz-hc-best-content,
.sz-hc-city-badge,
.sz-hc-sports-row {
    transition: opacity 0.35s ease, transform 0.35s ease;
}


/* ── Skeleton loader ──────────────────────────────────────── */
.sz-hc-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.03) 0%,
        rgba(255,255,255,0.07) 50%,
        rgba(255,255,255,0.03) 100%
    );
    background-size: 200% 100%;
    animation: sz-shimmer 1.4s ease infinite;
    border-radius: inherit;
}
@keyframes sz-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .sz-hc-grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    .sz-hc-main   { grid-row: 1; grid-column: 1 / 4; min-height: 420px; }
    .sz-hc-events { grid-row: 2; grid-column: 1 / 3; min-height: 220px; }
    .sz-hc-shop   { grid-row: 2; grid-column: 3; }
    .sz-hc-best   { grid-row: 3; grid-column: 1 / 4; min-height: 180px; }
}

@media (max-width: 768px) {
    .sz-hero-city { padding: 16px; }
    .sz-hc-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 12px;
    }
    .sz-hc-main   { grid-row: 1; grid-column: 1 / 3; min-height: 380px; }
    .sz-hc-events { grid-row: 2; grid-column: 1 / 3; min-height: 200px; }
    .sz-hc-shop   { grid-row: 3; grid-column: 1; min-height: 180px; }
    .sz-hc-best   { grid-row: 3; grid-column: 2; min-height: 180px; }
    .sz-hc-main-content { padding: 28px 24px 24px; }
    .sz-hc-title  { font-size: 2rem; }
    .sz-hc-stats  { gap: 0; }
    .sz-hc-stat   { padding: 0 12px; }
    .sz-hc-stat strong { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .sz-hc-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .sz-hc-main   { grid-column: 1; min-height: 340px; }
    .sz-hc-events { grid-column: 1; min-height: 180px; }
    .sz-hc-shop   { grid-column: 1; grid-row: auto; }
    .sz-hc-best   { grid-column: 1; grid-row: auto; }
    .sz-hc-arrows { display: none; }
    .sz-hc-stats  { flex-wrap: wrap; }
}

/* ── Below Hero Announcement Bar ──────────────────────────── */
.sz-hero-announcement {
    width: 100%;
    background: var(--sz-green, #4E342E);
    color: #ffffff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid var(--sz-green2, #3E2723);
}
.sz-hero-announcement-content {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: sz-hero-marquee 20s linear infinite;
}
@keyframes sz-hero-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.sz-hero-announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.sz-hero-announcement-item span { color: var(--sz-gold, #d7ccc8); }
