/* Бейдж «Бант и открытка» — сдвинут ниже, чтобы не перекрывать кнопку «Посмотреть» */
.animate-float-slow{
  bottom: -4rem !important;
  right: -0.5rem !important;
}
@media (max-width: 640px){
  .animate-float-slow{
    bottom: -3.75rem !important;
    padding: 0.6rem 0.85rem !important;
  }
}

/* Мобильная шапка: лого не переносится, корзина компактная */
@media (max-width: 639px){
  header .font-heading{ white-space: nowrap !important; }
  header a[href="/"]{ gap: .5rem !important; min-width: 0 !important; }
  header a[href="/"] > div:first-child{ width: 2.25rem !important; height: 2.25rem !important; }
  header a[href="/"] .font-heading{ font-size: .95rem !important; line-height: 1.1 !important; gap: .2rem !important; }
  header button[aria-label="Открыть корзину"]{ padding: .45rem .55rem !important; gap: .15rem !important; flex-shrink: 0 !important; }
}

/* v2: лого крупнее (максимум для одной строки), счётчик корзины не влияет на ширину */
@media (max-width: 639px){
  header .font-heading{ white-space: nowrap !important; }
  header a[href="/"]{ gap: .4rem !important; min-width: 0 !important; }
  header a[href="/"] > div:first-child{ width: 3rem !important; height: 3rem !important; }
  header a[href="/"] .font-heading{
    font-size: clamp(1.25rem, 5.4vw, 1.55rem) !important;
    line-height: 1.05 !important;
    gap: .15rem !important;
    letter-spacing: -.02em !important;
  }
  header button[aria-label="Открыть корзину"]{
    padding: .55rem !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
  }
  header button[aria-label="Открыть корзину"] > span:not(.hidden){
    position: absolute !important;
    top: -.4rem !important;
    right: -.4rem !important;
    margin: 0 !important;
  }
  header button[aria-label="Меню навигации"]{ padding: .35rem !important; }
}
