/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* Laptop ≤ 1280px */
@media (max-width: 1280px) {
  .header__nav a {
    padding: 0.5rem 0.6rem;
    font-size: var(--text-caption);
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: var(--space-lg);
  }
}

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 600px;
    margin-inline: auto;
  }

  .hero__subhead {
    margin-inline: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    max-width: 500px;
    margin-inline: auto;
  }

  .hero__float-card {
    left: auto;
    right: -12px;
    bottom: -12px;
  }

  .grid--4,
  .grid--3,
  .grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-grid::before {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* Tablet & Mobile ≤ 1024px */
@media (max-width: 1024px) {
  .header__nav {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  #quote-btn {
    display: none !important;
  }

  .hero__search-bar {
    max-width: 100%;
  }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  
  :root {
    --nav-height: 64px;
  }

  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .utility-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }

  .utility-bar__right {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    /* padding-block: var(--space-xl) var(--space-2xl); */
  }

  .hero-slide__overlay,
  .hero-slide__overlay--right {
    background: rgba(240, 244, 249, 0.7);
  }

  .hero h1,
  .hero__title {
    font-size: var(--text-h1);
    line-height: 1.15;
    word-break: break-word;
  }

  .hero__rating {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  .hero__rating-group {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .renting-timeline__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-xl);
  }

  .why-rent-split__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-xl);
  }

  .why-rent-split__collage {
    grid-template-columns: 1fr;
    height: auto;
  }

  /* Single column for Client Feedback marquee on mobile */
  .feedback-col--down {
    display: none !important;
  }

  .feedback-masonry__cards {
    grid-template-columns: 1fr !important;
  }

  .hero__search-bar {
    flex-direction: row;
    border-radius: 999px;
    padding: 5px 6px 5px 16px;
    width: 100%;
    max-width: 100%;
  }

  .hero__search-bar input {
    font-size: 0.9rem;
    padding: 6px 4px;
    text-align: left;
  }

  .hero__search-btn {
    width: 40px;
    height: 40px;
  }

  .btn--owner-cta {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .hero__visual {
    max-width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--6 {
    grid-template-columns: 1fr;
  }

  .card,
  .product-card,
  .blog-card {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }

  .callback-form {
    flex-direction: column;
  }

  .hero__float-card {
    display: none;
  }

  .modal-dialog,
  .modal__dialog {
    max-width: calc(100vw - 32px);
    max-height: 85vh;
    overflow-y: auto;
  }

  /* Responsive tables for single product description */
  .woocommerce-Tabs-panel table,
  .woocommerce-product-details__short-description table,
  .single-product .description table,
  .product-description table,
  .single-product .tab-content table,
  .product-tab-content table,
  .product-specs-table-default {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .product-detail-hero-pt{padding-top: 40px !important;}
  .feature-icon-item svg, .hero__search-btn svg{min-width: 25px;min-height: 25px;}
}

/* Small mobile ≤ 480px */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
  }

  .header__actions {
    gap: 0.4rem;
  }
}