/* yacht chater css start */
        .ui-slider {
            background: #e2eaf0;
            border: none;
            border-radius: 10px;
            height: 6px;
        }

        .ui-slider .ui-slider-handle {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: white;
            border: 2.5px solid #5EA6C8;
            cursor: pointer;
            top: -8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
            transition: transform 0.2s;
        }

        .ui-slider .ui-slider-handle:hover {
            transform: scale(1.15);
        }

        .ui-slider .ui-slider-range {
            background: linear-gradient(90deg, #5EA6C8, #87bddb);
        }

        .custom-scroll::-webkit-scrollbar {
            width: 5px;
        }

        .custom-scroll::-webkit-scrollbar-track {
            background: #eef2f6;
            border-radius: 10px;
        }

        .custom-scroll::-webkit-scrollbar-thumb {
            background: #5EA6C8;
            border-radius: 10px;
        }

        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .flatpickr-calendar {
            border-radius: 16px;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
            font-family: 'Inter', sans-serif;
            border: 1px solid rgba(94, 166, 200, 0.2);
        }

        .flatpickr-day.selected {
            background: #5EA6C8;
            border-color: #5EA6C8;
        }

        .flatpickr-day.today {
            border-color: #5EA6C8;
            background: rgba(94, 166, 200, 0.1);
        }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
        }

        /* Mobile Filter Button - TOP FIXED */
        .yc-mobile-filter-bar {
            position: fixed;
            top: 20px;
            left: 0;
            right: 0;
            z-index: 45;
            display: flex;
            justify-content: center;
            padding: 0 16px;
            background: transparent;
        }

        .yc-filter-btn {
    width: 100%;
    max-width: 200px;
    padding: 10px 16px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    cursor: pointer;
    backdrop-filter: blur(8px);

    /* ADD THIS */
    position: fixed;
    top: 130px;
    right: 20px;
    z-index: 9999;
}

        .yc-filter-btn:active {
            transform: scale(0.96);
        }

        .yc-filter-btn-all {
            background: linear-gradient(135deg, #5EA6C8, #3d8aae);
            color: white;
            border: none;
        }

        .yc-sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .yc-sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .yc-sidebar-panel {
            position: fixed;
            top: 0;
            left: -100%;
            width: 85%;
            max-width: 380px;
            height: 100%;
            background: white;
            z-index: 1001;
            overflow-y: auto;
            transition: left 0.3s ease;
            box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
            border-radius: 0 20px 20px 0;
        }

        .yc-sidebar-panel.active {
            left: 0;
        }

        .yc-sidebar-header {
            position: sticky;
            top: 0;
            background: white;
            padding: 16px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
        }

        .yc-sidebar-close {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .yc-sidebar-close:hover {
            background: #e2e8f0;
        }

        /* MOBILE SIDEBAR SPACING FIX */
        @media (max-width: 1023px) {
            .yc-sidebar-panel .p-4 {
                padding: 12px !important;
            }

            .yc-sidebar-panel .space-y-5> :not([hidden])~ :not([hidden]) {
                margin-top: 12px !important;
            }

            .yc-sidebar-panel .rounded-2xl {
                padding: 14px !important;
                margin-bottom: 12px !important;
            }

            .yc-sidebar-panel .space-y-4> :not([hidden])~ :not([hidden]) {
                margin-top: 10px !important;
            }

            .yc-sidebar-panel input {
                padding: 8px 10px 8px 34px !important;
                font-size: 13px !important;
            }

            .yc-sidebar-panel .w-7 {
                width: 24px !important;
                height: 24px !important;
            }

            .yc-sidebar-panel .mb-4 {
                margin-bottom: 10px !important;
            }

            .yc-sidebar-panel .pb-2 {
                padding-bottom: 6px !important;
            }

            .yc-sidebar-panel .gap-2 {
                gap: 6px !important;
            }

            .yc-sidebar-panel .px-4 {
                padding-left: 10px !important;
                padding-right: 10px !important;
            }

            .yc-sidebar-panel .py-2 {
                padding-top: 6px !important;
                padding-bottom: 6px !important;
            }

            .yc-sidebar-panel .text-sm {
                font-size: 12px !important;
            }

            .yc-sidebar-panel .text-xs {
                font-size: 10px !important;
            }

            .yc-sidebar-panel .w-8 {
                width: 28px !important;
                height: 28px !important;
            }

            .yc-sidebar-panel .h-8 {
                width: 28px !important;
                height: 28px !important;
            }

            .yc-sidebar-panel .text-base {
                font-size: 13px !important;
            }
        }

        @media (min-width: 1024px) {
            .yc-mobile-filter-bar {
                display: none !important;
            }

            .yc-sidebar-overlay,
            .yc-sidebar-panel {
                display: none !important;
            }
        }

        @media (max-width: 1023px) {
            .yc-desktop-sidebar {
                display: none !important;
            }

            .yc-mobile-filter-bar {
                display: flex !important;
            }
        }

        /* Pagination Styles */
        .yc-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 40px;
            margin-bottom: 40px;
        }

        .yc-pagination-item {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 12px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            color: #4a5b6e;
            background: white;
            border: 1px solid #e2e8f0;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .yc-pagination-item:hover {
            border-color: #5EA6C8;
            color: #5EA6C8;
            transform: translateY(-2px);
        }

        .yc-pagination-item.active {
            background: linear-gradient(135deg, #5EA6C8, #3d8aae);
            color: white;
            border-color: transparent;
            box-shadow: 0 4px 12px rgba(94, 166, 200, 0.3);
        }

        .yc-pagination-item.disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .yc-pagination-item.disabled:hover {
            transform: none;
            border-color: #e2e8f0;
            color: #4a5b6e;
        }

        @media (max-width: 640px) {
            .yc-pagination-item {
                min-width: 36px;
                height: 36px;
                font-size: 12px;
            }
        }

        /* MOBILE PLACEHOLDER + ICON FIX */
        @media (max-width: 1023px) {
            .yc-sidebar-panel .relative>i.fas {
                top: 50% !important;
                left: 14px !important;
                transform: translateY(-50%) !important;
                line-height: 1 !important;
                font-size: 13px !important;
                z-index: 2 !important;
                pointer-events: none !important;
            }

            .yc-sidebar-panel input[type="text"] {
                height: 44px !important;
                line-height: 44px !important;
                padding-top: 0 !important;
                padding-bottom: 0 !important;
                padding-left: 42px !important;
                padding-right: 14px !important;
                font-size: 13px !important;
                display: flex !important;
                align-items: center !important;
            }

            .yc-sidebar-panel input::placeholder {
                line-height: normal !important;
                font-size: 13px !important;
                color: #6b7280 !important;
            }
        }
   /*====== yacht chater css end */




   /*===== yacht chater details page css start */


        .yachtbooking-hero {
            display: flex;
            gap: 16px;
            border-radius: 28px;
            overflow: hidden;
        }

        .yachtbooking-main-img {
            flex: 2;
            height: 400px;
            overflow: hidden;
            border-radius: 24px;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .yachtbooking-main-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .yachtbooking-main-img:hover img {
            transform: scale(1.05);
        }

        .yachtbooking-side-grid {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .yachtbooking-side-img {
            height: 192px;
            overflow: hidden;
            border-radius: 20px;
            cursor: pointer;
            position: relative;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .yachtbooking-side-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .yachtbooking-side-img:hover img {
            transform: scale(1.05);
        }

        .yachtbooking-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(3px);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            transition: background 0.2s;
            pointer-events: none;
        }

        .yachtbooking-side-img:last-child:hover .yachtbooking-overlay {
            background: rgba(0, 0, 0, 0.65);
        }

        .yachtbooking-side-img:last-child .yachtbooking-overlay span {
            background: linear-gradient(135deg, #5EA6C8, #3d8aae);
            color: white;
            font-weight: 800;
            font-size: 15px;
            padding: 8px 22px;
            border-radius: 60px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
            letter-spacing: 0.3px;
        }

        .yachtbooking-card {
            background: white;
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(94, 166, 200, 0.1);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .yachtbooking-card:hover {
            box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.12);
        }

        .yachtbooking-booking {
            background: white;
            border-radius: 28px;
            padding: 28px 24px;
            box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
            border: 1px solid rgba(94, 166, 200, 0.15);
            transition: all 0.2s;
        }

        .yachtbooking-submit {
            background: linear-gradient(135deg, #5EA6C8, #3d8aae);
            border: none;
            border-radius: 60px;
            font-weight: 700;
            padding: 14px 20px;
            width: 100%;
            color: white;
            transition: all 0.3s;
            cursor: pointer;
            font-size: 15px;
            letter-spacing: 0.3px;
        }

        .yachtbooking-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 24px rgba(94, 166, 200, 0.35);
            background: linear-gradient(135deg, #71b4d4, #4a96b6);
        }

        .yachtbooking-circle {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2.5px solid #5EA6C8;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }

        .yachtbooking-iconhead {
            font-size: 18px;
            font-weight: 800;
            color: #1a2a4f;
            margin-bottom: 18px;
            padding-bottom: 10px;
            border-bottom: 2.5px solid #5EA6C8;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .yachtbooking-booking input,
        .yachtbooking-booking select {
            height: 48px;
            font-size: 14px;
            border-radius: 16px;
            transition: all 0.2s;
        }

        .yachtbooking-booking input:focus,
        .yachtbooking-booking select:focus {
            border-color: #5EA6C8;
            box-shadow: 0 0 0 3px rgba(94, 166, 200, 0.2);
        }

        .yachtbooking-spec-item {
            background: #f8fafc;
            border-radius: 16px;
            padding: 12px 8px;
            text-align: center;
            transition: all 0.25s;
            border: 1px solid #eef2f6;
        }

        .yachtbooking-spec-item:hover {
            background: #ffffff;
            border-color: #5EA6C8;
            transform: translateY(-3px);
            box-shadow: 0 6px 14px rgba(94, 166, 200, 0.12);
        }

        .sticky {
            position: sticky;
        }

        @media (max-width: 968px) {
            .yachtbooking-hero {
                flex-direction: column;
            }

            .yachtbooking-main-img {
                height: 280px;
            }

            .yachtbooking-side-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .yachtbooking-side-img {
                height: 90px;
            }
        }

        @media (max-width: 640px) {
            .yachtbooking-side-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .yachtbooking-side-img {
                height: 110px;
            }

            .yachtbooking-card {
                padding: 18px;
            }

            .yachtbooking-booking {
                padding: 20px;
            }
        }

        .yachtbooking-slides-container {
            position: relative;
            background: #000;
            border-radius: 28px;
            overflow: hidden;
            min-height: 500px;
        }

        .yachtbooking-slides {
            position: relative;
            width: 100%;
            background: #0a0a0a;
        }

        .yachtbooking-mySlides {
            display: none;
            width: 100%;
            text-align: center;
            background: #0a0a0a;
        }

        .yachtbooking-mySlides img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            display: block;
        }

        .yachtbooking-prev,
        .yachtbooking-next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            padding: 14px 20px;
            color: white;
            font-weight: bold;
            font-size: 20px;
            background-color: rgba(0, 0, 0, 0.6);
            border-radius: 60px;
            text-decoration: none;
            z-index: 20;
            transition: 0.2s;
            user-select: none;
            border: none;
            line-height: 1;
        }

        .yachtbooking-prev {
            left: 20px;
        }

        .yachtbooking-next {
            right: 20px;
        }

        .yachtbooking-prev:hover,
        .yachtbooking-next:hover {
            background-color: rgba(0, 0, 0, 0.9);
            color: white;
            text-decoration: none;
        }

        .fade {
            animation-name: fade;
            animation-duration: 0.4s;
        }

        @keyframes fade {
            from {
                opacity: 0.3
            }

            to {
                opacity: 1
            }
        }

        input::placeholder,
        textarea::placeholder {
            color: #9ca3af;
            font-weight: 400;
            font-size: 13px;
            letter-spacing: -0.2px;
        }

        .flatpickr-calendar {
            border-radius: 20px;
            box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
        }

        .modal-close-btn {
            position: absolute;
            top: 20px;
            right: 24px;
            background: white;
            border-radius: 100px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 30;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.2s;
            border: none;
        }

        .modal-close-btn:hover {
            background: #f0f0f0;
            transform: scale(1.05);
        }

        .modal-open {
            overflow: hidden;
        }
    

      /* yacht chater details page css end */