@media (max-width: 1699px) {
  /*--------------------*/
  /*        News        */
  /*--------------------*/

  .blog .isotope-item {
    width: calc(33.33333% - 27px);
  }

  /*--------------------*/
  /*   Single Gallery   */
  /*--------------------*/

  .single-gallery .isotope-item {
    width: calc(33% - 23px);
  }
}

@media (max-width: 1600px) {
}

@media (max-width: 1550px) {
  .project-recommendation .project-recommendation-body .row {
    margin-right: calc(-0.25 * var(--bs-gutter-x)) !important;
    margin-left: calc(-0.25 * var(--bs-gutter-x)) !important;
    margin-bottom: 12px !important;
  }

  .project-recommendation-body .row .col-6 {
    padding-right: calc(var(--bs-gutter-x) * 0.25);
    padding-left: calc(var(--bs-gutter-x) * 0.25);
  }

  .project-recommendation .rec-post .rec-post-details {
    left: 6px;
    width: calc(100% - 12px);
  }
}

@media (max-width: 1399px) {
  /*--------------------*/
  /*  Single news page  */
  /*--------------------*/

  .single-post .post-header,
  .single-post .post-body {
    padding-left: 24px;
  }

  .single-post .post-date {
    justify-content: flex-start;
  }

  /*--------------------*/
  /*   Single Gallery   */
  /*--------------------*/

  .mosaic__item {
    width: 25%;
  }

  /*---------------------*/
  /*   Projekt overview  */
  /*---------------------*/

  .post-type-archive-projects .isotope-grid .isotope-item {
    width: 33.33333%;
  }

  /*--------------------*/
  /* Projekt-Detailpage */
  /*--------------------*/

  .project-recommendation-body .row > div:last-child {
    display: none;
  }

  /*--------------------*/
  /*        Shop        */
  /*--------------------*/

  .archive:not(.post-type-archive-projects) .isotope-item {
    width: calc(33.33333% - 27px);
  }
}

@media (max-width: 1300px) and (min-width: 1100px) {
  /*---------------------*/
  /* Projekt-Detailpage  */
  /*---------------------*/

  .projects-template-default
    .maincontent
    > div.container-fluid
    > div.row:first-child
    > div:last-child {
    padding-left: 36px;
    /* width: 30%; */
  }

  .projects-template-default .project-sidebar {
    padding: 48px 0 0 0;
  }
}

@media (max-width: 1300px) {
  /*--------------------*/
  /*        News        */
  /*--------------------*/

  .blog .isotope-item {
    width: calc(50% - 30px);
  }

  /*--------------------*/
  /*   Single Gallery   */
  /*--------------------*/

  .single-gallery .isotope-item {
    width: calc(50% - 30px);
  }

  /*---------------------*/
  /* Projekt-Detailpage  */
  /*---------------------*/

  .project-recommendation .project-recommendation-header h4 {
    width: 65%;
  }

  .project-recommendation .project-recommendation-header a {
    width: auto;
  }

  /*--------------------*/
  /*        Shop        */
  /*--------------------*/

  .archive:not(.post-type-archive-projects) .isotope-item {
    width: calc(50% - 30px);
  }
}

@media (max-width: 1199px) {
  .filters {
    /* 4 Filterboxen oben in einer Reihe, darunter Search + Cart */
    grid-template-columns: repeat(4, auto);
    grid-template-rows: auto auto;
  }

  .filters > .layout-group {
    display: grid;
    grid-column: 1 / -1;
    /* grid-row: 2; */
    grid-template-columns: 1fr max-content;
    gap: 10px;
    align-items: end;
    min-width: 0;
  }

  .filters .filter-search {
    width: 100%;
    min-width: 0;
  }

  .filters .fit-width {
    width: auto;
    white-space: nowrap;
  }

  /*--------------------*/
  /*  Single news page  */
  /*--------------------*/

  .single-post .left {
    padding-right: 0;
  }

  .single-post .post-title h1,
  .single-post .post-body {
    padding-right: 24px;
  }

  /*--------------------*/
  /*   Single Gallery   */
  /*--------------------*/

  .mosaic__item {
    width: 33.333333%;
  }

  .image-slider.withmargin img {
    margin: 0 0.5vw;
  }

  .single .image-slider.inline img {
    max-width: calc(100vw - 250px);
  }

  /*---------------------*/
  /*   Projekt overview  */
  /*---------------------*/

  .post-type-archive-projects .isotope-grid .isotope-item {
    width: 50%;
  }

  /*--------------------*/
  /*        Cart        */
  /*--------------------*/

  .woocommerce-cart .first-hr {
    margin-right: 24px;
  }

  .woocommerce-cart .woocommerce {
    padding-right: 24px;
  }
}

