
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.service-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-item-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}
.service-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.service-item:hover .service-item-img img {
    transform: scale(1.05);
}
.service-item-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}
.service-item-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}
.service-item:hover .service-item-img::after {
    opacity: 1;
}
.service-item:hover .service-item-badge {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.service-item-content {
    padding: 20px;
}
.service-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.service-item-name {
    font-size: 20px;
    color: #333 !important;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
    margin-bottom: 0;
}
.service-item-arrow {
    color: #c9a96e;
    font-size: 18px;
    flex-shrink: 0;
}
.service-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.service-item-divider {
    margin-top: 16px;
    border: none;
    border-top: 1px solid #eee;
}

/*----------------------------------*/
.product-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* ===== 左侧图片区域 ===== */
.product-gallery {
    flex-shrink: 0; width: 380px;
    text-align: center;
}

/* 缩略图滚动列表 */
.gallery-thumbs-wrapper {
    position: relative;
    margin-bottom: 15px;
}
.gallery-thumbs-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
}
.gallery-thumbs-list::-webkit-scrollbar { height: 5px; }
.gallery-thumbs-list::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.gallery-thumbs-list::-webkit-scrollbar-thumb { background: #bbb; border-radius: 3px; }
.thumb-item {
    flex-shrink: 0;
    width: 80px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.25s;
}
.thumb-item.active {
    border-color: #a50c06;
    box-shadow: 0 0 4px rgba(33,150,243,0.45);
}
.thumb-item:hover { border-color: #a50c06; opacity: 0.85; }

/* 导航箭头 */
.thumbs-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 30px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    user-select: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    border: none;
}
.thumbs-nav-btn:hover { opacity: 1; background: rgba(0,0,0,0.55); }
.thumbs-nav-prev { left: -8px; border-radius: 4px 0 0 4px; }
.thumbs-nav-next { right: -8px; border-radius: 0 4px 4px 0; }

.gallery-main-img-wrapper {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.gallery-main-img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 280px;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.gallery-main-img.fade-out { opacity: 0.4; }

/* ===== 右侧详情区域 ===== */
.product-detail {
    flex: 1;
    min-width: 0;
    background: #fafafa;
    border-radius: 6px;
    padding: 35px 40px;
}

.product-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.product-divider {
    border: none;
    border-bottom: 2px solid #333333;
    margin: 20px 0 22px;
}

.product-info-text {
    line-height: 2;
    color: #555;
    font-size: 14.5px;
    word-wrap: break-word;
}
.info-price { font-weight: normal; }

.meta-row { margin: 16px 0; font-size: 14px; color: #555; }
.meta-label { margin-right: 8px; }
.category-link { color: #333; text-decoration: none; }
.category-link:hover { text-decoration: underline; }

.contact-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 22px;
    font-size: 16px;
    color: #333;
    font-family: Impact;
    font-weight: bold;
}
.phone-number {
    color: #b71c1c;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}
.phone-number:hover {
    color: #b71c1c !important;
}

.btn-book {
    display: inline-block;
    padding: 11px 48px;
    background: #b71c1c;
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
    margin: 50px auto;
}
.btn-book:hover { background: #a31515;color: #fff; }

.product-detail-pagination {
    padding-top: 50px;
}
/*----------------------------------*/

/* ===== 预订弹窗 ===== */
.booking-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.booking-modal {
    background: #fff;
    border-radius: 10px;
    width: 460px;
    max-width: 92vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    animation: modalFadeIn 0.25s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
}
.booking-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}
.booking-modal-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.booking-modal-close:hover { color: #333; }
.booking-modal-body { padding: 20px 24px; }
.booking-form-row { margin-bottom: 16px; }
.booking-form-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}
.booking-form-row label .required { color: #e53935; }
.booking-form-row .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.booking-form-row .form-control:focus {
    border-color: #b71c1c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(183,28,28,0.12);
}
.booking-form-dual {
    display: flex;
    gap: 12px;
}
.booking-form-half { flex: 1; }
.booking-form-verify {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.booking-verify-input { flex: 1; }
.booking-verify-img { flex-shrink: 0; padding-top: 26px; }
.booking-modal-footer {
    padding: 16px 24px 24px;
}
.booking-btn-sub {
    display: inline-block;
    padding: 11px 48px;
    background: #b71c1c;
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}


@media (max-width:767px) {
    .product-gallery {
        width: 100%;
    }
    .product-container {
        display: block;
    }
    .btn-book {
        margin: 20px 0;
    }
    .product-detail {
        padding: 20px;
        margin-top: 15px;
    }
    .product-title {
        font-size: 18px;
    }
    .product-divider {
        margin: 10px 0;
    }
    .contact-line {
        margin: 10px 0 10px;
    }
    .phone-number {
        font-size: 18px;
    }
    .booking-verify-img .verify_img {
        width: 160px;
    }
    .booking-modal-header {
        padding: 10px 12px;
    }
    .booking-modal-header h3 {
        font-size: 16px;
    }
    .booking-modal-body {
        padding: 10px 12px;
    }
    .booking-form-row {
        margin-bottom: 8px;
    }
    .service-item-content {
        padding: 10px;
    }
    .service-item-name {
        font-size: 16px;
    }
    .service-item-img img {
        border-radius: 5px;
    }
}
