* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #f5f5f5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Skip to main content link - hidden until focused */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: #111827;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 500;
    border-radius: 0 0 4px 0;
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid #C1666B;
    outline-offset: 2px;
}

/* Focus states for all interactive elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #C1666B;
    outline-offset: 2px;
}

button:focus-visible,
.carousel-arrow:focus-visible,
.category-arrow-btn:focus-visible,
.hamburger-menu:focus-visible {
    outline: 3px solid #C1666B;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px #C1666B;
}

a:focus-visible {
    outline: 3px solid #C1666B;
    outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #C1666B;
    outline-offset: 2px;
}

/* Remove default outline for mouse users but keep for keyboard */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible) {
    outline: none;
}

/* Header */
header {
    background: #C1666B !important; /* Always solid burgundy on all devices */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(193, 102, 107, 0.3);
}

header.loaded {
    background: #C1666B !important;
}

header.scrolled {
    background: #C1666B !important;
    box-shadow: 0 2px 8px rgba(193, 102, 107, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header.scrolled nav > a,
header.scrolled .nav-dropdown-toggle {
    font-weight: 300;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 16px;
}

/* Nav Search Bar */
.nav-search-form {
    position: relative;
    flex: 1;
    max-width: 300px;
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 768px) {
    .nav-search-form {
        display: block;
    }
}

.nav-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #C1666B;
    font-size: 12px;
    pointer-events: none;
}

.nav-search-input {
    width: 100%;
    padding: 8px 14px 8px 34px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    outline: none;
    background: #ffffff;
    backdrop-filter: blur(10px);
    color: #8B4049;
    font-size: 13px;
    transition: all 0.3s ease;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.nav-search-input::placeholder {
    color: rgba(139, 64, 73, 0.6);
}

.nav-search-input:focus {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
}

header.scrolled .nav-search-input {
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    border-color: rgba(193, 102, 107, 0.3);
}

header.scrolled .nav-search-input::placeholder {
    color: #9ca3af;
}

header.scrolled .nav-search-icon {
    color: #C1666B;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: transparent;
    display: block;
}

.logo-text h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.logo-text p {
    font-size: 13px;
    color: #e5e7eb;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Ensure header is always burgundy on mobile */
@media (max-width: 767px) {
    header {
        background: #C1666B !important;
    }
    
    header.loaded,
    header.scrolled {
        background: #C1666B !important;
    }
    
    /* Ensure hamburger menu lines are white on burgundy background */
    .hamburger-menu span {
        background: #fff !important;
    }
}

@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
}

nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #C1666B;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

nav.mobile-open {
    display: flex;
}

nav > a,
.nav-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

@media (max-width: 768px) {
    nav > a {
        color: #fff !important;
        text-shadow: none !important;
        font-weight: 400 !important;
        font-size: 16px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

nav > a:last-child {
    border-bottom: none;
}

.nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
}

@media (min-width: 768px) {
    nav {
        display: flex;
        position: static;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
        padding: 0;
        gap: 8px;
        align-items: center;
    }
    
    nav > a,
    .nav-dropdown {
        width: auto;
        border-bottom: none;
        padding: 8px 12px;
    }

    nav > a {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 300;
        padding: 8px 12px;
        transition: all 0.3s ease;
        border-radius: 4px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }

    nav > a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.3s ease;
    margin-left: 8px;
    vertical-align: middle;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #030303;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 100;
    display: none;
    overflow: hidden;
    padding: 4px 0;
}

@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        margin-top: 8px;
        margin-left: 16px;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        min-width: auto;
        width: calc(100% - 32px);
    }
    
    nav > a,
    .nav-dropdown-toggle {
        color: #fff;
        text-shadow: none !important;
        font-weight: 400 !important;
        font-size: 16px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .nav-dropdown-menu a {
        color: #fff !important;
        font-weight: 400 !important;
        text-shadow: none !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .nav-dropdown-menu a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
    }
}

.nav-dropdown.active .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #aaaaaa;
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: none;
    color: #fff;
    padding-left: 24px;
}

.nav-dropdown-toggle {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .nav-dropdown-toggle {
        text-shadow: none !important;
        font-weight: 400 !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

.nav-dropdown-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Install App Button Container */
.install-app-container {
    display: none; /* Hidden by default, shown by JavaScript when install prompt is available */
    align-items: center;
    gap: 8px;
    position: relative;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
    z-index: 10;
}

.install-app-container.install-prompt-visible {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Install App Button */
.install-app-btn {
    display: block;
    background: #C1666B;
    border: 1px solid #C1666B;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.install-app-btn:hover {
    background: #A8555A;
    border-color: #A8555A;
    box-shadow: 0 2px 8px rgba(193, 102, 107, 0.3);
}

.install-app-btn:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Dismiss Button */
.install-app-dismiss {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    margin: 0;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    opacity: 0.8;
}

.install-app-dismiss:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.install-app-dismiss:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .install-app-container {
        gap: 6px;
        flex-wrap: nowrap;
        max-width: 100%;
        align-items: flex-start;
    }
    
    /* Ensure container is visible when shown via JavaScript */
    #installBtnContainer.install-prompt-visible {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .install-app-btn {
        padding: 10px 12px;
        font-size: 12px;
        min-width: auto;
        max-width: 100px;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
        text-align: center;
        flex: 1 1 auto;
    }
    
    .install-app-dismiss {
        width: 24px;
        height: 24px;
        font-size: 20px;
        padding: 2px 6px;
    }
    
    /* Hide install button in nav on mobile */
    nav button.install-app-btn {
        display: none !important;
    }
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.3s ease;
    margin-left: 8px;
    vertical-align: middle;
    opacity: 0.8;
}

/* Main Container */
main {
    max-width: 100%;
    margin: 0;
    padding: 120px 0 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.intro-hero {
    position: relative;
    margin: 0;
    padding: 32px 5vw 16px;
    width: 100%;
    background: #C1666B;
    color: #ffffff;
}

.intro-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.intro-hero h1 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.6px;
    margin: 0 0 28px;
}

.intro-hero__inner > p {
    font-size: 26px;
    max-width: 860px;
    margin: 0 0 24px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
}

.intro-hero .intro-content {
    max-width: 860px;
    margin: 0;
}

.intro-hero .intro-content p {
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hero {
    margin-bottom: 0;
    background: #ffffff;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    position: relative;
    margin-top: 0;
}

@media (max-width: 992px) {
    .hero {
        min-height: 300px;
    }

    .intro-hero {
        padding: 36px 28px 24px;
        margin: 0;
    }

    .intro-hero h1 {
        font-size: 58px;
    }

    .intro-hero__inner > p {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .intro-hero .intro-content p {
        font-size: 20px;
    }
}

.activities-section {
    padding: 20px 24px;
    padding-top: 8px;
    max-width: 1400px;
    margin: 0 auto;
}

.categories-list > .category-section:first-child {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .categories-list > .category-section:first-child {
        margin-top: 24px;
    }

    .intro-hero {
        padding: 32px 20px 20px;
        margin: 0;
    }

    .intro-hero h1 {
        font-size: 44px;
    }

    .intro-hero__inner > p {
        font-size: 22px;
        margin-bottom: 22px;
    }

    .intro-hero .intro-content p {
        font-size: 20px;
    }
}

/* Explore Bar - Sticky pills */
.explore-bar {
    position: sticky;
    top: 70px; /* Header height */
    z-index: 40;
    background: transparent;
    padding: 12px 16px;
    margin-bottom: 12px;
    box-shadow: none;
    color: inherit;
}

@media (max-width: 768px) {
    .explore-bar {
        top: 30px;
        padding: 6px 16px;
        margin-bottom: 6px;
    }
}

.explore-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-by-dropdown {
    position: relative;
}

.filter-by-btn {
    border-radius: 9999px;
    border: 1px solid #C1666B;
    background: transparent;
    color: #8B4049;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-by-btn:hover {
    background: rgba(193, 102, 107, 0.08);
}

.filter-by-btn .dropdown-arrow {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: currentColor;
    transition: transform 0.3s ease;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1;
    /* Override general dropdown-arrow triangle styles */
    width: auto !important;
    height: auto !important;
    border: none !important;
    opacity: 1 !important;
    /* Hide any text content inside the span */
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.filter-by-btn .dropdown-arrow::before {
    content: 'V';
    display: inline-block;
    font-size: 14px;
    text-indent: 0;
    vertical-align: middle;
}

.filter-by-btn .dropdown-arrow::after {
    display: none; /* Remove any ::after content */
}

.filter-by-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.category-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    max-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    padding: 12px;
}

.category-filter-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-filter-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
    font-size: 15px;
    color: #111827;
    font-weight: 400;
    line-height: 1.4;
    min-width: 0;
}

.category-filter-item:hover {
    background: rgba(193, 102, 107, 0.08);
}

.category-filter-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #C1666B;
    flex-shrink: 0;
    margin: 0;
}

.category-filter-item span {
    flex: 1;
    user-select: none;
    color: #111827;
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

.explore-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
}

.explore-pills::-webkit-scrollbar {
    display: none;
}

.pill,
.pill-clear,
.pill-block {
    border-radius: 9999px;
    border: 1px solid #C1666B;
    background: transparent;
    color: #8B4049; /* Improved contrast against white background */
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

/* Near Me loading state */
.pill.pill-loading {
    opacity: 0.7;
    position: relative;
}
.pill.pill-loading::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid rgba(193,102,107,0.35);
    border-top-color: #C1666B;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pill-search {
    padding: 6px 10px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
}

.pill-search .icon-magnifier {
    font-size: 12px;
}

.pill:hover,
.pill:active {
    background: rgba(193, 102, 107, 0.08);
}

.pill-active {
    background: #C1666B !important;
    color: #ffffff !important;
    border-color: #C1666B !important;
}

/* Override :active state when pill is active */
.pill-active:active {
    background: #C1666B !important;
    color: #ffffff !important;
}

.pill-clear {
    background: transparent;
    border-color: transparent;
    color: #8B4049; /* Improved contrast */
    text-decoration: underline;
    padding-left: 0;
}

.pill-more {
    padding-right: 18px;
}

/* More Filters overlay */
.more-filters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.more-filters-modal {
    width: 92%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.more-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 8px 16px;
}

.more-filters-body {
    padding: 8px 16px 16px 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.more-filters-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #111827;
}

.more-filters-actions {
    padding: 0 16px 16px 16px;
}

.more-filters-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@media (min-width: 992px) {
    .explore-inner {
        gap: 12px;
    }
}
/* Desktop: Show 4 cards exactly */
@media (min-width: 1320px) {
    .carousel-container {
        max-width: 1320px; /* 4 cards (300px) + 3 gaps (20px) = 1320px */
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .activities-section {
        padding: 24px 16px;
        padding-top: 48px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

.hero::before {
    display: none;
}

.hero h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 72px;
    font-weight: 300;
    color: #111827;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 19px;
    color: #4b5563;
    font-weight: 400;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 24px 0;
}

.hero-search-form {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    margin-top: 0;
}

.search-btn-group {
    display: flex;
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.search-input {
    flex: 1;
    padding: 17px 24px;
    border: none;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #111827;
    background: #fff;
    outline: none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    padding: 17px 32px;
    border: none;
    background: #C1666B;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.search-btn:hover {
    background: #8B4049;
}

.search-icon {
    font-size: 18px;
}

.nearme-btn {
    margin-top: 12px;
    padding: 12px 32px;
    border: none;
    background: #C1666B;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.nearme-btn:hover {
    background: #8B4049;
}

/* Activity Grid */
.activities-section h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 47px;
    font-weight: 300;
    color: #111827;
    margin-bottom: 24px;
}


.no-results {
    background: #FDFCFB;
    border-radius: 3px;
    padding: 48px 24px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.no-results p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 24px 0;
}

.suggest-activity-btn {
    display: inline-block;
    background: #C1666B;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 3px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.suggest-activity-btn:hover {
    background: #8B4049;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(193, 102, 107, 0.3);
}

.suggest-activity-btn:active {
    transform: translateY(0);
}

/* Categories List */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-section {
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.category-section:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.category-arrow-btn {
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px;
    margin-left: 0;
    flex-shrink: 0;
    align-self: center;
    margin-top: 8px;
    gap: 6px;
}

.category-arrow-btn .arrow-head {
    width: 16px;
    height: 16px;
    color: #C1666B;
    display: block;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-arrow-btn .see-all-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #C1666B;
    transition: all 0.3s ease;
}

.category-arrow-btn:hover .see-all-text {
    color: #8B4049;
}

.category-arrow-btn:hover {
    transform: scale(1.15);
}

.category-arrow-btn:hover .arrow-head {
    color: #8B4049;
}

.category-arrow-btn:active {
    transform: scale(0.95);
}

.category-title {
    font-family: 'Roboto', sans-serif;
    font-size: 35px;
    font-weight: 400;
    color: #111827;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-top: 12px;
    line-height: 1.2;
    word-break: break-word;
}

.category-title::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #C1666B;
}

.new-activities-note {
    margin-top: 48px;
    margin-bottom: 24px;
    text-align: center;
    padding: 0 24px;
}

.new-activities-note em {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-style: italic;
    color: #6b7280;
    font-weight: 300;
}


/* Horizontal Carousel */
.carousel-container {
    position: relative;
    padding-top: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
}

/* Ensure carousel arrows are visible above the container */
.carousel-container {
    overflow: visible;
}

.carousel-container .activities-carousel {
    overflow-x: auto;
    overflow-y: hidden;
}

/* Keyboard navigation focus styles for carousel container */
.carousel-container:focus {
    outline: 3px solid #C1666B;
    outline-offset: 2px;
}

.carousel-container:focus:not(:focus-visible) {
    outline: none;
}

.carousel-container:focus-visible {
    outline: 3px solid #C1666B;
    outline-offset: 2px;
}

/* Mobile: horizontal scroll edge indicators - removed gradient fades */
@media (max-width: 768px) {
    .carousel-container::before,
    .carousel-container::after {
        display: none;
    }
}

/* Tablet: Show 3 cards */
@media (min-width: 769px) and (max-width: 1319px) {
    .activity-card {
        min-width: calc((100% - 40px) / 3); /* 3 cards with gap */
        max-width: calc((100% - 40px) / 3);
    }
}

.activities-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 16px;
    padding-right: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    box-sizing: border-box;
}

/* When a category has 4 or fewer items, show all without scroll */
.activities-carousel.no-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow: visible;
    padding-right: 0;
    scroll-snap-type: none;
}

@media (max-width: 1319px) {
    .activities-carousel.no-scroll {
        gap: 16px;
    }
}
 
@media (max-width: 768px) {
    .activities-carousel.no-scroll {
        gap: 12px;
    }
}

/* Desktop: Always show carousel arrows on the right side */
@media (min-width: 769px) {
    .carousel-arrows {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .activities-carousel.no-scroll + .carousel-arrows {
        display: none !important;
    }
}

/* Only hide arrows for no-scroll on mobile, keep them visible on desktop */
@media (max-width: 768px) {
    .activities-carousel.no-scroll + .carousel-arrows {
        display: none !important;
    }
    
    .carousel-arrows {
        display: none !important;
    }
}

.activities-carousel.no-scroll .activity-card {
    min-width: 300px;
    max-width: 300px;
}

.activities-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-arrows {
    position: absolute;
    right: 0;
    top: -40px; /* Position above the carousel */
    display: flex !important;
    flex-direction: row; /* Side by side */
    gap: 4px;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto;
    height: auto;
}



.carousel-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid #C1666B;
    background: rgba(255, 255, 255, 0.9);
    color: #C1666B;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    flex-shrink: 0;
    pointer-events: auto;
    padding: 0;
    line-height: 1;
    visibility: visible;
    opacity: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.carousel-arrow .arrow-head {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
}

.carousel-arrow:hover:not(.carousel-arrow-disabled) {
    color: #8B4049;
    border-color: #8B4049;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(193, 102, 107, 0.3);
}

.carousel-arrow-disabled {
    background: transparent;
    color: #d1d5db;
    border-color: #d1d5db;
    cursor: not-allowed;
}

.carousel-arrow-active {
    color: #C1666B;
    border-color: #C1666B;
}

/* Activity Card */
.activity-card {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 0 30px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .activity-card-distance {
        right: 52px;
    }
}

@media (max-width: 480px) {
    .activity-card-distance {
        right: 46px;
    }
}

/* Removed hover/focus states - cards are containers, not interactive elements */

.activity-card.selected {
    box-shadow: 0px 3px 40px 0 rgba(193, 102, 107, 0.3);
    outline: 2px solid rgba(193, 102, 107, 0.6);
    border-color: #C1666B;
}

.activity-card-highlight {
    outline: 2px solid #C1666B;
    box-shadow: 0 0 0 4px rgba(193, 102, 107, 0.25);
    transition: box-shadow 0.3s ease, outline 0.3s ease;
}


.activity-card-image {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.activity-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    aspect-ratio: 300 / 240;
    max-width: 100%;
}

/* Adjust Winedown Wednesday and Sets in the City images to show more of bottom */
.activity-card-img[src*="Stand-up-Wednesday"] {
    object-position: center bottom;
}

.activity-card-img[src*="Punchline-Comedy-Thursday"] {
    object-position: center bottom;
}

/* Adjust Nairobi Orchestra image to show more of top */
.activity-card-img[src*="Nairobi-Orchestra"] {
    object-position: center 70%;
}

/* Adjust Jazz After Dark image to show more of top, crop bottom */
.activity-card-img[src*="Jazz-After-Dark"] {
    object-position: center 35%;
}

/* Adjust Saxophone Fridays image to show more of bottom, crop top */
.activity-card-img[src*="Saxophone-Fridays"] {
    object-position: center bottom;
}

/* Adjust Coffee Lab image to show more of bottom, crop top */
.activity-card-img[src*="Coffee-Lab"] {
    object-position: center bottom;
}

/* Adjust Braeburn Theatre image to crop bottom, show more of top */
.activity-card-img[src*="Braeburn-Theatre"] {
    object-position: center 0%;
}

/* Adjust Roots & Rhythms image to crop bottom */
.activity-card-img[src*="Maam-Maam"] {
    object-position: center 20%;
}

/* Adjust The Comedy Criminals image to show more of top */
.activity-card-img[src*="The-Comedy-Criminals"] {
    object-position: center 0%;
}

/* Remove overlay completely - keep images clean */
.activity-card-overlay {
    display: none !important;
}

.activity-card-image:hover .activity-card-overlay {
    display: none !important;
}

/* Remove description toggle button completely - keep images clean */
.description-toggle-btn {
    display: none !important;
}

/* Remove description overlay completely - keep images clean */
.activity-card-description-overlay {
    display: none !important;
    opacity: 0 !important;
    transform: translateY(100%) !important;
    pointer-events: none !important;
}

.activity-card-description-overlay.visible {
    display: none !important;
}

.activity-card-description-overlay.pinned {
    display: none !important;
}

.activity-card-image .activity-card-img + .activity-card-overlay {
    display: none !important;
}

.activity-card-image:not(:has(.activity-card-img)) {
    padding: 8px 16px;
}

.activity-card-checkbox {
    display: none;
}

/* Keep distance badge - it's the only element allowed on images */
.activity-card-distance {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #C1666B;
    color: #ffffff;
    border-radius: 9999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    z-index: 11;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
}

.activity-card-badge {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #C1666B;
    margin-bottom: 6px;
    padding: 0;
    line-height: 1.4;
    letter-spacing: 0.3px;
    word-spacing: 2px;
}

.activity-card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: #111827;
    position: static;
    margin-bottom: 5px;
    text-shadow: none;
    padding: 0;
    line-height: 1.3;
}

.activity-card-info {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    flex-grow: 1;
}

.activity-card-info li {
    color: #737882;
    line-height: 2;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.activity-card-info li span {
    font-size: 16px;
    padding: 7px 8px 0 0;
    color: #737882;
    flex-shrink: 0;
    display: inline-block !important;
    font-family: 'simple-line-icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 16px !important;
    min-height: 16px !important;
}

/* Icon content definitions - Calendar icon */
.icon-calendar::before {
    content: "\e075" !important;
    font-family: 'simple-line-icons', 'Roboto', sans-serif !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 16px !important;
    color: #C1666B !important;
    speak: none !important;
    font-style: normal !important;
    font-weight: normal !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Icon content definitions - Location pin icon */
.icon-location-pin::before {
    content: "\e096" !important;
    font-family: 'simple-line-icons', 'Roboto', sans-serif !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 16px !important;
    color: #C1666B !important;
    speak: none !important;
    font-style: normal !important;
    font-weight: normal !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Icon content definitions - Tag icon for price */
.icon-tag::before {
    content: "\e055" !important;
    font-family: 'simple-line-icons', 'Roboto', sans-serif !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 16px !important;
    color: #C1666B !important;
    speak: none !important;
    font-style: normal !important;
    font-weight: normal !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Direct emoji fallback for mobile - ensures icons always display */
@media (max-width: 768px) {
    .icon-calendar::before {
        content: "📅" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        font-size: 16px !important;
        line-height: 1 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #C1666B !important;
    }
    
    .icon-location-pin::before {
        content: "📍" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        font-size: 16px !important;
        line-height: 1 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #C1666B !important;
    }
    
    .icon-tag::before {
        content: "🏷️" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        font-size: 16px !important;
        line-height: 1 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #C1666B !important;
    }
}

/* Ensure icon spans are visible and properly sized */
.activity-card-info li .icon-calendar,
.activity-card-info li .icon-location-pin {
    font-family: 'simple-line-icons', 'Roboto', sans-serif !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 16px !important;
    color: #C1666B !important;
}

.activity-card-info li .icon-tag {
    font-family: 'simple-line-icons', 'Roboto', sans-serif !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 16px !important;
    color: #C1666B !important;
    speak: none !important;
    font-style: normal !important;
    font-weight: normal !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    width: auto !important;
    height: auto !important;
    min-width: 16px !important;
    min-height: 16px !important;
    line-height: 1 !important;
    position: relative !important;
}

.activity-card-info li p {
    margin: 0;
    color: #737882;
}

.activity-card-info li p a {
    color: #C1666B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.activity-card-info li p a:hover {
    color: #8B4049;
    text-decoration: underline;
}

.activity-card-info li .icon-phone {
    font-size: 16px;
    padding: 7px 8px 0 0;
    color: #C1666B;
    flex-shrink: 0;
    display: inline-block;
    font-family: 'simple-line-icons';
}

.activity-special-button {
    display: inline-block;
    background: #C1666B;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin: auto 12px 0 12px; /* small space on both sides, keep aligned */
    align-self: stretch;
    transition: background 0.3s ease;
    width: calc(100% - 24px); /* account for side margins */
    box-sizing: border-box;
}

.activity-button-spacer {
    margin-top: auto;
    height: 0;
}

.activity-special-button:hover {
    background: #8B4049;
    color: #fff;
}

.activity-card-bottom-icons {
    padding: 15px 0 0;
    line-height: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.activity-card-bottom-icons .ti-heart {
    color: #737882;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.activity-card-bottom-icons .ti-heart:hover {
    color: #C1666B;
}

.activity-card-website {
    margin-top: 10px;
}

.activity-card-website a {
    color: #737882;
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.activity-card-website a:hover {
    color: #C1666B;
    text-decoration: underline;
}

.activity-card-website a .icon-link {
    font-size: 14px;
}

.activity-card-content {
    padding: 22px 0;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    flex: 1;
    background: #FDFCFB;
}

.activity-card-content > *:not(.activity-special-button):not(.activity-button-spacer):not(.activity-card-bullets) {
    padding-left: 20px;
    padding-right: 20px;
}

/* Small bullet list under image (listing-master style) */
.activity-card-bullets {
    padding: 0 20px;
    margin: 8px 0 6px;
    list-style: none;
}
.activity-card-bullets li {
    display: inline;
    color: #C1666B;
    font-size: 15px;
}
.activity-card-bullets li:not(:last-child)::after {
    content: " \2022 ";
    padding: 0 10px;
    color: #C1666B;
}

.activity-card-description {
    display: none; /* Hide in carousel view for cleaner cards */
}

.activity-card-meta {
    font-size: 15px;
    color: #9fa9b9;
    margin-bottom: 5px;
    line-height: 1.5;
}

.activity-card-meta .meta-item {
    display: inline-block;
    color: #9fa9b9;
    margin: 0;
    font-weight: 300;
}

.activity-card-meta .meta-separator {
    color: #9fa9b9;
    padding: 0 10px;
    font-weight: 300;
}

.time-indicator {
    padding: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: transparent;
    color: inherit;
}

.activity-card-tags {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    /* Hidden from UI but still accessible for search functionality */
}

.tag {
    padding: 3px 8px;
    background: #FAF8F6;
    color: #8B4049;
    font-size: 10px;
    border-radius: 3px;
    border: 1px solid #E8D5D0;
}

/* Sidebar */
.sidebar {
    background: #FDFCFB;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    padding: 24px;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #111827;
    margin-bottom: 16px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.clear-btn {
    font-size: 14px;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.clear-btn:hover {
    color: #dc2626;
}

.empty-state {
    text-align: center;
    padding: 32px 0;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.empty-state-text {
    font-size: 16px;
    color: #4b5563;
}

.selected-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.selected-item {
    background: linear-gradient(90deg, #FAF8F6 0%, #F5F1EE 100%);
    border-radius: 3px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.selected-item-header {
    display: flex;
    align-items: start;
    gap: 8px;
}

.selected-item-number {
    width: 24px;
    height: 24px;
    background: #C1666B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.selected-item-name {
    font-weight: 600;
    color: #111827;
    flex: 1;
}

.selected-item-location {
    font-size: 14px;
    color: #4b5563;
    margin-left: 32px;
    margin-top: 4px;
}

.sidebar-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 16px;
}

.sidebar-footer p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 8px;
}

.sidebar-footer strong {
    color: #111827;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #C1666B 0%, #8B4049 100%);
    color: white;
    font-weight: 400;
    padding: 10px 24px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(193, 102, 107, 0.3);
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(193, 102, 107, 0.4);
    transform: translateY(-2px);
}

/* Itinerary Section */
.itinerary {
    margin-top: 48px;
    background: #FDFCFB;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.itinerary h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 47px;
    font-weight: 300;
    color: #111827;
    margin-bottom: 24px;
}

.itinerary-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(90deg, #FDFCFB 0%, #FAF8F6 100%);
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.itinerary-item:last-child {
    margin-bottom: 0;
}

.itinerary-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #C1666B 0%, #8B4049 100%);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 400;
    flex-shrink: 0;
}

.itinerary-content h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #111827;
    margin-bottom: 8px;
}

.itinerary-content p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.5;
}

.itinerary-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #4b5563;
    flex-wrap: wrap;
}

/* Notes Section */
.notes-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.notes-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.notes-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #111827;
    background: #f9fafb;
    resize: vertical;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.notes-textarea:focus {
    outline: none;
    border-color: #C1666B;
    background: #FDFCFB;
    box-shadow: 0 0 0 3px rgba(193, 102, 107, 0.1);
}

.notes-textarea::placeholder {
    color: #9ca3af;
}

.notes-textarea.shared-notes {
    background: #FAF8F6;
    border-color: #E8D5D0;
    color: #4b5563;
}

.itinerary-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn-secondary {
    background: #FDFCFB;
    color: #C1666B;
    font-weight: 400;
    padding: 10px 24px;
    border: 1px solid #C1666B;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-secondary:hover {
    background: rgba(193, 102, 107, 0.05);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #FDFCFB;
    border-radius: 3px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #111827;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #111827;
}

.modal-body {
    padding: 24px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-body p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 16px;
}

/* View All Modal */
.view-all-modal {
    max-width: 1200px;
    width: 95%;
}

.view-all-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}

.view-all-grid .activity-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

@media (max-width: 1024px) {
    .view-all-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .view-all-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .view-all-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.share-link-container {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.share-link-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    font-size: 14px;
    color: #111827;
    background: #f9fafb;
    font-family: 'Roboto', sans-serif;
}

.share-link-input:focus {
    outline: none;
    border-color: #C1666B;
}

.btn-copy {
    padding: 12px 24px;
    background: #C1666B;
    color: white;
    border: none;
    border-radius: 3px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-copy:hover {
    background: #7e22ce;
    transform: translateY(-1px);
}

.share-note {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

/* Response Section */
.response-section {
    animation: fadeIn 0.3s ease;
}

.response-section .response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.response-body {
    margin-top: 16px;
}

.responder-name-input {
    margin-bottom: 20px;
    margin-top: 16px;
}

.responder-name-input .name-input {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.response-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #111827;
    margin: 0;
}

.response-status {
    padding: 8px 16px;
    border-radius: 3px;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
}

.response-status.yes {
    background: #dcfce7;
    color: #166534;
}

.response-status.maybe {
    background: #fef3c7;
    color: #92400e;
}

.response-status.no {
    background: #fee2e2;
    color: #991b1b;
}

.response-body p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 24px;
    text-align: center;
}

.response-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.btn-response {
    padding: 14px 24px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 100px;
    max-width: 180px;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}

.btn-response:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-yes {
    background: #10b981;
    color: white;
}

.btn-yes:hover {
    background: #059669;
}

.btn-maybe {
    background: #f59e0b;
    color: white;
}

.btn-maybe:hover {
    background: #d97706;
}

.btn-no {
    background: #ef4444;
    color: white;
}

.btn-no:hover {
    background: #dc2626;
}

.btn-suggest {
    background: linear-gradient(135deg, #C1666B 0%, #8B4049 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-suggest:hover {
    background: linear-gradient(135deg, #7e22ce 0%, #be185d 100%);
    box-shadow: 0 4px 12px rgba(193, 102, 107, 0.4);
}

.btn-response span {
    font-size: 20px;
}

/* Shared Plan View */
.shared-plan-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px;
    width: 100%;
}

.shared-plan-card {
    background: #FDFCFB;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    padding: 32px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.shared-plan-card-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 32px;
}

.shared-plan-card-header h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 47px;
    font-weight: 300;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.2;
}

.shared-plan-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 12px;
}

.shared-plan-date-time {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.shared-date-time-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: #111827;
    font-weight: 300;
    padding: 12px;
    background: #f9fafb;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.date-time-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.shared-plan-card-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.shared-plan-card-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shared-plan-section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #111827;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shared-plan-activities-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shared-activity-item {
    background: #f9fafb;
    border-radius: 3px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.shared-activity-image {
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    position: relative;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shared-activity-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    max-height: 400px;
    aspect-ratio: 300 / 200;
}

.shared-activity-content {
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: start;
}

.shared-activity-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #C1666B 0%, #8B4049 100%);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 400;
    flex-shrink: 0;
}

.shared-activity-info {
    flex: 1;
}

.shared-activity-info h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: #111827;
    margin-bottom: 8px;
}

.shared-activity-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 8px;
}

.shared-location,
.shared-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shared-activity-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
    margin-top: 8px;
    font-style: italic;
}

.shared-notes-content {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Date Picker Section */
.date-picker-section {
    margin-top: 24px;
    margin-bottom: 24px;
}

.date-input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
    color: #111827;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.date-input:hover {
    border-color: #C1666B;
    background: #FDFCFB;
}

.date-input:focus {
    outline: none;
    border-color: #C1666B;
    background: #FDFCFB;
    box-shadow: 0 0 0 3px rgba(193, 102, 107, 0.1);
}

.date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5);
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    padding: 0;
}

.date-input::-webkit-calendar-picker-indicator:hover {
    filter: invert(0.3);
}

/* Time Picker Section */
.time-picker-section {
    margin-top: 24px;
    margin-bottom: 24px;
}

.time-input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
    color: #111827;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.time-input:hover {
    border-color: #C1666B;
    background: #FDFCFB;
}

.time-input:focus {
    outline: none;
    border-color: #C1666B;
    background: #FDFCFB;
    box-shadow: 0 0 0 3px rgba(193, 102, 107, 0.1);
}

.time-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5);
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    padding: 0;
}