@media (max-width: 1100px) and (min-width: 991px) {
  .projects-template-default
    .maincontent
    > div.container-fluid
    > div.row:first-child
    > div:last-child {
    /* width: 35%; */
  }

  /*--------------------*/
  /*    Product Page    */
  /*--------------------*/

  .single-product .product-images {
    padding: 24px 12px 24px 24px;
  }

  .single-product .product-infos {
    padding: 24px 24px 24px 12px;
  }

  .single-product .discount_banner {
    top: 24px;
    left: 24px;
  }
}

@media (max-width: 1050px) {
  /*--------------------*/
  /*        News        */
  /*--------------------*/

  .blog .isotope-item {
    width: 100%;
  }
}

@media (max-width: 991px) {
  :root {
    --light-gray: #a7a7a7;
  }

  .maincontent {
    min-height: calc(100vh - 72px);
  }

  .cross-sells {
    .cross-sells-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  /*--------------------*/
  /*     Header/Menu    */
  /*--------------------*/

  .sidebar {
    background-color: var(--header-color);
  }

  .by {
    text-align: left;
  }

  footer {
    .footer-content {
      flex-direction: column;
      gap: 40px;
    }

    .footer-menu {
      li + li::before {
        content: "";
        display: none;
      }
    }

    .menu-container {
      .menu-container-content {
        gap: 0;
        flex-direction: column;
      }
    }
  }

  /*--------------------*/
  /*        Slider      */
  /*--------------------*/

  .image-slider.fullscreen {
    height: calc(100vh - 72px);
  }

  .slider-pagination {
    margin: 3vw;
    transition: all 0.5s;
  }

  .slider-pagination.active-menu {
    margin: 3vw 0;
    transition: all 0.5s;
  }

  /*--------------------*/
  /*       General      */
  /*--------------------*/

  html {
    overflow-x: hidden;
  }

  .maincontent {
    margin-left: 0;
    z-index: 1;
    height: calc(100% - 72px);
  }

  .page-title,
  .page-template-template-contact .content,
  .page-template-template-contact form {
    padding-left: 24px !important;
  }

  .page-title {
    padding: 24px;
    font-size: 32px;
    line-height: 32px;
  }

  .page-template-template-contact .content,
  .page-template-template-contact form {
    padding-right: 24px;
  }

  hr.first-hr {
    margin-right: 24px;
  }

  /*--------------------*/
  /*      Halfsite      */
  /*--------------------*/

  .page-template-page-halfsite h1 {
    padding-left: 24px !important;
  }

  .page-template-page-halfsite hr {
    margin-right: 24px;
  }

  .page-template-page-halfsite .text {
    padding: 0 24px;
  }

  /*--------------------*/
  /*        Page        */
  /*--------------------*/

  body:not(.single-gallery):not(.page-template-page-halfsite) .content {
    padding: 0 24px;
  }

  /*--------------------*/
  /*        News        */
  /*--------------------*/

  .blog .isotope-item {
    width: calc(50% - 30px);
  }

  /*--------------------*/
  /*  Single news page  */
  /*--------------------*/

  .single-post .post-header,
  .single-post .post-body {
    padding: 0 24px;
  }

  /*--------------------*/
  /*   Single Gallery   */
  /*--------------------*/

  .single-gallery .image-slider {
    height: calc(100vh - 72px);
  }

  .fullscreen img {
    width: 100vw;
  }

  .single-gallery .image-slider.inline img {
    width: 100vw;
    height: 100%;
    max-width: 100vw;
  }

  .hover,
  .hover::before,
  .hover::after {
    /* all: initial; */
  }

  .image-slider.withmargin img {
    max-width: 70vw;
  }

  .image_item-cell {
    text-align: left;
  }

  /*--------------------*/
  /* Projekt-Detailpage */
  /*--------------------*/

  .projects-template-default .project-mobile-title {
    display: block;
    font: normal normal bold 42px / 48px "Lora";
    color: var(--main-color);
    padding: 36px 0;
    width: fit-content;
    margin-left: 12px;
    letter-spacing: 3px;
  }

  .projects-template-default .mobile > div.container-fluid > .row {
    flex-direction: column-reverse;
  }

  .projects-template-default
    .maincontent
    > div.container-fluid
    > div.row
    > div {
    padding: 0 24px;
  }

  .project-title {
    display: none;
  }

  .projects-template-default .project-sidebar {
    padding: 0 0 22px 0;
  }

  .projects-template-default .project-gallery,
  .project-recommendation {
    padding: 0;
  }

  .project-recommendation .project-recommendation-header {
    border-top: 2px solid #d4d4d4;
    flex-direction: column-reverse;
  }

  .project-recommendation .project-recommendation-header a {
    margin: 12px 0 24px 0;
    width: fit-content;
  }

  .project-recommendation .project-recommendation-header h4 {
    width: 100%;
  }

  .project-recommendation {
    padding-top: 48px;
  }

  .project-recommendation-body .row > div:last-child {
    display: block;
  }

  /*--------------------*/
  /*        Shop        */
  /*--------------------*/

  .isotope-meta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .archive:not(.post-type-archive-projects) .isotope-meta {
    padding: 5px;
  }

  .archive:not(.post-type-archive-projects)
    .isotope-item
    .isotope-meta
    .isotope-title {
    text-align: left;
    /* color: var(--main-color); */
    max-width: 300px;
  }

  /*--------------------*/
  /*    Product Page    */
  /*--------------------*/
  .single-product .product-mobile-title {
    display: block;
    /* font: normal normal normal 36px / 36px 'Rokkitt'; */
    font-size: 36px;
    line-height: 36px;
    padding: 36px 0;
    color: var(--main-color);
    letter-spacing: 3px;
  }

  .single-product .product-name {
    display: none;
  }

  .single-product .maincontent > .container-fluid > .row > div {
    padding: 0 24px !important;
  }

  .single-product .product-images,
  .single-product .product-infos {
    padding: 0;
  }

  .single-product .discount_banner {
    top: 0;
    left: 0;
  }

  .single-product .product-infos {
    margin: 48px 0;
  }

  .single-product .slick-dots {
    margin-bottom: 0;
  }

  /*--------------------*/
  /*        Cart        */
  /*--------------------*/

  .woocommerce-cart .woocommerce {
    padding-left: 24px;
  }

  /*--------------------*/
  /*      Checkout      */
  /*--------------------*/

  .woocommerce-checkout .woocommerce {
    padding: 0 24px;
  }

  .woocommerce-checkout #payment ul.payment_methods {
    padding-top: 0;
  }

  /*--------------------*/
  /*       Filter       */
  /*--------------------*/

  .filter-wrapper:hover .filter-button-group {
    max-height: 0;
  }

  .active-menu {
    max-height: 200px !important;
  }

  .woocommerce-Address-title.title {
    display: flex;
    flex-direction: column;
    align-items: first baseline;
  }
}

