:root {
  --nckf-primary: #040C31;
  --nckf-primary-dark: #040C31;
  --nckf-primary-grey: #e2e7ec;
  --nckf-red: #CD2D43;
   --nckf-bc: #FAF6F0;
    --nckf-nn: #040C31;
  --nckf-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --nckf-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --nckf-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --nckf-radius: 12px;
  --nckf-spacing: 20px;
  --nckf-topbar-height: 80px;
}
/* ==========================================================================
   DRAWER V2.1 - Two Column Layout
   Add this to results-v2.css or create separate drawer-v2.css
   ========================================================================== */

/* Drawer Content Layout */
.nckf-listing-drawer-content {
  padding: 0;
  max-width: none;
  margin: 0;
}

/* Gallery stays full width */
.nckf-drawer-gallery {
  margin-bottom: 24px;
}

/* Two Column Container */
.nckf-drawer-columns{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
  gap: 40px;
    padding: 20px 20px;
}

/* ==========================================================================
   LEFT COLUMN
   ========================================================================== */

.nckf-drawer-left {
  min-width: 0; /* Allow text overflow handling */
}

/* Reference Number */
.nckf-drawer-ref {
  font-size: 13px;
  color: var(--nckf-nn);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Title */
.nckf-drawer-main-title {
  font-size: 28px;
  font-weight: 400;
  color:var(--nckf-nn);
  margin: 0 0 24px 0;
  line-height: 1.3;
}

/* Price Box */
.nckf-drawer-price-box {
 background: var(--nckf-red);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.nckf-drawer-price-large {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
}

.nckf-price-suffix {
  font-size: 0.42em;
  font-weight: 500;
  opacity: 0.85;
  margin-left: 0.35em;
  vertical-align: middle;
}
.nckf-drawer-price-toggle button {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
}

.nckf-drawer-price-toggle-suffix {
  font-size: 0.82em;
  font-weight: 500;
  opacity: 0.9;
  white-space: nowrap;
}
.nckf-drawer-price-toggle {
  display: inline-flex;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nckf-drawer-price-toggle button {
  padding: 6px 16px;
  background: transparent;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nckf-drawer-price-toggle button.active {
  background: var(--nckf-red);
  color: #fff;
}

/* Specs Grid */
.nckf-drawer-specs {
  display: grid;
  
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.nckf-drawer-spec-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.nckf-drawer-spec-item:last-child {
  border-bottom: none;
}

.nckf-drawer-spec-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.nckf-drawer-spec-value {
  font-size: 14px;
  color: #222;
  font-weight: 500;
}

/* Description */
.nckf-drawer-description-section {
  margin-bottom: 32px;
}

.nckf-drawer-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #eee;
}

.nckf-drawer-description-text {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  white-space: pre-wrap;
}

/* ==========================================================================
   RIGHT COLUMN - STICKY
   ========================================================================== */

.nckf-drawer-right {
  position: sticky;
  top: 20px;
  align-self: start;
}

/* Logo/Brand */
.nckf-drawer-brand {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  text-align: center;
}

.nckf-drawer-contact-header img {
  max-width: 180px;
  height: auto;
}

/* Contact Card */
.nckf-drawer-contact-card {
  background: #fff;
  border-radius: 12px;
  border:1px solid #eee;
  overflow: hidden;
  margin-bottom: 20px;
}

.nckf-drawer-contact-header {
  background: linear-gradient(135deg, #fff 0%, var(--nckf-bc) 100%);
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
  border: 1px solid #eee;
}

.nckf-drawer-contact-title {
  font-size: 14px;
  font-weight: 700;
  color: #666;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nckf-drawer-contact-body {
  padding: 20px;
}

/* Agent Info */
.nckf-drawer-agent {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.nckf-drawer-agent-photo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
}

.nckf-drawer-agent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nckf-drawer-agent-info {
  flex: 1;
  min-width: 0;
}

.nckf-drawer-agent-name {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0 0 4px 0;
}

.nckf-drawer-agent-agency {
  font-size: 13px;
  color: #666;
  margin: 0 0 4px 0;
}

.nckf-drawer-agent-title {
  font-size: 12px;
  color: #999;
  margin: 0;
}

/* Contact Buttons */
.nckf-drawer-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nckf-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  width: 100%;
}

.nckf-contact-btn-primary {
  background: var(--nckf-red);
  color: #fff;
}

.nckf-contact-btn-primary:hover {
  background: var(--nckf-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 138, 236, 0.3);
}

.nckf-contact-btn-secondary {
  background: #f8f9fa;
  color: #444;
  border: 1px solid #e0e0e0;
}

.nckf-contact-btn-secondary:hover {
  background: #e9ecef;
  border-color: #ccc;
}

.nckf-contact-btn svg {
  width: 18px;
  height: 18px;
}

/* Phone Reveal */
.nckf-phone-hidden {
  filter: blur(4px);
  user-select: none;
}

/* E-location Block */
.nckf-elocation-card {
  background: linear-gradient(135deg, #fff 0%, var(--nckf-bc) 100%);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}

.nckf-elocation-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0 0 8px 0;
}

.nckf-elocation-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px 0;
}

.nckf-elocation-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.nckf-elocation-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: #444;
}

.nckf-elocation-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--nckf-red);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.nckf-elocation-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nckf-elocation-actions a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--nckf-bc);
}