.time-input::-webkit-calendar-picker-indicator:hover {
    filter: invert(0.3);
}

/* Time picker dropdown alignment */
input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 1;
}

/* Ensure time picker columns are aligned */
.time-input::-webkit-datetime-edit-hour-field,
.time-input::-webkit-datetime-edit-minute-field {
    text-align: center;
    padding: 0;
}

.time-input::-webkit-datetime-edit-ampm-field {
    margin-left: 4px;
}

/* Name Input Section */
.share-name-section {
    margin-top: 24px;
}

.name-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
    color: #111827;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.name-input:focus {
    outline: none;
    border-color: #C1666B;
    background: #FDFCFB;
    box-shadow: 0 0 0 3px rgba(193, 102, 107, 0.1);
}

/* Mobile Responsive Styles */

/* Medium mobile devices: 481px - 768px (2 cards per row, bigger) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Activity cards - 2 per row with horizontal scroll */
    .activities-carousel {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }
    
    .activity-card {
        min-width: calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
        flex-shrink: 0;
        width: calc((100% - 16px) / 2);
        box-sizing: border-box;
    }

    .activity-card-image {
        width: 100%;
        height: 180px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .activity-card-content {
        padding: 18px 14px;
        min-height: 200px;
    }
}

/* Mobile devices: ≤768px (general mobile styles) */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-container {
        padding: 8px 16px;
        gap: 12px;
    }
    
    /* Ensure logo and install button work well together on mobile */
    .logo + .install-app-container {
        margin-left: 0;
    }
    
    /* Explore bar mobile fixes */
    .explore-bar {
        padding: 8px 16px;
        margin-bottom: 8px;
    }
    
    .explore-inner {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .explore-pills {
        width: 100%;
        flex: 1 1 100%;
        min-width: 0;
        gap: 6px;
    }
    
    .pill,
    .pill-clear,
    .pill-block {
        padding: 8px 12px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    /* Ensure active state is immediately visible on mobile */
    .pill-active {
        background: #C1666B !important;
        color: #ffffff !important;
        border-color: #C1666B !important;
    }
    
    /* Override :active state on mobile when pill is active */
    .pill-active:active,
    .pill-active:focus {
        background: #C1666B !important;
        color: #ffffff !important;
        border-color: #C1666B !important;
    }
    
    .pill-clear {
        width: 100%;
        text-align: center;
        margin-top: 8px;
        padding: 8px 12px;
    }
    
    /* Near Me button - ensure it's accessible and works well on mobile */
    #nearMeBtn {
        min-width: 44px;
        min-height: 44px;
        padding: 10px 16px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .explore-inner {
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .filter-by-dropdown {
        width: auto;
        flex: 0 0 auto;
        max-width: calc(100vw - 120px);
        box-sizing: border-box;
    }
    
    .filter-by-btn {
        width: auto;
        max-width: calc(100vw - 120px);
        justify-content: center;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    .category-filter-menu {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        max-height: 60vh;
        padding: 12px;
        box-sizing: border-box;
    }
    
    .category-filter-item {
        padding: 12px 14px;
        font-size: 15px;
        gap: 12px;
        align-items: flex-start;
        min-width: 0;
    }
    
    .category-filter-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .category-filter-item span {
        font-size: 15px;
        color: #111827;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .logo-text h1 {
        font-size: 22px;
    }

    /* Main container */
    main {
        padding: 120px 16px 16px;
    }

    /* Hero section */
    .hero {
        margin-bottom: 16px;
        min-height: 200px;
        padding: 12px 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero h1 {
        padding: 0 16px;
        box-sizing: border-box;
        font-size: 36px;
        line-height: 1.2;
        font-weight: 300;
        margin-bottom: 8px;
    }
    
    .hero p {
        padding: 0 16px;
        box-sizing: border-box;
        font-size: 13px;
        margin: 12px 0;
    }
    
    .hero-search-form {
        max-width: 100%;
        margin-top: 12px;
        width: calc(100% - 32px);
        padding: 0 16px;
        box-sizing: border-box;
    }
    
    .search-btn-group {
        flex-direction: column;
        gap: 8px;
        border-radius: 3px;
        overflow: visible;
        box-shadow: none;
    }
    
    .search-input {
        border-radius: 3px;
        padding: 14px 16px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .search-btn {
        width: 100%;
        border-radius: 3px;
        padding: 14px 24px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        font-size: 16px;
        margin-top: 0;
    }
    
    .nearme-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 15px;
        margin-top: 12px;
    }

    /* Activities section */
    .activities-section h2 {
        font-size: 34px;
        margin-bottom: 16px;
        font-weight: 300;
    }


    /* Activity card styles for ≤768px (overridden by specific media queries above) */
    .activity-card-title {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .activity-card-info {
        font-size: 14px;
    }
    
    /* Ensure icons are visible on mobile */
    .activity-card-info li span,
    .activity-card-info li .icon-phone,
    .activity-card-info li .icon-location-pin,
    .activity-card-info li .icon-calendar,
    .activity-card-info li .icon-tag {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        width: auto !important;
        height: auto !important;
        min-width: 16px !important;
        min-height: 16px !important;
    }
    
    .activity-card-info li .icon-calendar::before {
        content: "📅" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        color: #C1666B !important;
    }
    
    .activity-card-info li .icon-location-pin::before {
        content: "📍" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        color: #C1666B !important;
    }
    
    .activity-card-info li .icon-tag::before {
        content: "🏷️" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        color: #C1666B !important;
    }
    
    .activity-special-button {
        padding: 10px 16px;
        font-size: 14px;
    }


    .activity-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        max-width: 100%;
    }
    
    /* Remove overlay completely on mobile - clean images */
    .activity-card-overlay {
        display: none !important;
    }
    
    /* Remove all hover effects on mobile - images should be clean */
    .activity-card-image:hover {
        transform: none !important;
    }
    
    .activity-card-image:hover .activity-card-overlay {
        display: none !important;
    }
    
    /* Remove description toggle button on mobile */
    .description-toggle-btn {
        display: none !important;
    }
    
    /* Remove description overlay on mobile */
    .activity-card-description-overlay {
        display: none !important;
        opacity: 0 !important;
        transform: translateY(100%) !important;
        pointer-events: none !important;
    }
    
    .activity-card-description-overlay.visible {
        display: none !important;
    }

    .category-title {
        font-size: 24px;
        line-height: 1.25;
        font-weight: 400;
    }
    
    .category-arrow-btn {
        padding: 12px;
        margin-left: 0;
        min-width: 44px;
        min-height: 44px;
    }
    
    .category-arrow-btn .arrow-head {
        width: 20px;
        height: 20px;
    }
    
    .new-activities-note {
        margin-top: 32px;
        margin-bottom: 16px;
    }
    
    .new-activities-note em {
        font-size: 14px;
    }

    .carousel-container {
        gap: 8px;
        padding-top: 4px;
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
        box-sizing: border-box;
    }
    
    .category-header {
        margin-bottom: 4px;
    }
    
    /* Hide carousel arrows on mobile - use touch scroll instead */
    .carousel-arrows {
        display: none !important;
    }
    
    /* Mobile: Horizontal scrolling cards like Airbnb */
    .activities-carousel {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-left: 16px;
        padding-right: 16px;
        gap: 16px;
        flex-wrap: nowrap !important;
    }
    
    /* Mobile: Cards take up most of screen width with peek of next card */
    /* Calculation: 85vw - carousel padding (32px) = shows ~15% of next card */
    .activities-carousel .activity-card {
        min-width: calc(85vw - 32px);
        max-width: calc(85vw - 32px);
        width: calc(85vw - 32px);
        flex-shrink: 0;
        scroll-snap-align: start;
        margin: 0;
    }
    
    /* Ensure no wrapping on mobile */
    .activities-carousel.no-scroll {
        flex-wrap: nowrap !important;
        overflow-x: auto;
    }
    
    .activities-carousel.no-scroll .activity-card {
        min-width: calc(85vw - 32px);
        max-width: calc(85vw - 32px);
        width: calc(85vw - 32px);
    }
    
    .category-section {
        margin-bottom: 0;
        padding-bottom: 16px;
    }
    
    .categories-list {
        gap: 16px;
    }

    /* Sidebar adjustments */
    .sidebar {
        position: relative;
        top: 0;
        max-height: none;
        margin-top: 24px;
    }

    .sidebar h2 {
        font-size: 20px;
    }

    /* Buttons - touch targets */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 14px 24px;
        min-height: 44px;
        font-size: 16px;
    }

    /* Generic mobile touch target enforcement */
    button,
    .btn,
    .activity-special-button,
    .search-btn,
    .nearme-btn,
    .filter-pill-btn,
    [role="button"] {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-response {
        padding: 12px 16px;
        min-height: 48px;
        font-size: 15px;
        flex: 1 1 calc(33.333% - 8px);
        min-width: calc(33.333% - 8px);
        max-width: none;
    }

    .response-buttons {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .response-body {
        width: 100%;
    }
    
    .response-body p {
        margin-bottom: 16px;
    }

    .btn-response span {
        font-size: 18px;
    }

    /* Itinerary */
    .itinerary {
        padding: 20px 16px;
    }

    .itinerary h2 {
        font-size: 34px;
        margin-bottom: 16px;
        font-weight: 300;
    }

    .itinerary-item {
        padding: 16px;
        gap: 12px;
    }

    .itinerary-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    /* Input fields */
    .date-input,
    .time-input,
    .name-input,
    .notes-textarea {
        padding: 14px 16px;
        font-size: 16px;
        min-height: 44px;
    }

    .notes-textarea {
        min-height: 120px;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 24px 20px;
        margin: 10px;
    }

    .modal-header h2 {
        font-size: 28px;
        font-weight: 400;
    }

    .share-link-input {
        font-size: 14px;
        padding: 12px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 12px;
    }

    .modal-actions button {
        width: 100%;
        min-height: 44px;
    }

    /* Shared plan view */
    .shared-plan-container {
        padding: 12px;
        max-width: 100%;
    }

    .shared-plan-card {
        padding: 20px 16px;
        width: 100%;
        margin: 0;
    }
    
    .shared-plan-card-section {
        padding-bottom: 20px;
        margin-bottom: 24px;
    }

    .shared-plan-card-header h1 {
        font-size: 40px;
        font-weight: 300;
    }

    .shared-plan-subtitle {
        font-size: 16px;
    }

    .shared-plan-date-time {
        flex-direction: column;
        gap: 10px;
    }
    
    .shared-date-time-item {
        font-size: 16px;
        padding: 10px;
    }
    
    .date-time-icon {
        font-size: 18px;
    }

    .shared-plan-section-title {
        font-size: 30px;
        font-weight: 400;
    }

    .shared-activity-item {
        padding: 0;
    }
    
    .shared-activity-image {
        min-height: 160px;
    }
    
    .shared-activity-img {
        max-height: 250px;
    }
    
    .shared-activity-content {
        padding: 12px;
        gap: 10px;
    }

    .shared-activity-info h4 {
        font-size: 16px;
    }

    .shared-activity-description {
        font-size: 14px;
    }

    /* Selected activities in sidebar */
    .selected-item {
        padding: 12px;
    }

    .selected-item-name {
        font-size: 14px;
    }

    .selected-item-location {
        font-size: 12px;
        margin-left: 28px;
    }

    /* No results */
    .no-results {
        padding: 32px 16px;
    }

    .no-results p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .suggest-activity-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    main {
        padding: 120px 12px 12px;
    }

    .intro-hero {
        padding: 28px 16px 16px;
        margin: 0;
    }

    .intro-hero h1 {
        font-size: 36px;
    }

    .intro-hero__inner > p {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .intro-hero .intro-content p {
        font-size: 18px;
    }

    .hero {
        margin-bottom: 12px;
        min-height: 180px;
        padding: 12px 12px;
    }

    .hero h1 {
        font-size: 52px;
        line-height: 1.2;
        font-weight: 300;
    }

    .hero p {
        font-size: 16px;
    }

    .activities-section h2 {
        font-size: 34px;
        margin-bottom: 12px;
        font-weight: 300;
    }
    
    .category-title {
        font-size: 22px;
        line-height: 1.25;
        font-weight: 400;
    }

    .activity-card-title {
        font-size: 18px;
        line-height: 1.4;
    }
    
    /* Full width cards on ≤480px screens */
    .activity-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .activity-card-image {
        height: 220px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .activity-card-content {
        min-height: 220px;
        padding: 20px 16px;
    }
    
    .activity-card-info {
        font-size: 15px;
    }
    
    /* Ensure icons are visible on mobile */
    .activity-card-info li span,
    .activity-card-info li .icon-phone,
    .activity-card-info li .icon-location-pin,
    .activity-card-info li .icon-calendar,
    .activity-card-info li .icon-tag {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        width: auto !important;
        height: auto !important;
        min-width: 16px !important;
        min-height: 16px !important;
    }
    
    .activity-card-info li .icon-calendar::before {
        content: "📅" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        color: #C1666B !important;
    }
    
    .activity-card-info li .icon-location-pin::before {
        content: "📍" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        color: #C1666B !important;
    }
    
    .activity-card-info li .icon-tag::before {
        content: "🏷️" !important;
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        color: #C1666B !important;
    }
    
    .activity-special-button {
        font-size: 15px;
        padding: 12px 20px;
    }
    
    /* Keep horizontal scroll for ≤480px - cards should scroll, not wrap */
    .activities-carousel {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px;
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Cards take up most of screen width on extra small screens with peek of next card */
    /* Calculation: 85vw - carousel padding (32px) = shows ~15% of next card */
    .activities-carousel .activity-card {
        min-width: calc(85vw - 32px) !important;
        max-width: calc(85vw - 32px) !important;
        width: calc(85vw - 32px) !important;
        flex-shrink: 0;
        scroll-snap-align: start;
        margin: 0;
    }
    
    .activities-carousel.no-scroll {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }
    
    .activities-carousel.no-scroll .activity-card {
        min-width: calc(85vw - 32px) !important;
        max-width: calc(85vw - 32px) !important;
        width: calc(85vw - 32px) !important;
    }

    .filter-pill-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .categories-list {
        gap: 16px;
    }
    
    .category-section {
        margin-bottom: 0;
        padding-bottom: 16px;
    }

    .shared-plan-card-header h1 {
        font-size: 32px;
        line-height: 1.1;
    }

    .shared-plan-card {
        padding: 16px 12px;
        width: 100%;
    }
    
    .shared-plan-container {
        padding: 8px;
    }

    .response-buttons {
        gap: 8px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn-response {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
        max-width: calc(50% - 4px);
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .btn-response span {
        font-size: 16px;
    }
}

.name-input::placeholder {
    color: #9ca3af;
}

/* Footer */
footer {
    background: #C1666B;
    color: #fff;
    padding: 32px 24px;
    text-align: center;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
    flex-wrap: wrap;
}

.footer-container p,
.footer-primary {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    color: #fff;
}

.footer-primary {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-primary > * {
    flex-shrink: 0;
}

.footer-copy {
    white-space: nowrap;
}

.footer-privacy-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-privacy-link:hover {
    text-decoration: underline;
}

.footer-connect-label {
    font-weight: 500;
    white-space: nowrap;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 14px;
}

.footer-social {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    text-align: right;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    text-align: right;
    padding-left: 0;
    width: min(200px, 100%);
    margin-left: auto;
}

.footer-social-link:hover {
    text-decoration: underline;
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    footer {
        padding: 24px 16px;
        margin-top: 40px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }

    .footer-container p {
        font-size: 13px;
    }

    .footer-social {
        width: 100%;
        align-items: flex-end;
        text-align: right;
        margin-left: 0;
    }

    .footer-social-link {
        width: 100%;
        justify-content: flex-end;
        text-align: right;
    }

    .footer-primary {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 12px;
    }

    .footer-copy,
    .footer-privacy-link,
    .footer-connect-label {
        white-space: nowrap;
    }
}

@media (max-width: 540px) {
    .footer-primary {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
    }

    .footer-social-link {
        width: 100%;
        justify-content: flex-end;
        text-align: right;
    }
}

/* Redirect overlay message */
.redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.redirect-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.redirect-overlay-message {
    background: #fff;
    color: #111827;
    padding: 32px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    max-width: min(500px, 90%);
    transform: scale(0.95);
    transition: transform 300ms ease;
}

.redirect-overlay.show .redirect-overlay-message {
    transform: scale(1);
}

@media (max-width: 768px) {
    .redirect-overlay-message {
        padding: 24px 28px;
        font-size: 16px;
        border-radius: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .redirect-overlay,
    .redirect-overlay-message {
        transition: none;
    }
}

