@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);
    --dt-hero-from: #005a28;
    --dt-hero-to: #00a84d;
}
.fn-clear::after { content: ''; display: table; clear: both; }
body {
    background: #fff;
}

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

/* ========== Banner ========== */
.dt-banner {
    background: #fff;
    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;
    align-items: center;
    gap: 12px;
    padding: 0 24px 24px;
    flex-wrap: wrap;
}
.dt-search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 240px;
}
.dt-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}
.dt-search-input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 38px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    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-filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.dt-filter-toggle-btn:hover,
.dt-filter-toggle-btn.active {
    border-color: var(--dt-primary);
    color: var(--dt-primary);
}
.dt-publish-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 20px;
    background: var(--dt-primary);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.dt-publish-btn:hover {
    background: var(--dt-primary-dark);
    text-decoration: none;
    color: #fff;
}

/* ========== Category Grid ========== */
.dt-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 24px 24px 16px;
    overflow-x: auto;
}
.dt-cate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 14px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    color: #333;
}
.dt-cate-item:hover {
    background: #f5f7fa;
    text-decoration: none;
}
.dt-cate-item.active {
    background: var(--dt-primary-bg);
    border-color: var(--dt-primary);
}
.dt-cate-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}
.dt-cate-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.dt-cate-icon-shape {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    display: block;
}
.dt-cate-item:nth-child(2) .dt-cate-icon-box { background: #e8f5e9; } .dt-cate-item:nth-child(2) .dt-cate-icon-shape { background: #43a047; }
.dt-cate-item:nth-child(3) .dt-cate-icon-box { background: #fff3e0; } .dt-cate-item:nth-child(3) .dt-cate-icon-shape { background: #ef6c00; }
.dt-cate-item:nth-child(4) .dt-cate-icon-box { background: #e3f2fd; } .dt-cate-item:nth-child(4) .dt-cate-icon-shape { background: #1e88e5; }
.dt-cate-item:nth-child(5) .dt-cate-icon-box { background: #fce4ec; } .dt-cate-item:nth-child(5) .dt-cate-icon-shape { background: #e53935; }
.dt-cate-item:nth-child(6) .dt-cate-icon-box { background: #f3e5f5; } .dt-cate-item:nth-child(6) .dt-cate-icon-shape { background: #8e24aa; }
.dt-cate-item:nth-child(7) .dt-cate-icon-box { background: #e0f7fa; } .dt-cate-item:nth-child(7) .dt-cate-icon-shape { background: #00acc1; }
.dt-cate-item:nth-child(8) .dt-cate-icon-box { background: #fff8e1; } .dt-cate-item:nth-child(8) .dt-cate-icon-shape { background: #f9a825; }
.dt-cate-item:nth-child(9) .dt-cate-icon-box { background: #fbe9e7; } .dt-cate-item:nth-child(9) .dt-cate-icon-shape { background: #795548; }
.dt-cate-item:nth-child(n+10) .dt-cate-icon-box { background: #e8f5e9; } .dt-cate-item:nth-child(n+10) .dt-cate-icon-shape { background: #43a047; }
.dt-categories .dt-cate-all .dt-cate-icon-box { background: #eef2f7; }
.dt-categories .dt-cate-all .dt-cate-icon-shape {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background:
        linear-gradient(#64748b, #64748b) left top/11px 11px no-repeat,
        linear-gradient(#64748b, #64748b) right top/11px 11px no-repeat,
        linear-gradient(#64748b, #64748b) left bottom/11px 11px no-repeat,
        linear-gradient(#64748b, #64748b) right bottom/11px 11px no-repeat;
}
.dt-cate-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.dt-cate-count {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* ========== Filter Panel ========== */
.dt-filter-panel {
    display: none;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0;
}
.dt-filter-panel.show {
    display: block;
}
.dt-filter-inner {
    padding: 20px 0;
}
.dt-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.dt-filter-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.dt-filter-clear {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}
.dt-filter-clear:hover { color: var(--dt-primary); text-decoration: none; }

/* Filter rows in panel */
.dt-filter-inner dl {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 0;
    margin: 0;
}
.dt-filter-inner dl:last-child { border-bottom: none; }
.dt-filter-inner dt {
    width: 84px;
    flex-shrink: 0;
    font-size: 14px;
    color: #666;
    line-height: 26px;
    text-align: center;
    padding-top: 2px;
}
.dt-filter-inner dd {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.dt-filter-inner dd a {
    display: inline-block;
    float: left;
    padding: 0 10px;
    height: 26px;
    line-height: 26px;
    font-size: 13px;
    color: #787878;
    margin: 0 12px 8px 0;
    text-decoration: none;
    border-radius: 3px;
    transition: all .15s;
}
.dt-filter-inner dd a:hover {
    color: #fff;
    background: var(--dt-primary);
    text-decoration: none;
}
.dt-filter-inner dd a.curr {
    color: #fff;
    background: var(--dt-primary);
}
.dt-filter-inner .subnav {
    clear: both;
    padding: 10px 0 0;
    margin: 8px 0 0;
    border-top: 1px solid #f0f0f0;
    border: 1px solid var(--dt-primary-border);
    border-radius: 4px;
    padding: 8px 10px;
    margin: 4px 0 8px;
}
.dt-filter-inner .subnav a {
    margin-bottom: 4px;
}
.dt-filter-inner .otherList {
    position: relative;
    padding-right: 0;
}
.dt-filter-inner .otherList.overheight {
    max-height: 72px;
}
.dt-filter-inner .otherList.overheight .showMore { display: block; }
.dt-filter-inner .showMore {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 13px;
    color: #999;
    cursor: pointer;
    display: none;
    background: #fff;
    padding: 0 6px;
}
.dt-filter-inner .showMore s {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: url(../images/arr_down.png) no-repeat center/cover;
    margin-left: 4px;
    vertical-align: middle;
    text-decoration: none;
}

/* Active filter tags */
.dt-filter-active {
    display: none;
    align-items: flex-start;
    padding-top: 12px;
    margin-top: 4px;
}
.dt-filter-active.has-tags {
    display: flex;
}
.dt-filter-active-label {
    font-size: 14px;
    color: #666;
    line-height: 28px;
    width: 84px;
    flex-shrink: 0;
    text-align: center;
}
.dt-filter-active-tags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dt-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px 0 10px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    background: var(--dt-primary-bg);
    color: var(--dt-primary);
    border-radius: 3px;
    text-decoration: none;
    border: 1px solid var(--dt-primary-border);
}
.dt-active-tag:hover { text-decoration: none; opacity: 0.8; }
.dt-active-tag i {
    font-style: normal;
    font-size: 16px;
    cursor: pointer;
}

/* ========== Main Content ========== */
.dt-main-content {
    padding: 30px 0 60px;
}

/* ========== Section Header ========== */
.dt-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}
.dt-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
}
.dt-sort-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dt-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
}
.dt-sort-btn:hover {
    border-color: var(--dt-primary);
    color: var(--dt-primary);
    text-decoration: none;
}
.dt-sort-btn.active {
    border-color: var(--dt-primary);
    color: var(--dt-primary);
    background: var(--dt-primary-bg);
}

/* ========== Listing Cards ========== */
.dt-listings {
    margin-bottom: 20px;
}
.dt-listing-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all .2s;
    margin-bottom: 16px;
    position: relative;
}
.dt-listing-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--dt-primary-border);
}
.dt-listing-card:hover .dt-listing-title a { color: var(--dt-primary); }
.dt-listing-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dt-listing-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.dt-listing-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin: 0;
    line-height: 1.4;
}
.dt-listing-title a {
    color: #111;
    text-decoration: none;
    transition: color .15s;
}
.dt-listing-title a:hover { text-decoration: none; }
.dt-listing-badges {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.dt-badge {
    display: inline-block;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 2px;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
    flex-shrink: 0;
}
.dt-badge-red { background: #ff6000; color: #fff; }
.dt-badge-top { background: #ff6000; color: #fff; border-radius: 2px; min-width: 18px; text-align: center; font-size: 12px; }
.dt-badge-rec { background: #24c789; color: #fff; border-radius: 2px; min-width: 18px; text-align: center; font-size: 12px; }
.dt-listing-company {
    font-size: 13px;
    color: #999;
    margin: 0;
}
.dt-listing-meta {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    font-size: 13px;
    color: #999;
}
.dt-listing-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.dt-listing-meta span + span {
    padding-left: 12px;
    margin-left: 12px;
    border-left: 1px solid #e5e7eb;
}
.dt-listing-price {
    color: var(--dt-primary) !important;
    font-weight: 600;
    font-size: 15px;
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.dt-listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.dt-listing-tag {
    display: inline-block;
    font-size: 12px;
    color: #666;
    padding: 2px 10px;
    background: #f5f7fa;
    border-radius: 4px;
    line-height: 1.4;
}
.dt-listing-img {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.dt-listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dt-listing-card:hover .dt-listing-img img { transform: scale(1.05); }

/* Card actions */
.dt-listing-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
}
.dt-btn-contact {
    display: flex;
    width: 100px;
    height: 34px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--dt-primary);
    border: 1px solid var(--dt-primary);
    border-radius: 4px;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
    white-space: nowrap;
}
.dt-btn-contact:hover {
    background: var(--dt-primary);
    color: #fff;
    text-decoration: none;
}
.dt-btn-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100px;
    height: 34px;
    font-size: 13px;
    color: #fff;
    background: var(--dt-primary);
    border-radius: 4px;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap;
}
.dt-btn-phone:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.dt-btn-phone s {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../images/phone_icon.png) no-repeat center/cover;
    vertical-align: middle;
}

/* Empty state */
.dt-list-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    border: none;
    list-style: none;
}
.dt-list-empty img {
    width: 200px;
    max-width: 100%;
    margin-bottom: 16px;
}
.dt-list-empty span {
    font-size: 14px;
    color: #999;
}

/* ========== 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; }

/* ========== Content Layout ========== */
.dt-content-wrap {
    display: flex;
    gap: 24px;
}
.dt-content-left {
    flex: 1;
    min-width: 0;
}
.dt-content-right {
    width: 280px;
    flex-shrink: 0;
}

/* ========== Sidebar ========== */
.dt-sidebar-section {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.dt-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* ========== Merchant List ========== */
.dt-merchant-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dt-merchant-item {
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}
.dt-merchant-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.dt-merchant-info {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}
.dt-merchant-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}
.dt-merchant-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dt-merchant-detail {
    flex: 1;
    min-width: 0;
}
.dt-merchant-detail h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dt-merchant-detail h4 a {
    color: #111;
    text-decoration: none;
    transition: color .15s;
}
.dt-merchant-detail h4 a:hover {
    color: var(--dt-primary);
}
.dt-merchant-addr {
    font-size: 12px;
    color: #999;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dt-merchant-link {
    display: block;
    text-decoration: none;
    transition: all .15s;
}
.dt-merchant-link:hover {
    text-decoration: none;
}
.dt-merchant-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--dt-primary);
    background: var(--dt-primary-bg);
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 6px;
}
.dt-merchant-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dt-merchant-link:hover .dt-merchant-desc {
    color: var(--dt-primary);
}

/* ========== Responsive ========== */
@media screen and (max-width: 1220px) {
    .dt-page-inner { padding-left: 16px; padding-right: 16px; }
}
@media screen and (max-width: 1200px) {
    .dt-content-wrap {
        flex-direction: column;
    }
    .dt-content-right {
        width: 100%;
    }
    .dt-merchant-list {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    .dt-merchant-item {
        flex: 1;
        min-width: 200px;
        padding: 12px;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
    }
}
@media screen and (max-width: 900px) {
    .dt-banner { padding: 24px 0 20px; }
    .dt-banner h1 { font-size: 24px; }
    .dt-banner-desc { font-size: 13px; }
    .dt-search-bar { flex-direction: column; }
    .dt-search-input-wrap { width: 100%; }
    .dt-filter-toggle-btn,
    .dt-publish-btn { width: 100%; justify-content: center; }
    .dt-listing-card { flex-direction: column; }
    .dt-listing-img { width: 100%; height: 180px; }
    .dt-listing-actions { flex-direction: row; width: 100%; }
    .dt-listing-actions a { flex: 1; }
    .dt-section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media screen and (max-width: 600px) {
    .dt-banner h1 { font-size: 22px; }
    .dt-listing-meta { gap: 0; }
    .dt-listing-meta span + span { padding-left: 8px; margin-left: 8px; }
    .dt-merchant-item {
        min-width: 100%;
    }
}
