 :where([class^="ri-"])::before {
    content: "\f3c2";
} 

body {
	font-family: 'Inter', sans-serif;
}


/* стили детальной страницы круизов */

/* Галерея */
#galleryModal {
    animation: galleryFadeIn 0.3s ease;
}

@keyframes galleryFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallerySwiper {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.gallerySwiper .swiper-wrapper {
    height: 100% !important;
    width: 100% !important;
}

.gallerySwiper .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
}

.gallerySwiper .swiper-slide img {
    display: block;
    margin: 0 auto;
    object-fit: contain;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    max-height: 85vh;
}

.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(8px);
    border-radius: 50% !important;
    width: 52px !important;
    height: 52px !important;
    transition: all 0.3s ease;
    margin-top: -26px !important;
}

.gallerySwiper .swiper-button-next:hover,
.gallerySwiper .swiper-button-prev:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: scale(1.1);
}

.gallerySwiper .swiper-button-next::after,
.gallerySwiper .swiper-button-prev::after {
    font-size: 22px !important;
    font-weight: bold !important;
}

.gallerySwiper .swiper-button-next.swiper-button-disabled,
.gallerySwiper .swiper-button-prev.swiper-button-disabled {
    opacity: 0.3;
}

.gallerySwiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.4) !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
}

.gallerySwiper .swiper-pagination-bullet-active {
    background: #fff !important;
    width: 28px !important;
    border-radius: 5px !important;
}

@media (max-width: 768px) {
    .gallerySwiper .swiper-button-next,
    .gallerySwiper .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
    }
    .gallerySwiper .swiper-button-next::after,
    .gallerySwiper .swiper-button-prev::after {
        font-size: 16px !important;
    }
    .gallerySwiper .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
    }
    .gallerySwiper .swiper-pagination-bullet-active {
        width: 20px !important;
    }
    .gallerySwiper .swiper-slide img {
        max-height: 80vh !important;
    }
}

body.gallery-open {
    overflow: hidden !important;
}

/* Стили для слайдеров кают */
.cabin-swiper-next,
.cabin-swiper-prev {
    opacity: 0.8 !important;
    transition: opacity 0.3s ease;
}

.cabin-swiper-next:hover,
.cabin-swiper-prev:hover {
    opacity: 1 !important;
}

.cabin-swiper-next {
    right: 4px !important;
}

.cabin-swiper-prev {
    left: 4px !important;
}

.modal-swiper-next,
.modal-swiper-prev {
    opacity: 0.8 !important;
    transition: opacity 0.3s ease;
}

.modal-swiper-next:hover,
.modal-swiper-prev:hover {
    opacity: 1 !important;
}

.modal-swiper-next {
    right: 8px !important;
}

.modal-swiper-prev {
    left: 8px !important;
}

.cabin-swiper-pagination {
    position: absolute !important;
    bottom: 4px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 2px 6px !important;
    border-radius: 12px !important;
    backdrop-filter: blur(4px) !important;
    width: auto !important;
}

.cabin-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7) !important;
    width: 6px !important;
    height: 6px !important;
    margin: 0 1px !important;
    opacity: 1 !important;
}

.cabin-swiper-pagination .swiper-pagination-bullet-active {
    background: #fff !important;
    width: 12px !important;
    border-radius: 3px !important;
}

.cabin-photo-swiper:has(.swiper-slide:only-child) ~ .cabin-swiper-next,
.cabin-photo-swiper:has(.swiper-slide:only-child) ~ .cabin-swiper-prev,
.cabin-photo-swiper:has(.swiper-slide:only-child) ~ .cabin-swiper-pagination {
    display: none !important;
}

.modal-cabin-photo-swiper:has(.swiper-slide:only-child) ~ .modal-swiper-next,
.modal-cabin-photo-swiper:has(.swiper-slide:only-child) ~ .modal-swiper-prev {
    display: none !important;
}

.highlight-block {
    animation: highlightFlash 2s ease;
}

@keyframes highlightFlash {
    0% { background-color: rgba(59, 130, 246, 0.1); }
    50% { background-color: rgba(59, 130, 246, 0.2); }
    100% { background-color: transparent; }
}

#sticky-info-block {
    scroll-margin-top: 20px;
}

html {
    scroll-behavior: smooth;
}

/* Стили для блоков пассажиров морского интерфейса */
.passenger-block {
    transition: all 0.2s ease;
}

