/* Dark mode for the whole shop. Turned on by html.dk (the sun/moon button, or layout 6 Noir). Loaded last so it wins over every page style. */
html.dk{color-scheme:dark}
html.dk body{background:#0d0b09;color:#f1e8d8}
/* cards, panels and boxes that were solid ivory or white */
html.dk :is(.acctpage .order,.addr,.alertd form,.alinks a,.astats div,.authcard,.bankbox,.bankdet,.cal,.card-cta,.cmpmore button,.co-method label,.co2 .more,.cstep,.empty,.fabdlg,.formcard,.fpanel,.gbtn,.mb-bg,.mb-cats button,.mb-list li,.msg,.msg.you,.notes li,.notes li.new,.payfb,.pdiagram,.pick,.pm-card,.pv-card,.qprod,.quote-card,.cv-spec,.recvbox,.rm-add,.rm-ctl,.rt-panel,.sa-stats,.sa-types a,.signin .authcard,.slots li,.sugbox,.summary,.whoami,.wl-bulk,details.quote,details.quote.qcard,.order,.opt,.pinbox,.planbox,.proj,.sched,.cattile,.chips span,.daychips a,.fchips a,.pills a,.pills .subsel select,.fab,.profile .pf-pts,.tabs2,.pin b,.fab-big,.mb-list img,.sg-ic,.heart button){background:#17130f;color:#f1e8d8;border-color:#35291b}
html.dk :is(.msg.studio,.locdlg .loc-addr,.locnote,.notice,.paywrap .paystate,.paystate2,.profile .pf-links a:hover,.sg-all:hover,.sg-r.on,.sg-r:hover,.formcard input[readonly],.profile .pf-form input:disabled){background:#1f1a13;color:#ece1cc;border-color:#3a2d1d}
html.dk :is(.rm-stage.mbs){background:#1b1612}
html.dk :is(.co-method label:has(input:checked)){background:#2a1d0c;border-color:#DD8B27}
/* form controls */
html.dk :is(input,select,textarea,.faqsearch input,.profile .pf-form input,.qgrid input,.qgrid textarea){background:#1b1612;color:#f1e8d8;border-color:#4a3a27}
html.dk :is(input,textarea)::placeholder{color:#8e836d}
html.dk option{background:#1b1612;color:#f1e8d8}
/* status chips and notices: dark tint, light text */
html.dk :is(.ok,.eta.ok,.paystate2.ok,.st.paid,.st.confirmed,.st.approved,.st.ok,.stock.in,.sched em.ok){background:#12261a;color:#a9e0b4;border-color:#244a30}
html.dk :is(.eta.warn,.paystate2.warn,.st.warn,.st.awaiting_payment,.st.new,.st.requested,.st.pending,.st.deposit_paid,.sched em){background:#2d2210;color:#f5cf86;border-color:#5a4318}
html.dk :is(.st.balance_due){background:#33200e;color:#ffc58a}
html.dk :is(.error,.paystate2.bad,.st.cancelled,.st.rejected){background:#2e1512;color:#ffb3a8;border-color:#5a2a24}
html.dk :is(.st.delivered,.st.done){background:#10202e;color:#a9cdee}
html.dk :is(.st,.st.muted){background:#241f18;color:#cfc4b0}
/* tables, rules, headings, links, secondary text */
html.dk :is(h1,h2,h3,h4,h5,.ptitle,.pname,legend,th){color:#f6eddc}
html.dk :is(.muted,small,.help,.hint,figcaption,.sub,.lead,p.sub,.meta small){color:#c2b6a0}
html.dk :is(td,th,li,p,dd,dt,label,summary,span){border-color:#35291b}
html.dk :is(hr,table,tr,td,th,.rule){border-color:#35291b}
html.dk :where(a:not(.btn):not(.tag):not(.adh-btn):not([class*=adh]):not(.cb-btn)){color:#f0b062}
html.dk :where(a:not(.btn)):hover{color:#ffd08a}
html.dk .btn:not(.ghost):not(.small):not(.dark){color:#120d07}
html.dk .btn.dark{background:#f1e8d8;color:#120d07;border-color:#f1e8d8}html.dk .btn.dark:hover{background:#DD8B27;border-color:#DD8B27}
html.dk .btn.ghost,html.dk .btn.small{background:transparent;color:#f1e8d8;border-color:#5a4730}html.dk .btn.ghost:hover,html.dk .btn.small:hover{border-color:#DD8B27;color:#f5bf73}
html.dk .tag,html.dk .sb,html.dk .offbadge{color:#120d07}
/* header, footer, menus, dialogs */
html.dk .site-header{background:rgba(13,11,9,.9);border-bottom-color:rgba(221,139,39,.3);box-shadow:none}
html.dk .brand img{filter:brightness(0) invert(1)}
html.dk .links a,html.dk .icons,html.dk .icons a{color:#d9cfbd}html.dk .links a:hover,html.dk .links a.on,html.dk .icons a:hover{color:#f5bf73}
html.dk .burger{color:#f3ead9}
html.dk :is(.mega,.subnav,.sidecard,.dropdown,.suggest,.sg-box,.locdlg,.dlg,dialog,.modal,.popover){background:#17130f;color:#f1e8d8;border-color:#35291b}
html.dk footer,html.dk .site-footer{background:#080706;color:#cfc4b0;border-top:1px solid #2a2015}
html.dk footer a{color:#e0d3ba}
/* product page and gallery */
html.dk :is(.gallery,.thumbs button,.pgal,.vthumb){background:#17130f;border-color:#35291b}
html.dk :is(.price,.pprice){color:#f6eddc}html.dk .was{color:#9b907a}
/* sections that used a sand or ivory band */
html.dk :is(.sand,.band,.block.alt,.sec-alt,.hx.sand,.hx.ivory){background:#13100c}
html.dk .hx.dark{background:#000}
/* scrollbars and selection */
html.dk{scrollbar-color:#4a3a27 #0d0b09}html.dk ::selection{background:#DD8B27;color:#120d07}
/* cookie banner and switch stay readable */
html.dk .themebtn{color:#f5bf73}
/* layout-specific headers */
html.dk body.lay-2 .site-header{background:#0d0b09;box-shadow:0 1px 0 #35291b}
html.dk body.lay-3 .site-header .nav{background:rgba(23,19,15,.94);border-color:#3a2d1d;box-shadow:0 18px 44px rgba(0,0,0,.55)}
html.dk body.lay-3 .links a:hover{background:#241d14}html.dk body.lay-3 .links a.on{background:#DD8B27;color:#120d07}
html.dk body.lay-5 .site-header{background:#0d0b09;border-bottom-color:#f1e8d8}html.dk body.lay-5 .head{border-bottom-color:#f1e8d8}html.dk body.lay-5 .card{border-top-color:#f1e8d8;background:transparent;box-shadow:none;border-left:0;border-right:0;border-bottom:0}
html.dk body.lay-4 .site-header{background:#000}
html.dk body.lay-2 .card .ph{outline-color:#35291b}
html.dk body.lay-3 .card,html.dk body.lay-4 .card,html.dk body.cs-4 .card{background:#17130f;box-shadow:0 14px 34px rgba(0,0,0,.45)}
html.dk .cs-3 .card .ph{box-shadow:0 0 0 6px #17130f,0 0 0 7px rgba(221,139,39,.55)}
html.dk .cs-2 .card .meta :is(small,h3,p,.was){color:#fff}
html.dk a.skip{background:#DD8B27;color:#120d07}
html.dk .tabs2 a{background:transparent;color:#e0d3ba}html.dk .tabs2 a.on,html.dk .tabs2 a[aria-selected=true]{background:#DD8B27;color:#120d07}
html.dk .cust-steps li span,html.dk :is(ol,ul) li>span{color:#c2b6a0}
html.dk .cust-steps li b{color:#f6eddc}
html.dk .crumbs{background:rgba(255,255,255,.03);border-bottom-color:#2e2418}html.dk .crumbs a{background:rgba(255,255,255,.05);color:#f1e8d8;border-color:#3a2d1d}html.dk .crumbs a:hover{background:rgba(221,139,39,.18);color:#f5bf73}
html.dk .crumbs li+li::before{border-color:#6f5a3c}html.dk .crumbs li[aria-current] span{background:#DD8B27;color:#120d07}
html.dk .crumb a{background:rgba(255,255,255,.05);color:#f1e8d8;border-color:#3a2d1d}
html.dk a.skip{background:#DD8B27!important;color:#120d07!important}
html.dk body.lay-5 .card .meta small:first-child{color:#f0b062}
html.dk .links a.on{color:#f5bf73}

/* product page buy box, mega menu, card variants */
html.dk :is(.pv-1,.pv-2,.pv-3,.pv-4,.pv-5,.pv-6) .detail>div:last-child{background:#17130f;border-color:#35291b;color:#f1e8d8;box-shadow:0 18px 40px rgba(0,0,0,.45)}
html.dk .detail>div:last-child :is(h1,h2,h3,.price){color:#f6eddc}
html.dk .detail>div:last-child :is(p,li,label,legend,small,.muted){color:#d8cdb8}
html.dk .detail>div:last-child :is(.muted,small){color:#c2b6a0}
html.dk .mm{background:#14100c;color:#f1e8d8;border-color:#35291b;box-shadow:0 26px 44px rgba(0,0,0,.6)}
html.dk .mm-h,html.dk .mm-f{border-color:#35291b}
html.dk .mm-c li a,html.dk .mm-f a,html.dk .mm-k a{color:#f1e8d8}
html.dk .mm-h:hover,html.dk .mm-c li>a:hover,html.dk .mm-k a:hover{color:#f0b062}
html.dk .mm-h{color:#f6eddc}
html.dk :is(.lay-3 .card,.cs-4 .card,.subtile,.sidecard){background:#17130f;border-color:#35291b;color:#f1e8d8}
html.dk .cs-3 .card .ph{box-shadow:0 0 0 6px #17130f,0 0 0 7px rgba(221,139,39,.55)}
html.dk .sc-h{color:#f6eddc}
