.public-site {
    --jm-blue: #1b6ef3;
    --jm-blue-dark: #0f4fc4;
    --jm-ink: #1c2430;
    --jm-muted: #6b7280;
    --jm-line: #e8ecf1;
    --jm-bg: #f7f8fa;
    --jm-orange: #ff6a00;
    background: #fff;
    color: var(--jm-ink);
}

.public-container {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.public-header {
    background: #fff;
    border-bottom: 1px solid var(--jm-line);
    z-index: 50;
}

.public-header .brand-word {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--jm-ink);
}

.public-hero {
    position: relative;
    min-height: clamp(360px, 56vh, 540px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(8, 18, 32, 0.45) 0%, rgba(8, 18, 32, 0.28) 40%, rgba(8, 18, 32, 0.62) 100%),
        url("../images/hero-mountains.png") center / cover no-repeat;
}

.public-hero-inner {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100% - 2rem));
    text-align: center;
    color: #fff;
    padding: 3rem 0 4.5rem;
}

.public-hero-title {
    font-size: clamp(1.6rem, 3.4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.public-hero-sub {
    font-size: 0.98rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.jm-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.18);
    overflow: hidden;
    text-align: start;
}

@media (min-width: 768px) {
    .jm-search {
        grid-template-columns: 1.3fr 1fr 1fr auto;
        align-items: stretch;
    }
}

.jm-search-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--jm-line);
}

@media (min-width: 768px) {
    .jm-search-field {
        border-bottom: 0;
        border-inline-end: 1px solid var(--jm-line);
    }
}

.jm-search-field label {
    font-size: 0.72rem;
    color: var(--jm-muted);
}

.jm-search-field input,
.jm-search-field select {
    border: 0;
    outline: none;
    background: transparent;
    font-size: 0.92rem;
    color: var(--jm-ink);
    width: 100%;
    padding: 0;
}

.jm-search-btn {
    margin: 0.65rem;
    border: 0;
    border-radius: 10px;
    background: var(--jm-blue);
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 1.4rem;
    cursor: pointer;
}

.jm-search-btn:hover {
    background: var(--jm-blue-dark);
}

.public-section {
    padding: 2.5rem 0 0;
}

.public-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.15rem;
}

.public-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.public-section-sub {
    font-size: 0.85rem;
    color: var(--jm-muted);
    margin-top: 0.2rem;
}

.activity-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 0.75rem;
}

.activity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--jm-ink);
    padding: 0.5rem 0.25rem;
}

.activity-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 1px solid var(--jm-line);
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--jm-blue);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.activity-item:hover .activity-icon {
    border-color: var(--jm-blue);
    transform: translateY(-2px);
}

.activity-item span {
    font-size: 0.78rem;
    text-align: center;
}

.city-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(140px, 170px);
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
}

.city-tile {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(145deg, #2f6b9a, #1b3f63);
}

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

.city-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65));
}

.city-tile-label {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 1;
    padding: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.public-tour-grid {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .public-tour-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .public-tour-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.tour-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--jm-line);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tour-card:hover {
    transform: translateY(-4px);
    border-color: #d7e3f4;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

.tour-card-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.tour-card-hit:focus-visible {
    outline: 2px solid var(--jm-blue);
    outline-offset: 3px;
}

.tour-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #d7e2ee;
    overflow: hidden;
}

.tour-card-media img,
.tour-card-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-card-media img,
.tour-card:hover .tour-card-fallback {
    transform: scale(1.06);
}

.tour-card-fallback {
    background:
        linear-gradient(180deg, rgba(15, 40, 72, 0.15) 0%, rgba(15, 40, 72, 0.55) 100%),
        linear-gradient(135deg, #6ea0c8 0%, #2f5f86 52%, #1b3f63 100%);
}

.tour-card-media-fade {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(8, 16, 28, 0.62));
    pointer-events: none;
}

.tour-card-chips {
    position: absolute;
    top: 0.7rem;
    inset-inline-start: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    z-index: 2;
    max-width: calc(100% - 3.6rem);
}

.tour-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--jm-ink);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.tour-chip--easy {
    background: #ecfdf3;
    color: #067647;
}

.tour-chip--moderate {
    background: #fff7ed;
    color: #c2410c;
}

.tour-chip--hard {
    background: #fef2f2;
    color: #b91c1c;
}

