/**
 * Excursions Hub SEO Components Styles
 * Styles for excursions-hero, category-links, and excursions-guide components
 *
 * @package TravelerChildTheme
 * @since 1.0.0
 */

/* ==========================================================================
   Excursions Hero (Slim Above-the-Fold)
   ========================================================================== */

.excursions-hero {
    max-width: 1120px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
}

.excursions-hero__lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.75rem;
    max-width: 760px;
}

.excursions-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.excursions-hero__badges li {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #dde3ee;
    background: #fff;
    font-size: 0.8rem;
    color: #555;
    white-space: nowrap;
}

.excursions-hero__badges li::before {
    content: "\2713";
    color: #28a745;
    margin-right: 0.35rem;
    font-weight: 700;
}

.excursions-hero__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.excursions-hero__cat-link {
    display: inline-block;
    padding: 0.5rem 0.875rem;
    background: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
}

.excursions-hero__cat-link:hover {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

/* ==========================================================================
   All Categories Section
   ========================================================================== */

.all-categories-section {
    padding: 40px 0;
    background-color: #fafafa;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    margin: 40px 0;
}

.all-categories-section__header {
    text-align: center;
    margin-bottom: 32px;
}

.all-categories-section__header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.all-categories-section__intro {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.category-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.category-group h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.category-group__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-group__list li {
    margin-bottom: 8px;
}

.category-group__list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.category-group__list a:hover {
    text-decoration: underline;
}

.category-count {
    color: #999;
    font-size: 13px;
    font-weight: 400;
}

.all-categories-section__footer {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: #666;
}

.all-categories-section__footer a {
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
}

.all-categories-section__footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CRO-206: Accordion Component (Categories, Hotels)
   ========================================================================== */
.pca-accordion {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin: 40px 0;
    overflow: hidden;
}

.pca-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: #fafafa;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    border: none;
    font-family: inherit;
}

.pca-accordion__trigger::-webkit-details-marker {
    display: none;
}

.pca-accordion__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.pca-accordion__icon {
    color: #666;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.pca-accordion[open] .pca-accordion__icon {
    transform: rotate(180deg);
}

.pca-accordion__content {
    padding: 0 24px 24px;
}

/* Adjust existing styles when inside accordion */
.pca-accordion .all-categories-section__intro {
    text-align: center;
    margin-bottom: 24px;
}

.pca-accordion .category-groups {
    padding: 0;
}

/* Mobile accordion adjustments */
@media (max-width: 767px) {
    .pca-accordion__trigger {
        padding: 16px;
    }

    .pca-accordion__title {
        font-size: 18px;
    }

    .pca-accordion__content {
        padding: 0 16px 16px;
    }
}

/* ==========================================================================
   Excursions Guide (SEO Content - Bottom)
   ========================================================================== */

.excursions-guide {
    background: #fafafa;
    padding: 48px 0;
    margin-top: 48px;
    border-top: 1px solid #e8e8e8;
}

.excursions-guide__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}

.excursions-guide h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.excursions-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.excursions-guide__col p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

.excursions-guide__col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.excursions-guide__benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.excursions-guide__benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    color: #444;
}

