/**
 * Real Estate Property Manager - Single Property Stylesheet
 * 65% / 35% Desktop Layout, Mobile Reordering, Fullscreen Lightbox, & Editorial Luxury UI
 * Matching Reference Screenshot media_1792318080307.png
 */

:root {
  /* Surfaces & Canvas */
  --gpm-bg-cream: #FAF7F2;
  --gpm-card-bg: #FFFFFF;
  --gpm-input-bg: #F5F2EB;
  
  /* Borders */
  --gpm-border: #ECE7DE;
  --gpm-border-light: #F0EDE8;
  --gpm-input-border: #ECE7DE;
  
  /* Text Colors */
  --gpm-text-primary: #111111;
  --gpm-text-secondary: #555555;
  --gpm-text-muted: #888888;
  
  /* Buttons & Accents */
  --gpm-cta-black: #111111;
  --gpm-cta-black-hover: #262626;
  --gpm-cta-hover: #262626;
  --gpm-accent-gold: #D97706;
  --gpm-accent-gold-light: #FCF8F0;
  --gpm-verified-gold: #F3C969;
  --gpm-whatsapp-green: #25D366;
  --gpm-whatsapp-hover: #1EBE5D;
  
  /* Radii */
  --gpm-radius-sm: 6px;
  --gpm-radius-md: 10px;
  --gpm-radius-lg: 14px;
  --gpm-radius-full: 9999px;
  
  /* Shadows */
  --gpm-shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
  --gpm-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --gpm-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.09);
  
  /* Fonts */
  --gpm-font-serif: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  --gpm-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gpm-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

body.single-property {
  background-color: var(--gpm-bg-cream) !important;
  color: var(--gpm-text-primary);
  margin: 0;
  padding: 0;
}

.gpm-property-page-wrap {
  background-color: var(--gpm-bg-cream);
  min-height: 100vh;
  width: 100%;
}

.gpm-property-page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 24px 90px;
  font-family: var(--gpm-font-sans);
  color: var(--gpm-text-primary);
  box-sizing: border-box;
}

.gpm-property-page * {
  box-sizing: border-box;
}

/* ==========================================================================
   1. TOP NAVIGATION: ← All properties
   ========================================================================== */
.gpm-top-nav {
  margin-bottom: 22px;
}

.gpm-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gpm-text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--gpm-transition);
}

.gpm-back-link:hover {
  color: var(--gpm-text-primary);
  transform: translateX(-3px);
}

.gpm-back-arrow {
  font-size: 1.15rem;
  line-height: 1;
}

/* ==========================================================================
   2. MAIN 2-COLUMN LAYOUT (Desktop: 63% Left, 37% Right)
   ========================================================================== */
.gpm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1.2fr);
  grid-template-areas:
    "gallery sidebar"
    "info    sidebar";
  gap: 28px 42px;
  align-items: start;
}

.gpm-gallery-area {
  grid-area: gallery;
  min-width: 0;
}

.gpm-sidebar-area {
  grid-area: sidebar;
  min-width: 0;
}

.gpm-info-area {
  grid-area: info;
  min-width: 0;
}

/* ==========================================================================
   3. GALLERY SECTION (Hero Showcase & 5-Column Thumbnail Grid)
   ========================================================================== */
.gpm-hero-gallery {
  margin-bottom: 0;
}

.gpm-main-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--gpm-radius-md);
  overflow: hidden;
  background: #EAE6DE;
  box-shadow: var(--gpm-shadow-md);
}

.gpm-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.gpm-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.gpm-hero-placeholder .dashicons {
  font-size: 64px;
  width: 64px;
  height: 64px;
}