.tour-chip--expert {
    background: #f5f3ff;
    color: #6d28d9;
}

.tour-chip--hot {
    background: #fff1f2;
    color: #e11d48;
}

.tour-chip--full {
    background: #f3f4f6;
    color: #4b5563;
}

.tour-card-loc {
    position: absolute;
    bottom: 0.7rem;
    inset-inline-start: 0.7rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(12, 18, 28, 0.62);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
}

.tour-card-loc i {
    font-size: 0.78rem;
    opacity: 0.9;
}

.tour-fav-btn {
    position: absolute;
    top: 0.7rem;
    inset-inline-end: 0.7rem;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #6b7280;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.tour-fav-btn:hover {
    transform: scale(1.06);
    color: #e11d48;
}

.tour-fav-btn.is-active {
    background: #e11d48;
    color: #fff;
}

.tour-fav-btn.is-active:hover {
    color: #fff;
}

.leader-hero {
    background: linear-gradient(180deg, #f4f8ff 0%, #fff 100%);
    border-bottom: 1px solid var(--jm-line, #e8ecf1);
    padding: 2rem 0;
}

.leader-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .leader-hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.leader-hero-main {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.leader-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
}

.leader-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tour-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.95rem 1rem 1.05rem;
    flex: 1;
}

.tour-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    min-height: 2.9em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card-dest {
    margin: 0;
    font-size: 0.78rem;
    color: var(--jm-muted);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-card-facts {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
}

.tour-card-facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--jm-muted);
}

.tour-card-facts i {
    font-size: 0.82rem;
    color: #8b95a5;
}

.tour-card-facts .is-low {
    color: #c2410c;
}

.tour-card-facts .is-full {
    color: #b91c1c;
}

.tour-card-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--jm-line);
}

.tour-card-leader {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jm-muted);
    text-decoration: none;
}

.tour-card-leader span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tour-card-leader:hover {
    color: var(--jm-blue);
}

.tour-card-leader.is-muted {
    font-weight: 500;
}

.tour-card-leader-ok {
    color: var(--jm-blue);
    font-size: 0.85rem;
}

.tour-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.05rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--jm-ink);
    letter-spacing: -0.02em;
    white-space: nowrap;
    line-height: 1.2;
}

.tour-card-price span {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--jm-muted);
    letter-spacing: 0;
}

.trust-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    background: var(--jm-bg);
    border-radius: 16px;
    padding: 1.35rem;
}

@media (min-width: 768px) {
    .trust-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.trust-item i {
    color: var(--jm-blue);
    font-size: 1.35rem;
    margin-top: 0.1rem;
}

.trust-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.trust-item p {
    font-size: 0.78rem;
    color: var(--jm-muted);
    line-height: 1.7;
    margin: 0;
}

.public-footer {
    display: none;
}

.jm-footer {
    margin-top: 3.5rem;
    background: #fff;
    border-top: 1px solid var(--jm-line);
    color: var(--jm-ink);
}

.jm-footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2.5rem 0 1.75rem;
    border-bottom: 1px solid var(--jm-line);
}

@media (min-width: 900px) {
    .jm-footer-top {
        grid-template-columns: 1.4fr 0.9fr;
        align-items: stretch;
        gap: 2rem;
    }
}

.jm-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--jm-ink);
    margin-bottom: 0.85rem;
}

.jm-footer-logo img {
    width: 36px;
    height: 36px;
}

.jm-footer-logo span {
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.jm-footer-brand p {
    margin: 0;
    max-width: 34rem;
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--jm-muted);
}

.jm-footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.jm-footer-pills span {
    border: 1px solid var(--jm-line);
    background: var(--jm-bg);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.75rem;
    color: #445064;
}

.jm-footer-support {
    border: 1px solid #d7e4ff;
    background: linear-gradient(160deg, #f4f8ff 0%, #eef4ff 100%);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
}

.jm-footer-support-label {
    font-size: 0.78rem;
    color: var(--jm-muted);
    margin-bottom: 0.35rem;
}

.jm-footer-phone {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--jm-blue);
    text-decoration: none;
    margin-bottom: 0.45rem;
}

.jm-footer-support > p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #5b6575;
}

.jm-footer-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.jm-footer-support-actions a {
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--jm-blue);
    background: #fff;
    border: 1px solid #c9daff;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
}