.excursions-guide__benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
    /* Phase 5: Compress hero for above-fold optimization */
    .excursions-hero {
        padding: 0.5rem 1rem;
        margin-bottom: 0.75rem;
    }

    .excursions-hero__lead {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .excursions-hero__badges {
        gap: 0.25rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    .excursions-hero__badges li {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    /* Phase 5: Limit Top Sights to 4 cards on mobile */
    .pca-top-sights__card:nth-child(n+5) {
        display: none;
    }

    .all-categories-section {
        padding: 28px 16px;
        margin: 28px 0;
    }

    .all-categories-section__header h2 {
        font-size: 24px;
    }

    .category-groups {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-group h3 {
        font-size: 16px;
    }

    .excursions-guide {
        padding: 32px 0;
        margin-top: 32px;
    }

    .excursions-guide__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .excursions-guide h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .excursions-hero__cat-link {
        flex: 1 1 calc(50% - 4px);
        text-align: center;
    }
}

/* ==========================================================================
   Top Sights / Experiences Section (GetYourGuide Pattern)
   ========================================================================== */

.pca-top-sights {
    margin: 0 0 1.5rem;
    padding: 0;
}

.pca-top-sights__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.pca-top-sights__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.pca-top-sights__scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.pca-top-sights__scroll::-webkit-scrollbar {
    display: none;
}

.pca-top-sights__card {
    flex: 0 0 auto;
    width: 140px;
    scroll-snap-align: start;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease;
}

.pca-top-sights__card:hover {
    transform: translateY(-2px);
}

.pca-top-sights__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.pca-top-sights__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pca-top-sights__card:hover .pca-top-sights__image {
    transform: scale(1.05);
}

.pca-top-sights__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
    pointer-events: none;
}

.pca-top-sights__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
    padding: 0 2px;
}

.pca-top-sights__scroll-hint {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background: linear-gradient(to right, transparent, white 60%);
    pointer-events: none;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.pca-top-sights__scroll-arrow {
    font-size: 1.25rem;
    color: #666;
    animation: pulse-arrow 1.5s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

/* Desktop: Larger cards, no scroll hint needed */
@media (min-width: 769px) {
    .pca-top-sights__card {
        width: 160px;
    }

    .pca-top-sights__label {
        font-size: 0.9375rem;
    }
}

/* Mobile: Show scroll hint, adjust sizing */
@media (max-width: 768px) {
    .pca-top-sights__title {
        font-size: 1.25rem;
    }

    .pca-top-sights__card {
        width: 120px;
    }

    .pca-top-sights__label {
        font-size: 0.8125rem;
    }

    .pca-top-sights__scroll-hint {
        display: flex;
    }
}

@media (max-width: 480px) {
    .pca-top-sights__card {
        width: 110px;
    }

    .pca-top-sights__image-wrap {
        border-radius: 10px;
    }
}

/* ==========================================================================
   Load More Button
   ========================================================================== */

.pca-load-more-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    margin-top: 1rem;
}

.pca-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #fff;
    border: 1px solid #111827;
    border-radius: 8px;
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 48px; /* Touch target */
}

.pca-load-more-btn:hover {
    background: #f7f7f7;
}

.pca-load-more-btn:focus {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.pca-load-more-btn:active {
    transform: scale(0.98);
}

.pca-load-more-text {
    font-weight: 600;
}

.pca-load-more-count {
    font-weight: 400;
    opacity: 0.8;
}

/* Revealed tour animation */
.pca-revealed-tour {
    animation: fadeInUp 0.3s ease-out;
}

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

@media (max-width: 768px) {
    .pca-load-more-wrapper {
        padding: 1.5rem 1rem;
    }

    .pca-load-more-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
}

/* ==========================================================================
   CRO Phase 4: Compact Toolbar Components
   ========================================================================== */

/* Inline Trust Badges - Compact single line under H1 */
.pca-trust-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    height: 18px;
    margin: 0;
    flex-wrap: wrap;
}

.pca-trust-sep {
    color: #d1d5db;
}

@media (max-width: 480px) {
    .pca-trust-inline {
        font-size: 12px;
        gap: 4px;
    }

    .pca-trust-desktop-only {
        display: none;
    }
}

/* About These Tours Accordion - REMOVED in CRO Phase 4b
   Component no longer exists - styles kept commented for reference
   Delete this comment block after confirming no regressions */

/* Compact Meta Row (Results + Sort) */
.pca-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 14px;
    color: #6b7280;
    margin: 0.25rem 0 4px; /* Top margin separates from filter buttons */
}

.pca-results-compact {
    font-weight: 500;
    color: #374151;
}

.pca-sort-compact-wrapper {
    display: flex;
    align-items: center;
}

.pca-sort-compact {
    border: none;
    background: none;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    padding: 4px 8px;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23374151' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 20px;
}

.pca-sort-compact:hover {
    color: #111827;
}

.pca-sort-compact:focus {
    outline: 2px solid #111827;
    outline-offset: 2px;
    border-radius: 4px;
}

@media (max-width: 480px) {
    .pca-meta-row {
        font-size: 13px;
    }

    .pca-sort-compact {
        font-size: 13px;
    }
}

/* Meta-row sort button - push to right side */
.pca-meta-row .pca-sort-btn {
    margin-left: auto;
}

/* Compact Toolbar Scoping - Unified chip row */
.pca-toolbar--compact .pca-desktop-filters__trigger {
    display: flex;
    align-items: center;
    gap: 12px; /* Proper spacing between buttons */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    margin: 0; /* Remove negative margin that causes artifacts */
    background: transparent;
    border: none;
}

