
/*?=============== MEDIA QUERIES ==================== */

/** may be 1000 px */

@media (max-width: 63.4em) {

 .nav-right .nav-cta .phone-number{
        display: none;  

    }
 

}

/**  950 px */

@media (max-width: 59.4em) {

 .details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
 }

}
/**  900 px */

@media (max-width: 56.25em) {

   .hero .hero-title {
        font-size: var(--fs-large-2);
    }

}


@media (max-width: 37.5em) {
    .ads-section {
        margin: 2rem auto;
        padding: 0 1.5rem;
    }

    .ads-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .3rem;
    }

    .ads-section .ads-strip {
        grid-template-columns: 1fr;
    }

    .ads-section .ad-card {
        grid-template-columns: 10rem minmax(0, 1fr);
        min-height: 13rem;
    }

    .ads-section .ad-card img {
        min-height: 13rem;
    }

    .ads-section .ad-content {
        padding: 1rem;
    }

    .ads-section .ad-card h3 {
        font-size: var(--fs-common-3);
    }

    .ads-strip {
        grid-auto-columns: minmax(24rem, 86vw);
        margin-top: 2rem;
        padding: .4rem 1.5rem 1rem;
    }

    .ad-card {
        grid-template-columns: 9rem minmax(0, 1fr);
    }

    .ad-card img {
        min-height: 12rem;
    }

    .product-content .product-btns {
        flex-direction: column;
        align-items: stretch;
        gap: .8rem;
    }

        .product-content .product-actions {
        
    }

    .product-content a {
        width: 100%;
        text-align: center;
    }

    .product-box.box-1 {
        padding: 1.2rem;
    }

    .product-box.box-1 .product-content {
        padding: 1rem 0 0;
    }

    .product-box.box-1 .product-images .images-slider {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .product-box.box-1 .product-images .thumbnails img {
        min-width: 5.6rem;
        width: 5.6rem;
        min-height: 5.6rem;
        height: 5.6rem;
    }
}
/**  850 px */

