/* ==========================================================================
   CanadaPatches.com - Responsive Stylesheet
   ========================================================================== */


@media (min-width: 1300px) {
  .mega-menu-content {
    left: 20rem;
  }
}

/* ==========================================================================
   1. Desktop / Min-Width: 992px
   ========================================================================== */
@media (min-width: 992px) {

  /* Hover support on desktop */
  .cp-navbar .nav-item.dropdown:hover>.dropdown-menu,
  .cp-navbar .nav-item.dropdown>.dropdown-menu.show {
    display: block;
    animation: cpMenuFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  /* Custom 5-column grid layout */
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* ==========================================================================
   2. Desktops & Laptops / Max-Width: 1199px
   ========================================================================== */
@media (max-width: 1199px) {
  .cp-featured-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

/* ==========================================================================
   3. Tablets & Small Desktops / Max-Width: 991px
   ========================================================================== */
@media (max-width: 991px) {

  /* Hero Section */
  .cp-hero {
    padding: 60px 0 80px;
    background-position: center;
    min-height: auto;
  }

  /* .cp-hero::before {
    background: rgba(0, 0, 0, 0.85);
  } */

  .cp-hero-title {
    font-size: 26px;
  }

  .cp-hero-badge {
    position: static;
    margin-top: 18px;
    display: inline-flex;
  }

  .cp-feature-bar {
    margin-top: 20px;
  }

  #order-summary-box {
    position: static !important;
    margin-top: 24px;
  }

  /* Process Section */
  .cp-process-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }

  .cp-process-arrow {
    display: none;
  }

  .cp-process-card {
    min-width: 150px;
  }

  /* Footer */
  .cp-footer-list li {
    white-space: normal;
  }

  /* Why Grid & Sticky Sidebar */
  .cp-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cp-sticky-sidebar {
    position: static;
    margin-top: 30px;
  }

  /* Service Hero, Steps & Sidebar */
  .cp-step-arrow {
    display: none;
  }

  /* 
  .cp-service-hero {
    text-align: center;
  } */

  .cp-service-hero-img-wrap {
    margin: 25px 0;
  }

  .cp-service-sidebar {
    position: static;
    margin-top: 35px;
  }
}

/* ==========================================================================
   4. Mobile Devices / Max-Width: 767px
   ========================================================================== */
@media (max-width: 767px) {

  /* Featured Section */
  .cp-featured-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .breadcrumbSec {
    display: none;
  }

  .cp-service-hero-img-wrap {
    display: none;
  }

  .cp-featured-header-line {
    width: 100%;
  }

  .cp-featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cp-featured-label {
    font-size: 11px;
    min-height: 42px;
    padding: 8px 4px;
  }

  /* Why Choose Us & City Hero */
  .cp-why-grid {
    grid-template-columns: 1fr;
  }

  .cp-city-hero-title {
    font-size: 28px;
  }

  .cp-hero .btn {
    font-size: 10px;
    padding: 10px 14px !important;
  }

  .btn-cp-primary {
    font-size: 10px;
    padding: 10px 14px;
  }

  .cp-hero-image-wrap {
    display: none;
  }

  .cp-hero-rating {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .cp-hero-rating span {
    font-size: 12px;
  }

  .cp-feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .cp-section {
    padding: 40px 0;
  }

  .cp-serve-body {
    padding: 18px 10px;
  }

  .cp-serve-title {
    font-size: 14px;
  }

  .cp-product-body {
    padding: 10px;
  }

  .cp-product-card a {
    font-size: 10px;
  }

  .btn-cp-outline {
    padding: 10px 6px;
  }

  .cp-product-title {
    font-size: 13px;
  }

  .cp-cta-lead {
    font-size: 14px;
  }

  .cp-service-hero-title,
  .cp-cta-banner .display-6,
  .cp-section-title {
    font-size: 22px;
  }

  .cp-accordion .accordion-button {
    font-size: 14px;
  }

  .cp-hero-rating-badge {
    text-align: left;
  }

  .cp-guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 6px 12px;
    flex-direction: column;
    border: 1px solid #0000003d;
    border-radius: 10px;
  }

  section.py-5.bg-light,
  section.py-5.bg-white {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .cp-service-body {
    font-size: 14px;
  }

  .cp-service-hero a {
    font-size: 12px;
  }

  .cp-service-hero-subtitle {
    font-size: 12px;
  }

  .cp-service-body h2,
  .cp-service-body .cp-body-h2 {
    font-size: 22px;
    line-height: normal;
  }
}