/**
 * 陵园筛选页面样式
 */

/* 筛选区域样式 */
.filter-section {
    padding: 20px 0;   
}

.filter-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.filter-label {
    width: 80px;
    color: #666;
    font-size: 14px;
    text-align: right;
    margin-top: 6px;
}

.filter-options {
    flex: 1;
    margin-left: 15px;
}

.filter-options .option {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-options .option:hover {
    border-color: #ff6800;
    color: #ff6800;
}

.filter-options .option.active {
    background-color: #fff5f0;
    border-color: #ff6800;
    color: #ff6800;
}

/* 筛选操作区域 */
.filter-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.selected-filters .title {
    color: #666;
    margin-right: 10px;
}

.selected-tag {
    display: inline-block;
    background-color: #fff5f0;
    padding: 5px 10px;
    margin-right: 10px;
    color: #ff6800;
    border-radius: 3px;
    position: relative;
}

.selected-tag i {
    margin-left: 5px;
    cursor: pointer;
}

.clear-all {
    color: #ff6800;
    margin-left: 10px;
}

.sort-options {
    display: flex;
    align-items: center;
}

.sort-title {
    color: #666;
    margin-right: 10px;
}

.sort-option {
    margin-right: 15px;
    color: #666;
    position: relative;
}

.sort-option.active {
    color: #ff6800;
}

.sort-option.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6800;
}

/* 陵园列表样式 */
.cemetery-list {
    padding: 20px 0;
}

.list-content {
    width: 100%;
}

.cemetery-item {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    transition: all 0.3s;
}

.cemetery-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.item-main {
    display: flex;
    flex-wrap: wrap;   
}

.item-image {
    width: 200px;
    height: 140px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 5px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.cemetery-item:hover .item-image img {
    transform: scale(1.05);
}

.item-info {
    flex: 1;
}

.item-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.item-title a {
    color: #333;
    transition: color 0.3s;
}

.item-title a:hover {
    color: #ff6800;
}

.item-stats {
    margin-bottom: 10px;
    font-size: 14px;
    color: #999;
}

.stat-item {
    margin-right: 15px;
}

.item-features {
    margin-bottom: 10px;
}

.feature-tag {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 8px;
    background-color: #f5f5f5;
    color: #666;
    font-size: 12px;
    border-radius: 3px;
}

.item-desc {
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-price {
    width: 150px;
    text-align: center;
}

.price-info {
    margin-bottom: 15px;
}

.price-label {
    color: #999;
    font-size: 14px;
}

.price-value {
    color: #ff6800;
    font-size: 20px;
    font-weight: 600;
    margin-left: 5px;
}

.view-detail {
    display: inline-block;
    padding: 8px 25px;
    background-color: #ff6800;
    color: #fff;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.view-detail:hover {
    background-color: #e55c00;
}

/* 分页样式 */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 20px 0;
}

.page-item,
.page-prev,
.page-next {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #e6e6e6;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.page-item:hover,
.page-prev:hover,
.page-next:hover {
    border-color: #ff6800;
    color: #ff6800;
}

.page-item.active {
    background-color: #ff6800;
    border-color: #ff6800;
    color: #fff;
}

.page-ellipsis {
    margin: 0 5px;
    color: #999;
}

.page-jump {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.page-input {
    width: 50px;
    height: 36px;
    margin: 0 5px;
    padding: 0 10px;
    border: 1px solid #e6e6e6;
    text-align: center;
}

.page-go {
    padding: 8px 15px;
    margin-left: 10px;
    background-color: #ff6800;
    color: #fff;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.page-go:hover {
    background-color: #e55c00;
}

@media screen and (max-width: 992px) {
   .filter-section{padding: 10px;}
   .filter-options .option{margin-right: 10px;}

   .cemetery-list{padding: 20px 10px;}
   .cemetery-item{padding: 10px;}
   .item-image{margin-right: 10px;}
   .item-desc{display: none;}
}