/* Compact mobile scale. Touch controls keep a 44px target; content follows a smaller scale. */
[hidden] { display: none !important; }
body [data-ui-badge] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.4; text-align: center; max-width: 100%; }
@media (max-width: 767px) {
    html { scroll-padding-top: 80px; }
    body { font-size: 14px; }
    body .text-xs { font-size: .8125rem; line-height: 1.5; }
    body [data-ui-badge] { width: fit-content; min-height: 26px; padding: 5px 10px; font-size: .75rem; line-height: 1.35; letter-spacing: .015em; white-space: normal; }
    body [data-ui-badge] > i { flex: 0 0 auto; margin: 0; font-size: .75rem; }
    .site-header > div { height: 64px; }
    body:has(> .site-header) { padding-top: 64px; }
    .site-header .site-brand .site-logo { width: clamp(130px, 38vw, 152px); max-height: 46px; }
    .site-header [data-menu-open] { font-size: 1.25rem; }
    body .site-header > div { gap: 8px; }
    .page-index > section.py-32, .page-index > section.py-28, .page-index > section.py-24, .page-index > section.py-20 { padding-block: 40px; }
    .page-index .hero-bg { padding-top: 36px; padding-bottom: 32px; }
    .page-index .hero-bg h1 { font-size: clamp(1.875rem, 8vw, 2.5rem); line-height: 1.16; margin-bottom: 14px; }
    .page-index .hero-bg > div > p.flex { font-size: .875rem; line-height: 1.7; margin-bottom: 32px; }
    .page-index .hero-bg [data-ui-badge].absolute { white-space: nowrap; min-height: 26px; top: -13px; }
    .page-index .glass-widget { padding: 8px; border-radius: 28px; }
    .page-index .glass-widget > div { padding: 4px; border-radius: 24px; }
    .page-index .glass-widget > div > div { height: 52px; padding-inline: 4px; }
    .page-index .glass-widget button { height: 44px; min-height: 44px; padding-inline: 16px; margin-right: 0; font-size: .875rem; }
    .page-index .glass-widget input::placeholder { color: #64748b; }
    .page-index .hero-bg .mt-8 { margin-top: 20px; }
    .page-index section > .flex > h2 { font-size: 1.375rem; }
    .page-index [data-home-product] { padding: 12px; border-radius: 16px; }
    .page-index [data-home-product] > div { height: 80px; margin-bottom: 10px; border-radius: 10px; padding: 0; }
    .page-index [data-home-product] img { border-radius: 10px; }
    .page-index [data-home-product] h4 { font-size: .8125rem; line-height: 1.4; white-space: normal; min-height: 2.8em; }
    .page-index [data-home-product] p { font-size: 1.125rem; line-height: 1.4; }
    .page-index [data-home-product] p span { font-size: .75rem; }
    .page-index [data-home-product]:hover { transform: none; }
    .page-index #home-calculator { padding: 20px 16px; border-radius: 20px; }
    #home-calculator h2 { font-size: 1.5rem; line-height: 1.25; }
    #home-calculator > .flex { gap: 12px; padding-bottom: 16px; margin-bottom: 16px; }
    #home-calculator > .flex h3 { font-size: 1.375rem; line-height: 1.3; }
    #home-calculator > .flex p { color: #cffafe; font-size: .8125rem; line-height: 1.6; }
    #home-calculator > .flex > div:last-child { padding: 5px 10px; border-radius: 999px; min-height: 28px; font-size: .75rem; }
    #home-calculator .calculator-result { padding: 20px 14px; border-radius: 16px; }
    #home-calculator .calculator-result #hp-payout { font-size: 2.5rem; line-height: 1.2; }
    #home-calculator .calculator-result #hp-payout.is-long-amount { font-size: 1.5rem; }
    #home-calculator .grid { gap: 20px; }
    #home-calculator .calculator-action { font-size: .875rem; padding: 12px 10px; }
    #home-calculator label, .catalog-calculator label { font-size: .6875rem; letter-spacing: .05em; }
    #hp-qty-badge, #calc-qty-badge { padding: 4px 8px; font-size: .8125rem; border-radius: 8px; }
    #hp-slider, #calc-slider { height: 6px; }
    #hp-number, #calc-number { font-size: 1.125rem; padding: 4px; }
    #home-calculator .flex:has(> #hp-number), .catalog-calculator .flex:has(> #calc-number) { padding: 2px 8px; border-radius: 12px; }
    .page-index .recyclables-section h2 { font-size: 1.75rem; }
    .page-index .recyclables-section > div:first-child > p { font-size: .875rem; line-height: 1.7; }
    .page-index .recyclables-visual > .absolute { font-size: 1rem; padding: 8px; }
    .page-index .recyclables-image { width: min(60vw, 220px); }
    .page-index section > div > h2 { font-size: 1.625rem; margin-bottom: 16px; }
    .page-index .media-card { height: 76px; padding: 12px; }
    .page-index .media-card h3 { font-size: 1rem; }
    .page-index footer > div:first-child { margin-bottom: 28px; }
    .contact-banner { gap: 20px; padding: 20px; border-radius: 20px; }
    .contact-banner h3 { font-size: 1.5rem; line-height: 1.3; }
    .contact-banner .text-xl { font-size: 1rem; }
    .contact-banner .text-base, .contact-banner p { font-size: .875rem; line-height: 1.6; }
    .contact-banner button { min-height: 44px; padding: 10px 14px; font-size: .875rem; }
    .footer-brand .site-logo { width: 170px; }
    .page-rate-card .category-section { margin-bottom: 28px; }
    .page-rate-card main { padding-top: 24px; }
    .page-rate-card main > div:first-child { gap: 16px; margin-bottom: 20px; }
    .page-rate-card h1 { font-size: 1.875rem; line-height: 1.2; }
    .page-rate-card h1 + p { font-size: .875rem; line-height: 1.6; }
    .page-rate-card #searchInput { padding-block: 12px; border-radius: 12px; }
    .catalog-calculator .calculator-heading { gap: 12px; margin-bottom: 16px; padding-bottom: 16px; }
    .catalog-calculator .calculator-heading > div:last-child { padding: 5px 10px; border-radius: 999px; min-height: 28px; }
    .catalog-calculator .calculator-heading > div:last-child span { font-size: .6875rem; }
    .catalog-calculator .calculator-heading > div:last-child i { font-size: .75rem; }
    .catalog-calculator .calculator-layout > .space-y-6 > :not([hidden]) ~ :not([hidden]), #home-calculator .space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 16px; }
    .page-rate-card .category-heading { padding-bottom: 12px; margin-bottom: 16px; gap: 8px; }
    .page-rate-card .category-copy h2 { font-size: 1.125rem; line-height: 1.35; }
    .page-rate-card .category-copy p { font-size: .75rem; margin-top: 2px; }
    .page-rate-card .category-icon { width: 36px; height: 36px; flex-basis: 36px; font-size: 1rem; border-radius: 12px; }
    .page-rate-card .category-badge { margin-left: 48px; font-size: .6875rem; min-height: 25px; padding: 4px 8px; }
    .page-rate-card .category-section > .grid { gap: 12px; }
    .page-rate-card .product-card { grid-template-columns: 76px minmax(0,1fr); gap: 12px; padding: 14px; border-radius: 16px; }
    .page-rate-card .product-media { width: 76px; height: 76px; border-radius: 12px; }
    .page-rate-card .product-info .item-name { font-size: .9375rem; line-height: 1.4; }
    .page-rate-card .product-info > p { font-size: .8125rem; line-height: 1.5; margin-top: 4px; }
    .page-rate-card .product-badge { font-size: .75rem; min-height: 22px; padding: 3px 7px; margin-bottom: 5px; }
    .page-rate-card .product-footer { padding-top: 10px; gap: 10px; }
    .page-rate-card .product-rate .item-price { font-size: 1.25rem; }
    .page-rate-card .product-rate .item-price > span { font-size: .75rem; }
    .page-rate-card .product-actions { flex-basis: 162px; }
    .page-rate-card .product-actions > button { font-size: .8125rem; padding: 8px; }
    .page-rate-card .catalog-calculator { padding: 18px 14px; border-radius: 20px; }
    .catalog-calculator .calculator-heading h2 { font-size: 1.5rem; }
    .catalog-calculator .calculator-heading p { font-size: .875rem; line-height: 1.6; }
    .page-rate-card .catalog-calculator .calculator-result { padding: 18px 12px; border-radius: 16px; }
    .catalog-calculator #calc-total-payout { font-size: 2.5rem; }
    .page-rate-card footer { margin-top: 32px; padding-block: 32px; }
    .page-contact section.py-16, .page-contact section.py-20 { padding-block: 32px; }
    .page-contact h1 { font-size: 2rem; }
    .page-contact #main-content { padding-top: 32px; padding-bottom: 48px; }
    .page-contact #main-content p { font-size: .875rem; line-height: 1.7; }
    .page-contact .support-hours-card { flex-direction: row; justify-content: flex-start; padding: 16px; gap: 12px; }
    .page-contact .support-hours-card > div:first-child { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; font-size: 1.125rem; }
    .page-contact .support-hours-card > div:last-child { text-align: left; }
    .page-contact .support-hours-card h3 { font-size: 1rem; }
    .page-contact .support-hours-card p { font-size: .75rem; line-height: 1.6; }
    .page-contact .grid { gap: 14px; }
    .page-contact .grid > .p-6 { padding: 20px; border-radius: 16px; }
    .page-contact .grid > div > .w-14 { width: 44px; height: 44px; font-size: 1.125rem; margin-bottom: 14px; }
    .page-contact a[href^="mailto:"] { font-size: 1rem; overflow-wrap: anywhere; word-break: normal; }
    .page-contact [data-ui-badge].absolute { top: 14px; right: 14px; }
    .page-blog .blog-filter-bar { top: 64px; }
    .page-blog #main-content { padding-block: 32px; }
    .page-blog #main-content h1 { margin-bottom: 12px; }
    .page-blog #main-content p { font-size: .875rem; line-height: 1.7; }
    .page-blog .blog-filter-bar { padding-block: 8px; }
    .page-blog #tag-filters { gap: 8px; padding-bottom: 0; }
    .page-blog #tag-filters .tag-pill { padding-inline: 14px; font-size: .8125rem; }
    .page-blog main { padding-block: 24px; }
    .page-blog .article-card > .p-6 { padding: 16px; }
    .page-blog .article-card > .h-56 { height: auto; aspect-ratio: 16 / 9; }
    .page-blog .article-card h2, .page-blog .article-card h3 { font-size: 1.125rem; line-height: 1.4; }
    .page-blog .article-card:hover { transform: none; }
    .page-blog section.py-20 { padding-block: 32px; }
    .page-blog h1, .page-about h1, .page-terms h1 { font-size: 2rem; line-height: 1.2; }
    .page-about main, .page-terms main { padding-block: 32px; }
    .page-about main .p-8, .page-terms main .p-8 { padding: 20px; }
    .page-about main .mb-12 { margin-bottom: 24px; }
    .page-terms main .space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 24px; }
    .account-page { padding: 24px 16px; }
    .account-layout { gap: 20px; }
    .account-intro h1 { font-size: 1.75rem; line-height: 1.2; }
    .profile-title { font-size: 1.375rem; line-height: 1.3; }
    .profile-description { font-size: .875rem; margin-bottom: 20px; }
    .account-card { padding: 20px 16px; border-radius: 16px; }
    .pickup-header { padding-block: 12px; }
    .pickup-layout { margin: 20px auto; padding-inline: 16px; }
    .pickup-intro h1 { font-size: 1.75rem; margin: 8px 0 12px; }
    .pickup-intro > p { font-size: .875rem; }
    .pickup-intro .account-eyebrow { font-size: .6875rem; }
}
