:root {
    --ds-bg: #f7f9fc;
    --ds-surface: #ffffff;
    --ds-text: #1f2937;
    --ds-text-muted: #5b6678;
    --ds-border: #dbe3ef;
    --ds-primary: #0ea5cf;
    --ds-primary-strong: #0b8bb0;
    --ds-primary-soft: #e8f8fd;
    --ds-success: #148f6d;
    --ds-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --ds-shadow-md: 0 10px 24px rgba(15, 23, 42, 0.12);
    --ds-radius-sm: 8px;
    --ds-radius-md: 12px;
    --ds-radius-lg: 16px;
    --ds-space-1: 4px;
    --ds-space-2: 8px;
    --ds-space-3: 12px;
    --ds-space-4: 16px;
    --ds-space-5: 20px;
    --ds-space-6: 24px;
    --ds-space-8: 32px;
}

html,
body {
    overflow-x: clip;
}

body {
    background: var(--ds-bg);
    color: var(--ds-text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    color: var(--ds-text);
    line-height: 1.25;
    margin-top: 0;
}

h1 {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    margin-bottom: var(--ds-space-4);
}

h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    margin-bottom: var(--ds-space-3);
}

h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    margin-bottom: var(--ds-space-3);
}

p,
li,
span,
a,
label,
input,
select,
textarea,
button {
    font-size: 1rem;
}

.ds-section {
    margin-top: var(--ds-space-8);
    margin-bottom: var(--ds-space-8);
}

.ds-stack > * + * {
    margin-top: var(--ds-space-4);
}

.ds-card,
.ticket,
.viator-tickets__item,
.card {
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    box-shadow: var(--ds-shadow-sm);
    overflow: hidden;
}

.ticket,
.viator-tickets__item {
    display: grid;
    grid-template-columns: minmax(260px, 32%) 1fr;
    gap: 0;
}

.ticket__pic,
.viator-tickets__item-img,
.main-info__image,
.gallery-main .swiper-slide,
.gallery-thumbs .swiper-slide {
    position: relative;
    overflow: hidden;
    background: #e9eef5;
}

.ticket__pic,
.viator-tickets__item-img,
.gallery-main .swiper-slide {
    aspect-ratio: 4 / 3;
}

.main-info__image {
    aspect-ratio: 16 / 9;
}

.gallery-thumbs .swiper-slide {
    aspect-ratio: 4 / 3;
}

.ticket__pic picture,
.ticket__pic img,
.viator-tickets__item-img img,
.main-info__image picture,
.main-info__image img,
.gallery-main .swiper-slide img,
.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ticket__content,
.viator-tickets__item .coast-wrap,
.viator-tickets__item > [class*="col-"] {
    padding: var(--ds-space-5);
}

.ticket__title,
.viator-tickets__item-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ds-text);
    margin-bottom: var(--ds-space-2);
}

.ticket__description,
.viator-tickets__item-text {
    color: var(--ds-text-muted);
    line-height: 1.6;
    margin-bottom: var(--ds-space-4);
}

.rating,
.viator-tickets__item-rating {
    display: flex;
    align-items: center;
    gap: var(--ds-space-2);
    min-height: 28px;
}

.rating__stars,
.rating-stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    line-height: 1;
}

.rating .fa,
.rating-stars .fa,
.checked {
    color: #f59e0b;
}

.ticket__icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--ds-space-2);
    margin: var(--ds-space-3) 0 var(--ds-space-4);
}

.ticket__icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
}

.ticket__icon svg,
.ticket__icon img,
.overview-service img,
.menu-search-new .search-new__icon-new {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.button,
.send-form,
.more-btn,
.btn,
.btn-primary,
.btn-blue,
.btn-blue-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button,
.send-form,
.btn-primary,
.btn-blue,
.more-btn {
    background: var(--ds-primary);
    color: #fff;
}

.button:hover,
.send-form:hover,
.btn-primary:hover,
.btn-blue:hover,
.more-btn:hover,
.button:focus,
.send-form:focus,
.btn-primary:focus,
.btn-blue:focus,
.more-btn:focus {
    background: var(--ds-primary-strong);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(14, 165, 207, 0.2);
    outline: none;
}

.btn-blue-border {
    background: #fff;
    color: var(--ds-primary-strong);
    border-color: var(--ds-primary);
}

.btn-blue-border:hover,
.btn-blue-border:focus {
    background: var(--ds-primary-soft);
    color: var(--ds-primary-strong);
}

input,
select,
textarea,
.form-control,
.search-new__input-new,
.spollers-filter__title,
.spoller__tag {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    background: #fff;
    color: var(--ds-text);
    min-height: 42px;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.search-new__input-new:focus,
.spollers-filter__title:focus,
.spoller__tag:focus {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 207, 0.15);
    outline: none;
}

.spoller__tag {
    min-height: 36px;
    padding: 6px 12px;
}

.spoller-tag-active {
    background: var(--ds-primary);
    color: #fff;
    border-color: var(--ds-primary);
}

.tabs__navigation,
.tour-tabs__navigation {
    display: flex;
    gap: var(--ds-space-2);
    flex-wrap: wrap;
    margin-bottom: var(--ds-space-4);
}

.tabs__title,
.tour-tabs__title {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--ds-border);
    background: #fff;
    color: var(--ds-text-muted);
    font-weight: 600;
}

.tabs__title._tab-active,
.tour-tabs__title._tab-active {
    background: var(--ds-primary);
    color: #fff;
    border-color: var(--ds-primary);
}

.tabs__content {
    min-height: 240px;
}

.order {
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    box-shadow: var(--ds-shadow-sm);
    padding: var(--ds-space-5);
}

.price-text {
    font-size: 1.1rem;
    line-height: 1.5;
}

.guarantee {
    color: var(--ds-success);
    font-weight: 600;
}

.paging {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ds-space-2);
    flex-wrap: wrap;
    margin-top: var(--ds-space-4);
}

.paging__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ds-border);
    background: #fff;
    color: var(--ds-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.paging__btn-active {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    color: #fff;
}

.breadcrumbs-block,
.attraction-nav {
    margin-bottom: var(--ds-space-4);
}

.breadcrumb-main,
.attraction-nav a {
    color: #1876a3;
    text-decoration: none;
}

.breadcrumb-main:hover,
.attraction-nav a:hover {
    text-decoration: underline;
}

.sticker,
.sticker-red {
    border-radius: 999px;
    padding: 4px 10px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

.sticker-red {
    background: #fef2f2;
    color: #b91c1c;
}

.sticker {
    background: #ecfeff;
    color: #0f766e;
}

.line,
hr.solid {
    border: none;
    border-top: 1px solid var(--ds-border);
}

.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

@media (max-width: 992px) {
    .ticket,
    .viator-tickets__item {
        grid-template-columns: 1fr;
    }

    .viator-tickets__item .coast-wrap {
        align-items: flex-start !important;
        padding-top: 0;
    }

    .tour-intro__wrapper,
    .main-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--ds-space-4);
    }

    .order {
        margin-top: var(--ds-space-3);
    }
}

@media (max-width: 768px) {
    .container,
    .container-new {
        padding-left: 14px;
        padding-right: 14px;
    }

    .tabs__title,
    .tour-tabs__title,
    .button,
    .send-form,
    .more-btn,
    .btn {
        width: 100%;
    }

    .menu-wrapper-new,
    .menu-new,
    .mobile-menu {
        max-width: 100%;
    }

    .search-new__input-new {
        width: 100%;
    }

    .paging__btn {
        width: 36px;
        height: 36px;
    }
}