.jm-footer-support-actions a:hover {
    background: var(--jm-blue);
    color: #fff;
    border-color: var(--jm-blue);
}

.jm-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
    padding: 1.75rem 0 1.5rem;
}

@media (min-width: 900px) {
    .jm-footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem 2rem;
        padding: 2rem 0 1.75rem;
    }
}

.jm-footer-col h4 {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.jm-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.jm-footer-col a,
.jm-footer-col span {
    color: #5b6575;
    text-decoration: none;
    font-size: 0.86rem;
    line-height: 1.5;
}

.jm-footer-col a:hover {
    color: var(--jm-blue);
}

.jm-footer-cities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    padding: 1rem 0 1.5rem;
    border-top: 1px dashed var(--jm-line);
}

.jm-footer-cities-label {
    font-size: 0.8rem;
    font-weight: 650;
    color: var(--jm-ink);
    margin-inline-end: 0.25rem;
}

.jm-footer-cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.jm-footer-cities-list a {
    text-decoration: none;
    font-size: 0.78rem;
    color: #445064;
    background: var(--jm-bg);
    border: 1px solid var(--jm-line);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

.jm-footer-cities-list a:hover {
    border-color: #b7ceff;
    color: var(--jm-blue);
    background: #f4f8ff;
}

.jm-footer-bottom {
    background: #f3f5f8;
    border-top: 1px solid var(--jm-line);
}

.jm-footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.95rem 0;
    font-size: 0.75rem;
    color: #7a8494;
}

@media (min-width: 768px) {
    .jm-footer-bottom-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.detail-hero {
    position: relative;
    min-height: 300px;
    background: #1b3f63 center / cover no-repeat;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(10, 16, 12, 0.72));
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    color: #f7f4ee;
}

.jm-link {
    color: var(--jm-blue);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}

.jm-link:hover {
    color: var(--jm-blue-dark);
}

/* ===== Tour detail (shab-like) ===== */
.detail-gallery {
    position: relative;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr;
    border-radius: 16px;
    overflow: hidden;
}

@media (min-width: 900px) {
    .detail-gallery {
        grid-template-columns: 1.35fr 1fr;
        min-height: 420px;
    }
}

.detail-gallery-main,
.detail-gallery-thumb {
    background: #dfe7f0;
    overflow: hidden;
}

.detail-gallery-main {
    min-height: 260px;
}

.detail-gallery-main img,
.detail-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.detail-gallery-thumb {
    min-height: 120px;
}

@media (min-width: 900px) {
    .detail-gallery-thumb {
        min-height: 0;
    }
}

.detail-gallery-all {
    position: absolute;
    inset-inline-start: 1rem;
    bottom: 1rem;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--jm-ink);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.detail-tabs-wrap {
    position: sticky;
    top: 57px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--jm-line);
    backdrop-filter: blur(8px);
}

.detail-tabs {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.85rem 0;
}

.detail-tabs a {
    color: var(--jm-muted);
    text-decoration: none;
    font-size: 0.88rem;
    white-space: nowrap;
    font-weight: 500;
}

.detail-tabs a:hover {
    color: var(--jm-blue);
}

.detail-layout {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 1024px) {
    .detail-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

.detail-title {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.detail-subtitle {
    margin-top: 0.4rem;
    color: var(--jm-muted);
    font-size: 0.95rem;
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--jm-line);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    color: var(--jm-ink);
    background: #fff;
}

.detail-location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: var(--jm-muted);
}

.detail-location i {
    color: var(--jm-blue);
}

.detail-leader {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    padding: 0.9rem 0;
    border-top: 1px solid var(--jm-line);
    border-bottom: 1px solid var(--jm-line);
}

.detail-leader-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
}

.detail-block {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--jm-line);
}

.detail-h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.detail-h3 {
    font-size: 0.92rem;
    font-weight: 650;
    margin-bottom: 0.75rem;
}

.detail-text {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #3f4754;
}

