/* === 全局基础设置 === */
body {
    font-family: 'Nunito', sans-serif;
}

/* === 容器类 === */
.pj-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pj-container-wide {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === 导航栏 === */
.navbar {
    height: 112px;
    background-color: #5a5a5a;
    padding: 0 1rem;
    margin-bottom: 0 !important;
}

.logo {
    height: 80px;
    object-fit: contain;
}

/* === 文本样式 === */
.custom-header {
    font-size: 2.125rem;
}

.custom-lead {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

.small-label {
    font-size: 1rem;
}

.small-label-bold {
    font-size: 1.1rem;
    font-weight: 600;
}

/* === 按钮样式 === */
.btn-primary {
    height: 55px !important;
    background-color: #ea8b26 !important;
    border-color: #ea8b26 !important;
    padding: 0 1.5rem !important;
    color: white !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #d47e22 !important;
    border-color: #d47e22 !important;
}

.btn-outline-info {
    font-size: 1.2rem;
    background-color: #fff;
    border-color: #dadada;
    color: #000;
}

.btn-outline-info:hover,
.btn-outline-info:focus {
    background-color: #e6f8fb;
    border-color: #dedede !important;
    color: #000 !important;
}

.btn-check:checked+.btn-outline-info {
    background-color: #17A2B8;
    border-color: #17A2B8;
    color: #fff;
}

.btn-check:checked+.btn-outline-info:hover,
.btn-check:checked+.btn-outline-info:focus {
    color: #fff !important;
    border-color: #17a2b8 !important;
}

.btn-outline-info.disabled,
.btn-outline-info:disabled {
    background-color: #fff !important;
    border-color: #dadada !important;
    color: #ccc !important;
    opacity: 1;
}

/* === 表单输入框 === */
.input-tall,
.date-row input.form-control {
    height: 60px;
    font-size: 1.2rem;
    border-radius: 0;
    padding: 10px 16px;
}

.input-tall:focus,
.date-row input.form-control:focus {
    border-color: #17A2B8;
    box-shadow: 0 0 0 0.25rem rgba(23, 162, 184, 0.25);
}

.no-rounded {
    border-radius: 0 !important;
}

/* === 选择人数按钮 === */
#peopleCountGroup .btn,
.gender-btn {
    height: 60px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* === 按钮区域布局 === */
.btn-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
}

.btn-wrapper>button {
    padding: 0.5rem 1.5rem;
    width: auto;
}

/* === 响应式调整 === */
@media (max-width: 767.98px) {
    .btn-wrapper {
        justify-content: center !important;
    }

    .btn-wrapper>button {
        width: 100% !important;
        max-width: 400px;
        display: block;
    }
}

@media (min-width: 768px) {
    .date-row {
        display: flex;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .navbar {
        height: auto;
        padding: 0.5rem 1rem;
    }

    .logo {
        height: 60px;
    }

    .navbar .d-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
    }

    .dropdown {
        margin-left: auto;
    }

    .custom-header {
        font-size: 1.825rem;
    }

    .custom-lead {
        font-size: 1rem;
    }
}

.riding-level-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    /* 没有间距 */
}

@media (min-width: 768px) {
    .riding-level-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.button-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 10px 0;
}

.action-btn {
    padding: 0.5rem 1.5rem;
    height: 60px;
    width: auto;
    min-width: 180px;
}

/* 手机时：垂直排列 + 占满宽度 */
@media (max-width: 767.98px) {
    .button-row {
        flex-direction: column-reverse;
        /* 让 Continue 在上面 */
        align-items: stretch;
    }

    .action-btn {
        width: 100%;
    }
}

.back-btn {
    background-color: #343a40;
    border-color: #343a40;
    color: #fff;
}

.back-btn:hover,
.back-btn:focus {
    background-color: #23272b;
    border-color: #23272b;
    color: #fff;
}

input[type="radio"].d-none {
    display: none;
}

.package-select-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

@media (max-width: 767.98px) {
    .package-select-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .package-select-wrapper .select-card {
        width: 100%;
        max-width: 400px;
    }
}

.select-card {
    display: flex;
    flex-direction: column;
    height: 300px;
    overflow: hidden;
    background-color: #fff;
    width: 250px;
    margin-bottom: 1rem;
    cursor: pointer;
    user-select: none;
    border: none;
    border-radius: 0;
}

/* 固定高度，防止缩小 */
.bottom-bar {
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    color: #666;
    position: relative;
    transition: background-color 0.3s;
}

.bottom-bar>div:nth-child(2) {
    /* 你那个字体大的div */
    line-height: 1;
    margin-top: 8px;
    /* 试着微调垂直偏移 */
}

.bar-line {
    height: 8px;
    flex-shrink: 0;
    background-color: #17a2b8;
}

/* 让内容撑满剩余空间 */
.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.5rem;
    flex-grow: 1;
    overflow: auto;
    /* 内容多时可以滚动 */
    /* 你可以调节间距 */
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 3px;
    margin-right: 0.5rem;
    position: relative;
    flex-shrink: 0;
    background-color: transparent;
    transition: border-color 0.3s;
}