.gpm-btn-zoom-image {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: rgba(17, 17, 17, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 15 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.gpm-btn-zoom-image:hover {
  background: rgba(17, 17, 17, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: scale(1.08) !important;
}

.gpm-btn-zoom-image:active {
  transform: scale(0.96) !important;
}

.gpm-btn-zoom-image svg,
.gpm-zoom-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
  stroke: #FFFFFF !important;
  stroke-width: 2.2 !important;
  fill: none !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 5-Column Thumbnail Grid Matching Reference Screenshot */
.gpm-thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.gpm-thumb-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #EAE6DE;
  cursor: pointer;
  opacity: 0.9;
  transition: var(--gpm-transition);
}

.gpm-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gpm-thumb-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.gpm-thumb-item.active {
  border-color: var(--gpm-cta-black);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   4. CONTACT SIDEBAR (Sticky on Desktop - Two Separate Cards)
   ========================================================================== */
.gpm-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
}

/* Base Card Styling */
.gpm-sidebar-card {
  background: var(--gpm-card-bg);
  border: 1px solid var(--gpm-border);
  border-radius: var(--gpm-radius-lg);
  padding: 28px 26px;
  box-shadow: var(--gpm-shadow-sm);
  margin-bottom: 22px;
}

.gpm-contact-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 8px;
}

.gpm-contact-subtitle {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--gpm-text-secondary);
  margin: 0 0 20px;
}

/* Pill Button Helpers */
.gpm-btn-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border-radius: var(--gpm-radius-full);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--gpm-transition);
  text-align: center;
}

.gpm-btn-black {
  background: var(--gpm-cta-black);
  color: #FFFFFF !important;
  border: 1px solid var(--gpm-cta-black);
  padding: 13px 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gpm-btn-black:hover {
  background: var(--gpm-cta-hover);
  border-color: var(--gpm-cta-hover);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gpm-booking-helper-text {
  font-size: 0.78rem;
  color: #888888;
  text-align: center;
  margin: 10px 0 16px;
}

/* Phone Buttons (Multiple Numbers Support) */
.gpm-phone-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 10px;
}

.gpm-btn-phone {
  background: #FFFFFF;
  border: 1px solid #E2DDD5;
  color: var(--gpm-text-primary);
  padding: 11px 18px;
}

.gpm-btn-phone:hover {
  border-color: var(--gpm-cta-black);
  background: #FAF8F5;
  color: var(--gpm-text-primary);
}

.gpm-btn-phone svg {
  color: var(--gpm-text-secondary);
}

/* WhatsApp Button */
.gpm-btn-whatsapp {
  background: var(--gpm-whatsapp-green);
  color: #FFFFFF !important;
  border: 1px solid var(--gpm-whatsapp-green);
  padding: 12px 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.gpm-btn-whatsapp:hover {
  background: var(--gpm-whatsapp-hover);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* Share Row */
.gpm-share-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gpm-btn-share-main {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #E2DDD5;
  color: var(--gpm-text-primary);
  padding: 10px 16px;
}

.gpm-btn-share-main:hover {
  border-color: var(--gpm-cta-black);
  background: #FAF8F5;
}

.gpm-btn-share-copy {
  width: 42px;
  height: 42px;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid #E2DDD5;
  border-radius: var(--gpm-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gpm-text-primary);
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--gpm-transition);
}

.gpm-btn-share-copy:hover {
  border-color: var(--gpm-cta-black);
  background: #FAF8F5;
}

.gpm-btn-share-copy.gpm-btn-copied {
  background: var(--gpm-cta-black);
  border-color: var(--gpm-cta-black);
  color: #FFFFFF;
}

/* Property Card Share Button (when card is rendered on detail or shortcode pages) */
.gpm-card .gpm-btn-share,
.gpm-card-btn-share,
.gpm-card-media .gpm-btn-share {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: var(--gpm-radius-full, 9999px) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--gpm-text-primary, #111111) !important;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  box-sizing: border-box !important;
  line-height: 1 !important;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.gpm-card .gpm-btn-share:hover,
.gpm-card-btn-share:hover,
.gpm-card-media .gpm-btn-share:hover {
  background: #FFFFFF !important;
  color: #111111 !important;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.gpm-card .gpm-btn-share svg,
.gpm-card-btn-share svg,
.gpm-card-media .gpm-btn-share svg,
.gpm-btn-share .gpm-share-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: block !important;
  stroke: #111111 !important;
  stroke-width: 2 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  flex-shrink: 0 !important;
  pointer-events: none;
  box-sizing: content-box;
}

.gpm-card .gpm-btn-share svg line,
.gpm-card-btn-share svg line,
.gpm-card-media .gpm-btn-share svg line,
.gpm-btn-share .gpm-share-icon line {
  stroke: #111111 !important;
  stroke-width: 2 !important;
  fill: none !important;
}

.gpm-card .gpm-btn-share svg circle,
.gpm-card-btn-share svg circle,
.gpm-card-media .gpm-btn-share svg circle,
.gpm-btn-share .gpm-share-icon circle {
  stroke: #111111 !important;
  stroke-width: 2 !important;
  fill: none !important;
}

/* Card 2: Request a Callback Form */
.gpm-callback-card .gpm-enquiry-title {
  font-family: var(--gpm-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--gpm-text-primary);
}

.gpm-callback-card .gpm-enquiry-subtitle {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--gpm-text-secondary);
  margin: 0 0 20px;
}

.gpm-form-row.gpm-form-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gpm-enquiry-form .gpm-form-group {
  margin-bottom: 14px;
}

.gpm-enquiry-form label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 6px;
}

.gpm-enquiry-form input[type="text"],
.gpm-enquiry-form input[type="tel"],
.gpm-enquiry-form input[type="email"],
.gpm-enquiry-form textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--gpm-font-sans);
  font-size: 0.92rem;
  color: var(--gpm-text-primary);
  background: #F5F2EB;
  border: 1px solid #ECE7DE;
  border-radius: var(--gpm-radius-sm);
  outline: none;
  transition: var(--gpm-transition);
}