.passenger-block select {
    outline: none;
    border-color: #d1d5db;
    background-color: white;
}

.passenger-block select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.passenger-block button:not(:disabled):hover {
    background-color: #f3f4f6;
}

.passenger-block button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#sea-add-child-btn:hover svg {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Стили для дропдауна выбора возраста ребенка */
#sea-add-child-btn {
    position: relative;
}

.age-dropdown {
    position: fixed;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 50;
    min-width: 160px;
    max-height: 200px;
    overflow-y: auto;
}

.age-dropdown-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: background 0.15s ease;
}

.age-dropdown-item:hover {
    background: #f3f4f6;
}

.age-dropdown-item:active {
    background: #e5e7eb;
}

.age-dropdown::-webkit-scrollbar {
    width: 4px;
}

.age-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.age-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.age-dropdown::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}







/* Общие стили для дропдаунов*/
#departureDropdown,
#pointSelectDropdown,
#shipSelectDropdown {
    min-width: 320px;
    max-width: 400px;
    max-height: 440px; 
}

/* Общие стили для контейнеров опций */
#departureOptions,
#pointSelectOptions,
#shipSelectOptions{
	max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}


/* Скрываем слайдер до инициализации */
.popular-cruises-swiper {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popular-cruises-swiper.swiper-initialized {
    visibility: visible;
    opacity: 1;
}

.popular-cruises-swiper .swiper-slide {
    height: auto !important;
}


@keyframes success-animation {
	0% {
		top: -200px
	}
	25% {
		top: 100px;
	}
	75% {
		top: 100px;
	}
	100% {
		top: -200px
	}
}



/* СТИЛИ ФУТЕРА */

#footer {
    background: #111827;
}

#footer a {
    transition: all 0.2s ease;
}

#footer a:hover {
    color: #ffffff;
}

#footer input[type="tel"] {
    background: #1f2937;
    border: 1px solid #374151; 
    color: #ffffff;
}

#footer input[type="tel"]:focus {
    border-color: #1a70f5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 112, 245, 0.1);
}

#footer input[type="tel"]::placeholder {
    color: #9ca3af; 
}

#footer input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #4b5563;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

#footer input[type="checkbox"]:checked {
    background: #1a70f5;
    border-color: #1a70f5;
}

#footer input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#footer .ri-map-pin-line,
#footer .ri-phone-line {
    color: #1a70f5;
    font-size: 18px;
    flex-shrink: 0;
}

#footer .border-t .flex-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 1024px) {
    #footer .grid {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    #footer {
        padding-top: 32px;
    }
    
    #footer .grid {
        gap: 24px;
    }
    
    #footer .lg\\:col-span-4 {
        grid-column: span 1;
    }
    
    #footer .border-t .flex-wrap {
        flex-direction: column;
        gap: 4px;
    }
    
    #footer .border-t .flex-wrap .hidden {
        display: none;
    }
}

@media (max-width: 480px) {
    #footer .flex.items-center.gap-3 {
        gap: 8px;
    }
    
    #footer input[type="tel"] {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    #footer button {
        font-size: 14px;
        padding: 12px;
    }
}




/*  FAQ СТИЛИ  */

.faq-item {
    background: #ffffff;
    border-radius: 0.5rem; 
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: none; 
    overflow: hidden;
}

.faq-item:not(.active):hover {
/*     border-color: #d1d5db; */
    /* background: #fafafa; */
}

.faq-item.active {
    background: #1a70f5;
    border-color: #1a70f5;
    box-shadow: 0 10px 30px -10px rgba(26, 112, 245, 0.2);
}

.faq-item.active .faq-toggle {
    background: transparent;
}

.faq-item.active .faq-toggle span {
    color: #ffffff !important;
}

.faq-item.active .faq-toggle .faq-icon {
    color: #ffffff !important;
}

.faq-item.active .faq-content {
    background: transparent;
}

.faq-item.active .faq-content .text-gray-600 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.faq-item.active .faq-content .border-t {
    border-top-color: rgba(255, 255, 255, 0.2) !important;
}

.faq-item .faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); 
}

@media (max-width: 768px) {
    .faq-item .faq-toggle {
        padding: 16px 18px;
    }
    
    .faq-item .faq-toggle span {
        font-size: 16px !important;
    }
    
    .faq-item .faq-content {
        padding: 0 18px 18px;
    }
    
    .faq-item .faq-content .text-gray-600 {
        font-size: 14px !important;
    }
    
    .faq-item .faq-icon {
        font-size: 22px !important;
    }
}