/* 恢复你原来的对勾样式 */
input[type="radio"]:checked+label.select-card .checkbox-custom::after {
    content: "";
    position: absolute;
    left: 10px;
    top: -6px;
    width: 10px;
    height: 20px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* 选中时只改变 bottom-bar 背景 */
input[type="radio"]:checked+label.select-card .bottom-bar {
    background-color: #17A2B8;
    color: #fff;
}

input[type="radio"]:checked+label.select-card .checkbox-custom {
    border-color: #fff;
}

.boot-option-select {
    width: 250px;
    cursor: pointer;
}

.boot-option-bar {
    height: 60px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    padding-left: 1rem;
    border: 1px solid #ccc;
    user-select: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.boot-option-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.boot-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.boot-price {
    font-size: 0.875rem;
    color: #aaa;
}

/* 手机时宽度撑满 */
@media (max-width: 767.98px) {
    .boot-option-select {
        width: 100%;
    }
}

/* 勾选后的样式 */
input[type="checkbox"]:checked+label.boot-option-bar {
    background-color: #17A2B8;
    border-color: #17A2B8;
    color: #fff;
}

input[type="checkbox"]:checked+label.boot-option-bar .boot-price {
    color: #fff;
}

input[type="checkbox"]:checked+label.boot-option-bar .checkbox-custom {
    border-color: #fff;
}

/* 复用你已有的对勾样式 */
input[type="checkbox"]:checked+label.boot-option-bar .checkbox-custom::after {
    content: "";
    position: absolute;
    left: 10px;
    top: -6px;
    width: 10px;
    height: 20px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:checked+label.boot-option-bar .boot-title {
    color: #fff;
}

.outerwear-select-wrapper {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* 每个选项宽度一致，手机自动撑满 */
.outerwear-option {
    width: 220px;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .outerwear-option {
        width: 100%;
    }
}

.guest-name {
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.card-description {
    flex-grow: 1;
    color: #666;
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 60px;
}

.card-price-info {
    height: 60px;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
}

.price-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
}

.discount-text {
    font-size: 0.85rem;
    color: #999;
}

.btn_g {
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 4rem;
    background-color: #17a2b8 !important;
    border: 2px solid #FFF !important;
    color: #FFF !important;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.btn_g:hover,
.btn_g:focus,
.btn_g:active {
    font-weight: 700;
    background-color: transparent !important;
    border: 2px solid #17a2b8 !important;
    color: #17a2b8 !important;
    text-decoration: none;
}

/* bg */
.sb1 {
    background-image: url('sb_1_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}

.sb2 {
    background-image: url('sb_2_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}

.sb3 {
    background-image: url('sb_3_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}

.sb4 {
    background-image: url('sb_4_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}

.sb5 {
    background-image: url('sb_5_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}

.ski1 {
    background-image: url('ski_1_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}

.ski2 {
    background-image: url('ski_2_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}

.ski3 {
    background-image: url('ski_3_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}

.ski4 {
    background-image: url('ski_4_bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60px auto;
}