/* ==========================================================================
   SHM REAL ESTATE™ — Component Styles
   Header, Navigation, Cards, Search, AI Finder, Forms, Modals & Footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(12, 20, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  box-shadow: var(--shadow-lg);
  background-color: rgba(7, 11, 18, 0.98);
  border-bottom-color: rgba(197, 160, 89, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* Brand Logo */
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}

.brand-name span {
  color: var(--gold-400);
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--surface-300);
  margin-top: 2px;
  font-weight: 500;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .nav-menu { display: flex; }
}

.nav-link {
  color: var(--surface-200);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-400);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-400);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-secondary {
  display: none;
}

@media (min-width: 860px) {
  .btn-header-secondary {
    display: inline-flex;
  }
}

/* Hamburger Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--white);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background-color: var(--navy-950);
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.mobile-drawer.open {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.mobile-drawer .nav-link {
  font-size: 1.05rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   2. STICKY MOBILE ACTION BAR (Mobile-First Lead Channel)
   -------------------------------------------------------------------------- */
.mobile-action-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: var(--navy-950);
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .mobile-action-bar { display: none; }
}

.bar-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  line-height: 1;
}

.bar-action:last-child {
  border-right: none;
}

.bar-action.action-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
}

.bar-action.action-call {
  background-color: var(--navy-850);
  color: var(--white);
}

.bar-action.action-find {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(7, 11, 18, 0.94) 0%, rgba(12, 20, 32, 0.88) 100%),
              url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to top, var(--surface-50) 0%, rgba(248, 250, 252, 0) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-300);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

.hero-subtitle {
  color: var(--surface-200);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   4. PROPERTY SEARCH WIDGET
   -------------------------------------------------------------------------- */
.search-widget-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  margin-bottom: 3.5rem;
}

.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--surface-200);
  padding: 1.75rem;
}

.search-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--surface-200);
  padding-bottom: 0.75rem;
}

.search-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-tab-btn.active {
  background-color: var(--navy-900);
  color: var(--white);
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}

@media (min-width: 640px) {
  .search-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .search-grid { grid-template-columns: 1.2fr 1.2fr 1.2fr 1fr 1fr auto; }
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.search-select,
.search-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: var(--surface-50);
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-select:focus,
.search-input:focus {
  border-color: var(--gold-500);
  background-color: var(--white);
}

/* --------------------------------------------------------------------------
   5. QUICK INTENT SECTION
   -------------------------------------------------------------------------- */
.intent-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--surface-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.intent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.intent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.intent-card:hover::before {
  opacity: 1;
}

.intent-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.intent-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}

.intent-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   6. PROPERTY CARD
   -------------------------------------------------------------------------- */
.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--surface-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--surface-300);
}

.property-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--surface-200);
  overflow: hidden;
}

.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-img {
  transform: scale(1.04);
}

.badge-overlay-top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.property-body {
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.property-location svg,
.property-location .icon {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  flex-shrink: 0;
  color: var(--gold-500);
  fill: var(--gold-500);
  display: inline-block;
}

.location-pin-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  flex-shrink: 0;
  color: var(--gold-500);
  fill: var(--gold-500);
  display: inline-block;
}


.property-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.property-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-600);
  margin-bottom: 1rem;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-top: 1px solid var(--surface-100);
  border-bottom: 1px solid var(--surface-100);
  margin-bottom: 1.1rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.property-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   7. AI PROPERTY FINDER CONVERSATIONAL WIDGET
   -------------------------------------------------------------------------- */
.ai-finder-container {
  background: var(--navy-900);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  color: var(--white);
}

.ai-finder-header {
  background: var(--navy-950);
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ai-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-950);
  font-weight: 800;
  font-size: 1.1rem;
}

.ai-chat-body {
  padding: 1.75rem;
  min-height: 380px;
  max-height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: radial-gradient(circle at top right, rgba(20, 31, 50, 0.4), transparent);
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: fadeIn 0.3s ease-out;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-bubble {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bot .chat-bubble {
  background-color: var(--navy-800);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 2px;
}

.user .chat-bubble {
  background-color: var(--gold-500);
  color: var(--navy-950);
  font-weight: 600;
  border-bottom-right-radius: 2px;
}

.chat-options-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.chat-option-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-option-btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

.ai-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.6rem 0.9rem;
  background: var(--navy-800);
  border-radius: var(--radius-full);
  width: fit-content;
}

.ai-typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-400);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.ai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   8. HOW IT WORKS STEPS
   -------------------------------------------------------------------------- */
.step-card {
  position: relative;
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-border);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. FORMS & INPUTS
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--surface-200);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  background-color: var(--surface-50);
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-500);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.file-dropzone {
  border: 2px dashed var(--surface-300);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  background-color: var(--surface-50);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.file-dropzone:hover {
  border-color: var(--gold-500);
}

/* --------------------------------------------------------------------------
   10. MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 20, 32, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--surface-200);
  padding: 2rem;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-950);
  color: var(--surface-300);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 2fr 1fr 1.2fr 1.5fr; }
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--gold-500);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--surface-300);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-contact-item .icon,
.footer-contact-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  color: var(--gold-500);
  fill: var(--gold-500);
  flex-shrink: 0;
  margin-top: 3px;
  display: inline-block;
}

.footer-contact-item a {
  color: var(--surface-200);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a:hover {
  color: var(--gold-400);
}

.footer-powered {
  color: var(--gold-400);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. PROPERTY DETAIL RESPONSIVE COMPONENTS
   -------------------------------------------------------------------------- */
.detail-header-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .detail-header-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .detail-gallery-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.detail-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .detail-content-layout {
    grid-template-columns: 2fr 1.15fr;
  }
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .detail-specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.detail-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .detail-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

