
@media (max-width: 991px) {
 
   
    .gallery-main-image {
        height: 400px;
    }
    
    .gallery-side-images {
        height: auto;
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .gallery-side-image {
        height: 200px;
    }
    
   
} 

 
@media (max-width: 767px) {
      .luxuryv2-image {
        height: 180px;
    }
    
    .luxuryv2-price-main {
        font-size: 20px;
    }
    
    .luxuryv2-view-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .luxuryv2-prev, .luxuryv2-next {
        width: 35px;
        height: 35px;
    }
    
    .luxuryv2-prev {
        left: 5px;
    }
    .bestseller-title
    {
        margin:0px;
    }
    .bestseller-category { 
    font-size: 10px;
}
    .luxuryv2-next {
        right: 5px;
    }
      .luxuryv2-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 0px;
    }
    
    .luxuryv2-view-btn {
        margin-left: 0;
        align-self: flex-start;
    }
  .swiper-slide.swiper-slide-active {
    width: 90% !important;
}
    .gallery-action-buttons-overlay .service-wishlist {
    display: none !important;
}
    .luxuryv2-bottom-features { 
    gap: 6px;
    margin-bottom: 5px;
    font-size: 10px;
}
.luxuryv2-location { 
      margin-bottom: 0px;
}
    .luxuryv2-content {
        padding: 5px 10px 5px 10px;
    }
    .luxuryv2-feature-bottom { 
    font-size: 8px; 
    padding: 0px 10px; 
}
.luxuryv2-title {
    font-size: 15px; 
    margin: 0 0 1px 0; 
}
.luxuryv2-per-person {
    font-size: 10px; 
}
section.hero-v2.mt-15.pl-25.mb-15 {
    margin: 0px; 
}
        .blog-section { 
        overflow: hidden;
        margin-top: 0;
        }
        section.py-5.bg-white .mobile-container .row {
    padding: 0px;
}
    .support-section
    {
        display: none;
    }
    .gallery-action-buttons-overlay { 
        top: 200px; 
    right: 0;   
    bottom: auto;
}
    .btn-overlay-action {
        padding: 6px;
        height: 25px;
    }
     .gallery-action-buttons-overlay .service-wishlist.active button {
    background: #faaa56;
    color: white;
    padding: 6px;
    height: 25px;
}
    .big-slider-view-btn { 
         color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #f8f9fa;
    border-radius: 15px;
    }
    a.big-slider-view-btn:hover {
        background: #ffffff;
    }
    .big-slider-category {
    display: none;
}
    .big-slider-pricing { 
    max-width: 50%;
}
.mobile-container
{
max-width: 1250px;
        padding: unset;
        margin: 0 0px 0 0px;
        padding-right: 1rem;
        padding-left: 1rem;
        margin-right: auto;
        margin-left: auto;
        margin-top: 2rem;
}
.tour-page .container { 
    padding: unset;
    margin: 0 0px 0 0px;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
    margin-top: 2rem;
}
p.experience-text.mb-0.pb-0 {
    font-size: 11px;
    text-align: left;
}
.contact-header h3 {
    font-size: 13px !important;
}
    .tour-page .itinerary-controls {
        justify-content: center;
        position: absolute;
        right: 0;
    }
  /* .normalbigswiper .swiper-slide,.experiences-slider .swiper-slide,.luxuryv2-slide,.bestseller-section .swiper-slide,.hsj-moments-section,section.hsj-moments-section.mt-15.bg-white.swiper-slide{
    user-select: none;
    -webkit-user-select: none;
    width: 90% !important;
    height: auto;
} */
.hsj-moments-section .container,section#testimonials
 {
    max-width: 1450px;
    margin: 0px auto 0 auto;
    padding: unset;
}
.experiences-slider
{
    overflow: hidden;
}

 .blog-mobile-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
    .content-left {
        width: 100%;
        margin-top: 0px;
    }
    h4.hsj-blog-post-title.mb-5{
    margin-bottom: 5px !important;
}
.hsj-blog-post-date svg {
    background: #1a4b89;
}
    .normalbigswiper,.bestseller-section,section.luxuryslider,.blog-section .container,.hsj-moments-section,section.hsj-moments-section.mt-15.bg-white {
        max-width: 1250px;
                padding: unset;
        margin: 0 0px 0 0px;
        padding-right: 1rem;
        padding-left: 1rem;
        margin-right: auto;
        margin-left: auto;
        margin-top: 2rem;
    }
    a.bestseller-view-all {
    padding: 0.15rem 0.5rem;
    font-size: 10px;
    display: inline;
}
.bestseller-subtitle {
    margin-bottom: unset;
    font-size: 10px;
}
 .bestseller-container {
 
  padding: unset;
}
.swiper-button-prev, .swiper-button-next { 
    top: 35%;
}
 
.swiper-button-prev
{
            left: 0.25rem;
}
.swipper-button-next {
        right: -0.25rem;
    }
/* .bestseller-swiper {
    padding: unset;
} */
 .luxuryslider .luxury-header { 
    margin-bottom: 20px;
}
.container.big-slider-category-wrapper.mb-20 {
    width: 105%;
}
.big-slider-scroll-indicator.right {
    right: -10px;
}
.big-slider-scroll-indicator.left {
    left: -30px;
}
  .big-slider-amount {
                font-size: 20px;
            }
            .big-slider-savings {
    font-size: 12px;   
}
.big-slider-pricing2 {
    margin-top: 0px;
}
.pricing-box-mobile{
        justify-content: space-between;
}
.container.big-slider-category-wrapper.mb-20 {
    padding: 0 0px;
}
.big-slider-category-links { 
    gap: 10px; 
    padding: 5px 0 0 5px;
}
        .top-picks-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 0;
} 
    .top-bar-right { 
        padding-bottom:10px;
}
    .main-header { 
    background-size: cover;
}
    .blog-section .featured-post .card-body
    {
        padding: 15px 5px 5px 5px;
    }
    .blog-section .featured-post .card-title {
    font-size: 20px; 
}
.hsj-blog-bottom.text-center.pt-25
{
      padding-top: 10px!important;
}
    .py-5
    {
        padding: 0!important;
    }
    .container2 {
    width: 100%;
}
  .business-group-section .container .row.g-4,.logo-track{
  display: flex;
  flex-wrap: nowrap;            /* Prevent wrapping — keep images in a line */
  overflow-x: visible;             /* Enable horizontal scrolling */
  /*-webkit-overflow-scrolling: touch;    Smooth scrolling on iOS */
  gap: 1rem;                     /* Space between cards; adjust as needed */
  /*scroll-snap-type: x mandatory;  Optional: snap to each card when scrolling */
      animation: scroll 30s linear infinite;
      width: 100%;

}
 .associated-section .container .row .col-6 {
    width: 35%;
}
.business-group-section .container .row .col-6
{
   width: 55%;   
}
.recommended-section .logo-track { 
    animation: scroll 30s linear infinite; 
}

