body {
    background-color: #f8fafc;
}

.sailingDate-list {
    padding: 20px 15px;
}

.sailingDate-list * {
    box-sizing: border-box;
}

.sd-item {
    display: block;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.sd-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.sd-item .discount-badge {
    position: absolute;
    top: 6px;
    right: -30px;
    background-color: #ff5722;
    color: white;
    padding: 5px 35px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 3px 8px rgba(255, 87, 34, 0.3);
}

.sd-item .card-tags {
    display: flex;
    padding: 10px 15px 0;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.sd-item .card-tags .tag {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.sd-item .card-tags .tag.time {
    background-color: #e8f4ff;
    color: #1a5ca3;
    font-size: 16px;
}

.sd-item .card-tags .tag.direction {
    background-color: #f0f9f0;
    color: #28a745;
}

.sd-item .card-tags .tag.arrive {
    background-color: #f5fcff;
    color: #85a2ba;
    margin-left: auto;
}

/* 卡片主体 */
.sd-item .card-body {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 航线信息 */
.sd-item .route-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eaeaea;
}

.sd-item .route-info .departure,
.sd-item .route-info .arrival {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.sd-item .route-info .time {
    font-size: 22px;
    font-weight: 700;
    color: #0a3969;
}

.sd-item .route-info .location {
    font-size: 14px;
    color: #666;
}

.sd-item .route-info .route-line {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sd-item .route-info .line-dots {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 0 10px;
}

.sd-item .route-info .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0a3969;
}

.sd-item .route-info .line {
    height: 2px;
    flex-grow: 1;
    background-color: #e0e0e0;
    margin: 0 5px;
}

.sd-item .route-info .route-duration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
    border: 1px solid #ffe8d9;
    white-space: nowrap;
}

/* 游轮信息 */
.sd-item .card-body .cruise-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sd-item .cruise-info-l {
    flex: 1;
}

.sd-item .cruise-name {
    font-size: 18px;
    font-weight: 700;
    color: #0a3969;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sd-item .cruise-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background-color: #ffc107;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.sd-item .cruise-rating i {
    font-size: 10px;
}

.sd-item .cruise-schedule {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.sd-item .cruise-info .cruise-info-r {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sd-item .cruise-info .price {
    font-size: 16px;
    margin-top: 10px;
    color: #777;
    line-height: 1;
}

.sd-item .cruise-info .price i {
    font-style: normal;
    font-size: 24px;
    color: #ff5722;
    font-weight: 700;
}

.sd-item .book-btn {
    background: linear-gradient(to right, #ff6b35, #ff8e53);
    color: white;
    display: inline-block;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.25);
}

.sd-item .book-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(255, 107, 53, 0.25);
}

/* 景点信息 */
.sd-item .attractions {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 10px;
}

.sd-item .attractions-title {
    font-size: 14px;
    font-weight: 600;
    color: #0a3969;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    display: inline;
}

.sd-item .attractions-title i {
    color: #ff6b35;
}

.sd-item .attractions-list {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: inline;
}

.recommend-cruise{margin-top: 35px;}