@media (max-width: 53.125em){

   body {
    padding-bottom: 8.6rem;
   }

   .nav-links {
    display: none;
   }

   .nav-links.active {
    display: none;
   }


    .nav-right .nav-cta .phone-number{
        display: block;  

    }
 

   .nav-links li > a {
    display: inline-block;
    width: 100%;
    /* background: var(--input-bg); */
    border-radius: .5rem;
    /* border: 1px solid var(--border-color); */
    padding: .6rem 1rem;
   }


   .nav-right #navToggle {
    display: none;
   }

   .mobile-bottom-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    height: 6.6rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: .4rem;
    padding: .7rem;
    background: var(--bg-card);
    background: color-mix(in srgb, var(--bg-card) 94%, transparent);
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px);
    z-index: 900;
   }

   .mobile-bottom-link {
    min-width: 0;
    width: 100%;
    height: 5.2rem;
    border: 0;
    border-radius: 1.2rem;
    background: transparent;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    font-family: inherit;
    font-size: var(--fs-small-5);
    cursor: pointer;
    transition: all .2s ease;
   }

   .mobile-bottom-link i {
    font-size: var(--fs-common-4);
   }

   .mobile-bottom-link span {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
   }

   .mobile-bottom-link:hover,
   .mobile-bottom-link.active,
   .mobile-bottom-link.current {
    color: var(--accent);
    /* background: var(--input-bg); */
   }

   .mobile-bottom-link.current i {
    color: var(--accent);
   }

   .mobile-more-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, .38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 880;
   }

   .mobile-more-panel {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 8.4rem;
    display: block;
    max-height: min(56rem, calc(100vh - 14rem));
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.8rem;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, .28);
    transform: translateY(calc(100% + 10rem));
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease;
    z-index: 910;
   }

   .mobile-more-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
   }

   .mobile-more-backdrop.active {
    opacity: 1;
    pointer-events: auto;
   }

   .mobile-more-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: var(--fs-common-3);
   }

   .mobile-more-close {
    width: 3.6rem;
    height: 3.6rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--input-bg);
    color: var(--text-primary);
    cursor: pointer;
   }

   .mobile-more-links {
    max-height: calc(min(56rem, 100vh - 14rem) - 6.2rem);
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    padding: 1rem;
   }

   .mobile-more-links a {
    min-width: 0;
    min-height: 5.2rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    color: var(--text-primary);
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: .9rem;
    font-size: var(--fs-small-1);
   }

   .mobile-more-links a.current {
    border-color: var(--accent);
    color: var(--accent);
   }

   .mobile-more-links a i {
    flex: 0 0 3.2rem;
    width: 3.2rem;
    height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    color: var(--accent);
    background: var(--bg-card);
   }

   .mobile-more-links a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
   }

   .notifications-list {
    position: fixed;
    top: 7.4rem;
    left: 1rem !important;
    right: 1rem !important;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 16rem);
    border-radius: 1.2rem;
    z-index: 930;
   }

   .notifications-body {
    max-height: calc(100vh - 23rem);
   }

   .notifications-header {
    gap: 1rem;
   }

   .notifications-header h4 {
    min-width: 0;
   }

   .notifications-list .btn {
    flex: 0 0 auto;
    white-space: nowrap;
   }

   .notification-message {
    overflow-wrap: anywhere;
   }

   .form .form-actions{
    bottom: 8rem;
   }
 

   .nav-container {
    padding: .9rem 1rem;
    gap: .7rem;
    flex-wrap: wrap;
    justify-content: flex-start;
   }

   .nav-right {
    gap: .35rem;
    min-width: 0;
    display: contents;
   }

   .logo img {
    width: 4.5rem;
   }

   .header-actions {
    order: 3;
    flex: 0 0 100%;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding-top: .8rem;
    margin-top: .35rem;
    border-top: 1px solid var(--border-color);
   }

   .nav-btns {
    width: fit-content;
    max-width: calc(100vw - 2rem);
    height: auto;
    min-height: 4.4rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 3.8rem;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: .35rem .5rem;
    overflow: visible;
    border-radius: 1.2rem;
    margin: 0 auto;
   }

   .nav-btns > .nav-separator {
    display: none;
   }

   .nav-btns .notifications-dropdown,
   .nav-btns .notifications-btn,
   .nav-btns .theme-toggle,
   .nav-btns .lang-switcher,
   .nav-btns .search-icon,
   .nav-btns .wishlist-header-link {
    width: 3.8rem;
    min-width: 3.8rem;
    height: 3.6rem;
   }

   .nav-cta,
   .whatsapp,
   .login-btn {
    order: 2;
   }

   .logo {
    order: 1;
    margin-inline-end: auto;
   }

 

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }


    .hero .hero-stats, .hero .btn-group{
        justify-content: center;
    }

    .hero-stats .stat-item {
        max-width: fit-content;
    }

     .section-header {
        margin: 3rem 0 2rem;
    }




    
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 5rem;
        }

    .contact-hero-panel,
    .contact-support-grid {
        grid-template-columns: 1fr;
    }


    .service-hero-text {
       align-items:  center;
       justify-content: center;
       justify-items: center;
       text-align: center;
    }


    .product-box.box-1 {
        flex-direction: column;
    }
    .product-box.box-1 .product-images{
        width: 100%;
    }
    .product-box.box-1 .product-content{
        width: 100%;
    }

    .product-box.box-2 {
        flex-direction: column;
    }

    .product-box.box-2 .product-specifications-container {
        width: 100%;
    }
  
    .product-box.box-2 .product-details-container {
        width: 100%;
    }

    .search-controls {
        grid-template-columns: 1fr;
    }

    .sitemap-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sitemap-search-card {
        grid-column: 1 / -1;
    }

    .service-reviews-layout {
        grid-template-columns: 1fr;
    }

    .search-filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-filter-title {
        grid-column: 1 / -1;
    }

    .login-form{
        margin-top: 0;
    }

}


/**  800 px */

@media (max-width: 50em){

    html{
        font-size: 58%;
    }

.container {
       padding: 0 2.5rem;
   }

 .contact-info {
    flex-direction: column;
}       

.contact-info .contact-content{
    width: 100%;
}
.contact-info .contact-map{
    width: 100%;
    max-width: 100%;
    margin-top: .5rem;

}

  .faq-grid {

    column-count: 1;

  }

  .search-page {
    padding: 2rem 0 4rem;
  }

  .search-shell {
    gap: 1.5rem;
  }




}



/**  600 px */