.business-group-section .business-card ,.associated-section .business-card{
  flex: 0 0 auto;                /* Make each card shrink/grow properly in flex */
  scroll-snap-align: start;      /* Optional: where to “snap” on scroll */
}

/* Optionally hide scrollbar (if you want) */
.business-group-section .row::-webkit-scrollbar ,.associated-section .row::-webkit-scrollbar {
  display: none;
}
.business-group-section .row ,.associated-section .row {
  scrollbar-width: none; /* For Firefox */
}

     .hsj-moments-section {
    background-color: #f0f2f5; 
}
    .gallery-main-image {
        height: 300px;
        border-radius: var(--radius-md);
    }
    
    .gallery-side-images {
        margin-top: 0.5rem;
    }
    
    .gallery-side-image {
        height: 150px;
    }
    
    .property-title {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        width: 100%;
        margin-top: 1rem;
    }
    
    .btn-icon {
        flex: 1;
        justify-content: center;
    }
     
}
@media (max-width: 767px) {
    .header-container {
    max-width: 100%;
     padding: 0 0px;
    }
    .top-bar-left
    {
        display: none;
    }
    .top-bar
    {
        width: 100%;
    }
    .whatsapp-btn
    {
        display: none;
    }
    .topbar-switchers
    {
        display: none;
    }
    ol.breadcrumb.mb-0 {
    font-size: 8px;
    /* padding: 0 0 0 10px; */
}
.tour-page .main-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}
  .hsj-chose-area.swiper {
    overflow: hidden;
  }
  .hsj-chose-area .swiper-slide {
            width: 100%;
        margin: 5px 20px 15px 0px;
  }


  .hsjfooter_recommendation-logo {
          flex-wrap: wrap;
        overflow-x: auto;
        white-space: nowrap;
        display: inline-block;
        margin-top: 9px;
        scrollbar-width: none;
        padding-bottom: 10px;         /* prevent wrapping */
}

 

