/**
 * Single Trek Page Styles
 * Modern, industry-leading design with sticky sidebar
 *
 * @package Trekking_Theme
 */

/* ===================================
   Single Trek Page Layout
   =================================== */
/* Content positioning for single trek pages - add spacing after the header */
body.single-trek-page.single-tour #main-content,
body.single-trek-page #main-content,
body.single-tour #main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Add spacing between header and content on single tour pages */
body.single-tour .site-header,
body.single-trek-page .site-header {
    margin-bottom: 30px !important;
}

body.single-trek-page .elementor,
body.single-tour .elementor {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Override first section margin reset for single trek pages */
body.single-trek-page .elementor > .elementor-section:first-child,
body.single-trek-page .elementor-section-wrap > .elementor-section:first-child,
body.single-tour .elementor > .elementor-section:first-child,
body.single-tour .elementor-section-wrap > .elementor-section:first-child {
    margin-top: 0 !important;
}

/* Responsive adjustments - no padding needed since header is not fixed */
@media (max-width: 1023px) {
    body.single-trek-page #main-content,
    body.single-tour #main-content {
        padding-top: 0 !important;
    }
    
    /* Adjust header spacing for mobile */
    body.single-tour .site-header,
    body.single-trek-page .site-header {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 768px) {
    body.single-trek-page #main-content,
    body.single-tour #main-content {
        padding-top: 0 !important;
    }
    
    /* Reduce spacing on tablets */
    body.single-tour .site-header,
    body.single-trek-page .site-header {
        margin-bottom: 15px !important;
    }
}

@media (max-width: 480px) {
    body.single-trek-page #main-content,
    body.single-tour #main-content {
        padding-top: 0 !important;
    }
    
    /* Minimal spacing on mobile phones */
    body.single-tour .site-header,
    body.single-trek-page .site-header {
        margin-bottom: 12px !important;
    }
}

/* ===================================
   Single Trek Elementor Content
   =================================== */
.single-trek-elementor-content {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove all bottom spacing on single trek pages */
body.single-trek-page #main-content,
body.single-tour #main-content,
body.single-trek-page .site-main,
body.single-tour .site-main,
body.single-trek-page .elementor,
body.single-tour .elementor,
body.single-trek-page .single-trek-elementor-content,
body.single-tour .single-trek-elementor-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove bottom spacing from Elementor sections on single trek pages */
body.single-trek-page .elementor-section:last-child,
body.single-tour .elementor-section:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ===================================
   Trek Hero Gallery Section - Modern Clean Design
   =================================== */
.trek-hero-gallery {
    display: grid !important;
    grid-template-columns: 58% 1fr !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
    height: 460px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Main Featured Image */
.trek-hero-gallery .hero-gallery-main {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #f5f5f5 !important;
}

.trek-hero-gallery .hero-gallery-main a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
}

.trek-hero-gallery .hero-gallery-main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.35s ease !important;
}

.trek-hero-gallery .hero-gallery-main:hover img {
    transform: scale(1.05) !important;
}

/* Thumbnail Grid */
.trek-hero-gallery .hero-gallery-thumbnails {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    height: 100% !important;
}

/* Individual Thumbnails */
.trek-hero-gallery .hero-gallery-thumb {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #f5f5f5 !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.trek-hero-gallery .hero-gallery-thumb a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
}

.trek-hero-gallery .hero-gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.35s ease !important;
}

.trek-hero-gallery .hero-gallery-thumb:hover img {
    transform: scale(1.1) !important;
}

/* See All Photos Overlay */
.trek-hero-gallery .hero-gallery-thumb.has-overlay::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    transition: background 0.3s ease !important;
    z-index: 1 !important;
    border-radius: 10px !important;
}

.trek-hero-gallery .hero-gallery-thumb.has-overlay:hover::before {
    background: rgba(0, 0, 0, 0.7) !important;
}

/* See All Photos Button */
.trek-hero-gallery .see-all-photos-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background-color: rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 2 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(8px) !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.trek-hero-gallery .hero-gallery-thumb.has-overlay:hover .see-all-photos-btn {
    background-color: rgba(230, 126, 34, 0.95) !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
}

.trek-hero-gallery .see-all-photos-btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.trek-hero-gallery .see-all-photos-btn span {
    display: inline-block !important;
    line-height: 1 !important;
}

/* Hidden gallery items */
.trek-hero-gallery .hidden-gallery-items {
    display: none !important;
}

/* Responsive Hero Gallery - Mobile Stacked Layout */
@media (max-width: 1024px) {
    .trek-hero-gallery {
        height: 420px !important;
    }
}