.nckf-elocation-btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.nckf-elocation-btn-primary {
  background: var(--nckf-red);
  color: #fff;
}

.nckf-elocation-btn-primary:hover {
  background: var(--nckf-primary-dark);
  color: #fff;
}

.nckf-elocation-btn-secondary {
  background: #fff;
  color: var(--nckf-red);
  border: 1px solid var(--nckf-red);
}

.nckf-elocation-btn-secondary:hover {
  background: #f8f9fa;
}

.nckf-elocation-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 16px 0;
}

.nckf-elocation-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--nckf-red);
  color: var(--nckf-bc) !important;
  border-radius: 8px;
  font-size: 13px;
  border:1px solid var(--nckf-red) !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nckf-elocation-download:hover {
    background: var(--nckf-bc);
    color: var(--nckf-nn) !important;
    border: 1px solid var(--nckf-nn) !important;
}

.nckf-elocation-download svg {
  width: 16px;
  height: 16px;
}

/* Estimation CTA */
.nckf-estimation-card {
  background: var(--nckf-red);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #fff;
}

.nckf-estimation-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.nckf-estimation-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #fff;
  color: #667eea;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nckf-estimation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==========================================================================
   MESSAGE MODAL
   ========================================================================== */

.nckf-message-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nckf-message-modal.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.nckf-message-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: slideUp 0.3s ease;
}

.nckf-message-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.nckf-message-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.nckf-message-modal-close {
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nckf-message-modal-close:hover {
  background: #e5e5e5;
}

.nckf-message-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nckf-message-form input,
.nckf-message-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.nckf-message-form input:focus,
.nckf-message-form textarea:focus {
  outline: none !important;
  border-color: var(--nckf-red) !important;
  box-shadow: 0 0 0 3px rgba(102, 138, 236, 0.03) !important;
}

.nckf-message-form textarea {
  resize: vertical;
  min-height: 120px;
}

.nckf-message-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.nckf-message-form-btn {
  flex: 1;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.nckf-message-form-btn.primary {
  background: var(--nckf-red);
  color: #fff;
}

.nckf-message-form-btn.primary:hover {
  background: var(--nckf-primary-dark);
}

.nckf-message-form-btn.secondary {
  background: #f5f5f5;
  color: #666;
}

.nckf-message-form-btn.secondary:hover {
  background: #e5e5e5;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .nckf-drawer-columns {
    grid-template-columns: 1fr 250px;
    gap: 30px;
    padding: 20px 20px;
  }
}

@media (max-width: 768px) {
  .nckf-drawer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 20px;
  }
  
  .nckf-drawer-right {
    position: relative;
    top: 0;
  }
  
  .nckf-drawer-main-title {
    font-size: 24px;
  }
  
  .nckf-drawer-price-large {
    font-size: 28px;
  }
  
  .nckf-drawer-spec-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


/* ==========================================================================
   MOBILE FILTERS - Additional Styles
   Add this to drawer-v2.css or results-v2.css
   ========================================================================== */

/* Mobile Filter Groups */
.nckf-mobile-filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.nckf-mobile-filter-group:last-child {
  border-bottom: none;
}

.nckf-mobile-filter-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 36px;
}

/* Mobile Multiselect */
.nckf-mobile-multiselect {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.nckf-mobile-multiselect-search {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  display: none;
}

.nckf-mobile-multiselect-search input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.nckf-mobile-multiselect-search input:focus {
  outline: none;
  border-color: var(--nckf-red);
  box-shadow: 0 0 0 3px rgba(102, 138, 236, 0.1);
}

.nckf-mobile-multiselect-options {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
}

.nckf-mobile-multiselect-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  background: #fff;
  margin-bottom: 4px;
}

.nckf-mobile-multiselect-option:hover {
  background: #e8f0fe;
}

.nckf-mobile-multiselect-option.selected {
  background: #e8f0fe;
  border: 1px solid var(--nckf-red);
}

.nckf-mobile-multiselect-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--nckf-red);
  flex-shrink: 0;
}

.nckf-mobile-multiselect-option-label {
  flex: 1;
  font-size: 14px;
  color: #333;
}

/* Mobile Filters Content Scrolling */
.nckf-mobile-filters-content {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(85vh - 140px);
}

.nckf-mobile-filters-content::-webkit-scrollbar {
  width: 6px;
}

.nckf-mobile-filters-content::-webkit-scrollbar-track {
  background: transparent;
}

.nckf-mobile-filters-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* Ensure mobile panel has proper z-index */
.nckf-mobile-filters-panel {
  z-index: 400;
}

/* Ensure mobile button is visible */
@media (max-width: 768px) {
  .nckf-mobile-filters-btn {
    display: flex !important;
  }
 
}