@media (max-width: 1180px) {
  .tybc-nav {
    display: none;
  }

  .tybc-header__inner {
    grid-template-columns: auto 1fr;
  }

  .tybc-mobile-toggle {
    display: inline-flex;
  }

  .tybc-header__actions .tybc-button--header {
    display: none;
  }

  .tybc-trust-bar__grid,
  .tybc-feature-grid,
  .tybc-feature-grid--six {
    grid-template-columns: repeat(2, 1fr);
  }

  .tybc-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tybc-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tybc-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tybc-order-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .tybc-cart-summary {
    grid-column: 1 / -1;
    position: static;
  }

  .tybc-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --tybc-header-height: 76px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  h3 {
    font-size: 24px;
  }

  .tybc-section {
    padding: 78px 0;
  }

  .tybc-container {
    width: min(calc(100% - 28px), 760px);
  }

  .tybc-brand {
    min-width: 0;
  }

  .tybc-brand__text {
    font-size: 18px;
  }

  .tybc-header__actions {
    gap: 6px;
  }

  .tybc-header__actions .tybc-icon-button:not(.tybc-cart-trigger):not(.tybc-mobile-toggle) {
    display: none;
  }

  .tybc-hero__content {
    padding-top: 92px;
  }

  .tybc-hero p,
  .tybc-page-hero__text {
    font-size: 17px;
  }

  .tybc-hero__badge {
    right: 18px;
    bottom: 84px;
    max-width: 210px;
  }

  .tybc-split,
  .tybc-location-preview,
  .tybc-newsletter__inner,
  .tybc-checkout__grid {
    grid-template-columns: 1fr;
  }

  .tybc-split--reverse > :first-child {
    order: 0;
  }

  .tybc-section-heading {
    display: block;
  }

  .tybc-section-heading .tybc-text-link {
    margin-top: 8px;
  }

  .tybc-trust-bar__grid,
  .tybc-feature-grid,
  .tybc-feature-grid--six,
  .tybc-product-grid,
  .tybc-category-grid,
  .tybc-gallery-strip,
  .tybc-timeline {
    grid-template-columns: 1fr;
  }

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

  .tybc-product-card--row {
    grid-template-columns: 130px 1fr;
  }

  .tybc-order-layout {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), 760px);
    padding: 56px 0 96px;
  }

  .tybc-order-categories {
    position: sticky;
    z-index: 20;
    top: calc(var(--tybc-header-height) + 10px);
    display: flex;
    overflow-x: auto;
  }

  .tybc-order-categories h2 {
    display: none;
  }

  .tybc-order-categories .tybc-pill {
    flex: 0 0 auto;
  }

  .tybc-checkout__summary {
    position: static;
  }

  .tybc-cart-table__head {
    display: none;
  }

  .tybc-cart-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tybc-cart-actions {
    align-items: stretch;
  }

  .tybc-cart-actions input,
  .tybc-cart-actions button {
    width: 100%;
  }

  .tybc-mobile-cart-bar {
    display: flex;
  }

  .tybc-footer__grid,
  .tybc-footer__bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .tybc-footer__bottom {
    display: grid;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .tybc-section {
    padding: 62px 0;
  }

  .tybc-header__actions .tybc-cart-trigger {
    width: 40px;
    height: 40px;
  }

  .tybc-brand__mark {
    width: 40px;
    height: 40px;
  }

  .tybc-brand__text {
    max-width: 96px;
  }

  .tybc-hero {
    min-height: 720px;
  }

  .tybc-hero__badge {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    margin: -112px 14px 64px auto;
  }

  .tybc-button-row,
  .tybc-newsletter__form,
  .tybc-search-form__row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tybc-button-row {
    display: grid;
  }

  .tybc-button-row .tybc-button,
  .tybc-newsletter__form .tybc-button,
  .tybc-search-form__row .tybc-button {
    width: 100%;
  }

  .tybc-page-hero {
    min-height: 440px;
    padding: 116px 0 66px;
  }

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

  .tybc-form-card {
    padding: 22px;
  }

  .tybc-product-card--row {
    grid-template-columns: 1fr;
  }

  .tybc-product-card__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .tybc-product-card__actions {
    width: 100%;
  }

  .tybc-product-card__actions .tybc-button,
  .tybc-product-card__actions .button {
    flex: 1;
  }

  .tybc-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tybc-gallery-grid {
    grid-template-columns: 1fr;
  }

  .tybc-testimonial-card {
    padding: 24px;
  }

  .tybc-testimonial-card p {
    font-size: 24px;
  }

  .tybc-search-overlay {
    padding: 34px 18px 22px;
  }

  .tybc-search-form label {
    font-size: 26px;
  }

  .tybc-quickview-modal__panel {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
  }

  .tybc-mini-cart,
  .tybc-mobile-drawer {
    padding: 24px 18px;
  }
}
