/**
 * Kulpmont Beverage - Premium Interactive Website Experience
 * Scoped styles for Liquid Tilt Hero, 5 O'Clock Banner, and Text-to-Hold Ticker.
 */

:root {
    /* Brand Logo Identity (Customizable via WordPress Admin Settings) */
    --kb-brand-primary: #074AA9;
    --kb-brand-hover: #05367a;
    --kb-brand-glow: rgba(7, 74, 169, 0.35);
    --kb-brand-subtle: rgba(7, 74, 169, 0.16);
    --kb-brand-border: rgba(7, 74, 169, 0.45);

    --kb-amber-primary: #d97706;
    --kb-amber-light: #f59e0b;
    --kb-amber-gold: #fbbf24;
    --kb-amber-dark: #b45309;
    --kb-malt-copper: #92400e;
    --kb-amber-glow: rgba(217, 119, 6, 0.28);
    --kb-beer-gold: #fbb034;
    --kb-beer-deep: #b45309;
    --kb-stout-dark: #0a0d12;
    --kb-cellar-900: #0d1117;
    --kb-cellar-800: #141922;
    --kb-cellar-700: #1c2330;
    --kb-foam-white: #ffffff;
    --kb-foam-cream: #faf5eb;
    --kb-foam-shadow: rgba(0, 0, 0, 0.12);
    --kb-dark-surface: #12161f;
    --kb-glass-border: rgba(255, 255, 255, 0.10);
    --kb-copper-border: rgba(217, 119, 6, 0.32);
    --kb-text-light: #f8fafc;
    --kb-text-body: #e2e8f0;
    --kb-text-muted: #94a3b8;
    --kb-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --kb-radius-badge: 4px;
    --kb-radius-card: 12px;
    --kb-radius-btn: 6px;
}

/* ==========================================================================
   1. LIQUID TILT & SCROLL HERO SECTION
   ========================================================================== */

.kb-liquid-hero,
.colibri-hero {
    position: relative !important;
    width: 100%;
    min-height: var(--kb-hero-height, 580px);
    overflow: hidden !important;
    /* Realistic Chilled Pint Glass Aesthetic:
       1. Left & right curved cylindrical rim reflections
       2. Diagonal glass glare sheen
       3. Warm amber/golden refraction glow radiating upwards from the beer liquid
       4. Chilled crystal glass base tone */
    background: 
        /* Left & Right Glass Rim Curved Reflections */
        linear-gradient(90deg, 
            rgba(255, 255, 255, 0.14) 0%, 
            rgba(255, 255, 255, 0.04) 2%, 
            rgba(0, 0, 0, 0.25) 5%, 
            transparent 12%, 
            transparent 88%, 
            rgba(0, 0, 0, 0.25) 95%, 
            rgba(255, 255, 255, 0.04) 98%, 
            rgba(255, 255, 255, 0.14) 100%
        ),
        /* Diagonal Ambient Glass Glare Sheen */
        linear-gradient(115deg, 
            transparent 18%, 
            rgba(255, 255, 255, 0.09) 30%, 
            rgba(255, 255, 255, 0.02) 40%, 
            transparent 50%, 
            rgba(255, 255, 255, 0.06) 66%, 
            transparent 76%
        ),
        /* Warm Amber/Gold Light Radiating Upward from Foaming Beer into the Glass Headspace */
        radial-gradient(ellipse 95% 75% at 50% 74%, 
            rgba(245, 158, 11, 0.28) 0%, 
            rgba(217, 119, 6, 0.15) 30%, 
            rgba(25, 32, 44, 0.75) 65%, 
            #0b0e14 100%
        ),
        /* Chilled Frosted Glass Depth Base */
        linear-gradient(180deg, #12161f 0%, #171d29 45%, #0e1218 100%) !important;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.2), inset 0 0 50px rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
}

/* Glass Specular Glare Streaks */
.kb-glass-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: 
        /* Vertical cylindrical glass curved highlights */
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.05) 12%, 
            rgba(255, 255, 255, 0.16) 15%, 
            rgba(255, 255, 255, 0.03) 19%, 
            transparent 30%, 
            transparent 70%, 
            rgba(255, 255, 255, 0.05) 80%, 
            rgba(255, 255, 255, 0.14) 84%, 
            transparent 92%
        );
    opacity: 0.85;
}

