.td-wrap { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.td-hero { border-bottom: 1px solid #e4e4e7; background: linear-gradient(#f4f4f5, #fafafa); padding: 56px 0 44px; text-align: center; }
.td-hero h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; color: #18181b; margin: 0 0 .6rem; line-height: 1.15; }
.td-hero h1 span { color: #d97706; }
.td-hero p { color: #52525b; max-width: 640px; margin: 0 auto; font-size: 1.02rem; }
.td-searchbox { position: relative; max-width: 640px; margin: 1.6rem auto 0; }
.td-searchbox svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #a1a1aa; pointer-events: none; }
.td-searchbox input { width: 100%; box-sizing: border-box; padding: 14px 16px 14px 46px; border: 1px solid #e4e4e7; border-radius: 16px; background: #fff; font-size: 15px; color: #18181b; box-shadow: 0 1px 3px rgba(0,0,0,.08); outline: none; }
.td-searchbox input:focus { border-color: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.15); }

.td-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 0 3rem; align-items: start; }
@media (max-width: 900px) { .td-layout { grid-template-columns: minmax(0, 1fr); } }

.td-filters { background: #fff; border: 1px solid #e4e4e7; border-radius: 16px; padding: 1.1rem; position: sticky; top: 80px; display: flex; flex-direction: column; gap: .95rem; }
@media (max-width: 900px) { .td-filters { position: static; } }
.td-filters h3 { margin: 0; font-size: .95rem; font-weight: 700; color: #18181b; display: flex; justify-content: space-between; align-items: center; }
.td-clear { border: 0; background: none; color: #d97706; font-size: .78rem; font-weight: 600; cursor: pointer; }
.td-field label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #71717a; margin-bottom: .3rem; }
.td-field select, .td-field input { width: 100%; box-sizing: border-box; border: 1px solid #e4e4e7; border-radius: 10px; padding: .5rem .65rem; font-size: .88rem; color: #3f3f46; background: #fff; outline: none; }
.td-field select:focus, .td-field input:focus { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
.td-range-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .55rem; }
.td-range-top label { margin: 0; }
.td-range-val { font-size: .85rem; font-weight: 700; color: #18181b; }
.td-range { position: relative; height: 22px; margin: 0 9px; }
.td-range-track, .td-range-fill { position: absolute; top: 9px; height: 4px; border-radius: 9999px; }
.td-range-track { left: -9px; right: -9px; background: #e4e4e7; }
.td-range-fill { background: #f59e0b; }
.td-range input[type=range] { position: absolute; left: -9px; width: calc(100% + 18px); top: 0; height: 22px; margin: 0; padding: 0; border: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; box-shadow: none; }
.td-range input[type=range]:focus { box-shadow: none; }
.td-range input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 22px; }
.td-range input[type=range]::-moz-range-track { background: transparent; height: 22px; }
.td-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 9999px; background: #fff; border: 2px solid #f59e0b; box-shadow: 0 1px 3px rgba(0,0,0,.25); cursor: grab; }
.td-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 9999px; background: #fff; border: 2px solid #f59e0b; box-shadow: 0 1px 3px rgba(0,0,0,.25); cursor: grab; }
.td-range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(245,158,11,.25); }
.td-range-ends { display: flex; justify-content: space-between; font-size: .72rem; color: #a1a1aa; margin-top: .15rem; }

.td-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.td-count { font-size: .9rem; color: #52525b; }
.td-count strong { color: #18181b; }
.td-sort { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: #52525b; }
.td-sort select { border: 1px solid #e4e4e7; border-radius: 10px; padding: .45rem .65rem; font-size: .85rem; background: #fff; color: #3f3f46; }

.td-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; transition: opacity .15s; }
.td-grid.is-loading { opacity: .55; }
.td-card { background: #fff; border: 1px solid #e4e4e7; border-radius: 16px; padding: 1.15rem; display: flex; flex-direction: column; gap: .8rem; transition: box-shadow .15s, border-color .15s; }
.td-card:hover { border-color: #fcd34d; box-shadow: 0 10px 24px -12px rgba(0,0,0,.18); }
.td-top { display: flex; gap: .85rem; align-items: center; }
.td-photo { width: 64px; height: 64px; border-radius: 9999px; flex: none; background: #fef3c7; color: #b45309; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.td-photo img { width: 100%; height: 100%; object-fit: cover; }
.td-name { font-size: 1.02rem; font-weight: 700; color: #18181b; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.td-verified { display: inline-flex; align-items: center; gap: .2rem; font-size: .68rem; font-weight: 700; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; padding: .08rem .45rem; border-radius: 9999px; }
.td-verified svg { width: 11px; height: 11px; }
.td-rating { font-size: .82rem; color: #52525b; margin-top: .15rem; }
.td-rating b { color: #d97706; }
.td-headline { font-size: .88rem; color: #52525b; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.td-subjects { display: flex; gap: .35rem; flex-wrap: wrap; }
.td-chip { font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 9999px; background: #f4f4f5; color: #3f3f46; }
.td-chip.is-more { background: #fef3c7; color: #92400e; }
.td-price-row { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed #e4e4e7; padding-top: .7rem; }
.td-price-row small { font-size: .75rem; color: #71717a; }
.td-price-row strong { font-size: 1.15rem; font-weight: 800; color: #18181b; }
.td-price-row strong span { font-size: .78rem; font-weight: 500; color: #71717a; }
.td-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.td-btn { text-align: center; text-decoration: none; font-size: .85rem; font-weight: 700; padding: .55rem .5rem; border-radius: 10px; transition: background .15s; }
.td-btn.primary { background: #f59e0b; color: #18181b; }
.td-btn.primary:hover { background: #fbbf24; }
.td-btn.ghost { border: 1px solid #d4d4d8; color: #3f3f46; background: #fff; }
.td-btn.ghost:hover { background: #f4f4f5; }

.td-empty { text-align: center; background: #fff; border: 1px dashed #d4d4d8; border-radius: 16px; padding: 3rem 1.5rem; color: #52525b; }
.td-empty h3 { margin: 0 0 .4rem; color: #18181b; }
.td-page { margin-top: 1.5rem; }
