/* Trek Cards Wrapper */
.trek-cards-wrapper {
    position: relative;
    
}

/* Trek Cards Container */
.trek-cards-container {
    padding: 10px 0;
}

/* Individual Trek Card */
.trek-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 100%;
    margin: 0 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.trek-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Trek Image */
.trek-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.trek-image img {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trek-card:hover .trek-image img {
    transform: scale(1.05);
}

/* Trending Badge */
.trending-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #EA6B1F;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;  
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trending-icon {
    width: 16px;
    height: 16px;
    fill: white;
}

/* Trek Content */
.trek-content {
    padding: 10px;
}

/* Trek Header */
.trek-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    margin-top:0px;
}

.trek-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #EA6B1F;
    font-size: 14px;
    font-weight: 500;
}

.trek-icon {
    width: 16px;
    height: 16px;
    fill: #EA6B1F;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-badge {
    background-color: #ffd700;
    color: #000;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    min-width: 32px;
    text-align: center;
}

.review-text {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

/* Trek Title */
.trek-title {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
}

/* Location Info */
.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.location-icon {
    width: 16px;
    height: 16px;
    fill: #666;
}

/* Pricing Section */
.pricing-section {
    display: flex;
    margin-bottom: 5px;
}

.price-label {
    color: #666;
    font-size: 16px;
    align-items: center;
    margin-bottom: 8px;
    display: block;
}



.price-label {
    align-items: center;
    font-size: 15px;
    margin-right: 5px;
    color: #555;
}

.price-container {
    display: inline-block;
}

.current-price {
    color: #e63946;
    font-weight: 700;
    font-size: 18px;
    margin-right: 6px;
}

.original-price {
    color: #999;
    font-size: 15px;
    text-decoration: line-through;
}

/* Trek Details */
.trek-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 16px;
}

.detail-icon {
    width: 16px;
    height: 16px;
    fill: #666;
}
/* Desktop: show full text */
.duration-full {
  display: inline;
}
.duration-short {
  display: none;
}

/* Mobile view (below 768px): show short format */
@media (max-width: 768px) {
  .duration-full {
    display: none;
  }
  .duration-short {
    display: inline;
  }
}

/* Trek Action */
.trek-action {
    margin-left: auto;
}

.book-now-btn {
    display: inline-block;
    background: #EA6B1F;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.book-now-btn:hover {
    background: #0168A4;
    color: #ffffff;
}

/* Slick Carousel Custom Styles */
.trek-cards-container.slick-slider {
    margin-bottom: 30px;
}

.trek-cards-container .slick-dots {
    text-align: center;
}

.trek-cards-container .slick-dots li button:before {
    color: #EA6B1F;
    font-size: 12px;
}

.trek-cards-container .slick-dots li.slick-active button:before {
    color: #0168A4;
}

.trek-cards-container .slick-prev,
.trek-cards-container .slick-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #B2767E;
    border: none;
    background: #EA6B1F;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    user-select: none;
}

.trek-cards-container .slick-prev:hover,
.trek-cards-container .slick-next:hover {
    background: #0168A4;
}

.trek-cards-container .slick-prev {
    left: -50px;
}

.trek-cards-container .slick-next {
    right: -50px;
}

.trek-cards-container .slick-prev:before,
.trek-cards-container .slick-next:before {
    color: white;
    font-size: 18px;
    line-height: 40px;
}

.slick-dots [type=button]:focus,
.slick-dots [type=button]:hover,
.slick-dots [type=submit]:focus,
.slick-dots [type=submit]:hover,
.slick-dots button:focus,
.slick-dots button:hover {
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.slick-prev.slick-arrow:focus,
.slick-prev.slick-arrow:active,
.slick-next.slick-arrow:focus,
.slick-next.slick-arrow:active {
    background:#0168A4  !important;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .trek-cards-container .slick-prev {
        left: -30px;
    }
    
    .trek-cards-container .slick-next {
        right: -30px;
    }
}

