/*
 *     Theme Name: Taste Caloundra
 *     Theme URI: https://tastecaloundra.com.au
 *     License: Proprietary - Copyright (c) 2026 Gravity Projex
 *     Author: Gravity Projex
 *     Author URI: https://gravityprojex.com
 *     Description: Custom theme for Taste Caloundra for Caloundra Chamber of Commerce 
 *     Version: 4.2.8
 *     Requires PHP: 7+
 *     Text Domain: taste-caloundra
 *     Tags: food-and-drink, tourism, directory, full-site-editing, custom-colours, block-patterns,interactive trip planning, route optimization, favorites system, tiered membership, user accounts, and business directory with analytics tracking. Retro coastal lifestyle meets modern web standards
 *     License: Proprietary
 *     Gravity Projex - Intellectual Property
 *     PROPRIETARY SOFTWARE LICENSE - GRAVITY PROJEX
 *     Copyright (c) 2026 Gravity Projex / Michelle Smith.
 *     All Rights Reserved.
 *     Business located in Australia.
 *     Gravity Projex - Intellectual Property (Framework,software,scripts,codes,and all other material)
 *     PROPRIETARY SOFTWARE LICENSE- GRAVITY PROJEX
 *     Copyright (c) 2026 Gravity Projex / Michelle Smith. 
 *     All Rights Reserved. 
 *     Business located in Australia.
 *     This software and associated documentation files (the "Software") are proprietary 
 *     and confidential to Gravity Projex.The source code contained or described herein and all documents related
 *     to the source code ("Material") and website framework are owned by Gravity Projex or its
 *     licensors and authorised representatives. Title to the Material remains with Gravity Projex
 *     or its licensors and authorised representatives. The Material contains trade
 *     secrets and proprietary and confidential information of Gravity Projex or its
 *     licensors and authorised representatives. 
 *     RESTRICTIONS:
 *     1. You may NOT copy, modify, distribute, or sell copies of the Software or coding, scripts or framework
 *     2. You may NOT reverse engineer, decompile, or disassemble the Software or coding, scripts or framework
 *     3. You may NOT remove any proprietary notices or labels on the Software or coding, scripts or framework
 *     4. Unauthorized use may result in legal action and monetary damages
 *     The Material is protected by worldwide copyright
 *     and trade secret laws and treaty provisions. No part of the Material may
 *     be used, copied, reproduced, modified, published, uploaded, posted,
 *     transmitted, distributed, or disclosed in any way without Gravity Projex prior
 *     express written permission.
 *     No license under any patent, copyright, trade secret or other intellectual
 *     property right is granted to or conferred upon you by disclosure or
 *     delivery of the Materials, either expressly, by implication, inducement,
 *     estoppel or otherwise. Any license under such intellectual property rights
 *     must be expressed and approved by Gravity Projex in writing.
 *     OWNERSHIP:
 *     The Software is owned by Gravity Projex and is protected by Australian copyright 
 *     laws and international treaty provisions.
 *     CONTACT:
 *     For licensing enquiries: admin@gravityprojex.com
 *     Website: https://gravityprojex.com
 *     VIOLATIONS:
 *     Unauthorized copying or use of this Software will result in:
 *     - Immediate cease and desist notice
 *     - Legal action under Australian Copyright Act 1968
 *     - Monetary damages and legal fees
 */

/* ==========================================================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   Updated: Retro Coastal — Yellow, Charcoal, White, Black
   ========================================================================== */

:root {
    /* Brand Colors — Retro Coastal */
    --tc-brand-primary: #D4A017;
    --tc-brand-primary-light: #E8B830;
    --tc-brand-primary-dark: #B8890F;
    --tc-brand-accent: #F0C75E;
    --tc-brand-charcoal: #2D2D2D;
    --tc-brand-charcoal-light: #3D3D3D;
    --tc-brand-ocean: #3A8F9F;
    --tc-brand-ocean-dark: #2A7080;
    --tc-brand-sand: #F5F0E8;
    --tc-brand-coral: #D4603A;
    --tc-brand-sage: #7A9E7E;

    /* Neutral Palette */
    --tc-neutral-50: #FAFAF8;
    --tc-neutral-100: #F5F5F2;
    --tc-neutral-200: #E8E6E1;
    --tc-neutral-300: #D4D2CD;
    --tc-neutral-400: #A09E99;
    --tc-neutral-500: #716F6A;
    --tc-neutral-600: #545250;
    --tc-neutral-700: #3D3B39;
    --tc-neutral-800: #2A2826;
    --tc-neutral-900: #1A1918;
    --tc-neutral-950: #0D0C0B;

    /* Semantic */
    --tc-success: #3D8B37;
    --tc-warning: #D4A017;
    --tc-error: #C0392B;
    --tc-info: #2980B9;

    /* Light Mode */
    --tc-bg-primary: #FFFFFF;
    --tc-bg-secondary: var(--tc-neutral-50);
    --tc-bg-tertiary: var(--tc-neutral-100);
    --tc-bg-elevated: #FFFFFF;
    --tc-bg-overlay: rgba(13, 12, 11, 0.6);
    --tc-text-primary: var(--tc-neutral-900);
    --tc-text-secondary: var(--tc-neutral-600);
    --tc-text-tertiary: var(--tc-neutral-400);
    --tc-text-inverse: #FFFFFF;
    --tc-border-default: var(--tc-neutral-200);
    --tc-border-strong: var(--tc-neutral-300);
    --tc-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --tc-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.05);
    --tc-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -4px rgba(0,0,0,0.06);
    --tc-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.06);

    /* Typography */
    --tc-font-display: 'Playfair Display', Georgia, serif;
    --tc-font-heading: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
    --tc-font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --tc-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --tc-text-xs: clamp(0.7rem, 0.66rem + 0.2vw, 0.78rem);
    --tc-text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --tc-text-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
    --tc-text-lg: clamp(1.05rem, 0.95rem + 0.5vw, 1.175rem);
    --tc-text-xl: clamp(1.2rem, 1.05rem + 0.75vw, 1.35rem);
    --tc-text-2xl: clamp(1.4rem, 1.15rem + 1.25vw, 1.75rem);
    --tc-text-3xl: clamp(1.7rem, 1.3rem + 2vw, 2.25rem);
    --tc-text-4xl: clamp(2rem, 1.4rem + 3vw, 3rem);
    --tc-text-5xl: clamp(2.5rem, 1.5rem + 5vw, 4rem);
    --tc-text-6xl: clamp(3rem, 1.5rem + 7.5vw, 5.5rem);

    /* Spacing */
    --tc-space-1: 0.25rem;
    --tc-space-2: 0.5rem;
    --tc-space-3: 0.75rem;
    --tc-space-4: 1rem;
    --tc-space-5: 1.25rem;
    --tc-space-6: 1.5rem;
    --tc-space-8: 2rem;
    --tc-space-10: 2.5rem;
    --tc-space-12: 3rem;
    --tc-space-16: 4rem;
    --tc-space-20: 5rem;
    --tc-space-24: 6rem;
    --tc-space-32: 8rem;

    /* Layout */
    --tc-container-max: 1360px;
    --tc-container-narrow: 960px;
    --tc-container-wide: 1600px;
    --tc-gutter: clamp(1rem, 2.5vw, 2rem);

    /* Radii */
    --tc-radius-sm: 6px;
    --tc-radius-md: 10px;
    --tc-radius-lg: 16px;
    --tc-radius-xl: 24px;
    --tc-radius-2xl: 32px;
    --tc-radius-full: 9999px;

    /* Motion */
    --tc-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --tc-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --tc-transition-fast: 150ms var(--tc-ease-out);
    --tc-transition-base: 250ms var(--tc-ease-out);
    --tc-transition-slow: 450ms var(--tc-ease-out);

    /* Z-Index */
    --tc-z-base: 1;
    --tc-z-dropdown: 100;
    --tc-z-sticky: 200;
    --tc-z-overlay: 300;
    --tc-z-modal: 400;
    --tc-z-toast: 500;
    --tc-z-max: 9999;
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */

[data-theme="dark"] {
    --tc-bg-primary: var(--tc-neutral-950);
    --tc-bg-secondary: var(--tc-neutral-900);
    --tc-bg-tertiary: var(--tc-neutral-800);
    --tc-bg-elevated: var(--tc-neutral-900);
    --tc-bg-overlay: rgba(0, 0, 0, 0.75);
    --tc-text-primary: var(--tc-neutral-100);
    --tc-text-secondary: var(--tc-neutral-400);
    --tc-text-tertiary: var(--tc-neutral-500);
    --tc-text-inverse: var(--tc-neutral-950);
    --tc-border-default: var(--tc-neutral-800);
    --tc-border-strong: var(--tc-neutral-700);
    --tc-shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --tc-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
    --tc-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5);
    --tc-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.6);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Hard-stop horizontal overflow at the root — prevents any child
       element from making the page scrollable sideways on mobile */
    overflow-x: hidden;
}

body {
    font-family: var(--tc-font-body);
    font-size: var(--tc-text-base);
    line-height: 1.6;
    color: var(--tc-text-primary);
    background-color: var(--tc-bg-primary);
    overflow-x: hidden;
    transition: background-color var(--tc-transition-slow), color var(--tc-transition-slow);
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tc-font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--tc-text-primary);
}

h1 { font-size: var(--tc-text-5xl); }
h2 { font-size: var(--tc-text-4xl); }
h3 { font-size: var(--tc-text-3xl); }
h4 { font-size: var(--tc-text-2xl); }
h5 { font-size: var(--tc-text-xl); }
h6 { font-size: var(--tc-text-lg); }

p { max-width: 72ch; line-height: 1.7; }

::selection { background: var(--tc-brand-primary); color: white; }

:focus-visible {
    outline: 3px solid var(--tc-brand-primary);
    outline-offset: 3px;
    border-radius: var(--tc-radius-sm);
}

.tc-skip-link {
    position: absolute;
    top: -100%;
    left: var(--tc-gutter);
    z-index: var(--tc-z-max);
    padding: var(--tc-space-3) var(--tc-space-6);
    background: var(--tc-brand-charcoal);
    color: var(--tc-brand-accent);
    font-weight: 700;
    border-radius: 0 0 var(--tc-radius-md) var(--tc-radius-md);
    transition: top var(--tc-transition-fast);
}

.tc-skip-link:focus { top: 0; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.tc-container {
    width: 100%;
    max-width: var(--tc-container-max);
    margin-inline: auto;
    padding-inline: var(--tc-gutter);
}

.tc-container--narrow { max-width: var(--tc-container-narrow); }
.tc-container--wide { max-width: var(--tc-container-wide); }
.tc-section { padding-block: clamp(3rem, 6vw, 6rem); }

.tc-visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.tc-header {
    position: sticky;
    top: 0;
    z-index: var(--tc-z-sticky);
    background: var(--tc-bg-primary);
    border-bottom: 1px solid var(--tc-border-default);
    transition: all var(--tc-transition-base);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-width: 100vw;
}

.tc-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--tc-shadow-md);
}

[data-theme="dark"] .tc-header.is-scrolled {
    background: rgba(13, 12, 11, 0.94);
}

.tc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--tc-space-8);
}

.tc-header__logo {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    font-family: var(--tc-font-heading);
    font-weight: 800;
    font-size: var(--tc-text-xl);
    letter-spacing: -0.03em;
    color: var(--tc-text-primary);
    transition: opacity var(--tc-transition-fast);
    flex-shrink: 0;
}

.tc-header__logo:hover { opacity: 0.8; }

.tc-header__logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--tc-radius-full);
    object-fit: cover;
    border: 2px solid var(--tc-brand-primary);
}

.tc-header__logo-text span { color: var(--tc-brand-primary); }

/* Nav */
.tc-nav { display: none; }
@media (min-width: 1024px) {
    .tc-nav { display: flex; align-items: center; gap: var(--tc-space-1); }
}

.tc-nav__link {
    position: relative;
    padding: var(--tc-space-2) var(--tc-space-4);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-secondary);
    border-radius: var(--tc-radius-full);
    transition: all var(--tc-transition-fast);
    white-space: nowrap;
}

.tc-nav__link:hover,
.tc-nav__link--active {
    color: var(--tc-text-primary);
    background: var(--tc-bg-tertiary);
}

.tc-nav__link--cta {
    background: var(--tc-brand-charcoal);
    color: var(--tc-brand-accent) !important;
}

.tc-nav__link--cta:hover {
    background: var(--tc-brand-charcoal-light);
}

/* Header Actions */
.tc-header__actions {
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    flex-shrink: 0;
}

.tc-header__action-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-full);
    color: var(--tc-text-secondary);
    transition: all var(--tc-transition-fast);
}

.tc-header__action-btn:hover {
    color: var(--tc-text-primary);
    background: var(--tc-bg-tertiary);
}

.tc-header__action-btn svg { width: 20px; height: 20px; }

.tc-header__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: var(--tc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.tc-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text-primary);
}

@media (min-width: 1024px) { .tc-menu-toggle { display: none; } }

.tc-menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--tc-transition-fast);
    position: relative;
}

.tc-menu-toggle__bar::before,
.tc-menu-toggle__bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--tc-transition-fast);
}

.tc-menu-toggle__bar::before { top: -7px; }
.tc-menu-toggle__bar::after { bottom: -7px; }

.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__bar { background: transparent; }
.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__bar::before { top: 0; transform: rotate(45deg); }
.tc-menu-toggle[aria-expanded="true"] .tc-menu-toggle__bar::after { bottom: 0; transform: rotate(-45deg); }

/* Mobile Menu */
.tc-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--tc-z-overlay);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--tc-transition-base);
}

.tc-mobile-menu.is-open { pointer-events: auto; opacity: 1; }
.tc-mobile-menu__backdrop { position: absolute; inset: 0; background: var(--tc-bg-overlay); }

.tc-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    /* Full-screen on mobile */
    width: 100%;
    height: 100%;
    background: var(--tc-bg-primary);
    padding: var(--tc-space-5) var(--tc-space-6) var(--tc-space-8);
    transform: translateX(100%);
    transition: transform var(--tc-transition-base);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-2);
}

.tc-mobile-menu.is-open .tc-mobile-menu__panel { transform: translateX(0); }

/* ✕ Close button inside the panel */
.tc-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--tc-border-default);
    background: transparent;
    color: var(--tc-text-primary);
    cursor: pointer;
    margin-bottom: var(--tc-space-4);
    transition: background var(--tc-transition-fast);
}
.tc-mobile-menu__close:hover { background: var(--tc-bg-tertiary); }

.tc-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4);
    font-size: var(--tc-text-lg);
    font-weight: 600;
    color: var(--tc-text-primary);
    border-radius: var(--tc-radius-md);
    transition: background var(--tc-transition-fast);
}

.tc-mobile-menu__link:hover { background: var(--tc-bg-tertiary); }

/* Mobile Menu Social Icons */
.tc-mobile-menu__social {
    display: flex;
    gap: var(--tc-space-3);
    margin-top: auto;
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
}

.tc-mobile-menu__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--tc-radius-full);
    border: 1px solid var(--tc-border-default);
    color: var(--tc-text-secondary);
    transition: color var(--tc-transition-fast), border-color var(--tc-transition-fast), background var(--tc-transition-fast);
    text-decoration: none;
}

.tc-mobile-menu__social-link:hover {
    color: var(--tc-brand-primary);
    border-color: var(--tc-brand-primary);
    background: var(--tc-bg-tertiary);
}

[data-theme="dark"] .tc-mobile-menu__social-link:hover {
    color: var(--tc-brand-accent);
    border-color: var(--tc-brand-accent);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.tc-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--tc-brand-charcoal);
}

.tc-hero__bg { position: absolute; inset: 0; z-index: 0; }
.tc-hero__bg img, .tc-hero__bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }

.tc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(45, 45, 45, 0.3) 0%,
        rgba(45, 45, 45, 0.55) 50%,
        rgba(45, 45, 45, 0.9) 100%
    );
}

.tc-hero__content {
    position: relative;
    z-index: 1;
    padding-block: var(--tc-space-32) var(--tc-space-16);
    color: white;
}

.tc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    padding: var(--tc-space-2) var(--tc-space-4);
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-brand-accent);
    backdrop-filter: blur(8px);
    margin-bottom: var(--tc-space-6);
}

.tc-hero__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-5xl);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: white;
    margin-bottom: var(--tc-space-6);
    max-width: 14ch;
}

.tc-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--tc-brand-primary), var(--tc-brand-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tc-hero__desc {
    font-size: var(--tc-text-lg);
    color: rgba(255, 255, 255, 0.75);
    max-width: 50ch;
    margin-bottom: var(--tc-space-10);
    line-height: 1.7;
}

.tc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--tc-space-4); align-items: center; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tc-space-2);
    padding: var(--tc-space-3) var(--tc-space-6);
    font-family: var(--tc-font-body);
    font-size: var(--tc-text-sm);
    font-weight: 700;
    line-height: 1.4;
    border-radius: var(--tc-radius-full);
    border: 2px solid transparent;
    transition: all var(--tc-transition-fast);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.tc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.tc-btn--primary {
    background: var(--tc-brand-charcoal);
    color: var(--tc-brand-accent);
    border-color: var(--tc-brand-charcoal);
}

.tc-btn--primary:hover {
    background: var(--tc-brand-charcoal-light);
    border-color: var(--tc-brand-charcoal-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 45, 45, 0.35);
}

.tc-btn--gold {
    background: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
    border-color: var(--tc-brand-primary);
}

.tc-btn--gold:hover {
    background: var(--tc-brand-primary-light);
    border-color: var(--tc-brand-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
}

.tc-btn--outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.tc-btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

.tc-btn--ghost {
    background: transparent;
    color: var(--tc-text-primary);
    border-color: var(--tc-border-strong);
}

.tc-btn--ghost:hover { background: var(--tc-bg-tertiary); }

.tc-btn--ocean {
    background: var(--tc-brand-ocean);
    color: white;
    border-color: var(--tc-brand-ocean);
}

.tc-btn--ocean:hover { background: var(--tc-brand-ocean-dark); }

.tc-btn--lg { padding: var(--tc-space-4) var(--tc-space-8); font-size: var(--tc-text-base); }
.tc-btn--sm { padding: var(--tc-space-2) var(--tc-space-4); font-size: var(--tc-text-xs); }

.tc-btn--danger { background: var(--tc-error); color: white; border-color: var(--tc-error); }
.tc-btn--danger:hover { background: #A93226; }

/* ==========================================================================
   CARDS
   ========================================================================== */

.tc-card {
    position: relative;
    background: var(--tc-bg-elevated);
    border-radius: var(--tc-radius-lg);
    border: 1px solid var(--tc-border-default);
    overflow: hidden;
    transition: all var(--tc-transition-base);
}

.tc-card:hover {
    box-shadow: var(--tc-shadow-lg);
    transform: translateY(-3px);
    border-color: var(--tc-border-strong);
}

.tc-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tc-bg-tertiary);
}

