@media (max-width: 1680px) {
  .hero-section,
  .page-hero,
  .about-hero {
    padding-inline: 2rem;
  }
}

@media (max-width: 1380px) {
  .zones-intro {
    grid-template-columns: minmax(360px, 1.2fr) minmax(200px, 0.7fr) minmax(200px, 0.6fr);
    gap: 28px;
  }

  .products-grid,
  .posts-grid,
  .about-features-grid,
  .about-process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card-media {
    height: 320px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding: 36px 0 0;
    border-left: 0;
    border-top: 1px solid #343638;
  }
}

@media (max-width: 1380px) {
  .mega-cats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .desktop-links,
  .mega-menu {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .shop-hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-subcats {
    justify-content: flex-start;
  }

  .icon-button-menu {
    display: inline-grid;
  }

  .hero-copy {
    padding-left: 56px;
    padding-right: 44px;
  }

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

  .product-card-media {
    height: 340px;
  }

  .contact-cta {
    grid-template-columns: 52% 48%;
  }

  .service-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .service-benefits article:nth-child(2) {
    border-right: 0;
  }

  .service-benefits article:nth-child(n + 3) {
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .service-benefits article:nth-child(3) {
    padding-left: 0;
  }

  .footer-main {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .about-hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .about-hero-media {
    height: 420px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-intro-grid:not(.has-media) .about-intro-body,
  .about-intro-grid.has-media .about-intro-media,
  .about-intro-grid.has-media .about-intro-lead,
  .about-intro-grid.has-media .about-intro-body {
    grid-column: auto;
    grid-row: auto;
    margin-block: 0;
  }

  .about-intro-grid.has-media {
    grid-template-rows: none;
  }

  .about-intro-grid.has-media .about-intro-media img {
    position: static;
  }

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

  .about-stats li:nth-child(2n) {
    border-right: 0;
  }

  .about-stats li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .about-stats li:nth-child(3) {
    padding-left: 0;
  }

  .about-features-grid,
  .about-process-list,
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .single-product-summary {
    position: static;
  }

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

  form.checkout #order_review_heading,
  form.checkout #order_review {
    grid-column: 1;
  }

  form.checkout #order_review {
    position: static;
  }

}

@media (max-width: 991px) {
  .zones-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .zones-review {
    justify-self: start;
  }

  .zones-heading-actions {
    justify-content: flex-start;
  }

  .zone-slide {
    height: 400px;
  }

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

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 820px) {
  :root {
    --section-gap: 5rem;
  }

  .utility-bar {
    display: none;
  }

  .utility-inner,
  .main-nav,
  .search-drawer {
    width: calc(100% - 32px);
  }

  .container-wide,
  .products-section,
  .sales-section,
  .contact-cta,
  .blog-section,
  .service-benefits,
  .footer-main,
  .footer-bottom,
  .about-intro,
  .about-features,
  .about-process,
  .about-gallery,
  .about-cta,
  .contact-section,
  .contact-map {
    width: calc(100% - 32px);
  }

  .zones-shell {
    width: calc(100% - 32px);
    padding: 64px 0 72px;
  }

  .main-nav {
    height: 72px;
    gap: 4px;
  }

  .brand {
    width: 112px;
    height: 46px;
  }

  .brand .logo-img {
    height: 40px;
  }

  .category-button {
    display: none;
  }

  .panel-content {
    width: 100%;
  }

  .product-card-cat {
    padding-block: 8px;
    display: inline-block;
  }

  .product-card-copy {
    padding-top: 10px;
  }

  .product-card-copy h3 {
    margin-top: 0;
  }

  .contact-phone {
    min-height: 44px;
  }

  .hero-section,
  .page-hero,
  .about-hero {
    padding-inline: 16px;
  }

  .hero-swiper .swiper-slide.hero-slide {
    height: auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
  }

  .hero-frame::after {
    width: 190px;
    height: 90px;
    clip-path: path("M 0 90 C 34 90 47 80 58 61 C 69 42 84 34 106 34 H 146 C 174 34 190 18 190 0 V 90 Z");
  }

  .hero-copy {
    min-height: 430px;
    padding: 56px 34px 35px;
  }

  .hero-visual {
    height: 430px;
  }

  .hero-visual > img[data-fit="contain"] {
    padding: 35px 18px 85px;
  }

  .hero-dots {
    top: auto;
    bottom: calc(430px - 44px);
    flex-direction: row;
    transform: none;
  }

  .products-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  .contact-cta {
    height: auto;
    grid-template-columns: 1fr;
  }

  .contact-cta-media {
    min-height: 330px;
  }

  .contact-cta-copy {
    padding: 48px 34px;
  }

  .blog-section {
    padding: 54px 34px;
  }

  .footer-main {
    padding: 60px 0 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    padding: 24px 0;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-bottom > .footer-credit,
  .footer-top {
    justify-self: start;
  }

  .page-hero-inner {
    padding: 40px 28px;
  }

  .about-hero-copy {
    padding: 48px 32px;
  }

  .about-process {
    padding: 40px 28px;
  }

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

  .about-gallery figure:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }

  .shop_table thead {
    display: none;
  }

  .shop_table tr {
    display: grid;
    grid-template-columns: 34px 80px 1fr;
    gap: 10px 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .shop_table td {
    padding: 0;
    border: 0;
  }

  .shop_table .product-remove {
    grid-row: 1 / span 2;
  }

  .shop_table .product-thumbnail {
    grid-row: 1 / span 2;
  }

  .shop_table .product-price,
  .shop_table .product-quantity,
  .shop_table .product-subtotal {
    grid-column: 3;
  }

  .shop_table .product-price::before,
  .shop_table .product-subtotal::before {
    content: attr(data-title) ": ";
    color: var(--muted);
    font-weight: var(--fw-semibold);
  }

  .cart_totals .shop_table tr {
    display: table-row;
  }

  .cart_totals .shop_table td,
  .cart_totals .shop_table th {
    display: table-cell;
    padding: 12px 0;
  }

  .woocommerce-cart-form .actions > .button {
    float: none;
    margin-top: 12px;
  }


  .entry-content table.woocommerce-product-attributes,
  .woocommerce-product-attributes {
    font-size: var(--fs-sm);
  }

  .woocommerce-product-attributes th,
  .woocommerce-product-attributes td {
    padding: 10px 12px;
  }

  .woocommerce-product-attributes th {
    width: 40%;
  }

  .woocommerce-product-attributes th::before {
    width: 26px;
    height: 26px;
    margin-right: 8px;
    font-size: var(--fs-sm);
  }

  .shop-hero .page-hero-text,
  .shop-hero .page-hero-text p {
    font-size: var(--fs-sm);
  }
}

@media (max-width: 576px) {
  .products-grid,
  .posts-grid,
  .about-features-grid,
  .about-process-list,
  .contact-cards,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats li {
    padding-inline: 0;
    border-right: 0;
  }

  .about-stats li:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

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

  .service-benefits article,
  .service-benefits article:first-child,
  .service-benefits article:last-child {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .service-benefits article:first-child {
    border-top: 0;
  }

  .single-product-gallery .woocommerce-product-gallery {
    flex-direction: column;
  }

  .woocommerce-product-gallery .flex-viewport,
  .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    width: 100%;
  }

  .woocommerce-product-gallery .flex-control-thumbs {
    width: 100%;
    max-height: none;
    flex: 0 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    flex-direction: row;
  }

  .woocommerce-product-gallery .flex-control-thumbs li {
    width: 76px;
  }

  .woocommerce-product-gallery__image img {
    height: auto;
    aspect-ratio: 1;
  }

  .single-product-summary .product_title {
    max-width: none;
  }

  .breadcrumbs,
  .rank-math-breadcrumb {
    width: auto;
    min-height: 30px;
    margin-bottom: 14px;
    padding: 5px 12px;
    gap: 3px 7px;
    border-radius: 8px;
    font-size: var(--fs-xs);
  }

  .shop-hero .breadcrumbs {
    margin-top: 16px;
  }

  .shop-hero-bottom {
    margin-top: 16px;
  }

  .single-product-wrap {
    padding-top: 0;
  }

  .single-product-summary .breadcrumbs {
    margin-bottom: 14px;
  }

  .hero-dots {
    padding: 9px 12px;
    gap: 8px;
    bottom: calc(430px - 12px);
    border-radius: 0 10px 10px 0;
  }

  .hero-frame::after {
    width: 140px;
    height: 62px;
    clip-path: path("M 0 62 C 25 62 35 56 42 43 C 49 30 59 24 75 24 H 106 C 125 24 140 13 140 0 V 62 Z");
  }

  .hero-dots::before,
  .hero-dots::after {
    width: 24px;
    height: 24px;
  }

  .hero-dots::before {
    box-shadow: -10px 10px 0 0 #fff;
  }

  .hero-dots::after {
    box-shadow: -10px -10px 0 0 #fff;
  }

  .hero-dots button {
    width: 7px;
    height: 7px;
  }

  .hero-dots button.is-active {
    outline-width: 3px;
  }

  .hero-arrows {
    gap: 6px;
  }

  .hero-arrows button {
    width: 28px;
    height: 28px;
  }

  .hero-arrows button .icon {
    width: 12px;
    height: 12px;
    display: inline-grid;
    place-items: center;
    line-height: 1;
  }

  /* glif FA siedzi w ::before, a sam .icon ma inline font-size z PHP */
  .hero-arrows button .icon::before {
    font-size: var(--fs-sm);
    line-height: 1;
  }

  .entry-content table.woocommerce-product-attributes,
  .woocommerce-product-attributes {
    font-size: var(--fs-xs);
  }

  .woocommerce-product-attributes th,
  .woocommerce-product-attributes td {
    padding: 8px 10px;
  }

  .woocommerce-product-attributes th::before {
    width: 22px;
    height: 22px;
    margin-right: 6px;
    font-size: var(--fs-xs);
  }

  .product-note {
    width: calc(100% - 104px);
    min-height: 54px;
    left: 14px;
    bottom: 14px;
    padding: 6px 12px 6px 6px;
    gap: 9px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  }

  .product-thumb {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-width: 2px;
  }

  .product-note-copy > span {
    margin-bottom: 2px;
    font-size: var(--fs-micro);
    letter-spacing: var(--ls-wide);
  }

  .product-note-copy strong {
    font-size: var(--fs-md);
  }

  .product-note-copy small {
    margin-top: 2px;
    font-size: var(--fs-micro);
  }

  .shop-cats-toggle {
    display: inline-flex;
  }

  .shop-cats-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--ease), visibility 0s linear 180ms;
  }

  .shop-cats-modal.is-open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .shop-cats-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(17, 18, 19, 0.55);
  }

  .shop-cats-sheet {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 80vh;
    padding: 18px 20px 28px;
    overflow: auto;
    background: #fff;
    border-radius: 22px 22px 0 0;
    transform: translateY(24px);
    transition: transform 220ms ease;
  }

  .shop-cats-modal.is-open .shop-cats-sheet {
    transform: none;
  }

  .shop-cats-head {
    display: flex;
  }

  .shop-cats-modal .shop-subcats {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .shop-cats-modal .shop-subcats a {
    min-height: 48px;
    justify-content: space-between;
    background: var(--paper-warm);
    border-color: transparent;
    border-radius: 12px;
  }

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

  .nf-docs .fields {
    grid-template-columns: 1fr;
  }

  .entry-content .nf-docs ol.steps > li {
    padding-left: 52px;
  }

  .nf-docs .st {
    white-space: normal;
  }

  .form-row-first,
  .form-row-last {
    width: 100%;
    display: block;
  }

  .form-row-first {
    margin-right: 0 !important;
  }
}

@media (max-width: 540px) {
  :root {
    --section-gap: 4.5rem;
  }

  .main-nav,
  .search-drawer {
    width: calc(100% - 24px);
  }

  .brand {
    width: 100px;
  }

  .nav-actions {
    gap: 0;
  }

  .nav-actions .icon-button {
    width: 38px;
    height: 38px;
  }

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

  .search-drawer form button {
    display: none;
  }

  .hero-section,
  .page-hero,
  .about-hero {
    padding-inline: 12px;
  }

  .hero-copy {
    min-height: 454px;
    padding: 48px 25px 30px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: var(--fs-xs);
  }

  .hero-description {
    margin-top: 18px;
    font-size: var(--fs-sm);
    line-height: var(--lh-body);
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    padding: 0 6px 0 18px;
  }

  .hero-trust {
    margin-top: 23px;
    gap: 12px;
    font-size: var(--fs-xs);
  }

  .hero-visual {
    height: 350px;
  }

  .hero-dots {
    bottom: calc(350px - 12px);
  }

  .container-wide,
  .products-section,
  .sales-section,
  .contact-cta,
  .blog-section,
  .service-benefits,
  .about-intro,
  .about-features,
  .about-process,
  .about-gallery,
  .about-cta,
  .contact-section,
  .contact-map {
    width: calc(100% - 24px);
  }

  .zones-shell {
    width: calc(100% - 24px);
    padding: 58px 0 64px;
  }

  .zones-carousel {
    padding-bottom: 62px;
  }

  .zone-slide {
    height: 390px;
  }

  .products-heading {
    margin-bottom: 25px;
  }

  .product-tabs {
    width: 100%;
  }

  .product-tabs button {
    flex: 0 0 auto;
    padding-inline: 16px;
  }

  .products-grid {
    gap: 30px;
  }

  .product-card-media {
    height: 340px;
  }

  .contact-cta {
    border-radius: 22px;
  }

  .contact-cta-media {
    min-height: 260px;
  }

  .contact-cta-copy {
    padding: 40px 26px;
  }

  .blog-section {
    padding: 44px 22px 28px;
    border-radius: 26px;
  }

  .blog-heading {
    margin-bottom: 28px;
    flex-direction: column;
  }

  .blog-card-media {
    height: 220px;
  }

  .sales-heading {
    align-items: flex-start;
  }

  .sale-countdown > span {
    min-width: 45px;
    padding-inline: 6px;
  }

  .footer-main,
  .footer-bottom {
    width: calc(100% - 40px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 10px;
  }

  .page-hero-inner {
    padding: 36px 22px;
  }

  .about-hero-copy {
    padding: 40px 24px;
  }

  .about-hero-media {
    height: 300px;
  }

  .about-cta {
    padding: 36px 24px;
  }

  .contact-form-wrap {
    padding: 28px 22px;
    border-radius: 22px;
  }

  form.cart {
    gap: 10px;
  }

  .single_add_to_cart_button {
    width: 100%;
  }

}

@media (max-width: 340px) {
  .zone-slide {
    height: 340px;
  }

  .sale-countdown > span {
    min-width: 40px;
  }
}