@media (max-width: 400px) {
    .faq-item .faq-toggle {
        padding: 14px 16px;
    }
    
    .faq-item .faq-toggle span {
        font-size: 15px !important;
    }
    
    .faq-item .faq-content {
        padding: 0 16px 16px;
    }
    
    .faq-item .faq-content .text-gray-600 {
        font-size: 13px !important;
    }
}

/* 
.faq-section .container {
    max-width: 90rem; 
}


.faq-contact-card {
    background: #1a70f5; 
    border-radius: 1rem; 
    transition: all 0.3s ease;
    color: #ffffff;
}


.faq-contact-card .bg-white\/20 {
    background: rgba(255, 255, 255, 0.2);
}


.faq-contact-btn {
    background: #ffffff;
    color: #1a70f5;
    transition: all 0.3s ease;
}

.faq-contact-btn:hover {
    background: #f8fafc;
    transform: scale(1.02);
}

.faq-contact-card a[href^="tel:"] {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-contact-card a[href^="tel:"]:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
    .faq-contact-card {
        position: static !important;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .faq-contact-card {
        padding: 24px !important;
    }
    
    .faq-contact-card h3 {
        font-size: 20px !important;
    }
    
    .faq-contact-card .text-white\/90 {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .faq-contact-card {
        padding: 20px !important;
    }
    
    .faq-contact-card .w-14.h-14 {
        width: 48px;
        height: 48px;
    }
    
    .faq-contact-card .ri-customer-service-2-line {
        font-size: 24px !important;
    }
    
    .faq-contact-btn {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }
} */



/* Стили для sticky-блока страница круиза детальная */
.sticky-content {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.sticky-wrapper {
    position: relative;
    height: fit-content;
}

.sticky-content.stopped {
    position: absolute !important;
    top: auto !important;
    bottom: auto !important;
}

.sticky-content {
    transition: transform 0.3s ease;
}




@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.custom-select-option .animate-spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

.custom-select-option:hover {
    background-color: #f3f4f6;
}

.custom-select-option .ship-checkbox {
    cursor: pointer;
    flex-shrink: 0;
}



/* СТИЛИ ДЛЯ ДНЕЙ (ДЛИТЕЛЬНОСТЬ) */
#daysPickerWrapper {
    position: relative;
}

#daysPickerTrigger {
    cursor: pointer;
    position: relative;
}

#daysPickerTrigger:hover {
    border-color: #1a70f5;
}

#daysPickerDropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid #e5e7eb;
    padding: 16px;
    overflow: visible !important;
    min-width: 160px;
    width: 100%;
}

#daysPickerDropdown:not(.hidden) {
    display: block !important;
}

#daysPickerDropdown input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
    width: 100%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    transition: all 0.2s ease;
}

#daysPickerDropdown input[type="number"]:focus {
    outline: none;
    border-color: #1a70f5;
    box-shadow: 0 0 0 3px rgba(26, 112, 245, 0.1);
    background: white;
}

#daysPickerDropdown input[type="number"]::-webkit-outer-spin-button,
#daysPickerDropdown input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#daysPickerDropdown label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 4px;
    display: block;
}

#daysApplyBtn {
    transition: all 0.3s ease;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
}

#daysApplyBtn:not(:disabled):hover {
    transform: translateY(-1px);
}

#daysApplyBtn:not(:disabled) {
    background: #1a70f5;
    color: white;
}

#daysApplyBtn:not(:disabled):hover {
    background: #1a70f5;
    opacity: 0.9;
}

#daysApplyBtn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
}

@media (max-width: 768px) {
    #daysPickerDropdown {
        min-width: 200px;
        left: 50%;
        transform: translateX(-50%);
        padding: 14px;
    }
}


/* СТИЛИ ДЛЯ БЛОКА ПОИСКА И КАЛЕНДАРЯ*/

.max-w-6xl {
	overflow: visible !important;
}

.container {
	overflow: visible !important;
}

#datePickerWrapper {
	position: relative;
}

#datePickerTrigger {
	cursor: pointer;
	position: relative;
}

#datePickerTrigger:hover {
	border-color: #1a70f5;
}

#datePickerDropdown {
    min-width: 650px;
    max-width: 90vw;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid #e5e7eb;
    padding: 24px;
    overflow: visible !important;
}