.tc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tc-transition-slow);
}

.tc-card:hover .tc-card__image img { transform: scale(1.05); }

.tc-card__favorite {
    position: absolute;
    top: var(--tc-space-3);
    right: var(--tc-space-3);
    width: 40px;
    height: 40px;
    background: var(--tc-bg-primary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-text-secondary);
    z-index: 2;
    transition: all var(--tc-transition-fast);
    box-shadow: var(--tc-shadow-md);
}

.tc-card__favorite:hover { transform: scale(1.1); color: var(--tc-error); }

.tc-card__favorite.is-active {
    background: var(--tc-brand-primary);
    border-color: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
}

/* Dark mode: ensure inactive heart is visible on dark card backgrounds */
[data-theme="dark"] .tc-card__favorite {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}
[data-theme="dark"] .tc-card__favorite:hover { color: #F87171; }
[data-theme="dark"] .tc-card__favorite.is-active {
    background: var(--tc-brand-primary);
    border-color: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
}

.tc-card__favorite svg { width: 18px; height: 18px; }

.tc-card__badge {
    position: absolute;
    top: var(--tc-space-3);
    left: var(--tc-space-3);
    padding: var(--tc-space-1) var(--tc-space-3);
    background: var(--tc-brand-charcoal);
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs);
    font-weight: 700;
    color: var(--tc-brand-accent);
    box-shadow: var(--tc-shadow-md);
    z-index: 2;
}

.tc-card__body { padding: var(--tc-space-4); }

.tc-card__category {
    font-size: var(--tc-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-brand-ocean);
    margin-bottom: var(--tc-space-2);
}

.tc-card__title {
    font-size: var(--tc-text-lg);
    font-weight: 700;
    margin-bottom: var(--tc-space-2);
    line-height: 1.3;
}

.tc-card__meta {
    display: flex;
    align-items: center;
    gap: var(--tc-space-4);
    margin-bottom: var(--tc-space-3);
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
}

.tc-card__rating {
    display: flex;
    align-items: center;
    gap: var(--tc-space-1);
    font-weight: 600;
    color: var(--tc-brand-primary);
}

.tc-card__rating svg { width: 14px; height: 14px; fill: var(--tc-brand-primary); }

.tc-card__excerpt {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--tc-space-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-card__actions { display: flex; gap: var(--tc-space-2); }

/* Card tags */
.tc-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: var(--tc-space-3); max-height: 3.6em; overflow: hidden; position: relative; }
.tc-card__tag {
    display: inline-block; padding: 2px 10px; border-radius: var(--tc-radius-full);
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
    background: var(--tc-bg-tertiary); color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default);
}
/* Subtle group colours */
.tc-card__tag[data-group="accessibility"]  { border-color: #3B82F6; color: #3B82F6; background: rgba(59,130,246,0.08); }
.tc-card__tag[data-group="dietary"]        { border-color: #10B981; color: #059669; background: rgba(16,185,129,0.08); }
.tc-card__tag[data-group="sustainability"] { border-color: #22C55E; color: #16A34A; background: rgba(34,197,94,0.08); }
.tc-card__tag[data-group="experience"]     { border-color: #F59E0B; color: #D97706; background: rgba(245,158,11,0.08); }
.tc-card__tag[data-group="amenities"]      { border-color: #8B5CF6; color: #7C3AED; background: rgba(139,92,246,0.08); }
.tc-card__tag[data-group="vibe"]           { border-color: #0EA5E9; color: #0284C7; background: rgba(14,165,233,0.08); }
[data-theme="dark"] .tc-card__tag[data-group="accessibility"]  { color: #93C5FD; }
[data-theme="dark"] .tc-card__tag[data-group="dietary"]        { color: #6EE7B7; }
[data-theme="dark"] .tc-card__tag[data-group="sustainability"] { color: #86EFAC; }
[data-theme="dark"] .tc-card__tag[data-group="experience"]     { color: #FCD34D; }
[data-theme="dark"] .tc-card__tag[data-group="amenities"]      { color: #C4B5FD; }
[data-theme="dark"] .tc-card__tag[data-group="vibe"]           { color: #7DD3FC; }
[data-theme="dark"] .tc-card__tag[data-group="cuisine"]        { color: #FDA4AF; }

/* Horizontal variant */
.tc-card--horizontal { display: grid; grid-template-columns: 180px 1fr; }
.tc-card--horizontal .tc-card__image { aspect-ratio: auto; height: 100%; max-height: 160px; }
.tc-card--horizontal .tc-card__body { padding: var(--tc-space-3) var(--tc-space-4); }

/* ==========================================================================
   EXPLORE PAGE
   ========================================================================== */

.tc-explore { padding-top: var(--tc-space-6); }

.tc-explore__header { text-align: center; margin-bottom: var(--tc-space-6); }
.tc-explore__header h1 { font-family: var(--tc-font-display); margin-bottom: var(--tc-space-3); }
.tc-explore__header p { color: var(--tc-text-secondary); font-size: var(--tc-text-lg); max-width: 60ch; margin-inline: auto; }

/* Filters */
.tc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-3);
    align-items: center;
    padding: var(--tc-space-4) var(--tc-space-5);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    margin-bottom: var(--tc-space-8);
    box-shadow: var(--tc-shadow-sm);
}

.tc-filters__search { flex: 1; min-width: 200px; position: relative; }

.tc-filters__search svg {
    position: absolute;
    left: var(--tc-space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--tc-text-tertiary);
    pointer-events: none;
}

.tc-filters__search input {
    width: 100%;
    padding: var(--tc-space-3) var(--tc-space-4) var(--tc-space-3) var(--tc-space-12);
    background: var(--tc-bg-secondary);
    border: 1px solid transparent;
    border-radius: var(--tc-radius-full);
    font: inherit;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-primary);
    transition: all var(--tc-transition-fast);
}

.tc-filters__search input:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
    background: var(--tc-bg-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.tc-filters__search input::placeholder { color: var(--tc-text-tertiary); }

.tc-filters__select {
    padding: var(--tc-space-3) var(--tc-space-10) var(--tc-space-3) var(--tc-space-4);
    background: var(--tc-bg-secondary);
    border: 1px solid transparent;
    border-radius: var(--tc-radius-full);
    font: inherit;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23716F6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all var(--tc-transition-fast);
}

.tc-filters__select:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.tc-filters__reset {
    padding: var(--tc-space-3) var(--tc-space-5);
    font-weight: 600;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    border-radius: var(--tc-radius-full);
    transition: all var(--tc-transition-fast);
}

.tc-filters__reset:hover { background: var(--tc-bg-tertiary); color: var(--tc-text-primary); }

/* Layout */
.tc-explore__layout { display: grid; grid-template-columns: 1fr; gap: var(--tc-space-6); }
@media (min-width: 1024px) { .tc-explore__layout { grid-template-columns: 1fr 400px; align-items: start; } }

.tc-outlet-grid {
    display: grid;
    gap: var(--tc-space-3);
    align-content: start;
}

/* Desktop: scrollable list beside sticky map */
@media (min-width: 1024px) {
    .tc-outlet-grid {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding-right: var(--tc-space-2);
        scroll-behavior: smooth;
    }
}

/* Mobile: natural flow, no scroll trap */
@media (max-width: 1023px) {
    .tc-outlet-grid {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

.tc-outlet-grid::-webkit-scrollbar { width: 6px; }
.tc-outlet-grid::-webkit-scrollbar-thumb { background: var(--tc-neutral-300); border-radius: var(--tc-radius-full); }
[data-theme="dark"] .tc-outlet-grid::-webkit-scrollbar-thumb { background: var(--tc-neutral-700); }

/* Map */
.tc-map-container {
    position: sticky;
    top: 88px;
    height: calc(100vh - 100px);
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
    box-shadow: var(--tc-shadow-md);
}

/* Mobile: map hidden by default, shown via toggle */
@media (max-width: 1023px) {
    .tc-map-container {
        position: relative;
        top: auto;
        height: 50vh;
        min-height: 300px;
        display: none;
        order: -1;
    }
    .tc-map-container.is-visible { display: block; }
}

/* Mobile map toggle button */
.tc-map-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    border-radius: var(--tc-radius-md);
    font-weight: 600;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-primary);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    text-align: center;
    gap: 8px;
    align-items: center;
    justify-content: center;
    transition: all var(--tc-transition-fast);
    cursor: pointer;
}
.tc-map-toggle svg { width: 18px; height: 18px; }
.tc-map-toggle:hover { border-color: var(--tc-brand-primary); color: var(--tc-brand-primary); }
@media (max-width: 1023px) { .tc-map-toggle { display: flex; } }

.tc-map-container .leaflet-container { width: 100%; height: 100%; border-radius: var(--tc-radius-lg); }

/* ---- MOBILE CARD OPTIMISATION ---- */

/* Tablet (641-1023px): tighter horizontal cards, no scroll trap */
@media (min-width: 641px) and (max-width: 1023px) {
    .tc-card--horizontal { grid-template-columns: 120px 1fr; }
    .tc-card--horizontal .tc-card__image { max-height: 140px; }
    .tc-card__title { font-size: var(--tc-text-base); }
    .tc-card__body { padding: var(--tc-space-3); }
    .tc-card__excerpt { -webkit-line-clamp: 1; margin-bottom: var(--tc-space-2); }
    .tc-card__meta { gap: var(--tc-space-2); margin-bottom: var(--tc-space-2); }
}

/*
 * PHONE (<640px): Compact row cards
 * Each card is a single tight row: [square thumb] [name + meta] [heart]
 * ~80px tall instead of ~350px — makes 70 outlets actually scrollable
 */
@media (max-width: 640px) {

    .tc-outlet-grid { gap: 0; }

    .tc-card {
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--tc-border-default);
        cursor: pointer;
        position: relative;
    }
    .tc-card:first-child { border-top: none; }
    .tc-card:hover { transform: none; box-shadow: none; background: var(--tc-bg-secondary); }

    .tc-card--horizontal {
        grid-template-columns: 72px 1fr;
        gap: 12px;
        min-height: 0;
        padding: 10px 12px;
        align-items: center;
    }

    .tc-card--horizontal .tc-card__image {
        aspect-ratio: 1 / 1;
        width: 72px;
        height: 72px;
        max-height: none;
        border-radius: var(--tc-radius-md);
        margin: 0;
        flex-shrink: 0;
    }

    .tc-card__image img { border-radius: var(--tc-radius-md); }

    /* Hide elements that clutter compact view */
    .tc-card__badge { display: none; }
    .tc-card__excerpt { display: none; }
    .tc-card__tags { display: none; }
    .tc-card__actions { display: none; }

    /* Compact body — no extra padding, card provides it */
    .tc-card__body {
        padding: 0;
        padding-right: 36px; /* room for heart + chevron */
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .tc-card__category {
        font-size: 0.65rem;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tc-card__title {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 2px;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tc-card__meta {
        gap: 8px;
        margin-bottom: 0;
        font-size: 0.75rem;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .tc-card__meta > span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tc-card__rating svg { width: 12px; height: 12px; }

    /* Heart button repositioned inline-right */
    .tc-card__favorite {
        width: 32px;
        height: 32px;
        top: 50%;
        right: 12px;
        left: auto;
        transform: translateY(-50%);
        box-shadow: none;
        background: transparent;
        border: none;
        color: var(--tc-text-secondary);
    }
    .tc-card__favorite svg { width: 18px; height: 18px; }
    .tc-card__favorite.is-active { background: transparent; color: var(--tc-brand-primary); }
    [data-theme="dark"] .tc-card__favorite { background: transparent; border: none; color: rgba(255,255,255,0.6); }
    [data-theme="dark"] .tc-card__favorite.is-active { color: var(--tc-brand-primary); }

    /* Chevron indicator for tap navigation */
    .tc-card::after {
        content: '';
        position: absolute;
        right: 48px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--tc-text-tertiary);
        border-bottom: 2px solid var(--tc-text-tertiary);
        transform: translateY(-50%) rotate(-45deg);
        opacity: 0.35;
    }

    /* Explore header */
    .tc-explore__header h1 { font-size: var(--tc-text-2xl); }
    .tc-explore__header p { font-size: var(--tc-text-sm); }
}

/* Small phone (<380px): even tighter */
@media (max-width: 380px) {
    .tc-card--horizontal { grid-template-columns: 56px 1fr; padding: 8px 10px; gap: 10px; }
    .tc-card--horizontal .tc-card__image {
        width: 56px; height: 56px;
    }
    .tc-card__body { padding-right: 32px; }
    .tc-card__title { font-size: 0.85rem; }
    .tc-card__meta { font-size: 0.7rem; gap: 6px; }
}

/* ---- MOBILE FILTER BAR ---- */
@media (max-width: 768px) {
    .tc-filters {
        flex-wrap: wrap;
        gap: var(--tc-space-2);
    }
    .tc-filters__search { width: 100%; }
    .tc-filters__select { flex: 1; min-width: 0; font-size: var(--tc-text-sm); }
    .tc-view-toggle { order: 10; }
    .tc-filters__feature-toggle { order: 9; }
}

/* ==========================================================================
   MEMBERSHIP BADGE / TIER INDICATORS
   ========================================================================== */

.tc-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tc-tier-badge--bronze { background: #CD7F32; color: white; }
.tc-tier-badge--silver { background: #C0C0C0; color: var(--tc-brand-charcoal); }
.tc-tier-badge--gold { background: var(--tc-brand-primary); color: var(--tc-brand-charcoal); }

/* ==========================================================================
   SINGLE OUTLET
   ========================================================================== */

.tc-outlet-single { padding-top: var(--tc-space-8); padding-bottom: var(--tc-space-16); }

.tc-outlet-single__hero {
    position: relative;
    padding: var(--tc-space-16) var(--tc-space-8);
    /* Deep dark-to-warm gradient — coastal dusk feel */
    background: linear-gradient(135deg,
        #1a1008 0%,
        #2a1e0a 30%,
        #1e1a14 60%,
        #0f1219 100%
    );
    border-radius: var(--tc-radius-2xl);
    color: white;
    margin-bottom: var(--tc-space-10);
    overflow: hidden;
}

/* Warm vignette glow in the bottom-left where the text lives */
.tc-outlet-single__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 100%, rgba(212,160,23,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 0%, rgba(212,160,23,0.07) 0%, transparent 50%);
    pointer-events: none;
}

/* Subtle noise grain overlay for texture */
.tc-outlet-single__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

.tc-outlet-single__back {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    color: var(--tc-text-secondary);
    font-weight: 600;
    font-size: var(--tc-text-sm);
    margin-bottom: var(--tc-space-6);
    transition: color var(--tc-transition-fast);
}

.tc-outlet-single__back:hover { color: var(--tc-text-primary); }
.tc-outlet-single__back svg { width: 18px; height: 18px; }

/* Ensure all direct hero children sit above the ::before / ::after overlays */
.tc-outlet-single__hero > * { position: relative; z-index: 1; }

.tc-outlet-single__hero h1 { font-family: var(--tc-font-display); color: white; margin-bottom: var(--tc-space-4); }

.tc-outlet-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-6);
    font-size: var(--tc-text-lg);
    opacity: 0.9;
}

.tc-outlet-single__meta-item--rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tc-outlet-single__rating-source {
    font-size: var(--tc-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.65;
    padding: 2px 7px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--tc-radius-full);
    white-space: nowrap;
    margin-left: 2px;
}

.tc-outlet-single__meta-item { display: flex; align-items: center; gap: var(--tc-space-2); }

.tc-outlet-single__grid { display: grid; grid-template-columns: 1fr; gap: var(--tc-space-8); }
@media (min-width: 1024px) { .tc-outlet-single__grid { grid-template-columns: 2fr 1fr; } }

.tc-outlet-single__content {
    background: var(--tc-bg-elevated);
    padding: var(--tc-space-8);
    border-radius: var(--tc-radius-xl);
    border: 1px solid var(--tc-border-default);
}

.tc-outlet-single__featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--tc-radius-lg);
    margin-bottom: var(--tc-space-8);
}

.tc-outlet-single__sidebar { display: flex; flex-direction: column; gap: var(--tc-space-6); }

.tc-info-card {
    background: var(--tc-bg-elevated);
    padding: var(--tc-space-6);
    border-radius: var(--tc-radius-xl);
    border: 1px solid var(--tc-border-default);
}

.tc-info-card__title {
    font-size: var(--tc-text-lg);
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    margin-bottom: var(--tc-space-5);
    padding-bottom: var(--tc-space-4);
    border-bottom: 1px solid var(--tc-border-default);
}

.tc-info-card__item { padding: var(--tc-space-3) 0; border-bottom: 1px solid var(--tc-border-default); }
.tc-info-card__item:last-child { border-bottom: none; }

.tc-info-card__label {
    font-size: var(--tc-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-1);
}

.tc-info-card__value { font-weight: 600; color: var(--tc-text-primary); }
.tc-info-card__value a { color: var(--tc-brand-primary); transition: color var(--tc-transition-fast); }
.tc-info-card__value a:hover { color: var(--tc-brand-primary-dark); }

/* Info card tag groups */
.tc-info-card__tag-group { padding: var(--tc-space-3) 0; border-bottom: 1px solid var(--tc-border-default); }
.tc-info-card__tag-group:last-child { border-bottom: none; }
.tc-info-card__tag-label {
    display: block;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--tc-text-tertiary); margin-bottom: 6px;
}
.tc-info-card__tag-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.tc-info-card__tag {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 3px 10px; border-radius: var(--tc-radius-full);
    font-size: 0.75rem; font-weight: 500;
    background: var(--tc-bg-tertiary); color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default);
}

.tc-detail-map {
    height: 280px;
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
}

/* --- Photo Gallery --- */
.tc-outlet-single__gallery {
    margin: var(--tc-space-6) 0;
    padding: var(--tc-space-6) 0;
    border-top: 2px solid var(--tc-border-default);
    border-bottom: 2px solid var(--tc-border-default);
}
.tc-outlet-single__gallery-title {
    font-size: 1.25rem;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-5);
    font-weight: 600;
}
.tc-outlet-single__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--tc-space-4);
}
.tc-outlet-single__gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--tc-radius-lg);
    display: block;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-outlet-single__gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.tc-outlet-single__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tc-transition-base);
}
.tc-outlet-single__gallery-item:hover img { transform: scale(1.05); }
.tc-outlet-single__gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(212, 160, 23, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--tc-transition-base);
    font-size: 2.5rem;
}
.tc-outlet-single__gallery-item:hover .tc-outlet-single__gallery-overlay { opacity: 1; }

/* Lightbox overrides */
.lb-data .lb-caption { font-size: 1rem; font-weight: 600; }
.lb-data .lb-number { color: var(--tc-brand-primary); }

/* --- Social Buttons --- */
.tc-outlet-single__social-links {
    display: inline-flex;
    gap: 10px;
    margin-left: auto;
}
.tc-outlet-single__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.15rem;
    transition: background var(--tc-transition-fast), transform var(--tc-transition-fast);
    backdrop-filter: blur(10px);
}
.tc-outlet-single__social-icon:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}
.tc-outlet-single__social-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.tc-social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--tc-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
    transition: transform var(--tc-transition-fast), box-shadow var(--tc-transition-fast);
}
.tc-social-btn:hover { transform: translateY(-2px); color: white; }
.tc-social-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}
.tc-social-btn--instagram:hover { box-shadow: 0 4px 12px rgba(188, 24, 136, 0.4); }
.tc-social-btn--facebook { background: #1877f2; }
.tc-social-btn--facebook:hover { background: #0c63d4; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); }

@media (max-width: 768px) {
    .tc-outlet-single__gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ==========================================================================
   TRIP PLANNER
   ========================================================================== */

.tc-planner { padding-top: var(--tc-space-8); }
.tc-planner__header { text-align: center; margin-bottom: var(--tc-space-8); }
.tc-planner__header h1 { font-family: var(--tc-font-display); margin-bottom: var(--tc-space-3); }

.tc-trip-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-4);
    align-items: center;
    justify-content: space-between;
    padding: var(--tc-space-6) var(--tc-space-8);
    background: var(--tc-brand-charcoal);
    border-radius: var(--tc-radius-xl);
    color: white;
    margin-bottom: var(--tc-space-8);
}

.tc-trip-stats__items { display: flex; gap: var(--tc-space-8); flex-wrap: wrap; }
.tc-trip-stat { display: flex; flex-direction: column; gap: var(--tc-space-1); }

.tc-trip-stat__label {
    font-size: var(--tc-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tc-brand-accent);
}

.tc-trip-stat__value {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    font-weight: 800;
}

.tc-trip-stats__actions { display: flex; flex-wrap: wrap; gap: var(--tc-space-2); }

.tc-trip-map {
    position: relative;
    height: 500px;
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
    margin-bottom: var(--tc-space-8);
    box-shadow: var(--tc-shadow-md);
}

.tc-trip-map .leaflet-container { width: 100%; height: 100%; }

/* Browse All toggle button (floats top-right of map) */
.tc-trip-map__controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 401;
}
.tc-browse-toggle {
    background: var(--tc-bg-primary) !important;
    border-color: var(--tc-border-default) !important;
    color: var(--tc-text-primary) !important;
    box-shadow: var(--tc-shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--tc-text-xs) !important;
    padding: 8px 14px !important;
}
.tc-browse-toggle:hover {
    border-color: var(--tc-brand-primary) !important;
    color: var(--tc-brand-primary) !important;
}
.tc-browse-toggle.is-active {
    background: var(--tc-brand-primary) !important;
    border-color: var(--tc-brand-primary) !important;
    color: var(--tc-brand-charcoal) !important;
}

