@charset "utf-8";
:root {
    --dt-primary: #008e3e;
    --dt-primary-light: #00a84d;
    --dt-primary-dark: #006b30;
    --dt-primary-bg: rgba(0, 142, 62, 0.06);
    --dt-primary-border: rgba(0, 142, 62, 0.15);
}
.fn-clear::after { content: ''; display: table; clear: both; }
body { background: #fff; }

/* ========== Page Inner ========== */
.dt-page-inner {
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ========== Banner ========== */
.dt-banner {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 32px 0 28px;
}
.dt-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}
.dt-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color .15s;
}
.dt-breadcrumb a:hover { color: var(--dt-primary); text-decoration: none; }
.dt-breadcrumb-sep {
    margin: 0 6px;
    color: #ccc;
}
.dt-banner h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    line-height: 1.3;
}
.dt-banner-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

/* ========== Search Bar ========== */
.dt-search-bar {
    display: flex;
    justify-content: center;
    padding: 24px;
}
.dt-search-input-wrap {
    position: relative;
    width: 50%;
    min-width: 300px;
}
.dt-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    z-index: 1;
}
.dt-search-input {
    width: 100%;
    height: 46px;
    padding: 0 110px 0 42px;
    border: 1px solid #d9d9d9;
    border-radius: 23px;
    font-size: 14px;
    color: #333;
    outline: none;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.dt-search-input::placeholder { color: #aaa; }
.dt-search-input:focus {
    border-color: var(--dt-primary);
    box-shadow: 0 0 0 2px var(--dt-primary-bg);
}
.dt-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    height: 38px;
    padding: 0 20px;
    border: none;
    border-radius: 19px;
    background: var(--dt-primary);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}
.dt-search-btn:hover {
    background: var(--dt-primary-dark);
}
.dt-search-btn svg {
    flex-shrink: 0;
}

/* ========== Section Header ========== */
.dt-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 16px;
}
.dt-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}
.dt-section-count {
    font-size: 13px;
    color: #999;
}
.dt-count-num {
    color: var(--dt-primary);
    font-weight: 600;
}

/* ========== Recommend Card Grid ========== */
.dt-recommend-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    padding: 0 24px 24px;
}
.dt-recommend-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 8px;
    overflow: hidden;
    color: #303033;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.dt-recommend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
    border-color: var(--dt-primary-border);
    text-decoration: none;
    color: #303033;
}
.dt-recommend-cover {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f2f3f5;
    flex-shrink: 0;
}
.dt-recommend-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s;
}
.dt-recommend-card:hover .dt-recommend-cover img {
    transform: scale(1.05);
}
.dt-recommend-info {
    flex: 1;
    min-width: 0;
    padding: 12px;
    box-sizing: border-box;
}
.dt-recommend-info h3 {
    font-weight: 600;
    font-size: 14px;
    color: #303033;
    line-height: 20px;
    margin: 0 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dt-recommend-card:hover h3 {
    color: var(--dt-primary);
}
.dt-recommend-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 20px;
    margin-bottom: 8px;
    overflow: hidden;
}
.dt-recommend-tags span {
    max-width: 100%;
    height: 20px;
    line-height: 20px;
    padding: 0 7px;
    border-radius: 5px;
    background: #f2f4f7;
    color: #475569;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.dt-recommend-location {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    color: #7a8599;
    font-size: 12px;
    line-height: 18px;
}
.dt-recommend-location svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dt-recommend-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dt-recommend-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #7a8599;
    font-size: 12px;
    line-height: 18px;
}
.dt-recommend-meta svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: #fbbf24;
    stroke: #f59e0b;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dt-recommend-meta strong {
    font-size: 13px;
    color: #303033;
    font-weight: 600;
}

/* ========== Empty State ========== */
.dt-recommend-empty {
    grid-column: 1 / -1;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #dde3ea;
    border-radius: 8px;
    background: #fafbfc;
    color: #8a93a3;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* ========== Category Tabs ========== */
.dt-category-tabs {
    display: flex;
    gap: 8px;
    padding: 20px 24px 24px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.dt-category-tabs::-webkit-scrollbar { display: none; }
.dt-category-tabs a {
    display: flex;
    align-items: center;
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
    border: 1px solid #E1E5EA;
    border-radius: 18px;
    background: #FFFFFF;
    color: #303033;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
}
.dt-category-tabs a:hover {
    border-color: var(--dt-primary-border);
    background: var(--dt-primary-bg);
    color: var(--dt-primary);
    text-decoration: none;
}
.dt-category-tabs a.active {
    border-color: var(--dt-primary);
    background: var(--dt-primary);
    color: #FFFFFF;
}

/* ========== Pagination ========== */
.pagination { margin-top: 20px; padding: 10px 0 30px; text-align: center; line-height: 32px; font-size: 14px; color: #666; }
.pagination li { display: inline-block; margin-right: 7px; background-color: #fff; }
.pagination li.page_current span { border: solid 1px var(--dt-primary); background: var(--dt-primary); color: #fff; }
.pagination li.page_disabled { display: none; }
.pagination li a,
.pagination li span { display: block; padding: 0 10px; color: #797a82; border: 1px solid #d9d9d9; border-radius: 3px; box-sizing: border-box; text-decoration: none; }
.pagination li a:hover,
.pagination li.page_current span { background: var(--dt-primary); border-color: var(--dt-primary); color: #fff; }
.pagination li.page_more span { background: #fff; color: #797a82; cursor: default; border-radius: 3px; }
.pagination .page_info { display: none; }

/* ========== Responsive ========== */
@media screen and (max-width: 1220px) {
    .dt-page-inner { padding-left: 16px; padding-right: 16px; }
    .dt-search-bar { padding-left: 16px; padding-right: 16px; }
    .dt-section-header { padding-left: 16px; padding-right: 16px; }
    .dt-recommend-grid { padding-left: 16px; padding-right: 16px; }
    .dt-category-tabs { padding-left: 16px; padding-right: 16px; }
}
@media screen and (max-width: 1200px) {
    .dt-recommend-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media screen and (max-width: 900px) {
    .dt-recommend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dt-banner { padding: 24px 0 20px; }
    .dt-banner h1 { font-size: 24px; }
    .dt-banner-desc { font-size: 13px; }
    .dt-search-input-wrap { width: 80%; }
    .dt-section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media screen and (max-width: 600px) {
    .dt-recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dt-banner h1 { font-size: 22px; }
    .dt-recommend-cover { height: 110px; }
    .dt-search-input-wrap { width: 100%; min-width: auto; }
    .dt-category-tabs { padding: 16px 16px 0; }
    .dt-category-tabs a { height: 32px; line-height: 32px; padding: 0 13px; font-size: 13px; }
}