/* Chilled Glass Micro-Condensation Droplets */
.kb-glass-condensation {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(circle at 12px 14px, rgba(255, 255, 255, 0.4) 1px, rgba(255, 255, 255, 0.08) 2px, transparent 3px),
        radial-gradient(circle at 38px 32px, rgba(255, 255, 255, 0.3) 1.2px, rgba(255, 255, 255, 0.06) 2.5px, transparent 3.5px),
        radial-gradient(circle at 72px 18px, rgba(255, 255, 255, 0.45) 1.5px, rgba(255, 255, 255, 0.1) 3px, transparent 4px),
        radial-gradient(circle at 58px 68px, rgba(255, 255, 255, 0.35) 1px, rgba(255, 255, 255, 0.07) 2px, transparent 3px),
        radial-gradient(circle at 94px 44px, rgba(255, 255, 255, 0.4) 1.8px, rgba(255, 255, 255, 0.09) 3px, transparent 4.5px);
    background-size: 110px 90px;
    opacity: 0.55;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.2) 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.2) 75%, transparent 100%);
}

/* Polished Top Rim of Pint Glass */
.kb-glass-rim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 10%, 
        rgba(255, 255, 255, 0.75) 50%, 
        rgba(255, 255, 255, 0.3) 90%, 
        transparent 100%
    );
    box-shadow: 0 1px 8px rgba(255, 255, 255, 0.45);
    z-index: 2;
    pointer-events: none;
}

.kb-liquid-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    font-family: var(--kb-font-sans);
    color: var(--kb-text-light);
}

/* Colibri Sticky Navigation: Pin to top and keep sleek dark translucent aesthetic on scroll */
#colibri .h-navigation_sticky,
.h-navigation_sticky,
#navigation.h-navigation_sticky,
.kb-is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    background-color: rgba(11, 15, 23, 0.96) !important;
    background-image: none !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    transition: background-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Offset for WordPress Admin Bar if user is logged in */
body.admin-bar #colibri .h-navigation_sticky,
body.admin-bar .h-navigation_sticky,
body.admin-bar #navigation.h-navigation_sticky,
body.admin-bar .kb-is-sticky {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar #colibri .h-navigation_sticky,
    body.admin-bar .h-navigation_sticky,
    body.admin-bar #navigation.h-navigation_sticky,
    body.admin-bar .kb-is-sticky {
        top: 46px !important;
    }
}




/* Colibri Hero Compatibility: Make theme overlays transparent and elevate content */
.colibri-hero .style-overlay,
.colibri-hero .colibri-overlay,
.colibri-hero [class*="overlay"],
.colibri-hero [data-colibri-component="overlay"] {
    background: transparent !important;
    pointer-events: none !important;
}

.colibri-hero > *:not(.kb-liquid-viewport),
.colibri-hero .h-section-boxed-container,
.colibri-hero .h-section-global-spacing,
.colibri-hero .h-column__content,
.colibri-hero .colibri-row,
.colibri-hero .colibri-column,
.colibri-hero .header-hero-content,
.colibri-hero h1,
.colibri-hero h2,
.colibri-hero h3,
.colibri-hero p,
.colibri-hero a,
.colibri-hero .btn,
.colibri-hero button {
    position: relative !important;
    z-index: 2 !important;
}

.colibri-hero .kb-liquid-viewport {
    z-index: 1 !important;
}

.kb-liquid-hero,
.colibri-hero,
#hero {
    position: relative !important;
    overflow: hidden !important;
    contain: paint !important;
    clip-path: inset(0 0 0 0) !important;
    -webkit-clip-path: inset(0 0 0 0) !important;
}

.kb-liquid-hero *,
.kb-liquid-hero *::before,
.kb-liquid-hero *::after {
    box-sizing: border-box;
}

/* Fluid Viewport container that tilts and responds to gyro/scroll */
.kb-liquid-viewport {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    overflow: hidden !important;
    clip-path: inset(0 0 0 0) !important;
    -webkit-clip-path: inset(0 0 0 0) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    perspective: 1000px;
}