/* Remove any pseudo-element artifacts */
.pca-toolbar--compact .pca-desktop-filters__trigger::before,
.pca-toolbar--compact .pca-desktop-filters__trigger::after {
    display: none !important;
    content: none !important;
}

.pca-toolbar--compact .pca-desktop-filters__trigger::-webkit-scrollbar {
    display: none;
}

.pca-toolbar--compact .pca-trigger-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Category chips in unified row */
.pca-trigger-pill--category {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.pca-trigger-pill--category:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pca-trigger-pill--category.pca-trigger-pill--active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

/* ==========================================================================
   CRO Phase 4b: Unified Title Section Spacing
   Single source of truth for header budget (174px target)
   ========================================================================== */

/* Title section - Desktop default */
.pca-toolbar--compact .pca-title-section {
    margin: 0 0 0.375rem;
    padding: 1rem 0 0.75rem;
}

/* H1 - Desktop default */
.pca-toolbar--compact .pca-main-title {
    font-size: 1.625rem; /* 26px */
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.25rem;
}

/* Title content wrapper */
.pca-toolbar--compact .pca-title-content {
    margin-bottom: 0.5rem;
}

/* Trust line - minimal height */
.pca-toolbar--compact .pca-trust-inline {
    margin: 0 0 0.375rem;
    height: 1.125rem;
    line-height: 1.125rem;
}

/* Desktop filters - integrated feel */
.pca-toolbar--compact .pca-desktop-filters {
    margin: 0;
    padding: 0;
    border: none;
}

/* Trigger row - compact spacing */
.pca-toolbar--compact .pca-desktop-filters__trigger {
    padding: 0.375rem 0;
    gap: 0.75rem;
}

/* Meta row - after chips */
.pca-toolbar--compact .pca-meta-row {
    margin: 0.25rem 0 0;
    padding: 0.25rem 0;
    border-top: none;
}

/* Breadcrumbs - minimal */
.pca-toolbar--compact #pca-breadcrumbs-wrap {
    margin-bottom: 0.125rem;
}

.pca-toolbar--compact #pca-breadcrumbs-nav {
    padding: 0.125rem 0;
}

/* Remove any dividers between sections */
.pca-toolbar--compact .pca-header-section {
    border-bottom: none;
}

/* Large Desktop (1200px+): Larger title */
@media (min-width: 1200px) {
    .pca-toolbar--compact .pca-main-title {
        font-size: 1.875rem; /* 30px */
    }
}

/* Viewport optimization (1440x900): Tighter spacing */
@media (min-width: 1400px) and (max-height: 950px) {
    .pca-toolbar--compact .pca-title-section {
        padding: 0.5rem 0 0.375rem;
    }

    .pca-toolbar--compact .pca-trust-inline {
        margin-bottom: 0.25rem;
    }

    .pca-toolbar--compact .pca-desktop-filters__trigger {
        padding: 0.25rem 0;
    }

    .pca-toolbar--compact .pca-meta-row {
        margin-top: 0.125rem;
        padding: 0.125rem 0;
    }
}

/* Mobile (768px): Responsive title sizing */
@media (max-width: 768px) {
    .pca-toolbar--compact .pca-title-section {
        padding: 0.875rem 0 0.625rem;
    }

    .pca-toolbar--compact .pca-main-title {
        font-size: 1.25rem; /* 20px */
        line-height: 1.2;
    }

    .pca-toolbar--compact .pca-title-content {
        margin-bottom: 0.375rem;
    }
}

/* Small Mobile (480px): Tighter spacing */
@media (max-width: 480px) {
    .pca-toolbar--compact .pca-title-section {
        padding: 0.75rem 0 0.5rem;
    }

    .pca-toolbar--compact .pca-main-title {
        font-size: 1.125rem; /* 18px */
    }
}

/* ==========================================================================
   CRO Phase 5: Simplified Active Filter Pills
   ========================================================================== */

.pca-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.pca-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #111827;
    border: 1px solid #111827;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.pca-active-pill:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: #fff;
    text-decoration: none;
}

.pca-active-pill__x {
    flex-shrink: 0;
    opacity: 0.7;
}

.pca-active-pill:hover .pca-active-pill__x {
    opacity: 1;
}

/* +N more button */
.pca-active-pill--more {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
}

