/* =========================================
   ОСНОВНЫЕ ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ
   ========================================= */
:root {
    /* ЦВЕТА БРЕНДА */
    --primary: #075C6F;
    --primary-hover: #054a59;
    --primary-dark: #034250;
    --primary-color: #075C6F;
    
    /* АКЦЕНТ (ЗОЛОТО/ПЕСОК) */
    --gold: #C5A059;
    --gold-light: #E8DCC2;
    
    /* ТЕКСТ И ФОН */
    --bg-body: #F4F6F8;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --border: #E0E0E0;
    
    /* UI */
    --radius: 12px;
    --shadow-card: 0 10px 30px rgba(7, 92, 111, 0.08);
    --shadow-hover: 0 15px 40px rgba(7, 92, 111, 0.15);
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --container: 1240px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Rubik', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--text-main);
}

/* Заголовки на светлом фоне */
.section-title,
.boat-title,
.boat-description h2,
.charter-info h2,
.boat-info-card h2,
.dest-title,
.filter-group label {
    color: var(--primary-dark);
}

/* Заголовки на темном фоне - белые */
.hero-new h1,
.hero-new h2,
.hero-new h3,
.hero-new .section-title,
.archive-hero h1,
.page-hero h1,
.archive-hero-content h1,
.archive-hero-content h2,
.archive-hero-content h3,
.mini-cta h2,
.mini-cta h3,
.mini-cta .section-title {
    color: white !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font-family: inherit;
    outline: none;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none !important;
    border: none;
    background: transparent;
    cursor: pointer;
}

button:focus,
button:focus-visible,
button:active,
[type="button"]:focus,
[type="button"]:focus-visible,
[type="button"]:active,
[type="submit"]:focus,
[type="submit"]:focus-visible,
[type="submit"]:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Предотвращаем горизонтальную прокрутку */
.swiper-container,
.swiper {
    max-width: 100%;
    overflow: hidden;
}

section,
.section {
    max-width: 100%;
}

/* Предотвращаем горизонтальную прокрутку */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

.swiper-container,
.swiper {
    max-width: 100%;
    overflow: hidden;
}

/* =========================================
   ХЕДЕР (ДВОЙНОЙ)
   ========================================= */

/* Классы видимости */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .burger-menu.mobile-only {
        display: flex !important;
    }
}