/* Dynamic surface receiving transform updates */
.kb-liquid-surface {
    position: absolute;
    top: -80px;
    bottom: -80px;
    left: -35%;
    right: -35%;
    width: 170%;
    transform-origin: 50% 54%;
    will-change: transform;
    pointer-events: none;
    /* Continuous 60fps LERP transform - no CSS transition delay */
    transition: none !important;
}

/* Layered Waves simulating craft liquid and creamy foam */
.kb-wave {
    position: absolute;
    left: -15%;
    width: 130%;
    transform-origin: center bottom;
    will-change: transform;
}

/* Wave 1: Deep Amber Base - Sits at natural 54% fill level */
.kb-wave-deep {
    bottom: 0;
    height: 54%;
    opacity: 0.95;
    background: linear-gradient(180deg, #d97706 0%, #b45309 30%, #78350f 70%, #451a03 100%);
    border-radius: 44% 46% 0 0 / 8% 10% 0 0;
    animation: kb-wave-sway-deep 11s ease-in-out infinite alternate;
    z-index: 1;
}

/* Wave 2: Sparkling Golden Ale - Sits at natural 54% fill level */
.kb-wave-mid {
    bottom: 0;
    height: 54%;
    opacity: 0.92;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 25%, #d97706 65%, #92400e 100%);
    border-radius: 48% 44% 0 0 / 6% 8% 0 0;
    animation: kb-wave-sway-mid 7s ease-in-out infinite alternate;
    z-index: 2;
}

/* Wave 3: Thick Creamy Foam Head - Tops the liquid right at 54% */
.kb-wave-foam {
    bottom: calc(54% - 15px);
    height: 50px;
    background: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #fffbf0 60%, #fef3c7 100%);
    border-radius: 50% 50% 0 0 / 22px 22px 0 0;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 -3px 8px rgba(217, 119, 6, 0.2),
        inset 0 3px 6px #ffffff;
    animation: kb-wave-sway-foam 5.5s ease-in-out infinite alternate;
    z-index: 3;
}

/* Froth micro-texture */
.kb-foam-froth {
    position: absolute;
    bottom: calc(54% - 10px);
    left: 0;
    width: 100%;
    height: 22px;
    background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.9) 2px, transparent 0),
                radial-gradient(circle at 25px 20px, rgba(254, 243, 199, 0.7) 3px, transparent 0);
    background-size: 30px 24px;
    opacity: 0.85;
    z-index: 4;
}

/* Effervescent Rising Bubbles - Contained strictly within the liquid */
.kb-bubbles-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 54%;
    pointer-events: none;
    overflow: hidden;
    transform-origin: 50% 54%;
    will-change: transform;
    transition: none !important;
    z-index: 2;
}

.kb-bubble {
    position: absolute;
    bottom: 0;
    left: var(--x, 50%);
    width: var(--s, 10px);
    height: var(--s, 10px);
    background: radial-gradient(circle at 30% 30%, #ffffff, rgba(254, 243, 199, 0.5) 60%, rgba(217, 119, 6, 0.2));
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
    animation: kb-bubble-rise var(--d, 4s) cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: var(--delay, 0s);
}

/* Glass Sheen overlay giving depth */
.kb-glass-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, transparent 28%, transparent 70%, rgba(255, 255, 255, 0.05) 100%),
        radial-gradient(circle at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
    z-index: 3;
}

/* Hero Content Area */
.kb-hero-content-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1140px;
    padding: 60px 24px;
    text-align: center;
    margin: 0 auto;
}

.kb-hero-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(14, 16, 20, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 42px 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.kb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 23, 28, 0.75);
    border: 1px solid var(--kb-glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fef3c7;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.kb-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--kb-amber-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--kb-amber-primary);
}

.kb-hero-title {
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.kb-hero-subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.5;
    color: #e5e7eb;
    margin: 0 0 36px 0;
    max-width: 680px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.kb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 18px;
}

