@media (min-width: 1400px) and (max-width: 1600px) {

  /* .nimac-media-shape {
    height: 555px !important;
  } */
  .nimac-product-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) and (max-width: 1300px) {
  .nimac-post-title {
    font-size: 28px;
    margin: 0 0 10px;
    line-height: 1.3;
  }

  .nimac-post-excerpt {
    font-size: 17px;
    line-height: 1.6;
  }

  .nimac-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nimac-product-row {
    padding: 0 20px 40px;
  }

  .nimac-product-category-title {
    margin: 0 20px 40px;
  }

}

@media (max-width: 1024px) {

  /* class-nimac-built-hardest-trades-widget */
  .nimac-built-hardest-trades-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ===  taxonomu product page  ====  */
  .nimac-category-hero-title {
    font-size: 2.5em;
  }

  .nimac-product-category-inner {
    max-width: 100%;
    padding: 60px 30px 0;
  }

  .nimac-product-category-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  /* Product Row */
  .nimac-product-row {
    grid-template-columns: 280px 1fr 40px;
    column-gap: 25px;

    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  /* Image */
  .nimac-product-image {
    width: 280px;
    height: 180px;
  }

  .nimac-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Content */
  .nimac-product-title {
    font-size: 2.3em;
    line-height: 1.1em;
  }

  .nimac-product-description {
    font-size: 0.95em;
    line-height: 1.5em;
  }

  /* Arrow */
  .nimac-product-arrow a {
    width: 35px;
    height: 35px;
  }

  .nimac-product-arrow span {
    font-size: 55px;
  }

  /*  */

  .cf7-col,
  .cf7-col-3 {
    width: 100%;
  }

  .cf7-grid {
    gap: 16px;
  }

  .cf7-submit input {
    width: 100%;
  }
}

/* ==========================
   Tablet
========================== */

@media (max-width: 999px) {

  /* ===  archiave  ====*/
  .nimac-category-hero-title {
    font-size: 2rem;
    padding-bottom: 20px;
  }

  .nimac-category-hero-description {
    max-width: 80%;
  }

  .nimac-product-title {
    font-size: 1.6em;
    line-height: 1em;
  }

  .nimac-category-hero {
    margin-top: 60px;
  }

  /* form */
  .nimac-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nimac-post-item {
    gap: 25px;
  }

  .nimac-post-image {
    width: 280px;
  }

  .nimac-post-image img {
    height: 200px;
  }

  .nimac-post-title {
    font-size: 30px;
  }

  .nimac-product-category-section {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 0;
  }

  .npcc-product-categories {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   Mobile
========================== */

@media (max-width: 767px) {


  /*class-nimac-built-hardest-trades-widget  */
  .nimac-built-hardest-trades-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .heading_green .elementor-heading-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .nimac-product-category-see-all {
    font-size: 1em;
  }

  /*  */
  .nimac-product-category-section .nimac-product-category-title {
    font-size: 1.2em;
  }

  .nimac-product-category-section {
    margin-bottom: 20px;
    padding-bottom: 0;
  }

  /* === taxonomy product paghe ===  */
  .nimac-category-intro {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .nimac-category-content {
    order: 2;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .nimac-category-intro::before {
    display: none;
  }

  .nimac-category-hero-description {
    margin-top: 10px;
  }

  .nimac-category-hero-title {
    font-size: 1.7rem;
    padding-bottom: 0px;
  }

  .nimac-category-hero {
    margin-top: 0;
  }

  .nimac-category-hero {
    padding: 40px 0 40px;
  }

  .nimac-category-hero-description {
    max-width: 100%;
  }

  .nimac-product-category-inner {
    max-width: 100%;
    padding: 30px 20px 0;
  }

  .nimac-product-category-title {
    margin-bottom: 25px;
    font-size: 1.8em;
    line-height: 1.1em;
  }

  /* Product Row */

  .nimac-product-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;

    padding: 0 0 30px;
    margin-bottom: 30px;
  }

  /* Image */

  .nimac-product-image {
    width: 100%;
    height: 266px;
    aspect-ratio: 1.5 / 1;
    border-radius: 10px;
  }

  .nimac-product-image a {
    display: block;
    width: 100%;
    height: 100%;
  }

  .nimac-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Content */

  .nimac-product-content {
    width: 100%;
  }

  .nimac-product-title {
    margin: 0 0 10px;
    font-size: 1.5em;
    line-height: 1.1em;
    letter-spacing: -0.3px;
  }

  .nimac-product-description {
    font-size: 1em;
    line-height: 1.5em;
  }

  /* Arrow */

  .nimac-product-arrow {
    display: none;
  }

  /* Disable row hover zoom on mobile */
  .nimac-product-row:hover .nimac-product-image img {
    transform: none;
  }

  /*  */
  /* recent posst */
  .nimac-recent-post-item {
    gap: 12px;
  }

  .nimac-recent-post-image img {
    width: 80px;
    height: 65px;
  }

  .nimac-recent-post-title {
    font-size: 15px;
  }

  /*  */
  .nimac-post-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nimac-post-image {
    width: 100%;
  }

  .nimac-post-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    transition: transform 0.6s ease;
  }

  .nimac-post-title {
    font-size: 24px;
  }

  .nimac-post-excerpt {
    font-size: 16px;
  }

  .nimac-post-meta {
    flex-wrap: wrap;
    gap: 15px;
  }

  /* search blog */
  .nimac-search-input {
    height: 54px;
    font-size: 15px;
  }

  .nimac-search-button {
    width: 40px;
    height: 40px;
  }

  /* single post */
  .nimac-single-hero {
    padding: 60px 20px;
  }

  .nimac-single-title {
    font-size: 32px;
  }

  .nimac-single-wrapper {
    margin: 40px auto;
  }

  .nimac-single-content {
    font-size: 16px;
  }

  /* faq */
  .faq_section .e-n-accordion-item-title-icon {
    width: 28px !important;
    height: 28px;
    min-width: 28px;
  }

  /* form */
  .cf7-grid {
    gap: 14px;
  }

  .cf7-grid label {
    font-size: 15px;
  }

  .cf7-grid input:not([type="submit"]),
  .cf7-grid select {
    height: 44px !important;
  }

  .cf7-submit input {
    height: 52px;
  }
}