/* ==========================================================================
   VisionCraft Optics & Eye Care Studio - Responsive Architecture
   Phase 5: Hospa 7-Breakpoint Block System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Mobile Small & Extra Small (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  body {
    padding-bottom: 68px; /* Room for sticky bottom mobile bar */
  }

  .site-topbar {
    display: none;
  }

  .hero {
    padding: 2.5rem 0 3.5rem 0;
  }

  .hero__title {
    font-size: 2.15rem;
    line-height: 1.05;
  }

  .hero__stats {
    gap: 1rem;
    justify-content: space-between;
  }

  .hero__stat-num {
    font-size: 1.35rem;
  }

  .hero__stage {
    margin-top: 1.5rem;
  }

  .hero__card {
    padding: 1.5rem 1rem;
  }

  .hero__float-tag {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  /* 2-Column Mobile Catalog */
  .product-grid-row {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.65rem;
  }

  .product-card__media {
    padding: 0.75rem;
  }

  .product-card__img {
    max-height: 110px;
  }

  .product-card__body {
    padding: 0.75rem 0.65rem;
  }

  .product-card__title {
    font-size: 0.88rem;
  }

  .product-card__price-current {
    font-size: 0.95rem;
  }

  .product-card__btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }

  /* Bottom sheet modal transition on mobile */
  .modal-dialog {
    margin: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 100%;
  }

  .modal-optical {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    max-height: 85vh;
    overflow-y: auto;
  }

  .wa-float {
    display: none; /* Hide floating button since mobile bottom bar has direct WhatsApp */
  }

  .lens-sim-box {
    padding: 1.25rem;
  }

  .lens-frame {
    width: 170px;
    height: 170px;
  }
}

/* --------------------------------------------------------------------------
   2. Mobile Landscape / Phablet (min-width: 576px) and (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero__title {
    font-size: 2.45rem;
  }

  .product-card__img {
    max-height: 130px;
  }
}

/* --------------------------------------------------------------------------
   3. Tablet Portrait (min-width: 768px) and (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    padding: 3.5rem 0;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__img {
    max-height: 300px;
  }

  .mobile-bar {
    display: none;
  }

  .product-card__img {
    max-height: 130px;
  }
}

/* --------------------------------------------------------------------------
   4. Desktop Standard (min-width: 992px) and (max-width: 1199px)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .mobile-bar {
    display: none;
  }

  .hero__title {
    font-size: 3.2rem;
  }

  .hero__img {
    max-height: 340px;
  }
}

/* --------------------------------------------------------------------------
   5. Desktop Large (min-width: 1200px) and (max-width: 1399px)
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .mobile-bar {
    display: none;
  }

  .container {
    max-width: 1180px;
  }

  .hero__title {
    font-size: 3.75rem;
  }
}

/* --------------------------------------------------------------------------
   6. Desktop Wide / High-Res (min-width: 1400px) and (max-width: 1599px)
   -------------------------------------------------------------------------- */
@media (min-width: 1400px) and (max-width: 1599.98px) {
  .mobile-bar {
    display: none;
  }

  .container {
    max-width: 1320px;
  }

  .hero__title {
    font-size: 4.2rem;
  }
}

/* --------------------------------------------------------------------------
   7. Ultra Wide Displays (min-width: 1600px)
   -------------------------------------------------------------------------- */
@media (min-width: 1600px) {
  .mobile-bar {
    display: none;
  }

  .container {
    max-width: 1440px;
  }

  .hero__title {
    font-size: 4.6rem;
  }

  .section-header {
    max-width: 820px;
  }
}
