/* JWWSL_MOBILE_DEEP_20261118A
   Site-specific pass for jwwsl.com. The baseline already had two-column
   catalog/product cards and a working drawer with expandable categories. */
@media (max-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 62px;
  }

  .hamburger,
  .nav-close,
  .main-nav.open > a,
  .main-nav.open .nav-drop-toggle,
  .dropdown-menu a,
  .btn-primary,
  .btn-outline,
  .btn-dark,
  .btn-light,
  .kb-cat,
  .pagination a,
  .pagination span,
  .faq-item summary,
  .product-faq-seo summary {
    min-height: 44px;
  }

  /* Preserve the editorial hero while reducing its 919px mobile opening. */
  .jw-hero {
    padding: 38px 0 30px;
  }

  .jw-hero__inner {
    gap: 30px;
  }

  .jw-hero__content h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  .jw-hero__content > p {
    font-size: 13px;
    line-height: 1.7;
  }

  .jw-hero__visual {
    height: 320px;
  }

  .jw-hero__note {
    bottom: 12px;
    padding: 14px 16px;
  }

  .jw-hero__note strong {
    font-size: 19px;
    line-height: 1.15;
  }

  .jw-hero__proof {
    margin-top: 20px;
    line-height: 1.5;
  }

  .cat-bento {
    grid-auto-rows: 170px;
  }

  .cat-tile-overlay {
    padding: 13px;
  }

  .cat-tile-overlay h3,
  .cat-tile-1 .cat-tile-overlay h3 {
    font-size: 23px;
  }

  .product-grid,
  .collection-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 11px;
  }

  .product-card,
  .product-info,
  .product-info h3 {
    min-width: 0;
  }

  .product-info h3 {
    min-height: 44px;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .product-view {
    min-height: 30px;
  }

  /* Home guides are editorial cards, not the knowledge-index cards below. */
  .jw-guides .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .jw-guides .article-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .jw-guides .article-card-body {
    padding: 16px 4px 14px;
  }

  .jw-guides .article-number {
    font-size: 18px;
  }

  .jw-guides .article-card-body h3 {
    margin: 12px 0 0;
    font-size: 19px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .jw-guides .article-card-body p {
    display: none;
  }

  /* Knowledge categories stay on one horizontally scrollable row. */
  .kb-cats {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: 100%;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .kb-cats::-webkit-scrollbar {
    display: none;
  }

  .kb-cat {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .kb-cats + .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .kb-cats + .article-grid .article-card {
    min-width: 0;
    padding: 15px 12px;
    border: 1px solid var(--line);
    background: var(--bg);
  }

  .kb-cats + .article-grid .article-cat {
    font-size: 9px;
    line-height: 1.4;
  }

  .kb-cats + .article-grid h3 {
    margin: 10px 0 8px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .kb-cats + .article-grid p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  /* Product buying order: identity, gallery, quote, then long copy. */
  .product-detail-seo {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .product-summary-seo {
    display: contents;
  }

  .product-summary-seo > .eyebrow {
    order: 1;
  }

  .product-summary-seo > h1 {
    order: 2;
    margin: 8px 0 10px;
    font-size: 28px;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .product-summary-seo > .product-sku {
    order: 3;
  }

  .product-detail-seo > .product-gallery-seo {
    order: 4;
    margin-top: 18px;
    margin-bottom: 22px;
  }

  .product-summary-seo > .product-quote-box {
    order: 5;
    margin: 0 0 24px;
  }

  .product-summary-seo > .product-lead {
    order: 6;
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.75;
  }

  .product-summary-seo > .product-facts {
    order: 7;
    margin-bottom: 8px;
  }

  .product-gallery-main img {
    aspect-ratio: 4 / 3;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .product-gallery-thumb {
    min-width: 0;
    min-height: 0;
  }

  .product-quote-box {
    padding: 18px;
  }

  .product-quote-box dl div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }

  .product-quote-box dd {
    overflow-wrap: anywhere;
  }

  .product-quote-box .btn-primary {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .product-facts li {
    max-width: 100%;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .product-spec-table th,
  .product-spec-table td {
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  /* These four-card groups were forced to one column below 520px. */
  .steps,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .step,
  .feature {
    min-width: 0;
    padding: 20px 14px;
  }

  .step h3,
  .feature h3 {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
  }

  .step p,
  .feature p {
    font-size: 11px;
    line-height: 1.6;
  }

  .custom-intro {
    font-size: 13px;
    line-height: 1.75 !important;
  }

  .hero-sm {
    padding: 45px 0 38px;
  }

  .hero-sm h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  .article-page > h1 {
    font-size: 32px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .article-page .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .article-page .cta-row .btn {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  /* About proof grids use inline desktop styles in the source template. */
  .about-stat {
    padding: 20px 12px;
  }

  .trust-num {
    font-size: 28px;
  }

  .hc-process,
  .hc-certs {
    padding: 42px 0 !important;
  }

  .hc-process > div,
  .hc-certs > div {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .hc-process > div > div[style*="display:grid"],
  .hc-certs > div > div[style*="display:grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
  }

  .hc-process figure,
  .hc-certs figure {
    min-width: 0;
  }

  .hc-process figure img {
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 5px !important;
  }

  .hc-process figcaption,
  .hc-certs figcaption {
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  .footer-grid {
    gap: 30px 20px;
  }

  .footer-col,
  .footer-brand {
    min-width: 0;
  }

  .footer-col a,
  .footer-address,
  .footer-brand p {
    overflow-wrap: anywhere;
  }

  /* The single 47px mobile circle becomes three labeled contact actions. */
  body a.desktop-contact-float {
    display: none !important;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 500;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 62px;
    background: #fcfbf8;
    border-top: 1px solid #d9ddd8;
    box-shadow: 0 -6px 20px rgba(12, 21, 17, .13);
  }

  .mobile-contact-bar a {
    display: flex;
    min-width: 0;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
    color: #142019;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
  }

  .mobile-contact-bar a + a {
    border-left: 1px solid #e1e4df;
  }

  .mobile-contact-bar a:first-child {
    background: #142019;
    color: #f4f0e7;
  }

  .mobile-contact-bar a:last-child {
    color: #126b37;
  }

  .mobile-contact-bar svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }
}

@media (min-width: 601px) {
  .mobile-contact-bar {
    display: none;
  }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .main-nav,
  .product-gallery-main img,
  .product-card,
  .product-img-wrap img {
    transition: none !important;
  }
}


/* JWW_MOBILE_STICKY_20261119A — keep mobile navigation visible while scrolling */
@media(max-width:768px){
  html,body{overflow-x:clip}
  .site-header{position:sticky;top:0;z-index:100}
}
