.flat-detail { padding: 50px 0 80px; }
@media (min-width: 1200px) {
  .flat-detail { padding: 110px 0 80px; }
}

.flat-detail-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid #f0e8df; }
.flat-detail-header h1 { font-size: 26px; font-weight: 700; color: #2C2416; margin: 0 0 12px 0; }
.flat-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.flat-status-badge { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.flat-status-badge.free { background: #e8f5e0; color: #3a7a1a; }
.flat-status-badge.reserved { background: #fff3cd; color: #856404; }
.flat-status-badge.sold { background: #f8d7da; color: #721c24; }

.flat-floor-note { color: #aaa; font-size: 14px; }
.flat-back-link { color: #c9a17e; font-size: 14px; font-weight: 600; margin-left: auto; text-decoration: none; }
.flat-back-link:hover { color: #2C2416; text-decoration: none; }
.flat-back-link i { margin-right: 4px; }

.flat-plan-col { text-align: center; }
.flat-plan-placeholder { background: #f7f2ec; border: 1px dashed rgba(201,161,126,0.5); border-radius: 8px; padding: 60px 20px; color: #c9a17e; font-size: 15px; }
.flat-plan-img { border-radius: 8px; border: 1px solid rgba(201,161,126,0.3); max-height: 630px; max-width: 100%; width: auto; display: block; margin: 0 auto; }

.flat-download-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #c9a17e; color: #c9a17e; border-radius: 6px; padding: 9px 20px; font-size: 14px; font-weight: 600; transition: all 0.2s; text-decoration: none; margin-top: 20px; }
.flat-download-btn:hover { background: #c9a17e; color: #fff; text-decoration: none; }

.flat-price-box { background: #2C2416; border-radius: 8px; padding: 28px 28px 24px; margin-bottom: 20px; }
.flat-price-value { font-size: 34px; font-weight: 700; color: #c9a17e; line-height: 1.1; }
.flat-price-note { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; margin-bottom: 0; }
.flat-price-hidden { font-size: 17px; color: rgba(255,255,255,0.6); margin: 0; }
.flat-inquiry-btn { display: block; text-align: center; margin-top: 18px; background: #c9a17e; color: #fff; border: none; border-radius: 6px; padding: 13px 24px; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; transition: background 0.2s; width: 100%; }
.flat-inquiry-btn:hover { background: #b8906d; color: #fff; text-decoration: none; }
.flat-inquiry-btn i { margin-right: 6px; }

.flat-stats { display: flex; border: 1px solid #f0e8df; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.flat-stat { flex: 1; text-align: center; padding: 16px 8px; border-right: 1px solid #f0e8df; }
.flat-stat:last-child { border-right: none; }
.flat-stat-value { font-size: 20px; font-weight: 700; color: #2C2416; }
.flat-stat-label { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; }

.flat-rooms { margin-bottom: 20px; }
.flat-rooms h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #c9a17e; margin: 0 0 10px 0; }
.flat-rooms-table { width: 100%; border-collapse: collapse; font-size: 14px; color: #555; }
.flat-rooms-table tr { border-bottom: 1px solid rgba(201,161,126,0.12); }
.flat-rooms-table td { padding: 6px 0; }
.flat-rooms-m2 { text-align: right; font-weight: 600; color: #2C2416; white-space: nowrap; }
.flat-rooms-total td { font-weight: 700; color: #2C2416; border-top: 1px solid rgba(201,161,126,0.4); border-bottom: none; padding-top: 8px; }

.flat-included { background: #f7f2ec; border-radius: 8px; padding: 18px 20px; margin-bottom: 20px; }
.flat-included h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #c9a17e; margin: 0 0 12px 0; }
.flat-included-item { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: #555; border-bottom: 1px solid rgba(201,161,126,0.15); }
.flat-included-item:last-child { border-bottom: none; }
.flat-included-item .included { color: #3a7a1a; font-weight: 600; }
.flat-included-item .extra { color: #c9a17e; font-weight: 600; }

.flat-seo { margin-top: 48px; padding-top: 28px; border-top: 1px solid #f0e8df; }
.flat-seo h2 { font-size: 20px; color: #2C2416; margin-bottom: 12px; }
.flat-seo p { font-size: 15px; color: #666; line-height: 1.7; margin-bottom: 10px; }

@media (max-width: 991px) {
  .flat-plan-col { margin-bottom: 28px; }
}
@media (max-width: 767px) {
  .flat-detail { padding: 28px 0 50px; }
  .flat-detail-header h1 { font-size: 20px; }
  .flat-stats { flex-wrap: wrap; }
  .flat-stat { flex: 1 1 25%; border-bottom: 1px solid #f0e8df; padding: 10px 4px; }
  .flat-stat-value { font-size: 14px; }
  .flat-stat-label { font-size: 9px; }
  .flat-price-value { font-size: 26px; }
  .flat-back-link { margin-left: 0; }
}
