:root { --dypl-orange: #c2410c; --dypl-black: #111; --dypl-cream: #faf8f3; --dypl-border: #e7e2d8; }
.dypl-wrap { margin: 0 auto; max-width: 1240px; padding: 56px 24px 80px; }
.dypl-archive-header { margin-bottom: 34px; }
.dypl-archive-header h1 { font-size: clamp(2.2rem, 5vw, 4.3rem); letter-spacing: -.04em; margin: 0 0 12px; }
.dypl-filter-bar { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin: 25px 0 35px; }
.dypl-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.dypl-filter a { border: 1px solid var(--dypl-border); border-radius: 999px; color: var(--dypl-black); padding: 9px 18px; text-decoration: none; }
.dypl-filter a.is-active, .dypl-filter a:hover { background: var(--dypl-black); color: #fff; }
.dypl-filter-count { font-size: .86em; opacity: .7; }
.dypl-filter a.is-active .dypl-filter-count { opacity: 1; }
.dypl-type-filter { margin: 0; }
.dypl-type-filter select { appearance: auto; background: #fff; border: 1px solid var(--dypl-border); border-radius: 999px; color: var(--dypl-black); font: inherit; min-width: 220px; padding: 10px 38px 10px 17px; }
.dypl-area-search { align-items: end; background: var(--dypl-cream); border: 1px solid var(--dypl-border); border-radius: 14px; display: flex; gap: 10px; margin: -10px 0 34px; max-width: 760px; padding: 16px; }
.dypl-area-search-field { flex: 1; position: relative; }
.dypl-area-search label { display: block; font-size: .84rem; font-weight: 650; margin: 0 0 6px; }
.dypl-area-search input { background: #fff; border: 1px solid var(--dypl-border); border-radius: 9px; box-sizing: border-box; color: var(--dypl-black); font: inherit; min-height: 46px; padding: 10px 13px; width: 100%; }
.dypl-area-search button { background: var(--dypl-black); border: 1px solid var(--dypl-black); border-radius: 9px; color: #fff; cursor: pointer; font: inherit; font-weight: 650; min-height: 46px; padding: 10px 20px; }
.dypl-area-clear { color: var(--dypl-orange); line-height: 46px; padding: 0 6px; text-decoration: none; }
.dypl-area-suggestions { background: #fff; border: 1px solid var(--dypl-border); border-radius: 9px; box-shadow: 0 12px 30px rgba(20, 20, 20, .14); left: 0; max-height: 300px; overflow-y: auto; padding: 5px; position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; }
.dypl-area-suggestion { background: #fff !important; border: 0 !important; border-radius: 6px !important; color: var(--dypl-black) !important; display: block; font: inherit !important; font-weight: 500 !important; min-height: 0 !important; padding: 10px 12px !important; text-align: left; width: 100%; }
.dypl-area-suggestion:hover, .dypl-area-suggestion:focus { background: var(--dypl-cream) !important; outline: none; }
.dypl-property-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dypl-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: auto; margin-right: auto; max-width: 960px; }
.dypl-latest-grid .dypl-card:only-child { grid-column: 1 / -1; justify-self: center; max-width: 380px; width: 100%; }
.dypl-latest-grid .dypl-card:last-child:nth-child(odd):not(:only-child) { grid-column: 1 / -1; justify-self: center; max-width: 468px; width: 100%; }
.dypl-card { background: #fff; border: 1px solid var(--dypl-border); border-radius: 14px; box-shadow: 0 7px 24px rgba(20, 20, 20, .04); overflow: hidden; position: relative; }
.dypl-card-image { aspect-ratio: 4 / 3; background: #eee; display: block; overflow: hidden; }
.dypl-card-image img { height: 100%; object-fit: cover; transition: transform .25s ease; width: 100%; }
.dypl-card:hover .dypl-card-image img { transform: scale(1.025); }
.dypl-badge { background: var(--dypl-orange); border-radius: 5px; color: #fff; font-size: .73rem; font-weight: 700; left: 14px; letter-spacing: .04em; padding: 6px 9px; position: absolute; text-transform: uppercase; top: 14px; z-index: 1; }
.dypl-badge-rent { background: var(--dypl-black); }
.dypl-badge-status { left: auto; right: 14px; }
.dypl-card-body { padding: 19px; }
.dypl-card h2, .dypl-card h3 { font-size: 1.16rem; line-height: 1.3; margin: 0 0 8px; }
.dypl-card h2 a, .dypl-card h3 a { color: var(--dypl-black); text-decoration: none; }
.dypl-price { color: var(--dypl-orange); font-size: 1.25rem; font-weight: 700; margin: 4px 0 8px; }
.dypl-location { color: #565656; margin: 0 0 13px; overflow-wrap: anywhere; }
.dypl-facts { display: flex; flex-wrap: wrap; gap: 13px; font-size: .9rem; margin: 12px 0; }
.dypl-view-link { color: var(--dypl-orange); display: inline-block; font-weight: 600; margin-top: 8px; text-decoration: none; }
.dypl-single { display: grid; gap: 42px; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); }
.dypl-gallery-hero { aspect-ratio: 4 / 3; background: #eee; border-radius: 14px; overflow: hidden; }
.dypl-gallery-hero img { height: 100%; object-fit: cover; width: 100%; }
.dypl-gallery-thumbs { display: grid; gap: 9px; grid-template-columns: repeat(5, 1fr); margin-top: 10px; }
.dypl-gallery-thumbs button { background: none; border: 2px solid transparent; border-radius: 7px; cursor: pointer; overflow: hidden; padding: 0; }
.dypl-gallery-thumbs button.is-active { border-color: var(--dypl-orange); }
.dypl-gallery-thumbs img { aspect-ratio: 4 / 3; display: block; height: 100%; object-fit: cover; width: 100%; }
.dypl-single-info h1 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.04em; line-height: 1.05; margin: 12px 0 13px; }
.dypl-single-info .dypl-price { font-size: 2rem; }
.dypl-single-facts { background: var(--dypl-cream); border: 1px solid var(--dypl-border); border-radius: 12px; display: grid; gap: 12px 20px; grid-template-columns: repeat(2, 1fr); margin: 24px 0; padding: 20px; }
.dypl-area-link { color: #565656; font-size: .94rem; margin: -3px 0 14px; }
.dypl-area-link a { color: var(--dypl-orange); font-weight: 600; text-decoration: none; }
.dypl-summary { line-height: 1.75; white-space: pre-line; }
.dypl-whatsapp { background: #16a34a; border-radius: 8px; color: #fff; display: block; font-weight: 700; margin-top: 28px; padding: 14px 18px; text-align: center; text-decoration: none; }
.dypl-agent { background: var(--dypl-cream); border-radius: 10px; margin-top: 16px; padding: 17px; }
.dypl-agent strong { display: block; }
.dypl-pagination { margin-top: 40px; }
@media (max-width: 900px) {
	.dypl-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dypl-single { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	.dypl-wrap { padding: 35px 18px 60px; }
	.dypl-property-grid { grid-template-columns: 1fr; }
	.dypl-latest-grid { grid-template-columns: 1fr; }
	.dypl-latest-grid .dypl-card:last-child:nth-child(odd):not(:only-child) { grid-column: auto; max-width: none; }
	.dypl-filter-bar { align-items: stretch; flex-direction: column; }
	.dypl-type-filter select { width: 100%; }
	.dypl-area-search { align-items: stretch; flex-direction: column; }
	.dypl-area-search button { width: 100%; }
	.dypl-area-clear { line-height: 1.4; text-align: center; }
	.dypl-single-facts { grid-template-columns: 1fr; }
	.dypl-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}