.detail-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (min-width: 700px) {
    .detail-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.detail-stat {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.85rem;
    border: 1px solid var(--jm-line);
    border-radius: 12px;
    background: #fff;
}

.detail-stat i {
    color: var(--jm-blue);
    font-size: 1.15rem;
    margin-top: 0.1rem;
}

.detail-stat strong {
    display: block;
    font-size: 0.88rem;
}

.detail-stat span {
    display: block;
    font-size: 0.72rem;
    color: var(--jm-muted);
    margin-top: 0.15rem;
}

.detail-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .detail-facts {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: var(--jm-bg);
    font-size: 0.85rem;
}

.detail-facts span {
    color: var(--jm-muted);
}

.amenity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

@media (min-width: 700px) {
    .amenity-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.86rem;
}

.amenity-item i {
    color: var(--jm-blue);
}

.amenity-grid--muted .amenity-item {
    color: var(--jm-muted);
}

.amenity-grid--muted .amenity-item i {
    color: #9aa3af;
}

.detail-soft-box {
    border: 1px solid var(--jm-line);
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.detail-rule-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.detail-rule-card {
    border: 1px solid var(--jm-line);
    border-radius: 12px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.detail-rule-card strong {
    color: var(--jm-muted);
    font-weight: 500;
    font-size: 0.78rem;
}

.detail-cancel-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.detail-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.detail-rules-list li {
    display: flex;
    gap: 0.65rem;
    font-size: 0.88rem;
}

.detail-rules-list i {
    color: var(--jm-blue);
    margin-top: 0.15rem;
}

.detail-rules-list p {
    margin: 0.25rem 0 0;
    color: var(--jm-muted);
    line-height: 1.8;
}

.detail-full-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

@media (min-width: 700px) {
    .detail-full-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.detail-full-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

.detail-aside {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 1024px) {
    .detail-aside {
        position: sticky;
        top: 110px;
    }
}

.booking-card,
.booking-leader-card {
    border: 1px solid var(--jm-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    padding: 1.15rem;
}

.booking-price {
    font-size: 1.45rem;
    font-weight: 750;
    margin-bottom: 1rem;
}

.booking-price span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--jm-muted);
}

.booking-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.booking-field {
    border: 1px solid var(--jm-line);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
}

.booking-field--full {
    grid-column: 1 / -1;
}

.booking-field label {
    display: block;
    font-size: 0.72rem;
    color: var(--jm-muted);
    margin-bottom: 0.2rem;
}

.booking-cta {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: var(--jm-blue);
    color: #fff;
    font-weight: 700;
    padding: 0.95rem 1rem;
    cursor: pointer;
    opacity: 1;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.booking-cta:disabled,
.booking-cta[disabled] {
    cursor: not-allowed;
    opacity: 0.75;
}

a.booking-cta:hover {
    background: var(--jm-blue-dark);
    color: #fff;
}

.booking-note,
.booking-meta {
    font-size: 0.75rem;
    color: var(--jm-muted);
    line-height: 1.7;
    margin-top: 0.75rem;
}

.booking-meta {
    border-top: 1px solid var(--jm-line);
    padding-top: 0.75rem;
}

/* ========== Catalog / Shab-style filters ========== */
.catalog-page {
    background: #fff;
    min-height: 60vh;
    padding-bottom: 3rem;
}

.filter-bar-wrap {
    position: sticky;
    top: 64px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--jm-line);
    padding: 0.85rem 0;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 40px;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid #dbe1ea;
    background: #fff;
    color: var(--jm-ink);
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.filter-pill i {
    font-size: 1rem;
    color: #5b6778;
}

.filter-pill em {
    font-style: normal;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--jm-blue);
    color: #fff;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-pill:hover {
    border-color: #b8c4d4;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
}

.filter-pill.is-active {
    background: var(--jm-blue);
    border-color: var(--jm-blue);
    color: #fff;
}

.filter-pill.is-active i,
.filter-pill.is-active em {
    color: #fff;
}

.filter-pill.is-active em {
    background: rgba(255, 255, 255, 0.25);
}

.filter-bar-search {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: min(260px, 100%);
    height: 40px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid #dbe1ea;
    background: #f8fafc;
}

.filter-bar-search i {
    color: #8a94a6;
}

.filter-bar-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 0.86rem;
    color: var(--jm-ink);
}

.catalog-body {
    padding-top: 1.25rem;
}

.catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.catalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--jm-muted);
    margin-bottom: 0.35rem;
}

.catalog-breadcrumb a {
    color: var(--jm-muted);
    text-decoration: none;
}

.catalog-breadcrumb a:hover {
    color: var(--jm-blue);
}