/* Browse-all venue popup */
.tc-browse-popup-wrap .leaflet-popup-content-wrapper {
    border-radius: var(--tc-radius-md);
    box-shadow: var(--tc-shadow-lg);
}
.tc-browse-popup {
    padding: 10px 12px;
    min-width: 200px;
}
.tc-browse-popup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}
.tc-browse-popup__header strong {
    font-size: var(--tc-text-sm);
    font-weight: 700;
    line-height: 1.3;
    color: var(--tc-text-primary);
    flex: 1;
}
.tc-browse-popup__heart {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--tc-border-default);
    border-radius: 50%;
    background: var(--tc-bg-secondary);
    color: var(--tc-text-tertiary);
    cursor: pointer;
    transition: all 150ms ease;
}
.tc-browse-popup__heart:hover {
    border-color: var(--tc-brand-primary);
    color: var(--tc-brand-primary);
    transform: scale(1.1);
}
.tc-browse-popup__heart.is-saved {
    background: rgba(212,160,23,0.12);
    border-color: var(--tc-brand-primary);
    color: var(--tc-brand-primary);
}
.tc-browse-popup__cat {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tc-text-tertiary);
    display: block;
    margin-bottom: 2px;
}
.tc-browse-popup__rating,
.tc-browse-popup__price {
    font-size: var(--tc-text-xs);
    color: var(--tc-text-secondary);
    margin-right: 8px;
}
.tc-browse-popup__rating svg { vertical-align: -1px; }

/* Saved Venues */
.tc-saved-venues__title { font-size: var(--tc-text-2xl); margin-bottom: var(--tc-space-6); }
.tc-saved-list { display: flex; flex-direction: column; gap: var(--tc-space-4); }

.tc-saved-card {
    display: grid;
    grid-template-columns: 48px 140px 1fr auto;
    gap: var(--tc-space-4);
    align-items: center;
    padding: var(--tc-space-4);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    transition: all var(--tc-transition-fast);
    cursor: grab;
}

.tc-saved-card:hover { border-color: var(--tc-brand-primary); box-shadow: var(--tc-shadow-md); }

.tc-saved-card__number {
    width: 48px;
    height: 48px;
    background: var(--tc-brand-charcoal);
    color: var(--tc-brand-accent);
    border-radius: var(--tc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    font-weight: 800;
    flex-shrink: 0;
}

.tc-saved-card__image {
    width: 140px;
    height: 90px;
    border-radius: var(--tc-radius-md);
    overflow: hidden;
    background: var(--tc-bg-tertiary);
    flex-shrink: 0;
}

.tc-saved-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tc-saved-card__info h3 { font-size: var(--tc-text-base); margin-bottom: var(--tc-space-1); }
.tc-saved-card__info p { font-size: var(--tc-text-sm); color: var(--tc-text-secondary); }

.tc-saved-card__remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-md);
    color: var(--tc-text-tertiary);
    transition: all var(--tc-transition-fast);
    flex-shrink: 0;
}

.tc-saved-card__remove:hover { background: rgba(192, 57, 43, 0.1); color: var(--tc-error); }
.tc-saved-card__remove svg { width: 18px; height: 18px; }

/* Empty state */
.tc-empty-state {
    text-align: center;
    padding: var(--tc-space-16) var(--tc-space-8);
    background: var(--tc-bg-secondary);
    border-radius: var(--tc-radius-xl);
    border: 2px dashed var(--tc-border-default);
}

.tc-empty-state__icon { font-size: 3rem; margin-bottom: var(--tc-space-4); }
.tc-empty-state__title { font-size: var(--tc-text-xl); margin-bottom: var(--tc-space-2); }
.tc-empty-state__text { color: var(--tc-text-secondary); margin-bottom: var(--tc-space-6); margin-inline: auto; }

/* Floating trip */
.tc-floating-trip {
    position: fixed;
    bottom: var(--tc-space-8);
    right: var(--tc-space-8);
    z-index: var(--tc-z-overlay);
    display: none;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4) var(--tc-space-6);
    background: var(--tc-brand-charcoal);
    color: var(--tc-brand-accent);
    font-weight: 700;
    font-size: var(--tc-text-sm);
    border-radius: var(--tc-radius-full);
    box-shadow: 0 8px 24px rgba(45, 45, 45, 0.4);
    transition: all var(--tc-transition-base);
    text-decoration: none;
}

.tc-floating-trip.is-visible { display: flex; animation: tcSlideUp 0.4s var(--tc-ease-out); }
.tc-floating-trip:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(45, 45, 45, 0.5); }

.tc-floating-trip__count {
    width: 24px;
    height: 24px;
    background: rgba(212, 160, 23, 0.25);
    border-radius: var(--tc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--tc-text-xs);
}

@media (max-width: 640px) {
    .tc-floating-trip { left: var(--tc-space-4); right: var(--tc-space-4); bottom: var(--tc-space-4); justify-content: center; }
}

/* ==========================================================================
   AUTH MODAL
   ========================================================================== */

.tc-auth-modal {
    position: fixed;
    inset: 0;
    z-index: var(--tc-z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--tc-transition-base);
}

.tc-auth-modal.is-open { opacity: 1; pointer-events: auto; }
.tc-auth-modal__backdrop { position: absolute; inset: 0; background: var(--tc-bg-overlay); }

.tc-auth-modal__panel {
    position: relative;
    width: min(440px, 92vw);
    background: var(--tc-bg-primary);
    border-radius: var(--tc-radius-2xl);
    padding: var(--tc-space-10);
    box-shadow: var(--tc-shadow-xl);
    transform: translateY(20px) scale(0.97);
    transition: transform var(--tc-transition-base);
}

.tc-auth-modal.is-open .tc-auth-modal__panel { transform: translateY(0) scale(1); }

.tc-auth-modal__close {
    position: absolute;
    top: var(--tc-space-4);
    right: var(--tc-space-4);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-full);
    color: var(--tc-text-tertiary);
    transition: all var(--tc-transition-fast);
}

.tc-auth-modal__close:hover { background: var(--tc-bg-tertiary); color: var(--tc-text-primary); }

.tc-auth-form__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    text-align: center;
    margin-bottom: var(--tc-space-8);
}

.tc-auth-form__group { margin-bottom: var(--tc-space-4); }

.tc-auth-form__label {
    display: block;
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-2);
}

.tc-auth-form__input {
    width: 100%;
    padding: var(--tc-space-3) var(--tc-space-4);
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-md);
    font: inherit;
    color: var(--tc-text-primary);
    transition: all var(--tc-transition-fast);
}

.tc-auth-form__input:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.tc-auth-form__submit { width: 100%; margin-top: var(--tc-space-4); }

.tc-auth-form__divider {
    display: flex;
    align-items: center;
    gap: var(--tc-space-4);
    margin: var(--tc-space-6) 0;
    color: var(--tc-text-tertiary);
    font-size: var(--tc-text-sm);
}

.tc-auth-form__divider::before,
.tc-auth-form__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--tc-border-default);
}

.tc-auth-form__toggle {
    text-align: center;
    margin-top: var(--tc-space-6);
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
}

.tc-auth-form__toggle a { color: var(--tc-brand-primary); font-weight: 600; }

/* ==========================================================================
   TOAST
   ========================================================================== */

.tc-toast {
    position: fixed;
    top: var(--tc-space-6);
    right: var(--tc-space-6);
    z-index: var(--tc-z-toast);
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4) var(--tc-space-5);
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    box-shadow: var(--tc-shadow-xl);
    min-width: 300px;
    animation: tcSlideInRight 0.35s var(--tc-ease-out);
}

.tc-toast--success { border-left: 4px solid var(--tc-success); }
.tc-toast--info { border-left: 4px solid var(--tc-info); }
.tc-toast--error { border-left: 4px solid var(--tc-error); }

.tc-toast__message { flex: 1; font-weight: 600; font-size: var(--tc-text-sm); color: var(--tc-text-primary); }

/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */

.tc-theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tc-radius-full);
    color: var(--tc-text-secondary);
    transition: all var(--tc-transition-fast);
}

.tc-theme-toggle:hover { color: var(--tc-text-primary); background: var(--tc-bg-tertiary); }
.tc-theme-toggle svg { width: 20px; height: 20px; }
.tc-theme-toggle__sun { display: block; }
.tc-theme-toggle__moon { display: none; }
[data-theme="dark"] .tc-theme-toggle__sun { display: none; }
[data-theme="dark"] .tc-theme-toggle__moon { display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.tc-footer {
    background: var(--tc-brand-charcoal);
    color: var(--tc-neutral-400);
    padding: var(--tc-space-16) 0 var(--tc-space-8);
}

.tc-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
    gap: var(--tc-space-12);
    margin-bottom: var(--tc-space-12);
}

@media (max-width: 1024px) { .tc-footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 768px) { .tc-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--tc-space-8); } }
@media (max-width: 480px) { .tc-footer__grid { grid-template-columns: 1fr; } }

.tc-footer__brand-desc { font-size: var(--tc-text-sm); line-height: 1.7; margin-top: var(--tc-space-4); max-width: 36ch; }

.tc-footer__heading {
    font-size: var(--tc-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tc-brand-accent);
    margin-bottom: var(--tc-space-5);
}

.tc-footer__links { display: flex; flex-direction: column; gap: var(--tc-space-3); }
.tc-footer__link { font-size: var(--tc-text-sm); color: var(--tc-neutral-400); transition: color var(--tc-transition-fast); }
.tc-footer__link:hover { color: white; }

/* Footer Social Icons */
.tc-footer__social {
    display: flex;
    gap: var(--tc-space-3);
    margin-top: var(--tc-space-6);
}

.tc-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: var(--tc-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--tc-neutral-400);
    transition: color var(--tc-transition-fast), border-color var(--tc-transition-fast), background var(--tc-transition-fast);
    text-decoration: none;
}

.tc-footer__social-link:hover {
    color: var(--tc-brand-accent);
    border-color: var(--tc-brand-accent);
    background: rgba(212, 160, 23, 0.08);
}

.tc-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-3);
    padding-top: var(--tc-space-8);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: var(--tc-text-xs);
    width: 100%;
    max-width: 100%;
    grid-column: 1 / -1;
}
.tc-footer__acknowledgement {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: var(--tc-text-sm);
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    font-style: normal;
    text-align: center;
}
.tc-footer__bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--tc-space-3);
    width: 100%;
}

/* ==========================================================================
   OUTLET DESCRIPTION (single-ttp_outlet.php entry-content)
   ========================================================================== */

.entry-content {
    color: var(--tc-text-primary);
    line-height: 1.8;
    font-size: var(--tc-text-base);
}

.entry-content p {
    margin-top: 0;
    margin-bottom: 1.25em;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    font-weight: 700;
    line-height: 1.3;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.25em 1.5em;
}

.entry-content li { margin-bottom: 0.4em; }

.entry-content a {
    color: var(--tc-brand-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   ADMIN STYLES
   ========================================================================== */

.tc-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.tc-admin-stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--tc-brand-primary, #D4A017);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tc-admin-stat-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 8px;
}

.tc-admin-stat-card .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--tc-brand-primary, #D4A017);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes tcSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes tcSlideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes tcFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tcPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes tcSpin { to { transform: rotate(360deg); } }

.tc-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--tc-ease-out), transform 0.6s var(--tc-ease-out);
}

.tc-reveal.is-visible { opacity: 1; transform: translateY(0); }

.tc-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--tc-border-default);
    border-top-color: var(--tc-brand-primary);
    border-radius: var(--tc-radius-full);
    animation: tcSpin 0.6s linear infinite;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .tc-saved-card {
        grid-template-columns: 1fr;
        gap: var(--tc-space-3);
        position: relative;
        padding-left: var(--tc-space-20);
    }
    .tc-saved-card__number {
        position: absolute; left: var(--tc-space-4); top: 50%; transform: translateY(-50%);
        width: 36px; height: 36px; font-size: var(--tc-text-base);
    }
    .tc-saved-card__image { width: 100%; height: 120px; }
    .tc-saved-card__remove { position: absolute; top: var(--tc-space-3); right: var(--tc-space-3); }
    .tc-trip-stats { flex-direction: column; text-align: center; }
    .tc-trip-stats__items { justify-content: center; }
    .tc-trip-stats__actions { width: 100%; justify-content: center; }
}