@media (max-width: 768px) {
    /* Add mobile padding to prevent edge-to-edge bleeding */
    .elementor-widget-single_trek_hero_gallery .elementor-widget-container {
        padding: 0 20px !important;
    }
    
    .trek-hero-gallery {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 10px !important;
        height: auto !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .trek-hero-gallery .hero-gallery-main {
        width: 100% !important;
        height: 280px !important;
        border-radius: 8px !important;
        max-width: 100% !important;
    }
    
    .trek-hero-gallery .hero-gallery-main img {
        border-radius: 8px !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumbnails {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 10px !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumb {
        width: 100% !important;
        height: 135px !important;
        border-radius: 8px !important;
        max-width: 100% !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumb img {
        border-radius: 8px !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumb.has-overlay::before {
        border-radius: 8px !important;
    }
    
    /* See all photos button - keep it centered */
    .trek-hero-gallery .see-all-photos-btn {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        padding: 9px 14px !important;
        font-size: 12px !important;
        border-radius: 7px !important;
        gap: 6px !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(230, 126, 34, 0.2) !important;
        touch-action: manipulation !important;
        user-select: none !important;
        -webkit-user-select: none !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumb.has-overlay:hover .see-all-photos-btn,
    .trek-hero-gallery .hero-gallery-thumb.has-overlay:active .see-all-photos-btn {
        transform: translate(-50%, -50%) scale(1.05) !important;
    }
    
    .trek-hero-gallery .see-all-photos-btn svg {
        width: 14px !important;
        height: 14px !important;
        pointer-events: none !important;
    }
    
    .trek-hero-gallery .see-all-photos-btn span {
        pointer-events: none !important;
    }
}

@media (max-width: 480px) {
    /* Reduce padding slightly on very small screens */
    .elementor-widget-single_trek_hero_gallery .elementor-widget-container {
        padding: 0 15px !important;
    }
    
    .trek-hero-gallery {
        gap: 8px !important;
    }
    
    .trek-hero-gallery .hero-gallery-main {
        height: 240px !important;
        border-radius: 6px !important;
    }
    
    .trek-hero-gallery .hero-gallery-main img {
        border-radius: 6px !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumbnails {
        gap: 8px !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumb {
        height: 115px !important;
        border-radius: 6px !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumb img {
        border-radius: 6px !important;
    }
    
    .trek-hero-gallery .hero-gallery-thumb.has-overlay::before {
        border-radius: 6px !important;
    }
    
    .trek-hero-gallery .see-all-photos-btn {
        padding: 8px 12px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        gap: 5px !important;
        min-height: 36px !important;
        min-width: 36px !important;
    }
    
    .trek-hero-gallery .see-all-photos-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ===================================
   Trek Brief Data Section
   =================================== */
.trek-brief-data {
    margin-bottom: 2rem;
    overflow: hidden;
}

.trek-brief-header {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px 12px 0 0;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    width: 100%;
}

.trek-brief-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.trek-brief-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.reviews-badge,
.recommendation-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.rating-stars {
    color: #00a680;
    font-size: 0.75rem;
}

.rating-stars i {
    margin-right: 2px;
}

.reviews-badge a {
    color: inherit;
    text-decoration: underline;
}

.recommendation-badge i {
    color: #e74c3c;
}

.trek-brief-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-data-grid {
    display: grid;
    gap: 2rem 3rem;
    padding: 2.5rem 3rem;
    border-radius: 0 0 12px 12px;
}

.trek-data-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.trek-data-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.data-item {
    display: block;
}

.data-content {
    width: 100%;
}

.data-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.data-value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* ===================================
   Trek Highlights Section
   =================================== */
.trek-highlights {
    padding: 0;
    margin-bottom: 3rem;
    background: transparent;
}

/* Force parent Elementor containers to be single column */
.trek-highlights .elementor-widget-container,
.trek-highlights .elementor-container {
    display: block !important;
    width: 100% !important;
}

/* Override any Elementor column layouts that might wrap the widget */
.elementor-element.elementor-widget-single_trek_highlights,
.elementor-element.elementor-widget-single_trek_highlights .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Force parent sections/columns containing trek highlights to be full width */
.elementor-section:has(.trek-highlights),
.elementor-container:has(.trek-highlights),
.elementor-column:has(.trek-highlights),
.elementor-row:has(.trek-highlights) {
    display: block !important;
    width: 100% !important;
    flex-direction: column !important;
}

/* Override any grid or column layout on sections containing highlights */
.elementor-section:has(.trek-highlights) .elementor-row,
.elementor-section:has(.trek-highlights) .elementor-container {
    display: block !important;
    flex-wrap: nowrap !important;
}

.elementor-column:has(.trek-highlights) {
    width: 100% !important;
    flex-basis: 100% !important;
}

/* Ensure trek-highlights container doesn't have grid/flex - except for title and list */
.trek-highlights {
    display: block !important;
}

.trek-highlights-title,
.highlights-list {
    display: block !important;
}

.trek-highlights-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-wrap: break-word;
    color: #1a1a1a;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    column-count: unset !important;
    columns: unset !important;
}

.highlight-item {
    display: flex !important;
    gap: 0.875rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.7;
    width: 100% !important;
    max-width: 100% !important;
    break-inside: avoid !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    float: none !important;
}

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

.highlight-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 50%;
    background-color: #e3f2fd;
    color: #3498db;
    font-size: 11px;
}

.highlight-icon i {
    font-size: 11px;
    line-height: 1;
}

.highlight-icon svg {
    width: 11px;
    height: 11px;
    max-width: 11px;
    max-height: 11px;
}

/* Ensure Elementor icons render properly */
.highlight-icon .elementor-icon,
.highlight-icon > i,
.highlight-icon > svg {
    display: inline-block !important;
    vertical-align: middle;
}

/* Fallback for icon visibility */
.highlight-icon * {
    color: inherit !important;
    fill: currentColor !important;
}

/* Ensure icon container doesn't hide content */
.highlight-icon {
    overflow: visible !important;
}

.highlight-text {
    flex: 1;
    min-width: 0;
    font-size: 1.05rem;
    color: #333;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* ===================================
   Trek Detail Overview Section
   =================================== */
.trek-detail-overview {
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.trek-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-detail-content {
    font-size: 1rem;
    line-height: 1.8;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.trek-detail-content p {
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-detail-content p:last-child {
    margin-bottom: 0;
}

.trek-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-detail-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-detail-content ul,
.trek-detail-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    max-width: 100%;
}

.trek-detail-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-detail-content a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.trek-detail-content a:hover {
    opacity: 0.8;
}

.trek-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.trek-detail-content blockquote {
    border-left: 4px solid #e67e22;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

/* ===================================
   Trek Overview Section
   =================================== */
.trek-overview {
    padding: 40px 0;
    background: #ffffff;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-overview-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #e67e22;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.trek-overview-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.trek-overview-content p {
    margin-bottom: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ===================================
   Trek Itinerary Section
   =================================== */
.trek-itinerary {
    padding: 40px 0;
}

.trek-itinerary-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.itinerary-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.itinerary-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.itinerary-item:hover {
    border-color: #e67e22;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.itinerary-item-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 24px !important;
    cursor: pointer !important;
    background: #f8f9fa !important;
    transition: background 0.3s ease !important;
    min-height: 44px !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

.itinerary-item-header:hover {
    background: #fff5ed;
}

.itinerary-item.active .itinerary-item-header {
    background: #fff5ed;
}

.itinerary-item-meta {
    flex: 1 !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
}

.itinerary-day {
    font-size: 14px;
    font-weight: 600;
    color: #e67e22;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.itinerary-day-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
}

.itinerary-toggle {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666 !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
    flex-shrink: 0 !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

.itinerary-toggle:hover {
    color: #e67e22;
}

.itinerary-item.active .itinerary-toggle {
    transform: rotate(180deg);
    color: #e67e22;
}

.itinerary-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.itinerary-details {
    display: flex !important;
    gap: 24px !important;
    padding: 16px 24px !important;
    background: #f8f9fa !important;
    border-top: 1px solid #e0e0e0 !important;
    flex-wrap: wrap !important;
}

.itinerary-detail {
    font-size: 14px !important;
    color: #666 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.itinerary-detail strong {
    color: #1a1a1a;
    font-weight: 600;
}

.itinerary-description {
    padding: 20px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

/* ===================================
   Trek Pricing Sidebar (Sticky)
   =================================== */
.trek-pricing-sidebar {
    position: relative;
    z-index: 10;
}

/* Apply sticky to the Elementor widget wrapper - most reliable */
.elementor-widget-single_trek_pricing_sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    z-index: 100;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #e67e22;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
}

.pricing-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-amount .currency {
    font-size: 24px;
    font-weight: 600;
    color: #e67e22;
}

.pricing-amount .price {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.pricing-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.pricing-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff5ed;
    border-radius: 8px;
    color: #e67e22;
    font-size: 18px;
}

.info-content {
    flex: 1;
    padding-top: 4px;
}

.info-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 2px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

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

.btn-block {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
}

/* ===================================
   Trek Includes/Excludes Section
   =================================== */
.trek-includes-excludes {
    padding: 40px 0;
}

.trek-includes-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
    max-width: 100% !important;
}

/* Force single column on mobile/tablet - already added in responsive section */

.trek-includes-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.includes-list,
.excludes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
}

.list-item span {
    flex: 1 !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

.list-icon {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
}

.includes-list .list-icon {
    color: #27ae60;
}

.excludes-list .list-icon {
    color: #e74c3c;
}

/* ===================================
   Trek FAQ Section
   =================================== */
.trek-faq {
    padding: 40px 0;
}

.trek-faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #e67e22;
}

.faq-question {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 24px !important;
    background: #f8f9fa !important;
    border: none !important;
    cursor: pointer !important;
    text-align: left !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    transition: all 0.3s ease !important;
    min-height: 44px !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

.faq-question:hover {
    background: #fff5ed;
}

.faq-item.active .faq-question {
    background: #fff5ed;
    color: #e67e22;
}

.faq-question-text {
    flex: 1 !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
}

.faq-icon {
    flex-shrink: 0 !important;
    transition: transform 0.3s ease !important;
    min-width: 20px !important;
    width: 20px !important;
    height: 20px !important;
    color: #666 !important;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #e67e22;
}

.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
    padding: 0 24px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #666 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
}

.faq-item.active .faq-answer {
    padding: 20px 24px;
}

/* ===================================
   Trek Gallery Section
   =================================== */
.trek-gallery-section {
    padding: 40px 0;
}

.trek-gallery-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}

.trek-gallery-grid {
    display: grid;
    gap: 16px;
}

.trek-gallery-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.trek-gallery-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.trek-gallery-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

/* Mobile gallery grid adjustments moved to comprehensive responsive section */

.trek-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    aspect-ratio: 4 / 3;
}

.trek-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trek-gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trek-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===================================
   Trek Map Section
   =================================== */
.trek-map-section {
    padding: 40px 0;
    overflow: hidden;
}

.trek-map-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-map-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-height: 1.6;
}

.trek-map-container {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    max-width: 100% !important;
    width: 100% !important;
}

.trek-map-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

/* ===================================
   Trek Cost Details Section
   =================================== */
.trek-cost-section {
    padding: 40px 0;
    overflow: hidden;
}

.trek-cost-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.trek-cost-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 32px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.trek-pricing-table {
    overflow-x: auto !important;
    position: relative !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

.pricing-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #f0f0f0 !important;
    min-width: 100% !important;
}

.pricing-table thead {
    background: #1a1a1a !important;
}

.pricing-table th {
    padding: 18px 24px !important;
    text-align: left !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    white-space: nowrap !important;
}

.pricing-table td {
    padding: 20px 24px !important;
    font-size: 1rem !important;
    color: #555 !important;
    border: none !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.3s ease;
}

.pricing-table tbody tr:last-child {
    border-bottom: none !important;
}

.pricing-table tbody tr:hover {
    background: #fff5ed !important;
    transform: translateX(4px);
    box-shadow: -4px 0 0 #e67e22;
}

.pricing-table tbody td:first-child {
    color: #1a1a1a !important;
    font-weight: 500 !important;
}

.pricing-table tbody td:last-child {
    text-align: right !important;
}

.pricing-table tbody td strong {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #e67e22 !important;
}

/* ===================================
   Responsive Adjustments
   =================================== */
@media (max-width: 1024px) {
    .trek-pricing-sidebar-sticky {
        position: static !important;
    }
    
    .pricing-card {
        padding: 24px !important;
    }
    
    .pricing-amount .price {
        font-size: 40px !important;
    }
    
    /* Tablet: Reduce padding */
    .trek-overview,
    .trek-itinerary,
    .trek-faq,
    .trek-gallery-section,
    .trek-map-section,
    .trek-cost-section,
    .trek-includes-excludes {
        padding: 32px 0 !important;
    }
    
    /* Includes/Excludes grid - single column on tablet */
    .trek-includes-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    /* New widgets - tablet adjustments */
    .trek-data-grid {
        gap: 1.5rem 2rem !important;
        padding: 2rem !important;
    }
    
    .trek-data-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .trek-highlights {
        padding: 0 !important;
        margin-bottom: 2.5rem !important;
    }
    
    .trek-detail-overview {
        padding: 2rem !important;
    }
}

@media (max-width: 768px) {
    /* Typography adjustments - Force with !important */
    .trek-overview-title,
    .trek-itinerary-title,
    .trek-faq-title,
    .trek-gallery-title,
    .trek-map-title,
    .trek-cost-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    .trek-includes-title {
        font-size: 22px !important;
    }
    
    /* Overview mobile - better text wrapping */
    .trek-overview-content {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    
    .trek-overview-content p,
    .trek-overview-content ul,
    .trek-overview-content ol {
        max-width: 100% !important;
    }
    
    /* Itinerary mobile improvements */
    .itinerary-item-header {
        padding: 14px 16px !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
    }
    
    .itinerary-day {
        font-size: 12px !important;
    }
    
    .itinerary-day-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    
    .itinerary-toggle {
        padding: 8px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .itinerary-details {
        padding: 12px 16px !important;
        gap: 12px !important;
        flex-direction: column !important;
    }
    
    .itinerary-detail {
        font-size: 13px !important;
        width: 100% !important;
    }
    
    .itinerary-description {
        padding: 14px 16px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    /* FAQ mobile improvements */
    .faq-question {
        font-size: 15px !important;
        padding: 14px 16px !important;
        flex-wrap: nowrap !important;
    }
    
    .faq-question-text {
        line-height: 1.4 !important;
    }
    
    .faq-icon {
        width: 18px !important;
        height: 18px !important;
        margin-left: 8px !important;
    }
    
    .faq-answer {
        padding: 0 16px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .faq-item.active .faq-answer {
        padding: 14px 16px !important;
    }
    
    /* Includes/Excludes mobile improvements */
    .list-item {
        font-size: 14px !important;
        gap: 10px !important;
        line-height: 1.5 !important;
    }
    
    .list-icon {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Map section mobile */
    .trek-map-title {
        font-size: 24px !important;
    }
    
    .trek-map-description {
        font-size: 15px !important;
        margin-bottom: 24px !important;
        line-height: 1.6 !important;
    }
    
    .trek-map-container {
        border-radius: 8px !important;
    }
    
    /* Cost table mobile - make it scrollable */
    .elementor-widget-single_trek_cost .elementor-widget-container {
        padding: 0 20px !important;
    }
    
    .trek-cost-section {
        overflow: visible !important;
        max-width: 100% !important;
    }
    
    .trek-cost-content {
        font-size: 15px !important;
        line-height: 1.7 !important;
        max-width: 100% !important;
    }
    
    .trek-pricing-table {
        -webkit-overflow-scrolling: touch !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: auto !important;
        scroll-behavior: smooth !important;
    }
    
    .pricing-table {
        min-width: 100% !important;
        width: 100% !important;
        display: table !important;
        border-radius: 10px !important;
    }
    
    .pricing-table thead {
        background: #1a1a1a !important;
    }
    
    .pricing-table thead th {
        padding: 16px 18px !important;
        font-size: 0.875rem !important;
        background: #1a1a1a !important;
        white-space: nowrap !important;
    }
    
    .pricing-table tbody td {
        padding: 16px 18px !important;
        font-size: 0.95rem !important;
    }
    
    .pricing-table tbody td:first-child {
        font-weight: 500 !important;
    }
    
    /* Pricing sidebar mobile improvements */
    .pricing-amount .price {
        font-size: 36px !important;
    }
    
    .pricing-amount .currency {
        font-size: 20px !important;
    }
    
    .pricing-info-item {
        gap: 12px !important;
    }
    
    .info-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
    
    .info-label {
        font-size: 12px !important;
    }
    
    .info-value {
        font-size: 14px !important;
    }
    
    /* Section padding adjustments */
    .trek-overview,
    .trek-itinerary,
    .trek-faq,
    .trek-gallery-section,
    .trek-map-section,
    .trek-cost-section,
    .trek-includes-excludes {
        padding: 24px 0 !important;
    }
    
    /* Trek Brief Data - Mobile */
    .trek-brief-header {
        min-height: 300px !important;
        padding: 2rem 1.5rem !important;
    }
    
    .trek-brief-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    .trek-brief-meta {
        flex-direction: column !important;
        gap: 0.75rem !important;
        font-size: 0.85rem !important;
    }
    
    .trek-brief-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .trek-data-grid {
        padding: 1.5rem !important;
        gap: 1.25rem 1rem !important;
    }
    
    .trek-data-grid.columns-2,
    .trek-data-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .data-label {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .data-value {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
    }
    
    /* Trek Highlights - Mobile */
    .trek-highlights {
        padding: 0 !important;
        margin-bottom: 2.5rem !important;
    }
    
    .trek-highlights-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .highlight-item {
        gap: 0.75rem !important;
        margin-bottom: 0.875rem !important;
    }
    
    .highlight-icon {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        font-size: 10px !important;
        margin-top: 0.15rem !important;
    }
    
    .highlight-icon i {
        font-size: 10px !important;
    }
    
    .highlight-icon svg {
        width: 10px !important;
        height: 10px !important;
        max-width: 10px !important;
        max-height: 10px !important;
    }
    
    .highlight-text {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    /* Trek Detail Overview - Mobile */
    .trek-detail-overview {
        padding: 1.5rem !important;
    }
    
    .trek-detail-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .trek-detail-content {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }
    
    .trek-detail-content h3 {
        font-size: 1.25rem !important;
        margin-top: 1.5rem !important;
    }
    
    .trek-detail-content h4 {
        font-size: 1.1rem !important;
        margin-top: 1.25rem !important;
    }
    
    .trek-detail-content ul,
    .trek-detail-content ol {
        padding-left: 1.5rem !important;
    }
    
    /* Gallery grid - 2 columns on tablet/mobile */
    .trek-gallery-grid[data-columns="2"],
    .trek-gallery-grid[data-columns="3"],
    .trek-gallery-grid[data-columns="4"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* Accordion items */
    .itinerary-item,
    .faq-item {
        margin-bottom: 12px !important;
    }
    
    .itinerary-accordion,
    .faq-accordion {
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small devices - more aggressive spacing */
    .trek-overview-title,
    .trek-itinerary-title,
    .trek-faq-title,
    .trek-gallery-title,
    .trek-map-title,
    .trek-cost-title {
        font-size: 20px !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    
    .trek-includes-title {
        font-size: 20px !important;
        margin-bottom: 16px !important;
        line-height: 1.3 !important;
    }
    
    /* Section padding - tighter on mobile */
    .trek-overview,
    .trek-itinerary,
    .trek-faq,
    .trek-gallery-section,
    .trek-map-section,
    .trek-cost-section,
    .trek-includes-excludes {
        padding: 20px 0 !important;
    }
    
    /* Overview content */
    .trek-overview-content {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
    
    .trek-overview-content p {
        margin-bottom: 14px !important;
    }
    
    /* Itinerary accordion - better mobile layout */
    .itinerary-item-header {
        padding: 12px 14px !important;
        gap: 8px !important;
    }
    
    .itinerary-item-meta {
        padding-right: 0 !important;
    }
    
    .itinerary-day {
        font-size: 11px !important;
        margin-bottom: 2px !important;
    }
    
    .itinerary-day-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
    
    .itinerary-toggle {
        padding: 6px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
    
    .itinerary-toggle svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .itinerary-details {
        padding: 10px 14px !important;
        gap: 10px !important;
        flex-direction: column !important;
    }
    
    .itinerary-detail {
        font-size: 12px !important;
        width: 100% !important;
        line-height: 1.4 !important;
    }
    
    .itinerary-description {
        padding: 12px 14px !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
    }
    
    /* FAQ accordion - better mobile layout */
    .faq-question {
        font-size: 14px !important;
        padding: 12px 14px !important;
        line-height: 1.3 !important;
        gap: 8px !important;
    }
    
    .faq-icon {
        width: 16px !important;
        height: 16px !important;
        margin-left: 4px !important;
    }
    
    .faq-answer {
        padding: 0 14px !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
    }
    
    .faq-item.active .faq-answer {
        padding: 12px 14px !important;
    }
    
    /* Includes/Excludes */
    .trek-includes-grid {
        gap: 20px !important;
    }
    
    .list-item {
        font-size: 13px !important;
        gap: 8px !important;
        line-height: 1.5 !important;
    }
    
    .list-icon {
        width: 16px !important;
        height: 16px !important;
        margin-top: 1px !important;
    }
    
    /* Map section */
    .trek-map-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    .trek-map-description {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        line-height: 1.6 !important;
    }
    
    .trek-map-container {
        border-radius: 6px !important;
    }
    
    /* Cost section */
    .elementor-widget-single_trek_cost .elementor-widget-container {
        padding: 0 15px !important;
    }
    
    .trek-cost-content {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        line-height: 1.65 !important;
    }
    
    .trek-pricing-table {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .pricing-table {
        min-width: 100% !important;
        width: 100% !important;
        font-size: 13px !important;
        display: table !important;
        border-radius: 8px !important;
    }
    
    .pricing-table thead {
        background: #1a1a1a !important;
    }
    
    .pricing-table thead th {
        padding: 14px !important;
        font-size: 0.8rem !important;
        background: #1a1a1a !important;
        white-space: nowrap !important;
    }
    
    .pricing-table tbody td {
        padding: 14px !important;
        font-size: 0.9rem !important;
    }
    
    .pricing-table tbody td:first-child {
        font-weight: 500 !important;
    }
    
    /* Pricing sidebar mobile */
    .pricing-card {
        padding: 20px !important;
    }
    
    .pricing-amount .price {
        font-size: 32px !important;
    }
    
    .pricing-amount .currency {
        font-size: 18px !important;
    }
    
    .pricing-label {
        font-size: 12px !important;
    }
    
    .pricing-info-list {
        gap: 12px !important;
        margin-bottom: 24px !important;
    }
    
    .info-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .btn-block {
        padding: 12px 20px !important;
        font-size: 15px !important;
    }
    
    /* Gallery grid - single column on very small screens */
    .trek-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* Trek Brief Data - Very Small Mobile */
    .trek-brief-header {
        min-height: 250px !important;
        padding: 1.5rem 1.25rem !important;
    }
    
    .trek-brief-title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
    }
    
    .trek-brief-meta {
        font-size: 0.8rem !important;
        gap: 0.5rem !important;
    }
    
    .rating-stars {
        font-size: 0.65rem !important;
    }
    
    .trek-brief-description {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }
    
    .trek-data-grid {
        gap: 1rem 0.75rem !important;
        padding: 1.25rem !important;
    }
    
    .trek-data-grid.columns-2,
    .trek-data-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .data-label {
        font-size: 0.75rem !important;
        margin-bottom: 0.35rem !important;
    }
    
    .data-value {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
    }
    
    /* Trek Highlights - Very Small Mobile */
    .trek-highlights {
        padding: 0 !important;
        margin-bottom: 2rem !important;
    }
    
    .trek-highlights-title {
        font-size: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.3 !important;
    }
    
    .highlight-item {
        gap: 0.65rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .highlight-icon {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        font-size: 9px !important;
        margin-top: 0.1rem !important;
    }
    
    .highlight-icon i {
        font-size: 9px !important;
    }
    
    .highlight-icon svg {
        width: 9px !important;
        height: 9px !important;
        max-width: 9px !important;
        max-height: 9px !important;
    }
    
    .highlight-text {
        font-size: 0.875rem !important;
        line-height: 1.55 !important;
    }
    
    /* Trek Detail Overview - Very Small Mobile */
    .trek-detail-overview {
        padding: 1.25rem !important;
    }
    
    .trek-detail-title {
        font-size: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.3 !important;
    }
    
    .trek-detail-content {
        font-size: 0.875rem !important;
        line-height: 1.65 !important;
    }
    
    .trek-detail-content p {
        margin-bottom: 1rem !important;
    }
    
    .trek-detail-content h3 {
        font-size: 1.15rem !important;
        margin-top: 1.25rem !important;
        margin-bottom: 0.85rem !important;
    }
    
    .trek-detail-content h4 {
        font-size: 1rem !important;
        margin-top: 1rem !important;
        margin-bottom: 0.65rem !important;
    }
    
    .trek-detail-content ul,
    .trek-detail-content ol {
        padding-left: 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .trek-detail-content li {
        margin-bottom: 0.4rem !important;
        font-size: 0.875rem !important;
    }
}

/* ===================================
   Extra Small Devices (375px and below)
   =================================== */
@media (max-width: 375px) {
    /* Ultra compact spacing for very small screens */
    .trek-overview-title,
    .trek-itinerary-title,
    .trek-faq-title,
    .trek-gallery-title,
    .trek-map-title,
    .trek-cost-title {
        font-size: 18px !important;
        margin-bottom: 14px !important;
        line-height: 1.25 !important;
    }
    
    .trek-includes-title {
        font-size: 18px !important;
        margin-bottom: 14px !important;
    }
    
    .trek-overview-content {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    
    .itinerary-item-header {
        padding: 10px 12px !important;
    }
    
    .itinerary-day-title {
        font-size: 13px !important;
    }
    
    .itinerary-details {
        padding: 8px 12px !important;
    }
    
    .itinerary-description {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
    
    .faq-question {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }
    
    .faq-answer {
        padding: 0 12px !important;
        font-size: 12px !important;
    }
    
    .faq-item.active .faq-answer {
        padding: 10px 12px !important;
    }
    
    .list-item {
        font-size: 12px !important;
    }
    
    .trek-pricing-table {
        margin: 0 -12px !important;
        padding: 0 12px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .pricing-table {
        min-width: 380px !important;
        display: table !important;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 8px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    
    .pricing-table td:first-child {
        white-space: normal !important;
        min-width: 90px !important;
    }
    
    /* Trek Brief Data - Extra Small */
    .trek-brief-header {
        min-height: 220px !important;
        padding: 1.25rem 1rem !important;
    }
    
    .trek-brief-title {
        font-size: 1.35rem !important;
    }
    
    .trek-brief-meta {
        font-size: 0.75rem !important;
    }
    
    .trek-brief-description {
        font-size: 0.85rem !important;
    }
    
    .trek-data-grid {
        gap: 0.85rem 0.65rem !important;
        padding: 1rem !important;
    }
    
    .data-label {
        font-size: 0.7rem !important;
    }
    
    .data-value {
        font-size: 0.875rem !important;
    }
    
    /* Trek Highlights - Extra Small */
    .trek-highlights {
        padding: 0 !important;
        margin-bottom: 1.75rem !important;
    }
    
    .trek-highlights-title {
        font-size: 1.15rem !important;
        margin-bottom: 1rem !important;
    }
    
    .highlight-item {
        gap: 0.5rem !important;
        margin-bottom: 0.7rem !important;
    }
    
    .highlight-icon {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        font-size: 8px !important;
        margin-top: 0.1rem !important;
    }
    
    .highlight-icon i {
        font-size: 8px !important;
    }
    
    .highlight-icon svg {
        width: 8px !important;
        height: 8px !important;
        max-width: 8px !important;
        max-height: 8px !important;
    }
    
    .highlight-text {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }
    
    /* Trek Detail Overview - Extra Small */
    .trek-detail-overview {
        padding: 1rem !important;
    }
    
    .trek-detail-title {
        font-size: 1.15rem !important;
        margin-bottom: 1rem !important;
    }
    
    .trek-detail-content {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }
    
    .trek-detail-content p {
        margin-bottom: 0.85rem !important;
    }
    
    .trek-detail-content h3 {
        font-size: 1.05rem !important;
        margin-top: 1rem !important;
    }
    
    .trek-detail-content h4 {
        font-size: 0.95rem !important;
    }
    
    .trek-detail-content ul,
    .trek-detail-content ol {
        padding-left: 1rem !important;
    }
    
    .trek-detail-content li {
        font-size: 0.8rem !important;
    }
}

/* ===================================
   Touch-Friendly Improvements
   =================================== */
@media (max-width: 768px) {
    /* Ensure buttons are touch-friendly (minimum 44px height) */
    .itinerary-toggle,
    .faq-question {
        min-height: 44px;
    }
    
    /* Better tap target for accordion items */
    .itinerary-item-header,
    .faq-question {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(230, 126, 34, 0.1);
        touch-action: manipulation;
    }
    
    /* Prevent text selection on interactive elements */
    .itinerary-toggle,
    .faq-question {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Smooth scrolling for overflow tables */
    .trek-pricing-table {
        scroll-behavior: smooth;
    }
    
    /* Add scroll hint for tables */
    .trek-pricing-table::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50px; /* Start below the header to avoid gradient on thead */
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
        pointer-events: none;
        z-index: 1;
    }
    
    /* Prevent horizontal overflow on mobile */
    .trek-overview,
    .trek-itinerary,
    .trek-faq,
    .trek-includes-excludes,
    .trek-map-section {
        overflow-x: hidden;
        max-width: 100%;
    }
}

/* ===================================
   Additional Mobile Layout Improvements
   =================================== */
@media (max-width: 768px) {
    /* Force Elementor containers to be mobile-friendly */
    .single-tour .elementor-widget-container,
    .single-trek-page .elementor-widget-container {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    /* Ensure all trek widgets fit within mobile screen */
    .trek-hero-gallery,
    .trek-overview,
    .trek-itinerary,
    .trek-includes-excludes,
    .trek-faq,
    .trek-gallery-section,
    .trek-map-section,
    .trek-cost-section {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure content doesn't overflow on mobile */
    .trek-overview-content img,
    .itinerary-description img,
    .faq-answer img,
    .trek-cost-content img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    /* Better readability for lists */
    .trek-overview-content ul,
    .trek-overview-content ol,
    .itinerary-description ul,
    .itinerary-description ol,
    .faq-answer ul,
    .faq-answer ol,
    .trek-cost-content ul,
    .trek-cost-content ol {
        padding-left: 20px;
        margin-bottom: 12px;
        max-width: 100%;
    }
    
    .trek-overview-content li,
    .itinerary-description li,
    .faq-answer li,
    .trek-cost-content li {
        margin-bottom: 6px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    /* Ensure embedded content is responsive */
    .trek-overview-content iframe,
    .itinerary-description iframe,
    .faq-answer iframe,
    .trek-cost-content iframe {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Tables in content */
    .trek-overview-content table,
    .itinerary-description table,
    .faq-answer table {
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }
    
    /* Prevent long words from breaking layout */
    .trek-overview-content,
    .itinerary-description,
    .faq-answer,
    .trek-cost-content,
    .itinerary-day-title,
    .faq-question-text {
        hyphens: auto;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
    }
}

@media (max-width: 480px) {
    /* Even tighter spacing for very small screens */
    .trek-overview-content p,
    .itinerary-description p,
    .faq-answer p,
    .trek-cost-content p {
        margin-bottom: 12px;
    }
    
    /* Responsive embedded videos */
    .trek-map-container iframe {
        width: 100%;
        height: auto;
        min-height: 250px;
    }
    
    /* Lists with less padding */
    .trek-overview-content ul,
    .trek-overview-content ol,
    .itinerary-description ul,
    .itinerary-description ol,
    .faq-answer ul,
    .faq-answer ol {
        padding-left: 16px;
    }
}

/* ===================================
   Elementor Column Mobile Fixes
   =================================== */
@media (max-width: 1024px) {
    /* Ensure Elementor columns stack properly on tablet/mobile */
    .single-tour .elementor-column,
    .single-trek-page .elementor-column {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* Force single column layout on mobile */
    .single-tour .elementor-section .elementor-container,
    .single-trek-page .elementor-section .elementor-container {
        flex-direction: column !important;
    }
    
    .single-tour .elementor-column,
    .single-trek-page .elementor-column {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Ensure no horizontal overflow */
    .single-tour .elementor-section,
    .single-trek-page .elementor-section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .trek-pricing-sidebar,
    .pricing-actions,
    .itinerary-toggle,
    .faq-question button {
        display: none;
    }
    
    .itinerary-item-content,
    .faq-answer {
        max-height: none !important;
        display: block !important;
    }
}