/* Верхний хедер */
.top-bar {
    background-color: #23475A;
    color: white;
    padding: 12px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-left-info {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.top-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.top-link:hover {
    color: var(--gold);
}

.top-socials {
    display: flex;
    gap: 12px;
}

.top-socials a {
    color: white;
    font-size: 18px;
    transition: color 0.3s;
}

.top-socials a:hover {
    color: var(--gold);
}

/* Основной хедер */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: relative;
    z-index: 999;
    transition: all 0.3s ease;
    overflow: visible;
}

/* Когда шапка прилипает при скролле */
.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Плейсхолдер для компенсации высоты шапки */
.header-placeholder {
    display: none;
}

.header-placeholder.active {
    display: block;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    overflow: visible;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-link {
    text-decoration: none;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.nav-menu-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu-list li {
    position: relative;
}

.nav-menu-list li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 10px 0;
}

.nav-menu-list li a:hover {
    color: var(--primary);
}

/* Подменю на ПК */
.nav-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.nav-menu-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu-list .sub-menu li {
    display: block;
}

.nav-menu-list .sub-menu li a {
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 14px;
}

.nav-menu-list .sub-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.btn-header-book {
    background: var(--gold);
    color: var(--white);
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-header-book:hover {
    background: #C5A059;
    transform: translateY(-2px);
}

/* Бургер меню */
.burger-menu {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header strong {
    font-size: 18px;
    color: var(--primary);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--text-main);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-contacts {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
}

.mobile-contact-item i {
    color: var(--primary);
    width: 20px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu li a {
    display: block;
    padding: 12px 0;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu li a:hover {
    color: var(--primary);
}

/* Подменю на мобильном */
.mobile-nav-menu .sub-menu {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    display: none;
    background: var(--bg-light);
    border-radius: 4px;
    margin-top: 5px;
}

.mobile-nav-menu .menu-item-has-children > a {
    position: relative;
    padding-right: 30px;
}

.mobile-nav-menu .menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s;
}

.mobile-nav-menu .menu-item-has-children.open > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-nav-menu .menu-item-has-children.open > .sub-menu {
    display: block;
}

.mobile-nav-menu .sub-menu li a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-booking-btn {
    width: 100%;
    margin: 20px 0;
}

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-socials a {
    color: var(--primary);
    font-size: 24px;
    transition: color 0.3s;
}

.mobile-socials a:hover {
    color: var(--gold);
}

/* =========================================
   БОКОВАЯ ПАНЕЛЬ БРОНИРОВАНИЯ
   ========================================= */
.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 66, 80, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 420px;
    background: white;
    z-index: 2001;
    transform: translateX(100%);
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
}

.side-panel.active {
    transform: translateX(0);
}

.panel-header {
    background: var(--primary);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.panel-header h3 {
    font-size: 20px;
    margin: 0;
	color: #fff;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.panel-content {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.form-row {
    margin-bottom: 25px;
}

.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.form-input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: 0.2s;
    background: #F9FAFB;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(7, 92, 111, 0.1);
}

.messenger-btns {
    display: grid;
    gap: 15px;
    margin-top: 10px;
}

.btn-wa {
    background: #25D366;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    transition: 0.3s;
}

.btn-tg {
    background: #24A1DE;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    transition: 0.3s;
}

.btn-wa:hover,
.btn-tg:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* =========================================
   ОБЩИЕ ЭЛЕМЕНТЫ & КНОПКИ
   ========================================= */
.btn-cta {
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(7, 92, 111, 0.25);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
	font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* =========================================
   КАРТОЧКА ЛОДКИ
   ========================================= */
.hits-section .boat-card{
	margin: 15px 0;	
}
.boat-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: 0.4s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.boat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.boat-thumb {
    height: 260px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.boat-thumb img,
.boat-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

.boat-card:hover .boat-thumb img,
.boat-card:hover .boat-thumb-img {
    transform: scale(1.1);
}

.boat-cat-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.boat-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.boat-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-family: 'Nunito', sans-serif;
}

.boat-title a {
    color: inherit;
	font-weight: 600;
	font-size: 1.6rem;
}

.boat-title a:hover {
    color: var(--primary);
}

.boat-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
    font-size: 14px;
    flex-wrap: wrap;
}

.boat-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.boat-specs i {
    color: var(--gold);
    font-size: 16px;
}

.boat-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.boat-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Nunito', sans-serif;
}

.btn-details {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-details:hover {
    background: var(--primary-dark);
}

/* =========================================
   КАРТОЧКА НАПРАВЛЕНИЯ
   ========================================= */
.dest-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: 0.3s;
}

.dest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dest-img {
    height: 240px;
    overflow: hidden;
}

.dest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.dest-card:hover .dest-img img {
    transform: scale(1.1);
}

.dest-info {
    padding: 20px;
    text-align: center;
    border-top: 4px solid var(--gold);
}

.dest-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    
}

/* =========================================
   HERO СЕКЦИЯ
   ========================================= */
.hero-new,
.hero-section {
    position: relative;
    background: url('https://phuket-vip-cruise.ru/wp-content/uploads/2023/01/bg1.jpg') no-repeat center center/cover;
    padding: 120px 0;
    color: white;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(13 103 122 / 11%) 0%, rgb(3 66 80 / 30%) 50%, rgb(3 66 80 / 30%) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
}

.hero-title-main {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
	text-align: center;
}

.hero-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    font-family: 'Nunito', sans-serif;
	justify-content: center;
}

.hero-tag {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-tag.vip {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}

.feature-item i {
    color: var(--gold);
    font-size: 20px;
    margin-top: 3px;
}

.feature-item p {
    font-size: 15px;
    margin: 0;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-content .btn-cta{
	margin: 0 auto!important;
	background: #fff;
	color: #075C6F;
	display: block;
}
/* =========================================
   АРХИВ (ФИЛЬТРЫ)
   ========================================= */
.archive-hero,
.page-hero {
    background: url('https://phuket-vip-cruise.ru/wp-content/uploads/2023/12/subpage.jpg') center/cover;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.archive-hero-overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: #23475ad9;
    z-index: 1;
}

.archive-hero-content,
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.archive-hero h1,
.page-hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-weight: 800;
}

.archive-hero-breadcrumbs {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.archive-hero-breadcrumbs a {
    color: rgba(255,255,255,0.9);
}

.archive-hero-breadcrumbs a:hover {
    color: var(--gold);
}



.filter-bar {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 50px;
    display: flex;
    gap: 30px;
    align-items: flex-end;
    flex-wrap: wrap;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.range-wrap {
    width: 100%;
    max-width: 300px;
}

.range-slider-wrapper {
    position: relative;
    height: 40px;
    margin-bottom: 10px;
}

.range-slider-wrapper input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
    top: 50%;
    transform: translateY(-50%);
}

.range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.range-slider-wrapper input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.range-slider-wrapper input[type="range"]:first-child {
    z-index: 1;
}

.range-slider-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #ddd;
    transform: translateY(-50%);
    border-radius: 2px;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
}

.range-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
    gap: 10px;
}

.boats-grid,
.destinations-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

/* =========================================
   ФУТЕР
   ========================================= */
.main-footer {
    background: #1B2631;
    color: #8899A6;
    padding: 80px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-contacts {
    line-height: 2;
}

.footer-contacts li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contacts i {
    color: var(--gold);
    width: 20px;
}

.footer-menu {
    line-height: 2;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #8899A6;
    transition: 0.3s;
}

.footer-menu a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 14px;
}

/* =========================================
   ХЛЕБНЫЕ КРОШКИ
   ========================================= */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #dcd8d8;;
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.boat-single-page .breadcrumbs{
	color: #333;
}

.boat-single-page .breadcrumbs a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.boat-single-page .breadcrumbs a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
/* =========================================
   СЛАЙДЕРЫ
   ========================================= */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    color: white;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */
@media (max-width: 992px) {
    .hero-title-main {
        font-size: 2.2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .btn-header-book {
        display: none;
    }
    
    .boats-grid,
    .destinations-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Планшеты */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu-list {
        gap: 20px;
    }
    
    .nav-menu-list li a {
        font-size: 14px;
    }
    
    .boats-grid,
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .filter-bar {
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Мобильные */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
	.contact-container{
		grid-template-columns: 1fr!important;
		gap: 20px!important;
	}
	.contact-messenger-btns{
		grid-template-columns: 1fr!important;
	}
    /* Лого меньше */
    .logo-title {
        font-size: 18px;
    }
    
    .logo-sub {
        font-size: 10px;
    }
    
    /* Хедер меньше */
    .main-header {
        padding: 15px 0;
    }
    
    .header-flex {
        gap: 15px;
    }
    
    /* Сетки на мобильном */
    .boats-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
	
	.dest-img{
		height: 150px;
	}
	.dest-info{
		padding: 10px;
	}
	.dest-title{
		font-size: 0.8rem;
	}
	
	.section-title{
		margin-bottom: 30px;
	}
	.destinations-grid{
		grid-template-columns: repeat(2, 1fr)!important;
	}
    
    /* Категории по 2 в строке на мобильном */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Фильтры */
    .filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .range-wrap {
        max-width: 100%;
    }
    
    /* Hero */
    .archive-hero,
    .hero-section {
        height: 200px;
    }
    
    .hero-title-main,
    .archive-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Кнопки */
    .btn-cta {
        padding: 14px 30px;
        font-size: 13px;
    }
    
    /* Панели */
    .side-panel {
        max-width: 100%;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .range-wrap {
        max-width: 100%;
    }
    
    .boats-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .side-panel {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 1.5rem;
    }
    
    .archive-hero h1,
    .page-hero h1 {
        font-size: 2rem;
    }
}

/* =========================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ЛОДКИ (из template.php)
   ========================================= */
.boat-single-page {
    min-height: 100vh;
    background-color: var(--bg-light);
    font-family: 'Rubik', sans-serif;
}

.boat-content-wrapper {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.boat-gallery {
    margin-bottom: 30px;
    width: 100%;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 5px;
    background: var(--white);
    box-shadow: var(--shadow);
    width: 100%;
}

.gallery-main-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border-radius: 8px;
    background: #f5f5f5;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-main-image img.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
}

.gallery-nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-nav-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.gallery-nav-btn i {
    color: var(--primary);
    font-size: 18px;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    z-index: 10;
    pointer-events: none;
}

.lightbox-open-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lightbox-open-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.lightbox-open-btn i {
    color: var(--primary);
}

.gallery-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.thumbs-nav-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.thumbs-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.thumbs-nav-btn:hover i {
    color: var(--white);
}

.thumbs-nav-btn i {
    color: var(--primary);
    font-size: 14px;
}

.gallery-thumbs-container {
    flex: 1;
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: max-content;
}

.thumb-wrapper {
    flex: 0 0 auto;
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    background: #f5f5f5;
}

.thumb-wrapper.active {
    border-color: var(--primary);
    box-shadow: 0 4px 8px rgba(7, 92, 111, 0.2);
}

.thumb-wrapper:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.boat-description {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    width: 100%;
}

.boat-description h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.description-content {
    font-size: 16px;
    line-height: 1.7;
}

.description-content p {
    margin-bottom: 15px;
}

.charter-info {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    width: 100%;
    margin-top: 30px;
}

.charter-info h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.charter-info h2 i {
    color: var(--primary);
    font-size: 1.3rem;
}

.charter-info-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

.charter-info-content p {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.charter-info-content p:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

.charter-info-content p:last-child {
    margin-bottom: 0;
}

.boat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.boat-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    width: 100%;
}

.boat-info-card h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.price-section {
    margin-bottom: 20px;
}

.booking-button-wrapper {
    margin-bottom: 25px;
}

.price-badge {
    background: linear-gradient(135deg, rgba(7, 92, 111, 0.08) 0%, rgba(3, 66, 80, 0.08) 100%);
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-icon i {
    color: var(--white);
    font-size: 18px;
}

.price-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.price-value {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
}

.info-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-section h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.info-section h3 i {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.included-section h3 i {
    color: #28a745;
}

.onboard-section h3 i {
    color: var(--primary);
}

.info-content {
    font-size: 15px;
    line-height: 1.6;
}

.formatted-content ul {
    list-style: none;
    padding-left: 0;
}

.formatted-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.formatted-content li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 100%;
	margin-top: 20px;
}

.booking-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.booking-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(7, 92, 111, 0.3);
}

.contact-info {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    text-align: left;
}

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

.contact-item i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 2px;
    width: 20px;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-value {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-value:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Лайтбокс */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    padding: 20px;
    animation: lightboxFadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close i {
    color: var(--white);
    font-size: 20px;
}

.lightbox-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    min-height: 70vh;
    max-height: 70vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: 70vh;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    color: white !important;
    z-index: 10002;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

.lightbox-nav-btn i {
    color: white !important;
    font-size: 20px;
}

.lightbox-counter {
    display: none!important;
    color: white;
    font-size: 14px;
    font-weight: 600;
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 20px;
    pointer-events: none;
}

.lightbox-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100px;
    margin-top: 10px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.lightbox-thumbs-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.lightbox-thumbs-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-thumbs-nav i {
    color: var(--white);
    font-size: 16px;
}

.lightbox-thumbs-container {
    flex: 1;
    overflow: hidden;
    scroll-behavior: smooth;
}

.lightbox-thumbs {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

.lightbox-thumbs .thumb-wrapper {
    width: 120px;
    height: 80px;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s;
}

.lightbox-thumbs .thumb-wrapper.active {
    border-color: var(--white);
    opacity: 1;
}

.lightbox-thumbs .thumb-wrapper:hover {
    opacity: 1;
}

/* Мобильные стили для страницы лодки */
@media (max-width: 1024px) {
    .boat-content-wrapper {
        grid-template-columns: 60% 40%;
        gap: 25px;
    }
    
    .gallery-main-image {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .boat-content-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .boat-sidebar {
        display: none;
    }
    
    .mobile-booking-block {
        display: block;
        background: var(--white);
        border-radius: var(--radius);
        margin: 20px 0;
        box-shadow: var(--shadow);
    }
    
    .mobile-info-block {
        display: block;
        margin: 20px 0;
    }
    
    .gallery-main-image {
        height: 400px;
    }
    
    /* КРИТИЧНЫЙ ФИКС для миниатюр - контейнер должен быть внутри viewport */
    .boat-gallery,
    .boat-main-content,
    .boat-content-wrapper {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .gallery-main-image {
        max-width: 100%;
        height: 350px;
    }
    
    .gallery-thumbs-wrapper {
        display: flex;
        gap: 8px;
        overflow: hidden;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }
    
    .thumbs-nav-btn {
        display: none;
    }
    
    .gallery-thumbs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }
    
    .gallery-thumbs {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .thumb-wrapper {
        flex: 0 0 auto;
        width: 90px;
        height: 70px;
    }
}

/* Скрываем мобильные блоки на десктопе */
@media (min-width: 769px) {
    .mobile-booking-block,
    .mobile-info-block {
        display: none !important;
    }
    
    .boat-sidebar {
        display: block !important;
    }
    
    .mobile-price-block {
        background: linear-gradient(135deg, rgba(7, 92, 111, 0.08) 0%, rgba(3, 66, 80, 0.08) 100%);
        border-left: 4px solid var(--primary);
        border-radius: 4px;
        padding: 15px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .price-icon-mobile {
        width: 40px;
        height: 40px;
        background: var(--primary);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .price-icon-mobile i {
        color: var(--white);
        font-size: 18px;
    }
    
    .price-content-mobile {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .mobile-booking-btn {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: var(--white);
        border: none;
        padding: 16px;
        border-radius: var(--radius);
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        width: 100%;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .mobile-booking-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(7, 92, 111, 0.3);
    }
    
    .boat-title {
        font-size: 1.8rem;
    }
    
    .gallery-thumbs-wrapper {
        margin-top: 10px;
    }
    
    .thumb-wrapper {
        width: 80px;
        height: 60px;
    }
    
    .lightbox-open-btn {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-main {
        min-height: 60vh;
        max-height: 60vh;
    }
    
    .lightbox-thumbs-wrapper {
        margin-top: 5px;
        height: 80px;
    }
}

/* Lightbox для галереи */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay .lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 4px;
    transition: opacity 0.3s;
    object-fit: contain;
}

.lightbox-overlay .lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 3001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.lightbox-overlay .lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.lightbox-nav-simple {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    z-index: 3001;
}

.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    color: white;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav-btn i {
    font-size: 20px;
}

/* Мини CTA секция */
.mini-cta {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.mini-cta h2,
.mini-cta h3,
.mini-cta .section-title,
.mini-cta p {
    color: white !important;
}

@media (max-width: 480px) {
    .gallery-main-image {
        height: 280px;
    }
    
    .boat-title {
        font-size: 1.6rem;
    }
    
    .logo-title {
        font-size: 16px;
    }
    
    .logo-sub {
        font-size: 9px;
    }
    
    .main-header {
        padding: 12px 0;
    }
    
    /* Дополнительный фикс для миниатюр */
    .gallery-thumbs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .thumbs-nav-btn {
        display: none;
    }
    
    .gallery-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-overlay .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}
