@media (max-width: 1024px) {
  body.home-page .container {
    width: min(calc(100% - 20px), var(--home-max));
  }

  body.home-page .main-header {
    backdrop-filter: blur(14px);
    background: rgba(248, 255, 253, 0.94);
  }

  body.home-page .header-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px 0 9px;
  }

  body.home-page .header-desktop-brand,
  body.home-page .header-desktop-nav,
  body.home-page .header-desktop-actions {
    display: none;
  }

  body.home-page .header-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
  }

  body.home-page .brand-mobile {
    max-width: 148px;
  }

  body.home-page .brand-mobile img {
    width: auto;
    height: 30px;
    max-width: 100%;
  }

  body.home-page .mobile-messages-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--home-primary-deep);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(8, 35, 31, 0.08);
  }

  body.home-page .mobile-messages-btn i {
    font-size: 0.98rem;
  }

  body.home-page .header-search-mobile-redirect {
    display: grid;
    grid-template-columns: auto 1fr;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    gap: 10px;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(7, 32, 28, 0.08);
  }

  body.home-page .header-search-mobile-redirect:hover,
  body.home-page .header-search-mobile-redirect:focus-visible {
    border-color: rgba(0, 184, 148, 0.24);
    box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.08);
    outline: none;
  }

  body.home-page .header-search-mobile-redirect input {
    pointer-events: none;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--home-text);
  }

  body.home-page .header-search-mobile-redirect input::placeholder {
    color: #6f8188;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 14px), var(--home-max));
  }

  .brand-copy span,
  .header-nav {
    display: none;
  }

  .brand {
    max-width: 132px;
  }

  .brand img {
    width: auto;
    height: 32px;
    max-width: 100%;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .header-search {
    min-height: 40px;
    padding: 0 6px 0 10px;
    gap: 6px;
  }

  .header-search input {
    font-size: 0.84rem;
  }

  .header-search button {
    min-height: 30px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hero-section {
    padding: 10px 0 6px;
  }

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

  .hero-media {
    border-radius: 14px;
  }

  .hero-media {
    min-height: 190px;
    max-height: 230px;
    border-radius: 16px;
  }

  .hero-slide-copy {
    gap: 8px;
    max-width: 100%;
    padding: 14px;
  }

  .hero-slide-eyebrow {
    padding: 6px 9px;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .hero-slide-copy h1 {
    font-size: 1.2rem;
  }

  .hero-slide-copy p {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .hero-slide-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .hero-controls {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .hero-control {
    width: 34px;
    height: 34px;
  }

  .hero-dots {
    gap: 6px;
    padding: 8px 11px;
  }

  .section-heading {
    align-items: center;
    margin-bottom: 10px;
  }

  .section-heading h2 {
    font-size: 1.1rem;
  }

  .text-link {
    font-size: 0.76rem;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .category-card {
    padding: 7px;
    border-radius: 12px;
  }

  .category-card span {
    margin-top: 6px;
    font-size: 0.72rem;
  }

  .compact-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .banner-copy p {
    font-size: 0.82rem;
  }

  .banner-tags {
    justify-content: flex-start;
    gap: 6px;
  }

  .banner-tags span {
    padding: 7px 8px;
    font-size: 0.68rem;
  }

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

  .filter-pills {
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card {
    padding: 6px;
    gap: 6px;
    border-radius: 12px;
  }

  .product-badge {
    top: 6px;
    left: 6px;
    padding: 4px 6px;
    font-size: 0.58rem;
  }

  .product-title {
    font-size: 0.72rem;
  }

  .product-subtitle {
    display: none;
  }

  .product-pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .product-price {
    font-size: 0.86rem;
  }

  .product-old-price,
  .product-meta,
  .tiny-link {
    font-size: 0.6rem;
  }

  .product-meta {
    padding: 5px 7px;
  }

  .tiny-link {
    min-height: 26px;
    padding: 0 8px;
  }

  .benefits-section {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-bottom: 18px;
  }

  .benefit-card {
    padding: 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .benefit-card i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 0.88rem;
  }

  .benefit-card strong {
    font-size: 0.78rem;
  }

  .benefit-card span {
    font-size: 0.66rem;
  }

  .site-footer {
    padding: 22px 0 calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .footer-shell {
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }

  .footer-about-card,
  .footer-subscribe-card {
    grid-column: 1 / -1;
  }

  .footer-links-card,
  .footer-contact-card {
    grid-column: span 1;
    min-width: 0;
  }

  .footer-card {
    min-width: 0;
    padding: 16px;
    border-radius: 20px;
  }

  .footer-column h3 {
    font-size: 0.96rem;
  }

  .footer-column p,
  .footer-column a,
  .footer-column span,
  .footer-note,
  .footer-subscribe-copy {
    font-size: 0.85rem;
  }

  .footer-links-list a,
  .footer-contact-item {
    min-width: 0;
    padding: 10px 11px;
  }

  .footer-contact-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
  }

  .footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 0.84rem;
  }

  .footer-contact-copy,
  .footer-links-list,
  .footer-contact-list {
    min-width: 0;
  }

  .footer-contact-copy strong,
  .footer-contact-copy small,
  .footer-links-list a {
    overflow-wrap: anywhere;
  }

  .footer-contact-copy strong {
    font-size: 0.8rem;
  }

  .footer-contact-copy small {
    font-size: 0.7rem;
  }

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

  .footer-subscribe input,
  .footer-subscribe button {
    min-height: 46px;
  }

  .footer-subscribe button {
    width: 100%;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}