.hsjfooter_recommendation-logo a img {
    width: auto;
    max-height: 87px;
}
}


/* ===== Responsive Design ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .section-title {
        font-size: 0.95rem;
    }
    
    .logo-item img {
        max-height: 35px;
        max-width: 120px;
    }
    
    .logo-track {
        gap: 2rem;
    }
    
 
    
    .business-logo {
        min-height: 80px;
    }
    
    .business-logo img {
        max-height: 80px;
    }
    
    .association-card {
        min-height: 100px;
        padding: 1.25rem;
    }
    
    .association-card img {
        max-height: 70px;
    }
    
    .newsletter-box {
        padding: 1.5rem;
    }
}

/* At-a-Glance Section Mobile Optimization */
@media (max-width: 767px) {
    .at-glance-section {
        padding: 20px 0;
        position: relative;
    }
    
    .at-glance-section::after {
        content: "Scroll for more ↓";
        position: absolute;
        bottom: 10px;
        right: 20px;
        font-size: 11px;
        color: #007bff;
        background: rgba(255,255,255,0.9);
        padding: 5px 10px;
        border-radius: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 0.7; }
        50% { opacity: 1; }
    }
    
    .at-glance-section.scrolling::after {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    /* Ensure proper touch behavior for mobile scrolling */
    body, html {
        touch-action: auto !important;
        overscroll-behavior-x: auto !important;
    }
    
    .tour-page, main, .container {
        touch-action: auto !important;
    }
    
    /* Only restrict touch action on swiper containers */
    .swiper-container, .swiper {
        touch-action: pan-y !important;
        overscroll-behavior-x: none !important;
    }
    
    /* Ensure at-glance grid can scroll */
    .glance-grid {
        touch-action: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Mobile booking widget integration */
    @media (max-width: 767px) {
        /* Hide desktop sidebar on mobile when mobile widget is active */
        .content-sidebar {
            display: none;
        }
        
        /* Add bottom padding to prevent content overlap with mobile widget */
        .tour-page {
            padding-bottom: 50px;
        }
        
        /* Ensure proper spacing for mobile widget */
        .tour-content {
            margin-bottom: 20px;
        }
    }
    
    .glance-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        max-height: 400px;
        overflow-y: auto;
        padding: 10px;
        scrollbar-width: thin;
        scrollbar-color: #007bff #f1f1f1;
    }
    
    .glance-grid::-webkit-scrollbar {
        width: 6px;
    }
    
    .glance-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .glance-grid::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 3px;
    }
    
    .glance-grid::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }
    
    .glance-item {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 120px;
    }
    
    .glance-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .glance-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        color: white;
        font-size: 16px;
    }
    
    .glance-content h4 {
        font-size: 12px;
        font-weight: 600;
        color: #333;
        margin: 0 0 5px 0;
        line-height: 1.2;
    }
    
    .glance-content p {
        font-size: 11px;
        color: #666;
        margin: 0;
        line-height: 1.3;
        word-break: break-word;
    }
}