/* Leaflet overrides */
/* ── Leaflet base overrides ─────────────────────────────────────────────── */
.leaflet-popup-content-wrapper {
    border-radius: var(--tc-radius-lg) !important;
    box-shadow: var(--tc-shadow-lg) !important;
    background: #fff !important;
    color: #1a1a1a !important;
    padding: 0 !important;
    overflow: hidden;
}
.leaflet-popup-content { margin: 0 !important; font-family: var(--tc-font-body) !important; }
.leaflet-popup-tip { background: #fff !important; }

/* Legacy simple popup (trip-planner numbered markers keep this) */
.tc-map-popup h3 { font-size: var(--tc-text-base); margin-bottom: var(--tc-space-1); color: #1a1a1a !important; padding: var(--tc-space-3) var(--tc-space-4) 0; }
.tc-map-popup p  { font-size: var(--tc-text-sm); color: #555 !important; margin-bottom: var(--tc-space-2); padding: 0 var(--tc-space-4); }
.tc-map-popup a  { color: #fff !important; margin: var(--tc-space-2) var(--tc-space-4) var(--tc-space-3); display: inline-block; }

/* ── Explore map marker ─────────────────────────────────────────────────── */
.tc-emap-marker { background: transparent !important; border: none !important; }

.tc-emap-marker__pin {
    position: relative;
    width: 38px;
    height: 44px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
    border: 2.5px solid rgba(255,255,255,0.9);
    transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.18s ease;
    cursor: pointer;
}
.tc-emap-marker__pin:hover {
    transform: rotate(-45deg) scale(1.18);
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
/* Un-rotate the icons inside so they stay upright */
.tc-emap-marker__fork {
    transform: rotate(45deg);
    flex-shrink: 0;
}
/* Heart badge — bottom-right corner of the pin */
.tc-emap-marker__heart {
    position: absolute;
    bottom: -3px;
    right: -3px;
    transform: rotate(45deg);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    border: 1.5px solid rgba(0,0,0,0.06);
    transition: background 0.18s;
}
.tc-emap-marker__heart.is-saved {
    background: #fff3cd;
}
.tc-emap-marker__heart svg { flex-shrink: 0; }

/* ── Explore map popup ──────────────────────────────────────────────────── */
.tc-emap-popup-wrap .leaflet-popup-content-wrapper {
    width: 250px;
    border-radius: var(--tc-radius-xl) !important;
    overflow: hidden;
}
.tc-emap-popup-wrap .leaflet-popup-tip-container { display: block; }
.tc-emap-popup-wrap .leaflet-popup-tip          { background: #fff !important; }

/* Remove default Leaflet close button — we navigate on click */
.tc-emap-popup-wrap .leaflet-popup-close-button { display: none !important; }

.tc-emap-popup { font-family: var(--tc-font-body); color: #1a1a1a; font-size: 13px; }

.tc-emap-popup__img-wrap {
    width: 100%;
    height: 130px;
    overflow: hidden;
    background: #e5e7eb;
    flex-shrink: 0;
}
.tc-emap-popup__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.tc-emap-popup:hover .tc-emap-popup__img-wrap img { transform: scale(1.04); }

.tc-emap-popup__body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tc-emap-popup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}
.tc-emap-popup__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.tc-emap-popup__cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-brand-ocean, #0C7C8A);
}
.tc-emap-popup__price,
.tc-emap-popup__rating {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.tc-emap-popup__price::before { content: '·'; margin-right: 3px; color: #bbb; }
.tc-emap-popup__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    margin: 0;
    letter-spacing: -0.01em;
}
.tc-emap-popup__address {
    font-size: 11px;
    color: #777;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 1px 0 4px;
    line-height: 1.4;
    max-width: 100%;
}
.tc-emap-popup__address svg { flex-shrink: 0; margin-top: 2px; }
.tc-emap-popup__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 5px 12px;
    background: var(--tc-brand-primary, #D4A017);
    color: #fff !important;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    align-self: flex-start;
    transition: background 0.18s;
}
.tc-emap-popup__cta:hover { background: #b88a12; }

/* Heart button inside popup */
.tc-emap-popup__heart {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, transform 0.15s;
    margin-top: -2px;
}
.tc-emap-popup__heart:hover {
    border-color: #D4A017;
    background: #fffbeb;
    transform: scale(1.1);
}
.tc-emap-popup__heart.is-saved {
    border-color: #D4A017;
    background: #fef9e7;
}
/* Smooth popup entrance */
.tc-emap-popup-wrap .leaflet-popup-content-wrapper {
    animation: emapPopIn 0.18s ease both;
}
@keyframes emapPopIn {
    from { opacity: 0; transform: translateY(6px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- FILTER LAYOUT ---- */
.tc-filters__primary {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-3);
    align-items: center;
    width: 100%;
}

/* Feature toggle button */
.tc-filters__feature-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-sm); font-weight: 600;
    background: var(--tc-bg-tertiary); color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default); cursor: pointer;
    transition: all var(--tc-transition-fast);
    white-space: nowrap;
}
.tc-filters__feature-toggle:hover {
    background: var(--tc-bg-secondary);
    border-color: var(--tc-brand-primary);
    color: var(--tc-text-primary);
}
.tc-filters__feature-toggle.is-active {
    background: var(--tc-brand-primary);
    color: #fff;
    border-color: var(--tc-brand-primary);
}
.tc-filters__feature-toggle svg:first-child { width: 16px; height: 16px; flex-shrink: 0; }
.tc-filters__chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.tc-filters__feature-toggle.is-active .tc-filters__chevron {
    transform: rotate(180deg);
}

/* Active tags summary strip */
.tc-filters__active-tags {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: var(--tc-space-2) 0;
    align-items: center;
}
.tc-active-tag {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 3px 10px; border-radius: var(--tc-radius-full);
    font-size: 0.75rem; font-weight: 600;
    background: var(--tc-brand-primary); color: #fff;
    line-height: 1.4;
}
.tc-active-tag__remove {
    width: 14px; height: 14px; cursor: pointer; opacity: 0.7;
    background: none; border: none; color: inherit; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.tc-active-tag__remove:hover { opacity: 1; }
.tc-filters__active-count {
    font-size: 0.75rem;
    color: var(--tc-text-tertiary);
    font-weight: 600;
    margin-left: 4px;
}

/* ---- FEATURE PANEL (collapsible) ---- */
.tc-feature-panel {
    display: none;
    width: 100%;
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    animation: tc-slideDown 0.25s ease;
}
.tc-feature-panel.is-open {
    display: block;
}
@keyframes tc-slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.tc-feature-panel__inner {
    padding: var(--tc-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-4);
}

/* ---- TAG GROUPS (inside feature panel) ---- */
.tc-tag-group {
    display: flex;
    align-items: flex-start;
    gap: var(--tc-space-3);
}

.tc-tag-group__label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tc-text-tertiary);
    white-space: nowrap;
    min-width: 120px;
    padding-top: 7px;
    flex-shrink: 0;
}
.tc-tag-group__emoji { font-size: 14px; line-height: 1; }

.tc-tag-group__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tc-tag-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 12px; border-radius: var(--tc-radius-full);
    font-size: 0.8rem; font-weight: 500;
    background: var(--tc-bg-primary); color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default); cursor: pointer;
    transition: all var(--tc-transition-fast); user-select: none;
    line-height: 1.3;
}
.tc-tag-pill:hover {
    background: var(--tc-bg-secondary);
    border-color: var(--tc-brand-primary);
    color: var(--tc-text-primary);
}
.tc-tag-pill.is-active {
    background: var(--tc-brand-primary); color: #fff;
    border-color: var(--tc-brand-primary);
}
.tc-tag-pill.is-active .tc-tag-pill__count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.tc-tag-pill__count {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: var(--tc-radius-full);
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-tertiary);
    min-width: 18px;
    text-align: center;
}
.tc-tag-pill svg { width: 14px; height: 14px; }

/* ---- GROUP-SPECIFIC PILL COLOURS ---- */
.tc-tag-pill[data-group="accessibility"]:hover,
.tc-tag-pill[data-group="accessibility"].is-active { background: #3B82F6; border-color: #3B82F6; }
.tc-tag-pill[data-group="dietary"]:hover,
.tc-tag-pill[data-group="dietary"].is-active { background: #10B981; border-color: #10B981; }
.tc-tag-pill[data-group="sustainability"]:hover,
.tc-tag-pill[data-group="sustainability"].is-active { background: #22C55E; border-color: #22C55E; }
.tc-tag-pill[data-group="experience"]:hover,
.tc-tag-pill[data-group="experience"].is-active { background: #F59E0B; border-color: #F59E0B; color: #1C1917; }
.tc-tag-pill[data-group="amenities"]:hover,
.tc-tag-pill[data-group="amenities"].is-active { background: #8B5CF6; border-color: #8B5CF6; }
.tc-tag-pill[data-group="vibe"]:hover,
.tc-tag-pill[data-group="vibe"].is-active { background: #0EA5E9; border-color: #0EA5E9; }
.tc-tag-pill[data-group="cuisine"]:hover,
.tc-tag-pill[data-group="cuisine"].is-active { background: #E11D48; border-color: #E11D48; }

/* Group label tints */
.tc-tag-group[data-group="accessibility"] .tc-tag-group__label { color: #3B82F6; }
.tc-tag-group[data-group="dietary"] .tc-tag-group__label { color: #059669; }
.tc-tag-group[data-group="amenities"] .tc-tag-group__label { color: #7C3AED; }
.tc-tag-group[data-group="experience"] .tc-tag-group__label { color: #D97706; }
.tc-tag-group[data-group="sustainability"] .tc-tag-group__label { color: #16A34A; }
.tc-tag-group[data-group="vibe"] .tc-tag-group__label { color: #0284C7; }
.tc-tag-group[data-group="cuisine"] .tc-tag-group__label { color: #BE123C; }

/* Active tag strip group colours */
.tc-active-tag[data-group="accessibility"] { background: #3B82F6; }
.tc-active-tag[data-group="dietary"] { background: #10B981; }
.tc-active-tag[data-group="amenities"] { background: #8B5CF6; }
.tc-active-tag[data-group="experience"] { background: #F59E0B; color: #1C1917; }
.tc-active-tag[data-group="sustainability"] { background: #22C55E; }
.tc-active-tag[data-group="vibe"] { background: #0EA5E9; }
.tc-active-tag[data-group="other"] { background: #6B7280; }
.tc-active-tag[data-group="cuisine"] { background: #E11D48; }

/* ---- MOBILE FEATURE PANEL ---- */
@media (max-width: 768px) {
    .tc-filters__primary {
        gap: var(--tc-space-2);
    }
    .tc-filters__feature-toggle span {
        display: none;
    }
    .tc-filters__feature-toggle {
        padding: 9px 12px;
    }
    .tc-feature-panel__inner {
        padding: var(--tc-space-3);
        gap: var(--tc-space-3);
    }
    .tc-tag-group {
        flex-direction: column;
        gap: var(--tc-space-2);
    }
    .tc-tag-group__label {
        min-width: auto;
        padding-top: 0;
        cursor: pointer;
    }
    .tc-tag-group__label::after {
        content: '';
        display: inline-block;
        width: 5px; height: 5px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        margin-left: 4px;
        transition: transform 0.15s ease;
    }
    .tc-tag-group.is-collapsed .tc-tag-group__label::after {
        transform: rotate(-45deg);
    }
    .tc-tag-group.is-collapsed .tc-tag-group__pills {
        display: none;
    }
    .tc-tag-pill { font-size: 0.75rem; padding: 4px 10px; }
}

/* Explore: View toggle */
.tc-view-toggle { display: flex; gap: 4px; background: var(--tc-bg-tertiary); border-radius: var(--tc-radius-md); padding: 3px; }
.tc-view-toggle__btn {
    padding: 6px 12px; border-radius: var(--tc-radius-sm);
    font-size: var(--tc-text-sm); font-weight: 600;
    color: var(--tc-text-secondary); background: transparent;
    transition: all var(--tc-transition-fast);
}
.tc-view-toggle__btn.is-active { background: var(--tc-bg-primary); color: var(--tc-text-primary); box-shadow: var(--tc-shadow-sm); }
.tc-view-toggle__btn svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* Explore: Grid (full-width) view */
/* Grid view — desktop/tablet only */
@media (min-width: 641px) {
    .tc-explore__layout--grid { display: grid !important; grid-template-columns: 1fr !important; }
    .tc-explore__layout--grid .tc-map-container { display: none; }
    .tc-explore__layout--grid .tc-outlet-grid {
        max-height: none; overflow: visible;
        display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--tc-space-5);
    }
    .tc-explore__layout--grid .tc-card--horizontal {
        grid-template-columns: 1fr;
    }
    .tc-explore__layout--grid .tc-card--horizontal .tc-card__image {
        width: 100%; height: 180px; aspect-ratio: 16 / 10; max-height: none;
        border-radius: 0; margin: 0;
    }
    .tc-explore__layout--grid .tc-card { border-radius: var(--tc-radius-lg); border: 1px solid var(--tc-border-default); }
    .tc-explore__layout--grid .tc-card__body { padding: var(--tc-space-4); }
    .tc-explore__layout--grid .tc-card__excerpt { display: -webkit-box; }
    .tc-explore__layout--grid .tc-card__actions { display: flex; }
    .tc-explore__layout--grid .tc-card__badge { display: block; }
    .tc-explore__layout--grid .tc-card__tags { display: flex; }
}

/* Phone: hide view toggle (always compact rows) */
@media (max-width: 640px) {
    .tc-view-toggle { display: none; }
}

/* Results count */
.tc-results-count { font-size: var(--tc-text-sm); color: var(--tc-text-secondary); padding: var(--tc-space-2) 0; }

/* ==========================================================================
   PAGE HEROES (shared across contact, guide, privacy)
   ========================================================================== */

.tc-page-hero {
    padding: var(--tc-space-12) 0 var(--tc-space-8);
    text-align: center;
    background: var(--tc-bg-secondary);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-page-hero__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-4xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-3);
    padding: 0 var(--tc-space-2);
}
.tc-page-hero__subtitle {
    font-size: var(--tc-text-lg);
    color: var(--tc-text-secondary);
    max-width: 60ch;
    margin-inline: auto;
    line-height: 1.6;
}

/* ==========================================================================
   DINING CATEGORY DESCRIPTION
   ========================================================================== */

.tc-category-desc { font-size: var(--tc-text-base); line-height: 1.8; color: var(--tc-text-secondary); }
.tc-category-desc h2, .tc-category-desc h3, .tc-category-desc h4, .tc-category-desc h5 {
    font-family: var(--tc-font-display); color: var(--tc-text-primary); margin: var(--tc-space-6) 0 var(--tc-space-3);
}
.tc-category-desc p { margin-bottom: var(--tc-space-4); }
.tc-category-desc a { color: var(--tc-brand-primary); font-weight: 600; }

/* ── Category page header (branded charcoal, matches events/shop/guide) ─── */
.tc-page-header--category {
    background: var(--tc-brand-charcoal);
    color: white;
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
    position: relative;
    overflow-x: hidden;
}
.tc-page-header--category::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.tc-page-header--category .tc-container { position: relative; z-index: 1; }

/* ── Category breadcrumb nav ──────────────────────────────────────────── */
.tc-category-nav {
    background: var(--tc-bg-secondary);
    border-bottom: 1px solid var(--tc-border-default);
    padding: var(--tc-space-3) 0;
}
.tc-category-nav__back {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-brand-primary);
    transition: color var(--tc-transition-fast);
}
.tc-category-nav__back:hover { color: var(--tc-brand-primary-dark); }
.tc-category-nav__back svg { flex-shrink: 0; }

/* ── Category venue card grid ─────────────────────────────────────────── */
.tc-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--tc-space-6);
}
@media (max-width: 640px) {
    .tc-category-grid { grid-template-columns: 1fr; }
    .tc-page-header--category { padding-block: 2.5rem 2rem; }
}

/* ==========================================================================
   DINING CATEGORIES INDEX PAGE (page-template-categories.php)
   ========================================================================== */

.tc-catindex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--tc-space-6);
}

.tc-catindex-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    box-shadow: var(--tc-shadow-sm);
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
    text-decoration: none;
    color: inherit;
}
.tc-catindex-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tc-shadow-lg);
}

.tc-catindex-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--tc-bg-tertiary);
}
.tc-catindex-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tc-transition-slow);
}
.tc-catindex-card:hover .tc-catindex-card__image img {
    transform: scale(1.06);
}
.tc-catindex-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
    pointer-events: none;
}
.tc-catindex-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-text-tertiary);
}

.tc-catindex-card__body {
    padding: var(--tc-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-1);
    flex: 1;
}
.tc-catindex-card__name {
    font-family: var(--tc-font-heading);
    font-size: var(--tc-text-xl);
    font-weight: 700;
    line-height: 1.3;
    color: var(--tc-text-primary);
    margin: 0;
}
.tc-catindex-card__count {
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-brand-primary);
}
.tc-catindex-card__desc {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.5;
    margin: var(--tc-space-1) 0 0;
}
.tc-catindex-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    font-size: var(--tc-text-sm);
    font-weight: 700;
    color: var(--tc-brand-primary);
    margin-top: auto;
    padding-top: var(--tc-space-3);
    transition: gap var(--tc-transition-fast);
}
.tc-catindex-card:hover .tc-catindex-card__link {
    gap: var(--tc-space-3);
}

@media (max-width: 640px) {
    .tc-catindex-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.tc-contact__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--tc-space-10);
    align-items: start;
}
@media (max-width: 900px) {
    .tc-contact__grid { grid-template-columns: 1fr; gap: var(--tc-space-6); }
}

.tc-contact__heading {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    margin-bottom: var(--tc-space-6);
}

/* Form */
.tc-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tc-space-4);
}
@media (max-width: 600px) {
    .tc-contact-form__row { grid-template-columns: 1fr; }
}
.tc-contact-form__field {
    margin-bottom: var(--tc-space-4);
}
.tc-contact-form__field label {
    display: block;
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-1);
}
.tc-contact-form__field label .required { color: var(--tc-error); }

.tc-contact-form__field input,
.tc-contact-form__field select,
.tc-contact-form__field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-md);
    font-size: var(--tc-text-base);
    font-family: var(--tc-font-body);
    background: var(--tc-bg-primary);
    color: var(--tc-text-primary);
    transition: border-color var(--tc-transition-fast), box-shadow var(--tc-transition-fast);
}
.tc-contact-form__field input:focus,
.tc-contact-form__field select:focus,
.tc-contact-form__field textarea:focus {
    outline: none;
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}
.tc-contact-form__field textarea { resize: vertical; min-height: 120px; }

/* Honeypot — offscreen */
.tc-contact-form__hp {
    position: absolute; left: -9999px; top: -9999px;
    width: 1px; height: 1px; overflow: hidden;
    opacity: 0; pointer-events: none;
}

.tc-contact-form__actions {
    margin-top: var(--tc-space-4);
}
.tc-contact-form__actions .tc-btn {
    display: inline-flex; align-items: center; gap: 8px;
}

.tc-contact-form__status { margin-top: var(--tc-space-4); }
.tc-contact-form__success {
    padding: 12px 16px;
    border-radius: var(--tc-radius-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10B981;
    color: #059669;
    font-weight: 600;
    font-size: var(--tc-text-sm);
}
[data-theme="dark"] .tc-contact-form__success { color: #6EE7B7; }

.tc-contact-form__error {
    padding: 12px 16px;
    border-radius: var(--tc-radius-md);
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--tc-error);
    color: var(--tc-error);
    font-weight: 600;
    font-size: var(--tc-text-sm);
}

/* Loading spinner — small variant for inline buttons */
.tc-spinner--sm {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tcSpin 0.6s linear infinite;
}

/* Info sidebar */
.tc-contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-4);
}
.tc-contact__info-card {
    padding: var(--tc-space-5);
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
}
.tc-contact__info-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212, 160, 23, 0.1);
    color: var(--tc-brand-primary);
    border-radius: var(--tc-radius-md);
    margin-bottom: var(--tc-space-3);
}
.tc-contact__info-card h3 {
    font-size: var(--tc-text-base);
    font-weight: 700;
    margin-bottom: var(--tc-space-1);
}
.tc-contact__info-card p {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
}
.tc-contact__info-card a { color: var(--tc-brand-primary); }
.tc-contact__info-card a:hover { text-decoration: underline; }

/* ==========================================================================
   GUIDE PAGE
   ========================================================================== */

.tc-guide__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--tc-space-8);
    padding-bottom: var(--tc-space-4);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-guide__filter-pill {
    padding: 6px 16px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-secondary);
    background: var(--tc-bg-tertiary);
    border: 1px solid var(--tc-border-default);
    transition: all var(--tc-transition-fast);
    text-decoration: none;
}
.tc-guide__filter-pill:hover {
    border-color: var(--tc-brand-primary);
    color: var(--tc-text-primary);
}
.tc-guide__filter-pill.is-active {
    background: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
    border-color: var(--tc-brand-primary);
}

/* Category label */
.tc-guide__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-2);
}

/* Featured post */
.tc-guide__featured {
    margin-bottom: var(--tc-space-8);
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
    background: var(--tc-bg-elevated);
}
.tc-guide__featured-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-decoration: none;
    color: inherit;
}
@media (max-width: 768px) {
    .tc-guide__featured-link { grid-template-columns: 1fr; }
}
.tc-guide__featured-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.tc-guide__featured-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tc-guide__featured:hover .tc-guide__featured-image img {
    transform: scale(1.04);
}
.tc-guide__featured-content {
    padding: var(--tc-space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tc-guide__featured-title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-3);
    line-height: 1.3;
}
.tc-guide__featured-excerpt {
    font-size: var(--tc-text-base);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--tc-space-4);
}

.tc-guide__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--tc-text-xs);
    color: var(--tc-text-tertiary);
    font-weight: 500;
}

/* Post grid */
.tc-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--tc-space-6);
    margin-bottom: var(--tc-space-8);
}
@media (max-width: 480px) {
    .tc-guide__grid { grid-template-columns: 1fr; }
}

.tc-guide__card {
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tc-border-default);
    background: var(--tc-bg-elevated);
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-guide__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tc-shadow-lg);
}

.tc-guide__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.tc-guide__card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tc-bg-tertiary);
}
.tc-guide__card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tc-guide__card:hover .tc-guide__card-image img {
    transform: scale(1.04);
}
.tc-guide__card-image--placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--tc-text-tertiary);
}

