/* Breakpoint refinements: 320, 375, 425, 768, 1024, 1440 */
@media (max-width: 991.98px) {
  :root { --se-navbar-h: 64px; }
  .hero-slide { min-height: 340px; }
  .sticky-buy { position: static; }
}
@media (max-width: 767.98px) {
  .section-block { padding: 1.75rem 0; }
  .section-title { font-size: 1.25rem; }
  .hero-slide { min-height: 300px; }
  .hero-slide p { font-size: .95rem; }
  .pd-price { font-size: 1.6rem; }
  .promo-banner { padding: 1.5rem; }
  .nav-link-btn span { display: none; }
  .nav-link-btn { padding: .35rem .45rem; }
}
@media (max-width: 424.98px) {
  .product-card .pc-actions { flex-direction: column; }
  .product-card .pc-body { padding: .65rem; }
  .brand span { font-size: 1.1rem; }
  .cat-tile { flex-basis: 110px; }
  .cat-tile .cat-img { width: 90px; height: 90px; }
}
@media (max-width: 359.98px) { .container { --bs-gutter-x: 1rem; } .container .row { --bs-gutter-x: 1rem; } .brand span { display: none; } }
@media (min-width: 1400px) { .hero-slide { min-height: 500px; } }
.table-responsive-se { overflow-x: auto; }

/* Fixes from the responsive audit */
/* Hero arrows sat on top of the slide text on phones and tablets; dots and swipe remain */
@media (max-width: 991.98px) { #heroCarousel .carousel-control-prev, #heroCarousel .carousel-control-next { display: none; } }
/* Empty subtitles left a blank band under page titles */
.page-header p:empty { display: none; }
/* Admin tables scroll sideways instead of crushing their columns together */
@media (max-width: 767.98px) {
  .table-card .table { min-width: 720px; }
  .table-card th, .table-card td { min-width: 96px; }
  .table-card th:first-child, .table-card td:first-child { min-width: 200px; }
}
/* Admin KPI cards: let the figure fit on narrow screens */
.stat-card > div:not(.stat-icon) { min-width: 0; }
@media (max-width: 575.98px) {
  .stat-card { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .9rem; }
  .stat-card .stat-value { font-size: clamp(1.05rem, 5.2vw, 1.35rem); overflow-wrap: anywhere; }
}