/* Mobile Trek Cards - Professional Grid Template Layout */
@media (max-width: 768px) {
    .trek-cards-container {
        padding: 10px;
        gap: 10px;
    }
    
    .trek-card {
        background: white;
        border-radius: 8px;
        margin: 0 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        max-width: none;
        width: calc(50% - 6px);
        min-height: auto;
    }
    
    /* Image */
    .trek-image {
        height: 140px;
        border-radius: 8px 8px 0 0;
    }
    
    .trek-image img {
        width: 100%;
        height: 150px !important;
        object-fit: cover;
    }
    
    /* Trending Badge */
    .trending-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: #EA6B1F;
        color: white;
        padding: 3px 10px;
        border-radius: 8px;
        font-size: 10px;
        font-weight: 600;
        gap: 4px;
    }
    
    .trending-badge svg {
        width: 14px;
        height: 14px;
    }
    
    /* Content */
    .trek-content {
        padding: 5px;
    }
    
    /* Header */
    .trek-header {
        margin-bottom: 5px;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    
    .trek-category {
        font-size: 11px;
        gap: 4px;
         white-space: nowrap;        
        overflow: hidden;           
        text-overflow: ellipsis;    
        width: 200px; 
    }
    
    .trek-icon {
        width: 12px;
        height: 12px;
    }
    
    .rating-badge {
        background: #4CAF50;
        color: white;
        padding: 3px 6px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 600;
        min-width: 28px;
        text-align: center;
    }
    
    .review-text {
        font-size: 11px;
        color: #666;
        margin-left: 4px;
    }
    
    /* Title */
    .trek-title {
        font-size: 13px;
        font-weight: 700;
        color: #333;
        margin: 0 0 5px 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Location */
    .location-info {
        display: flex !important;
        align-items: center;
        gap: 4px;
        margin-bottom: 12px;
        color: #666;
        font-size: 12px;
    }
    
    .location-icon {
        width: 12px;
        height: 12px;
        fill: #666;
    }
    
    /* Pricing */
    .pricing-section {
        margin-bottom: 5px;
    }
    
    .price-label {
        font-size: 11px;
        margin-bottom: 4px;
        display: block !important;
    }
    
    .current-price {
        color: #EA6B1F;
        font-size: 16px;
        font-weight: 700;
    }
    
    .original-price {
        color: #999;
        font-size: 13px;
        text-decoration: line-through;
        margin-left: 6px;
    }
    
    /* Trek Details - Wrap Layout */
    .trek-details {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 0px;
        justify-content: flex-start;
        gap: 8px;
    }
    
    /* Detail Items - Side by Side */
    .detail-item {
        display: flex;
        align-items: center;
        gap: 4px;
        color: #666;
        font-size: 9px;
        font-weight: 500;
        width: calc(50% - 4px);
    }
    
    .detail-icon {
        width: 12px;
        height: 12px;
        fill: #666;
        flex-shrink: 0;
    }
    
    .detail-item span {
        font-size: 9px;
    }
    
    /* Full Width Button on New Row */
    .trek-action {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
    }
    
    /* Book Button - Professional */
    .book-now-btn {
        background: #EA6B1F;
        color: white;
        padding: 10px 16px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .book-now-btn:hover {
        background: #0168A4;
        color: white;
    }
}

/* Slick Carousel Mobile Settings */
@media (max-width: 768px) {
    .trek-cards-container .slick-list {
        margin: 0 -6px;
    }
    
    .trek-cards-container .slick-slide {
        padding: 0px;
    }
    
    .trek-cards-container .slick-dots {
        bottom: -30px;
    }
    
    .trek-cards-container .slick-dots li button:before {
        color: #EA6B1F;
        font-size: 10px;
    }
    
    .trek-cards-container .slick-dots li.slick-active button:before {
        color: #333;
    }
    
    /* Hide arrows on mobile */
    .trek-cards-container .slick-prev,
    .trek-cards-container .slick-next {
        display: none !important;
    }
}

/* Fix for slick carousel focus outline */
.trek-cards-container .slick-slide:focus {
    outline: none;
}

.trek-cards-container .slick-list {
    margin: 0 -10px;
}

.trek-cards-container .slick-track {
    display: flex;
    padding-bottom:10px;
    align-items: stretch;
}

.trek-cards-container .slick-slide {
    display: flex !important;
    height: auto;
}

.trek-cards-container .slick-slide > div {
    width: 100%;
    height: 100%;
}

/* Ensure all cards have the same height */
.trek-cards-container .trek-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.trek-cards-container .trek-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

