/* ============================================================
   Royal Steel and Hardware – Responsive Overrides
   ============================================================ */

/* --- Large desktops --- */
@media (min-width: 1400px) {
    .container { max-width: 1280px; }
}

/* --- Below 1200px --- */
@media (max-width: 1199.98px) {
    .hero-headline { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
    .section-intro,
    .section-categories,
    .section-featured,
    .section-why,
    .section-values,
    .section-range,
    .section-about,
    .section-product-detail,
    .section-related { padding: 4.5rem 0; }
}

/* --- Below 992px (tablet) --- */
@media (max-width: 991.98px) {
    .rsh-nav-links { padding-top: 1rem; }
    .rsh-nav-links .nav-link { padding: .7rem 0 !important; }
    .rsh-nav-links .nav-link::after { left: 0; right: auto; width: 28px; bottom: .45rem; }
    .rsh-navbar .navbar-collapse {
        border-top: 1px solid rgba(255, 255, 255, .08);
        margin-top: .8rem;
    }
    .btn-nav-quote { width: 100%; }
    .hero-swiper { height: clamp(480px, 78vh, 640px); }
    .hero-scroll-hint { display: none; }
    .cta-inner { flex-direction: column; text-align: center; padding: 2rem 1.6rem; }
    .cta-actions { justify-content: center; width: 100%; }
    .cta-actions .btn { flex: 1 1 220px; }
    .about-image-accent { display: none; }
    .about-image-wrap { max-width: 400px; margin: 0 auto; }
    .intro-badge { right: 16px; bottom: -18px; }
    .detail-actions .btn { flex: 1 1 200px; }
}

/* --- Below 768px (large phones) --- */
@media (max-width: 767.98px) {
    body { line-height: 1.6; }
    .hero-swiper { height: clamp(440px, 72vh, 580px); }
    .hero-headline { font-size: clamp(1.95rem, 8vw, 2.8rem); }
    .hero-sub { font-size: 1rem; margin-bottom: 1.6rem; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-pagination { bottom: 16px !important; }
    .page-hero { padding: 5rem 0 3.2rem; }
    .page-hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
    .section-title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
    .section-head { margin-bottom: 1.8rem; }
    .trust-item { font-size: .82rem; }
    .trust-item i { font-size: 1rem; }
    .product-toolbar { flex-direction: column; align-items: stretch; }
    .product-search-wrap { max-width: 100%; }
    .product-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .35rem; }
    .filter-btn { white-space: nowrap; flex: 0 0 auto; }
    .product-filters::-webkit-scrollbar { height: 4px; }
    .product-filters::-webkit-scrollbar-thumb { background: var(--rsh-border); border-radius: 4px; }
    .quotation-form-card { padding: 1.5rem; }
    .contact-details-box { padding: 1.6rem; }
    .footer-top { padding: 3rem 0 2rem; }
    .float-whatsapp { bottom: 72px; right: 18px; width: 52px; height: 52px; font-size: 1.4rem; }
    .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
    .team-social { bottom: 0; padding: .8rem; }
}

/* --- Below 576px (small phones) --- */
@media (max-width: 575.98px) {
    .brand-name { font-size: 1.15rem; }
    .brand-sub { font-size: .64rem; letter-spacing: 2px; }
    .brand-mark { width: 130px; font-size: 1rem; }
    .hero-slide-content { padding-top: 1rem; }
    .hero-actions .btn { width: 100%; }
    .cta-actions .btn { width: 100%; flex: 1 1 100%; }
    .intro-badge { position: static; margin-top: 1rem; justify-content: center; }
    .range-grid { grid-template-columns: 1fr 1fr; }
    .range-item { font-size: .82rem; padding: .8rem .8rem; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; }
    .detail-actions .btn { width: 100%; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .about-owner-card { left: 12px; bottom: -16px; padding: .7rem 1rem; }
    .lightbox { padding: 1rem; }
    .lightbox-close { top: 12px; right: 12px; width: 42px; height: 42px; }
    .map-header { flex-direction: column; align-items: flex-start; }
}

/* --- Print --- */
@media print {
    .site-header, .site-footer, .float-whatsapp, .back-to-top,
    .hero-section, .section-cta, .btn { display: none !important; }
    body { color: #000; }
}