:root {
    --black-main: #0f1313;
    --black-secondary: #5d5a6b;
    --black-placeholder: rgba(15, 19, 19, 0.6);
    --black-disabled: rgba(15, 19, 19, 0.35);
    --black-bg: rgba(15, 19, 19, 0.1);
    --black-outline: rgba(15, 19, 19, 0.2);
    --white-secondary: rgba(217, 219, 228, 0.75);
    --white-placeholder: rgba(217, 219, 228, 0.6);
    --white-disabled: rgba(217, 219, 228, 0.35);
    --white-100: #f0f2f8;
    --white-200-main: #d9dbe4;
    --white-bg: rgba(217, 219, 228, 0.1);
    --white-outline: rgba(217, 219, 228, 0.2);
    --green-100: #f0fff7;
    --green-200: #c4ffe0;
    --green-300: #98ffc9;
    --green-500-main: #58e29a;
    --green-400-light: #6cffb2;
    --green-600-dark: rgb(70, 197, 131);
    --green-700: #36a86c;
    --green-800: #288a57;
    --green-900: #1c6d43;
    --green-1000: #125030;
    --blue-main: #003cff;
    --blue-dark: #334343;
    --error-main: #e12121;
    --font-family: "Rubik", sans-serif;
    --second-family: "Hando Trial", sans-serif;
    --third-family: "Roboto", sans-serif;
    --font3: "Manrope", sans-serif;
    --font4: "Avenir", sans-serif;
    --font5: "Montserrat", sans-serif;
    --font6: "Inter", sans-serif;
    --font7: "Barlow", sans-serif;
    --font8: "Outfit", sans-serif;
    --font9: "Alumni Sans", sans-serif;
    --font10: "Space Mono", sans-serif;
    --font11: "Unbounded", sans-serif;
    --font12: "Anek Latin", sans-serif;
    --font13: "Anuphan", sans-serif;
    --font14: "Arimo", sans-serif;
    --font15: "Big Shoulders Stencil Display", sans-serif;
    --font16: "Chivo", sans-serif;
    /*Depends on dark or light*/
    --text-main: var(--black-main);
    --text-secondary: var(--black-secondary);
    --text-placeholder: var(--black-placeholder);
    --text-disabled: var(--black-disabled);
    --text-bg: var(--black-bg);
    --text-outline: var(--black-outline);
}

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

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.no-underline {
    text-decoration: none !important;
}

a:disabled {
    color: var(--white-disabled);
    pointer-events: none;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-family), sans-serif !important;
    font-weight: normal;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--second-family);
}

.transition {
    transition: all 0.3s ease;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}

/* Custom hover effects */
.car-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Swiper customization */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: #0A0A0A;
}

.swiper-pagination-bullet-active {
    background: #0A0A0A;
}

/* Custom animations */
.transition {
    transition: all 0.3s ease;
}

/* Custom hover effects */
.group:hover .group-hover\:text-yellow-500 {
    color: #0A0A0A;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

body, html {
    scrollbar-width: thin;
}

/* Custom form elements */
input:focus, select:focus {
    outline: none;
    border-color: #0A0A0A;
    box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.12);
}

/* Custom buttons */
.btn-primary {
    background-color: #0A0A0A;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #27272A;
}

.btn-secondary {
    background-color: transparent;
    color: #0A0A0A;
    border: 1px solid #0A0A0A;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #0A0A0A;
    color: white;
}

/* Custom card styles */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

/* Custom badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-featured {
    background-color: #0A0A0A;
    color: white;
}

.badge-sale {
    background-color: #EF4444;
    color: white;
}

/* Custom pricing display */
.price {
    font-weight: 700;
    color: #0A0E14;
}

.price-period {
    font-size: 0.875rem;
    color: #6B7280;
}

/* Custom section styles */
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

/* Custom hero section */
.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 0.5rem;
}

/* Custom testimonial styles */
.testimonial {
    background-color: #1F2937;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.testimonial-stars {
    color: #B89968;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #D1D5DB;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    margin-right: 1rem;
}

.testimonial-author-name {
    font-weight: 600;
    color: white;
}

.testimonial-author-location {
    font-size: 0.875rem;
    color: #9CA3AF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero-overlay {
        padding: 1.5rem;
    }
}

/* Custom FAQ styles */
.faq-item {
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #1F2937;
}

.faq-answer {
    margin-top: 0.75rem;
    color: #6B7280;
    display: none;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: .3s;
}

.faq-icon {
    color: #0A0A0A;
    transition: transform 0.3s ease;
}

.faq-active .faq-icon {
    transform: rotate(180deg);
}

.faq-active .faq-answer {
    display: block;
}