.catalog-title {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 750;
    color: var(--jm-ink);
    margin: 0;
}

.catalog-title span {
    font-weight: 500;
    color: var(--jm-muted);
    font-size: 0.85em;
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--jm-muted);
}

.catalog-sort button {
    border: 0;
    background: transparent;
    color: var(--jm-ink);
    font-size: 0.88rem;
    padding: 0.15rem 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.catalog-sort button.is-active {
    color: var(--jm-blue);
    font-weight: 650;
    border-bottom-color: var(--jm-blue);
}

.catalog-empty {
    text-align: center;
    padding: 3.5rem 1rem;
    color: var(--jm-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.catalog-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(15, 23, 42, 0.28);
}

.filter-modal {
    position: fixed;
    z-index: 70;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, calc(100% - 2rem));
    max-height: min(82vh, 640px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.filter-modal--sm {
    width: min(400px, calc(100% - 2rem));
}

.filter-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem 0.85rem;
    border-bottom: 1px solid var(--jm-line);
    flex-shrink: 0;
}

.filter-modal-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    flex: 1;
    text-align: center;
}

.filter-modal-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-modal-close:hover {
    background: #f3f4f6;
}

.filter-modal-body {
    padding: 1rem 1.15rem;
    overflow-y: auto;
    flex: 1;
}

.filter-modal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem 1.1rem;
    border-top: 1px solid var(--jm-line);
    flex-shrink: 0;
}

.filter-link-btn {
    border: 0;
    background: transparent;
    color: var(--jm-blue);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 0.5rem 0.25rem;
}

.filter-primary-btn {
    border: 0;
    border-radius: 12px;
    background: var(--jm-blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.35rem;
    cursor: pointer;
    min-width: 160px;
}

.filter-primary-btn:hover {
    background: var(--jm-blue-dark);
}

.filter-primary-btn--soft {
    background: #dfe8fb;
    color: var(--jm-blue-dark);
}

.filter-primary-btn--soft:hover {
    background: #cfdcf8;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.price-input-box {
    display: block;
}

.price-input-label {
    display: block;
    font-size: 0.75rem;
    color: var(--jm-muted);
    margin-bottom: 0.35rem;
}

.price-field {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    padding: 0.55rem 0.7rem;
    background: #fff;
}

.price-field input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 600;
    background: transparent;
    color: var(--jm-ink);
}

.price-field em {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--jm-muted);
    flex-shrink: 0;
}

.price-slider {
    position: relative;
    height: 28px;
    margin: 0.25rem 0.15rem 0.35rem;
}

.price-slider-track {
    position: absolute;
    inset-inline: 0;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    background: #e5eaf1;
    border-radius: 999px;
}

.price-slider-range {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--jm-blue);
    border-radius: 999px;
}

.price-slider input[type="range"] {
    position: absolute;
    inset-inline: 0;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    appearance: none;
    background: transparent;
    pointer-events: none;
    height: 28px;
    margin: 0;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--jm-blue);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    pointer-events: auto;
    cursor: pointer;
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--jm-blue);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    pointer-events: auto;
    cursor: pointer;
}

.price-hint {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--jm-muted);
    margin-top: 0.15rem;
}

.filter-check-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: 360px;
    overflow-y: auto;
}

.filter-check-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.15rem;
    border-bottom: 1px solid #f1f4f8;
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-check-item:last-child {
    border-bottom: 0;
}

.filter-check-item small {
    color: var(--jm-muted);
    font-size: 0.78rem;
    margin-inline-start: 0.35rem;
}

.filter-check-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--jm-blue);
    flex-shrink: 0;
}

.filter-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.filter-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f1f4f8;
    cursor: pointer;
}

.filter-toggle-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 650;
}

.filter-toggle-item p {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: var(--jm-muted);
}

.filter-switch {
    position: relative;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
}

.filter-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.filter-switch i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #d1d5db;
    transition: background 0.15s ease;
}

.filter-switch i::after {
    content: "";
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: inset-inline-start 0.15s ease;
}

.filter-switch input:checked + i {
    background: var(--jm-blue);
}

.filter-switch input:checked + i::after {
    inset-inline-start: 21px;
}

.filter-section {
    padding: 0.85rem 0 0.35rem;
}