.gpm-enquiry-form input:focus,
.gpm-enquiry-form textarea:focus {
  border-color: var(--gpm-cta-black);
  background: #FAF8F3;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.06);
}

.gpm-enquiry-form textarea {
  resize: vertical;
  min-height: 80px;
}

.gpm-btn-submit-enquiry {
  margin-top: 6px;
}

/* Alerts & Spinners */
.gpm-alert {
  padding: 11px 14px;
  border-radius: var(--gpm-radius-sm);
  font-size: 0.86rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.gpm-alert-success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.gpm-alert-error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

.gpm-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: gpm-spin 0.8s linear infinite;
  margin-left: 6px;
  vertical-align: middle;
}

@keyframes gpm-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   5. PROPERTY INFORMATION (Badges, Title, Price, Cards, Description, Building)
   ========================================================================== */
.gpm-detail-body {
  padding-top: 14px;
}

/* Badges Row */
.gpm-detail-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.gpm-badge-capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--gpm-radius-full);
}

.gpm-badge-outline {
  background: transparent;
  color: var(--gpm-text-primary);
  border: 1px solid #D6D2CA;
}

.gpm-badge-gold {
  background: var(--gpm-accent-gold-light);
  color: #8C6A1E;
  border: 1px solid rgba(197, 160, 89, 0.35);
}

/* Large Property Title (Playfair Display) */
.gpm-detail-title {
  font-family: var(--gpm-font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--gpm-text-primary);
  margin: 0 0 10px;
}

/* Location Pin */
.gpm-detail-header-meta {
  margin-bottom: 18px;
}

.gpm-location-pin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  color: var(--gpm-text-secondary);
}

.gpm-location-pin .gpm-spec-icon {
  color: #6B7280;
  flex-shrink: 0;
}

/* Price */
.gpm-detail-price-wrap {
  margin-bottom: 28px;
}

.gpm-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gpm-text-primary);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

.gpm-rupee-icon {
  display: inline-block;
  vertical-align: -0.08em;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  width: 0.72em;
  height: 0.85em;
  margin-right: 3px;
  flex-shrink: 0;
}

/* Info Cards Grid (3 Columns on Desktop with Amber Gold Icons) */
.gpm-info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.gpm-info-card {
  background: var(--gpm-card-bg);
  border: 1px solid var(--gpm-border);
  border-radius: var(--gpm-radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gpm-info-icon-wrap {
  margin-bottom: 4px;
}

.gpm-icon-gold {
  color: var(--gpm-accent-gold);
}

.gpm-info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777777;
}

.gpm-info-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gpm-text-primary);
}

/* Section Blocks */
.gpm-section-block {
  margin-bottom: 36px;
}