.dropdown-content {
    position: absolute;
    min-width: 120px;
    z-index: 50;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
}

/* Hover-open kept for header navigation only; the hero search dropdown is click-driven below. */
.site-nav .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

/* Default closed state for any dropdown */
.dropdown .dropdown-content {
    opacity: 0;
    visibility: hidden;
}

/* Click-open behaviour (toggled in JS) */
.dropdown.open .dropdown-content,
.type-options.open .dropdown-content {
    opacity: 1;
    visibility: visible;
}

/* Header topbar / nav remain hoverable */
.site-header__topbar .dropdown:hover .dropdown-content,
.site-nav .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu.active {
    max-height: 500px;
}

.wave-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='1440' height='900' viewBox='0 0 1440 900' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.05' d='M-97.5 742.5C-97.5 742.5 128.5 646.5 254.5 646.5C380.5 646.5 422.5 742.5 548.5 742.5C674.5 742.5 716.5 646.5 842.5 646.5C968.5 646.5 1010.5 742.5 1136.5 742.5C1262.5 742.5 1304.5 646.5 1430.5 646.5C1556.5 646.5 1598.5 742.5 1724.5 742.5' stroke='%23D2B883' stroke-width='3'/%3E%3Cpath opacity='0.05' d='M-97.5 772.5C-97.5 772.5 128.5 676.5 254.5 676.5C380.5 676.5 422.5 772.5 548.5 772.5C674.5 772.5 716.5 676.5 842.5 676.5C968.5 676.5 1010.5 772.5 1136.5 772.5C1262.5 772.5 1304.5 676.5 1430.5 676.5C1556.5 676.5 1598.5 772.5 1724.5 772.5' stroke='%23D2B883' stroke-width='3'/%3E%3Cpath opacity='0.05' d='M-97.5 802.5C-97.5 802.5 128.5 706.5 254.5 706.5C380.5 706.5 422.5 802.5 548.5 802.5C674.5 802.5 716.5 706.5 842.5 706.5C968.5 706.5 1010.5 802.5 1136.5 802.5C1262.5 802.5 1304.5 706.5 1430.5 706.5C1556.5 706.5 1598.5 802.5 1724.5 802.5' stroke='%23D2B883' stroke-width='3'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.gold-text {
    color: #0A0A0A;
}

.form-container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.noUi-connect {
    background: #0A0A0A;
}

.noUi-handle {
    background: #0A0A0A;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
}

.noUi-handle:before, .noUi-handle:after {
    display: none;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: #0A0A0A;
    border-color: #0A0A0A;
    color: #fff;
}

.flatpickr-day.inRange, .flatpickr-day.prevMonthDay.inRange, .flatpickr-day.nextMonthDay.inRange, .flatpickr-day.today.inRange, .flatpickr-day.prevMonthDay.today.inRange, .flatpickr-day.nextMonthDay.today.inRange, .flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus, .flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus {
    background: #F4F4F5;
    border-color: #F4F4F5;
    color: #0A0A0A;
}

.dropdown {
    position: relative;
}


.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}
.custom-logo-link img {
    max-width: clamp(195px, 14vw, 265px);
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media screen and (min-width: 769px) {
    .custom-logo-link img {
        max-width: clamp(195px, 14vw, 265px);
    }
}

@media screen and (max-width: 768px) {
    .custom-logo-link img {
        max-width: clamp(200px, 52vw, 280px);
        max-height: 58px;
    }
}

.seo-section {
    background: var(--white-100);
}

.seo-content {
    position: relative;
    color: #4b5563;
    line-height: 1.625;
    overflow: hidden;
    transition: max-height 0.2s;
    max-height: 100px;
    min-height: 64px;
}

.seo-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f0f2f8);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.seo-content.expanded::after {
    opacity: 0;
}

