/* ============================================================
   MOBILE-FIRST RESPONSIVE SYSTEM v2.0
   Wavelength Enterprises — 360px Base Design
   Target: 320px → 412px (Indian mobile screens)
   ============================================================ */

/* ═══════════════════════════════════════════════════════
   0. CRITICAL GLOBAL RESETS (apply to ALL screens)
   ═══════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Prevent horizontal overflow from any element */
img,
video,
iframe,
embed,
object,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════
   MOBILE DRAWER NAVIGATION (apply to ALL screens)
   Drawer itself is hidden on desktop via md:hidden on
   the hamburger button, but styles must be present
   ═══════════════════════════════════════════════════════ */

/* ── Premium Animated Hamburger ── */
#menu-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: 10px;
  transition: background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
}

#menu-btn:hover {
  background: rgba(123, 79, 42, 0.10);
  box-shadow: 0 0 16px rgba(123, 79, 42, 0.20),
    0 0 4px rgba(123, 79, 42, 0.12);
}

#menu-btn:active {
  transform: scale(0.88);
  transition-duration: 0.1s;
}

/* ── Three Hamburger Lines ── */
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 2px;
  transform-origin: center center;
  will-change: transform, opacity;
}

.hamburger-line-1 {
  transition: transform 0.35s cubic-bezier(0.55, 0.06, 0.68, 0.19) 0s,
    background 0.3s ease;
  margin-bottom: 6px;
}

.hamburger-line-2 {
  transition: opacity 0.25s ease 0.22s,
    transform 0.25s ease 0.22s,
    background 0.3s ease;
  margin-bottom: 6px;
}

.hamburger-line-3 {
  transition: transform 0.35s cubic-bezier(0.55, 0.06, 0.68, 0.19) 0s,
    background 0.3s ease;
}

#menu-btn:hover .hamburger-line {
  background: #c9955a;
}

/* ── OPEN STATE (.drawer-open) ── */
.drawer-open .hamburger-line-1 {
  transform: translateY(8px) rotate(45deg);
  background: #d4a574;
  transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s,
    background 0.3s ease;
}

.drawer-open .hamburger-line-2 {
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.15s ease 0s,
    transform 0.15s ease 0s;
}

.drawer-open .hamburger-line-3 {
  transform: translateY(-8px) rotate(-45deg);
  background: #d4a574;
  transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s,
    background 0.3s ease;
}

.drawer-open #menu-btn,
#menu-btn[aria-expanded="true"] {
  background: rgba(123, 79, 42, 0.12);
  box-shadow: 0 0 18px rgba(123, 79, 42, 0.25);
}

/* ── Drawer Overlay ── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.drawer-open .mobile-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Slide-in Drawer Panel ── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100dvh;
  background: linear-gradient(180deg, #1a120b 0%, #0f0c0a 100%);
  border-left: 1px solid rgba(123, 79, 42, 0.2);
  z-index: 55;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.drawer-open .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.mobile-drawer-nav {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: #d1d5db;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.25s ease;
  text-decoration: none;
  min-height: 48px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(123, 79, 42, 0.15);
  color: #fff;
}

.mobile-nav-link svg {
  color: #6b7280;
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.mobile-nav-link:hover svg,
.mobile-nav-link:active svg {
  color: var(--wood);
}

/* ── Active Page Highlighting (Desktop) ── */
.nav-active {
  color: var(--wood) !important;
  position: relative;
}

.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--wood);
  border-radius: 2px;
}

/* ── Active Page Highlighting (Mobile) ── */
.mobile-nav-active {
  background: rgba(123, 79, 42, 0.18) !important;
  color: #fff !important;
  border-left: 3px solid var(--wood);
  padding-left: 13px;
}

.mobile-nav-active svg {
  color: var(--wood) !important;
}

/* ── Drawer Footer ── */
.mobile-drawer-footer {
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.mobile-drawer-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 12px;
  color: #25D366;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
  min-height: 48px;
}

.mobile-drawer-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
}

/* Prevent scroll when drawer is open */
body.drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Hide old mobile-nav */
#mobile-nav {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════
   TOUCH DEVICE OPTIMIZATIONS (apply to touch devices only)
   ═══════════════════════════════════════════════════════ */