.filter-section h4 {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.filter-chip {
    border: 1px solid #d7dee8;
    background: #fff;
    color: var(--jm-ink);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    cursor: pointer;
}

.filter-chip.is-on {
    background: #e8f0ff;
    border-color: var(--jm-blue);
    color: var(--jm-blue-dark);
    font-weight: 650;
}

.filter-select {
    width: 100%;
    height: 42px;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    padding: 0 0.85rem;
    background: #fff;
    font-size: 0.9rem;
    color: var(--jm-ink);
}

.filter-date-fields {
    display: grid;
    gap: 0.85rem;
}

@media (max-width: 640px) {
    .filter-bar-search {
        width: 100%;
        order: -1;
    }

    .filter-modal {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-height: 88vh;
        border-radius: 18px 18px 0 0;
    }

    .price-inputs {
        grid-template-columns: 1fr;
    }

    .filter-primary-btn {
        min-width: 0;
        flex: 1;
    }
}

/* ========== Static internal pages (about / rules / contact) ========== */
.static-page {
    background: #f3f5f8;
    padding-bottom: 3.5rem;
}

.static-banner {
    background: linear-gradient(180deg, var(--jm-blue) 0%, #1558c7 100%);
    padding: 1.35rem 0 2.75rem;
}

.static-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    background: #fff;
    border-radius: 14px;
    padding: 0.4rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.static-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    color: var(--jm-ink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 550;
    transition: background 0.15s ease, color 0.15s ease;
}

.static-tab:hover {
    background: #f1f5fb;
    color: var(--jm-blue-dark);
}

.static-tab.is-active {
    background: var(--jm-blue);
    color: #fff;
}

.static-body {
    margin-top: -1.35rem;
    position: relative;
    z-index: 1;
}

.static-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    padding: clamp(1.35rem, 3vw, 2.25rem);
    max-width: 920px;
    margin-inline: auto;
}

.static-card h1 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 750;
    color: var(--jm-ink);
    margin: 0 0 1rem;
    line-height: 1.45;
}

.static-card h2 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--jm-ink);
    margin: 1.75rem 0 0.7rem;
}

.static-card p,
.static-card li {
    font-size: 0.95rem;
    line-height: 1.95;
    color: #4b5565;
}

.static-card p {
    margin: 0 0 0.85rem;
}

.static-card ul {
    margin: 0 0 0.85rem;
    padding-inline-start: 1.2rem;
    display: grid;
    gap: 0.45rem;
}

.static-contact-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
    margin: 1rem 0 1.25rem;
}

@media (min-width: 720px) {
    .static-contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.static-contact-item {
    border: 1px solid var(--jm-line);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: #fafbfc;
}

.static-contact-item strong {
    font-size: 0.9rem;
    color: var(--jm-ink);
}

.static-contact-item a {
    color: var(--jm-blue);
    text-decoration: none;
    font-weight: 650;
    font-size: 0.95rem;
}

.static-contact-item a:hover {
    color: var(--jm-blue-dark);
}

.static-contact-item span {
    font-size: 0.78rem;
    color: var(--jm-muted);
}

@media (max-width: 640px) {
    .static-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .static-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ========== Booking checkout ========== */
.book-page {
    background: var(--jm-bg);
    min-height: 70vh;
    padding: 1.5rem 0 3.5rem;
}

.book-wrap {
    max-width: 1040px;
}

.book-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--jm-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.book-back:hover {
    color: var(--jm-blue);
}

.book-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.book-head h1 {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 750;
}

.book-head p {
    margin: 0.35rem 0 0;
    color: var(--jm-muted);
    font-size: 0.92rem;
}

.book-tour-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #fff;
    border: 1px solid var(--jm-line);
    border-radius: 12px;
    padding: 0.45rem 0.75rem 0.45rem 0.45rem;
}

.book-tour-chip img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.book-tour-chip strong {
    display: block;
    font-size: 0.85rem;
}

.book-tour-chip span {
    font-size: 0.75rem;
    color: var(--jm-muted);
}

.book-steps {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0.45rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    background: #fff;
    border: 1px solid var(--jm-line);
    border-radius: 14px;
}

.book-steps li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    color: var(--jm-muted);
    font-size: 0.82rem;
    font-weight: 550;
    padding: 0.35rem 0.4rem;
}

