/* Shared high-contrast dark theme. Keep original JW logo and photos unfiltered. */
html[data-jw-theme="dark"]{color-scheme:dark;--jw-dark-bg:#1a1a1a;--jw-dark-panel:#1a1a1a;--jw-dark-panel2:#1a1a1a;--jw-dark-text:#f5f5f5;--jw-dark-muted:#e5e5e5;--jw-dark-link:#e5e8e6}
html[data-jw-theme="dark"] body{background:var(--jw-dark-bg)!important;color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] .site-header,html[data-jw-theme="dark"] .header-top,html[data-jw-theme="dark"] .utility,html[data-jw-theme="dark"] .main-nav,html[data-jw-theme="dark"] .nav-row,html[data-jw-theme="dark"] .jw-back-home{background:var(--jw-dark-panel)!important;color:var(--jw-dark-text)!important;filter:none!important;border-color:#333333!important}
html[data-jw-theme="dark"] .site-header a:not(.jw-header-contact):not(.button),html[data-jw-theme="dark"] .jw-back-home a{color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] .jw-header-contact,html[data-jw-theme="dark"] .jw-motion-toggle{background:var(--jw-dark-panel2)!important;color:var(--jw-dark-text)!important;border-color:#e5e8e6!important}
html[data-jw-theme="dark"] .jw-search,html[data-jw-theme="dark"] .jw-search-panel,html[data-jw-theme="dark"] .jw-search-input,html[data-jw-theme="dark"] .jw-search-filters select{background:var(--jw-dark-panel2)!important;color:var(--jw-dark-text)!important;border-color:#22c55e!important}
html[data-jw-theme="dark"] input::placeholder,html[data-jw-theme="dark"] textarea::placeholder{color:#e5e5e5!important;opacity:1}
html[data-jw-theme="dark"] .jw-search-results a,html[data-jw-theme="dark"] .jw-search-note,html[data-jw-theme="dark"] .jw-search-panel-heading{color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] .jw-search-results a:hover,html[data-jw-theme="dark"] .jw-search-results a[aria-selected=true]{background:#1a1a1a!important}
html[data-jw-theme="dark"] main:not(#top),html[data-jw-theme="dark"] main#top,html[data-jw-theme="dark"] .categories,html[data-jw-theme="dark"] .prefooter,html[data-jw-theme="dark"] #jw-home-faq{background:var(--jw-dark-bg)!important;color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] main section:not(.hero):not(.feature-banner-prototype){filter:none!important}
html[data-jw-theme="dark"] .categories h2,html[data-jw-theme="dark"] .categories p,html[data-jw-theme="dark"] .categories a,html[data-jw-theme="dark"] .catalog-page h1,html[data-jw-theme="dark"] .catalog-page h2,html[data-jw-theme="dark"] .catalog-page h3,html[data-jw-theme="dark"] .catalog-page p,html[data-jw-theme="dark"] .catalog-page .department-nav a{color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] :is(.category-tile,.product-card,.department-subtile,.resource-card,.jw-contact-card,.jw-wins-main>section,.jw-intel-main>section,.jw-login-main>section,.photo-credits,.prefooter-grid>div,.jw-faq-list details,.feature-map-item,.jw-search-quickview){background:var(--jw-dark-panel)!important;color:var(--jw-dark-text)!important;border-color:#333333!important}
html[data-jw-theme="dark"] :is(.catalog-page,.concept-view,.jw-contact-main,.jw-wins-main,.jw-intel-main,.jw-login-main,.photo-credits) :is(h1,h2,h3,h4,p,li,label,summary,strong,small,span){color:var(--jw-dark-text)}
html[data-jw-theme="dark"] :is(.catalog-page,.concept-view,.jw-contact-main,.jw-wins-main,.jw-intel-main,.jw-login-main,.photo-credits) a:not(.button):not(.jw-contact-cta){color:var(--jw-dark-link)}
html[data-jw-theme="dark"] :is(.catalog-page,.jw-contact-main,.jw-wins-main,.jw-intel-main,.jw-login-main) :is(input,textarea,select){background:var(--jw-dark-panel2)!important;color:var(--jw-dark-text)!important;border-color:#e5e8e6!important}
html[data-jw-theme="dark"] :is(.catalog-page,.jw-wins-main,.jw-intel-main,.jw-contact-main) :is(button,.button):not(.jw-contact-cta){color:var(--jw-dark-text);border-color:#e5e8e6}
html[data-jw-theme="dark"] :is(.catalog-page,.jw-wins-main,.jw-intel-main,.jw-contact-main) :is(button,.button):hover{filter:brightness(1.15)!important}
html[data-jw-theme="dark"] :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #e5e8e6!important;outline-offset:3px}
html[data-jw-theme="dark"] :is(button,input,textarea,select):disabled{opacity:.65}
html[data-jw-theme="dark"] #jw-global-footer{background:#166534!important;color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] #jw-global-footer :is(a,p,span,b,strong){color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] .hero,html[data-jw-theme="dark"] .catalog-page .department-hero,html[data-jw-theme="dark"] .jw-wins-hero,html[data-jw-theme="dark"] .jw-intel-hero{color:#fff!important}
html[data-jw-theme="dark"] .hero :is(h1,h2,h3,p,span),html[data-jw-theme="dark"] .catalog-page .department-hero :is(h1,h2,h3,p,span),html[data-jw-theme="dark"] .jw-wins-hero :is(h1,h2,h3,p,span),html[data-jw-theme="dark"] .jw-intel-hero :is(h1,h2,h3,p,span){color:inherit!important}
html[data-jw-theme="dark"] .hero :is(.button,button){color:#1a1a1a!important}

/* Keep every text-bearing white card readable; do not repaint the photo-backed hero. */
html[data-jw-theme="dark"] :is(.feature-card,.category-tile,.product-card,.department-subtile,.jw-faq-rail,.jw-faq-list details,.resource-card,.jw-search-panel,.jw-search-quickview,.jw-contact-card,.jw-wins-main article,.jw-intel-main article){background:var(--jw-dark-panel)!important;color:var(--jw-dark-text)!important;border-color:#7b7b7b!important}
html[data-jw-theme="dark"] :is(.feature-card,.category-tile,.product-card,.department-subtile,.jw-faq-rail,.jw-faq-list details,.resource-card) :is(h2,h3,h4,p,span,small,strong,a,summary){color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] .hero{color:#1a1a1a!important}
html[data-jw-theme="dark"] .hero :is(h1,h2,h3,p,span){color:#1a1a1a!important}
html[data-jw-theme="dark"] .hero .hero-proof span{background:#1a1a1a!important;color:#fff!important}
html[data-jw-theme="dark"] :is(.jw-wins-hero,.jw-intel-hero,.catalog-page .department-hero) :is(h1,h2,h3,p,span){color:#fff!important}
html[data-jw-theme="dark"] .jw-login-disclosure{background:#1a1a1a!important;color:#f5f5f5!important;border-left-color:#22c55e!important}
html[data-jw-theme="dark"] :is(.cart,.jw-faq-cta,.catalog-page .department-hero a){color:#1a1a1a!important}
html[data-jw-theme="dark"] .jw-wins-main :is(.jw-wins-cta a,.jw-wins-hero a){color:#1a1a1a!important}
html[data-jw-theme="dark"] .navline summary{color:#f5f5f5!important}
html[data-jw-theme="dark"] .jw-reveal:not(.jw-visible){opacity:1!important;transform:none!important}
html[data-jw-theme="dark"] .categories :is(h2,h3,p,a,span){color:#f5f5f5!important}
html[data-jw-theme="dark"] .category-tile :is(h2,h3,p,a,span){color:#f5f5f5!important}
html[data-jw-theme="dark"] .hero .button{color:#1a1a1a!important}
html[data-jw-theme="dark"] :is(.catalog-page,.department-layout,.department-main,.department-rail,.department-nav,.category-list,.subcategory-grid,.catalog-sidebar){background:var(--jw-dark-bg)!important;color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] :is(.catalog-page,.department-layout,.department-main,.department-rail,.department-nav,.category-list,.subcategory-grid,.catalog-sidebar) :is(h1,h2,h3,h4,p,small,strong,span,label,summary){color:var(--jw-dark-text)!important}
html[data-jw-theme="dark"] :is(.catalog-page,.department-layout,.department-main,.department-rail,.department-nav,.category-list,.subcategory-grid,.catalog-sidebar) a:not(.button){color:var(--jw-dark-link)!important}
html[data-jw-theme="dark"] .catalog-page .department-hero :is(h1,h2,h3,h4,p,small,strong,span,label,summary){color:#fff!important}
html[data-jw-theme="dark"] .catalog-page .department-hero a{color:#1a1a1a!important}
html[data-jw-theme="dark"] main#concept-views{background:var(--jw-dark-bg)!important}
html[data-jw-theme="dark"] .categories{background:var(--jw-dark-bg)!important}
html[data-jw-theme="dark"] .category-tile{background:var(--jw-dark-panel)!important}
html[data-jw-theme="dark"] .catalog-page :is(.catalog-breadcrumb,.catalog-breadcrumb a,.catalog-breadcrumb span){color:#e5e5e5!important}
html[data-jw-theme="dark"] .catalog-page .department-subtile{background:#1a1a1a!important;color:#f5f5f5!important}
html[data-jw-theme="dark"] .catalog-page .department-subtile :is(span,small,strong){color:#f5f5f5!important}
html[data-jw-theme="dark"] .site-header :is(.cart,.cart a){background:#166534!important;color:#fff!important}
html[data-jw-theme="dark"] .jw-home-faq .jw-faq-cta{background:#166534!important;color:#fff!important}
/* Buttons on solid green need a white foreground, including nested links. */
html[data-jw-theme="dark"] :is(.jw-faq-cta,.site-header .cart,.site-header .cart a){color:#fff!important}
/* Native switch stays readable even where older page styles set dark text. */
html[data-jw-theme="dark"] .jw-motion-toggle{background:#1a1a1a!important;color:#f5f5f5!important}
html[data-jw-theme="dark"] .jw-wins-main :is(.jw-wins-cta a,.jw-wins-hero a){color:#fff!important}
html[data-jw-theme="dark"] .catalog-page .department-hero a{color:#fff!important}
/* Preserve the bright commercial kitchen photograph in both modes. */
html[data-jw-theme="dark"] .hero:before{background:linear-gradient(90deg,rgba(245,245,245,.90),rgba(245,245,245,.80) 47%,rgba(23,23,23,.14)),url('/chef-2977514-hero.jpg') center 55%/cover!important}
@media(max-width:720px){html[data-jw-theme="dark"] .hero:before{background:linear-gradient(180deg,rgba(245,245,245,.87),rgba(245,245,245,.75) 58%,rgba(23,23,23,.10)),url('/chef-2977514-mobile.jpg') center/cover!important}}
