/* Brass & Steel desktop layout. Mobile and tablet rules are unchanged. */
@media (min-width: 1024px) {
  html { scroll-padding-top: 90px; }
  body { overflow-x: clip; }
  .store-navbar, .store-topbar > *, .store-section, .featured-products-section,
  .store-benefits, .contact-section > .container,
  .gallery-container, .about-section > *, .training-grid,
  .booking-container, .licence-info-grid, .ptcfor-container,
  .firearms-layout, .products-layout, .checkout-page,
  .cart-page, .search-page {
    box-sizing: border-box;
  }
  .store-navbar { width: min(1440px, calc(100% - 72px)); margin-inline: auto; }
  .store-logo img { max-height: 64px; width: auto; object-fit: contain; }
  .store-nav-links { display: flex; align-items: center; gap: clamp(16px,2vw,36px); }
  .store-nav-icons { display: flex; align-items: center; gap: 18px; }

  /* Landing page: cinematic hero, roomier reel, and balanced gallery. */
  .bs-home-theme .hero { min-height: min(780px, 78vh); }
  .bs-home-theme .hero-content { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
  .bs-home-theme .hero-logo { width: min(550px, 48vw); max-width: 100%; }
  .bs-home-theme .hero-text { max-width: 700px; margin: 18px auto 32px; font-size: clamp(21px, 2vw, 28px); line-height: 1.55; }
  .bs-home-theme .hero-buttons { gap: 18px; }
  .bs-home-theme .hero-buttons .hero-btn { min-width: 218px; min-height: 57px; font-size: 15px; }
  .bs-home-theme .home-reels { padding: 48px 0 26px; }
  .bs-home-theme .home-reel { padding: 20px 0 25px; }
  .bs-home-theme .home-reel + .home-reel { margin-top: 24px; padding-top: 35px; }
  .bs-home-theme .home-reel-heading, .bs-home-theme .home-reel-hint { max-width: 1320px; padding-inline: 42px; }
  .bs-home-theme .home-reel-heading h2 { font-size: clamp(27px, 2.3vw, 36px); }
  .bs-home-theme .home-reel-hint { font-size: 14px; }
  .bs-home-theme .home-reel-viewport { padding: 16px max(30px, calc(50% - 129px)) 13px; }
  .bs-home-theme .home-product { flex-basis: 258px; height: 332px; margin-right: -15px; }
  .bs-home-theme .home-product-image { height: 205px; }
  .bs-home-theme .home-product-info { padding: 12px 15px; }
  .bs-home-theme .home-product-name, .bs-home-theme .home-product-price { font-size: 15px; }
  .bs-home-theme .home-product-category { font-size: 12px; }
  .bs-home-theme .home-product-tap { font-size: 10px; }
  .bs-home-theme .home-between-banner { width: min(460px, 38vw); max-width: none; margin-block: 20px 24px; }
  .bs-home-theme .home-reels + .gallery-section { padding-top: 42px; }
  .bs-home-theme .gallery-container { width: min(1220px, calc(100% - 80px)); margin-inline: auto; gap: 28px; }
  .bs-home-theme .gallery-column { min-width: 0; }
  .bs-home-theme .gallery-item img { width: 100%; }
  .bs-home-theme .image-banner { width: min(1400px, calc(100% - 56px)); margin: 52px auto; }
  .bs-home-theme .image-banner img { display: block; width: 100%; height: auto; }

  /* Shop: five category tiles and four product cards per row. */
  .bs-shop-theme .store-hero { width: 100%; max-height: 680px; overflow: hidden; }
  .bs-shop-theme .store-hero-artwork { width: 100%; height: auto; object-fit: contain; }
  .bs-shop-theme .store-benefits { width: min(1360px, calc(100% - 80px)); margin: 32px auto 18px; gap: 14px; }
  .bs-shop-theme .store-benefits .benefit-item { flex: 1 1 0; min-width: 0; padding: 20px !important; }
  .bs-shop-theme .store-section, .bs-shop-theme .featured-products-section {
    width: min(1320px, calc(100% - 80px));
    margin: 45px auto 55px !important;
    padding: 0 !important;
  }
  .bs-shop-theme .section-header { margin-bottom: 22px; }
  .bs-shop-theme .section-header h2 { font-size: clamp(27px,2.1vw,36px); }
  .bs-shop-theme .category-slider-wrapper { overflow: visible; }
  .bs-shop-theme .category-slider-wrapper .category-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0,1fr)) !important;
    grid-auto-columns: auto !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    height: auto !important;
    gap: 18px 14px !important;
    padding: 4px !important;
    overflow: visible !important;
  }
  .bs-shop-theme .category-slider-wrapper .category-card {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 2.42 / 1 !important;
    overflow: hidden;
  }
  .bs-shop-theme .category-card > img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .bs-shop-theme .category-slider-wrapper .bs-scroll-indicator { display: none !important; }
  .bs-shop-theme .featured-slider-wrapper { overflow: visible; }
  .bs-shop-theme .featured-slider-wrapper .featured-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    grid-auto-columns: auto !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    gap: 18px !important;
    overflow: visible !important;
  }
  .bs-shop-theme .featured-card-link, .bs-shop-theme .featured-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .bs-shop-theme .featured-products-section .featured-card { height: 100%; }
  .bs-shop-theme .featured-products-section .product-thumb-container { min-height: 190px; }
  .bs-shop-theme .featured-products-section .featured-card .cart-btn.product-card-cart { width: 26px !important; height: 26px !important; font-size: 16px; }
  .bs-shop-theme .featured-slider-wrapper .bs-scroll-indicator { display: none !important; }
  .bs-shop-theme .mobile-shop-extras { display: block; width: min(1320px, calc(100% - 80px)); margin: 12px auto 55px; padding: 0; }
  .bs-shop-theme .mobile-promo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 0 0 45px; }
  .bs-shop-theme .mobile-promo-card { position: relative; display: block; height: 300px; overflow: hidden; color: #fff; text-decoration: none; }
  .bs-shop-theme .mobile-promo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .52; }
  .bs-shop-theme .mobile-promo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.83),transparent); pointer-events: none; }
  .bs-shop-theme .mobile-promo-copy { position: relative; z-index: 1; padding: 32px; }
  .bs-shop-theme .mobile-promo-copy h3 { margin: 0 0 12px; font-size: 32px; line-height: 1.05; }
  .bs-shop-theme .mobile-promo-copy p { color: #ddd; font-size: 14px; }
  .bs-shop-theme .mobile-promo-copy span { display: inline-block; margin-top: 12px; border: 1px solid #c95d0b; padding: 10px 16px; color: #ffad67; }
  .bs-shop-theme .mobile-section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
  .bs-shop-theme .mobile-section-title h2 { font-size: 30px; }
  .bs-shop-theme .mobile-section-title b { color: #f58220; }
  .bs-shop-theme .mobile-brand-row { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; overflow: visible; }
  .bs-shop-theme .brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 110px; font-size: 22px; font-weight: 800; text-align: center; }
  .bs-shop-theme .brand-tile small { font-size: 9px; }
  .bs-shop-theme .mobile-dots { display: none; }
  .bs-shop-theme .mobile-trust-panel { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-top: 35px; padding: 22px; }
  .bs-shop-theme .mobile-trust-panel > div { display: flex; align-items: flex-start; gap: 10px; }
  .bs-shop-theme .mobile-trust-panel i { font-size: 27px; }
  .bs-shop-theme .mobile-trust-panel p { margin: 0; }
  .bs-shop-theme .mobile-trust-panel strong, .bs-shop-theme .mobile-trust-panel span { display: block; }
  .bs-shop-theme .image-banner { width: min(1400px,calc(100% - 56px)); margin: 48px auto; }
  .bs-shop-theme .image-banner img { display: block; max-width: 100%; height: auto; }

  /* Catalog: narrow filters and a four-card browsing area. */
  .firearms-products .product-grid {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 18px !important;
  }
  .firearms-products .product-card { height: 100%; }
  .firearms-products .product-image { min-height: 205px; }
  .firearms-sidebar { width: 230px; flex: 0 0 230px; }
  .firearms-products .products-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
  .firearms-products .sort-box { margin-left: auto; }
  .product-details { width: min(1200px,calc(100% - 80px)); margin-inline: auto; gap: clamp(32px,5vw,75px); }
  .product-details-image { min-width: 0; }
  .product-details-image img { max-width: 100%; object-fit: contain; }

  /* Service and information pages: wider hero and balanced content columns. */
  .bs-info-hero { min-height: 470px; }
  .bs-info-hero-content { width: min(1200px,100%); padding: 92px 40px 65px; }
  .bs-info-main { width: min(1200px,100%); padding: 48px 40px 95px; }
  .bs-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .bs-about-services { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bs-info-card { padding: 28px; }
  .bs-info-map-card iframe { height: 440px; }
  .training-hero, .licence-hero { min-height: 500px !important; }
  .training-grid, .licence-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 25px !important; }
  .training-options { padding-top: 65px !important; }
  .assessment-section { padding-bottom: 100px !important; }
  .ptcfor-container { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 25px !important; }

  /* Transaction pages retain their forms but gain comfortable columns. */
  .checkout-page, .cart-page { width: min(1200px,calc(100% - 80px)); max-width: 1200px; margin-inline: auto; }
  .checkout-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(300px,.8fr); gap: 28px; align-items: start; }
  .checkout-sidebar { position: sticky; top: 110px; }
  .cart-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(300px,.8fr); gap: 28px; align-items: start; }
  .cart-item { grid-template-columns: 110px minmax(0,1fr) auto; gap: 20px; }
  .search-page { width: min(1200px,calc(100% - 80px)); margin-inline: auto; }
  .search-page .catalog-search { max-width: 650px; }
  .footer .footer-container { width: min(1320px,100%); max-width: 1320px !important; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .bs-shop-theme .featured-slider-wrapper .featured-grid,
  .firearms-products .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .bs-shop-theme .category-slider-wrapper .category-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
  .bs-shop-theme .mobile-brand-row { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