.gpm-section-heading {
  font-family: var(--gpm-font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gpm-text-primary);
  margin: 0 0 16px;
}

.gpm-description-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
}

.gpm-description-content p {
  margin: 0 0 16px;
}

/* Building Section (Key-Value Specs List) */
.gpm-section-building {
  margin-top: 36px;
}

.gpm-building-specs-list {
  margin-top: 10px;
}

.gpm-building-spec-row {
  display: flex;
  gap: 80px;
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gpm-border-light);
}

.gpm-building-spec-row:last-child {
  border-bottom: none;
}

.gpm-building-spec-label {
  color: #444444;
  min-width: 140px;
}

.gpm-building-spec-val {
  font-weight: 600;
  color: var(--gpm-text-primary);
}

/* Amenities Badges */
.gpm-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gpm-amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gpm-card-bg);
  border: 1px solid var(--gpm-border);
  padding: 8px 16px;
  border-radius: var(--gpm-radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gpm-text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gpm-amenity-pill svg {
  color: #2E7D32;
}

/* Location Advantages List */
.gpm-location-adv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.gpm-location-adv-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gpm-card-bg);
  border: 1px solid var(--gpm-border);
  border-radius: var(--gpm-radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--gpm-text-primary);
}

.gpm-location-adv-list li svg {
  color: var(--gpm-accent-gold);
  flex-shrink: 0;
}

/* Specifications & Terms Boxes */
.gpm-specifications-box,
.gpm-terms-box {
  background: var(--gpm-card-bg);
  border: 1px solid var(--gpm-border);
  border-radius: var(--gpm-radius-sm);
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333333;
}

/* ==========================================================================
   6. FULLSCREEN IMAGE LIGHTBOX MODAL
   ========================================================================== */
.gpm-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(11, 14, 17, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gpm-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gpm-lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.gpm-lightbox-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.gpm-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--gpm-transition);
}

.gpm-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

.gpm-lightbox-prev,
.gpm-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gpm-transition);
}

.gpm-lightbox-prev {
  left: 30px;
}

.gpm-lightbox-next {
  right: 30px;
}

.gpm-lightbox-prev:hover,
.gpm-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

/* ==========================================================================
   7. RESPONSIVE DESIGN (320px, 375px, 430px, 768px, 1024px, 1440px)
   ========================================================================== */
@media (max-width: 1024px) {
  .gpm-detail-grid {
    gap: 28px 32px;
    grid-template-columns: minmax(0, 1.6fr) minmax(310px, 1.2fr);
  }

  .gpm-info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE VIEW: Stack Vertically in order:
   1. Gallery
   2. Contact Card
   3. Property Information
*/
@media (max-width: 960px) {
  .gpm-property-page {
    padding: 20px 16px 60px;
  }

  .gpm-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .gpm-gallery-area {
    order: 1;
    width: 100%;
  }

  .gpm-sidebar-area {
    order: 2;
    width: 100%;
  }

  .gpm-info-area {
    order: 3;
    width: 100%;
  }

  /* Disable sticky on mobile */
  .gpm-sticky-sidebar {
    position: static;
    top: auto;
  }

  .gpm-detail-body {
    padding-top: 0;
  }

  .gpm-detail-title {
    font-size: 1.85rem;
  }

  .gpm-info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gpm-building-spec-row {
    gap: 40px;
  }

  .gpm-lightbox-prev {
    left: 12px;
    width: 42px;
    height: 42px;
  }

  .gpm-lightbox-next {
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .gpm-lightbox-close {
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .gpm-main-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .gpm-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .gpm-sidebar-card {
    padding: 22px 18px;
  }

  .gpm-form-row.gpm-form-cols-2 {
    grid-template-columns: 1fr;
  }

  .gpm-info-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gpm-info-card {
    padding: 14px 16px;
  }

  .gpm-info-val {
    font-size: 0.98rem;
  }

  .gpm-building-spec-row {
    flex-direction: column;
    gap: 4px;
  }
}

/* Toast Notification */
.gpm-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gpm-cta-black);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--gpm-radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--gpm-shadow-lg);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gpm-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
