/* Rosélis display preferences and Black Friday. Load after store.css. */
:root{--pref-surface:#f8faf5;--pref-text:#203d33;--pref-border:#cad7cd;--pref-focus:#98642e}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--forest:#b7ddc8;--deep:#103d31;--ink:#edf5ef;--muted:#bbcec4;--line:#3b584b;--ivory:#162e26;--mint:#203e32;--lime:#dbe9ba;--white:#122b23;--pref-surface:#162e26;--pref-text:#edf5ef;--pref-border:#527562;--pref-focus:#e4c58a}
.topline{flex-wrap:wrap;row-gap:4px}
.topline>span{line-height:1.5}
.topline .site-preferences{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 10px;margin-left:auto}
.topline .preference-button,.topline .black-friday-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;border:1px solid #ffffff4d;border-radius:7px;padding:6px 11px;color:#fff;font-weight:650;line-height:1.3;white-space:nowrap}
.topline .preference-button span,.topline .black-friday-trigger span{display:inline;margin:0;font-weight:650}
.topline .preference-button svg{width:18px;height:18px}
.topline .preference-button:hover{background:#ffffff18}
.topline .preference-button:focus-visible,.topline .black-friday-trigger:focus-visible{outline-color:#f1dba9}
.topline .black-friday-trigger{background:#e8d39e;color:#173e30;border-color:#e8d39e}
.topline .black-friday-trigger:hover{background:#f5e5bd}
#mobile-menu{top:var(--mobile-menu-top,140px);max-height:calc(100dvh - var(--mobile-menu-top,140px))}
html[data-theme="dark"] body{background:#0e211b;color:var(--ink)}
html[data-theme="dark"] :is(a,button,input,select,summary):focus-visible{outline-color:var(--pref-focus)}
html[data-theme="dark"] .topline{background:#0b3025;color:#f1f7f1}
html[data-theme="dark"] .store-header{background:rgba(14,33,27,.97);box-shadow:0 1px 0 var(--line)}
html[data-theme="dark"] .brand{background:#f8faf5;border-radius:8px;padding:7px 9px}
html[data-theme="dark"] .desktop-nav{border-color:var(--line)}
html[data-theme="dark"] .desktop-nav a:hover{color:#d3efba}
html[data-theme="dark"] :is(#search-form,#suggestions,#mobile-menu){background:#19372c;border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] #global-search{color:var(--ink)}
html[data-theme="dark"] input::placeholder{color:#b8c8bf;opacity:1}
html[data-theme="dark"] .preview-notice{background:#223d31;color:#d5e5d8;border-color:var(--line)}
html[data-theme="dark"] .icon-label small{color:#102d22;border-color:#102d22}
html[data-theme="dark"] .care-hero{background:#18382c}
html[data-theme="dark"] :is(.hero-note,.care-person>span,.care-hero-foot,.care-products figcaption){color:#d3e7d7}
html[data-theme="dark"] #care-mesh{opacity:.8}
html[data-theme="dark"] .care-products img{mix-blend-mode:normal}
html[data-theme="dark"] .care-person img{box-shadow:0 0 0 8px #244937}
html[data-theme="dark"] .hero-shop-link{background:#d2e8c4;color:#123628}
html[data-theme="dark"] .hero-shop-link:hover{background:#e2f0d8}
html[data-theme="dark"] .motion-toggle{background:#183c2fe8;border-color:#63846e;color:#edf5ef}
html[data-theme="dark"] .motion-toggle:hover{background:#264d3b}
html[data-theme="dark"] .confidence-bar{background:#0e211b}
html[data-theme="dark"] .discovery-card{box-shadow:inset 0 0 0 1px #ffffff0f}
html[data-theme="dark"] .discovery-card.skin{background:#393429}
html[data-theme="dark"] .discovery-card.supplements{background:#283b2a}
html[data-theme="dark"] .discovery-card.hair{background:#333140}
html[data-theme="dark"] .discovery-card.performance{background:#243d38}
html[data-theme="dark"] .discovery-card:hover{box-shadow:inset 0 0 0 1px #bddcc4}
html[data-theme="dark"] :is(.category-mark,.product-category,.service-steps b){color:#c4d6bd}
html[data-theme="dark"] .product-photo{background:#243e31}
html[data-theme="dark"] .favorite-button{background:#173d30f2;color:#edf5ef;border:1px solid #7a9581}
html[data-theme="dark"] .favorite-button.is-active{background:#cde8b7;color:#163c2b}
html[data-theme="dark"] .compare-toggle[aria-pressed="true"]{background:#35533b;color:#edf5ef}
html[data-theme="dark"] :is(.button.primary,.category-list .is-active,.category-list [aria-current="page"]){background:#cde8b7;color:#163c2b}
html[data-theme="dark"] :is(.button.primary:hover,.category-list a.is-active:hover){background:#e1f2d3;color:#163c2b}
html[data-theme="dark"] .button.secondary{border-color:#a9c4ad;color:#dceede}
html[data-theme="dark"] .button.secondary:hover{background:#284635}
html[data-theme="dark"] .service-feature{background:#17372a}
html[data-theme="dark"] .service-steps>div{border-color:var(--line)}
html[data-theme="dark"] .service-video>span{background:#15392ee8;color:#edf5ef}
html[data-theme="dark"] .unit{background:#19392c}
html[data-theme="dark"] :is(.image-caption,.product-gallery .image-caption){background:#173a2fe8;color:#e2eee5}
html[data-theme="dark"] :is(.product-gallery>img,.product-gallery>a>img,.product-gallery>figure>img){background:#203d2e}
html[data-theme="dark"] :is(footer,.footer-main){background:#102d22;border-color:var(--line)}
html[data-theme="dark"] .footer-brand img{mix-blend-mode:normal;background:#f8faf5;border-radius:8px;padding:8px}
html[data-theme="dark"] .footer-bottom{border-color:var(--line);color:#b9d0bf}
html[data-theme="dark"] :is(.catalog-toolbar input,.catalog-toolbar select,.catalog-sort select,.product-options select,.product-options input,.cart-item-actions input){background:#17352a;border-color:#63816c;color:#edf5ef}
html[data-theme="dark"] :is(dialog,.cart-dialog,.dialog-heading){background:#142e24;color:#edf5ef}
html[data-theme="dark"] dialog::backdrop{background:#020d09bd}
html[data-theme="dark"] .dialog-heading button{background:#234735;border-color:#668271;color:#edf5ef}
html[data-theme="dark"] .cart-notice{background:#24442f;border-color:#4f7158;color:#e0edda}
html[data-theme="dark"] .cart-error{background:#4d2a25;color:#ffd7c7}
html[data-theme="dark"] .noscript-note{background:#403b25;color:#f4e5ba}
html[data-theme="dark"] .skip-link{background:#d2e8c4;color:#123628}

/* Compact campaign form. Scoped above shared layout rules; no photograph column. */
#roselis-site dialog.black-friday-dialog{margin:auto;width:min(520px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #ccd8c9;border-radius:18px;background:#fbfcf6;color:#173e30;box-shadow:0 28px 90px #061c3066;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#roselis-site .black-friday-dialog::backdrop{background:#061d17bd;backdrop-filter:blur(7px)}
#roselis-site .black-friday-dialog .bf-layout{display:block;min-width:0}
#roselis-site .black-friday-dialog .bf-close{position:sticky;z-index:4;top:10px;right:auto;margin:10px 10px -54px auto;width:44px;height:44px;min-height:44px;border:1px solid #bdcbb9;border-radius:50%;background:#fbfcf5;color:#183f30;line-height:1;display:grid;place-items:center;box-shadow:0 2px 8px #173e3010}
#roselis-site .black-friday-dialog .bf-close:hover{background:#e4eddc}
#roselis-site .black-friday-dialog .bf-close svg{width:20px;height:20px}
#roselis-site .black-friday-dialog .bf-content{position:relative;isolation:isolate;overflow:hidden;min-width:0;padding:34px 30px 28px;background:radial-gradient(ellipse at 100% 0%,#e7edd6a8 0%,transparent 46%)}
#roselis-site .black-friday-dialog .bf-content:before,#roselis-site .black-friday-dialog .bf-content:after{content:"";position:absolute;pointer-events:none;border:1px solid #9cae8f45;border-radius:100% 0;z-index:-1;transform:rotate(-32deg)}
#roselis-site .black-friday-dialog .bf-content:before{width:150px;height:75px;right:-52px;top:35px}
#roselis-site .black-friday-dialog .bf-content:after{width:100px;height:50px;right:-25px;top:105px}
#roselis-site .black-friday-dialog .bf-eyebrow{font-family:var(--sans);font-size:var(--type-caption,.8125rem);font-weight:750;text-transform:uppercase;letter-spacing:.1em;color:#766135;line-height:1.5;padding-right:36px;margin:0 0 10px}
#roselis-site .black-friday-dialog .bf-title{font-family:var(--serif);font-size:clamp(2rem,3vw,2.625rem);font-weight:500;line-height:1.06;letter-spacing:-.025em;color:#173e30;margin:0 0 14px;max-width:390px;text-wrap:balance;overflow-wrap:normal}
#roselis-site .black-friday-dialog .bf-copy{font-size:var(--type-body,1rem);line-height:1.6;color:#465d4f;margin:0 0 20px}
#roselis-site .black-friday-dialog .bf-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;margin:0;min-width:0}
#roselis-site .black-friday-dialog .bf-field{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;margin:0;font-size:var(--type-small,.875rem);font-weight:650;line-height:1.45;color:#274f3b}
#roselis-site .black-friday-dialog .bf-field input{display:block;width:100%;min-width:0;max-width:100%;min-height:50px;margin:0;padding:11px 12px;border:1px solid #9ab39f;border-radius:7px;background:#fff;color:#173e30;font-family:var(--sans);font-size:max(16px,1rem);font-weight:400;line-height:1.5;box-shadow:inset 0 1px 2px #103d3108}
#roselis-site .black-friday-dialog .bf-field input::placeholder{color:#667a6c;opacity:1}
#roselis-site .black-friday-dialog .bf-field input:focus-visible{outline:3px solid var(--pref-focus,#98642e);outline-offset:2px;border-color:#426b4f}
#roselis-site .black-friday-dialog .bf-field input[aria-invalid="true"]{border-color:#a03a27}
#roselis-site .black-friday-dialog :is(.bf-note,.bf-status,.bf-submit,.bf-actions){grid-column:1/-1}
#roselis-site .black-friday-dialog .bf-note{font-size:var(--type-small,.875rem);font-weight:400;line-height:1.6;color:#596a5d;margin:0}
#roselis-site .black-friday-dialog .bf-note a{text-decoration:underline;text-underline-offset:3px}
#roselis-site .black-friday-dialog .bf-status{font-size:var(--type-small,.875rem);line-height:1.5;color:#244c33;background:#e9f1e2;border:1px solid #b9d0b0;border-radius:7px;padding:10px 12px;margin:0;overflow-wrap:anywhere}
#roselis-site .black-friday-dialog .bf-status:empty{display:none}
#roselis-site .black-friday-dialog .bf-status[data-state="error"]{background:#fff0e8;border-color:#c7856e;color:#873822}
#roselis-site .black-friday-dialog .bf-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch;margin:0}
#roselis-site .black-friday-dialog :is(.bf-primary,.bf-secondary,.bf-submit){width:100%;max-width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 16px;border:1px solid transparent;border-radius:7px;font-family:var(--sans);font-size:var(--type-body,1rem);font-weight:700;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;cursor:pointer}
#roselis-site .black-friday-dialog :is(.bf-primary,.bf-submit){background:#164d3e;color:#fff}
#roselis-site .black-friday-dialog :is(.bf-primary,.bf-submit):hover{background:#103d31}
#roselis-site .black-friday-dialog :is(.bf-primary,.bf-submit):disabled{opacity:.65;cursor:wait}
#roselis-site .black-friday-dialog :is(.bf-primary,.bf-submit) svg{width:20px;height:20px}
#roselis-site .black-friday-dialog .bf-secondary{background:transparent;border-color:#9eb39f;color:#204d37}
#roselis-site .black-friday-dialog .bf-secondary:hover{background:#eaf0e3}
#roselis-site .black-friday-dialog .bf-done{margin:16px 0 0;padding:16px;border:1px solid #bbcfad;border-radius:9px;background:#eaf2e2;color:#244b30}
#roselis-site .black-friday-dialog .bf-done :is(p,h3){color:inherit;margin:0 0 12px}
#roselis-site .black-friday-dialog .bf-done>*:last-child{margin-bottom:0}
#roselis-site .black-friday-dialog [hidden]{display:none!important}
html[data-theme="dark"] #roselis-site dialog.black-friday-dialog{background:#142e24;border-color:#526c57;color:#edf5ef}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-content{background:radial-gradient(ellipse at 100% 0%,#354c326b 0%,transparent 46%)}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-content:before,html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-content:after{border-color:#afc68f3d}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-close{background:#254c38;border-color:#658671;color:#edf5ef}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-close:hover{background:#355f45}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-title{color:#e8f1dc}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-eyebrow{color:#e5cc91}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-copy{color:#d0dfd1}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-note{color:#b8cbb9}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-field{color:#d9e7d7}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-field input{background:#0f251c;color:#edf5ef;border-color:#63846b}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-field input::placeholder{color:#9fb7a5}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-field input[aria-invalid="true"]{border-color:#e9a484}
html[data-theme="dark"] #roselis-site .black-friday-dialog :is(.bf-primary,.bf-submit){background:#d8eabc;color:#173b29}
html[data-theme="dark"] #roselis-site .black-friday-dialog :is(.bf-primary,.bf-submit):hover{background:#edf6dc}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-secondary{color:#dcebd5;border-color:#7b9a7c}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-secondary:hover{background:#254833}
html[data-theme="dark"] #roselis-site .black-friday-dialog :is(.bf-status,.bf-done){background:#24412d;border-color:#638058;color:#e0edcf}
html[data-theme="dark"] #roselis-site .black-friday-dialog .bf-status[data-state="error"]{background:#4d2a25;border-color:#976451;color:#ffd7c7}
@media(max-width:560px){#roselis-site dialog.black-friday-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}#roselis-site .black-friday-dialog .bf-content{padding:30px 22px 24px}#roselis-site .black-friday-dialog .bf-form{grid-template-columns:minmax(0,1fr);gap:13px}#roselis-site .black-friday-dialog .bf-title{font-size:2rem;max-width:330px}#roselis-site .black-friday-dialog .bf-copy{margin-bottom:17px}#roselis-site .black-friday-dialog .bf-close{top:8px;margin:8px 8px -52px auto}}
@media(max-width:350px){#roselis-site .black-friday-dialog .bf-content{padding:29px 17px 20px}#roselis-site .black-friday-dialog .bf-title{font-size:1.875rem}#roselis-site .black-friday-dialog .bf-eyebrow{font-size:var(--type-caption,.8125rem);padding-right:28px}}
@media(max-width:1050px){.topline{justify-content:center}.topline .site-preferences{margin-left:0}.topline>span{flex:1;min-width:180px}.topline .site-preferences>a:not(.black-friday-trigger){display:none}}
@media(max-width:800px){.topline{padding:6px 4%;gap:4px}.topline>span{flex-basis:100%;text-align:center;}.topline .site-preferences{width:100%;justify-content:center;gap:4px 7px}.topline .preference-button,.topline .black-friday-trigger{padding:6px 9px}.topline .preference-button span,.topline .black-friday-trigger span{display:inline;}.topline .site-preferences #font-toggle{min-height:44px;min-width:44px}.bf-content{padding:55px 28px 30px}.bf-art{padding:25px 18px}}
@media(max-width:600px){.black-friday-dialog{width:calc(100vw - 22px);max-width:calc(100vw - 22px);max-height:92dvh;border-radius:14px}.bf-layout{grid-template-columns:1fr}.bf-art{min-height:150px;height:160px;padding:16px 58px}.bf-art:before{inset:12px;border-radius:70px 70px 8px 8px}.bf-art img{max-height:130px;width:auto;max-width:100%}.bf-art p,.bf-art figcaption{display:none}.bf-content{padding:25px 23px 27px}.bf-close{background:#fcfbedeb;right:10px;top:10px}.bf-title{margin-bottom:17px}.bf-eyebrow{margin-bottom:10px}.bf-copy{margin-bottom:16px}.bf-actions{margin-top:18px}.bf-note{margin-top:15px}}
@media(max-width:350px){.topline .site-preferences{gap:3px}.topline .preference-button,.topline .black-friday-trigger{padding:6px 7px}.topline .preference-button svg{width:16px;height:16px}.bf-content{padding:23px 19px}.bf-title{}.bf-art{height:140px;min-height:140px}.bf-art img{max-height:112px}}
@media(prefers-reduced-motion:no-preference){.black-friday-dialog[open]{animation:bf-enter .28s ease-out}@keyframes bf-enter{from{transform:translateY(14px);opacity:.5}to{transform:translateY(0);opacity:1}}}
@media(prefers-reduced-motion:reduce){.black-friday-dialog[open]{animation:none}}