.tc-guide__card-body {
    padding: var(--tc-space-5);
}
.tc-guide__card-title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-lg);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-2);
    line-height: 1.3;
}
.tc-guide__card-excerpt {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--tc-space-3);
}

/* Pagination */
.tc-guide__pagination {
    display: flex;
    justify-content: center;
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
}
.tc-guide__pagination .page-numbers {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 4px; flex-wrap: wrap; justify-content: center;
}
.tc-guide__pagination .page-numbers li { display: inline; }
.tc-guide__pagination .page-numbers a,
.tc-guide__pagination .page-numbers span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    border-radius: var(--tc-radius-md);
    font-size: var(--tc-text-sm); font-weight: 600;
    color: var(--tc-text-secondary);
    border: 1px solid var(--tc-border-default);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
}
.tc-guide__pagination .page-numbers a:hover {
    border-color: var(--tc-brand-primary);
    color: var(--tc-text-primary);
}
.tc-guide__pagination .page-numbers .current {
    background: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
    border-color: var(--tc-brand-primary);
}

/* ==========================================================================
   PRIVACY / LEGAL PAGE
   ========================================================================== */

.tc-legal__layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--tc-space-10);
    align-items: start;
}
@media (max-width: 900px) {
    .tc-legal__layout { grid-template-columns: 1fr; gap: var(--tc-space-4); }
}

/* Sidebar nav */
.tc-legal__nav {
    position: sticky;
    top: calc(var(--tc-header-height, 64px) + var(--tc-space-4));
}
.tc-legal__nav-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-text-tertiary);
    margin-bottom: var(--tc-space-3);
}
.tc-legal__nav-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tc-legal__nav-list a {
    display: block;
    padding: 6px 12px;
    font-size: var(--tc-text-sm);
    font-weight: 500;
    color: var(--tc-text-secondary);
    border-radius: var(--tc-radius-sm);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
    border-left: 2px solid transparent;
}
.tc-legal__nav-list a:hover {
    color: var(--tc-text-primary);
    background: var(--tc-bg-secondary);
    border-left-color: var(--tc-brand-primary);
}
@media (max-width: 900px) {
    .tc-legal__nav {
        position: static;
        padding: var(--tc-space-4);
        background: var(--tc-bg-secondary);
        border-radius: var(--tc-radius-lg);
        border: 1px solid var(--tc-border-default);
    }
    .tc-legal__nav-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .tc-legal__nav-list a {
        padding: 5px 12px;
        font-size: var(--tc-text-xs);
        border-left: none;
        background: var(--tc-bg-primary);
        border: 1px solid var(--tc-border-default);
        border-radius: var(--tc-radius-full);
    }
}

/* Content */
.tc-legal__content {
    max-width: 72ch;
    line-height: 1.7;
}
.tc-legal__updated {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
    margin-bottom: var(--tc-space-8);
    padding-bottom: var(--tc-space-4);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-legal__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    color: var(--tc-text-primary);
    margin-top: var(--tc-space-10);
    margin-bottom: var(--tc-space-4);
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
    scroll-margin-top: calc(var(--tc-header-height, 64px) + var(--tc-space-4));
}
.tc-legal__content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.tc-legal__content h3 {
    font-size: var(--tc-text-lg);
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-top: var(--tc-space-6);
    margin-bottom: var(--tc-space-2);
}
.tc-legal__content p {
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-4);
}
.tc-legal__content ul {
    list-style: disc;
    padding-left: var(--tc-space-6);
    margin-bottom: var(--tc-space-4);
    color: var(--tc-text-secondary);
}
.tc-legal__content li {
    margin-bottom: var(--tc-space-2);
    line-height: 1.6;
}
.tc-legal__content a { color: var(--tc-brand-primary); }
.tc-legal__content a:hover { text-decoration: underline; }
.tc-legal__content hr {
    border: none;
    border-top: 2px solid var(--tc-brand-primary);
    margin: var(--tc-space-10) 0;
    opacity: 0.3;
}
.tc-legal__content em { font-style: italic; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

/* ---- Shared overline label ---- */
.tc-about-overline {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-3);
}
.tc-about-overline--center { text-align: center; }
.tc-about-overline--light { color: var(--tc-brand-primary); }

/* ---- HERO ---- */
.tc-about-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1C1917 0%, #2D2D2D 50%, #1a2a3a 100%);
    overflow: hidden;
}
.tc-about-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(212,160,23,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(14,165,233,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.tc-about-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--tc-space-16) var(--tc-gutter);
    max-width: 800px;
    margin: 0 auto;
}
.tc-about-hero__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-5xl);
    color: #fff;
    line-height: 1.2;
    margin-bottom: var(--tc-space-5);
}
.tc-about-hero__subtitle {
    font-size: var(--tc-text-lg);
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: var(--tc-space-8);
    max-width: 60ch;
    margin-inline: auto;
}
.tc-about-hero__actions {
    display: flex;
    gap: var(--tc-space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- OUR STORY ---- */
.tc-about-story__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--tc-space-12);
    align-items: center;
}
@media (max-width: 768px) {
    .tc-about-story__grid {
        grid-template-columns: 1fr;
        gap: var(--tc-space-6);
    }
    .tc-about-story__image { order: -1; }
}
.tc-about-story__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-5);
    line-height: 1.2;
}
.tc-about-story__content p {
    color: var(--tc-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--tc-space-4);
}
.tc-about-story__highlight {
    font-weight: 700;
    color: var(--tc-text-primary) !important;
    font-style: italic;
    border-left: 3px solid var(--tc-brand-primary);
    padding-left: var(--tc-space-4);
    margin-top: var(--tc-space-5);
}

.tc-about-story__image-frame {
    position: relative;
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--tc-bg-tertiary);
}
.tc-about-story__image-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.tc-about-story__image-accent {
    position: absolute;
    bottom: -12px; right: -12px;
    width: 50%; height: 50%;
    border: 3px solid var(--tc-brand-primary);
    border-radius: var(--tc-radius-xl);
    z-index: -1;
    opacity: 0.3;
}
.tc-about-story__image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8ddd0 100%);
}
[data-theme="dark"] .tc-about-story__image-fallback {
    background: linear-gradient(135deg, #2D2D2D 0%, #1a2a3a 100%);
}

/* ---- THREE PILLARS ---- */
.tc-about-pillars {
    background: var(--tc-bg-secondary);
}
.tc-about-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tc-space-6);
    margin-top: var(--tc-space-8);
}
@media (max-width: 768px) {
    .tc-about-pillars__grid { grid-template-columns: 1fr; }
}
.tc-about-pillar {
    background: var(--tc-bg-primary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    padding: var(--tc-space-8);
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-about-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--tc-shadow-lg);
}
.tc-about-pillar__icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,160,23,0.1);
    color: var(--tc-brand-primary);
    border-radius: var(--tc-radius-lg);
    margin-bottom: var(--tc-space-5);
}
.tc-about-pillar h3 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-3);
}
.tc-about-pillar p {
    color: var(--tc-text-secondary);
    line-height: 1.7;
    font-size: var(--tc-text-sm);
}

/* ---- WHY CALOUNDRA (destination sell) ---- */
.tc-about-destination__divider {
    height: 300px;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
        url('assets/images/about-destination.jpg') center/cover no-repeat;
    background-color: #1a2a3a;
}
.tc-about-destination__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--tc-space-12);
    align-items: start;
}
@media (max-width: 768px) {
    .tc-about-destination__grid { grid-template-columns: 1fr; }
    .tc-about-destination__divider { height: 180px; }
}
.tc-about-destination__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-5);
}
.tc-about-destination__content p {
    color: var(--tc-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--tc-space-4);
}

.tc-about-destination__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tc-space-5);
}
.tc-about-stat {
    padding: var(--tc-space-5);
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    text-align: center;
}
.tc-about-stat__number {
    display: block;
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-4xl);
    font-weight: 800;
    color: var(--tc-brand-primary);
    line-height: 1;
    margin-bottom: var(--tc-space-2);
}
.tc-about-stat__number small {
    font-size: 0.5em;
    font-weight: 700;
    vertical-align: baseline;
}
.tc-about-stat__label {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.4;
}

/* ---- HOW IT WORKS (steps) ---- */
.tc-about-steps__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    text-align: center;
    margin-bottom: var(--tc-space-10);
    color: var(--tc-text-primary);
}
.tc-about-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tc-space-6);
    position: relative;
}
/* Connecting line */
.tc-about-steps__grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--tc-border-default);
    z-index: 0;
}
@media (max-width: 768px) {
    .tc-about-steps__grid {
        grid-template-columns: 1fr;
        gap: var(--tc-space-5);
    }
    .tc-about-steps__grid::before {
        top: 0; bottom: 0;
        left: 28px; right: auto;
        width: 2px; height: auto;
    }
}
.tc-about-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .tc-about-step {
        text-align: left;
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        gap: 0 var(--tc-space-4);
    }
    .tc-about-step h3 { align-self: end; }
    .tc-about-step p { grid-column: 2; }
}
.tc-about-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    font-weight: 800;
    margin: 0 auto var(--tc-space-4);
    box-shadow: 0 4px 14px rgba(212,160,23,0.3);
}
@media (max-width: 768px) {
    .tc-about-step__num {
        grid-row: 1 / 3;
        margin: 0;
        align-self: center;
    }
}
.tc-about-step h3 {
    font-size: var(--tc-text-base);
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-2);
}
.tc-about-step p {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
}

/* ---- FOR BUSINESSES ---- */
.tc-about-business {
    background: var(--tc-brand-charcoal);
    color: #fff;
}
.tc-about-business__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--tc-space-10);
    align-items: center;
}
@media (max-width: 768px) {
    .tc-about-business__grid { grid-template-columns: 1fr; }
}
.tc-about-business__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: #fff;
    margin-bottom: var(--tc-space-5);
    line-height: 1.2;
}
.tc-about-business__content p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: var(--tc-space-4);
}
.tc-about-business__highlight {
    font-weight: 700;
    color: #fff !important;
    font-style: italic;
    border-left: 3px solid var(--tc-brand-primary);
    padding-left: var(--tc-space-4);
}
.tc-about-business__actions {
    display: flex;
    gap: var(--tc-space-4);
    flex-wrap: wrap;
    margin-top: var(--tc-space-6);
}
.tc-about-business__features {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-4);
}
.tc-about-business__feature {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-4);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--tc-radius-md);
    font-size: var(--tc-text-sm);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}
.tc-about-business__feature svg {
    flex-shrink: 0;
    color: var(--tc-brand-primary);
}

/* ---- FINAL CTA ---- */
.tc-about-cta {
    background: linear-gradient(135deg, var(--tc-brand-primary) 0%, #c4930f 100%);
    padding: var(--tc-space-16) 0;
}
.tc-about-cta__content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}
.tc-about-cta h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: var(--tc-brand-charcoal);
    margin-bottom: var(--tc-space-3);
}
.tc-about-cta p {
    font-size: var(--tc-text-lg);
    color: rgba(45,45,45,0.75);
    margin-bottom: var(--tc-space-8);
}
.tc-about-cta__actions {
    display: flex;
    gap: var(--tc-space-4);
    justify-content: center;
    flex-wrap: wrap;
}
.tc-about-cta .tc-btn--gold {
    background: var(--tc-brand-charcoal);
    color: #fff;
    border-color: var(--tc-brand-charcoal);
}
.tc-about-cta .tc-btn--gold:hover {
    background: #1C1917;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.tc-about-cta .tc-btn--outline {
    color: var(--tc-brand-charcoal);
    border-color: rgba(45,45,45,0.4);
}
.tc-about-cta .tc-btn--outline:hover {
    background: rgba(45,45,45,0.1);
    border-color: var(--tc-brand-charcoal);
}

/* ==========================================================================
   SINGLE BLOG POST (article)
   ========================================================================== */

.tc-article {
    padding-bottom: var(--tc-space-12);
}

/* Back link */
.tc-article__back {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    color: var(--tc-text-secondary);
    font-weight: 600;
    font-size: var(--tc-text-sm);
    padding: var(--tc-space-6) 0 var(--tc-space-4);
    transition: color var(--tc-transition-fast);
}
.tc-article__back:hover { color: var(--tc-brand-primary); }

/* Hero image */
.tc-article__hero {
    max-width: 960px;
    margin: 0 auto var(--tc-space-8);
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
}
.tc-article__hero-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Content container — controls max-width for readability */
.tc-article__container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--tc-space-5);
}

/* Header */
.tc-article__header {
    margin-bottom: var(--tc-space-8);
    padding-bottom: var(--tc-space-6);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-article__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-3);
    text-decoration: none;
}
.tc-article__category:hover { text-decoration: underline; }

.tc-article__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-4xl);
    line-height: 1.25;
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-4);
}
.tc-article__subtitle {
    font-size: var(--tc-text-lg);
    font-style: italic;
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--tc-space-5);
}

.tc-article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
}
.tc-article__author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--tc-text-secondary);
}
.tc-article__avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.tc-article__sep { color: var(--tc-border-default); }

/* ---- ARTICLE CONTENT TYPOGRAPHY ---- */
.tc-article__content {
    font-size: var(--tc-text-base);
    line-height: 1.8;
    color: var(--tc-text-secondary);
}

/* Paragraph spacing */
.tc-article__content p {
    margin-bottom: 1.5em;
}
.tc-article__content p:last-child { margin-bottom: 0; }

/* Headings */
.tc-article__content h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    color: var(--tc-text-primary);
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.2;
}
.tc-article__content h3 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-2xl);
    color: var(--tc-text-primary);
    margin-top: 1.8em;
    margin-bottom: 0.5em;
    line-height: 1.25;
}
.tc-article__content h4 {
    font-size: var(--tc-text-xl);
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-top: 1.6em;
    margin-bottom: 0.4em;
}

/* Links */
.tc-article__content a {
    color: var(--tc-brand-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.tc-article__content a:hover {
    color: var(--tc-brand-primary-light);
}

/* Lists */
.tc-article__content ul,
.tc-article__content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}
.tc-article__content ul { list-style: disc; }
.tc-article__content ol { list-style: decimal; }
.tc-article__content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

/* Blockquotes */
.tc-article__content blockquote {
    margin: 2em 0;
    padding: var(--tc-space-5) var(--tc-space-6);
    border-left: 4px solid var(--tc-brand-primary);
    background: var(--tc-bg-secondary);
    border-radius: 0 var(--tc-radius-md) var(--tc-radius-md) 0;
    font-style: italic;
    font-size: var(--tc-text-lg);
    color: var(--tc-text-primary);
    line-height: 1.6;
}
.tc-article__content blockquote p { margin-bottom: 0.5em; }
.tc-article__content blockquote p:last-child { margin-bottom: 0; }
.tc-article__content blockquote cite {
    display: block;
    font-style: normal;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
    margin-top: var(--tc-space-2);
}

/* Images */
.tc-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tc-radius-lg);
    margin: 1.5em 0;
}
.tc-article__content figure {
    margin: 2em 0;
}
.tc-article__content figcaption {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
    text-align: center;
    margin-top: var(--tc-space-2);
    font-style: italic;
}

/* Code */
.tc-article__content code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.88em;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-primary);
}
.tc-article__content pre {
    margin: 1.5em 0;
    padding: var(--tc-space-5);
    border-radius: var(--tc-radius-md);
    background: var(--tc-bg-tertiary);
    overflow-x: auto;
    font-size: var(--tc-text-sm);
    line-height: 1.6;
}
.tc-article__content pre code {
    padding: 0;
    background: none;
}

/* Horizontal rule */
.tc-article__content hr {
    border: none;
    border-top: 1px solid var(--tc-border-default);
    margin: 2.5em 0;
}

/* Tables */
.tc-article__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: var(--tc-text-sm);
}
.tc-article__content th,
.tc-article__content td {
    padding: 10px 14px;
    border: 1px solid var(--tc-border-default);
    text-align: left;
}
.tc-article__content th {
    background: var(--tc-bg-tertiary);
    font-weight: 700;
    color: var(--tc-text-primary);
}

/* Emphasis */
.tc-article__content strong { color: var(--tc-text-primary); font-weight: 700; }
.tc-article__content em { font-style: italic; }

/* WP Block overrides — remove block editor's own spacing/layout */
.tc-article__content .wp-block-group,
.tc-article__content .wp-block-columns,
.tc-article__content > * {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ---- POST TAGS ---- */
.tc-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--tc-space-8);
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
}
.tc-article__tag {
    padding: 4px 12px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs);
    font-weight: 600;
    color: var(--tc-text-secondary);
    background: var(--tc-bg-tertiary);
    border: 1px solid var(--tc-border-default);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
}
.tc-article__tag:hover {
    border-color: var(--tc-brand-primary);
    color: var(--tc-brand-primary);
}

/* ---- AUTHOR BIO ---- */
.tc-article__author-bio {
    display: flex;
    gap: var(--tc-space-4);
    margin-top: var(--tc-space-8);
    padding: var(--tc-space-5);
    background: var(--tc-bg-secondary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
}
.tc-article__author-bio-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.tc-article__author-bio strong {
    display: block;
    font-size: var(--tc-text-base);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-1);
}
.tc-article__author-bio p {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ---- POST NAVIGATION ---- */
.tc-article__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tc-space-4);
    margin-top: var(--tc-space-8);
    padding-top: var(--tc-space-6);
    border-top: 1px solid var(--tc-border-default);
}
@media (max-width: 600px) {
    .tc-article__nav { grid-template-columns: 1fr; }
}
.tc-article__nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--tc-space-4);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-md);
    text-decoration: none;
    transition: all var(--tc-transition-fast);
}
.tc-article__nav-link:hover {
    border-color: var(--tc-brand-primary);
    background: var(--tc-bg-secondary);
}
.tc-article__nav-link--next { text-align: right; }
.tc-article__nav-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--tc-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tc-text-tertiary);
}
.tc-article__nav-link--next .tc-article__nav-label { justify-content: flex-end; }