.pca-active-pill--more:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #111827;
}

/* Clear all link */
.pca-active-pill--reset {
    background: transparent;
    border: none;
    color: #6b7280;
    padding: 6px 8px;
    font-weight: 400;
    text-decoration: underline;
}

.pca-active-pill--reset:hover {
    color: #dc2626;
    background: transparent;
    border: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .pca-active-filters {
        padding: 6px 0;
        gap: 6px;
    }

    .pca-active-pill {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* ==========================================================================
   CRO Phase 5.1: Unified Filter System
   ========================================================================== */

/* ==========================================================================
   CRO Phase 5.1: Unified Button Family (Filters + Dates + Tomorrow)
   All buttons share identical visual language
   ========================================================================== */

.pca-filters-btn,
.pca-trigger-pill.pca-trigger-pill--dates,
.pca-trigger-pill.pca-trigger-pill--tomorrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 40px !important;
    padding: 0 16px !important;
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    white-space: nowrap;
    width: auto !important; /* Override any fixed width */
    min-width: 0 !important;
    max-width: none !important;
    position: relative;
    text-decoration: none !important; /* Override anchor default */
}

/* Tomorrow button - extra specificity to override inline styles */
button.pca-trigger-pill.pca-trigger-pill--tomorrow {
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    height: 40px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
}

/* Remove any ::after separators from old styling */
.pca-filters-btn::after,
.pca-filters-btn::before,
#pca-filters-btn::after,
#pca-filters-btn::before {
    display: none !important;
    content: none !important;
}

.pca-filters-btn:hover,
.pca-trigger-pill.pca-trigger-pill--dates:hover,
.pca-trigger-pill.pca-trigger-pill--tomorrow:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    text-decoration: none !important;
}

.pca-filters-btn.has-filters,
.pca-trigger-pill.pca-trigger-pill--dates.pca-trigger-pill--active,
.pca-trigger-pill.pca-trigger-pill--tomorrow.pca-trigger-pill--active {
    border-color: #111827 !important;
    background: #111827 !important;
    color: #fff !important;
}

.pca-filters-btn__icon {
    flex-shrink: 0;
}

.pca-filters-btn__text {
    font-weight: 500;
}

.pca-filters-btn__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #fff;
    color: #111827;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    margin-left: 2px;
}

/* Dates pill min-width to prevent layout shift */
.pca-trigger-pill--dates {
    min-width: 130px;
}

/* Chevron inside dates button */
.pca-trigger-pill--dates .pca-chip-chevron {
    opacity: 0.5;
    margin-left: 2px;
    flex-shrink: 0;
}

/* Date section in Filters modal */
.pca-filter-section--dates {
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.pca-date-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pca-date-range-inline {
    margin-top: 12px;
}

.pca-date-range-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.pca-date-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pca-date-input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.pca-date-input:hover {
    border-color: #9ca3af;
}

.pca-date-input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.08);
}

.pca-date-range-separator {
    color: #9ca3af;
    font-size: 14px;
}

.pca-date-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.pca-date-clear:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Fix vertical spacing between filter row and results row */
.pca-toolbar--compact .pca-desktop-filters {
    margin-bottom: 0;
    padding-bottom: 8px;
}

.pca-toolbar--compact .pca-active-filters {
    padding: 4px 0 8px;
}

/* Unified trigger row gap */
.pca-toolbar--compact .pca-desktop-filters__trigger {
    gap: 12px;
}

/* Section highlight effect when focused via shortcut */
.pca-section-highlight {
    animation: section-pulse 1.5s ease;
}

@keyframes section-pulse {
    0%, 100% { background-color: transparent; }
    30% { background-color: rgba(17, 24, 39, 0.04); }
    60% { background-color: rgba(17, 24, 39, 0.02); }
}

/* ==========================================================================
   Tour Type Grouping (Excursions Hub)
   ========================================================================== */

#pca-tours-grid .pca-tour-type-group {
    flex: 0 0 100%;
    max-width: 100%;
    padding-top: 1.5rem;
}

#pca-tours-grid .pca-tour-type-group:first-child {
    padding-top: 0;
}

.pca-tour-type-heading {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
}

.pca-tour-type-grid {
    margin: 0;
}

@media (max-width: 640px) {
    .pca-tour-type-heading {
        font-size: 1.2rem;
    }
}
