/* TP47 — Accessibility + mobile UX hardening */

/* Stronger text contrast without changing the brand palette */
.tp31-kicker,
.tp42-reviews__head .tp31-kicker,
.tp39-newsroom__head .tp31-kicker{color:#9a4a00!important}
.tp31-hero h1 em{color:#d86e08!important}
.tp31-hero__badge span,
.tp31-service-item__copy small,
.tp31-product-tabs__help>span{color:#9a4a00!important}
.tp31-hero__note{color:#586f7c!important}
.tp31-service-item__index,
.tp31-product-tab span,
.tp31-product-card__cat,
.tp31-product-card__price del,
.tp31-product-card__price small{color:#566d79!important}
.tp43-review-source__brand small{color:#536a76!important}
.tp43-review-source--google .tp43-review-source__meta{color:#536a76!important}
.tp42-review__top small{color:#5d717c!important}
.tp42-reviews__footer>span{color:#5b707b!important}
.tp42-review--compact p{color:#3f5662!important}
.tp39-news-meta{color:#536a76!important}
.tp39-news-brief__copy>span{color:#b45800!important}

/* Keyboard focus */
.tp32-header a:focus-visible,
.tp32-header button:focus-visible,
.tp31-product-tab:focus-visible,
.tp31-product-pagination button:focus-visible,
.tp31-product-panel__all:focus-visible,
.tp43-review-source:focus-visible,
.tp42-reviews__footer a:focus-visible,
.tp45-footer a:focus-visible,
.tp31-mobile-dock a:focus-visible{
  outline:3px solid #0b5f91!important;
  outline-offset:3px!important;
  border-radius:8px;
}

/* Google Maps is the single priority review source */
.tp43-review-sources--google-only{grid-template-columns:1fr!important;max-width:none!important}
.tp43-review-sources--google-only .tp43-review-source--google{min-height:0!important}
.tp42-reviews__list-label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 8px;color:#506773}
.tp42-reviews__list-label span{font-size:11px;font-weight:800;letter-spacing:.08em;color:#405965}
.tp42-reviews__list-label small{font-size:11px;line-height:1.45;color:#5a707b}

/* Minimum practical touch targets */
.tp31-product-pagination__nav,
.tp31-product-pagination__page{min-width:44px!important;min-height:44px!important;padding:8px 12px!important}
.tp31-product-panel__all{min-height:44px;display:inline-flex!important;align-items:center}
.tp42-reviews__footer>a{min-height:44px;display:inline-flex!important;align-items:center}
.tp43-review-source--google>b{min-height:44px;display:inline-flex!important;align-items:center!important}
.tp45-footer__brand-actions a{min-height:44px;display:flex;align-items:center}

@media(max-width:860px){
  .tp32-mobile-toggle{min-width:48px!important;min-height:48px!important;padding:12px!important}
  .tp32-mobile-menu>a,
  .tp32-mobile-menu__actions>a{min-height:48px!important;display:flex!important;align-items:center!important}
  .tp31-product-tabs{display:block!important;overflow:visible!important}
  .tp31-product-tabs__list{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
  .tp31-product-tab{min-height:52px!important;flex:0 0 190px!important;scroll-snap-align:start}
  .tp31-mobile-dock>a{min-height:64px!important}
  .tp45-footer__col>a{min-height:44px;display:flex;align-items:center}
}

@media(max-width:700px){
  .tp42-reviews__list-label{align-items:flex-start;flex-direction:column;gap:3px;margin-top:14px}
  .tp42-reviews .tp42-reviews__grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:minmax(275px,88vw)!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:2px;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    padding:2px 2px 12px!important;
    margin-right:-14px!important;
    scrollbar-width:thin;
  }
  .tp42-review--compact{scroll-snap-align:start;scroll-snap-stop:always;height:100%}
}

@media(max-width:560px){
  .tp43-review-source--google .tp43-review-source__meta{gap:7px 11px!important}
  .tp43-review-source--google .tp43-review-source__meta span+span{padding-left:12px!important}
  .tp43-review-source--google>b{margin-top:8px!important;font-size:13px!important}
  .tp42-reviews__footer>a{margin-top:6px!important}
}

.tp45-footer__address>a{display:flex;flex-direction:column;gap:2px;color:inherit;text-decoration:none}
.tp45-footer__address>a strong{color:inherit}
.tp45-footer__address>a span{color:inherit}
.tp45-footer__address em{display:block;margin-top:6px;font-size:11px;line-height:1.45;font-style:normal;color:#d9e3e8}

/* Final contrast + touch-target pass */
.tp45-footer__quote span{color:#536a76!important}
.tp31-products .tp31-section-head p{color:#566d79!important}
.tp56-qr-card__text small,
.tp56-mobile-menu__head small{color:#5f7480!important}

@media(max-width:860px){
  .tp56-quote{min-height:48px!important}
  .tp56-header .tp32-mobile-toggle{min-width:48px!important;min-height:48px!important}
  .tp31-section-head>a,
  .tp39-newsroom__head>a{min-height:36px;display:inline-flex!important;align-items:center;padding:7px 0!important}
  .tp31-product-card__meta>a{min-height:32px;display:inline-flex;align-items:center;padding:6px 0}
}

/* TP47.2 — sitewide WCAG contrast + tap-target pass */
.tp56-qr-card__text small{color:#536a76!important}
.tp56-header .tp32-products-menu__grid small{color:#536a76!important}
.tp45-footer__quote span{color:#4f6672!important}

.tp48-allcats__links small,
.tp48-mode-card p,
.tp48-library-head>p{color:#536a76!important}
.tp48-route-card small{color:#b8cbd4!important}
.tp48-category-card__body p{color:#536a76!important}
.tp48-mode-card--accent p{color:#c3d3db!important}

.tp31-story small,
.tp31-story p,
.tp31-hero__badge small{color:#536a76!important}
.tp31-story__body>span,
.tp31-why-grid span,
.tp31-product-card__price{color:#9a4a00!important}
.tp51-read-link{min-height:44px;display:inline-flex;align-items:center;padding:8px 0!important}
.tp51-story-meta a{min-height:44px;display:inline-flex;align-items:center;padding:8px 2px}
.tp51-post-pagination .page-numbers{min-width:44px!important;height:44px!important}
.tp51-topic-strip__inner>a small,
.tp51-story-meta a,
.tp51-story-meta span,
.tp51-blog-card__body>p,
.tp51-section-head>p{color:#536a76!important}

.tp54-contact-hero__meta b,
.tp54-breadcrumb span{color:#b8cbd4!important}
.tp54-section-head>div>span,
.tp54-map-placeholder>span,
.tp54-action-card>span{color:#9a4a00!important}
.tp54-action-card p,
.tp54-section-head>p,
.tp54-contact-content .lead{color:#536a76!important}
.tp54-contact-content .wpcf7 input::placeholder,
.tp54-contact-content .wpcf7 textarea::placeholder{color:#5b707b!important;opacity:1!important}

.tp57-eyebrow,
.tp57-section-head span,
.tp57-section-label span,
.tp57-cta span,
.tp57-cap-grid>a>span,
.tp57-doc-card>div>span,
.tp57-process__grid article>span,
.tp57-viewer__placeholder>span{color:#9a4a00!important}
.tp57-breadcrumb,
.tp57-breadcrumb a,
.tp57-hero__meta small,
.tp57-section-head>p,
.tp57-cap-grid p,
.tp57-doc-card p,
.tp57-process__grid p,
.tp57-cta p{color:#536a76!important}

.tp48-shop-products .tp29-product-card__index,
.tp49-category-products .tp29-product-card__index{color:#536a76!important}
.tp48-shop-products .tp29-product-card__price,
.tp49-category-products .tp29-product-card__price{color:#9a4a00!important}
.tp49-category-hero__actions a:first-child,
.tp49-help-strip>a,
.tp49-content-rail__contact a{background:#b75804!important;border-color:#b75804!important;color:#fff!important}

.tp49-category-hero__stamp small,
.tp49-category-note figcaption,
.tp49-category-seo-copy figcaption{color:#536a76!important}

@media(max-width:860px){
  .tp-mobile-bar .tp-call,
  .tp-mobile-bar .tp-call-label{color:#9a4a00!important}
  .tp-mobile-bar .tp-quote .tp-icon{color:#a95005!important}
  .tp51-read-link{min-height:44px;display:inline-flex;align-items:center;padding:8px 0!important}
  .tp51-story-meta a{min-height:44px;display:inline-flex;align-items:center;padding:8px 2px}
  .tp51-post-pagination .page-numbers{min-width:44px!important;height:44px!important}
  .tp51-topic-strip__inner>a{min-height:54px!important}
  .tp54-action-card{min-height:196px}
  .tp54-action-card>b{min-height:44px;display:inline-flex;align-items:center}
  .tp57-section-head--viewer>a{min-height:44px;display:inline-flex;align-items:center}
  .tp57-doc-card a{min-height:44px;display:inline-flex;align-items:center}
}

.tp54-contact-hero__panel a,
.tp54-contact-content .wpcf7 input[type=submit]{background:#b75804!important;color:#fff!important}

/* TP60 — Product detail contrast hardening */
.tp50-related-grid .tp29-product-card__index,
.tp50-content-rail__support p,
.tp50-section-head>p,
.tp50-spec-row dt,
.tp50-breadcrumb span,
.tp50-summary__topline i,
.tp50-decision-grid small,
.tp50-commercial__head small,
.tp50-commercial__price small,
.tp50-btn--phone small,
.tp50-assurance small,
.tp50-content-rail__box a b,
.tp50-article figcaption{color:#536a76!important}
.tp50-assurance>div>span{color:#9a4a00!important}
.tp50-btn--primary,
.tp50-native-cart .single_add_to_cart_button,
.tp50-project-card>a,
.tp50-content-rail__support a,
.tp50-article-cta>a{background:#b75804!important;color:#fff!important}

/* TP60 — Article contrast hardening */
.tp53-breadcrumb span{color:#b8cbd4!important}
.tp53-article-meta b{color:#aebfc7!important}
.tp53-article-cover figcaption span,
.tp53-toc>span,
.tp53-editor-note>span,
.tp53-article-tags>span{color:#9a4a00!important}
.tp53-toc a i,
.tp53-prose figcaption{color:#536a76!important}
.tp53-article-end>a,
.tp53-related-feature__media>span{background:#b75804!important;color:#fff!important}

.tp53-prose .kk-star-ratings .kksr-muted,
.tp53-prose .kk-star-ratings .kksr-legend{color:#536a76!important;opacity:1!important}

.tp50-related-grid .tp29-product-card__price{color:#9a4a00!important}

.tp39-news-column__title>span,
.tp39-newsroom__head>a span{color:#9a4a00!important}

.tp49-category-products .tp29-product-card__price del{color:#536a76!important;opacity:1!important}

@media(prefers-reduced-motion:reduce){
  .tp42-reviews .tp42-reviews__grid{scroll-behavior:auto!important}
}