@media (max-width: 37.5em){

   

    .nav-right {
        gap: .25rem;
    }


     .nav-right .nav-cta .phone-number{
        display: none;  

    }
 

    .nav-btns {
        padding-inline: .15rem;
        width: fit-content;
        max-width: calc(100vw - 2rem);
        height: 3.6rem;
        min-height: 4rem;
        grid-auto-columns: 3.4rem;
    }

    .nav-btns > .nav-separator {
        display: none;
    }

    .theme-toggle,
    .lang-switcher,
    .search-icon,
    .wishlist-header-link {
        width: 3.4rem;
        min-width: 3.4rem;
        height: 3.4rem;
        padding: 0;
    }

    .notifications-btn {
        width: 3.4rem;
        min-width: 3.4rem;
        height: 3.4rem;
        padding: 0;
    }

    .nav-cta,
    .whatsapp,
    .login-btn .user-icon {
        width: 3.4rem;
        min-width: 3.4rem;
        height: 3.4rem;
        line-height: 3.4rem;
    }

 

    .whatsapp i,
    .login-btn .user-icon,
    .nav-cta i {
        font-size: var(--fs-small);
        margin: 0;
    }

    .login-btn {
        margin-right: 0;
    }

    .form .form-grid{
         grid-template-columns: 1fr;
        
    }

    .contact-hero-copy {
        padding: 2rem;
    }

    .contact-hero-copy h1 {
        font-size: var(--fs-large);
    }

    .contact-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-hero.section-header {
        padding-inline: 1.2rem;
    }

    .search-form,
    .search-filter-panel,
    .search-results-summary,
    .search-result-section,
    .search-empty {
        border-radius: .6rem;
    }

    .search-input-wrap {
        min-height: 5rem;
        padding: 0 .8rem;
        gap: .7rem;
    }

    .search-input-wrap input {
        font-size: var(--fs-common-3);
    }

    .search-submit {
        width: 3.8rem;
        height: 3.8rem;
        flex-basis: 3.8rem;
    }

    .search-filter-panel {
        gap: .7rem;
        padding: 1rem;
    }

    .search-filter-pill span {
        min-height: 4rem;
        padding: .8rem;
    }

    .search-results-summary {
        align-items: flex-start;
        gap: .6rem;
    }

}







/** 550 px  */

@media (max-width: 34.375em){

    /* html{
        font-size: 50%;
    } */

      /* html[lang=en]{
        font-size: 47%;
    } */

}

/** 500 px  */

@media (max-width: 31.25em){


      .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
      gap: 1.2rem;
    }



    .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    align-items: stretch;
}


       .blog-grid {
    grid-template-columns: 1fr;

}


   .booking-card .form-row {
    grid-template-columns: 1fr;
   }

   .service-hero-text h1 {
    font-size: var(--fs-large);
   }

   .search-filter-panel,
   .search-result-grid {
    grid-template-columns: 1fr;
   }

   .search-result-card {
    grid-template-columns: 1fr;
   }

   .search-result-media img,
   .search-result-icon {
    height: 17rem;
   }

   .blog-comment {
    align-items: flex-start;
   }

   .blog-comment-replies {
    padding-inline-start: .8rem;
   }

   .gallery-card img,
   .gallery-image-btn img {
    height: 22rem;
   }

   .sitemap-overview {
    grid-template-columns: 1fr;
   }

   .sitemap-search-card {
    align-items: flex-start;
   }

   .service-hero-actions,
   .service-card-actions {
    align-items: stretch;
    flex-direction: column;
   }

   .service-card-actions .btn-secondary,
   .service-hero-actions .btn,
   .content-actions-row .like-btn {
    width: 100%;
    justify-content: center;
   }

   .search-result-heading {
    padding: 1.2rem;
   }

   .search-result-heading h2 {
    font-size: var(--fs-common-2);
   }

   .search-result-grid {
    padding: 1rem;
   }

   .search-result-card {
    padding: .8rem;
   }


   .service-card .service-card-rating{
    display: none;
}

.service-card h3 {
    font-size: var(--fs-common-3);
    margin-bottom: 0rem;
    color: var(--text-primary);

}

.service-card p {
    line-height: 1.4;
    font-size: var(--fs-small);
}


.service-card .service-content {
    padding: 1.3rem;
    padding-bottom: 1.3rem;
}

.service-card .service-img {
    height: 13rem;
}

}

