/* Wach yellow: brand color is an accent; content stays light and readable. */
:root{
  --wach-yellow:#ffd43b;
  --wach-yellow-hover:#f2c529;
  --wach-yellow-soft:#fff8d8;
  --wach-text:#202020;
  --wach-border:#e6e1d5;
  --wach-surface:#fff;
  --wach-bg:#f8f8f5;
  --wach-yellow-ink:var(--wach-text);
  --wach-yellow-muted:#66635a;
  --wach-yellow-line:var(--wach-border);
  --blue:#755900;
  --blue-2:#806000;
  --blue-dark:#202020;
  --ink:var(--wach-text);
  --muted:var(--wach-yellow-muted);
  --line:var(--wach-border);
  --soft:var(--wach-bg);
  --surface:var(--wach-surface);
  --surface-alt:#faf9f5;
  --shadow:0 6px 22px #302a160b;
}
html:has(body.wach-yellow-theme){background:var(--wach-bg);color-scheme:light}
html body.wach-yellow-theme,
html body.wach-yellow-theme .app-shell,
html body.wach-yellow-theme main.main,
html body.wach-yellow-theme .page-overlay,
html body.wach-yellow-theme #pageOverlay,
html body.wach-yellow-theme #pageOverlay .page-inner{
  background:var(--wach-bg)!important;color:var(--wach-text)!important;
}
html body.wach-yellow-theme :is(.sidebar,.topbar,.bottom-nav,.modal,.product-card,.cat-card,.biz-card,.property-card,.need-card,.haiti-pro-card,.site-update-panel,.site-update-card,.home-action-card){
  background:var(--wach-surface)!important;border-color:var(--wach-border)!important;
}
html body.wach-yellow-theme :is(.topbar,.bottom-nav){box-shadow:0 1px 12px #302a1609!important}
html body.wach-yellow-theme :is(h1,h2,h3,h4,.product-title,.section-head h2,.section-head h3,.field label){color:var(--wach-text)!important}
html body.wach-yellow-theme :is(.subtle,.loc,.section-head small,.home-action-card p){color:var(--wach-yellow-muted)!important}

/* The existing CSS bag mark stays a lightweight native part of the interface. */
html body.wach-yellow-theme .bag-logo:before{background:var(--wach-yellow)!important;transform:none!important;box-shadow:none!important;left:7px!important;width:32px!important;border-radius:6px!important}
html body.wach-yellow-theme .bag-logo:after{display:none!important}
html body.wach-yellow-theme .bag-logo span{color:var(--wach-text)!important;text-shadow:none!important}
html body.wach-yellow-theme .bag-logo i{border-color:var(--wach-text)!important}
html body.wach-yellow-theme .brand-word{color:var(--wach-text)!important;font-style:normal!important;text-shadow:none!important}
html body.wach-yellow-theme :is(.menu-btn,.top-action,.top-action svg,.mobile-brand,.nav a:not(.active),.bottom-nav a:not(.active)){color:var(--wach-text)!important}
html body.wach-yellow-theme .nav a.active,
html body.wach-yellow-theme :is(.post-top-btn,.sell-side,.plus-main,.floating-post,.red-btn,.blue-btn){
  background:var(--wach-yellow)!important;color:var(--wach-text)!important;border-color:var(--wach-yellow)!important;box-shadow:none!important;
}
html body.wach-yellow-theme .nav a.active svg{color:var(--wach-text)!important}
html body.wach-yellow-theme .bottom-nav a.active{background:var(--wach-yellow-soft)!important;color:var(--wach-text)!important;border-color:var(--wach-yellow)!important}
html body.wach-yellow-theme :is(.post-top-btn,.sell-side,.plus-main,.floating-post,.red-btn,.blue-btn):hover:not(:disabled){background:var(--wach-yellow-hover)!important}
html body.wach-yellow-theme :is(.ghost-btn,.mini-btn:not(.red):not(.danger),.close,.icon-btn){background:#fff!important;border-color:var(--wach-border)!important;color:var(--wach-text)!important;box-shadow:none!important}
html body.wach-yellow-theme :is(.ghost-btn,.mini-btn:not(.red):not(.danger),.icon-btn):hover{background:var(--wach-yellow-soft)!important}
html body.wach-yellow-theme :is(.section-head a,.sidebar a:not(.active),.lang-label){color:#755900}
html body.wach-yellow-theme :is(.search-wrap,.filter-field,.field input,.field select,.field textarea){background:#fff!important;color:var(--wach-text)!important;border-color:var(--wach-border)!important}
html body.wach-yellow-theme .search-wrap{background:#f7f7f5!important}
html body.wach-yellow-theme :is(.search-wrap,.filter-field):focus-within,
html body.wach-yellow-theme .field :is(input,select,textarea):focus{border-color:#8c6900!important;box-shadow:0 0 0 3px #ffd43b55!important}
html body.wach-yellow-theme input:where([type=checkbox],[type=radio]){accent-color:#806000}
html body.wach-yellow-theme :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #755900!important;outline-offset:3px}
html body.wach-yellow-theme :is(button,.blue-btn,.red-btn):disabled{box-shadow:none!important}

/* Preserve the real hero image and the existing responsive layout. */
html body.wach-yellow-theme .app-shell .wach-discovery-hero{background:linear-gradient(110deg,#fff8da,#ffedaa)!important;border-color:#f2e4af!important;box-shadow:none!important}
html body.wach-yellow-theme .wach-discovery-hero .hero-copy{background:transparent!important;color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-discovery-hero :is(h1,h1 em){color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-discovery-hero p{color:#514c3e!important}
html body.wach-yellow-theme :is(.wach-hero-eyebrow,.wach-section-eyebrow){color:#725700!important}
html body.wach-yellow-theme .wach-discovery-hero .red-btn{background:var(--wach-yellow)!important;color:var(--wach-text)!important;border-color:var(--wach-yellow)!important}
html body.wach-yellow-theme .wach-discovery-hero .hero-photo{background:#fff0b9!important}
html body.wach-yellow-theme .wach-discovery-hero .hero-photo:before{background:linear-gradient(90deg,#fff0b93d,transparent 36%,#00000008)!important}
html body.wach-yellow-theme .wach-hero-caption{background:#fffdf3ed!important;color:#423b26!important;border-color:#fff!important}
html body.wach-yellow-theme .app-shell main.main .categories .cat-card{background:transparent!important;border-color:transparent!important}
html body.wach-yellow-theme .app-shell main.main .categories .cat-img{background-color:#fff5cb!important;border-color:#f0e5bd!important}
html body.wach-yellow-theme .categories .cat-card:nth-child(even) .cat-img{background-color:#f4f3ee!important}
html body.wach-yellow-theme .categories .cat-card .cat-badge{color:var(--wach-text)!important;background:transparent!important}
html body.wach-yellow-theme .categories .cat-card.active .cat-img{background:var(--wach-yellow)!important}
html body.wach-yellow-theme .main .product-card{border-color:var(--wach-border)!important;box-shadow:0 3px 12px #302a1609!important}
html body.wach-yellow-theme .main .product-card:hover{box-shadow:0 8px 22px #302a1615!important}
html body.wach-yellow-theme .main .product-card .product-img{background-color:#f6f6f2!important}
html body.wach-yellow-theme .main :is(.price,.wach-product-card .price){color:var(--wach-text)!important}
html body.wach-yellow-theme .main .wach-quick-add-btn{background:var(--wach-yellow)!important;color:var(--wach-text)!important;border-color:var(--wach-yellow)!important;box-shadow:none!important}
html body.wach-yellow-theme .main .wach-quick-add-btn:hover:not(:disabled){background:var(--wach-yellow-hover)!important}
html body.wach-yellow-theme .main .wach-quick-add-unavailable{background:#f2f1ed!important;color:#605b50!important;border-color:var(--wach-border)!important}
html body.wach-yellow-theme .wach-badge{background:var(--wach-yellow-soft)!important;color:#645015!important;border-color:#ecdfa8!important}
html body.wach-yellow-theme .main .wach-community-discovery{background:#fff!important;border-color:var(--wach-border)!important}
html body.wach-yellow-theme .wach-community-discovery>summary{color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-community-discovery>summary small{color:var(--wach-yellow-muted)!important}
html body.wach-yellow-theme .wach-community-discovery[open]>summary{border-color:var(--wach-border)!important}

html body.wach-yellow-theme .wach-showroom{background:linear-gradient(120deg,#fffdf3,#fff 65%,#fff9df)!important;border-color:var(--wach-border)!important;color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-showroom-eyebrow{color:#755900!important}
html body.wach-yellow-theme .wach-showroom-heading :is(h2,p){color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-showroom-heading p{color:var(--wach-yellow-muted)!important}
html body.wach-yellow-theme .wach-showroom-controls button{background:#fff!important;border-color:var(--wach-border)!important;color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-showroom-controls button:hover{background:var(--wach-yellow-soft)!important}
html body.wach-yellow-theme #featuredProducts.wach-showroom-rail{scrollbar-color:#d4cda8 transparent}

/* Customer preferences and cart feedback use the same accent as the feed. */
html body.wach-yellow-theme .wach-preferences-link{background:var(--wach-yellow-soft)!important;border-color:#e5d69e!important;color:#594713!important}
html body.wach-yellow-theme .wach-preferences-link:hover{background:#fff0ad!important}
html body.wach-yellow-theme .wach-preferences-dialog{background:#fff!important;border-color:var(--wach-border)!important;color:var(--wach-text)!important;box-shadow:0 28px 90px #302a1638!important}
html body.wach-yellow-theme .wach-preferences-dialog::backdrop{background:#24221d80}
html body.wach-yellow-theme .wach-preferences-eyebrow{color:#755900!important}
html body.wach-yellow-theme .wach-preferences-head button{background:#f4f3ee!important;color:var(--wach-text)!important}
html body.wach-yellow-theme :is(.wach-preferences-intro,.wach-preferences-storage,.wach-preferences-toggle small,.wach-preferences-reset){color:var(--wach-yellow-muted)!important}
html body.wach-yellow-theme .wach-preferences-toggle{border-color:var(--wach-border)!important}
html body.wach-yellow-theme .wach-preferences-categories span{color:#514c3e!important;border-color:var(--wach-border)!important;background:#fff!important}
html body.wach-yellow-theme .wach-preferences-categories input:checked+span{background:var(--wach-yellow-soft)!important;border-color:#8c6900!important;color:#594713!important}
html body.wach-yellow-theme .wach-preferences-categories input:focus-visible+span{outline-color:#755900!important}
html body.wach-yellow-theme .wach-preferences-save{background:var(--wach-yellow)!important;border-color:var(--wach-yellow)!important;color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-cart-feedback{background:#fff!important;border-color:var(--wach-border)!important;color:var(--wach-text)!important;box-shadow:0 12px 48px #302a1626!important}
html body.wach-yellow-theme .wach-cart-feedback-copy small{color:var(--wach-yellow-muted)!important}
html body.wach-yellow-theme .wach-cart-feedback button:not(.wach-cart-feedback-close){background:var(--wach-yellow)!important;color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-cart-feedback .wach-cart-feedback-close{color:#605b50!important}
html body.wach-yellow-theme .toast{background:#28261f!important;color:#fff!important;box-shadow:0 16px 38px #302a1626!important}
/* The green add-confirmation check and red destructive/error controls retain their meaning. */

/* Language and mobile location filters contain legacy hard-coded blue rules. */
html body.wach-yellow-theme .sidebar #wachLanguageMobileWrap{background:var(--wach-yellow-soft)!important;border-color:#e5d69e!important;box-shadow:none!important}
html body.wach-yellow-theme .sidebar #wachLanguageMobileWrap .wach-language-mobile-copy strong{color:#594713!important}
html body.wach-yellow-theme .sidebar #wachLanguageMobileWrap .wach-language-mobile-copy small{color:var(--wach-yellow-muted)!important}
html body.wach-yellow-theme #wachLanguageMobileWrap select{background:#fff!important;color:var(--wach-text)!important;border-color:var(--wach-border)!important}
html body.wach-yellow-theme .filters{background:#fff!important;border-color:var(--wach-border)!important}
html body.wach-yellow-theme .filters .where{color:var(--wach-text)!important}
html body.wach-yellow-theme .filters :is(select,input){color:var(--wach-text)!important;border-color:var(--wach-border)!important}
html body.wach-yellow-theme .filters label{color:var(--wach-yellow-muted)!important}
html body.wach-yellow-theme .filters .filter-btn:first-of-type{background:var(--wach-yellow)!important;color:var(--wach-text)!important;border-color:var(--wach-yellow)!important}
html body.wach-yellow-theme .filters .filter-btn:last-of-type{background:#fff!important;color:#594713!important;border-color:var(--wach-border)!important}
html body.wach-yellow-theme .categories .cat-card span{color:var(--wach-text)!important}

/* Installation prompts arrive after the normal page paint. */
html body.wach-yellow-theme .wach-install-banner{background:var(--wach-yellow-soft)!important;color:var(--wach-text)!important;border-color:#e5d69e!important;box-shadow:0 18px 48px #302a1626!important}
html body.wach-yellow-theme .wach-install-banner small{color:#514c3e!important}
html body.wach-yellow-theme .wach-install-primary{background:var(--wach-yellow)!important;color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-install-close{background:#fff!important;color:var(--wach-text)!important}
html body.wach-yellow-theme .wach-ios-tip{background:#fff!important;color:var(--wach-text)!important;border-color:var(--wach-border)!important;box-shadow:0 18px 48px #302a1626!important}
html body.wach-yellow-theme .wach-ios-tip button{background:var(--wach-yellow)!important;color:var(--wach-text)!important}