#datePickerDropdown:not(.hidden) {
	display: block !important;
}

#datePickerMonths .h-10 {
	height: 40px;
	width: 100%;
}

#datePickerMonths .grid-cols-7 {
	grid-template-columns: repeat(7, 1fr);
}

/*  КАСТОМНЫЙ ВЫПАДАЮЩИЙ СПИСОК */
.custom-select-wrapper {
	position: relative;
}

.custom-select-dropdown {
	max-height: 240px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #1e5b94 #f3f4f6;
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	background: white;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	border: 1px solid #e5e7eb;
}

.custom-select-dropdown:not(.hidden) {
	display: block !important;
}

.custom-select-dropdown::-webkit-scrollbar {
	width: 6px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
	background: #1e5b94;
	border-radius: 4px;
}



/* СТИЛИ ДЛЯ ОТЗЫВОВ НА ГЛАВНОЙ */
.main-page-reviews .review-item-wrapper {
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
    z-index: 1;
}


.main-page-reviews .review-item-wrapper:first-child {
    transform: translateY(30px) translateX(10px);
    z-index: 5;
}


.main-page-reviews .review-item-wrapper:nth-child(2) {
    transform: translateY(-20px) scale(1.15);
    z-index: 10;
}

.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner {
    background: #1a70f5;
    box-shadow: 0 25px 50px -12px rgba(26, 112, 245, 0.35);
}


.main-page-reviews .review-item-wrapper:nth-child(3) {
    transform: translateY(30px) translateX(-10px);
    z-index: 5;
}


.main-page-reviews .review-item-wrapper .review-card-inner .ri-star-fill,
.main-page-reviews .review-item-wrapper .review-card-inner .ri-star-half-fill,
.main-page-reviews .review-item-wrapper .review-card-inner .ri-star-line {
    color: #fbbf24 !important;
}


.main-page-reviews .review-item-wrapper .review-card-inner .route-icon i {
    color: #1a70f5 !important;
}


.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-name {
    color: #ffffff !important;
}

.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-footer {
    color: rgba(255, 255, 255, 0.7) !important;
    border-top-color: rgba(255, 255, 255, 0.2) !important;
}

.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-footer i,
.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-footer span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .route-icon i {
    color: #ffffff !important;
}