.tc-article__nav-title {
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- RELATED POSTS ---- */
.tc-article__related {
    margin-top: var(--tc-space-10);
    padding-top: var(--tc-space-8);
    border-top: 1px solid var(--tc-border-default);
}
.tc-article__related-title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    margin-bottom: var(--tc-space-5);
}
.tc-article__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--tc-space-4);
}
.tc-article__related-card {
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-article__related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tc-shadow-md);
}
.tc-article__related-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.tc-article__related-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.tc-article__related-body {
    padding: var(--tc-space-3) var(--tc-space-4);
}
.tc-article__related-body h4 {
    font-size: var(--tc-text-sm);
    font-weight: 700;
    color: var(--tc-text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tc-article__related-date {
    font-size: var(--tc-text-xs);
    color: var(--tc-text-tertiary);
}

/* Membership pricing page */
.tc-membership { padding: var(--tc-space-12) 0; }
.tc-membership__header { text-align: center; margin-bottom: var(--tc-space-10); }
.tc-membership__header h1 { margin-bottom: var(--tc-space-3); }
.tc-membership__header p { color: var(--tc-text-secondary); font-size: var(--tc-text-lg); max-width: 55ch; margin-inline: auto; }
.tc-pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--tc-space-6); max-width: 1100px; margin: 0 auto;
}
.tc-pricing-card {
    background: var(--tc-bg-elevated); border: 2px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl); padding: var(--tc-space-8);
    display: flex; flex-direction: column; position: relative;
    transition: transform var(--tc-transition-base), box-shadow var(--tc-transition-base);
}
.tc-pricing-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow-xl); }
.tc-pricing-card--featured {
    border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 1px var(--tc-brand-primary), var(--tc-shadow-lg);
}
.tc-pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--tc-brand-primary); color: #fff;
    padding: 4px 16px; border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.tc-pricing-card__tier {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: var(--tc-text-sm); font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: var(--tc-space-4);
}
.tc-pricing-card__tier-dot { width: 10px; height: 10px; border-radius: 50%; }
.tc-pricing-card__price { font-size: var(--tc-text-5xl); font-weight: 800; font-family: var(--tc-font-heading); line-height: 1; margin-bottom: var(--tc-space-1); }
.tc-pricing-card__price span { font-size: var(--tc-text-lg); font-weight: 400; color: var(--tc-text-secondary); }
.tc-pricing-card__desc { color: var(--tc-text-secondary); font-size: var(--tc-text-sm); margin-bottom: var(--tc-space-6); }
.tc-pricing-card__features { list-style: none; margin-bottom: var(--tc-space-8); flex: 1; }
.tc-pricing-card__features li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0; font-size: var(--tc-text-sm);
    border-bottom: 1px solid var(--tc-border-default);
}
.tc-pricing-card__features li:last-child { border-bottom: none; }
.tc-pricing-card__features li svg { flex-shrink: 0; margin-top: 2px; color: #3D8B37; }
.tc-pricing-card__features li.is-disabled { color: var(--tc-text-tertiary); }
.tc-pricing-card__features li.is-disabled svg { color: var(--tc-text-tertiary); }
.tc-pricing-card__cta {
    display: block; width: 100%; text-align: center;
    padding: 14px; border-radius: var(--tc-radius-full);
    font-weight: 700; font-size: var(--tc-text-base);
    transition: all var(--tc-transition-fast); text-decoration: none;
    cursor: pointer; border: none; font-family: inherit;
}
.tc-pricing-card__cta--primary { background: var(--tc-brand-charcoal); color: var(--tc-brand-accent); }
.tc-pricing-card__cta--primary:hover { background: var(--tc-brand-charcoal-light); }
.tc-pricing-card__cta--featured { background: var(--tc-brand-primary); color: #fff; }
.tc-pricing-card__cta--featured:hover { background: var(--tc-brand-primary-dark); }

/* ==========================================================================
   MEMBERSHIP SIGNUP MODAL
   ========================================================================== */
.tc-signup-modal { display: none; }
.tc-signup-modal.is-open { display: block; }
.tc-signup-modal__backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: var(--tc-z-modal);
}
.tc-signup-modal__panel {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem); max-width: 520px;
    max-height: 90vh; overflow-y: auto;
    background: var(--tc-bg-primary);
    border-radius: var(--tc-radius-xl);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    z-index: calc(var(--tc-z-modal) + 1);
    padding: var(--tc-space-8);
}
@media (max-width: 480px) { .tc-signup-modal__panel { padding: var(--tc-space-5); } }

.tc-signup-modal__close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; cursor: pointer;
    color: var(--tc-text-tertiary); padding: 4px; border-radius: 50%;
    transition: all var(--tc-transition-fast);
}
.tc-signup-modal__close:hover { color: var(--tc-text-primary); background: var(--tc-bg-tertiary); }

.tc-signup-modal__header { text-align: center; margin-bottom: var(--tc-space-6); }
.tc-signup-modal__badge {
    display: inline-block; padding: 4px 14px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #fff; margin-bottom: var(--tc-space-3);
}
.tc-signup-modal__header h2 {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-xl);
    color: var(--tc-text-primary);
    margin-bottom: var(--tc-space-1);
}
.tc-signup-modal__price { font-size: var(--tc-text-sm); color: var(--tc-text-secondary); }

.tc-signup-modal__row {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--tc-space-3);
}
@media (max-width: 480px) { .tc-signup-modal__row { grid-template-columns: 1fr; } }

.tc-signup-modal__field { margin-bottom: var(--tc-space-3); }
.tc-signup-modal__field label {
    display: block; font-size: var(--tc-text-sm);
    font-weight: 600; color: var(--tc-text-primary); margin-bottom: 4px;
}
.tc-signup-modal__field label .required { color: var(--tc-error); }
.tc-signup-modal__field input {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-md);
    font-size: var(--tc-text-base); font-family: var(--tc-font-body);
    background: var(--tc-bg-primary); color: var(--tc-text-primary);
    transition: border-color var(--tc-transition-fast), box-shadow var(--tc-transition-fast);
}
.tc-signup-modal__field input:focus {
    outline: none; border-color: var(--tc-brand-primary);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}
.tc-signup-modal__field input::placeholder { color: var(--tc-text-tertiary); }

.tc-signup-modal__submit {
    width: 100%; justify-content: center; margin-top: var(--tc-space-4);
}
.tc-signup-modal__fine-print {
    text-align: center; font-size: var(--tc-text-xs);
    color: var(--tc-text-tertiary); margin-top: var(--tc-space-3); line-height: 1.5;
}
.tc-signup-modal__fine-print a { color: var(--tc-brand-primary); }

.tc-signup-modal__success { text-align: center; padding: var(--tc-space-6) 0; }
.tc-signup-modal__success-icon { margin-bottom: var(--tc-space-4); }
.tc-signup-modal__success h3 {
    font-family: var(--tc-font-display); font-size: var(--tc-text-2xl);
    color: var(--tc-text-primary); margin-bottom: var(--tc-space-3);
}
.tc-signup-modal__success p {
    color: var(--tc-text-secondary); line-height: 1.6;
    margin-bottom: var(--tc-space-5); max-width: 40ch; margin-inline: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Print */
@media print {
    .tc-header, .tc-footer, .tc-floating-trip, .tc-trip-stats__actions,
    .tc-saved-card__remove, .tc-mobile-menu, .tc-toast { display: none !important; }
    body { color: #000; background: #fff; }
}

/* ==========================================================================
   HOMEPAGE ENHANCEMENTS — v3.3.0
   Featured Venues · Open Now · Category Filter Bar · Events Section
   Hero Stats · Venue Card Upgrades
   ========================================================================== */

/* ── Hero Stats Bar ─────────────────────────────────────────────────────── */

.tc-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-6) var(--tc-space-10);
    margin-top: var(--tc-space-10);
    padding-top: var(--tc-space-8);
    border-top: 1px solid rgba(255,255,255,0.12);
}

.tc-hero-stat__num {
    display: block;
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    font-weight: 700;
    color: var(--tc-brand-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.tc-hero-stat__label {
    display: block;
    font-size: var(--tc-text-xs);
    font-family: var(--tc-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
    margin-top: var(--tc-space-1);
}

/* ── Hero Float Card — DEPRECATED v4.2.3 (open-now bug; removed from templates).
   CSS retained for cache safety; safe to delete in next release. ────────── */
.tc-hero__float-card {
    position: absolute;
    right:   clamp(1rem, 4vw, 5%);
    bottom:  clamp(4rem, 8vw, 10%);
    background: rgba(20, 20, 18, 0.72);
    border:  1px solid rgba(255,255,255,0.12);
    border-radius: var(--tc-radius-xl);
    padding: 1.1rem 1.4rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    min-width: 210px;
    max-width: 260px;
    animation: tc-float 5s ease-in-out infinite;
    z-index: 2;
    /* Hidden on small screens where it would overlap the copy */
    display: none;
}

@media (min-width: 860px) {
    .tc-hero__float-card { display: block; }
}

@keyframes tc-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.tc-hero__float-label {
    font-family: var(--tc-font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tc-brand-accent);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tc-hero__float-venues {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tc-hero__float-venue {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.tc-hero__float-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.tc-hero__float-dot--open   { background: #4ade80; animation: tc-dot-pulse 2s ease-in-out infinite; }
.tc-hero__float-dot--closed { background: rgba(255,255,255,0.25); }

.tc-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--tc-space-6);
    margin-bottom: var(--tc-space-10);
    flex-wrap: wrap;
}

.tc-section-header--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--tc-space-12);
}

.tc-section-eyebrow {
    font-family: var(--tc-font-mono);
    font-size: var(--tc-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-2);
}

.tc-section-title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-4xl);
    font-weight: 700;
    color: var(--tc-text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.tc-section-title em {
    font-style: normal;
    color: var(--tc-brand-primary);
}

/* ── Category Filter Bar ────────────────────────────────────────────────── */

/* ==========================================================================
   CATEGORY FILTER BAR  (v3.4 — no emojis, proper mobile scroll)
   ========================================================================== */

.tc-home-catbar {
    background: var(--tc-bg-secondary);
    border-top:    1px solid var(--tc-border-default);
    border-bottom: 1px solid var(--tc-border-default);
    position: sticky;
    top: 68px; /* header height */
    z-index: 40;
    /* position:relative lets the scroll arrow buttons sit on top */
}

/* Right-side fade hint — uses ::after so it never blocks scrolling */
.tc-home-catbar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4rem;
    height: 100%;
    background: linear-gradient(to left, var(--tc-bg-secondary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.2s;
}
.tc-home-catbar.is-scrolled-end::after { opacity: 0; }

/* Scroll arrow buttons — siblings of the inner scrollable div */
.tc-home-catbar__arrow {
    display: none; /* shown by JS when overflow detected */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    background: var(--tc-bg-primary);
    border: 1px solid var(--tc-border-strong);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.18s;
    color: var(--tc-text-primary);
}
.tc-home-catbar__arrow:hover { background: var(--tc-bg-tertiary); }
.tc-home-catbar__arrow--left  { left:  0.4rem; }
.tc-home-catbar__arrow--right { right: 0.4rem; }
.tc-home-catbar__arrow.is-visible { display: flex; }
.tc-home-catbar__arrow svg { width: 14px; height: 14px; pointer-events: none; }

/* Mobile: hide scroll arrows and fade-hint (they float over the hero and
   cause a white shadow artefact in light mode) */
@media (max-width: 767px) {
    .tc-home-catbar__arrow { display: none !important; }
    .tc-home-catbar::after { display: none; }
}

.tc-home-catbar__inner {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;  /* Firefox */
    gap: 0;
    /* Add side padding so first/last items don't butt against the fade edge */
    padding-inline: 0.5rem;
}

.tc-home-catbar__inner::-webkit-scrollbar { display: none; }

/* ── Individual pill-style buttons ── */
.tc-home-catbar__item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin: 0.45rem 0.25rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--tc-border-default);
    border-radius: var(--tc-radius-full);
    background: var(--tc-bg-primary);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--tc-text-secondary);
    font-family: var(--tc-font-body);
    font-size: var(--tc-text-sm);
    font-weight: 500;
    /* Prevents iOS/Android tap-highlight overlay that makes text look transparent */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-text-fill-color: currentColor; /* stops gradient bleed from parent contexts */
    transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.tc-home-catbar__item:hover {
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-primary);
    border-color: var(--tc-border-strong);
}

/* ── Active category pill — gold ─────────────────────────────────────────── */
.tc-home-catbar__item--active,
.tc-home-catbar__item[aria-pressed="true"]:not(.tc-home-catbar__item--opennow) {
    background: var(--tc-brand-primary);
    /* Hard-coded dark colour so it's always readable on gold regardless of theme */
    color: #2D2D2D;
    -webkit-text-fill-color: #2D2D2D;
    border-color: var(--tc-brand-primary);
    box-shadow: 0 2px 8px rgba(212,160,23,0.35);
    font-weight: 600;
}

/* ── Open Now chip ────────────────────────────────────────────────────────── */
.tc-home-catbar__item--opennow {
    border-color: rgba(34,197,94,0.4);
    color: #16a34a; /* green tint even when inactive, clearly different from category pills */
    -webkit-text-fill-color: #16a34a;
}

.tc-home-catbar__item--opennow[aria-pressed="true"] {
    background: #14532d;
    color: #bbf7d0;
    -webkit-text-fill-color: #bbf7d0;
    border-color: #166534;
    box-shadow: 0 2px 8px rgba(34,197,94,0.3);
    font-weight: 600;
}

/* When BOTH a category AND Open Now are active, add a subtle green ring to Open Now
   so users can see two separate states at once */
.tc-home-catbar__item--opennow[aria-pressed="true"] + .tc-home-catbar__item,
.tc-home-catbar__item[data-cat-filter="open-now"][aria-pressed="true"] {
    /* already handled above */
}

/* Pulsing green dot inside Open Now button */
.tc-home-catbar__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: tc-dot-pulse 2s ease-in-out infinite;
}

@keyframes tc-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* SVG icon inside each button */
.tc-home-catbar__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: inherit;
}
.tc-home-catbar__icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.tc-home-catbar__label {
    font-size: var(--tc-text-sm);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.tc-home-catbar__count {
    font-family: var(--tc-font-mono);
    font-size: 0.58rem;
    opacity: 0.55;
    margin-left: 2px;
}

/* ── Mobile tweaks ── */
@media (max-width: 640px) {
    .tc-home-catbar__inner {
        padding-inline: 0.75rem;
    }
    .tc-home-catbar__item {
        padding: 0.45rem 0.85rem;
        font-size: var(--tc-text-xs);
    }
}

/* ── Featured Venues Grid ───────────────────────────────────────────────── */

.tc-featured-section { background: var(--tc-bg-primary); }

.tc-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--tc-space-6);
    margin-bottom: var(--tc-space-8);
}

/* Wide / featured first-card (spans 2 cols on larger screens) */
@media (min-width: 768px) {
    .tc-venue-card--wide {
        grid-column: span 2;
    }

    .tc-venue-card--wide .tc-venue-card__img-wrap {
        aspect-ratio: 21 / 8;
    }
}

.tc-featured-footer {
    text-align: center;
    padding-top: var(--tc-space-4);
}

/* ── Venue Card ─────────────────────────────────────────────────────────── */

.tc-venue-card {
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tc-venue-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tc-shadow-xl);
    border-color: var(--tc-brand-primary);
}

/* Card hidden state (when filtered out) */
.tc-venue-card[hidden] {
    display: none !important;
}

.tc-venue-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--tc-bg-tertiary);
}

.tc-venue-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tc-venue-card:hover .tc-venue-card__img-wrap img {
    transform: scale(1.04);
}

.tc-venue-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-text-tertiary);
}

.tc-venue-card__body {
    padding: var(--tc-space-5) var(--tc-space-5) var(--tc-space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-2);
}

.tc-venue-card__address {
    display: flex;
    align-items: center;
    gap: var(--tc-space-1);
    font-size: var(--tc-text-xs);
    color: var(--tc-text-secondary);
}

/* Tags list */
.tc-venue-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-1);
    list-style: none;
    margin: var(--tc-space-1) 0;
    padding: 0;
}

.tc-venue-card__tag {
    font-family: var(--tc-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 100px;
    border: 1px solid var(--tc-border-default);
    color: var(--tc-text-secondary);
}

/* Footer row */
.tc-venue-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    padding-top: var(--tc-space-4);
    border-top: 1px solid var(--tc-border-default);
    margin-top: auto;
}

.tc-venue-card__meta {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    flex-wrap: wrap;
}

.tc-venue-card__hours {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--tc-text-xs);
    color: var(--tc-text-secondary);
    font-family: var(--tc-font-mono);
}

/* Featured badge (star) */
.tc-venue-card__featured-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
    font-size: 0.6rem;
    font-family: var(--tc-font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 100px;
    z-index: 3;
}

/* ── Open Now Badge ─────────────────────────────────────────────────────── */

.tc-open-badge {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-family: var(--tc-font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 3;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.tc-open-badge--open {
    background: rgba(21, 128, 61, 0.88);
    color: #dcfce7;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.tc-open-badge--closed {
    background: rgba(30, 30, 30, 0.8);
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.08);
}

.tc-open-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tc-open-badge--open .tc-open-badge__dot {
    background: #4ade80;
    animation: tc-dot-pulse 2s ease-in-out infinite;
}

.tc-open-badge--closed .tc-open-badge__dot {
    background: rgba(255,255,255,0.3);
}

/* ── Filter / No Results ────────────────────────────────────────────────── */

.tc-filter-status {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    margin-bottom: var(--tc-space-4);
    font-family: var(--tc-font-mono);
    letter-spacing: 0.05em;
}

.tc-no-results {
    text-align: center;
    padding: var(--tc-space-12) var(--tc-space-6);
    background: var(--tc-bg-secondary);
    border-radius: var(--tc-radius-lg, 12px);
    border: 1px dashed var(--tc-border-default);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tc-space-4);
}

.tc-empty-notice {
    text-align: center;
    color: var(--tc-text-secondary);
    padding: var(--tc-space-12) 0;
}

/* ── What's On — Events Section ─────────────────────────────────────────── */

/* ==========================================================================
   FEATURED EVENT SPOTLIGHT (home page)
   ========================================================================== */

.tc-spotlight-wrap {
    padding-top: var(--tc-space-8);
    padding-bottom: 0;
    /* Clip the card shadow so it can't cause horizontal overflow */
    overflow: hidden;
}
/* ── Featured Event Spotlight Slider (prev/next under What's On) ──────────── */
.tc-spotlight-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--tc-radius-xl);
    margin-bottom: var(--tc-space-8);
    /* Establish a block formatting context so child widths resolve correctly */
    display: block;
    width: 100%;
}
.tc-spotlight-slider__track {
    display: flex;
    /* Width must match the slider container exactly — no overflow */
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.tc-spotlight-slider__track .tc-spotlight {
    /* Each slide is precisely the slider viewport width */
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;          /* override any inherited min-width */
    max-width: 100%;
    border-radius: 0;
    box-sizing: border-box;
    /* Clip the inner grid to this width */
    overflow: hidden;
}
/* Prev / Next arrow buttons */
.tc-spotlight-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s, opacity 0.2s;
}
.tc-spotlight-slider__btn:hover { background: rgba(0,0,0,0.6); }
.tc-spotlight-slider__btn:disabled { opacity: 0.3; pointer-events: none; }
.tc-spotlight-slider__btn--prev { left: var(--tc-space-4); }
.tc-spotlight-slider__btn--next { right: var(--tc-space-4); }
/* Dot indicators */
.tc-spotlight-slider__dots {
    position: absolute;
    bottom: var(--tc-space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--tc-space-2);
    z-index: 10;
}
.tc-spotlight-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.tc-spotlight-slider__dot.is-active {
    background: #fff;
    transform: scale(1.3);
}
@media (max-width: 640px) {
    .tc-spotlight-slider__btn { width: 36px; height: 36px; }
}





