/* 1️⃣ Extra Small (XS): <576px */
@media (max-width: 575.98px) {

  .top-header .fa-heart,
  .top-header .fa-user,
  .top-header .fa-search,
  .top-header .fa-cart-shopping,
  .top-header .fa-bars,
  .top-header .fa-store {
    font-size: 17px;
  }

  .mobile-view-top .phone a,
  .mobile-view-top .buy a {
    font-weight: bold;
  }

  .mobile-view-top .fa-store,
  .mobile-view-top .fa-phone-volume {
    font-size: 16px;
  }

  .top-bnr a {
    font-size: 14px;
  }

  .custom-slider .papathemes-eyeva-hero-carousel .blaze-prev,
  .custom-slider .papathemes-eyeva-hero-carousel .blaze-next,
  .custom-slider .papathemes-eyeva-hero-carousel .blaze-pause {
    height: 25px;
    padding: 5px;
    width: 25px;
  }

 .blog-slider .card-item {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .blog-slider .slider-container {
    padding: 0 70px;
  }

  .blog-slider .nav-btn {
    width: 50px;
    height: 50px;
  }

  .blog-slider .nav-btn i {
    font-size: 24px;
  }
  .blog-slider .prev-btn {
  left: 0px;
}

.blog-slider .next-btn {
  right: 0px;
}

  .banner-section .banner-overlay {
    padding: 15px;
  }

  article.card .price.price--non-sale.original-price {
    font-size: 14px;
  }

  article.card .price-section .price.price--withTax.sale-price {
    font-size: 16px;
  }

  .price-section.price-section--withTax.price--withTax {
    font-size: 16px;
  }

  .machine-row .card-content h5 {
    font-size: 20px;
  }

  .machine-row .card-content a {
    padding: 6px 15px;
    font-size: 14px;
  }

  .gift-image {
    height: 440px;
    border-radius: 12px;
  }

  .productView-images .slick-next,
  .productView-images .slick-prev {
    width: 35px;
    height: 35px;
  }

  .productView-images .slick-prev:before,
  .productView-images .slick-next:before {
    font-size: 18px !important;
  }

  .productView {
    padding: 10px;
  }

  .productView .productView-images {
    padding: 1rem;
  }

  .spec-view-hq {
    margin-top: 10px;
  }

  .productView .productView-title {
    font-weight: normal;
  }

  .coupon-form .form-input,
  .cart-gift-certificate-form .form-input {
    width: 100%;
  }

  .coupon-form .button,
  .cart-gift-certificate-form .button {
    margin: 5px 0 0 0;
    width: 100%;
  }

  .estimator-form .hq-btn-primary {
    width: 100%;
  }

  .custom_compare .compareTable-action a.button {
    display: none !important;
  }

  .custom_compare article.card .card-title a {
    font-size: 14px !important;
    height: auto;
    margin-bottom: 20px;
  }

  article.card .card-title a {
    height: 50px;
  }

  article.card .card-title a {
    font-size: 14px;
    line-height: 20px;
  }

  article.card a.button {
    font-size: 13px;
    padding: 5px 10px !important;
    width: 70%;
  }

  article.card .card-body {
    padding: 15px 5px;
  }

  .newsletter-bar h2 {
    font-size: 20px;
  }

  .custom_compare figure.card-figure a.compareTable-removeProduct {
    right: -5px;
    top: -5px;
    height: 20px;
    width: 20px;
  }

  .custom_compare figure.card-figure a.compareTable-removeProduct svg.icon {
    height: 15px;
    width: 15px;
    margin-left: 3px !important;
    margin-top: -3px;
  }

  .newsletter-bar .btn {
    width: 120px;
  }

  .newsletter-bar .form-control {
    width: 300px !important;
    height: 43px;
  }

  .newsletter-bar .btn {
    padding: 8px 25px;
  }

  .hq-help-banner .help-banner-text h1 {
    font-size: 1.5rem;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .cart-actions a.button {
    width: 100%;
  }

  .wishlist-item-list .button {
    font-size: 13px;
    padding: 5px 10px !important;
    width: 100%;
  }

  .breadcrumb-item {
    font-size: 14px;
  }

  .wishlist-btn-card{
  right: 14px !important;
  bottom: 15px !important;
  }
}

/* 2️⃣ Small (SM): ≥576px and <768px */
@media (min-width: 576px) and (max-width: 767.98px) {

  /* Styles for small devices (landscape phones) */
  header.header .header-logo-image {
    max-height: fit-content;
  }

  .mobile-view-top .fa-store,
  .mobile-view-top .fa-phone-volume {
    font-size: 16px;
    color: #683399;
  }

  .mobile-view-top .phone a,
  .mobile-view-top .buy a {
    font-weight: bold;
  }

  .gift-image {
    height: 440px;
    border-radius: 12px;
  }

  .productView {
    padding: 10px;
  }

  .coupon-form .form-input,
  .cart-gift-certificate-form .form-input {
    width: 100%;
  }

  .coupon-form .button,
  .cart-gift-certificate-form .button {
    margin: 5px 0 0 0;
    width: 100%;
  }

  .estimator-form .hq-btn-primary {
    width: 100%;
  }

  .custom_compare .compareTable-action a.button {
    display: none !important;
  }

  .custom_compare article.card .card-title a {
    font-size: 16px !important;
    height: auto;
    margin-bottom: 20px;
  }

  .machine-row .card-content h5 {
    font-size: 28px;
  }

  .custom-slider .papathemes-eyeva-hero-carousel .blaze-prev,
  .custom-slider .papathemes-eyeva-hero-carousel .blaze-next,
  .custom-slider .papathemes-eyeva-hero-carousel .blaze-pause {
    height: 35px;
    padding: 10px;
    width: 35px;
  }

  .hq-help-banner .help-banner-text h1 {
    font-size: 2rem;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  table.cart .cart-item {
    padding-left: 23%;
  }
  .wishlist-btn-card{
    right: 28px !important;
  }
  .card-title a {
    font-size: 19px !important;
  }
  
}

/* 3️⃣ Medium (MD): ≥768px and <992px */
@media (min-width: 768px) and (max-width: 991.98px) {

  /* Styles for tablets */
  header.header .header-logo-image {
    max-height: fit-content;
  }

  .mobile-view-top .fa-store,
  .mobile-view-top .fa-phone-volume {
    font-size: 18px;
    color: #683399;
  }

  .mobile-view-top .phone a,
  .mobile-view-top .buy a {
    color: #683399;
    font-size: 18px;
  }

  .mobile-view-top .phone a,
  .mobile-view-top .buy a {
    font-weight: bold;
  }

  .gift-image {
    height: auto;
  }

  .coupon-form .form-input,
  .cart-gift-certificate-form .form-input {
    width: 100%;
  }

  .coupon-form .button,
  .cart-gift-certificate-form .button {
    margin: 5px 0 0 0;
    width: 100%;
  }

  .estimator-form .hq-btn-primary {
    width: 100%;
  }

  .custom_compare .compareTable-action a.button {
    display: none !important;
  }

  .custom_compare article.card .card-title a {
    font-size: 16px !important;
    height: auto;
    margin-bottom: 20px;
  }

  .machine-row .card-content a {
    font-size: 14px;
  }

  .machine-row .card-content h5 {
    font-size: 16px;
  }

  .product-view .productView-images {
    width: 100%;
  }

  .product-view .productView-details {
    width: 100%;
  }

  .custom-slider .papathemes-eyeva-hero-carousel .blaze-prev,
  .custom-slider .papathemes-eyeva-hero-carousel .blaze-next,
  .custom-slider .papathemes-eyeva-hero-carousel .blaze-pause {
    height: 35px;
    padding: 10px;
    width: 35px;
  }

  .hq-help-banner .help-banner-text h1 {
    font-size: 3rem
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .previewCartWrapper .previewCartAction .previewCartAction-checkout a.button {
    padding: 5px 15px !important
  }
   .blog-slider .card-item {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
  .wishlist-btn-card{
    right: 72px !important;
  }
}

/* 4️⃣ Large (LG): ≥992px and <1200px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .top-header .form-dgn{
    max-width: 420px;
  }
  .mobile-view-top .fa-store,
  .mobile-view-top .fa-phone-volume {
    font-size: 16px;
    color: #683399;
  }

  .mobile-view-top .phone a,
  .mobile-view-top .buy a {
    font-weight: bold;
  }

  /* Styles for desktops */
  .gift-image {
    height: auto;
  }

  .estimator-form .hq-btn-primary {
    width: 100%;
  }

  .coupon-form .form-input,
  .cart-gift-certificate-form .form-input {
    width: 100%;
  }

  .coupon-form .button,
  .cart-gift-certificate-form .button {
    margin: 5px 0 0 0;
    width: 100%;
  }

  .estimator-form .hq-btn-primary {
    width: 100%;
  }

  .machine-row .card-content h5 {
    font-size: 24px;
  }

  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  #cart-preview-dropdown.dropdown-menu {
    --bs-dropdown-min-width: 16rem;
  }

  /* .wishlist-btn-card{
    right: 16px !important;
  } */

  .hq-btn-primary{
   padding: 5px 20px !important;
   /* right: 10px; */
  }

  .card-title a {
    font-size: 16px !important;
  }

}

/* 5️⃣ Extra Large (XL): ≥1200px and <1400px */
@media (min-width: 1200px) and (max-width: 1399.98px) {

  /* Styles for large desktops */
  .gift-image {
    height: auto;
  }

  .coupon-form .form-input,
  .cart-gift-certificate-form .form-input {
    width: 100%;
  }

  .coupon-form .button,
  .cart-gift-certificate-form .button {
    margin: 5px 0 0 0;
    width: 100%;
  }

  .estimator-form .hq-btn-primary {
    width: 100%;
  }

  .machine-row .card-content h5 {
    font-size: 28px;
  }

  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .estimator-form .hq-btn-primary {
    width: 100%;
  }
  .wishlist-btn-card{
    right: 38px !important;
  }
}

/* 6️⃣ Extra Extra Large (XXL): ≥1400px */
@media (min-width: 1400px) {

  /* Styles for very large screens */
  .gift-image {
    height: auto;
  }

  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .estimator-form .hq-btn-primary {
    width: 100%;
  }
  
}


@media (min-width: 992px) {
  .custom-rounded-pill {
    border-radius: 50px;
  }
}
@media screen and (max-width: 550px) {
     .cart-page .cart-item-quantity {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
  }
    .cart-page .form-increment {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  }
@media screen and (min-width: 550px) and (max-width: 800px) {
  .cart-page .cart-item-quantity {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }
    .cart-page .form-increment {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media screen and (min-width: 550px) and (max-width: 576px) {
  #gift-certificate-submit {
    margin-top: 0px !important;
    margin-left: 5px !important;
  }
}
@media screen and (max-width: 551px) {
  #gift-certificate-preview {
    margin-top: 5px !important;
  }
}
@media screen and (min-width: 800px) {
  .cart-page .form-increment {
    display: flex;
    align-items: center;
    justify-content: center;
  }

}


@media screen and (min-width: 324px) and (max-width: 991px) {
  .search_area {
    width: auto !important;
  }

  .Custom-border {
    border-bottom: 1px solid #86868646 !important;
  }

  .bottom_icon {
    padding-bottom: 0px !important;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #683399;
    transition: left 0.4s ease-in-out;
    padding: 1rem;
    z-index: 1;
  }

  /* When menu is open */
  .navbar-collapse.show {
    left: 0;
  }

  .nav-item {
    border-bottom: 1px solid #86868679;
  }
}


/* 🖥️ Desktop: 4 products */

@media (max-width: 551px) {
  .gift-certificate-form .form-actions {
    flex-direction: column;
  }
}

/* ------------------- RESPONSIVE FIXES ------------------- */
@media (max-width: 991px) {
  .info-panel {
    border-radius: 15px 15px 0 0;
    margin-left: 0;
  }

}

@media (max-width: 576px) {
  .info-item span {
    font-size: 14px;
  }

  .info-item i {
    font-size: 16px;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .contact-form h2 {
    font-size: 20px;
  }

  .contact-form p {
    font-size: 14px;
  }
}

/* contact form end*/
/* ======= Mobile & Tablet Responsive Fix ======= */
/* Thumbnails row (make them wrap instead of overflow) */
@media (max-width: 576px) {
  #thumbContainer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .thumb-img {
    width: 55px;
    height: auto;
  }

  .round-btn {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}


/* Frequently Bought Together */
@media (max-width: 768px) {
  .product-box .d-flex {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .product-box img {
    width: 80px;
    margin-bottom: 0.5rem;
  }

  .product-box .form-control.qty-input {
    width: 70px;
    margin-bottom: 0.5rem;
  }

  #des1 {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }

  #des1 h6 {
    font-size: 0.95rem;
  }

  #des1 button {
    width: 100%;
    text-align: center;
  }
}

/* Popular Machines grid fix */
@media (max-width: 576px) {
  .card button {
    width: 100%;
  }

  .product-box .d-flex {
    flex-direction: column;
  }

  #des1 button {
    margin-left: 20px;
  }
}



/* offer banner end*/

/* Extra Large Screens (≥1400px) */
@media screen and (min-width: 1400px) {
  .carousel-item img {
    max-height: 500px;
  }
}

/* Large Screens (≥1200px) */
@media screen and (max-width: 1399px) {
  .carousel-item img {
    max-height: 450px;
  }
}

/* Medium Screens (Tablets ≥992px) */
@media screen and (max-width: 1199px) {
  .slider-bg {
    padding: 60px 0;
  }

  /* [data-content-region="custom_slider"] {
    max-width: 1000px;
  } */

  .carousel {
    max-width: 1000px;
  }

  .carousel-item img {
    max-height: 400px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }
}

/* Small Tablets (≥768px) */
@media screen and (max-width: 991px) {
  .slider-bg {
    padding: 50px 0;
  }

  /* [data-content-region="custom_slider"] {
    max-width: 800px;
  } */

  .carousel {
    max-width: 800px;
  }

  .carousel-item img {
    max-height: 350px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 18px;
    height: 18px;
  }
}

/* Mobile (≥576px) */
@media screen and (max-width: 767px) {
  .slider-bg {
    padding: 50px 0;
  }

  [data-content-region="custom_slider"] {
    max-width: 100%;
  }

  .carousel {
    max-width: 100%;
  }

  .carousel-item img {
    max-height: 280px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 36px !important;
    height: 36px !important;
    margin-right: 2px !important;
    margin-left: 2px !important;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 16px;
    height: 16px;
  }
}

/* Extra Small Devices (≤480px) */
@media screen and (max-width: 480px) {
  .slider-bg {
    padding: 35px 0;
  }

  .carousel-item img {
    max-height: 220px;
    border-radius: 8px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 32px;
    height: 32px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 14px;
    height: 14px;
  }
}

@media screen and (min-width: 801px) and (max-width: 991px) {
  .custom_hidden {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .custom_hidden {
    display: none !important;
  }
}

@media only screen and (max-width: 575px) {
  .custom_hidden {
    display: none !important;
  }
}

@media (max-width: 347px) {
  .err-form-srch .form-prefixPostfix .button {
    margin-top: 1rem;

  }
}

@media (max-width: 551px) {
  .productView-details .productView-options {
    text-align: start;
  }


}

@media (max-width: 367px) {
  .contact-form .form-control {
    width: 100% !important;
    padding-left: 15px !important;
  }
}

@media (max-width: 800px) {
  /* .custom-slider {
    margin-top: 65px;
  } */
}

@media (max-width: 551px) {

  .navUser-item--cart__hidden-s {
    display: block;
  }
}

/* For laptop and desktop screens */
@media (min-width: 992px) {

  .navbar-toggler {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .cart-quantity {
    display: block !important;

  }
}



@media (max-width: 368px) {
  .countPill {
    height: 16px;
    line-height: 16px;
    width: 16px;
  }

  .cart-count {
    font-size: 9px;
  }

  .bottom_icon {
    gap: 4px !important;
  }

  .header-logo-image {
    max-height: 52px !important;
  }

  .slider-bg {
    padding: 25px 0;
  }

  .navbar-top_text {
    font-size: 10px;
  }
}

@media (min-width: 368px) and (max-width: 576px) {

  .countPill {
    height: 16px;
    line-height: 16px;
    width: 16px;
  }

  .cart-count {
    font-size: 9px;
  }

}

@media (min-width: 576px) and (max-width: 992px) {
  .countPill {
    height: 18px;
    line-height: 18px;
    width: 18px;
  }

  .cart-count {
    font-size: 12px;
  }
}

@media (max-width: 992px) {

  /* Your custom styles here */
  .dropdown-menu.custom-dropdown.show {
    max-width: 100% !important;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .banner-text h1 {
    font-size: 2.5rem;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Medium devices (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .help-banner {
    height: 350px;
  }

  .banner-text h1 {
    font-size: 4rem;
    margin-bottom: 80px;
    left: 25%;
  }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .help-banner {
    height: 250px;
  }

  .banner-text {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 1rem;
  }

  .banner-text h1 {
    font-size: 2.5rem;
    margin-top: 80px;
  }
}

/* Small devices / large mobiles (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .help-banner {
    height: 200px;
  }

  .banner-text h1 {
    font-size: 2rem;
    margin-left: 60px;
    margin-top: 60px;
  }
}

/* Extra small devices / phones (<576px) */
@media (max-width: 575px) {
  .help-banner {
    height: 170px;
  }

  .banner-text h1 {
    font-size: 1.5rem;
    line-height: 1.1;
    padding: 0 0.5rem;
    margin-top: 60px;
    margin-left: 10px;
  }

  .help-card h4 {
    font-size: 1.1rem;
  }

  .help-card p {
    font-size: 0.85rem;
  }

  .help-card a {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .help-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
}


@media (min-width: 992px) {

  .product-img {
    width: 100%;
    height: 142px;
    /* slightly smaller */
  }

  .product-info h2 {
    font-weight: bold !important;
    color: var(--hq-purpel) !important;
    font-size: 20px !important;
    min-height: 48px !important;
  }
}


/* Extra Large Screens (≥1400px) */
@media screen and (min-width: 1400px) {
  .carousel-item img {
    max-height: 500px;
  }
}

/* Large Screens (≥1200px) */
@media screen and (max-width: 1399px) {
  .carousel-item img {
    max-height: 450px;
  }
}

/* Medium Screens (Tablets ≥992px) */
@media screen and (max-width: 1199px) {
  .slider-bg {
    padding: 60px 0;
  }

  .carousel {
    max-width: 1000px;
  }

  .carousel-item img {
    max-height: 400px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }
}

/* Small Tablets (≥768px) */
@media screen and (max-width: 991px) {
  .slider-bg {
    padding: 50px 0;
  }

  .carousel {
    max-width: 800px;
  }

  .carousel-item img {
    max-height: 350px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 18px;
    height: 18px;
  }
}

/* Mobile (≥576px) */
@media screen and (max-width: 767px) {
  .slider-bg {
    padding: 40px 0;
  }

  .carousel {
    max-width: 100%;
  }

  .carousel-item img {
    max-height: 280px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 36px !important;
    height: 36px !important;
    margin-right: 2px !important;
    margin-left: 2px !important;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 16px;
    height: 16px;
  }
}

/* Extra Small Devices (≤480px) */
@media screen and (max-width: 480px) {
  .slider-bg {
    padding: 30px 0;
  }

  .carousel-item img {
    max-height: 220px;
    border-radius: 8px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 32px;
    height: 32px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 14px;
    height: 14px;
  }
}

@media screen and (max-width: 992px) {

  .product-info h2 {
    font-weight: bold !important;
    color: #683399 !important;
    font-size: 15px !important;
    min-height: 24px !important;
  }
}

@media screen and (max-width: 768px) {
  .product-img {
    width: 100% !important;
    height: 150px !important;
  }

  .product-info h2 {
    font-weight: bold !important;
    color: var(--hq-purpel) !important;
    font-size: 14px !important;
  }


}


@media (min-width: 992px) {
  .carousel-item .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .carousel-item .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .carousel-item .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


@media (min-width: 767.98px) {
.header .header-logo .header-logo-image {
    max-height: none;
    width: 295px;
    height: 55px;
    object-fit: cover;
}
}

@media (min-width: 375px) and (max-width: 575px) {    

    .header-logo-image {
    max-height: none;
}
}

@media only screen and (max-width: 768px) {
    p.filter_result {
        display: none;
    }
}
@media only screen and (max-width: 576px) {
    .show-filter-btn  span{
        display: none;
    }
   
}