@media (max-width: 767px) {
  form.woocommerce-form.order-withdrawal-request {
    .form-row-first,
    .form-row-last {
      width: 100%;
    }
    button[type="submit"] {
      width: 100%;
    }
  }

  img.shop-slider-logo {
    display: none;
  }

  .filters {
    grid-template-columns: repeat(1, auto);
    grid-template-rows: unset;
  }

  footer {
    .menu-container {
      nav.navbar .footer-menu ul {
        flex-direction: column;
      }
    }
  }

  /*--------------------*/
  /*   Single Gallery   */
  /*--------------------*/

  .mosaic__item {
    width: 50%;
  }

  /*---------------------*/
  /*   Projekt overview  */
  /*---------------------*/

  .post-type-archive-projects .isotope-grid .isotope-item {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /*--------------------*/
  /*        Shop        */
  /*--------------------*/

  .archive:not(.post-type-archive-projects) .isotope-grid {
    padding: 0;
    margin-bottom: 36px;
  }

  .archive:not(.post-type-archive-projects) .isotope-item {
    width: 100%;
    margin-bottom: 16px;
  }

  /*--------------------*/
  /*        Cart        */
  /*--------------------*/

  .woocommerce-cart .woocommerce {
    padding-left: 24px;
  }

  .woocommerce-cart .cart_item .product-thumbnail {
    display: none !important;
  }

  .woocommerce-cart .cart_item td {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
  }

  .woocommerce-cart .cart_item .product-remove {
    padding: 0 !important;
  }

  .woocommerce-cart .cart_item .product-remove a {
    width: 60px !important;
    padding-right: 0 !important;
    text-align: center !important;
    font-size: 32px !important;
  }

  .woocommerce-cart .cart_item .product-remove a:hover {
    color: red !important;
  }

  .woocommerce-cart .cart_totals .shop_table_responsive td {
    border-top: 0px !important;
    padding: 4px 0px !important;
  }

  .woocommerce-cart .woocommerce .woocommerce-message {
    display: flex;
    flex-direction: column-reverse;
  }

  .woocommerce-cart .woocommerce .woocommerce-message a {
    margin-top: 16px;
    width: fit-content;
  }

  /*--------------------*/
  /*       Filter       */
  /*--------------------*/

  .filter-wrapper {
    margin-right: 0;
  }
}

@media (max-width: 699px) {
  /*--------------------*/
  /*        News        */
  /*--------------------*/
  .blog .isotope-grid {
    padding: 0;
  }

  .blog .isotope-item {
    width: 100%;
  }
}

@media (max-width: 574px) {
  .cross-sells {
    .cross-sells-grid {
      grid-template-columns: 1fr;
    }
  }

  /*--------------------*/
  /*        Modal       */
  /*--------------------*/
  .modal-bottom {
    flex-direction: column;
    align-items: center;
  }

  .modal-descr {
    padding: 0 5px;
  }

  .page-template-template-contact form #terms {
    float: left;
    margin: 4px 7px 0 0;
  }

  .page-template-template-contact form label[for="terms"] {
    width: calc(100% - 20px);
  }

  /*--------------------*/
  /*   Single Gallery   */
  /*--------------------*/

  .portfolio .mosaic__item {
    width: 100%;
  }

  .single-gallery .isotope-grid {
    padding: 10px;
  }

  .single-gallery .isotope-item {
    width: calc(50% - 15px);
    margin-bottom: 10px;
  }

  .title-wrapper h1 {
    font-size: calc(100vw - 95vw);
    line-height: 24px;
  }

  /*--------------------*/
  /* Projekt-Detailpage */
  /*--------------------*/

  .project-recommendation-body .row > div:last-child {
    display: none;
  }

  /*--------------------*/
  /*     Cart button    */
  /*--------------------*/

  .shopping_cart_wrapper {
    /* right: 18px !important; */
    bottom: 18px !important;
    align-items: flex-end;
    flex-direction: column !important;
  }

  .filter-wrapper:hover .filter-button-group {
    max-height: calc(100vh - 18px - 70px - 72px);
  }

  /*--------------------*/
  /*    Product Page    */
  /*--------------------*/

  .single-product .product-mobile-title {
    padding: 18px 0;
  }

  /*--------------------*/
  /*      Checkout      */
  /*--------------------*/
  .woocommerce-checkout .woocommerce .checkout_coupon {
    margin: 16px 0;
  }

  .woocommerce .checkout_coupon .form-row-first {
    width: 100%;
  }

  .woocommerce .checkout_coupon .form-row-last {
    float: none;
  }

  /*--------------------*/
  /*    Privacy Page    */
  /*--------------------*/

  body:not(.single-gallery) .content p {
    font-size: 16px;
    line-height: 22px;
  }

  /*--------------------*/
  /*       Filter       */
  /*--------------------*/

  .filter-wrapper {
    margin-bottom: 18px;
  }

  tbody tr.cart_item td.product-name {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    column-gap: 10px;
    row-gap: 20px;
    align-items: flex-start;
  }

  tbody tr.cart_item td.product-name::before,
  tbody tr.cart_item td.product-name > p {
    margin-right: auto;
    text-align: left;
  }

  table.woocommerce-table.shop_table.order_details {
    display: flex;
    flex-direction: column;
  }

  table.woocommerce-table.shop_table.order_details thead tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .woocommerce-table__line-item.order_item {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  table.woocommerce-table.shop_table.order_details tfoot tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  table.woocommerce-table.shop_table.order_details tfoot tr th {
    hyphens: auto;
  }

  table.woocommerce-table.shop_table.order_details tfoot tr td {
    hyphens: auto;
  }

  .maincontent.mobile h1.page-title {
    hyphens: auto;
  }
}

@media (max-width: 1600px) and (min-width: 991px) {
  .maincontent .product-infos .product-name {
    font-size: calc(100vw - 97.2vw);
  }
}

@media (min-width: 991px) {
}