.tc-spotlight {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--tc-radius-2xl);
    overflow: hidden;
    background: var(--spot-bg, #D4A017);
    color: var(--spot-text, #2D2D2D);
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    position: relative;
}

/* Two-column when image is present */
@media (min-width: 768px) {
    .tc-spotlight--has-image {
        grid-template-columns: 1fr 1.1fr;
    }
}

.tc-spotlight__image {
    position: relative;
    min-height: 240px;
    overflow: hidden;
}
.tc-spotlight__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Gradient overlay linking image to content */
@media (min-width: 768px) {
    .tc-spotlight__image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, transparent 60%, var(--spot-bg, #D4A017));
    }
}

.tc-spotlight__content {
    padding: var(--tc-space-8) var(--tc-space-8);
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-4);
    justify-content: center;
}

@media (max-width: 767px) {
    .tc-spotlight__content { padding: var(--tc-space-6) var(--tc-space-5); }
}

.tc-spotlight__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--tc-text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: 0.75;
    margin: 0;
}

.tc-spotlight__title {
    font-family: var(--tc-font-display);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.25;
    margin: 0;
    color: inherit;
}

.tc-spotlight__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-3) var(--tc-space-5);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    opacity: 0.85;
}
.tc-spotlight__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tc-spotlight__desc {
    font-size: var(--tc-text-base);
    line-height: 1.65;
    opacity: 0.9;
    margin: 0;
    max-width: 52ch;
}

.tc-spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tc-space-4);
    margin-top: var(--tc-space-2);
}

.tc-spotlight__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--spot-btn, #2D2D2D);
    color: var(--spot-btn-text, #D4A017);
    -webkit-text-fill-color: var(--spot-btn-text, #D4A017);
    font-weight: 700;
    font-size: var(--tc-text-sm);
    padding: 0.65rem 1.4rem;
    border-radius: var(--tc-radius-full);
    transition: opacity 0.18s, transform 0.18s;
    white-space: nowrap;
}
.tc-spotlight__cta:hover { opacity: 0.88; transform: translateY(-1px); }

.tc-spotlight__venue-link {
    font-size: var(--tc-text-sm);
    font-weight: 600;
    opacity: 0.75;
    color: inherit;
    -webkit-text-fill-color: currentColor;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.tc-spotlight__venue-link:hover { opacity: 1; }

/* Featured badge on event scroll cards */
.tc-event-card--featured {
    border-color: var(--tc-brand-primary);
    background: color-mix(in srgb, var(--tc-brand-primary) 6%, var(--tc-bg-elevated));
}
.tc-event-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-1);
}

.tc-events-section {
    background: var(--tc-bg-secondary);
    border-top: 1px solid var(--tc-border-default);
    border-bottom: 1px solid var(--tc-border-default);
    /* Contain horizontal overflow from the edge-to-edge scroll row */
    overflow: hidden;
}

.tc-events-scroll {
    display: flex;
    gap: var(--tc-space-4);
    overflow-x: auto;
    /* Prevent the flex row from causing horizontal page overflow.
       scroll-snap + touch-action confines drag to the scroll container only */
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--tc-space-4);
    /* Break out of tc-container padding so scroll runs edge-to-edge,
       then restore visual indent with scroll-padding & item padding */
    margin-inline: calc(-1 * var(--tc-gutter));
    padding-inline: var(--tc-gutter);
    /* Clip so cards don't bleed outside the section background */
    scroll-padding-inline: var(--tc-gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--tc-brand-primary) transparent;
}

.tc-events-scroll::-webkit-scrollbar {
    height: 4px;
}
.tc-events-scroll::-webkit-scrollbar-thumb {
    background: var(--tc-brand-primary);
    border-radius: 4px;
}
.tc-events-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.tc-event-card {
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: start;
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg, 12px);
    padding: var(--tc-space-5);
    display: flex;
    gap: var(--tc-space-4);
    align-items: flex-start;
    transition: border-color 0.2s, transform 0.2s;
}

.tc-event-card:hover {
    border-color: var(--tc-brand-primary);
    transform: translateY(-2px);
}

.tc-event-card__date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    background: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
    border-radius: 8px;
    padding: var(--tc-space-2) var(--tc-space-3);
    text-align: center;
    flex-shrink: 0;
}

.tc-event-card__day {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-3xl);
    font-weight: 700;
    line-height: 1;
}

.tc-event-card__month {
    font-family: var(--tc-font-mono);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
    opacity: 0.85;
}

.tc-event-card__weekday {
    font-family: var(--tc-font-mono);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
    opacity: 0.7;
}

.tc-event-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-2);
}

.tc-event-card__title {
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-base);
    font-weight: 600;
    line-height: 1.3;
    color: var(--tc-text-primary);
}

.tc-event-card__title a {
    color: inherit;
    text-decoration: none;
}

.tc-event-card__title a:hover {
    color: var(--tc-brand-primary);
}

.tc-event-card__desc {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.5;
}

.tc-event-card__venue {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--tc-text-xs);
    color: var(--tc-brand-primary);
    font-family: var(--tc-font-mono);
    letter-spacing: 0.05em;
}

.tc-event-card__venue a {
    color: inherit;
    text-decoration: none;
}

.tc-event-card__venue a:hover {
    text-decoration: underline;
}

/* ── How It Works section ───────────────────────────────────────────────── */

.tc-how-section .tc-section-header--center {
    text-align: center;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .tc-home-catbar { position: static; }
    .tc-featured-grid { grid-template-columns: 1fr; }
    .tc-hero__stats { gap: var(--tc-space-5); }
    .tc-section-title { font-size: var(--tc-text-3xl); }
    .tc-event-card { width: 85vw; }
}

@media (max-width: 900px) {
    .tc-venue-card--wide { grid-column: span 1; }
    .tc-venue-card--wide .tc-venue-card__img-wrap { aspect-ratio: 4 / 3; }
}

/* ── Dark mode overrides ─────────────────────────────────────────────────── */

[data-theme="dark"] .tc-venue-card {
    background: var(--tc-bg-secondary);
}

[data-theme="dark"] .tc-home-catbar {
    background: var(--tc-bg-primary);
}

[data-theme="dark"] .tc-home-catbar__item {
    background: var(--tc-bg-secondary);
    border-color: var(--tc-border-default);
    color: var(--tc-text-secondary);
    -webkit-text-fill-color: currentColor;
}

[data-theme="dark"] .tc-home-catbar__item:hover {
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-primary);
    -webkit-text-fill-color: currentColor;
}

/* Dark mode active category — force readable dark text on gold bg */
[data-theme="dark"] .tc-home-catbar__item--active,
[data-theme="dark"] .tc-home-catbar__item[aria-pressed="true"]:not(.tc-home-catbar__item--opennow) {
    color: #1a1a1a;
    -webkit-text-fill-color: #1a1a1a;
}

/* Dark mode Open Now inactive: use lighter green so it's visible on dark bg */
[data-theme="dark"] .tc-home-catbar__item--opennow {
    color: #4ade80;
    -webkit-text-fill-color: #4ade80;
    border-color: rgba(74,222,128,0.35);
}

[data-theme="dark"] .tc-event-card {
    background: var(--tc-bg-secondary);
}

/* ── Dark mode: ensure active tag pills always show light text on coloured bg ── */
[data-theme="dark"] .tc-tag-pill {
    background: var(--tc-bg-secondary);
    border-color: var(--tc-border-strong);
    color: var(--tc-text-secondary);
    -webkit-text-fill-color: currentColor;
}
[data-theme="dark"] .tc-tag-pill:hover {
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-primary);
    -webkit-text-fill-color: currentColor;
}
[data-theme="dark"] .tc-tag-pill.is-active {
    color: #fff;
    -webkit-text-fill-color: #fff;
}
[data-theme="dark"] .tc-tag-pill[data-group="experience"].is-active {
    color: #1C1917;
    -webkit-text-fill-color: #1C1917;
}
[data-theme="dark"] .tc-tag-pill.is-active .tc-tag-pill__count {
    background: rgba(255,255,255,0.25);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* ── Accessibility: focus-visible rings ────────────────────────────────── */

.tc-home-catbar__item:focus-visible {
    outline: 2px solid var(--tc-brand-primary);
    outline-offset: -2px;
}

.tc-venue-card:focus-within {
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.4);
}


/* ==========================================================================
   EVENTS CALENDAR PAGE  (page-template-events.php)
   ========================================================================== */

/* ── Page Header ──────────────────────────────────────────────────────────── */
.tc-page-header--events {
    background: var(--tc-brand-charcoal);
    color: white;
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
    position: relative;
    overflow-x: hidden;
}

.tc-page-header--events::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tc-page-header--events .tc-section-eyebrow {
    margin-bottom: 0.5rem;
}

.tc-page-header__title {
    font-family: var(--tc-font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: white;
    margin-bottom: 1rem;
    padding-block: 0.1em;
}

.tc-page-header__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--tc-brand-primary), var(--tc-brand-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tc-page-header__desc {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255,255,255,0.65);
    max-width: 52ch;
    line-height: 1.7;
}

/* ── Month navigation tabs ─────────────────────────────────────────────── */
.tc-events-monthnav {
    background: var(--tc-bg-secondary);
    border-bottom: 1px solid var(--tc-border-default);
    position: sticky;
    top: 68px;
    z-index: 40;
    /* No overflow:hidden — arrows are positioned absolute siblings */
}

.tc-events-monthnav::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 3.5rem; height: 100%;
    background: linear-gradient(to left, var(--tc-bg-secondary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.2s;
}
.tc-events-monthnav.is-scrolled-end::after { opacity: 0; }

/* Arrow buttons — same pattern as catbar */
.tc-events-monthnav__arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 30px; height: 30px;
    align-items: center;
    justify-content: center;
    background: var(--tc-bg-primary);
    border: 1px solid var(--tc-border-strong);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.18s;
    color: var(--tc-text-primary);
}
.tc-events-monthnav__arrow:hover { background: var(--tc-bg-tertiary); }
.tc-events-monthnav__arrow--left  { left:  0.4rem; }
.tc-events-monthnav__arrow--right { right: 0.4rem; }
.tc-events-monthnav__arrow.is-visible { display: flex; }
.tc-events-monthnav__arrow svg { width: 14px; height: 14px; pointer-events: none; }

.tc-events-monthnav__inner {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    padding-inline: 0.5rem;
}
.tc-events-monthnav__inner::-webkit-scrollbar { display: none; }

.tc-events-monthnav__tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0.45rem 0.25rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-full);
    background: var(--tc-bg-primary);
    font-family: var(--tc-font-body);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.18s;
}

.tc-events-monthnav__tab:hover {
    background: var(--tc-bg-tertiary);
    color: var(--tc-text-primary);
    border-color: var(--tc-border-strong);
}

.tc-events-monthnav__tab--active,
.tc-events-monthnav__tab[aria-pressed="true"] {
    background: var(--tc-brand-primary);
    color: var(--tc-brand-charcoal);
    border-color: var(--tc-brand-primary);
    box-shadow: 0 2px 8px rgba(212,160,23,0.3);
}

.tc-events-monthnav__count {
    font-family: var(--tc-font-mono);
    font-size: 0.6rem;
    opacity: 0.65;
    background: rgba(0,0,0,0.08);
    padding: 1px 5px;
    border-radius: var(--tc-radius-full);
}

.tc-events-monthnav__tab--active .tc-events-monthnav__count,
.tc-events-monthnav__tab[aria-pressed="true"] .tc-events-monthnav__count {
    background: rgba(0,0,0,0.15);
}

/* ── Results count line ────────────────────────────────────────────────── */
.tc-events-results {
    font-family: var(--tc-font-mono);
    font-size: var(--tc-text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tc-text-tertiary);
    margin-bottom: 2.5rem;
}

/* ── Month section ─────────────────────────────────────────────────────── */
.tc-events-month {
    margin-bottom: 3.5rem;
    transition: opacity 0.25s;
}

.tc-events-month[hidden] { display: none; }

.tc-events-month__heading {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-family: var(--tc-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--tc-text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--tc-border-default);
    letter-spacing: -0.02em;
}

.tc-events-month__count {
    font-family: var(--tc-font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--tc-text-tertiary);
    letter-spacing: 0.08em;
}

/* ── Month grid — 2 columns on tablet+, 1 on mobile ──────────────────── */
.tc-events-month__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 900px) {
    .tc-events-month__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .tc-events-month__grid { grid-template-columns: 1fr; }
}

/* ── Individual event card ─────────────────────────────────────────────── */
.tc-event-full-card {
    background: var(--tc-bg-elevated);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tc-event-full-card:hover {
    border-color: var(--tc-brand-primary);
    box-shadow: var(--tc-shadow-md);
    transform: translateY(-2px);
}

/* Featured standalone event card */
.tc-event-full-card--featured {
    border-color: var(--tc-brand-primary);
    background: color-mix(in srgb, var(--tc-brand-primary) 5%, var(--tc-bg-elevated));
}

.tc-event-full-card__badge {
    display: inline-block;
    font-size: var(--tc-text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--tc-brand-primary);
    margin-bottom: var(--tc-space-2);
}

/* Date block */
.tc-event-full-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    background: var(--tc-brand-charcoal);
    color: white;
    border-radius: var(--tc-radius-md);
    padding: 0.75rem 0.6rem;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.tc-event-full-card__date::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,160,23,0.18), transparent);
}

.tc-event-full-card__day {
    font-family: var(--tc-font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--tc-brand-accent);
    display: block;
    position: relative;
}

.tc-event-full-card__month {
    font-family: var(--tc-font-mono);
    font-size: 0.54rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 3px;
    opacity: 0.65;
    position: relative;
}

.tc-event-full-card__weekday {
    font-family: var(--tc-font-mono);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-top: 2px;
    opacity: 0.45;
    position: relative;
}

/* Body */
.tc-event-full-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tc-event-full-card__title {
    font-family: var(--tc-font-display);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--tc-text-primary);
}

.tc-event-full-card__title a {
    color: inherit;
    transition: color 0.15s;
}
.tc-event-full-card__title a:hover { color: var(--tc-brand-primary); }

.tc-event-full-card__desc {
    font-size: 0.875rem;
    color: var(--tc-text-secondary);
    line-height: 1.65;
    max-width: 72ch;
}

.tc-event-full-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.25rem;
}

.tc-event-full-card__venue,
.tc-event-full-card__datetime {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--tc-text-secondary);
}

.tc-event-full-card__venue a {
    color: var(--tc-brand-primary);
    font-weight: 600;
}
.tc-event-full-card__venue a:hover { text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.tc-events-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--tc-border-default);
    margin-top: 1rem;
}

/* ── Empty state ───────────────────────────────────────────────────────── */
.tc-events-empty {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--tc-text-tertiary);
}

.tc-events-empty h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--tc-text-primary);
}

.tc-events-empty p {
    max-width: 40ch;
    color: var(--tc-text-secondary);
    font-size: 0.9rem;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .tc-event-full-card {
        flex-direction: column;
        gap: 1rem;
    }

    .tc-event-full-card__date {
        flex-direction: row;
        min-width: auto;
        width: 100%;
        padding: 0.6rem 1rem;
        gap: 0.5rem;
        justify-content: flex-start;
        border-radius: var(--tc-radius-sm);
    }

    .tc-event-full-card__day  { font-size: 1.5rem; }
    .tc-event-full-card__month,
    .tc-event-full-card__weekday { font-size: 0.62rem; margin-top: 0; }
}

/* ── Dark mode ─────────────────────────────────────────────────────────── */
[data-theme="dark"] .tc-event-full-card {
    background: var(--tc-bg-secondary);
}

[data-theme="dark"] .tc-events-monthnav {
    background: var(--tc-bg-primary);
}

[data-theme="dark"] .tc-events-monthnav__tab {
    background: var(--tc-bg-secondary);
}

/* ── Fix 1: Don't break position:sticky with overflow:hidden ── */
html {
    overflow-x: clip; /* replaces overflow-x: hidden */
}

body {
    overflow-x: clip; /* replaces overflow-x: hidden */
}

/* ── Fix 2: Tighten actions on small mobile so hamburger doesn't clip ── */
@media (max-width: 480px) {
    .tc-header__inner {
        gap: var(--tc-space-4); /* reduce from --tc-space-8 (2rem) to 1rem */
    }

    .tc-header__actions {
        gap: 2px; /* tighten from --tc-space-2 (8px) */
    }

    .tc-header__action-btn,
    .tc-menu-toggle {
        width: 36px;  /* reduce from 40px */
        height: 36px;
    }
}
/* ============================================================================
   SHOP PAGE
   ============================================================================ */

/* ── Shop, Guide & About page header variants (match Events hero style) ──── */
.tc-page-header--shop,
.tc-page-header--guide,
.tc-page-header--about {
    background: var(--tc-brand-charcoal);
    color: white;
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
    position: relative;
    overflow-x: hidden;
}

/* Radial gold accent glow (same as events) */
.tc-page-header--shop::before,
.tc-page-header--guide::before,
.tc-page-header--about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* When a bg image is set, overlay it darkly so text stays readable */
.tc-page-header--has-image {
    background-image: var(--hero-bg-img);
    background-size: cover;
    background-position: center;
}
.tc-page-header--has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 35, 0.68);
    pointer-events: none;
}
.tc-page-header--has-image::before { z-index: 1; }
.tc-page-header--has-image .tc-container { position: relative; z-index: 2; }