.book-steps em {
    font-style: normal;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8eef7;
    color: var(--jm-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.book-steps .is-active {
    background: var(--jm-blue);
    color: #fff;
}

.book-steps .is-active em {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.book-steps .is-done {
    color: var(--jm-blue-dark);
    background: #eaf1ff;
}

.book-steps .is-done em {
    background: var(--jm-blue);
    color: #fff;
}

.book-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 900px) {
    .book-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

.book-card {
    background: #fff;
    border: 1px solid var(--jm-line);
    border-radius: 18px;
    padding: 1.35rem 1.35rem 1.2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.book-card h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 750;
}

.book-card-sub {
    margin: 0.4rem 0 1.25rem;
    color: var(--jm-muted);
    font-size: 0.88rem;
}

.book-seats {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #f7f9fc;
    border: 1px solid var(--jm-line);
    border-radius: 14px;
    padding: 0.45rem;
}

.book-seats input {
    width: 64px;
    height: 44px;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--jm-ink);
    outline: none;
}

.book-seats-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: var(--jm-ink);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.book-seats-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.book-companion-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.book-companion {
    border: 1px solid var(--jm-line);
    border-radius: 14px;
    padding: 1rem;
    background: #fafbfc;
}

.book-companion-title {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

.book-fields {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .book-fields {
        grid-template-columns: 1fr 1fr;
    }

    .book-field-full {
        grid-column: 1 / -1;
    }
}

.book-fields label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.book-fields label span {
    font-size: 0.78rem;
    color: var(--jm-muted);
}

.book-fields input,
.book-seats input.is-invalid,
.book-fields input.is-invalid {
    height: 42px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    padding: 0 0.75rem;
    background: #fff;
    font-size: 0.92rem;
    color: var(--jm-ink);
}

.book-fields input.is-invalid {
    border-color: #ef4444;
}

.book-fields em,
.book-error {
    font-style: normal;
    color: #dc2626;
    font-size: 0.78rem;
}

.book-review {
    display: grid;
    gap: 0.65rem;
    background: #f7f9fc;
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.book-review div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.book-review span {
    color: var(--jm-muted);
}

.book-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.7;
    cursor: pointer;
    margin-bottom: 0.65rem;
}

.book-check input {
    margin-top: 0.25rem;
    accent-color: var(--jm-blue);
}

.book-note {
    font-size: 0.78rem;
    color: var(--jm-muted);
    margin: 0 0 1rem;
}

.book-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jm-line);
}

.book-actions-split {
    justify-content: space-between;
}

.book-actions-center {
    justify-content: center;
    border-top: 0;
    padding-top: 0.5rem;
}

.book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.25rem;
    border-radius: 12px;
    border: 0;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
}

.book-btn-primary {
    background: var(--jm-blue);
    color: #fff;
}

.book-btn-primary:hover {
    background: var(--jm-blue-dark);
    color: #fff;
}

.book-btn-ghost {
    background: transparent;
    color: var(--jm-ink);
    border: 1px solid var(--jm-line);
}

.book-btn-ghost:hover {
    background: #f3f5f8;
}

.book-aside {
    position: sticky;
    top: 88px;
}

.book-summary {
    background: #fff;
    border: 1px solid var(--jm-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.book-summary img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.book-summary h3 {
    margin: 0;
    padding: 0.9rem 1rem 0.35rem;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.5;
}

.book-summary ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 1rem 0.85rem;
    display: grid;
    gap: 0.55rem;
}

.book-summary li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.84rem;
}

.book-summary li span {
    color: var(--jm-muted);
}

.book-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--jm-line);
    background: #f8fafc;
}

.book-summary-total span {
    font-size: 0.84rem;
    color: var(--jm-muted);
}

.book-summary-total strong {
    font-size: 1rem;
    color: var(--jm-blue-dark);
}

.book-card-success {
    text-align: center;
    padding: 2.25rem 1.5rem;
}

.book-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    background: #eaf1ff;
    color: var(--jm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.book-code {
    display: inline-block;
    margin: 0.35rem 0 1.25rem;
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    background: #f3f6fb;
    border: 1px dashed #c9d4e4;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: 0.06em;
}

@media (max-width: 720px) {
    .book-steps {
        grid-template-columns: 1fr 1fr;
    }

    .book-steps li span {
        font-size: 0.75rem;
    }

    .book-aside {
        position: static;
        order: -1;
    }
}