.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .w-14.h-14 {
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .bg-primary\/10 {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .ri-star-fill,
.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .ri-star-half-fill,
.main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .ri-star-line {
    color: #ffd700 !important;
}

@media (max-width: 768px) {
    .main-page-reviews .review-item-wrapper {
        transform: none !important;
        padding: 0;
        margin-bottom: 20px;
        z-index: auto !important;
    }
    
    .main-page-reviews .review-item-wrapper:last-child {
        margin-bottom: 0;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner {
        background: #1a70f5;
        box-shadow: 0 25px 50px -12px rgba(26, 112, 245, 0.35);
        border: none;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-name {
        color: #ffffff !important;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-text {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-footer {
        color: rgba(255, 255, 255, 0.7) !important;
        border-top-color: rgba(255, 255, 255, 0.2) !important;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-footer i,
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .review-footer span {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .route-icon i {
        color: #ffffff !important;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .w-14.h-14 {
        border-color: rgba(255, 255, 255, 0.4) !important;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .bg-primary\/10 {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
    }
    
    .main-page-reviews .review-item-wrapper .review-card-inner .ri-star-fill,
    .main-page-reviews .review-item-wrapper .review-card-inner .ri-star-half-fill,
    .main-page-reviews .review-item-wrapper .review-card-inner .ri-star-line {
        color: #fbbf24 !important;
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .ri-star-fill,
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .ri-star-half-fill,
    .main-page-reviews .review-item-wrapper:nth-child(2) .review-card-inner .ri-star-line {
        color: #ffd700 !important;
    }
    
    .main-page-reviews .grid.md\:grid-cols-3 {
        gap: 0 !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .main-page-reviews .review-item-wrapper:nth-child(2) {
        transform: translateY(-10px) scale(1.05);
    }
    
    .main-page-reviews .review-item-wrapper:first-child {
        transform: translateY(15px) translateX(5px);
    }
    
    .main-page-reviews .review-item-wrapper:nth-child(3) {
        transform: translateY(15px) translateX(-5px);
    }
}


/* СТИЛИ ДЛЯ ОТЗЫВОВ НА СТРАНИЦЕ ОТЗЫВОВ  */

.review-item-wrapper .review-card-inner .ri-star-fill,
.review-item-wrapper .review-card-inner .ri-star-half-fill,
.review-item-wrapper .review-card-inner .ri-star-line {
    color: #fbbf24 !important;
}

.review-item-wrapper .review-card-inner .route-icon i {
    color: #1a70f5 !important;
}

.review-item-wrapper .review-card-inner .date-icon i {
    color: #1a70f5 !important;
}

.review-item-wrapper .review-card-inner .date-icon {
    color: #6b7280 !important;
}

.review-item-wrapper .review-card-inner .route-icon {
    color: #6b7280 !important;
}


.review-text-wrapper .review-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .review-text-wrapper .review-text {
        -webkit-line-clamp: 7;
    }
}

.review-text-wrapper .line-clamp-none {
    display: block;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset;
    overflow: visible;
    max-height: none;
}

@media (max-width: 768px) {
    .review-item-wrapper .review-card-inner {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    .review-item-wrapper .review-card-inner .review-name {
        font-size: 16px !important;
    }
    
    .review-item-wrapper .review-card-inner .review-text {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .review-item-wrapper .review-card-inner .review-footer {
        font-size: 12px !important;
    }
    
    .review-item-wrapper .review-card-inner .ri-star-fill,
    .review-item-wrapper .review-card-inner .ri-star-half-fill,
    .review-item-wrapper .review-card-inner .ri-star-line {
        font-size: 14px !important;
    }
    
    .review-item-wrapper .review-card-inner .review-footer i {
        font-size: 14px !important;
    }
    
    .review-item-wrapper {
        margin-bottom: 16px !important;
    }
    
    .review-item-wrapper:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 400px) {
    .review-item-wrapper .review-card-inner {
        padding: 14px !important;
    }
    
    .review-item-wrapper .review-card-inner .w-12.h-12 {
        width: 40px !important;
        height: 40px !important;
        font-size: 12px !important;
    }
    
    .review-item-wrapper .review-card-inner .review-name {
        font-size: 15px !important;
    }
    
    .review-item-wrapper .review-card-inner .review-text {
        font-size: 13px !important;
    }
    
    .review-item-wrapper .review-card-inner .review-footer {
        font-size: 11px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .review-item-wrapper .review-card-inner {
        padding: 20px !important;
    }
}

.review-toggle {
    display: none !important;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    margin-bottom: 8px;
}

.review-toggle.visible {
    display: inline-flex !important;
}

.review-toggle .review-toggle-icon {
    font-size: 1.1em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.review-toggle .review-toggle-text {
    line-height: 1.2;
}

.review-toggle {
    margin-top: 4px;
}

@media (max-width: 768px) {
    .review-toggle {
        margin-top: 2px;
        font-size: 13px !important;
        margin-bottom: 6px;
    }
    
    .review-toggle .review-toggle-icon {
        font-size: 1.2em;
    }
}

.review-toggle:hover .review-toggle-icon {
    transform: translateY(1px);
}

.review-toggle:hover .ri-arrow-up-s-line {
    transform: translateY(-1px);
}

.review-text-wrapper .review-text {
    transition: all 0.3s ease;
}

.review-toggle .review-toggle-icon {
    transition: transform 0.3s ease;
}

@media (max-width: 480px) {
    .review-toggle {
        font-size: 12px !important;
        gap: 3px;
        margin-bottom: 4px;
    }
    
    .review-toggle .review-toggle-icon {
        font-size: 1.1em;
    }
}


#shipsLoaderOverlay {
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-select-wrapper {
	position: relative;
}

.custom-select-trigger {
	min-height: 48px;
}

.custom-select-trigger.open {
	border-color: #1e5b94;
	box-shadow: 0 0 0 3px rgba(30, 91, 148, 0.1);
}

.custom-select-trigger.open .custom-select-arrow {
	transform: rotate(180deg);
}

.custom-select-dropdown {
	max-height: 240px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #1e5b94 #f3f4f6;
}

.custom-select-dropdown::-webkit-scrollbar {
	width: 6px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
	background: #1e5b94;
	border-radius: 4px;
}

.custom-select-option {
	padding: 10px 16px;
	cursor: pointer;
	transition: all 0.15s ease;
	font-family: 'Inter', sans-serif;
	color: #1f2937;
}

.custom-select-option:hover {
	background-color: #e9f1f7;
	color: #1e5b94;
}

.custom-select-option.selected {
	background-color: #1e5b94;
	color: #ffffff;
}

.custom-select-option:not(:last-child) {
	border-bottom: 1px solid #f3f4f6;
}

#citySearchInput {
	background-color: #f8fafc;
}

#citySearchInput:focus {
	background-color: #ffffff;
	border-color: #1e5b94;
}

.custom-select-dropdown .custom-select-option:first-child {
	border-top: none;
}

/* СТИЛИ ДЛЯ КАРТОЧЕК КРУИЗОВ */
.cruise-card {
    transition: none !important; 
}

.cruise-card:hover {
    transform: none !important; 
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important; 
}


#cruise-count.loading {
	color: #6b7280;
	font-style: italic;
}

#cruise-count.loading::after {
	content: '...';
	animation: dots 1.5s steps(4) infinite;
}

@keyframes dots {
	0% { content: ''; }
	25% { content: '.'; }
	50% { content: '..'; }
	75% { content: '...'; }
}

/* СТИЛИ ДЛЯ КОНТЕНТА  */
.news-content {
	max-width: 100%;
	color: #1f2937;
	line-height: 1.7;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4 {
	font-weight: 700;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.news-content h1 {
	font-size: 1.6rem;
	border-bottom: 2px solid #e5e7eb;
	padding-bottom: 0.4rem;
}

.news-content h2 {
	font-size: 1.4rem;
}

.news-content h3 {
	font-size: 1.2rem;
}

.news-content h4 {
	font-size: 1.1rem;
}

.news-content p {
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1rem;
	color: #374151;
}

.news-content ol,
.news-content ul {
	margin: 1rem 0 1.2rem 1.2rem;
	padding-left: 0.5rem;
}

.news-content li {
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 0.4rem;
	color: #374151;
}

.news-content ul li {
	position: relative;
	padding-left: 1.6rem;
}

.news-content ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #1e5b94;
	font-weight: 700;
	font-size: 1rem;
}

.news-content ol li {
	list-style-type: decimal;
}

.news-content blockquote {
	border-left: 4px solid #1a70f5;
	padding: 0.8rem 1.2rem;
	margin: 1.4rem 0;
	font-style: italic;
	background-color: #f6f7f9;
	border-radius: 0 8px 8px 0;
	color: #1f2937;
	font-size: 1rem;
}

.news-content blockquote p:last-child {
	margin-bottom: 0;
}

.news-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1.2rem 0;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-content a {
	color: #1e5b94;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.news-content a:hover {
	color: #143d63;
}

.news-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.95rem;
}

.news-content table th,
.news-content table td {
	border: 1px solid #d1d5db;
	padding: 0.75rem 1rem;
	text-align: left;
}

.news-content table th {
	background-color: #f3f4f6;
	font-weight: 600;
}

.news-content strong {
	font-weight: 700;
	color: #111827;
}

.news-content em {
	font-style: italic;
}

.news-content hr {
	margin: 1.6rem 0;
	border: 0;
	border-top: 2px solid #e5e7eb;
}

@media (min-width: 640px) {
	.news-content h1 {
		font-size: 2rem;
	}
	.news-content h2 {
		font-size: 1.4rem;
	}
	.news-content h3 {
		font-size: 1.3rem;
	}
	.news-content h4 {
		font-size: 1.2rem;
	}
	.news-content p,
	.news-content li {
		font-size: 1rem;
	}
	.news-content blockquote {
		font-size: 1.05rem;
		padding: 1rem 1.5rem;
	}
	.news-content table {
		font-size: 0.95rem;
		white-space: normal;
		display: table;
	}
	.news-content ul li {
		padding-left: 0.5rem;
	}
	.news-content ul li::before {
		left: -10px;
		top: 0;
	}
}

@media (min-width: 1024px) {
	.news-content h1 {
		font-size: 2.2rem;
	}
	.news-content h2 {
		font-size: 1.8rem;
	}
	.news-content h3 {
		font-size: 1.5rem;
	}
	.news-content h4 {
		font-size: 1.3rem;
	}
	.news-content p,
	.news-content li {
		font-size: 1.05rem;
	}
	.news-content blockquote {
		font-size: 1.1rem;
		padding: 1rem 1.8rem;
	}
}

/* БАЗОВЫЕ СТИЛИ ДЛЯ ЭЛЕМЕНТОВ ФОРМ */
input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	min-width: 20px;
	height: 20px;
	border: 2px solid #1a70f5;
	border-radius: 4px;
	margin-right: 8px;
	position: relative;
	cursor: pointer;
}

input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	background-color: #1a70f5;
	border-radius: 2px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

input[type="tel"] {
	outline: none;
	padding: 12px 16px;
	width: 100%;
}

input[type="date"] {
	outline: none;
	padding: 12px 16px;
	width: 100%;
}

input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #1a70f5;
	border-radius: 50%;
	margin-right: 8px;
	position: relative;
	cursor: pointer;
}

input[type="radio"]:checked::after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	background-color: #1a70f5;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/*  ОСТАЛЬНЫЕ СТИЛИ  */
.ship-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#block-search,
#block-search * {
	box-sizing: border-box;
}

#block-search {
	background: #d2b48cf5;
	max-width: 700px;
}

#block-search.block-search--inner {
	background: #d2b48c;
}

.tl-container {
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 30px;
}

.swiper-pagination {
	width: auto !important;
}

.modal-form {
	position: fixed;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(3px);
	z-index: 20500;
	inset: 0px;
	visibility: visible;
}

.modal-form.active {
	visibility: visible;
}

.gallery-thumbs .active {
	border-color: #1e5b94;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.cabin-type-radio:checked+label {
	border-color: #1e5b94;
	background-color: #e9f1f7;
}

.custom-select {
	position: relative;
	display: inline-block;
	width: 100%;
}

.custom-select-trigger {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 12px 16px;
	background-color: #f8fafc;
	border-radius: 8px;
	cursor: pointer;
}

.custom-options {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	z-index: 10;
	display: none;
	max-height: 200px;
	overflow-y: auto;
}

.custom-option {
	padding: 12px 16px;
	cursor: pointer;
}

.custom-option:hover {
	background-color: #f3f4f6;
}

.custom-select.open .custom-options {
	display: block;
}


/* МОДЕЛЬНОЕ ОКОШКО ОТПРАВКИ ДАННЫХ */
.message-popup {
	position: fixed;
	top: 55px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2000;
	text-align: center;
	background-color: #ffffff;
	padding: 20px 40px;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	min-width: 280px;
	max-width: 90%;
	animation: slideDown 0.5s ease, fadeOut 0.5s ease 4.5s forwards;
}

.message-popup.success {
	border-left: 4px solid #22c55e;
	background-color: #f0fdf4;
	color: #166534;
}

.message-popup.success .message-icon {
	color: #22c55e;
}

.message-popup.alert {
	border-left: 4px solid #f59e0b;
	background-color: #fffbeb;
	color: #92400e;
}

.message-popup.alert .message-icon {
	color: #f59e0b;
}

.message-popup.error {
	border-left: 4px solid #ef4444;
	background-color: #fef2f2;
	color: #991b1b;
}

.message-popup.error .message-icon {
	color: #ef4444;
}

.message-popup .message-icon {
	display: block;
	font-size: 32px;
	margin-bottom: 8px;
}

@keyframes slideDown {
	0% {
		opacity: 0;
		transform: translateX(-50%) translateY(-20px);
	}
	100% {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateX(-50%) translateY(-10px);
	}
}

@media (max-width: 640px) {
	.message-popup {
		top: 65px;
		padding: 16px 24px;
		font-size: 14px;
		min-width: auto;
		width: 90%;
		border-radius: 10px;
	}
	
	.message-popup .message-icon {
		font-size: 28px;
	}
}


.b-social {
	margin-bottom: 20px;
}

/*  TYPOGRAPHY  */
.u-content {
	font-size: 1rem;
	line-height: 1.5em;
	color: var(--font);
	text-align: justify;
}

.u-content * {
	padding: 0;
	margin: 0;
	vertical-align: baseline;
}

.u-content a {
	color: var(--link);
}

.u-content a:hover {
	color: var(--link-hover);
}

.u-content a:visited {
	color: var(--link);
}

.u-content b,
.u-content strong {
	font-weight: 700;
}

.u-content p {
	margin: 0 0 1.0em 0;
	font-size: 16px;
}

.u-content img {
	max-width: 100%;
	height: auto;
}

.u-content img[style*='float:left'],
.u-content img[style*='float: left'],
.u-content img[align='left'] {
	margin: 0.33em 1.33em 1.33em 0;
}

.u-content img[style*='float:right'],
.u-content img[style*='float: right'],
.u-content img[align='right'] {
	margin: 0.33em 0 1.33em 1.33em;
}

.u-content sup {
	vertical-align: super;
	font-size: 80%;
}

.u-content sub {
	vertical-align: sub;
	font-size: 80%;
}

.u-content h1,
.h1 {
	font: normal 700 1.667em/1.1 'Open Sans', Arial, Helvetica, sans-serif;
	margin: 0 0 0.5em 0;
}

.u-content h2,
.h2 {
	font: normal 700 1.5em/1.1 'Open Sans', Arial, Helvetica, sans-serif;
	margin: 0 0 1em 0;
}

.u-content h3,
.h3 {
	font: normal bold 1.333em/1.1 'Open Sans', Arial, Helvetica, sans-serif;
	margin: 0 0 0.5em 0;
}

.u-content h4,
.h4 {
	font: normal bold 1.2em/1.1 'Open Sans', Arial, Helvetica, sans-serif;
	margin: 0 0 0.5em 0;
}

.u-content h5 {
	font: normal bold 1.1em/1.1 'Open Sans', Arial, Helvetica, sans-serif;
	margin: 0 0 0.5em 0;
}

.u-content h6 {
	font: normal bold 1em/1.1 'Open Sans', Arial, Helvetica, sans-serif;
	margin: 0 0 0.5em 0;
}

.u-content ul,
.u-content ol {
	margin: 0 0 1.5em 3em;
}

.u-content ul>li {
	margin: 0 0 0.5em 0;
	font-size: 1em;
	line-height: 1.2em;
	list-style-type: disc;
}

.u-content ol>li {
	margin: 0 0 0.5em 0;
	font-size: 1em;
	line-height: 1.2em;
	list-style-type: decimal;
}

.u-content li ul,
.u-content li ol {
	margin: 0.5em 0 1em 3em;
}

.u-content hr {
	height: 0;
	line-height: 0;
	font-size: 0;
	display: block;
	border: none;
	border-bottom: solid 1px var(--base);
	margin: 15px 0;
}

.u-content table {
	width: 100%;
	float: none;
	border-collapse: collapse;
	margin: 0 0 1.5em 0;
	max-width: 100%;
}

.u-content table[cellspacing] {
	border-collapse: separate;
}

.u-content th {
	background-color: #eee;
	font-weight: 700;
}

.u-content td p:last-child {
	margin-bottom: 0;
}

.u-content td[valign='middle'] {
	vertical-align: middle;
}

.u-content td[valign='top'] {
	vertical-align: top;
}

.u-content td[valign='bottom'] {
	vertical-align: bottom;
}

.u-content table[border="1"] td,
.u-content table[border="1"] th,
.u-content table td,
.u-content table th {
	border: solid 1px var(--base);
}

.u-content table[border="0"] td,
.u-content table[border="0"] th {
	border: none !important;
	padding: 0;
}

.u-content .table-responsive {
	min-height: .01%;
	overflow-x: auto;
}

.u-content .accent {
	border-left: solid 3px var(--base);
	padding: 1em;
	margin: 1.5em 0;
	font-size: 0.8em;
	line-height: 1.5em;
	background-color: #f5f5f5;
}

.u-content blockquote {
	padding: 1em 2em 0.5em;
	margin: 1.5em 0;
	font-size: 0.8em;
	line-height: 1.5em;
	background-color: #f5f5f5;
	quotes: "“" "”" "‘" "’";
}

.u-content blockquote:before {
	color: #666;
	content: open-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
}

.u-content blockquote:after {
	color: #666;
	content: close-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-left: 0.25em;
	vertical-align: -0.6em;
}

.u-content pre {
	padding: 1em;
	margin: 1.5em 0;
	font-size: 1em;
	line-height: 1.5em;
	background-color: #f5f5f5;
}

.social__link {
	display: inline-block;
	text-decoration: none;
	margin-right: 0.33em;
	font-size: 2rem;
}

.icn {
	display: inline-block;
	width: 1em;
	height: 1em;
	stroke-width: 0;
	stroke: currentColor;
	fill: currentColor;
}

.main__content > h2 {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 0.75rem;
}

.main__content > h3 {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 0.75rem;
}

.main__content > p {
	margin-bottom: 0.5rem;
}

.main__content > ul {
	margin-bottom: 0.5rem;
	list-style: disc;
	margin-left: 1rem;
}
