@media (max-width: 700px) {
  body header.wp-block-template-part .wp-block-search__input {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }
  body header.wp-block-template-part .wp-block-search__button.wp-element-button {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 8px !important;
  }
}
@media (max-width: 700px) {
  body header.wp-block-template-part > .wp-block-group:first-child {
    padding: 5px 8px !important;
  }
  body header.wp-block-template-part > .wp-block-group:first-child p {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
  body header.wp-block-template-part > .wp-block-group:nth-child(2) {
    padding: 7px 14px 8px !important;
  }
  body header.wp-block-template-part > .wp-block-group:nth-child(2) .wp-block-image {
    line-height: 0 !important;
  }
  body header.wp-block-template-part .wp-block-search {
    height: auto !important;
  }
  body header.wp-block-template-part .wp-block-search__inside-wrapper {
    box-sizing: border-box !important;
    height: 44px !important;
    min-height: 44px !important;
  }
  body header.wp-block-template-part .wp-block-search__input,
  body header.wp-block-template-part .wp-block-search__button {
    box-sizing: border-box !important;
    height: 36px !important;
  }
  body header.wp-block-template-part > .wp-block-group:nth-child(3) {
    padding: 5px 14px !important;
  }
}
@media (max-width: 700px) {
  header.wp-block-template-part > .wp-block-group:first-child {
    padding: 5px 8px !important;
  }
  header.wp-block-template-part > .wp-block-group:first-child p {
    max-width: 350px;
    margin: 0 auto !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    text-wrap: balance;
  }

  header.wp-block-template-part > .wp-block-group:nth-child(2) {
    padding: 7px 14px 8px !important;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(2) > .wp-block-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 7px 8px !important;
    align-items: center !important;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(2) > .wp-block-columns > .wp-block-column {
    width: auto !important;
    min-width: 0 !important;
    flex-basis: auto !important;
    margin: 0 !important;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(2) > .wp-block-columns > .wp-block-column:first-child {
    grid-column: 1 / -1;
    display: flex !important;
    justify-content: center !important;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(2) .wp-block-image {
    width: 145px !important;
    margin: 0 !important;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(2) .wp-block-image img {
    display: block !important;
    width: 145px !important;
    height: auto !important;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(2) > .wp-block-columns > .wp-block-column:nth-child(2) {
    grid-column: 1;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(2) > .wp-block-columns > .wp-block-column:nth-child(3) {
    grid-column: 2;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(2) > .wp-block-columns > .wp-block-column:nth-child(3) > .wp-block-group {
    width: auto !important;
    gap: 3px !important;
    justify-content: flex-end !important;
  }
  header.wp-block-template-part .wp-block-search,
  header.wp-block-template-part .wp-block-search__inside-wrapper {
    min-width: 0 !important;
    height: 44px !important;
  }
  header.wp-block-template-part .wp-block-search__inside-wrapper {
    padding: 2px !important;
  }
  header.wp-block-template-part .wp-block-search__input {
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
  }
  header.wp-block-template-part .wp-block-search__button {
    width: 40px !important;
    height: 38px !important;
    margin-left: 5px !important;
    padding: 8px !important;
  }
  header.wp-block-template-part .wp-block-search__button svg {
    width: 20px !important;
    height: 20px !important;
  }
  header.wp-block-template-part .wp-block-woocommerce-customer-account,
  header.wp-block-template-part .wc-block-customer-account__link,
  header.wp-block-template-part .wc-block-mini-cart,
  header.wp-block-template-part .wc-block-mini-cart__button {
    width: 40px !important;
    height: 40px !important;
  }
  header.wp-block-template-part .wc-block-customer-account__link,
  header.wp-block-template-part .wc-block-mini-cart__button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
  }
  header.wp-block-template-part .wc-block-customer-account__link .icon {
    width: 24px !important;
    height: 24px !important;
  }
  header.wp-block-template-part .wc-block-mini-cart__quantity-badge,
  header.wp-block-template-part .wc-block-mini-cart__icon {
    width: 24px !important;
    height: 24px !important;
  }

  header.wp-block-template-part > .wp-block-group:nth-child(3) {
    padding: 6px 14px !important;
  }
  header.wp-block-template-part > .wp-block-group:nth-child(3) .wp-block-navigation {
    min-height: 30px !important;
  }
  header.wp-block-template-part .wp-block-navigation__responsive-container-open {
    width: 30px !important;
    height: 30px !important;
    padding: 3px !important;
  }
}