/* Blog detail mobile polish */
@media (max-width: 53.125em) {

   .blog-detail-hero {
      padding: 2rem 1.4rem;
      margin-top: 1rem;
      overflow: hidden;
   }

   .blog-detail-hero .service-hero-content {
      grid-template-columns: 1fr;
      gap: 2rem;
   }

   .blog-detail-hero .service-hero-text {
      align-items: flex-start;
      justify-items: start;
      text-align: start;
   }

   .blog-detail-hero .service-hero-text h1,
   .blog-detail-content .detail-section h2,
   .blog-detail-content .rich-text-content {
      overflow-wrap: anywhere;
      word-break: break-word;
   }

   .blog-detail-hero .service-hero-text h1 {
      font-size: var(--fs-large);
      line-height: 1.35;
   }

   .blog-detail-hero .service-desc {
      max-width: 100%;
   }



   .blog-detail-hero .service-badges .badge {
      min-width: 0;
      max-width: 100%;
   }

   .blog-detail-hero .service-hero-image img {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 10;
      object-fit: cover;
   }

   .blog-detail-content.service-details {
      padding: 2rem 0;
      max-width: 100%;
   }

   .blog-detail-content .detail-section {
      padding: 1.4rem;
      overflow: hidden;
   }

   .blog-detail-content .rich-text-content img,
   .blog-detail-content .rich-text-content video,
   .blog-detail-content .rich-text-content iframe {
      max-width: 100%;
      height: auto;
   }

   .blog-detail-content .rich-text-content iframe {
      aspect-ratio: 16 / 9;
      min-height: 20rem;
   }

   .blog-detail-content .rich-text-content table {
      display: block;
      max-width: 100%;
      overflow-x: auto;
   }

   .blog-detail-content .rich-text-content pre {
      max-width: 100%;
      overflow-x: auto;
      white-space: pre-wrap;
   }


   .share-actions .share-main-btn {
      /* flex: 1 1 100%; */
      justify-content: center;
   }

   .blog-author-box {
      align-items: flex-start;
   }

   .blog-comments-layout {
      grid-template-columns: 1fr;
   }

   .blog-comment-form,
   .blog-comments-list {
      padding: 1.4rem;
   }

   .blog-comment-content,
   .blog-comment-content p {
      overflow-wrap: anywhere;
      word-break: break-word;
   }

}

@media (max-width: 37.5em) {

   .blog-detail-hero {
      padding: 1.2rem;
   }

   .blog-detail-kicker {
      max-width: 100%;
      padding: .6rem 1rem;
   }

   .blog-detail-hero .service-hero-text h1 {
      font-size: var(--fs-medium);
   }


   .blog-detail-hero .service-badges .badge {
      justify-content: center;
      padding-inline: .8rem;
      text-align: center;
   }

   .blog-detail-hero .service-hero-image img {
      aspect-ratio: 4 / 3;
   }

   .blog-detail-content .rich-text-content iframe {
      min-height: 16rem;
   }

   .blog-detail-content .detail-section,
   .blog-author-box,
   .blog-comment-form,
   .blog-comments-list {
      padding: 1rem;
   }

   .blog-author-avatar {
      width: 4rem;
      height: 4rem;
      flex-basis: 4rem;
      font-size: var(--fs-small);
   }

   .blog-comment {
      gap: .8rem;
   }

   .blog-comment-actions {
      align-items: stretch;
      gap: .6rem;
   }


   .comment-reply-form .form-grid {
      grid-template-columns: 1fr;
   }

}
/** 450 px  */

@media (max-width: 28.125em){

    .flex-btns{
        flex-direction: column;
        gap: .5rem;
    }

    .logo img {
        width: 4rem;
    }

    .nav-container {
        padding-inline: .7rem;
        gap: .5rem;
    }

    .nav-cta {
        display: flex;
    }

}

/** 400 px  */

@media (max-width: 25em){

    /* html{
    font-size:55%;
    } */


    .product-guidance{
        width: 30rem;
    }
 
    .container {
       padding: 0 1.5rem;
   }

    .nav-btns {
        max-width: calc(100vw - 2rem);
    }

  

     .service-type{
        gap: .7rem;
    }
     .service-type .service{
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .model .flex-btns {
        flex-direction: column;
        /* gap: .5rem; */
    }

    .search-filter-pill span {
        font-size: var(--fs-small-2);
    }

    .search-result-media img,
    .search-result-icon {
        height: 14rem;
    }

    .search-result-body h3 {
        font-size: var(--fs-common-3);
    }

    .search-result-body p {
        font-size: var(--fs-small-1);
    }

}


/** 380 px  */

@media (max-width: 23.75em){

    .header-actions{
    position: static;
    top: auto;
    left: auto;
  }


}

/** 330 px  */

@media (max-width: 20.625em){

    html{

         /* font-size:49%; */

    }

    .header-actions{
    position: static;
    top: auto;
    left: auto;
  }



}