/* ── Outlet product tag ─────────────────────────────────────────────────── */
.tc-shop-card__outlet-tag {
    font-size: 11px;
    color: var(--tc-text-tertiary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0 0;
    font-weight: 500;
}

/* ── Review card button ──────────────────────────────────────────────────── */
.tc-review-card {
    border: 1.5px solid #4285F4;
}
.tc-review-card .tc-info-card__title {
    color: var(--tc-text-primary);
}
.tc-btn--google-review:hover {
    background: #f0f4ff !important;
}

/* ── Rating badge as link ────────────────────────────────────────────────── */
a.tc-outlet-single__meta-item--link {
    text-decoration: none;
    transition: opacity .15s;
}
a.tc-outlet-single__meta-item--link:hover {
    opacity: .75;
}

/* ── Trust bar ───────────────────────────────────────────────────────────── */
.tc-shop-trust {
    background: var(--tc-bg-secondary, #1a1a1a);
    border-bottom: 1px solid var(--tc-border, rgba(255,255,255,.06));
    padding: var(--tc-space-4) 0;
}
.tc-shop-trust__items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tc-space-4) var(--tc-space-8);
    justify-content: center;
    align-items: center;
}
.tc-shop-trust__item {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-2);
    font-size: var(--tc-text-sm);
    font-weight: 600;
    color: var(--tc-text-secondary, #9ca3af);
}
.tc-shop-trust__item svg { color: var(--tc-brand-primary, #D4A017); flex-shrink: 0; }

/* ── Category section heading ─────────────────────────────────────────────── */
.tc-shop__cat-title {
    font-family: var(--tc-font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin: 0 0 var(--tc-space-6);
    color: var(--tc-text-primary);
}
.tc-shop__category + .tc-shop__category { margin-top: var(--tc-space-12); }

/* ── Product grid ────────────────────────────────────────────────────────── */
.tc-shop__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--tc-space-6);
}

/* ── Product card ────────────────────────────────────────────────────────── */
.tc-shop-card {
    background: var(--tc-bg-secondary, #111827);
    border-radius: var(--tc-radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--tc-border, rgba(255,255,255,.06));
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
}
.tc-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.tc-shop-card--coming-soon {
    opacity: 0.7;
    pointer-events: none;
}

/* Image area */
.tc-shop-card__image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--tc-bg-tertiary, #1f2937);
    flex-shrink: 0;
}
.tc-shop-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.tc-shop-card:hover .tc-shop-card__image { transform: scale(1.04); }
.tc-shop-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-text-tertiary, rgba(255,255,255,.25));
}
.tc-shop-card__badge {
    position: absolute;
    top: var(--tc-space-3);
    left: var(--tc-space-3);
    background: var(--tc-brand-primary, #D4A017);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}
.tc-shop-card__coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tc-shop-card__coming-soon-overlay span {
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
}

/* Body */
.tc-shop-card__body {
    padding: var(--tc-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-2);
    flex: 1;
}
.tc-shop-card__category {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--tc-brand-ocean, #0C7C8A);
    margin: 0;
}
.tc-shop-card__name {
    font-family: var(--tc-font-display);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--tc-text-primary);
}
.tc-shop-card__desc {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
.tc-shop-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tc-space-3);
    margin-top: var(--tc-space-3);
    padding-top: var(--tc-space-3);
    border-top: 1px solid var(--tc-border, rgba(255,255,255,.06));
}
.tc-shop-card__price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tc-brand-primary, #D4A017);
    letter-spacing: -.02em;
}
.tc-shop-card__soon-label {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-tertiary);
    font-style: italic;
}
.tc-shop-card__buy,
.tc-shop-card__enquire {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.18s, transform 0.15s;
    cursor: pointer;
    white-space: nowrap;
}
.tc-shop-card__enquire {
    background: transparent;
    border: 1.5px solid var(--tc-border, rgba(255,255,255,.15));
    color: var(--tc-text-primary);
}
.tc-shop-card__enquire:hover {
    border-color: var(--tc-brand-primary, #D4A017);
    color: var(--tc-brand-primary, #D4A017);
}

/* ── Shop note ───────────────────────────────────────────────────────────── */
.tc-shop-note {
    display: flex;
    align-items: flex-start;
    gap: var(--tc-space-3);
    background: var(--tc-bg-secondary, #111827);
    border: 1px solid var(--tc-border, rgba(255,255,255,.06));
    border-radius: var(--tc-radius-lg);
    padding: var(--tc-space-5) var(--tc-space-6);
    margin-top: var(--tc-space-12);
    color: var(--tc-text-secondary);
    font-size: var(--tc-text-sm);
    line-height: 1.65;
}
.tc-shop-note svg { flex-shrink: 0; margin-top: 2px; color: var(--tc-brand-primary, #D4A017); }
.tc-shop-note p  { margin: 0; }
.tc-shop-note a  { color: var(--tc-brand-primary, #D4A017); font-weight: 600; text-decoration: none; }
.tc-shop-note a:hover { text-decoration: underline; }

/* ── Enquire modal ───────────────────────────────────────────────────────── */
.tc-shop-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--tc-space-4);
}
.tc-shop-modal[hidden] { display: none; }
.tc-shop-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(4px);
}
.tc-shop-modal__box {
    position: relative;
    z-index: 1;
    background: var(--tc-bg-primary, #0f1923);
    border: 1px solid var(--tc-border, rgba(255,255,255,.08));
    border-radius: var(--tc-radius-2xl);
    padding: var(--tc-space-8);
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    animation: shopModalIn 0.22s ease both;
}
@keyframes shopModalIn {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.tc-shop-modal__close {
    position: absolute;
    top: var(--tc-space-4);
    right: var(--tc-space-4);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--tc-border, rgba(255,255,255,.1));
    background: var(--tc-bg-secondary, #111827);
    color: var(--tc-text-secondary);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}
.tc-shop-modal__close:hover { background: var(--tc-bg-tertiary); }
.tc-shop-modal__title {
    font-family: var(--tc-font-display);
    font-size: 1.4rem;
    margin: 0 0 var(--tc-space-2);
}
.tc-shop-modal__product-label {
    font-size: var(--tc-text-sm);
    color: var(--tc-brand-primary, #D4A017);
    font-weight: 700;
    margin: 0 0 var(--tc-space-5);
}

/* ── Mobile adjustments ──────────────────────────────────────────────────── */

/*
 * FIX: .tc-reveal starts at opacity:0 — if app.js is slow (Leaflet CDN dependency)
 * shop cards stay invisible. Override ONLY for shop sections, not sitewide.
 */
@media (max-width: 768px) {
    .tc-page-header--shop .tc-container,
    .tc-page-header--guide .tc-container,
    .tc-page-header--about .tc-container {
        position: relative;
        z-index: 2;
    }
    .tc-shop__category.tc-reveal,
    .tc-shop-note.tc-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 640px) {
    /* Single-column grid */
    .tc-shop__grid { grid-template-columns: 1fr; }

    /* Trust bar */
    .tc-shop-trust__items { gap: var(--tc-space-3) var(--tc-space-5); font-size: 12px; }

    /* Card footer: wrap so price & button don't fight on narrow phones */
    .tc-shop-card__footer { flex-wrap: wrap; gap: var(--tc-space-2); }
    .tc-shop-card__price  { flex: 1 0 100%; }
    .tc-shop-card__buy,
    .tc-shop-card__enquire {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    /* Modal */
    .tc-shop-modal__box { padding: var(--tc-space-6) var(--tc-space-5); }

    /* Page header: tighter on mobile */
    .tc-page-header--shop,
    .tc-page-header--guide,
    .tc-page-header--about {
        padding-block: 2.5rem 2rem;
    }
}

/* Very small phones */
@media (max-width: 374px) {
    .tc-shop-card__body { padding: var(--tc-space-4); }
    .tc-shop-card__name { font-size: 1rem; }
}

/* ==========================================================================
   NEWSLETTER — compact footer box + contact page box
   ========================================================================== */

/* Update footer grid to accommodate 5th column */
.tc-footer__nl-desc {
    font-size: var(--tc-text-sm, 13px);
    color: var(--tc-neutral-400, #aaa);
    line-height: 1.6;
    margin: 0 0 var(--tc-space-4) 0;
}

/* Shared form styles */
.tc-nl-form { display: flex; flex-direction: column; gap: 8px; }

.tc-nl-form__input {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    padding: 10px 13px;
    transition: border-color .2s, background .2s;
    box-sizing: border-box;
}
.tc-nl-form__input::placeholder { color: rgba(255,255,255,0.3); }
.tc-nl-form__input:focus { outline: none; border-color: var(--tc-brand, #C8472B); background: rgba(255,255,255,0.1); }

.tc-nl-form__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--tc-brand, #C8472B);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-family: var(--tc-font-sans, sans-serif);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .15s;
    width: 100%;
}
.tc-nl-form__btn:hover  { background: #a83822; transform: translateY(-1px); }
.tc-nl-form__btn:active { transform: translateY(0); }
.tc-nl-form__btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Spinner */
.tc-nl-form__spinner {
    display: none;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tc-nl-spin .7s linear infinite;
}
@keyframes tc-nl-spin { to { transform: rotate(360deg); } }
.tc-nl-form--loading .tc-nl-form__btn-label { display: none; }
.tc-nl-form--loading .tc-nl-form__spinner   { display: block; }

/* Status message inside the privacy <p> tag */
.tc-nl-form__privacy {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    font-family: var(--tc-font-sans, sans-serif);
    margin: 2px 0 0;
    min-height: 18px;
    transition: color .2s;
}
.tc-nl-form__privacy--success { color: #86efac; }
.tc-nl-form__privacy--error   { color: #fca5a5; }

/* --- Contact page newsletter box --- */
.tc-nl-contact-wrap { padding-block: var(--tc-space-10, 2.5rem); background: var(--tc-surface-2, #f5f5f0); }

.tc-nl-contact-box {
    display: flex;
    align-items: center;
    gap: var(--tc-space-10);
    background: #1a1a1a;
    border-radius: 14px;
    padding: var(--tc-space-8) var(--tc-space-10);
}

.tc-nl-contact-box__heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.tc-nl-contact-box__sub {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    margin: 0;
    max-width: 30ch;
    line-height: 1.6;
}

.tc-nl-contact-box__form { flex: 0 0 320px; }

/* Contact box — on the light contact page, override input colours */
.tc-nl-contact-wrap .tc-nl-form__input { border-color: rgba(255,255,255,.2); }

@media (max-width: 768px) {
    .tc-nl-contact-box { flex-direction: column; padding: var(--tc-space-6); gap: var(--tc-space-6); }
    .tc-nl-contact-box__form { flex: none; width: 100%; }
}

/* ==========================================================================
   OFFLINE PAGE
   ========================================================================== */

.tc-offline { padding-block: 5rem; }
.tc-offline__inner {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}
.tc-offline__icon {
    color: var(--tc-neutral-400, #999);
    margin-bottom: 1.5rem;
}
.tc-offline__heading {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 1rem;
}
.tc-offline__body {
    font-size: 1rem;
    color: var(--tc-neutral-600, #555);
    line-height: 1.7;
    margin: 0 0 2rem;
}
.tc-offline__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.tc-offline__hint {
    font-size: 13px;
    color: var(--tc-neutral-500, #777);
}

/* ==========================================================================
   FOODIE EXPLORER — AUTH MODAL ENHANCEMENTS  (v15)
   ========================================================================== */

/* Brand badge at top of modal forms */
.tc-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--tc-space-4);
}

.tc-auth-brand__icon {
    font-size: 22px;
    line-height: 1;
}

.tc-auth-brand__label {
    font-size: var(--tc-text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tc-brand-primary);
    padding: 4px 10px;
    background: color-mix(in srgb, var(--tc-brand-primary) 12%, transparent);
    border-radius: var(--tc-radius-full);
    border: 1px solid color-mix(in srgb, var(--tc-brand-primary) 25%, transparent);
}

/* Subtitle under the form title */
.tc-auth-form__subtitle {
    text-align: center;
    color: var(--tc-text-secondary);
    font-size: var(--tc-text-sm);
    margin-top: calc(var(--tc-space-2) * -1);
    margin-bottom: var(--tc-space-6);
    line-height: 1.5;
}

/* Value-prop checklist on register panel */
.tc-auth-perks {
    list-style: none;
    margin: 0 0 var(--tc-space-6) 0;
    padding: 0;
    background: var(--tc-bg-secondary);
    border-radius: var(--tc-radius-lg);
    padding: var(--tc-space-4);
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-2);
}

.tc-auth-perks li {
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.4;
}

.tc-auth-perks li svg {
    flex-shrink: 0;
    color: var(--tc-brand-primary);
    stroke: var(--tc-brand-primary);
}

/* Venue manager escape hatch — unobtrusive at bottom */
.tc-auth-venue-link {
    margin-top: var(--tc-space-5);
    padding-top: var(--tc-space-4);
    border-top: 1px solid var(--tc-border-default);
    text-align: center;
    font-size: 12px;
    color: var(--tc-text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tc-auth-venue-link a {
    color: var(--tc-text-tertiary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--tc-transition-fast);
}

.tc-auth-venue-link a:hover {
    color: var(--tc-text-primary);
}

/* Switch account notice (for admin testing) */
.tc-auth-switch-notice {
    background: #FEF3C7;
    border: 1px solid #D97706;
    border-radius: var(--tc-radius-md);
    padding: 10px 14px;
    margin-bottom: var(--tc-space-4);
    font-size: 13px;
    color: #92400E;
    line-height: 1.5;
}

/* ==========================================================================
   HEADER — AUTH BUTTONS (LOGGED-OUT STATE)
   ========================================================================== */

.tc-header__auth-btns {
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    /* Thin separator to visually group auth CTAs away from icon buttons */
    padding-left: var(--tc-space-2);
    border-left: 1px solid var(--tc-border-default);
    margin-left: var(--tc-space-1);
}

/* Sign In ghost button */
.tc-header__signin-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-radius: var(--tc-radius-full);
    font-size: var(--tc-text-sm);
    font-weight: 500;
    color: var(--tc-text-secondary);
    transition: all var(--tc-transition-fast);
    height: 36px;
    white-space: nowrap; /* Prevents "Sign In" wrapping to two lines */
    border: 1px solid var(--tc-border-default);
}

.tc-header__signin-btn:hover {
    background: var(--tc-bg-secondary);
    color: var(--tc-text-primary);
    border-color: var(--tc-border-strong);
}

/* Always show the "Sign In" label — icon alone is ambiguous */
.tc-header__signin-label {
    display: inline;
}

/* Join Free pill button */
.tc-header__join-btn {
    font-size: var(--tc-text-sm) !important;
    padding: 0 18px !important;
    height: 36px;
    border-radius: var(--tc-radius-full) !important;
    white-space: nowrap;
    font-weight: 600 !important;
}

/* Hide both auth CTAs from the header bar below 1024px —
   they are already present inside .tc-mobile-menu__auth-block */
@media (max-width: 1023px) {
    .tc-header__auth-btns {
        display: none;
    }
}

/* ==========================================================================
   HEADER — AVATAR (LOGGED-IN STATE)
   ========================================================================== */

.tc-header__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tc-brand-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.tc-header__avatar--member {
    background: var(--tc-brand-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--tc-brand-primary) 30%, transparent);
}

.tc-header__avatar--admin {
    background: var(--tc-neutral-600, #555);
    font-size: 10px;
}

.tc-header__account-btn {
    padding: 4px;
    border-radius: 50%;
    transition: all var(--tc-transition-fast);
}

.tc-header__account-btn:hover {
    background: var(--tc-bg-secondary);
}

/* ==========================================================================
   HEADER — FOODIE DROPDOWN  (logged-in Foodie Explorer)
   ========================================================================== */

.tc-header__foodie-menu {
    position: relative;
}

.tc-foodie-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: var(--tc-bg-primary);
    border: 1px solid var(--tc-border-default);
    border-radius: var(--tc-radius-xl);
    box-shadow: var(--tc-shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: var(--tc-z-dropdown, 200);
    overflow: hidden;
}

.tc-foodie-dropdown.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.tc-foodie-dropdown__header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--tc-border-default);
}

.tc-foodie-dropdown__name {
    display: block;
    font-weight: 600;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-primary);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-foodie-dropdown__role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tc-brand-primary);
    background: color-mix(in srgb, var(--tc-brand-primary) 10%, transparent);
    padding: 2px 8px;
    border-radius: var(--tc-radius-full);
    margin-top: 2px;
}

.tc-foodie-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    transition: background var(--tc-transition-fast);
    cursor: pointer;
}

.tc-foodie-dropdown__item:hover {
    background: var(--tc-bg-secondary);
    color: var(--tc-text-primary);
}

.tc-foodie-dropdown__item svg {
    flex-shrink: 0;
    color: var(--tc-text-tertiary);
}

.tc-foodie-dropdown__divider {
    height: 1px;
    background: var(--tc-border-default);
    margin: 4px 0;
}

.tc-foodie-dropdown__item--logout {
    color: var(--tc-error, #DC2626);
}

.tc-foodie-dropdown__item--logout:hover {
    background: color-mix(in srgb, var(--tc-error, #DC2626) 8%, transparent);
    color: var(--tc-error, #DC2626);
}

.tc-foodie-dropdown__item--logout svg {
    color: var(--tc-error, #DC2626);
}

/* ==========================================================================
   MOBILE MENU — AUTH BLOCK  (logged-out)
   ========================================================================== */

.tc-mobile-menu__auth-block {
    margin: var(--tc-space-4) 0;
    padding: var(--tc-space-5);
    background: var(--tc-bg-secondary);
    border-radius: var(--tc-radius-xl);
    border: 1px solid var(--tc-border-default);
}

.tc-mobile-menu__auth-tagline {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    text-align: center;
    margin: 0 0 var(--tc-space-4) 0;
    font-weight: 500;
}

.tc-mobile-menu__link--signin {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    color: var(--tc-text-secondary);
    font-size: var(--tc-text-sm);
    padding: var(--tc-space-2);
}

.tc-mobile-menu__link--highlight {
    color: var(--tc-brand-primary);
    font-weight: 600;
}

.tc-mobile-menu__link--logout {
    color: var(--tc-error, #DC2626);
}

.tc-mobile-menu__account {
    padding: var(--tc-space-4) 0 var(--tc-space-2);
    border-top: 1px solid var(--tc-border-default);
    border-bottom: 1px solid var(--tc-border-default);
    margin: var(--tc-space-3) 0;
}

.tc-mobile-menu__account-name {
    display: block;
    font-weight: 600;
    font-size: var(--tc-text-sm);
    color: var(--tc-text-primary);
    margin-bottom: 4px;
}

.tc-mobile-menu__account-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tc-text-tertiary);
    background: var(--tc-bg-tertiary);
    padding: 2px 8px;
    border-radius: var(--tc-radius-full);
    margin-bottom: var(--tc-space-3);
}

.tc-mobile-menu__account-role--member {
    color: var(--tc-brand-primary);
    background: color-mix(in srgb, var(--tc-brand-primary) 10%, transparent);
}

/* ==========================================================================
   TRIP PLANNER — REGISTER NUDGE (logged-out)
   ========================================================================== */

.tc-trip-register-nudge {
    display: flex;
    align-items: center;
    gap: var(--tc-space-4);
    background: color-mix(in srgb, var(--tc-brand-primary) 8%, var(--tc-bg-primary));
    border: 1px solid color-mix(in srgb, var(--tc-brand-primary) 25%, transparent);
    border-radius: var(--tc-radius-xl);
    padding: var(--tc-space-5) var(--tc-space-6);
    margin-bottom: var(--tc-space-8);
    flex-wrap: wrap;
}

.tc-trip-register-nudge__icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
}

.tc-trip-register-nudge__text {
    flex: 1;
    min-width: 180px;
}

.tc-trip-register-nudge__heading {
    font-weight: 700;
    font-size: var(--tc-text-base);
    color: var(--tc-text-primary);
    margin-bottom: 2px;
}

.tc-trip-register-nudge__sub {
    font-size: var(--tc-text-sm);
    color: var(--tc-text-secondary);
    line-height: 1.5;
}

.tc-trip-register-nudge__actions {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    flex-wrap: wrap;
}


@keyframes tcSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}