/* Tablet styles for at-glance-section */
@media (min-width: 768px) and (max-width: 991px) {
    .glance-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .glance-item {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.2s ease;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .glance-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .glance-content h4 {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin: 0 0 5px 0;
    }
    
    .glance-content p {
        font-size: 13px;
        color: #666;
        margin: 0;
    }
}

/* Desktop styles for at-glance-section */
@media (min-width: 992px) {
    .glance-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .glance-item {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .glance-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    .glance-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        flex-shrink: 0;
    }
    
    .glance-content h4 {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0 0 8px 0;
    }
    
    .glance-content p {
        font-size: 14px;
        color: #666;
        margin: 0;
        line-height: 1.4;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .breadcrumb-section { 
    width: 100%;
    }
    .btn-overlay-action { 
    padding: 10px;
    }
    .section-title {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }
    .currency-selector { 
    padding: 4px 3px;
    }
    .tour-page h1, .tour-page .h1 { 
    font-size: var(--text-xl)!important;
    }
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .logo-scroller {
        margin: 0 -15px;
    }
    
    .logo-item {
        padding: 0.5rem;
    }
    
    .logo-item img {
        max-height: 30px;
        max-width: 100px;
    }
    
    .logo-track {
        gap: .5rem!important;
    }
    
    .business-logo {
        min-height: 100px;
    }
    
    .business-logo img {
        max-height: 100px;
    }
    
    .association-card {
        min-height: 90px;
        padding: 1rem;
    }
    
    .association-card img {
        max-height: 60px;
    }
    
    .newsletter-box {
        padding: 1.25rem;
    }
    
    .newsletter-title {
        font-size: 1rem;
    }
    
    .newsletter-subtitle {
        font-size: 0.875rem;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn-primary {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }
    
    .footer-content,
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .payment-methods img {
        height: 35px;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {

    .recommended-section,
    .business-group-section,
    .associated-section,
    .newsletter-section,
    .footer-section {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
                overflow: hidden;
    }
    
    .section-title {
        font-size: 0.85rem;
    }
    
    .recommended-section .logo-item img {
        max-height: 28px;
        max-width: 90px;
    }
    
    .recommended-section .logo-track {
        gap: 1rem;
    }
    
 
    
    .business-logo {
        min-height: 100px;
    }
    
    .business-logo img {
        max-height: 100px;
    }
    
    .association-card {
        min-height: 80px;
        padding: 0.875rem;
    }
    
    .association-card img {
        max-height: 50px;
    }
    
    .newsletter-box {
        padding: 1rem;
    }
    
    .newsletter-title {
        font-size: 0.95rem;
    }
    
    .newsletter-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem !important;
    }
    
    .newsletter-form .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .newsletter-form .btn-primary {
        padding: 0.625rem 1rem;
    }
    
    .form-note {
        font-size: 0.75rem;
        margin-top: 0.5rem !important;
    }
    
    .footer-title {
        font-size: 0.85rem;
    }
    
    .footer-content,
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .social-link-a  {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .payment-methods {
        gap: 0.5rem;
    }
    
    .payment-methods img {
        height: 32px;
    }
}

/* ===== Accessibility ===== */
*:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo-track {
        animation: none;
    }
}

/* Print Styles */
@media print { 
    .social-section {
        display: none;
    }
}

@media (max-width: 1024px) {
    .tour-swiper-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .swiper-left-content {
        text-align: center;
    }
    
    .swiper-left-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
     .blog-section .blog-grid {
        grid-template-columns: 1fr;
    }
    
     .blog-section .featured-post .post-image {
        height: 250px;
    }
    
     .blog-section .featured-post h2 {
        font-size: 22px;
    }
    
     .blog-section .small-post h3 {
        font-size: 16px;
    }
  .blog-section .text-muted {
    font-size: 14px;
}
    .moments-header .header-left
    {
        display:none;
    }
    .experiences-section.offers-slider
    {

    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 30px 0;
    }
    
     .blog-section .featured-post .post-content {
        padding: 20px;
    }
    
    .blog-section .small-post {
        padding: 5px;
    }
     
     
}
/* Enhanced Swiper Trackpad Support */
.experiencesSwiper {
    /* Enable hardware acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    
    /* Better touch handling */
    touch-action: pan-y pinch-zoom;
    -ms-touch-action: pan-y pinch-zoom;
    
    /* Smooth scrolling */
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
}

.experiencesSwiper .swiper-wrapper {
    /* Ensure smooth transitions */
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Better trackpad handling */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.experiencesSwiper .swiper-slide {
    /* Prevent text selection during drag */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
    /* Better touch handling */
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

/* Fix for trackpad horizontal scrolling */
.experiencesSwiper::-webkit-scrollbar {
    display: none;
}

.experiencesSwiper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Enhanced grab cursor */
.experiencesSwiper.swiper-container-grab {
    cursor: grab;
    cursor: -webkit-grab;
}

.experiencesSwiper.swiper-container-grabbing {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Better button positioning for trackpad users */
.experiences-button-next,
.experiences-button-prev {
    /* Ensure buttons are accessible */
    z-index: 10;
    pointer-events: auto;
    
    /* Better hover states */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

 

/* Prevent conflicts with other scroll elements */
.experiencesSwiper * {
    box-sizing: border-box;
}

/* Enhanced free mode styling */
.experiencesSwiper.swiper-container-free-mode > .swiper-wrapper {
    transition-timing-function: ease-out;
    margin: 0 auto;
}

/* Better momentum scrolling on iOS */
.experiencesSwiper {
    -webkit-overflow-scrolling: touch;
}

/* Fix for Safari trackpad issues */
@supports (-webkit-touch-callout: none) {
    .experiencesSwiper {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .experiencesSwiper {
        /* Better mobile touch handling */
        touch-action: pan-x pinch-zoom;
        -ms-touch-action: pan-x pinch-zoom;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .experiencesSwiper .swiper-slide {
        /* Better rendering on retina displays */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}