.slider-nav__button {
    width: 48px;
    height: 48px;
    color: var(--text-main);
    border: 1px solid currentColor;
    background: transparent;
    outline: none;
    border-radius: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.slider-nav__button:disabled {
    pointer-events: none;
    opacity: .5;
}

@media screen and (max-width: 768px) {
    .slider-nav__button {
        width: 36px;
        height: 36px;
    }

    .slider-nav__button svg {
        width: 12px;
        height: auto;
    }
}

.slider-m-mod {
    overflow: hidden;
}

.slider-m-mod .swiper {
    overflow: hidden;
}

@media screen and (max-width: 992px) {


    .slider-m-mod .swiper .swiper-button-next,
    .slider-m-mod .swiper .swiper-button-prev {
        display: none;
    }
}

@media screen and (max-width: 768px) {

}

.c-content p + p {
    margin-top: 1em;
}

.freq {
    position: relative;
    overflow: hidden;
    background-color: #fafafa;
}

.freq:before {
    content: '';
    display: block;
    background: radial-gradient(circle at 30% 20%, rgba(10, 10, 10, 0.04), rgba(255, 255, 255, 0) 60%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.freq > .container {
    position: relative;
    z-index: 1;
}

.tandi {
    position: relative;
    overflow: hidden;
}

.tandi:before {
    content: '';
    display: block;
    background: radial-gradient(circle at 70% 20%, rgba(10, 10, 10, 0.03), rgba(255, 255, 255, 0) 65%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.tandi > .container {
    position: relative;
    z-index: 1;
}

.product-card:hover .primary-image {
    opacity: 0;
}

.product-card:hover .secondary-image {
    opacity: 1;
}

.secondary-image {
    opacity: 0;
}

.primary-image, .secondary-image {
    transition: opacity 0.5s ease-in-out;
}

.tab-active {
    background-color: #0A0E14;
    color: #fff !important;
    border-color: #0A0E14;
    background-image: none;
}

.products .swiper-slide {
    height: auto;
}

.tab-btn + .tab-btn {
    border-left: 1px solid rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.gallery__track .swiper-slide {
    max-width: 20%;
}

#booking-modal {
    width: 90vw;
    max-width: 440px;
    border-radius: 10px;
    padding: 0;
}

.product-card__image .h-full {
    height: 100% !important;
}

.prose {
    color: #374151;
    line-height: 1.75;
}

.prose h1 {
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.prose h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.prose h3 {
    font-size: clamp(1.35rem, 2vw, 1.5rem);
    font-weight: 500;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.prose h4 {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.prose p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.prose a:hover {
    color: #1d4ed8;
}

.prose img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    height: auto;
}

.prose blockquote {
    border-left: 4px solid #d1d5db;
    padding-left: 1rem;
    font-style: italic;
    color: #6b7280;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.prose th {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #111827;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #d1d5db;
}

.prose td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.prose pre {
    background-color: #111827;
    color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose code {
    background-color: #f3f4f6;
    color: #111827;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.prose > *:first-child {
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .prose p {
        font-size: 14px;
    }
}


.pagination-item {
    min-width: 44px;
    text-align: center;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat( 2, minmax(0, 1fr) );
    gap: 24px;
}

.nav-links a {
    color: #0A0A0A;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
    color: #27272A;
}

.nav-links .nav-next {
    text-align: right;
}

.nav-links svg {
    flex: 0 0 auto;
}

.wc-block-attribute-filter-list {
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    max-height: 160px;
    padding-right: 5px;
}

.shop-sidebar .widget_block + .widget_block {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #d1d5db;
}

.shop-sidebar .widget_block .wp-block-heading {
    font-weight: 600;
}

.chero {
    position: relative;
    z-index: 22;
}

.chero:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(10, 10, 10, 0.05), rgba(255, 255, 255, 0) 75%),
        radial-gradient(45% 50% at 80% 90%, rgba(10, 10, 10, 0.025), rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.chero > * {
    position: relative;
    z-index: 2;
}

.wc-block-components-price-slider--is-input-inline .wc-block-components-price-slider__controls .wc-block-components-price-slider__amount {
    max-width: 100px !important;
}

.masonry-container {
    column-count: 1;
    column-gap: 1.5rem;
}

@media (min-width: 640px) {
    .masonry-container {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-container {
        column-count: 3;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.star-rating {
    color: #FFB800;
}

.c-content {
    font-size: 16px;
}

.c-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.c-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 18px 0 12px;
}

.c-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0 10px;
}


.c-content p {
    margin-bottom: 16px;
}

.c-content ul,
.c-content ol {
    margin: 16px 0;
    padding-left: 28px;
    list-style-type: initial;
}

.c-content li {
    font-size: 16px;
    margin-bottom: 10px;
}

.c-content a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.c-content a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .c-content h1 {
        font-size: 24px;
    }

    .c-content h2 {
        font-size: 20px;
    }

    .c-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .c-content h1 {
        font-size: 20px;
    }

    .c-content h2 {
        font-size: 18px;
    }

    .c-content h3 {
        font-size: 16px;
    }

    .c-content {
        font-size: 14px;
    }
}

.container .container {
    padding: 0;
}

.m-0 {
    margin: 0 !important;
}

.atr-oldprice {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: 100%;
    opacity: 0.9;
    white-space: nowrap;
    text-decoration: none;
}

.atr-oldprice:empty {
    display: none;
}

.atr-oldprice:after {
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    background: currentColor;
    top: 50%;
    right: 0;
    rotate: -3deg;
    opacity: 0.8;
}

.car-Card__prices-period:not(.car-Card__prices-period_active) .atr-oldprice {
    opacity: 0.6;
}