.kb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.kb-btn-primary {
    background: var(--kb-brand-primary, #074AA9);
    background: linear-gradient(135deg, var(--kb-brand-primary, #074AA9) 0%, var(--kb-brand-hover, #05367a) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.kb-btn-primary:hover {
    background: var(--kb-brand-hover, #05367a);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--kb-brand-glow, rgba(7, 74, 169, 0.4));
    color: #ffffff;
}

.kb-btn-secondary {
    background: rgba(20, 23, 28, 0.7);
    color: #ffffff;
    border: 1px solid var(--kb-glass-border);
    backdrop-filter: blur(8px);
}

.kb-btn-secondary:hover {
    background: rgba(30, 35, 45, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.kb-gyro-enable-btn {
    margin-top: 16px;
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid var(--kb-amber-primary);
    color: #fef3c7;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    animation: kb-pulse-btn 2.5s infinite;
}

.kb-gyro-enable-btn:hover {
    background: var(--kb-amber-primary);
    color: #120902;
    transform: translateY(-2px);
}

.kb-beer-level-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fef3c7;
    margin-top: 14px;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@keyframes kb-pulse-btn {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 16px var(--kb-amber-glow);
    }
}


/* ==========================================================================
   2. DYNAMIC "5 O'CLOCK SOMEWHERE" BANNER
   ========================================================================== */

/* Neutralize any Colibri reddish/tan wrapper backgrounds around the widget */
#overlappable,
#overlappable .style-380,
#overlappable .h-row-container,
#overlappable .h-column__inner,
.style-380:has(#kulpmont-time-banner),
.h-row-container:has(#kulpmont-time-banner),
.h-column__inner:has(#kulpmont-time-banner),
.h-element:has(#kulpmont-time-banner),
[data-colibri-id="5-c2"],
[data-colibri-id="5-c3"],
[data-colibri-id="5-c4"],
[data-colibri-id="5-c5"],
[data-colibri-id="5-c8"],
[data-colibri-id="5-c222"] {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

#colibri .style-380:has(#kulpmont-time-banner),
#colibri [data-colibri-id="5-c3"] {
    background-color: transparent !important;
    box-shadow: none !important;
}

.kb-time-banner {
    position: relative;
    width: 100%;
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--kb-font-sans);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 20px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}

.kb-time-banner *,
.kb-time-banner *::before,
.kb-time-banner *::after {
    box-sizing: border-box;
}

/* Theme Dark (Default) - Cellar Slate */
.kb-time-banner.kb-theme-dark {
    background: linear-gradient(135deg, #0d1117 0%, #151b24 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #d97706;
    color: #ffffff;
}

/* Theme Amber - Warm Roasted Malt */
.kb-time-banner.kb-theme-amber {
    background: linear-gradient(135deg, #241406 0%, #120902 100%);
    border: 1px solid rgba(217, 119, 6, 0.35);
    border-left: 4px solid #f59e0b;
    color: #ffffff;
}

/* Theme Glass */
.kb-time-banner.kb-theme-glass {
    background: rgba(16, 21, 29, 0.88);
    border: 1px solid rgba(217, 119, 6, 0.28);
    border-left: 4px solid #d97706;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
}

.kb-time-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 20px;
}

.kb-time-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.kb-live-pulse-dot {
    position: relative;
    width: 9px;
    height: 9px;
    background-color: #10b981;
    border-radius: 50%;
    flex-shrink: 0;
}

.kb-live-pulse-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #10b981;
    opacity: 0.8;
    animation: kb-pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.kb-banner-tag {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #fbbf24;
    background: rgba(217, 119, 6, 0.16);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(217, 119, 6, 0.32);
    white-space: nowrap;
}

.kb-time-message {
    flex: 1 1 300px;
    font-size: 15px;
    line-height: 1.45;
    color: #e5e7eb;
}

.kb-dynamic-text strong {
    color: #ffffff;
}

.kb-dynamic-text .kb-highlight-time {
    color: var(--kb-amber-primary);
    font-weight: 700;
}

.kb-dynamic-text .kb-highlight-city {
    color: #60a5fa;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.kb-time-action {
    display: inline-flex;
    align-items: center;
}

.kb-quick-call {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.kb-quick-call:hover {
    background: var(--kb-amber-primary);
    color: #120902;
    border-color: var(--kb-amber-primary);
}


/* ==========================================================================
   3. LIVE "NEW ARRIVAL" TICKER WITH TEXT-TO-HOLD
   ========================================================================== */

/* Ensure parent Colibri containers do not clip full-width edge-to-edge breakout */
.h-section:has(.kb-ticker-wrapper),
.h-column:has(.kb-ticker-wrapper),
.h-column__content:has(.kb-ticker-wrapper),
.h-section__inner:has(.kb-ticker-wrapper),
.h-row:has(.kb-ticker-wrapper),
.h-element:has(.kb-ticker-wrapper) {
    overflow: visible !important;
}

.kb-ticker-wrapper {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: #0d1117 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 18px rgba(0, 0, 0, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    font-family: var(--kb-font-sans) !important;
    padding: 10px 18px !important;
    box-sizing: border-box !important;
}

@supports (margin-left: calc(-50vw + 50%)) {
    .kb-ticker-wrapper {
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        left: 0 !important;
        right: 0 !important;
    }
}

.kb-ticker-wrapper *,
.kb-ticker-wrapper *::before,
.kb-ticker-wrapper *::after {
    box-sizing: border-box;
}

.kb-ticker-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
    color: #ffffff;
    padding: 7px 12px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.25);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 5;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.kb-ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.kb-ticker-pill + .kb-ticker-viewport {
    margin-left: 14px;
}

.kb-ticker-track {
    display: flex;
    width: max-content;
    animation: kb-marquee var(--kb-ticker-duration, 28s) linear infinite;
    will-change: transform;
}

/* Pause marquee when hovered or focused for accessibility */
.kb-ticker-wrapper:hover .kb-ticker-track,
.kb-ticker-wrapper:focus-within .kb-ticker-track {
    animation-play-state: paused;
}

.kb-ticker-group {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
}

.kb-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
}

.kb-beer-icon {
    font-size: 16px;
}

.kb-beer-name {
    color: #ffffff;
    font-weight: 600;
}

/* Highlight Tag for Ticker Items - Tactile Brewery Badge */
.kb-drop-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(217, 119, 6, 0.16);
    color: #fbbf24;
    border: 1px solid rgba(217, 119, 6, 0.38);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}


/* ==========================================================================
   5. KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes kb-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes kb-wave-sway-deep {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-4%, 3%, 0) rotate(-1.5deg);
    }
}

@keyframes kb-wave-sway-mid {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(5%, -2%, 0) rotate(1.2deg);
    }
}

@keyframes kb-wave-sway-foam {
    0% {
        transform: translate3d(0, 0, 0) scaleY(1);
    }
    100% {
        transform: translate3d(-3%, -4px, 0) scaleY(1.08);
    }
}

@keyframes kb-bubble-rise {
    0% {
        transform: translate3d(0, 0, 0) scale(0.6);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.9;
    }
    100% {
        transform: translate3d(calc(var(--x, 0) * 0.15 - 10px), -460px, 0) scale(1.1);
        opacity: 0;
    }
}

@keyframes kb-pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    70% {
        transform: scale(2.2);
        opacity: 0;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}


/* ==========================================================================
   6. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .kb-wave,
    .kb-wave-deep,
    .kb-wave-mid,
    .kb-wave-foam,
    .kb-bubble,
    .kb-live-pulse-dot::after {
        animation: none !important;
    }

    .kb-ticker-track {
        animation: none !important;
        overflow-x: auto;
        width: 100%;
        max-width: 100%;
    }

    .kb-liquid-surface {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 768px) {
    .kb-time-banner {
        margin: 10px 0 !important;
        border-radius: 10px !important;
    }

    .kb-time-banner-inner {
        flex-direction: column !important;
        align-items: center !important;
        padding: 14px 16px !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .kb-time-badge-group {
        justify-content: center !important;
        width: 100% !important;
    }

    .kb-banner-tag {
        font-size: 11px !important;
        padding: 4px 10px !important;
        letter-spacing: 0.04em !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .kb-time-message {
        width: 100% !important;
        flex: 1 1 100% !important;
        font-size: 13.5px !important;
        line-height: 1.45 !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .kb-time-action {
        display: none !important;
    }

    .kb-quick-call {
        display: none !important;
    }

    .kb-ticker-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .kb-ticker-pill {
        width: 100%;
        justify-content: center;
    }

    .kb-ticker-viewport {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .kb-time-banner-inner {
        padding: 12px 10px !important;
    }

    .kb-banner-tag {
        font-size: 10.5px !important;
    }

    .kb-time-message {
        font-size: 12.5px !important;
    }
}



/* ==========================================================================
   8. STORE STATUS PILL & LIVE HOURS
   ========================================================================== */

.kb-store-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d1117;
    border: 1px solid rgba(217, 119, 6, 0.32);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #f8fafc;
    margin: 8px 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 3px 10px rgba(0, 0, 0, 0.3);
    font-family: var(--kb-font-sans);
    letter-spacing: 0.01em;
}

.kb-status-indicator {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.kb-status-indicator.open {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.kb-status-indicator.closed {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.kb-status-indicator.alert {
    background-color: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
    animation: kb-alert-pulse 2s infinite ease-in-out;
}

@keyframes kb-alert-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

/* ==========================================================================
   8B. WEEKLY STORE HOURS CARD & 7-DAY SCHEDULE
   ========================================================================== */

.kb-weekly-hours-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 20px auto;
    background: #0d1016;
    background: linear-gradient(175deg, #161c26 0%, #0d1016 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 3px solid var(--kb-brand-primary, #074AA9);
    border-radius: 12px;
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 40px rgba(0, 0, 0, 0.55);
    font-family: var(--kb-font-sans);
    color: #ffffff;
    box-sizing: border-box;
}

.kb-weekly-hours-card.kb-theme-glass {
    background: rgba(18, 22, 30, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(255, 255, 255, 0.12);
    border-top: 3px solid var(--kb-brand-primary, #074AA9);
}

.kb-weekly-hours-card.kb-theme-amber {
    background: linear-gradient(175deg, #241406 0%, #0f0802 100%);
    border-color: rgba(217, 119, 6, 0.45);
    border-top: 3px solid #f59e0b;
}

.kb-weekly-hours-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kb-weekly-hours-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb-weekly-hours-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* Full-width store status pill in Weekly Hours Card */
.kb-weekly-hours-card .kb-store-status-pill,
.kb-store-status-pill.kb-status-pill-full {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 16px !important;
    margin: 0 0 16px 0 !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    background: #0d1117 !important;
    border: 1px solid rgba(217, 119, 6, 0.32) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 3px 10px rgba(0, 0, 0, 0.35) !important;
}

.kb-hours-alert-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fca5a5;
    line-height: 1.4;
}

.kb-weekly-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kb-weekly-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14.5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.kb-weekly-hours-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Today's row highlighted with Logo Brand Color */
.kb-weekly-hours-row.kb-row-today {
    background: linear-gradient(90deg, var(--kb-brand-subtle, rgba(7, 74, 169, 0.20)) 0%, rgba(7, 74, 169, 0.04) 100%);
    border: 1px solid var(--kb-brand-border, rgba(7, 74, 169, 0.45));
    border-left: 3px solid var(--kb-brand-primary, #074AA9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.kb-day-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #f3f4f6;
}

.kb-row-today .kb-day-name {
    color: #ffffff;
    font-weight: 700;
}

.kb-today-tag {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--kb-brand-primary, #074AA9);
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 3px;
    line-height: 1.3;
    box-shadow: 0 1px 4px var(--kb-brand-glow, rgba(7, 74, 169, 0.4));
}

.kb-day-time {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #e5e7eb;
}

.kb-row-today .kb-day-time {
    color: #ffffff;
    font-weight: 700;
}

.kb-closed-badge {
    color: #ef4444;
    font-weight: 600;
    font-size: 13px;
    background: rgba(239, 68, 68, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
}

.kb-weekly-hours-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.45;
}

@media (max-width: 480px) {
    .kb-weekly-hours-card {
        padding: 16px 14px;
        border-radius: 12px;
    }

    .kb-weekly-hours-row {
        padding: 8px 10px;
        font-size: 13px;
    }

    .kb-weekly-hours-title {
        font-size: 16px;
    }
}

/* ==========================================================================
   9. INTERACTIVE TAP / CLICK BUBBLE SPAWN
   ========================================================================== */

.kb-interactive-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.kb-spawned-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, rgba(254, 243, 199, 0.6) 60%, rgba(217, 119, 6, 0.3));
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.7);
    pointer-events: none;
    animation: kb-spawn-float 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes kb-spawn-float {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.9;
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 140px)) scale(1.2);
        opacity: 0;
    }
}

/* ==========================================================================
   10. 21+ AGE VERIFICATION GATE & MODAL SYSTEM
   ========================================================================== */

.kb-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(5, 7, 10, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none !important; /* Strictly hidden unless .kb-modal-open is present */
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    z-index: 1000000 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.kb-modal-backdrop.kb-modal-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.kb-modal-locked {
    overflow: hidden !important;
}

.kb-modal-window {
    position: relative;
    background: #0d1016 !important;
    background: linear-gradient(180deg, #161b24 0%, #0d1016 100%) !important;
    border: 1px solid rgba(217, 119, 6, 0.35) !important;
    border-top: 3px solid #d97706 !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: auto !important;
    padding: 32px 28px 24px 28px !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 25px 60px rgba(0, 0, 0, 0.92), 0 0 35px rgba(217, 119, 6, 0.2) !important;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--kb-font-sans);
    text-align: center;
}

.kb-modal-backdrop.kb-modal-open .kb-modal-window {
    transform: scale(1) translateY(0);
}

.kb-age-header {
    padding: 0 0 16px 0;
    text-align: center;
}

.kb-age-icon {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(217, 119, 6, 0.35));
}

.kb-age-header h2 {
    font-size: 26px !important;
    font-weight: 800 !important;
    margin: 0 0 6px 0 !important;
    color: #ffffff !important;
    font-family: var(--kb-font-sans) !important;
    letter-spacing: -0.01em;
}

.kb-age-sub {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.kb-modal-body {
    padding: 6px 0 16px 0;
    text-align: center;
}

.kb-age-notice {
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #e2e8f0 !important;
    margin: 0 0 24px 0 !important;
}

.kb-age-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kb-age-actions .kb-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    text-shadow: none !important;
    letter-spacing: 0.03em;
}

.kb-age-actions .kb-btn-primary {
    background: var(--kb-brand-primary, #074AA9) !important;
    background: linear-gradient(135deg, var(--kb-brand-primary, #074AA9) 0%, var(--kb-brand-hover, #05367a) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

.kb-age-actions .kb-btn-primary:hover {
    background: var(--kb-brand-hover, #05367a) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 20px var(--kb-brand-glow, rgba(7, 74, 169, 0.4)) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.kb-age-actions .kb-btn-secondary {
    background: rgba(22, 28, 38, 0.8) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.kb-age-actions .kb-btn-secondary:hover {
    background: rgba(30, 38, 52, 0.95) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-1px);
}

.kb-modal-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.kb-disclaimer {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #9ca3af !important;
    margin: 0 !important;
}


/* ==========================================================================
   12. DYNAMIC CONTACT VARIABLES & ACCESSIBLE LINK STYLING
   ========================================================================== */

.kb-contact-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease, text-shadow 0.2s ease;
}

.kb-contact-link:hover,
.kb-contact-link:focus-visible {
    color: var(--kb-amber-primary);
    text-decoration-color: var(--kb-amber-primary);
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
    outline: none;
}

.kb-phone-link {
    white-space: nowrap;
}

.kb-phone-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    white-space: nowrap;
}

.kb-phone-svg {
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
    vertical-align: -0.15em;
    stroke: currentColor;
    fill: none;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.kb-phone-with-icon:hover .kb-phone-svg,
.kb-phone-with-icon:focus-visible .kb-phone-svg {
    transform: scale(1.12) rotate(-8deg);
}

.kb-phone-text-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    white-space: nowrap;
}

.kb-email-link {
    word-break: break-all;
}

.kb-address-link {
    display: inline;
}

.kb-directions-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: var(--kb-brand-primary, #074AA9) !important;
    background: linear-gradient(135deg, var(--kb-brand-primary, #074AA9) 0%, var(--kb-brand-hover, #05367a) 100%) !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    border: 1px solid var(--kb-brand-primary, #074AA9) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px var(--kb-brand-glow, rgba(7, 74, 169, 0.25)) !important;
    cursor: pointer !important;
}

.kb-directions-btn:hover,
.kb-directions-btn:focus-visible {
    background: var(--kb-brand-hover, #05367a) !important;
    color: #ffffff !important;
    border-color: var(--kb-brand-hover, #05367a) !important;
    box-shadow: 0 4px 16px var(--kb-brand-glow, rgba(7, 74, 169, 0.45)) !important;
    text-shadow: none !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}




