@import url('/assets/account-refresh.css?v=2');
/* Final small-screen refinements, loaded after the theme layers. */
@media (max-width: 640px) {
  .apple-layout:not(.ig-auth-layout) {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .ig-home .ig-section-head {
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }
  .ig-home .ig-section-head > a {
    align-self: flex-start;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .ig-home .ig-showcase {
    height: clamp(190px, 58vw, 250px);
  }
  .ig-home .ig-section {
    padding-block: 30px;
  }

  .apple-layout .category-index,
  .ig-home .ig-categories {
    gap: 10px;
  }
  .apple-layout .category-tile,
  .ig-home .ig-categories > a {
    min-width: 0;
  }
  .apple-layout .category-tile h3,
  .ig-home .ig-categories > a > span.ig-category-name {
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.3;
  }

  .apple-layout .ig-mobile-bottom-nav {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
  }
  .apple-layout .ig-mobile-bottom-nav a {
    min-width: 0;
    min-height: 48px;
    font-size: 9px;
  }

  .ig-chat-launcher {
    bottom: calc(94px + env(safe-area-inset-bottom));
    right: 12px;
  }
  .ig-auth-layout .ig-chat-launcher {
    display: none;
  }
}

@media (max-width: 360px) {
  .ig-home .ig-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ig-home .ig-product-content h3 {
    font-size: 12px;
    line-height: 1.35;
  }
  .ig-home .ig-product-content small {
    font-size: 10px;
  }
  .ig-home .ig-card-price strong {
    font-size: 15px;
  }
  .apple-layout .ig-mobile-bottom-nav {
    gap: 0;
    padding-inline: 4px;
  }
  .apple-layout .ig-mobile-bottom-nav a {
    font-size: 8px;
  }
}
