/* LIBSEH 54: shared brand layer for storefront, accounts and role dashboards. */
:root{--refined-wine:#66001f;--refined-wine-deep:#4c0b1c;--refined-olive:#626b3d;--refined-beige:#f6f1e8;--refined-card:#eee5d7;--refined-line:#d8c9b5}
html:not([data-theme=dark]) body.luxury-ui[data-lang][data-dir][class]{--ls-burgundy:var(--refined-wine);--m-burgundy:var(--refined-wine);--ad-burgundy:var(--refined-wine);--libseh-action:var(--refined-wine);--libseh-burgundy:var(--refined-wine);--aya-burgundy:var(--refined-wine);--care-wine:var(--refined-wine);--wine:var(--refined-wine);--burgundy:var(--refined-wine);--ls-olive:#626b3d;--ls-white:#f3ebdd;--ls-ivory:#f6f1e8}
html:root body.luxury-ui[data-lang][data-dir][class] :is(.pill.primary,.bf-button:not(.bf-button-alt),.libseh-shop-cta,.auth-submit,.header-auth-links>a:last-child,.care-send,.btn-primary,.aya-btn-primary,.ls-pc-add,.cart-checkout-btn){background:var(--refined-wine)!important;background-image:none!important;border-color:var(--refined-wine)!important;color:#f6f1e8!important;box-shadow:0 5px 15px #4c0b1c12}
html:root body.luxury-ui[data-lang][data-dir][class] :is(.pill.primary,.libseh-shop-cta,.auth-submit,.care-send):hover{background:var(--refined-wine-deep)!important;border-color:var(--refined-wine-deep)!important}
html:not([data-theme=dark]) body.luxury-ui[data-lang][data-dir][class] :is(.aya-nav a.active,.customer-bottom-nav a.active,.header-desktop-nav a.active,.main-nav a.active,.aya-tabs a.active,.ls-pc-price strong,.pd-price strong,.stores-hero h1,.brand-footer summary,.brand-company-phone){color:var(--refined-wine)!important}
html:not([data-theme=dark]) body.luxury-ui[data-lang][data-dir][class] :is(.aya-panel,.aya-table-wrap,.aya-form,.aya-modal,.admin-modal,.modal-content,.care-empty,.care-bubble,.care-suggestion,.lg-card,.lg-store-card,.ls-store-cover,.ls-why-card,.ls-about,.home-band,.stores-toolbar,.stores-hero,.aya-nav,.aya-sidebar,.account-card,.order-card,.order-summary,.payment-card,.checkout-summary,.checkout-panel,.pd-panel,.pd-tabs,.pd-tabs-panel,.lsx-panel,.luxe-section,.ls-empty-card,.bf-empty,.auth-shell){background-color:#f3ebdd!important;border-color:#d8c9b5!important;background-image:none!important}
html:not([data-theme=dark]) body.luxury-ui[data-lang][data-dir][class] :is(.pill.secondary,.pill.ghost,.aya-shortcuts a,.store-filter-toggle,.stores-sort-toggle,.stores-search,.filter-check,.category-admin-card){background-color:#eee5d7!important;border-color:#d8c9b5!important;color:#43352d!important}
html:root body.luxury-ui[data-lang][data-dir][class] img.libseh-real-icon{object-fit:contain!important;object-position:center!important;aspect-ratio:1;filter:none!important;transform:none!important;vertical-align:middle;flex:0 0 auto;max-width:100%;border-radius:0;background:transparent!important;box-shadow:none!important;padding:0!important}
html:root body.luxury-ui[data-lang][data-dir][class] .ui-ico.libseh-real-icon{width:32px;height:32px;display:inline-block;min-width:0;margin:0}
html:root body.luxury-ui[data-lang][data-dir][class] :is(.header-end,.header-start,.mobile-menu-links,.header-auth-links) .ui-ico.libseh-real-icon{width:30px!important;height:30px!important}
html:root body.luxury-ui[data-lang][data-dir][class] .customer-bottom-nav .ui-ico.libseh-real-icon{width:32px!important;height:32px!important}.customer-bottom-nav a{min-height:52px}
html:root body.luxury-ui[data-lang][data-dir][class] :is(.aya-nav,.aya-sidebar,.aya-topbar) .ui-ico.libseh-real-icon{width:28px!important;height:28px!important}
html:root body.luxury-ui[data-lang][data-dir][class] :is(.company-contact-dock,.lux-contact-icons,.brand-footer) .ui-ico.libseh-real-icon{width:32px!important;height:32px!important}
html:root body.luxury-ui[data-lang][data-dir][class] .care-icon.libseh-real-icon{width:30px!important;height:30px!important;display:inline-block}
html:root body.luxury-ui[data-lang][data-dir][class] :is(.round-icon,.dock-link,.care-icon-btn,.care-send){min-width:44px;min-height:44px}
/* Beige footer is intentional in both modes; ink and burgundy keep its contrast. */
html:root body.luxury-ui[data-lang][data-dir][class] .libseh-footer.brand-footer{background:#e9dfce!important;background-image:none!important;color:#302525!important;border-color:#d1bfa3!important;box-shadow:0 -8px 30px #6b102805}
html:root body.luxury-ui[data-lang][data-dir][class] .brand-footer :is(p,a,strong,span,summary,small,bdi){color:#43352d!important;opacity:1}.brand-footer-about .footer-mark{background:#f6f1e8!important}.brand-footer-group>summary{font-weight:800}
html:root body.luxury-ui[data-lang][data-dir][class] .brand-footer :is(summary,.brand-company-phone){color:#66001f!important}.brand-footer :is(.brand-footer-bottom,.brand-footer-group){border-color:#cbbba5!important}.brand-payment-methods>span{border-color:#cbbba5!important;background:#f3ebdd}.brand-footer a:hover{color:#66001f!important}.brand-footer a:focus-visible,.brand-footer summary:focus-visible{outline:2px solid #66001f}
/* Real category tiles: equal art bounds, natural labels, intentional scrolling on narrow screens. */
html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation{padding-block:18px 22px;max-width:100%;min-width:0}
html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation .category-rail{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(124px,1fr)!important;grid-template-columns:none!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding:6px 3px 14px!important;scrollbar-width:thin;scrollbar-color:#c6a46a transparent;max-width:100%;width:100%;justify-content:initial!important}
html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation :is(.main-category,.category-item){width:auto!important;max-width:none!important;min-width:0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px!important;padding:14px 9px 12px!important;border:1px solid #d8c9b5!important;border-radius:18px!important;background:#eee5d7!important;text-decoration:none!important;scroll-snap-align:start;box-sizing:border-box;box-shadow:0 4px 14px #43352d05;position:relative;min-height:154px}
html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation .category-item-media{width:88px!important;height:88px!important;min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;flex:0 0 auto;overflow:visible!important}
html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation .category-item-media img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;filter:none!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation :is(strong,small){white-space:normal!important;text-overflow:clip!important;overflow:visible!important;line-height:1.6;text-align:center;color:#43352d!important;font-size:13px!important;margin:0!important;max-width:100%;overflow-wrap:anywhere}.fashion-category-navigation small{font-size:10px!important}
html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation a:is(.active,:hover,:focus-visible){border-color:#66001f!important;background:#e9ddcd!important;outline-offset:3px;box-shadow:inset 0 -3px #66001f}.fashion-category-navigation a:active{translate:0 1px}.fashion-category-navigation .category-rail-dots{display:none!important}
html[data-theme=dark] body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation :is(.main-category,.category-item){background:#2a322c!important;border-color:#586047!important}html[data-theme=dark] body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation :is(strong,small){color:#f6f1e8!important}html[data-theme=dark] body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation a:is(.active,:hover,:focus-visible){background:#353b2d!important;border-color:#c6a46a!important;box-shadow:inset 0 -3px #c6a46a}
.category-catalog-page{padding-block:24px 48px}.category-catalog-page .breadcrumb{display:flex;flex-wrap:wrap;gap:9px}.category-catalog-head{display:flex;gap:24px;align-items:center;margin-block:26px}.category-catalog-head img{object-fit:contain}.category-catalog-head h1{margin:0}.category-catalog-head p{margin:8px 0}.category-child-links,.category-pagination{display:flex;gap:10px;flex-wrap:wrap;margin-block:20px}.category-catalog-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;gap:14px;align-items:end;padding:20px;background:#eee5d7;border:1px solid #d8c9b5;border-radius:18px;margin-block:20px 30px}.category-catalog-filters label{display:grid;gap:7px;font-size:12px;min-width:0}.category-catalog-filters :is(input,select){min-width:0;width:100%;min-height:44px}.category-catalog-filters .category-stock-check{display:flex;align-items:center;min-height:44px;white-space:nowrap}.category-stock-check input{width:18px!important;min-height:18px}.category-catalog-filters button{min-height:44px}.category-catalog-page .ls-empty-card{padding:40px;text-align:center;border-radius:20px}.category-icon-preview{object-fit:contain;align-self:start}.category-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.category-admin-card{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.category-admin-card img{object-fit:contain}.category-admin-card>div{flex:1;min-width:100px}.category-admin-card h3{margin:0}.brand-icon-library{padding:24px;border:1px solid #d8c9b5;border-radius:20px;margin-block:25px}.brand-icon-library summary{cursor:pointer;min-height:44px;font-weight:bold}.brand-icon-library>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:14px}.brand-icon-library figure{margin:0;padding:12px;text-align:center;background:#eee5d7;border-radius:14px}.brand-icon-library img{object-fit:contain;max-width:100%;height:auto}.brand-icon-library figcaption{font-size:11px;overflow-wrap:anywhere}
/* Account composition changes while preserving every real form, verification and recovery action. */
html:root body.auth-view[data-lang][data-dir] .auth-shell--refined{display:grid!important;grid-template-columns:minmax(230px,.9fr) minmax(0,1.1fr)!important;max-width:1000px!important;width:calc(100% - 32px)!important;margin:clamp(18px,5vw,70px) auto!important;padding:0!important;border:1px solid #d8c9b5!important;border-radius:26px!important;overflow:hidden;box-shadow:0 20px 70px #4c0b1c0b;background:#f3ebdd!important;gap:0!important}
html:root body.auth-view[data-lang][data-dir] .auth-brand-panel{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:20px;padding:clamp(24px,4vw,48px);background:#e6dac6;color:#43352d;min-width:0;border-inline-end:1px solid #d8c9b5}.auth-brand-word{font-size:36px;color:#66001f;font-weight:800}.auth-brand-word small{display:block;font-size:11px;letter-spacing:4px;margin-top:5px;color:#626b3d}.auth-brand-panel>img{object-fit:contain}.auth-brand-panel h2{font-size:clamp(22px,2.3vw,30px);margin:0}.auth-brand-panel p{line-height:1.9;margin:0;font-size:14px}.auth-trust{display:flex;align-items:center;gap:10px;font-size:11px;margin-top:12px}
html:root body.auth-view[data-lang][data-dir] .auth-shell--refined .auth-card{width:100%!important;max-width:none!important;padding:clamp(22px,4vw,42px)!important;margin:0!important;box-sizing:border-box;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0}.auth-shell--refined .auth-heading{text-align:start!important}.auth-shell--refined .auth-brand-logo{width:120px!important;height:52px!important;object-fit:contain!important}.auth-shell--refined .auth-input{min-height:48px}.auth-shell--refined .auth-field label{font-weight:700}
html[data-theme=dark] body.luxury-ui[data-lang][data-dir][class]{--dark-accent:#dfc18c;--ls-burgundy:#dfc18c;--libseh-burgundy:#dfc18c;--care-wine:#dfc18c}html[data-theme=dark] body.luxury-ui[data-lang][data-dir][class] :is(.category-catalog-filters,.brand-icon-library figure){background:#202622;border-color:#586047;color:#f6f1e8}html[data-theme=dark] body.auth-view[data-lang][data-dir] .auth-brand-panel{background:#2a322c;color:#f6f1e8;border-color:#586047}html[data-theme=dark] .auth-brand-word{color:#dfc18c}html[data-theme=dark] .auth-brand-word small{color:#bdc98e}
@media(max-width:1050px){.category-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.category-catalog-filters>label:first-child{grid-column:1/-1}.category-catalog-filters button{grid-column:1/-1}}
@media(max-width:700px){html:root body.auth-view[data-lang][data-dir] .auth-shell--refined{grid-template-columns:minmax(0,1fr)!important;width:calc(100% - 24px)!important;border-radius:20px!important;margin-block:16px!important}html:root body.auth-view[data-lang][data-dir] .auth-brand-panel{display:grid;grid-template-columns:minmax(0,1fr) 70px;padding:20px;gap:8px 14px;border-inline-end:0;border-bottom:1px solid #d8c9b5}.auth-brand-word{font-size:25px}.auth-brand-word small{font-size:9px}.auth-brand-panel>img{grid-column:2;grid-row:1/3;width:64px;height:64px}.auth-brand-panel h2{font-size:19px}.auth-brand-panel :is(p,.auth-trust){display:none}.category-admin-grid{grid-template-columns:minmax(0,1fr)}html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation .category-rail{grid-auto-columns:104px!important;gap:10px!important}html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation :is(.main-category,.category-item){min-height:138px;padding:10px 7px!important}html:root body.luxury-ui[data-lang][data-dir][class] .fashion-category-navigation .category-item-media{width:76px!important;height:76px!important}.category-catalog-head{gap:14px}.category-catalog-head>img{width:84px;height:84px}.category-catalog-filters{padding:14px;gap:12px}.category-catalog-page .ls-empty-card{padding:25px 15px}}
@media(prefers-reduced-motion:reduce){.fashion-category-navigation a{transition:none!important;scroll-behavior:auto!important}}

html:root body.luxury-ui[data-lang][data-dir][class] :is(.bf-floating,.lucky-launcher){background:#66001f!important;color:#f6f1e8!important;border-color:#c6a46a!important}
html:root body.luxury-ui[data-lang][data-dir][class] .brand-footer .brand-company-phone{font-size:20px!important;font-weight:800;color:#66001f!important}

html:root body.luxury-ui[data-lang][data-dir][class] .header-language-switcher :is(summary,button){background:#eee5d7!important;color:#66001f!important;border-color:#d8c9b5!important}
html:root body.luxury-ui[data-lang][data-dir][class] .auth-brand-panel>h2{color:inherit!important}
html:not([data-theme=dark]) body.luxury-ui[data-lang][data-dir][class] :is(.care-message.is-self .care-bubble,.care-message--self .care-bubble){background:#e7d6d0!important;color:#43352d!important}

html:root body.auth-view[data-lang][data-dir] :is(main,.auth-page--login){width:100%!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;box-sizing:border-box;display:block!important}
html[data-theme=dark]:root body.auth-view[data-lang][data-dir] .auth-shell--refined :is(label,.auth-field label,.auth-copy,.auth-hint,.auth-kicker,.auth-remember,.auth-terms,.auth-back){color:#d5d4c2!important}
html[data-theme=dark]:root body.auth-view[data-lang][data-dir] .auth-shell--refined a{color:#dfc18c!important}
html:root body.luxury-ui[data-lang][data-dir][class] .category-catalog-page .breadcrumb a{color:#626b3d}
html[data-theme=dark]:root body.luxury-ui[data-lang][data-dir][class] .category-catalog-page .breadcrumb a{color:#dfc18c}

/* Legacy feature surfaces, audited in light mode across customer and role dashboards. */
html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] :is(.pf2-card,.pf2-row,.mdash-more-panel,.account-hub-block,.account-hub-card,.opg-head,.opg-card,.opg-pill,.lsx-id-card,.lsx-logo,.lsx-menu-list,.lsx-filters,.lsx-card,.pd-qty,.filter-chip,.order-tabs,.orders-search,.lab-more-menu,.lg-manage-card,.lg-create-panel,.orders-empty,.so-method,.so-qr,.so-switch,.so-wipe-type,.dl-kpi,.dl-tr,.pl-row,.od-stages,.od-filters,.lg-qr){background-color:#f3ebdd!important;border-color:#d8c9b5!important}
html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] :is(.aya-topbar .round-icon,.aya-wizard-nav button,.i18n-tab-bar button,.dl-tabs>a,.pf2-steps>a,.mdash-more-panel>a,.customer-kpis>a,.customer-shortcuts>a,.ls-favs-tabs button,.lsx-act,.lsx-tool,.lsx-opt,.lsx-btn-ghost,.lsx-fact){background-color:#eee5d7!important;border-color:#d8c9b5!important;color:#43352d!important}
html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] :is(.aya-main,.aya-content,.merchant-view,.opg-page,.order-desk) tbody tr{background-color:#f3ebdd!important}
html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] :is(.aya-main,.aya-content,.merchant-view,.opg-page,.order-desk) tbody tr:nth-child(even){background-color:#eee5d7!important}
html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] :is(.lg-group-logo,.lg-logo,.lg-owner-logo,.lg-admin-logo,.own-store-chip img,.lg-reference-shop img,.lg-compact-art img,.aya-logo-cell img){background-color:#eee5d7!important}
html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] input:is([type=checkbox],[type=radio],[type=color]){background-color:#eee5d7!important;accent-color:#66001f}

html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] :is(.aya-wizard-nav button.active,.i18n-tab-bar button.active,.dl-tabs>a.active,.pf2-steps>a.active,.lsx-opt.is-selected,.lsx-opt.active){background-color:#e9ddcd!important;border-color:#66001f!important;box-shadow:inset 0 -3px #66001f;color:#66001f!important}

html:root body.luxury-ui[data-lang][data-dir][class] .libseh-editorial-copy h1{color:#66001f!important}

html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] :is(.orders-chip,.stores-view-toggle .round-icon,.lsx-chips>button){background-color:#eee5d7!important;border-color:#d8c9b5!important;color:#43352d!important}
html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] .opg-steps li:not(.is-done):not(.is-current)>b{background-color:#eee5d7!important}
html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] :is(.orders-chip.active,.stores-view-toggle .round-icon.active,.lsx-chips>button.active){border-color:#66001f!important;color:#66001f!important;box-shadow:inset 0 -2px #66001f}

html:not([data-theme=dark]):root body.luxury-ui[data-lang][data-dir][class] .cr-card{background-color:#f3ebdd!important;border-color:#d8c9b5!important}

/* Sidebar labels use an explicit palette; legacy white-on-beige rules cannot hide them. */
html:not([data-theme=dark]):root body.luxury-ui.aya-admin[data-lang][data-dir][class] :is(.aya-sidebar,.aya-sidebar .aya-nav,.aya-sidebar .aya-nav-foot){background:#f3ebdd!important;background-image:none!important;color:#302525!important}
html:not([data-theme=dark]):root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar :is(a,summary,button,span,p,small,strong){color:#302525!important;opacity:1!important;text-shadow:none!important}
html:not([data-theme=dark]):root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar :is(a.active,a[aria-current=page],a:hover,summary:hover,button:hover){background:#e4d6c3!important;color:#66001f!important;border-color:#66001f!important}
html[data-theme=dark]:root body.luxury-ui.aya-admin[data-lang][data-dir][class] :is(.aya-sidebar,.aya-sidebar .aya-nav,.aya-sidebar .aya-nav-foot){background:#202622!important;background-image:none!important;color:#f6f1e8!important}
html[data-theme=dark]:root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar :is(a,summary,button,span,p,small,strong){color:#f6f1e8!important;opacity:1!important;text-shadow:none!important}
html[data-theme=dark]:root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar :is(a.active,a[aria-current=page],a:hover,summary:hover,button:hover){background:#43202c!important;color:#fff1dc!important;border-color:#c6a46a!important}
html:root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar :is(a,summary,button){font-weight:650;min-height:44px;line-height:1.65}
html:root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar :is(a,summary,button):focus-visible{outline:2px solid #c6a46a;outline-offset:2px}
html:root body.luxury-ui[data-lang][data-dir][class] img.libseh-outline-icon{background:#eee5d7!important;border-radius:8px!important;padding:3px!important;box-sizing:border-box;object-fit:contain!important}

html:not([data-theme=dark]):root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar-logo{background:#e9dfce!important}
html[data-theme=dark]:root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar-logo{background:#2a322c!important}
html:root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar .nav-count{background:#66001f!important;color:#f6f1e8!important}

html:not([data-theme=dark]):root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar-logout button{background:#e4d6c3!important;color:#302525!important;border-color:#cbb79d!important}
html[data-theme=dark]:root body.luxury-ui.aya-admin[data-lang][data-dir][class] .aya-sidebar-logout button{background:#43202c!important;color:#f6f1e8!important;border-color:#c6a46a!important}