@media (hover: none) and (pointer: coarse) {

  /* Remove hover transforms that stick on touch */
  .hover-lift:hover {
    transform: none !important;
  }

  .hover-card-zoom:hover img {
    transform: none !important;
  }

  .card:hover {
    transform: none !important;
  }

  /* Better tap targets — minimum 44px */
  a,
  button,
  [role="button"],
  input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }

  /* Remove hover underline effect on touch */
  .hover-underline-slide::after {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   ═══════════════════════════════════════════════════════════
   MOBILE STYLES (max-width: 767px)
   ALL mobile-specific overrides go inside this media query
   ═══════════════════════════════════════════════════════════
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* ─── MOBILE TYPOGRAPHY (360px base) ─── */

  h1,
  .text-5xl,
  .text-4xl {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
  }

  h2,
  .text-3xl {
    font-size: clamp(1.25rem, 4vw, 1.625rem) !important;
    line-height: 1.25 !important;
  }

  h3,
  .text-2xl {
    font-size: clamp(1.1rem, 3.5vw, 1.375rem) !important;
    line-height: 1.3 !important;
  }

  h4,
  .text-xl {
    font-size: clamp(1rem, 3vw, 1.25rem) !important;
    line-height: 1.35 !important;
  }

  .text-lg {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  p,
  .text-base,
  .text-sm {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
  }

  .text-xs {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }

  .text-muted {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
  }

  /* Hero subtitle */
  .text-reveal-line span {
    font-size: clamp(1.25rem, 5.5vw, 2rem);
  }

  /* ─── MOBILE SPACING & LAYOUT ─── */

  /* Main container: 16px safe padding */
  main,
  .max-w-6xl,
  .max-w-7xl {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Section vertical spacing: reduced & consistent */
  section {
    margin-top: 1.5rem !important;
  }

  section.mt-20,
  section.mt-24 {
    margin-top: 2rem !important;
  }

  /* Reduce py on main */
  main.py-10 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* Card internal padding */
  .p-8 {
    padding: 1rem !important;
  }

  .p-6 {
    padding: 0.875rem !important;
  }

  .p-4 {
    padding: 0.75rem !important;
  }

  /* Grid gaps — tighter on mobile */
  .gap-8 {
    gap: 1rem !important;
  }

  .gap-6 {
    gap: 0.75rem !important;
  }

  .gap-4 {
    gap: 0.625rem !important;
  }

  /* Section header margins */
  .mb-10 {
    margin-bottom: 1.25rem !important;
  }

  .mb-8 {
    margin-bottom: 1rem !important;
  }

  .mb-12 {
    margin-bottom: 1.5rem !important;
  }

  .mb-16 {
    margin-bottom: 2rem !important;
  }

  /* Section vertical padding */
  .py-20 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .py-24 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .py-12 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* mt utilities */
  .mt-20 {
    margin-top: 2rem !important;
  }

  .mt-24 {
    margin-top: 2.5rem !important;
  }

  .mt-12 {
    margin-top: 1.5rem !important;
  }

  /* Glass form card */
  .glass-form-card {
    padding: 1rem !important;
    border-radius: 14px !important;
  }

  .glass-form-card .p-8,
  .glass-form-card .md\:p-12 {
    padding: 1rem !important;
  }

  /* ─── SINGLE-COLUMN MOBILE GRID ─── */

  /* Force single column on mobile */
  .grid {
    grid-template-columns: 1fr !important;
  }

  .col-span-2 {
    grid-column: span 1 !important;
  }

  /* ─── CARD & IMAGE RESPONSIVENESS ─── */

  /* Card images: dynamic height */
  .h-64 {
    height: 200px !important;
  }

  .h-48 {
    height: 180px !important;
  }

  /* Product cards */
  .hover-card-zoom {
    border-radius: 12px;
  }

  /* Comparison slider (Before/After) */
  #comparison-container,
  .h-\[400px\] {
    height: 220px !important;
    border-radius: 12px !important;
  }

  /* Remove hover-lift on mobile: prevents sticky hover */
  .hover-lift:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .hover-card-zoom:hover img {
    transform: none !important;
  }

  /* Gallery items */
  .gallery-item {
    border-radius: 10px;
    overflow: hidden;
  }

  /* ─── HERO SECTION FIX ─── */

  /* Fix 100vh issues — use dvh fallback */
  section[style*="min-height"] {
    min-height: 36vh !important;
    min-height: 36dvh !important;
  }

  /* Hero CTA button */
  .hero-cta {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.875rem !important;
    border-radius: 8px !important;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center !important;
  }

  /* Hero inner content padding */
  .relative.z-10.px-6.py-20 {
    padding: 1.5rem 1rem !important;
  }

  /* About hero */
  .h-\[60vh\] {
    height: auto !important;
    min-height: 40vh !important;
    min-height: 40dvh !important;
  }

  /* ─── FLOATING ACTION BUTTONS (FABs) ─── */

  /* FAB container: vertical stack, bottom-right, no overlap */
  div[style*="position:fixed"][style*="bottom:24px"][style*="right:24px"] {
    position: fixed !important;
    bottom: 16px !important;
    right: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 40 !important;
  }

  /* Individual FAB buttons: consistent size */
  .fab-quote,
  .fab-whatsapp,
  div[style*="position:fixed"] a[style*="width:56px"] {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
  }

  .fab-quote svg,
  .fab-whatsapp svg,
  div[style*="position:fixed"] a svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* AI trigger button: sits above the FAB container */
  #ai-trigger-btn {
    bottom: 140px !important;
    right: 12px !important;
    width: 48px !important;
    height: 48px !important;
  }

  /* Safe bottom padding so FABs don't overlap last section */
  main::after {
    content: '';
    display: block;
    height: 20px;
  }

  /* About page WhatsApp button */
  .whatsapp-premium-btn {
    bottom: 16px !important;
    right: 12px !important;
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
  }

  .whatsapp-premium-btn .whatsapp-icon {
    width: 24px !important;
    height: 24px !important;
  }

  /* ─── FORM SYSTEM MOBILE OPTIMIZATION ─── */

  .premium-input {
    height: 52px !important;
    font-size: 16px !important;
    padding: 0 12px !important;
    text-align: left !important;
    border-radius: 10px !important;
  }

  .premium-label {
    font-size: 0.875rem !important;
  }

  textarea.premium-input {
    min-height: 100px !important;
    padding: 12px !important;
    height: auto !important;
  }

  /* Form buttons full-width stacked */
  .flex.flex-col.md\:flex-row {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .flex.flex-col.md\:flex-row>* {
    width: 100% !important;
  }

  button[type="submit"],
  .flex.flex-col.md\:flex-row a {
    font-size: 1rem !important;
    padding: 14px 20px !important;
    min-height: 48px;
    border-radius: 10px !important;
  }

  /* Trust badges wrap properly */
  .flex.flex-wrap {
    gap: 10px !important;
    justify-content: center !important;
  }

  /* Fix trust badge typo class from index.php */
  .flex.flex-wrapjustify-center {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  /* Contact section */
  #contact {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }

  #contact h2 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }

  #contact .text-lg {
    font-size: 0.875rem !important;
  }

  /* Space-y on forms */
  .space-y-8>*+* {
    margin-top: 1rem !important;
  }

  /* ─── CALCULATOR MOBILE OPTIMIZATION ─── */

  .glass-calculator-card {
    border-radius: 14px !important;
  }

  .calc-config-panel {
    padding: 16px !important;
  }

  .calc-estimate-panel {
    padding: 20px !important;
  }

  .price-display {
    font-size: 2.25rem !important;
  }

  .currency-symbol {
    font-size: 1.25rem !important;
  }

  .calc-section-title {
    margin-bottom: 16px !important;
  }

  .calc-icon-circle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .calc-input-box {
    min-height: 52px !important;
  }

  .calc-input {
    font-size: 16px !important;
  }

  .calc-unit-btn {
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
  }

  .breakdown-row {
    font-size: 0.8rem !important;
  }

  .trust-row {
    padding-top: 16px !important;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  /* ─── TESTIMONIALS / REVIEW CARDS ─── */

  /* Avatar size */
  .w-12.h-12 {
    width: 40px !important;
    height: 40px !important;
  }

  /* Inline tag badges */
  .inline-block.bg-wood\/20 {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
  }

  .counter-value {
    font-size: inherit !important;
  }

  /* ─── ABOUT PAGE SECTIONS ─── */

  /* Stats row */
  .flex.flex-wrap.justify-center.gap-6 {
    gap: 12px !important;
  }

  /* Journey timeline */
  .border-l-2 {
    margin-left: 8px !important;
  }

  /* Value cards */
  .w-14.h-14,
  .w-16.h-16 {
    width: 44px !important;
    height: 44px !important;
  }

  /* Craftsmanship grid: 2 cols on mobile */
  .grid.grid-cols-2.md\:grid-cols-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* About hero landscape image */
  .h-40.md\:h-64,
  .h-40 {
    height: 140px !important;
  }

  /* Trust & Quality bar */
  .flex.flex-col.md\:flex-row.justify-around {
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  /* Quote blockquote */
  .text-6xl {
    font-size: 3rem !important;
  }

  /* ─── HEADER SCROLLED STATE ─── */

  .nav-brand {
    font-size: clamp(0.9rem, 4vw, 1.2rem) !important;
    white-space: nowrap;
  }

  header.header-scrolled {
    height: auto !important;
    min-height: 3.25rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  header.header-scrolled nav {
    height: 3.25rem;
  }

  /* ─── DROPDOWN MOBILE FIX ─── */

  .dd {
    width: 100% !important;
  }

  .dd-btn {
    width: 100% !important;
    font-size: 16px !important;
    min-height: 52px !important;
    border-radius: 10px !important;
  }

  .dd-list {
    max-height: 200px !important;
    overflow-y: auto !important;
  }

  .dd-item {
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .calc-dropdown-menu {
    max-height: 200px !important;
  }

  .calc-option {
    padding: 12px 14px !important;
    font-size: 0.875rem !important;
    min-height: 44px;
  }

  /* ─── MODAL MOBILE FIX ─── */

  .modal img {
    max-width: 95% !important;
    max-height: 70vh !important;
    border-radius: 8px;
  }

  #success-overlay .text-3xl {
    font-size: 1.5rem !important;
  }

  #success-overlay p {
    font-size: 0.875rem !important;
  }

  /* ─── FOOTER MOBILE ─── */

  footer,
  #footer-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  footer .grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  footer .flex {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  footer h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
  }

  footer .py-12 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* ─── BACKGROUND BLOB FIX (prevent overflow) ─── */

  .bg-gradient-blob,
  [class*="blur-\[100px\]"],
  .glass-form-card::after {
    display: none !important;
  }

  /* ─── BOOKING WIZARD MOBILE ─── */

  .booking-type-card {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  .booking-type-card h4 {
    font-size: 0.95rem !important;
  }

  .booking-type-card p {
    font-size: 0.8rem !important;
  }

  .step-indicator {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
  }

  .slot-btn {
    padding: 10px 14px !important;
    font-size: 0.8rem !important;
    min-height: 44px;
  }

  /* ─── AI ASSISTANT CHAT MOBILE ─── */

  #ai-chat-container {
    bottom: 70px !important;
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-height: 70vh !important;
    border-radius: 14px !important;
  }

  /* ─── MAP WRAPPER MOBILE ─── */

  .map-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: 280px !important;
    margin: 16px auto !important;
    border-radius: 12px !important;
  }

}

/* ═══════════════════════════════════════════════════════════
   END OF MOBILE STYLES
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════
   EXTRA-SMALL SCREEN (320px and below)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 320px) {

  main,
  .max-w-6xl,
  .max-w-7xl {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  h1,
  .text-5xl,
  .text-4xl {
    font-size: 1.375rem !important;
  }

  h2,
  .text-3xl {
    font-size: 1.125rem !important;
  }

  .p-6 {
    padding: 0.75rem !important;
  }

  .p-8 {
    padding: 0.875rem !important;
  }

  #comparison-container,
  .h-\[400px\] {
    height: 180px !important;
  }

  .h-64 {
    height: 170px !important;
  }

  .hero-cta {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
  }

  .mobile-drawer {
    width: 260px;
  }

  .glass-form-card {
    padding: 0.875rem !important;
  }

  .price-display {
    font-size: 2rem !important;
  }

  .nav-brand {
    font-size: 0.85rem !important;
  }
}

/* ═══════════════════════════════════════════════════════
   WIDER MOBILE (412px+)
   Fine-tuning for larger mobiles
   ═══════════════════════════════════════════════════════ */

@media (min-width: 412px) and (max-width: 767px) {

  main,
  .max-w-6xl {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .p-6 {
    padding: 1.125rem !important;
  }

  .gap-8 {
    gap: 1.125rem !important;
  }

  #comparison-container,
  .h-\[400px\] {
    height: 260px !important;
  }

  .h-64 {
    height: 220px !important;
  }

  .glass-form-card {
    padding: 1.25rem !important;
  }

  .price-display {
    font-size: 2.5rem !important;
  }
}

/* ═══════════════════════════════════════════════════════
   TABLET (768px – 1023px)
   ═══════════════════════════════════════════════════════ */

@media (min-width: 768px) and (max-width: 1023px) {

  /* Hide mobile drawer on tablet+ */
  .mobile-drawer,
  .mobile-overlay {
    display: none !important;
  }

  .grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  main {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .h-\[400px\] {
    height: 320px !important;
  }
}

/* ═══════════════════════════════════════════════════════
   DESKTOP (1024px+)
   Hide mobile drawer elements on desktop
   Desktop layout remains exactly as Tailwind designed
   ═══════════════════════════════════════════════════════ */

@media (min-width: 1024px) {

  .mobile-drawer,
  .mobile-overlay {
    display: none !important;
  }
}