/*
 * ORIGO global appearance layer.
 * Loaded after every page stylesheet so saved appearance settings remain authoritative.
 */
#storefront-main :where(h1,h2,h3,h4,h5,h6),
#site-footer :where(h1,h2,h3,h4,h5,h6),
.site-header :where(h1,h2,h3,h4,h5,h6){
  font-family:var(--origo-font-heading)!important;
  zoom:var(--origo-heading-scale);
}

#storefront-main :where(svg,[class*="icon"],[class*="Icon"]),
#site-footer :where(svg,[class*="icon"],[class*="Icon"]),
.site-header :where(svg,[class*="icon"],[class*="Icon"]){
  scale:var(--origo-icon-scale);
}

#storefront-main :where(.product-card-media,.product-image,.home-gender-card,.category-card,.brand-card,.hero-media,.product-gallery,.quick-product-image),
#site-footer :where(.footer-story-image){
  overflow:hidden;
  border-radius:var(--origo-image-radius)!important;
}

#storefront-main :where(.product-card-media,.product-image,.home-gender-card,.category-card,.brand-card,.hero-media,.product-gallery,.quick-product-image) img,
#site-footer :where(.footer-story-image) img{
  scale:var(--origo-image-scale);
  object-fit:var(--origo-image-fit,contain)!important;
  border-radius:var(--origo-image-radius)!important;
  transition:scale .2s ease,border-radius .2s ease;
}

html[data-appearance-image-fit="cover"]{--origo-image-fit:cover}
html[data-appearance-image-fit="contain"]{--origo-image-fit:contain}

#storefront-main :where([class*="-card"],[class$="card"],[class*="-panel"],[class$="panel"]),
#site-footer :where([class*="-card"],[class$="card"]){
  border-radius:var(--origo-card-radius)!important;
}

#storefront-main :where(.product-card,.account-stat-card,.checkout-panel,.footer-benefit-card,.benefit-card,.category-card,.brand-card,.home-gender-card){
  border-width:var(--origo-card-border-width)!important;
  box-shadow:var(--origo-card-shadow)!important;
}

#storefront-main :where(.product-card-info,.account-stat-card,.benefit-card,.category-card),
#site-footer :where(.footer-benefit-card){
  padding:var(--origo-card-padding)!important;
}

@media(max-width:680px){
  #storefront-main,
  #site-footer,
  .site-header{font-size:var(--origo-base-font-size)}
}

/* ORIGO palette: white + burgundy + gold */
body:not(.dark){
  --white:#fff;
  --paper:#fffaf6;
  --paper-2:#f8eee6;
  --card:#fff;
  --ink:#251519;
  --ink-soft:#6e5b60;
  --burgundy:#720019;
  --burgundy-2:#920428;
  --burgundy-deep:#4b0011;
  --gold:#d3a13c;
  --gold-bright:#f4ce72;
  --gold-dark:#9a6916;
  --line:rgba(114,0,25,.16);
}
body:not(.dark) #storefront-main{background-color:#fff}
body:not(.dark) #storefront-main :where(.product-card,.checkout-main-card,.checkout-summary-card,.account-subview,.recent-orders,.performance-card,.footer-benefit-card){
  background-color:#fff;
}

/* Dark mode uses readable light-gray surfaces and white typography. */
body.dark{
  --white:#3b3c40;
  --paper:#484a4f;
  --paper-2:#55575d;
  --card:#4b4d52;
  --ink:#fff;
  --ink-soft:#f0f0f2;
  --line:rgba(255,255,255,.22);
  --shadow:0 20px 55px rgba(0,0,0,.28);
  color:#fff!important;
  background:#343539!important;
}
body.dark #storefront-main,
body.dark .origo-home,
body.dark .pdp-page,
body.dark .commerce-page,
body.dark .account-page,
body.dark .catalog-page,
body.dark .fragrance-finder-page,
body.dark .alternatives-page,
body.dark .benefit-detail-page{
  color:#fff!important;
  background:#3b3c40!important;
}
body.dark #storefront-main :where(
  .product-card,.checkout-main-card,.checkout-summary-card,.checkout-side-card,
  .account-subview,.recent-orders,.profile-card,.vip-promo,.account-stat-card,
  .performance-card,.performance-insight-card,.pdp-card,.pdp-purchase,
  .catalog-filter-panel,.catalog-toolbar,.finder-card,.finder-option,
  .alternative-card,.benefit-detail-hero,.benefit-content-card,
  [class*="-panel"],[class*="-dialog"]
){
  color:#fff!important;
  border-color:rgba(255,255,255,.2)!important;
  background:#4b4d52!important;
}
body.dark #storefront-main :where(h1,h2,h3,h4,h5,h6,p,li,label,legend,summary,small,strong,b),
body.dark #site-footer :where(h1,h2,h3,h4,h5,h6,p,li,label,legend,summary,small,strong,b){
  color:#fff!important;
}
body.dark #storefront-main :where(input,textarea,select),
body.dark #site-footer :where(input,textarea,select){
  color:#fff!important;
  caret-color:#f4ce72;
  border-color:rgba(255,255,255,.28)!important;
  background:#5a5c62!important;
}
body.dark #storefront-main :where(input,textarea)::placeholder,
body.dark #site-footer :where(input,textarea)::placeholder{color:#dedee1!important;opacity:1}
body.dark #storefront-main :where(a:not(.button),button:not(.burgundy-button):not(.pdp-add)){
  color:#fff;
}
body.dark .origo-footer{
  color:#fff!important;
  background:#3f4044!important;
}
body.dark .origo-footer :where(.footer-top-grid,.footer-benefit-card,.footer-email-field,.footer-column a){
  color:#fff!important;
  border-color:rgba(255,255,255,.2)!important;
  background:#4b4d52!important;
}
body.dark .site-header,
body.dark .category-nav{color:#fff;background:#720019!important}
body.dark .category-nav :where(a,button,span){color:#fff!important}
body.dark .category-nav :where(.mega-dropdown,.mega-dropdown-heading){
  color:#fff!important;
  border-color:rgba(244,206,114,.35)!important;
  background:#4b4d52!important;
}
/* ORIGO luxury icon system — consistent, dependency-free and theme aware */
.origo-lux-icon {
  width: 1.35em;
  height: 1.35em;
  display: block;
  flex: 0 0 auto;
  overflow: visible;
  color: currentColor;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 5px rgba(92, 0, 28, .12));
  transition: color .22s ease, transform .22s ease, filter .22s ease;
}

button:hover > .origo-lux-icon,
a:hover > .origo-lux-icon,
button:hover .nav-icon .origo-lux-icon,
a:hover .nav-icon .origo-lux-icon {
  color: var(--gold, #c8943d);
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 4px 8px rgba(200, 148, 61, .25));
}

.site-header .origo-lux-icon {
  stroke-width: 1.75;
}

.mobile-menu-button .origo-lux-icon {
  width: 25px;
  height: 25px;
  margin: auto;
}

.header-commerce-actions .origo-lux-icon {
  width: 24px;
  height: 24px;
}

.header-search > .origo-lux-icon {
  width: 21px;
  height: 21px;
}

.theme-toggle .origo-lux-icon {
  width: 18px;
  height: 18px;
}

.announcement > span {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.announcement .origo-lux-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-bright, #e4b75d);
}

.announcement b {
  font: inherit;
  color: inherit;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
}

.nav-icon .origo-lux-icon {
  width: 17px;
  height: 17px;
  color: var(--gold, #c8943d);
}

[data-home-category-icon] .origo-lux-icon,
.benefit-icon .origo-lux-icon {
  width: 29px;
  height: 29px;
  margin: auto;
  color: var(--burgundy, #76001f);
  stroke-width: 1.55;
}

.origo-lux-icon-medallion {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--icon-accent, #7b0a20) 28%, transparent);
  border-radius: 28%;
  color: var(--icon-accent, #7b0a20);
  background:
    radial-gradient(circle at 32% 25%, rgba(255,255,255,.95), transparent 44%),
    color-mix(in srgb, var(--icon-accent, #7b0a20) 8%, white);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55), 0 6px 16px rgba(92,0,28,.1);
}

.origo-lux-icon-medallion .origo-lux-icon {
  width: 58%;
  height: 58%;
}

.store-bottom-nav .origo-lux-icon {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  stroke-width: 1.7;
}

.site-footer .footer-column a > span .origo-lux-icon,
.site-footer .footer-column button > span .origo-lux-icon,
.footer-contact > * > span .origo-lux-icon {
  width: 17px;
  height: 17px;
  color: var(--burgundy, #76001f);
}

.footer-spark .origo-lux-icon,
.footer-email-field .origo-lux-icon {
  width: 20px;
  height: 20px;
}

.gender-copy > span:first-child .origo-lux-icon,
.loyalty-strip article > span:first-child .origo-lux-icon {
  width: 25px;
  height: 25px;
  color: var(--gold, #c8943d);
}

.category-nav .brands-nav > button > i .origo-lux-icon {
  width: 13px;
  height: 13px;
  transition: transform .2s ease;
}

.category-nav .brands-nav > button[aria-expanded="true"] > i .origo-lux-icon {
  transform: rotate(90deg);
}

body.dark .origo-lux-icon {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}

body.dark [data-home-category-icon] .origo-lux-icon,
body.dark .benefit-icon .origo-lux-icon {
  color: var(--gold-bright, #e4b75d);
}

@media (max-width: 720px) {
  [data-home-category-icon] .origo-lux-icon,
  .benefit-icon .origo-lux-icon {
    width: 25px;
    height: 25px;
  }
}

/* Unified ORIGO themes and centrally managed dimensions */
:root{
  --origo-header-light:#fff;
  --origo-header-dark:#5b5e63;
  --origo-header-height:118px;
  --origo-header-icon-scale:1;
  --origo-content-max:1440px;
  --origo-section-gap:28px;
  --origo-product-card-height:520px;
  --origo-admin-scale:1;
}

body:not(.dark),body:not(.dark) #storefront-main,body:not(.dark) .origo-home,
body:not(.dark) .catalog-page,body:not(.dark) .account-page,body:not(.dark) .pdp-page{
  background:#fff!important;
}
body:not(.dark) .site-header,
body:not(.dark) .category-nav{
  color:var(--burgundy,#720019)!important;
  background:var(--origo-header-light,#fff)!important;
  border-color:color-mix(in srgb,var(--gold,#c8943d) 34%,transparent)!important;
}
body:not(.dark) .site-header :where(button,a,.header-search b,.category-nav span){color:var(--burgundy,#720019)!important}
body:not(.dark) .site-header :where(svg,.origo-lux-icon){stroke:currentColor}
body:not(.dark) .site-header :where(.action-count,.burgundy-button){color:#fff!important;background:var(--burgundy,#720019)!important}
body:not(.dark) .category-nav :where(.mega-dropdown,.brands-dropdown){background:#fff!important}

body.dark,html[data-theme="dark"] body{
  --white:#60636a;
  --paper:#55585e;
  --paper-2:#656970;
  --card:#62666d;
  --ink:#fff;
  --ink-soft:#f1f1f2;
  --line:rgba(255,255,255,.24);
  background:#505359!important;
  color:#fff!important;
}
body.dark .site-header,body.dark .category-nav,
html[data-theme="dark"] .site-header,html[data-theme="dark"] .category-nav{
  color:#fff!important;
  background:var(--origo-header-dark,#5b5e63)!important;
  border-color:rgba(255,255,255,.22)!important;
}
body.dark :where(#storefront-main,.origo-home,.pdp-page,.commerce-page,.account-page,.catalog-page,.fragrance-finder-page,.alternatives-page,.benefit-detail-page,.origo-footer),
html[data-theme="dark"] :where(#storefront-main,.origo-home,.pdp-page,.commerce-page,.account-page,.catalog-page,.fragrance-finder-page,.alternatives-page,.benefit-detail-page,.origo-footer){background:#55585e!important;color:#fff!important}
body.dark :where(.product-card,.checkout-main-card,.checkout-summary-card,.checkout-side-card,.account-subview,.recent-orders,.profile-card,.vip-promo,.account-stat-card,.performance-card,.performance-insight-card,.pdp-card,.pdp-purchase,.catalog-filter-panel,.catalog-toolbar,.finder-card,.finder-option,.alternative-card,.benefit-content-card,.mega-dropdown,.brands-dropdown,.advanced-admin-panel,.catalog-admin-panel,[class*="-panel"],[class*="-dialog"]),
html[data-theme="dark"] :where(.product-card,.checkout-main-card,.checkout-summary-card,.checkout-side-card,.account-subview,.recent-orders,.profile-card,.vip-promo,.account-stat-card,.performance-card,.performance-insight-card,.pdp-card,.pdp-purchase,.catalog-filter-panel,.catalog-toolbar,.finder-card,.finder-option,.alternative-card,.benefit-content-card,.mega-dropdown,.brands-dropdown,.advanced-admin-panel,.catalog-admin-panel,[class*="-panel"],[class*="-dialog"]){background:#62666d!important;color:#fff!important;border-color:rgba(255,255,255,.22)!important}
body.dark :where(h1,h2,h3,h4,h5,h6,p,b,strong,small,label,legend,summary,a,button,li,span),
html[data-theme="dark"] :where(h1,h2,h3,h4,h5,h6,p,b,strong,small,label,legend,summary,a,button,li,span){color:#fff}
body.dark :where(input,textarea,select),html[data-theme="dark"] :where(input,textarea,select){background:#70747b!important;color:#fff!important;border-color:rgba(255,255,255,.28)!important}
body.dark :where(input,textarea)::placeholder,html[data-theme="dark"] :where(input,textarea)::placeholder{color:#ededee!important;opacity:1}

.site-header{min-height:var(--origo-header-height)}
.site-header :where(.header-commerce-actions>button,.header-preference-actions>button){transform:scale(var(--origo-header-icon-scale));transform-origin:center}
html[data-header-icon-shape="round"] .site-header :where(.header-commerce-actions>button,.header-preference-actions>button){border-radius:999px}
html[data-header-icon-shape="soft"] .site-header :where(.header-commerce-actions>button,.header-preference-actions>button){border-radius:12px}
html[data-header-icon-shape="square"] .site-header :where(.header-commerce-actions>button,.header-preference-actions>button){border-radius:2px}
html[data-header-actions-order="preferences-first"] .header-commerce-zone{order:3}
html[data-header-actions-order="preferences-first"] .header-preference-actions{order:1}
html[data-header-actions-order="commerce-first"] .header-commerce-zone{order:1}
html[data-header-actions-order="commerce-first"] .header-preference-actions{order:3}

#storefront-main>section,.origo-home>section{margin-block-end:var(--origo-section-gap)}
#storefront-main :where(.section-inner,.page-shell,.home-section-inner){max-width:var(--origo-content-max);margin-inline:auto}
.advanced-admin-panel,.catalog-admin-panel{font-size:calc(var(--origo-base-font-size) * var(--origo-admin-scale))}

.home-best-sellers .origo-product-card,
.home-brand-showcase .origo-product-card,
.home-products-rail .origo-product-card{
  height:var(--origo-product-card-height)!important;
  min-height:var(--origo-product-card-height)!important;
  display:flex!important;
  flex-direction:column;
}
.home-best-sellers .origo-product-card .product-card-info,
.home-brand-showcase .origo-product-card .product-card-info,
.home-products-rail .origo-product-card .product-card-info{flex:1;display:flex;flex-direction:column}
.home-best-sellers .origo-product-card .product-card-commerce,
.home-brand-showcase .origo-product-card .product-card-commerce,
.home-products-rail .origo-product-card .product-card-commerce{margin-top:auto}

.product-editor-tabs{position:sticky;top:0;z-index:12;display:flex;gap:8px;overflow-x:auto;padding:10px;background:var(--card,#fff);border:1px solid var(--line);border-radius:14px;scrollbar-width:thin}
.product-editor-tabs button{min-width:150px;display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink);text-align:start;cursor:pointer}
.product-editor-tabs button>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--paper-2);color:var(--burgundy);font-weight:800}
.product-editor-tabs button>b{white-space:nowrap}
.product-editor-tabs button.active{color:#fff;background:var(--burgundy);border-color:var(--burgundy)}
.product-editor-tabs button.active :where(span,b){color:#fff}
.product-tab-hidden{display:none!important}

@media(max-width:720px){
  .site-header{min-height:auto}
  .home-best-sellers .origo-product-card,.home-brand-showcase .origo-product-card,.home-products-rail .origo-product-card{height:440px!important;min-height:440px!important}
  .product-card-notes{min-height:38px;display:flex!important;justify-content:center;gap:5px!important}
  .product-card-notes>span{width:32px!important;height:32px!important;min-width:32px!important;padding:2px!important;border-radius:9px!important;display:grid!important;place-items:center!important}
  .product-card-notes>span>b{display:none!important}
  .product-card-notes img{width:27px!important;height:27px!important;object-fit:cover;border-radius:7px}
  .product-editor-tabs{position:sticky;top:0;margin-inline:-4px}
  .product-editor-tabs button{min-width:118px;padding:8px;font-size:.85em}
}

body.brands-route #storefront-main>*:not(#brands-page){display:none!important}
.brands-route-page{min-height:70vh;background:#fff;padding:clamp(22px,4vw,58px)}
.brands-page-shell{max-width:var(--origo-content-max);margin:auto}
.brands-page-breadcrumb{display:flex;gap:10px;align-items:center;color:var(--ink-soft);margin-bottom:22px}
.brands-page-breadcrumb button{border:0;background:none;color:var(--burgundy);cursor:pointer}
.brands-page-shell>header{text-align:center;margin-bottom:28px}
.brands-page-shell>header>span{color:var(--gold);font-weight:800}
.brands-page-shell>header h1{font-family:var(--origo-font-heading);color:var(--burgundy);font-size:calc(2.2rem * var(--origo-heading-scale));margin:.25em 0}
.brands-page-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
.brands-page-grid>button{min-height:150px;display:grid;place-items:center;align-content:center;gap:10px;padding:16px;border:var(--origo-card-border-width) solid var(--line);border-radius:var(--origo-card-radius);background:#fff;color:var(--burgundy);box-shadow:var(--origo-card-shadow);cursor:pointer}
.brands-page-grid img{width:100%;height:72px;object-fit:contain}
.brands-page-grid>button>span{display:grid;place-items:center;width:68px;height:68px;border-radius:18px;background:#fff8ef;color:var(--burgundy);font:800 1.2rem var(--origo-font-heading)}
.brands-page-grid>button:hover{border-color:var(--gold);transform:translateY(-2px)}
body.dark .brands-route-page,html[data-theme="dark"] .brands-route-page{background:#55585e!important}
body.dark .brands-page-grid>button,html[data-theme="dark"] .brands-page-grid>button{background:#62666d!important;color:#fff!important}
@media(max-width:600px){.brands-route-page{padding:18px 12px}.brands-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.brands-page-grid>button{min-height:118px;padding:10px}.brands-page-grid img{height:58px}}

/* Admin design system: compact, readable and theme-complete. */
.advanced-admin-panel,.product-admin-overlay{
  --admin-bg:#f7f4ef;--admin-surface:#fff;--admin-surface-muted:#fbf8f4;--admin-text:#231f20;
  --admin-text-muted:#6f6862;--admin-border:#e8e1d8;--admin-primary:#720019;
  --admin-primary-soft:#f8e8ec;--admin-gold:#bd8730;--admin-shadow:0 10px 28px rgba(67,34,40,.06);
  --admin-sidebar-bg:#fff;--admin-sidebar-text:#30282a;--admin-sidebar-active-bg:#f8e8ec;--admin-sidebar-active-text:#720019;
  font-family:"Noto Naskh Arabic","Alexandria",sans-serif;color:var(--admin-text);background:var(--admin-bg)
}
.advanced-admin-panel{grid-template-columns:270px minmax(0,1fr)}
.advanced-admin-sidebar{padding:16px 12px 12px;color:var(--admin-sidebar-text);background:var(--admin-sidebar-bg);border-inline-end:1px solid var(--admin-border)}
.admin-sidebar-brand{min-height:64px;padding:4px 12px 14px;border-color:var(--admin-border)}
.admin-sidebar-brand img{width:138px;height:48px;object-fit:contain}.admin-sidebar-brand small{color:var(--admin-gold);font-size:12px;font-weight:700}
#advanced-admin-nav{padding:10px 0;scrollbar-color:#ccbfc2 transparent}
#advanced-admin-nav>small{margin:16px 12px 6px;color:var(--admin-text-muted);font-size:13px;font-weight:800;letter-spacing:.04em}
#advanced-admin-nav button{min-height:48px;padding:8px 15px;grid-template-columns:21px minmax(0,1fr) auto;gap:11px;border-radius:10px;color:var(--admin-sidebar-text);font-size:16px;font-weight:700}
#advanced-admin-nav button i{width:21px;height:21px;color:var(--admin-primary);background:transparent;font-size:20px}
#advanced-admin-nav button b{font-size:11px}
#advanced-admin-nav button:hover,#advanced-admin-nav button.active{color:var(--admin-sidebar-active-text);background:var(--admin-sidebar-active-bg);box-shadow:inset 4px 0 var(--admin-primary)}
html[dir="ltr"] #advanced-admin-nav button:hover,html[dir="ltr"] #advanced-admin-nav button.active{box-shadow:inset -4px 0 var(--admin-primary)}
#advanced-admin-nav button.active i{color:var(--admin-primary);background:transparent}
.admin-sidebar-user{padding:12px 10px 2px;border-color:var(--admin-border)}.admin-sidebar-user b{font-size:15px}.admin-sidebar-user small{color:var(--admin-text-muted);font-size:12px}.admin-sidebar-user button{color:var(--admin-primary)}
.advanced-admin-main{grid-template-rows:68px minmax(0,1fr)}
.advanced-admin-topbar{min-height:68px;padding:8px clamp(18px,2vw,30px);border-color:var(--admin-border);background:rgba(255,255,255,.94)}
.admin-global-search{width:min(560px,48%);height:48px;border-color:var(--admin-border);border-radius:10px;background:var(--admin-surface-muted)}.admin-global-search input{font-size:15px}
.admin-topbar-actions button{min-width:42px;min-height:42px;font-size:14px}
.advanced-admin-body{padding:clamp(20px,2.4vw,32px);background:var(--admin-bg)}
.admin-view-head{margin-bottom:22px}.admin-view-head h1{font-size:clamp(30px,2vw,40px);line-height:1.3}.admin-view-head p{font-size:16px;line-height:1.7;color:var(--admin-text-muted)}
.admin-dashboard-content{display:grid;gap:20px}.admin-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.admin-metric,.admin-chart-card,.admin-table-card,.admin-list-card,.review-section,.confidence-card,.missing-card,.duplicate-alert{border-color:var(--admin-border);border-radius:14px;background:var(--admin-surface);box-shadow:var(--admin-shadow)}
.admin-metric{min-height:138px;padding:20px}.admin-metric b{font-size:clamp(28px,2vw,34px)}.admin-metric small{font-size:14px}
.admin-chart-card{min-height:360px;padding:22px}.admin-chart-card h3{font-size:18px}.admin-sales-chart{min-height:300px}.admin-sales-chart small{font-size:13px}.admin-chart-card>footer{color:var(--admin-text);background:var(--admin-surface-muted);border-top:1px solid var(--admin-border)}
.catalog-review{padding:20px 24px 96px}.catalog-review .review-section{margin-top:18px;padding:22px}.catalog-review .review-section-head{margin-bottom:16px}.catalog-review .review-section-head>span{width:38px;height:38px;font-size:13px}.catalog-review .review-section-head b{font-size:clamp(18px,1.4vw,22px)}.catalog-review .review-section-head small{font-size:13px;line-height:1.6}
.catalog-review label{font-size:15px}.catalog-review :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea){font-size:15px;background:var(--admin-surface-muted)}
.review-submit{position:sticky;bottom:0;min-height:74px;margin-top:18px;padding:12px 16px;color:var(--admin-text);border:1px solid var(--admin-border);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 -10px 28px rgba(66,31,39,.08);backdrop-filter:blur(12px)}
.review-submit b{color:var(--admin-text);font-size:15px}.review-submit small{color:var(--admin-text-muted);font-size:13px}.review-submit-actions .button{min-height:48px;font-size:15px;border-radius:9px}

/* Product media studio */
.product-media-studio{margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:14px;direction:ltr}
.product-media-stage{position:relative;min-height:clamp(360px,48vw,680px);display:grid;place-items:center;overflow:hidden;border:1px solid var(--admin-border);border-radius:16px;background:#fff}
.product-media-stage>img{width:100%;height:100%;max-height:680px;object-fit:contain}.product-media-stage-actions{position:absolute;z-index:2;top:14px;right:14px}.product-media-stage-actions button,.studio-arrow{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--admin-border);border-radius:50%;color:#342b2d;background:rgba(255,255,255,.94);box-shadow:0 7px 20px rgba(40,23,27,.08);font-size:20px;cursor:pointer}
.studio-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%)}.studio-arrow.previous{left:14px}.studio-arrow.next{right:14px}.studio-count{position:absolute;bottom:14px;left:50%;padding:7px 14px;border:1px solid var(--admin-border);border-radius:999px;background:rgba(255,255,255,.94);transform:translateX(-50%);font:700 14px/1.3 "Alexandria",sans-serif}
.product-media-thumbnails{max-height:680px;padding:2px;display:flex;align-content:flex-start;flex-direction:column;gap:10px;overflow-y:auto}.product-media-thumbnails .review-image{min-height:98px;padding:4px;border-radius:10px;background:#fff}.product-media-thumbnails .review-image button{width:100%;height:78px;padding:0;border:0;background:transparent;cursor:pointer}.product-media-thumbnails .review-image img{width:100%;height:100%;object-fit:contain}.product-media-thumbnails .review-image span{font-size:11px;text-align:center}.product-media-thumbnails .review-image.selected{border:2px solid var(--admin-primary)}
.product-media-studio.is-empty{display:block}.product-media-empty{min-height:230px;display:grid;place-content:center;justify-items:center;gap:7px;border:2px dashed var(--admin-border);border-radius:16px;color:var(--admin-text-muted);background:var(--admin-surface-muted);text-align:center}.product-media-empty span{color:var(--admin-primary);font-size:38px}.product-media-empty b{font-size:18px}.product-media-empty small{font-size:13px}
.product-media-lightbox{width:100vw;max-width:none;height:100vh;max-height:none;margin:0;padding:18px;border:0;background:#fff}.product-media-lightbox::backdrop{background:rgba(20,14,15,.72)}.product-media-lightbox>img{width:100%;height:calc(100vh - 78px);object-fit:contain}.studio-lightbox-close{position:fixed;z-index:3;top:18px;right:18px;width:46px;height:46px;border:1px solid var(--admin-border);border-radius:50%;background:#fff;font-size:26px;cursor:pointer}.product-media-lightbox footer{position:fixed;bottom:18px;left:50%;padding:7px 10px;display:flex;align-items:center;gap:14px;border:1px solid var(--admin-border);border-radius:999px;background:#fff;transform:translateX(-50%)}.product-media-lightbox footer button{width:34px;height:34px;border:0;border-radius:50%;color:var(--admin-primary);background:var(--admin-surface-muted);font-size:22px;cursor:pointer}

body.dark .advanced-admin-panel,html[data-theme="dark"] .advanced-admin-panel{--admin-bg:#55585e;--admin-surface:#62666d;--admin-surface-muted:#70747b;--admin-text:#fff;--admin-text-muted:#f1f1f2;--admin-border:rgba(255,255,255,.24);--admin-sidebar-bg:#5b5e63;--admin-sidebar-text:#fff;--admin-sidebar-active-bg:#70747b;--admin-sidebar-active-text:#fff;background:var(--admin-bg)!important}
body.dark .advanced-admin-sidebar,html[data-theme="dark"] .advanced-admin-sidebar{color:#fff;background:var(--admin-sidebar-bg)!important;border-color:var(--admin-border)}
body.dark .advanced-admin-topbar,html[data-theme="dark"] .advanced-admin-topbar,body.dark .review-submit,html[data-theme="dark"] .review-submit{color:#fff;background:rgba(98,102,109,.96)!important;border-color:var(--admin-border)}
body.dark .product-media-stage,body.dark .product-media-thumbnails .review-image,body.dark .product-media-lightbox,html[data-theme="dark"] .product-media-stage,html[data-theme="dark"] .product-media-thumbnails .review-image,html[data-theme="dark"] .product-media-lightbox{background:#62666d!important;border-color:var(--admin-border)}

/* Let the content define card height while CSS Grid keeps every row equal. */
.home-best-sellers .origo-product-card,.home-brand-showcase .origo-product-card,.home-products-rail .origo-product-card{height:auto!important;min-height:0!important}
.home-best-sellers .origo-product-card .product-card-commerce,.home-brand-showcase .origo-product-card .product-card-commerce,.home-products-rail .origo-product-card .product-card-commerce{margin-top:10px}

@media(max-width:1100px){.advanced-admin-panel{grid-template-columns:250px minmax(0,1fr)}.product-media-studio{grid-template-columns:1fr}.product-media-thumbnails{max-height:none;flex-direction:row;overflow-x:auto}.product-media-thumbnails .review-image{flex:0 0 104px}}
@media(max-width:760px){.advanced-admin-panel{grid-template-columns:1fr}.advanced-admin-sidebar{width:min(290px,88vw)}.advanced-admin-body{padding:16px 12px}.admin-global-search{width:100%}.catalog-review{padding:12px 12px 142px}.catalog-review .review-section{padding:16px}.product-media-stage{min-height:340px}.review-submit{border-radius:12px}.review-submit-actions{grid-template-columns:1fr 1fr}.review-submit-actions .burgundy-button{grid-column:1/-1}}

/* The language label must remain readable on narrow phones. */
@media(max-width:640px){.header-main,.compact .header-main{grid-template-columns:38px minmax(72px,1fr) minmax(96px,28vw) 94px}.header-preference-actions .lang-button{width:clamp(58px,18vw,70px);min-width:58px;padding-inline:4px;overflow:visible;font-size:10px}.header-preference-actions{min-width:96px}}

/* Editable semantic palettes. These final rules intentionally override page-specific tints. */
body:not(.dark){
  --white:var(--origo-light-surface,#fff);
  --paper:var(--origo-light-page,#fff);
  --paper-2:color-mix(in srgb,var(--origo-light-burgundy,#720019) 4%,var(--origo-light-surface,#fff));
  --card:var(--origo-light-surface,#fff);
  --surface:var(--origo-light-surface,#fff);
  --ink:var(--origo-light-text,#251519);
  --ink-soft:var(--origo-light-muted,#6e5b60);
  --muted:var(--origo-light-muted,#6e5b60);
  --burgundy:var(--origo-light-burgundy,#720019);
  --burgundy-2:color-mix(in srgb,var(--origo-light-burgundy,#720019) 82%,#fff);
  --burgundy-deep:color-mix(in srgb,var(--origo-light-burgundy,#720019) 78%,#000);
  --line:color-mix(in srgb,var(--origo-light-burgundy,#720019) 16%,transparent);
  color:var(--origo-light-text,#251519);
  background:var(--origo-light-page,#fff)!important;
}
body:not(.dark) :where(#storefront-main,.origo-home,.pdp-page,.commerce-page,.account-route-page,.catalog-page,.fragrance-finder-page,.alternatives-page,.benefit-detail-page,.brands-route-page){
  background-color:var(--origo-light-page,#fff)!important;
  background-image:none!important;
}
body:not(.dark) #storefront-main :where(.product-card,.checkout-main-card,.checkout-summary-card,.checkout-side-card,.account-subview,.recent-orders,.profile-card,.account-mobile-identity,.account-mobile-menu,.account-support-list,.catalog-filter-panel,.catalog-toolbar,.finder-card,.finder-option,.alternative-card,.benefit-content-card,.performance-card,.performance-insight-card),
body:not(.dark) :where(.mega-dropdown,.brands-dropdown){
  color:var(--origo-light-text,#251519)!important;
  background:var(--origo-light-surface,#fff)!important;
}
body:not(.dark) .site-header,body:not(.dark) .category-nav{
  color:var(--origo-light-burgundy,#720019)!important;
  background:var(--origo-header-light,var(--origo-light-surface,#fff))!important;
}

body.dark,html[data-theme="dark"] body{
  --white:var(--origo-dark-surface,#4b4d52);
  --paper:var(--origo-dark-page,#3b3c40);
  --paper-2:var(--origo-dark-elevated,#5a5c62);
  --card:var(--origo-dark-surface,#4b4d52);
  --surface:var(--origo-dark-surface,#4b4d52);
  --ink:var(--origo-dark-text,#fff);
  --ink-soft:var(--origo-dark-muted,#f0f0f2);
  --muted:var(--origo-dark-muted,#f0f0f2);
  --burgundy:var(--origo-dark-burgundy,#720019);
  --burgundy-2:color-mix(in srgb,var(--origo-dark-burgundy,#720019) 78%,#fff);
  --burgundy-deep:color-mix(in srgb,var(--origo-dark-burgundy,#720019) 78%,#000);
  --line:color-mix(in srgb,var(--origo-dark-text,#fff) 22%,transparent);
  color:var(--origo-dark-text,#fff)!important;
  background:var(--origo-dark-page,#3b3c40)!important;
}
body.dark :where(#storefront-main,.origo-home,.pdp-page,.commerce-page,.account-route-page,.catalog-page,.fragrance-finder-page,.alternatives-page,.benefit-detail-page,.brands-route-page,.origo-footer),
html[data-theme="dark"] :where(#storefront-main,.origo-home,.pdp-page,.commerce-page,.account-route-page,.catalog-page,.fragrance-finder-page,.alternatives-page,.benefit-detail-page,.brands-route-page,.origo-footer){
  color:var(--origo-dark-text,#fff)!important;
  background:var(--origo-dark-page,#3b3c40)!important;
}
body.dark :where(.product-card,.checkout-main-card,.checkout-summary-card,.checkout-side-card,.account-subview,.recent-orders,.profile-card,.vip-promo,.account-mobile-identity,.account-mobile-menu,.account-support-list,.performance-card,.performance-insight-card,.pdp-card,.pdp-purchase,.catalog-filter-panel,.catalog-toolbar,.finder-card,.finder-option,.alternative-card,.benefit-content-card,.mega-dropdown,.brands-dropdown,[class*="-panel"],[class*="-dialog"]),
html[data-theme="dark"] :where(.product-card,.checkout-main-card,.checkout-summary-card,.checkout-side-card,.account-subview,.recent-orders,.profile-card,.vip-promo,.account-mobile-identity,.account-mobile-menu,.account-support-list,.performance-card,.performance-insight-card,.pdp-card,.pdp-purchase,.catalog-filter-panel,.catalog-toolbar,.finder-card,.finder-option,.alternative-card,.benefit-content-card,.mega-dropdown,.brands-dropdown,[class*="-panel"],[class*="-dialog"]){
  color:var(--origo-dark-text,#fff)!important;
  border-color:color-mix(in srgb,var(--origo-dark-text,#fff) 22%,transparent)!important;
  background:var(--origo-dark-surface,#4b4d52)!important;
}
body.dark :where(input,textarea,select),html[data-theme="dark"] :where(input,textarea,select){
  color:var(--origo-dark-text,#fff)!important;
  border-color:color-mix(in srgb,var(--origo-dark-text,#fff) 28%,transparent)!important;
  background:var(--origo-dark-elevated,#5a5c62)!important;
}
body.dark .site-header,body.dark .category-nav,html[data-theme="dark"] .site-header,html[data-theme="dark"] .category-nav{
  color:var(--origo-dark-text,#fff)!important;
  background:var(--origo-header-dark,var(--origo-dark-surface,#4b4d52))!important;
  border-color:color-mix(in srgb,var(--origo-dark-text,#fff) 22%,transparent)!important;
}
body.dark :where(.burgundy-button,.pdp-add,.action-count),html[data-theme="dark"] :where(.burgundy-button,.pdp-add,.action-count){
  color:var(--origo-dark-text,#fff)!important;
  background:var(--origo-dark-burgundy,#720019)!important;
}
body.dark :where(h1,h2,h3,h4,h5,h6,p,b,strong,label,legend,summary,a,button,li,span),
html[data-theme="dark"] :where(h1,h2,h3,h4,h5,h6,p,b,strong,label,legend,summary,a,button,li,span){color:var(--origo-dark-text,#fff)}
body.dark :where(small,.muted,[class*="-muted"],[class*="-subtitle"]),
html[data-theme="dark"] :where(small,.muted,[class*="-muted"],[class*="-subtitle"]){color:var(--origo-dark-muted,#f0f0f2)!important}

.appearance-palette-editor{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.appearance-palette-editor fieldset{min-width:0;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff)}
.appearance-palette-editor legend{padding:0 8px;color:var(--burgundy);font-weight:850}
.appearance-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.appearance-color-grid label{min-width:0;display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:9px;border:1px solid var(--line);border-radius:10px}
.appearance-color-grid input[type="color"]{width:44px!important;height:38px!important;min-height:38px!important;padding:2px!important;flex:0 0 auto;cursor:pointer}
.appearance-dual-preview{margin-top:15px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.appearance-dual-preview article{min-height:112px;padding:16px;display:grid;grid-template-columns:42px 1fr;align-items:center;gap:12px;border:1px solid;border-radius:14px}
.appearance-dual-preview article>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;font-size:21px}
.appearance-dual-preview article p{margin:4px 0 0;font-size:12px}
.appearance-dual-preview [data-palette-preview="light"]{color:var(--origo-light-text,#251519);border-color:color-mix(in srgb,var(--origo-light-burgundy,#720019) 18%,transparent);background:var(--origo-light-page,#fff)}
.appearance-dual-preview [data-palette-preview="light"]>span{color:#fff;background:var(--origo-light-burgundy,#720019)}
.appearance-dual-preview [data-palette-preview="light"] p{color:var(--origo-light-muted,#6e5b60)}
.appearance-dual-preview [data-palette-preview="dark"]{color:var(--origo-dark-text,#fff);border-color:color-mix(in srgb,var(--origo-dark-text,#fff) 22%,transparent);background:var(--origo-dark-page,#3b3c40)}
.appearance-dual-preview [data-palette-preview="dark"]>span{color:var(--origo-dark-text,#fff);background:var(--origo-dark-burgundy,#720019)}
.appearance-dual-preview [data-palette-preview="dark"] p{color:var(--origo-dark-muted,#f0f0f2)}
@media(max-width:760px){.appearance-palette-editor,.appearance-dual-preview{grid-template-columns:1fr}}
@media(max-width:480px){.appearance-color-grid{grid-template-columns:1fr}}

.appearance-balance-studio{margin:0 0 18px;display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);gap:16px;align-items:stretch}
.appearance-master-switch{margin:0!important;padding:18px!important;display:grid!important;grid-template-columns:auto auto 1fr;align-items:center;gap:13px;border:1px solid color-mix(in srgb,var(--burgundy) 20%,var(--line));border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--burgundy) 5%,var(--surface,#fff)),var(--surface,#fff));cursor:pointer}
.appearance-master-switch>input{position:absolute;opacity:0;pointer-events:none}.appearance-master-switch>span:last-child{display:grid;gap:5px}.appearance-master-switch b{font-size:18px;line-height:1.4}.appearance-master-switch small{font-size:14px;line-height:1.65;color:var(--muted)}
.appearance-switch-track{width:58px;height:32px;padding:3px;display:flex;align-items:center;border-radius:999px;background:#bbb;box-shadow:inset 0 1px 3px #0002;transition:.22s}.appearance-switch-track i{width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 7px #0003;transition:.22s}
.appearance-master-switch>input:checked+.appearance-switch-track{background:var(--burgundy)}.appearance-master-switch>input:checked+.appearance-switch-track i{transform:translateX(26px)}[dir="rtl"] .appearance-master-switch>input:checked+.appearance-switch-track i{transform:translateX(-26px)}
.appearance-layout-preview{margin:0;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff);overflow:hidden}.appearance-layout-preview figcaption{margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.appearance-layout-preview figcaption b{font-size:16px}.appearance-layout-preview figcaption small{font-size:12px;color:var(--muted)}
.layout-preview-window{overflow:hidden;border:1px solid color-mix(in srgb,var(--ink) 12%,transparent);border-radius:12px;background:var(--origo-light-page,#fff);box-shadow:0 10px 28px #20050d12}.layout-preview-bar{height:25px;padding:0 9px;display:flex;align-items:center;gap:5px;background:var(--origo-light-burgundy,#720019)}.layout-preview-bar i{width:6px;height:6px;border-radius:50%;background:#fff8}.layout-preview-bar span{margin-inline-start:auto;color:#fff;font:700 9px/1 sans-serif;letter-spacing:2px}
.layout-preview-scenes{padding:9px;display:grid;grid-template-columns:1fr 1.08fr;gap:9px;color:var(--origo-light-text,#251519)}.layout-preview-scenes>section{min-width:0;padding:8px;border:1px solid color-mix(in srgb,var(--origo-light-burgundy,#720019) 13%,transparent);border-radius:9px}.layout-preview-scenes strong{display:block;margin-bottom:7px;font-size:10px}.layout-preview-shop{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.layout-preview-shop i{height:46px;border-radius:6px;background:linear-gradient(#eee 68%,var(--origo-light-burgundy,#720019) 69% 74%,#f6f1f2 75%)}.layout-preview-scenes>section>p{margin:6px 0 0;display:grid;gap:3px}.layout-preview-scenes>section>p span{height:3px;border-radius:9px;background:#ddd}.layout-preview-scenes>section>p span:last-child{width:68%}
.layout-preview-admin{height:58px;display:grid;grid-template-columns:32px 1fr;gap:6px}.layout-preview-admin aside{padding:5px 4px;display:grid;align-content:start;gap:5px;border-radius:5px;background:#28282b}.layout-preview-admin aside i{height:4px;border-radius:4px;background:#fff9}.layout-preview-admin main{padding:5px;display:grid;gap:5px;border-radius:5px;background:#f4f4f5}.layout-preview-admin main>b{width:54%;height:6px;border-radius:5px;background:var(--origo-light-burgundy,#720019)}.layout-preview-admin main>p{margin:0;width:82%;height:4px;border-radius:4px;background:#aaa}.layout-preview-admin main>div{display:grid;grid-template-columns:1fr 1fr;gap:4px}.layout-preview-admin main i{border-radius:4px;background:#fff;box-shadow:0 0 0 1px #ddd}
html[data-balanced-layout="false"] .appearance-layout-preview{filter:saturate(.72)}html[data-balanced-layout="false"] .layout-preview-scenes{padding:14px;gap:14px}html[data-balanced-layout="false"] .layout-preview-shop{gap:9px}html[data-balanced-layout="false"] .layout-preview-scenes strong{font-size:8px}
@media(max-width:900px){.appearance-balance-studio{grid-template-columns:1fr}.appearance-layout-preview{min-height:0}}
@media(max-width:520px){.appearance-master-switch{grid-template-columns:auto 1fr}.appearance-master-switch>span:last-child{grid-column:1/-1}.layout-preview-scenes{grid-template-columns:1fr}}

/* Balanced density and legibility: tighter rhythm with larger useful typography. */
#storefront-main>section,.origo-home>section{margin-block-end:var(--origo-section-gap,20px)}
.home-brand-directory,.home-new-arrivals,.home-brand-showcases{margin-top:var(--origo-section-gap,20px)}
.home-benefits{min-height:150px;padding:16px 18px;gap:12px}
.home-benefits article{min-height:92px;padding:10px;gap:5px}
.home-benefits b{font-size:15px}.home-benefits small{font-size:13px;line-height:1.55}
.home-gender-section,.home-best-sellers{padding-top:14px}
.gender-grid{gap:16px}.home-promo-strip{margin-top:16px}.home-promo-strip article{padding-inline:18px;gap:14px}
.home-best-sellers .product-grid{gap:14px;padding-inline:12px}
.home-best-sellers .product-image{height:210px;padding:12px}
.home-best-sellers .product-info{padding:7px 12px 11px}
.home-best-sellers .product-brand{font-size:13px}.home-best-sellers .product-info h3{font-size:15px;line-height:1.5}
.home-best-sellers .product-rating small{font-size:12px}.home-best-sellers .product-price{font-size:16px}
.home-categories{gap:10px;margin-block:12px}.home-categories a{height:88px;gap:5px}.home-categories b{font-size:13px}
.catalog-main{padding:24px 24px 44px}.catalog-search-area{gap:12px}.catalog-results-toolbar{min-height:60px}
.catalog-breadcrumb{padding-bottom:12px;font-size:13px}.catalog-filter-heading{padding:14px 0 8px}.catalog-filter-heading h2{font-size:17px}
.catalog-filter-section>button{min-height:44px;font-size:14px}.catalog-check{min-height:34px;font-size:13px}.catalog-check small{font-size:11px}
.catalog-brand-search,.catalog-price-inputs input{font-size:13px}.catalog-search-box>input{font-size:14px}.catalog-description-button{font-size:13px}
.catalog-autocomplete-group>small{font-size:11px}.catalog-autocomplete button{font-size:13px}.catalog-autocomplete button small{font-size:11px}
.catalog-quick-filters button{font-size:12px}.catalog-active-filters>button{font-size:11px}.catalog-sort-controls label span,.catalog-sort-controls select,.catalog-mobile-toolbar select{font-size:12px}
.catalog-product-grid .perfume-product-card .product-card-secondary-name{font-size:11px}.catalog-product-grid .perfume-product-card .product-card-type{font-size:11px}

.advanced-admin-panel,.product-admin-overlay{font-size:calc(var(--origo-base-font-size,17px) * var(--origo-admin-scale,1.1));line-height:1.65}
.advanced-admin-panel{grid-template-columns:282px minmax(0,1fr)}
#advanced-admin-nav>small{font-size:14px}#advanced-admin-nav button{min-height:50px;font-size:17px}#advanced-admin-nav button b{font-size:12px}
.advanced-admin-body{padding:clamp(18px,2vw,26px)}
.admin-view-head{margin-bottom:16px}.admin-view-head h1{font-size:clamp(32px,2.2vw,42px)}.admin-view-head p{font-size:17px;line-height:1.65}
.admin-dashboard-content{gap:15px}.admin-metrics-grid{gap:12px}.admin-metric{min-height:124px;padding:17px}.admin-metric small{font-size:15px}
.admin-chart-card{min-height:330px;padding:18px}.admin-chart-card h3{font-size:20px}.admin-chart-card>footer{font-size:15px}
.catalog-review{padding:16px 18px 88px}.catalog-review .review-section{margin-top:14px;padding:18px}.catalog-review .review-section-head{margin-bottom:13px}
.catalog-review .review-section-head b{font-size:clamp(20px,1.5vw,24px)}.catalog-review .review-section-head small{font-size:14px}
.catalog-review label,.admin-settings-form label{font-size:16px;line-height:1.65}
.catalog-review :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea),.admin-settings-form :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea){min-height:48px;font-size:16px}
.advanced-admin-panel :where(button,.button){font-size:15px}.review-submit b{font-size:16px}.review-submit small{font-size:14px}
.admin-table-card :where(th,td),.catalog-admin-table :where(th,td){font-size:15px;line-height:1.55}

@media(max-width:900px){
  .home-benefits{min-height:0;padding:10px;gap:8px}.home-benefits article{min-height:96px}.home-benefits b{font-size:14px}.home-benefits small{font-size:12px}
  .catalog-main{padding:16px 12px 84px}.catalog-search-box>input{font-size:13px}.catalog-mobile-toolbar>button,.catalog-mobile-toolbar label{font-size:12px}
  .catalog-product-grid{gap:8px}.catalog-product-grid .perfume-product-card .product-card-info{padding:10px}.catalog-product-grid .perfume-product-card .product-info h3{font-size:14px}.catalog-product-grid .perfume-product-card .product-card-type{font-size:10px}
}
@media(max-width:760px){
  .advanced-admin-panel{grid-template-columns:1fr}.advanced-admin-sidebar{width:min(310px,90vw)}.advanced-admin-body{padding:14px 10px}
  .catalog-review{padding:10px 10px 132px}.catalog-review .review-section{padding:14px}.catalog-review label,.admin-settings-form label{font-size:15px}
  .catalog-review :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea),.admin-settings-form :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea){font-size:16px}
}

/* Manual mode restores independent spacing and typography controls. */
html[data-balanced-layout="false"] .home-benefits{min-height:174px;padding:22px 28px;gap:22px}
html[data-balanced-layout="false"] .home-benefits article{min-height:104px;padding:14px}
html[data-balanced-layout="false"] .home-best-sellers .product-grid{gap:18px;padding-inline:18px}
html[data-balanced-layout="false"] .home-best-sellers .product-image{height:218px;padding:16px}
html[data-balanced-layout="false"] .catalog-main{padding:34px 32px 58px}
html[data-balanced-layout="false"] .advanced-admin-panel{grid-template-columns:260px minmax(0,1fr)}
html[data-balanced-layout="false"] #advanced-admin-nav button{min-height:46px;font-size:16px}
html[data-balanced-layout="false"] .advanced-admin-body{padding:clamp(24px,3vw,38px)}
html[data-balanced-layout="false"] .admin-view-head h1{font-size:clamp(28px,2vw,36px)}
html[data-balanced-layout="false"] .admin-view-head p{font-size:15px}
html[data-balanced-layout="false"] .catalog-review label,html[data-balanced-layout="false"] .admin-settings-form label{font-size:15px}

/* Final admin readability pass: replace legacy micro type and oversized empty rhythm. */
html:not([data-balanced-layout="false"]) .advanced-admin-panel{font-size:18px;line-height:1.6}
html:not([data-balanced-layout="false"]) .admin-sidebar-brand small{font-size:11px!important}
html:not([data-balanced-layout="false"]) #advanced-admin-nav>small{margin:13px 12px 6px;font-size:12px!important}
html:not([data-balanced-layout="false"]) #advanced-admin-nav button{min-height:48px;padding:9px 12px;grid-template-columns:28px 1fr auto;gap:10px;font-size:16px!important}
html:not([data-balanced-layout="false"]) #advanced-admin-nav button i{width:28px;height:28px;font-size:15px}
html:not([data-balanced-layout="false"]) #advanced-admin-nav button b{min-width:24px;padding:3px 7px;font-size:11px!important}
html:not([data-balanced-layout="false"]) .admin-breadcrumb{font-size:13px!important}
html:not([data-balanced-layout="false"]) .admin-view-head{margin-bottom:16px;gap:14px}
html:not([data-balanced-layout="false"]) .admin-view-head p{font-size:16px!important;line-height:1.55}
html:not([data-balanced-layout="false"]) .admin-view-actions .button{min-height:46px;padding:10px 16px;font-size:15px!important}
html:not([data-balanced-layout="false"]) .admin-metric-card{min-height:116px;padding:15px;border-radius:12px}
html:not([data-balanced-layout="false"]) .admin-metric-card header i{font-size:12px!important}
html:not([data-balanced-layout="false"]) .admin-metric-card>small{font-size:14px!important}
html:not([data-balanced-layout="false"]) .admin-settings-form{padding:18px;border-radius:14px}
html:not([data-balanced-layout="false"]) .admin-settings-form>section+section{margin-top:18px}
html:not([data-balanced-layout="false"]) .admin-settings-tabs{margin-bottom:18px}
html:not([data-balanced-layout="false"]) .admin-settings-tabs button{min-height:46px;padding:9px 14px;font-size:15px}
html:not([data-balanced-layout="false"]) .admin-toggle-row{padding:11px 0;gap:14px}
html:not([data-balanced-layout="false"]) .admin-toggle-row b{font-size:16px!important}
html:not([data-balanced-layout="false"]) .admin-toggle-row small{font-size:13px!important;line-height:1.5}
html:not([data-balanced-layout="false"]) .advanced-admin-panel :where(.admin-chart-card,.admin-status-card,.admin-list-card,.admin-alerts-card,.admin-data-table,.admin-generic-grid article,.admin-report-grid article){border-radius:12px}
html:not([data-balanced-layout="false"]) .advanced-admin-panel :where(.admin-chart-card,.admin-status-card,.admin-list-card,.admin-alerts-card){padding:17px}
html:not([data-balanced-layout="false"]) .advanced-admin-panel :where(.admin-data-table,.admin-table-card,.catalog-admin-table) :where(th,td){padding:11px 12px;font-size:15px!important;line-height:1.5}
html:not([data-balanced-layout="false"]) .catalog-review .review-grid,html:not([data-balanced-layout="false"]) .admin-settings-form .review-grid{gap:14px}
html:not([data-balanced-layout="false"]) .smart-select-control{min-height:50px;padding:7px 11px}
html:not([data-balanced-layout="false"]) .smart-select-chips>small{font-size:14px!important}
html:not([data-balanced-layout="false"]) .smart-select-chips>i{padding:6px 9px;font-size:14px}
html:not([data-balanced-layout="false"]) .smart-select-options [role=option]{min-height:52px;padding:9px;font-size:15px}
html:not([data-balanced-layout="false"]) .smart-select-options [role=option]>img,html:not([data-balanced-layout="false"]) .smart-select-options [role=option]>em{width:40px;height:40px}
html:not([data-balanced-layout="false"]) .product-options-groups{gap:13px;margin-top:16px}
html:not([data-balanced-layout="false"]) .product-options-groups>section{padding:13px}
html:not([data-balanced-layout="false"]) .product-options-groups article{min-height:58px;padding:9px;font-size:15px}
html:not([data-balanced-layout="false"]) .product-options-groups article>img,html:not([data-balanced-layout="false"]) .product-options-groups article>i{width:42px;height:42px}
html:not([data-balanced-layout="false"]) .product-options-groups article small{font-size:13px!important}
html:not([data-balanced-layout="false"]) .product-option-dialog{font-size:16px}
html:not([data-balanced-layout="false"]) .product-option-dialog form{padding:20px}
html:not([data-balanced-layout="false"]) .option-dialog-grid{gap:12px;padding:16px 0}
@media(max-width:760px){
  html:not([data-balanced-layout="false"]) .advanced-admin-body{padding:13px 10px 82px}
  html:not([data-balanced-layout="false"]) .admin-view-head h1{font-size:30px}
  html:not([data-balanced-layout="false"]) .admin-view-head p{font-size:15px!important}
  html:not([data-balanced-layout="false"]) .admin-settings-form{padding:13px}
  html:not([data-balanced-layout="false"]) .admin-metric-card{min-height:108px}
}

/* ORIGO clean storefront refresh: solid white surfaces with restrained spectral light. */
:root{
  --origo-primary:#7b1f4b;
  --origo-primary-dark:#561232;
  --origo-purple:#8b5cf6;
  --origo-blue:#3b82f6;
  --origo-red:#fb7185;
  --origo-text:#17131a;
  --origo-muted:#77717d;
  --origo-border:rgba(139,92,246,.18);
  --origo-surface:#fff;
  --origo-surface-solid:#fff;
  --origo-shadow:0 8px 24px rgba(30,20,40,.06),0 2px 8px rgba(30,20,40,.04);
  --origo-glow:0 0 8px rgba(139,92,246,.12),0 0 13px rgba(59,130,246,.07),0 0 16px rgba(251,113,133,.035);
  --origo-radius-card:22px;
  --origo-radius-control:14px;
  --origo-transition:220ms ease;
}

html,body{max-width:100%;overflow-x:hidden}
html[dir="rtl"]{direction:rtl}
html[dir="ltr"]{direction:ltr}

body:not(.dark){
  color:var(--origo-text);
  background:#fff!important;
}

body:not(.dark) :where(#storefront-main,.origo-home,.catalog-page,.brands-route-page,.pdp-page,.commerce-page,.account-route-page,.fragrance-finder-page,.alternatives-page,.benefit-detail-page){
  background:#fff!important;
  background-image:none!important;
}

body:not(.dark) .site-header,
body:not(.dark) .site-header.compact{
  position:sticky;
  top:0;
  z-index:100;
  color:var(--origo-text)!important;
  border:0;
  border-bottom:1px solid rgba(139,92,246,.14)!important;
  background:#fff!important;
  box-shadow:0 6px 20px rgba(25,18,35,.045),0 0 10px rgba(59,130,246,.025)!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

body:not(.dark) .category-nav{
  color:var(--origo-text)!important;
  border-bottom:1px solid rgba(139,92,246,.1)!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(24,18,34,.025);
}

body:not(.dark) .site-header :where(button,a),
body:not(.dark) .category-nav :where(button,a){color:#332a36!important}
body:not(.dark) .site-header :where(button:hover,button.active,a:hover,a.active),
body:not(.dark) .category-nav :where(button:hover,button.active,a:hover,a.active){color:var(--origo-primary)!important}
body:not(.dark) .site-header .action-count{color:#fff!important;background:var(--origo-primary)!important}

body:not(.dark) :where(.header-search,.global-search,.catalog-search-box,.catalog-brand-search,.footer-email-field){
  color:var(--origo-text)!important;
  border:1px solid rgba(139,92,246,.2)!important;
  border-radius:16px!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 5px 16px rgba(24,18,34,.05),0 0 8px rgba(59,130,246,.045)!important;
  transition:border-color var(--origo-transition),box-shadow var(--origo-transition);
}

body:not(.dark) :where(.header-search,.global-search,.catalog-search-box,.catalog-brand-search,.footer-email-field):focus-within{
  border-color:rgba(139,92,246,.42)!important;
  box-shadow:0 7px 18px rgba(24,18,34,.06),0 0 10px rgba(139,92,246,.09),0 0 12px rgba(59,130,246,.055)!important;
}

body:not(.dark) :where(.header-search,.global-search,.catalog-search-box,.catalog-brand-search,.footer-email-field) :where(input,b){
  color:var(--origo-text)!important;
  background:transparent!important;
}

#storefront-main .origo-product-card{
  position:relative;
  isolation:isolate;
  min-width:0;
  overflow:hidden!important;
  color:var(--origo-text)!important;
  border:1px solid rgba(139,92,246,.2)!important;
  border-radius:var(--origo-radius-card)!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:var(--origo-shadow),var(--origo-glow)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transition:transform var(--origo-transition),box-shadow var(--origo-transition),border-color var(--origo-transition)!important;
}

#storefront-main .origo-product-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:12;
  border:1px solid rgba(139,92,246,.2);
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(59,130,246,.035),inset 0 0 10px rgba(251,113,133,.025);
  background:none;
  pointer-events:none;
  opacity:.8;
}

#storefront-main .origo-product-card::after{content:none!important}
#storefront-main .origo-product-card:hover{
  transform:translateY(-4px)!important;
  border-color:rgba(139,92,246,.34)!important;
  box-shadow:0 16px 34px rgba(28,18,38,.085),0 4px 12px rgba(28,18,38,.045),0 0 10px rgba(139,92,246,.13),0 0 15px rgba(59,130,246,.07),0 0 17px rgba(251,113,133,.035)!important;
}

#storefront-main .perfume-card-edge-glow,
#storefront-main .perfume-card-light-rays{display:none!important}

#storefront-main .origo-product-card .product-card-media,
#storefront-main .home-best-sellers .origo-product-card .product-card-media{
  height:290px!important;
  min-height:250px;
  aspect-ratio:auto!important;
  padding:16px!important;
  overflow:hidden;
  border:0!important;
  border-bottom:1px solid rgba(139,92,246,.09)!important;
  border-radius:21px 21px 0 0!important;
  background:#fff!important;
  background-image:none!important;
}

#storefront-main .origo-product-card .product-card-media::before,
#storefront-main .origo-product-card .product-card-media::after{display:none!important}

#storefront-main .origo-product-card .product-card-primary{
  inset:16px!important;
  width:calc(100% - 32px)!important;
  height:calc(100% - 32px)!important;
  object-fit:contain!important;
  object-position:center!important;
  mix-blend-mode:multiply!important;
  filter:drop-shadow(0 14px 18px rgba(20,14,28,.1));
  transition:transform var(--origo-transition),opacity var(--origo-transition)!important;
}

#storefront-main .origo-product-card:hover .product-card-primary{transform:scale(1.025)!important}

#storefront-main .origo-product-card .product-card-info{
  min-height:230px!important;
  padding:16px 18px 18px!important;
  display:flex;
  flex-direction:column;
  color:var(--origo-text)!important;
  text-align:start;
  background:#fff!important;
  background-image:none!important;
}

#storefront-main .origo-product-card .product-brand{
  color:var(--origo-muted)!important;
  font-size:12px!important;
  letter-spacing:.04em!important;
}

#storefront-main .origo-product-card .product-info h3{
  min-height:0!important;
  margin:3px 0 2px!important;
  display:-webkit-box;
  overflow:hidden;
  color:var(--origo-text)!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.5!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

#storefront-main .origo-product-card :where(.product-card-secondary-name,.product-card-type,.product-card-meta){
  color:var(--origo-muted)!important;
  font-size:12px!important;
}

#storefront-main .origo-product-card .product-card-type{
  margin-top:6px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
}

#storefront-main .origo-product-card .product-card-rating{
  margin-top:8px;
  display:flex;
  align-items:center;
  gap:7px;
  direction:ltr;
}

#storefront-main .origo-product-card .product-card-rating span{color:#9a62ef;font-size:12px;letter-spacing:1px}
#storefront-main .origo-product-card .product-card-rating small{color:var(--origo-muted);font-size:11px}
#storefront-main .origo-product-card .product-card-price-row{margin-top:10px}
#storefront-main .origo-product-card .product-price{color:var(--origo-primary)!important;font-size:18px!important;font-weight:800!important}
#storefront-main .origo-product-card .product-card-commerce{margin-top:auto!important;padding-top:12px!important}

#storefront-main .origo-product-card .card-add-button{
  width:100%!important;
  min-height:46px!important;
  padding:0 14px!important;
  color:#fff!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--origo-primary)!important;
  background-image:none!important;
  box-shadow:0 8px 16px rgba(123,31,75,.16),0 0 8px rgba(139,92,246,.07)!important;
  transition:transform var(--origo-transition),box-shadow var(--origo-transition),opacity var(--origo-transition)!important;
}

#storefront-main .origo-product-card .card-add-button:hover{
  transform:translateY(-1px)!important;
  background:var(--origo-primary-dark)!important;
  box-shadow:0 10px 20px rgba(123,31,75,.2),0 0 10px rgba(139,92,246,.09)!important;
}

#storefront-main .origo-product-card :where(.product-badge,.badge-sale,.badge-exclusive,.badge-limited){
  color:#fff!important;
  background:var(--origo-primary)!important;
  background-image:none!important;
}

#storefront-main .origo-product-card :where(.card-action-button,.heart-button){
  color:var(--origo-primary)!important;
  border:1px solid rgba(139,92,246,.18)!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(30,20,40,.055)!important;
}

#storefront-main .origo-product-card :where(.perfume-note-bubble,.perfume-metric-bubble){
  border:1px solid rgba(139,92,246,.16)!important;
  background:rgba(255,255,255,.95)!important;
  background-image:none!important;
  box-shadow:0 8px 22px rgba(30,20,40,.07),0 0 8px rgba(59,130,246,.045)!important;
}

#storefront-main .origo-product-card :where(.perfume-note-bubble,.perfume-metric-bubble)::before,
#storefront-main .origo-product-card :where(.perfume-note-bubble,.perfume-metric-bubble)::after{display:none!important}

body:not(.dark) :where(.home-benefits,.home-promo-strip,.home-brand-directory,.home-brand-showcase,.home-categories a,.catalog-sidebar,.catalog-filter-panel,.catalog-toolbar,.catalog-filter-drawer,.footer-benefit-card,.checkout-main-card,.checkout-summary-card,.checkout-side-card,.pdp-card,.pdp-purchase,.performance-card,.performance-insight-card,.alternative-card,.finder-card,.finder-option,.benefit-content-card){
  color:var(--origo-text)!important;
  border-color:rgba(139,92,246,.14)!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:var(--origo-shadow)!important;
}

body:not(.dark) .home-benefits{border-radius:22px!important}
body:not(.dark) .home-benefits article{
  border:1px solid rgba(139,92,246,.13)!important;
  border-radius:16px!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 5px 16px rgba(30,20,40,.04)!important;
}
body:not(.dark) .home-benefits .benefit-icon{color:var(--origo-primary)!important;text-shadow:none!important}
body:not(.dark) .home-benefits b{color:var(--origo-text)!important}
body:not(.dark) .home-benefits small{color:var(--origo-muted)!important}

body:not(.dark) :where(.home-promo-strip article,.home-categories a,.brand-carousel-track button,.brand-marquee-set button){
  border-color:rgba(139,92,246,.13)!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 5px 16px rgba(30,20,40,.04)!important;
}

body:not(.dark) .catalog-sidebar{
  border-inline-end:1px solid rgba(139,92,246,.14)!important;
  box-shadow:4px 0 18px rgba(30,20,40,.025)!important;
}

body:not(.dark) :where(.catalog-filter-section,.catalog-filter-heading,.catalog-results-toolbar,.catalog-mobile-toolbar){
  color:var(--origo-text)!important;
  border-color:rgba(139,92,246,.12)!important;
  background:#fff!important;
  background-image:none!important;
}

body:not(.dark) .catalog-product-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch;
}

body:not(.dark) .origo-footer{
  position:relative;
  color:var(--origo-text)!important;
  border-top:1px solid rgba(139,92,246,.15)!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 -8px 24px rgba(25,18,35,.035)!important;
}

body:not(.dark) .origo-footer::before{
  content:"";
  position:absolute;
  top:-1px;
  inset-inline:8%;
  height:1px;
  background:rgba(139,92,246,.28);
}

body:not(.dark) .origo-footer :where(h2,h3,h4,b,strong){color:var(--origo-text)!important}
body:not(.dark) .origo-footer :where(p,small,a){color:var(--origo-muted)!important}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(139,92,246,.25)!important;
  outline-offset:3px!important;
}

@media(min-width:901px){
  #storefront-main .home-best-sellers .origo-product-card,
  #storefront-main .home-new-arrivals .origo-product-card,
  #storefront-main .home-brand-showcase .origo-product-card{
    flex:0 0 calc((100% - 66px) / 4)!important;
    min-width:240px!important;
    max-width:none!important;
  }
}

@media(max-width:1200px){
  body:not(.dark) .catalog-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
}

@media(max-width:900px){
  body:not(.dark) .catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
  #storefront-main .home-best-sellers .product-grid{gap:12px}
  #storefront-main .home-best-sellers .origo-product-card,
  #storefront-main .home-new-arrivals .origo-product-card,
  #storefront-main .home-brand-showcase .origo-product-card{flex:0 0 calc(50% - 6px)!important;min-width:210px!important}
}

@media(max-width:560px){
  body:not(.dark) .catalog-product-grid{gap:10px!important}
  #storefront-main .origo-product-card{border-radius:17px!important}
  #storefront-main .origo-product-card .product-card-media,
  #storefront-main .home-best-sellers .origo-product-card .product-card-media{height:205px!important;min-height:190px;padding:10px!important;border-radius:16px 16px 0 0!important}
  #storefront-main .origo-product-card .product-card-primary{inset:10px!important;width:calc(100% - 20px)!important;height:calc(100% - 20px)!important}
  #storefront-main .origo-product-card .product-card-info{min-height:218px!important;padding:11px 10px 12px!important}
  #storefront-main .origo-product-card .product-brand{font-size:10px!important}
  #storefront-main .origo-product-card .product-info h3{font-size:14px!important}
  #storefront-main .origo-product-card :where(.product-card-secondary-name,.product-card-type){font-size:10px!important}
  #storefront-main .origo-product-card .product-price{font-size:15px!important}
  #storefront-main .origo-product-card .card-add-button{min-height:42px!important;padding-inline:8px!important;font-size:10px!important}
  #storefront-main .home-best-sellers .origo-product-card,
  #storefront-main .home-new-arrivals .origo-product-card,
  #storefront-main .home-brand-showcase .origo-product-card{flex-basis:calc(50% - 5px)!important;min-width:170px!important}
  #storefront-main .origo-product-card :where(.perfume-aura,.perfume-smoke-aura){display:none!important}
  #storefront-main .origo-product-card :where(.perfume-note-bubble,.perfume-metric-bubble){backdrop-filter:none!important}
}

@media(prefers-reduced-motion:reduce){
  #storefront-main *,
  #storefront-main *::before,
  #storefront-main *::after,
  .site-header *,
  .origo-footer *{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

/* Reference-matched luminous card: one solid-color light frame, no gradients. */
#storefront-main .origo-product-card{
  --card-accent:#a72bf3;
  --card-accent-rgb:167,43,243;
  position:relative!important;
  overflow:visible!important;
  border:2px solid var(--card-accent)!important;
  border-radius:28px!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.96),
    0 0 16px rgba(var(--card-accent-rgb),.28),
    0 18px 30px rgba(var(--card-accent-rgb),.12)!important;
}

#storefront-main :where(.product-grid,.catalog-product-grid) > .origo-product-card:nth-child(3n + 2){
  --card-accent:#238bea;
  --card-accent-rgb:35,139,234;
}

#storefront-main :where(.product-grid,.catalog-product-grid) > .origo-product-card:nth-child(3n){
  --card-accent:#f05261;
  --card-accent-rgb:240,82,97;
}

#storefront-main .origo-product-card::before,
#storefront-main .origo-product-card::after{
  content:none!important;
  display:none!important;
}

#storefront-main .origo-product-card:hover,
#storefront-main .origo-product-card:focus-within{
  border-color:var(--card-accent)!important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.98),
    0 0 21px rgba(var(--card-accent-rgb),.34),
    0 20px 34px rgba(var(--card-accent-rgb),.16)!important;
  transform:translateY(-4px)!important;
}

#storefront-main .origo-product-card :where(
  .perfume-card-edge-glow,
  .perfume-card-light-rays,
  .perfume-aura,
  .perfume-smoke-aura,
  .perfume-note-bubble,
  .perfume-metric-bubble
){
  display:none!important;
}

#storefront-main .origo-product-card .product-card-media{
  overflow:hidden!important;
  border-radius:25px 25px 0 0!important;
  border:0!important;
  background:#fff!important;
  background-image:none!important;
}

#storefront-main .origo-product-card .product-card-info{
  border-radius:0 0 25px 25px!important;
  background:#fff!important;
  background-image:none!important;
}

#storefront-main .origo-product-card :where(
  .card-favorite-button,
  .card-compare-button,
  .product-card-rating,
  .product-price,
  .product-card-current-price
){
  color:var(--card-accent)!important;
}

#storefront-main .origo-product-card :where(.product-card-badge,.card-add-button){
  color:#fff!important;
  border-color:var(--card-accent)!important;
  background:var(--card-accent)!important;
  background-image:none!important;
  box-shadow:0 6px 14px rgba(var(--card-accent-rgb),.22)!important;
}

#storefront-main .origo-product-card .card-add-button:hover{
  filter:brightness(.94);
  box-shadow:0 8px 17px rgba(var(--card-accent-rgb),.28)!important;
}

#storefront-main .origo-product-card :where(.card-favorite-button,.card-compare-button){
  border-color:rgba(var(--card-accent-rgb),.24)!important;
  background:#fff!important;
  background-image:none!important;
}

@media(max-width:560px){
  #storefront-main .origo-product-card{
    border-width:1.5px!important;
    border-radius:19px!important;
  }
}

/* Final glass-strength override: keep this last so legacy surface rules cannot dilute it. */
body:not(.dark) :where(
  .site-header,
  .category-nav,
  .catalog-search-shell,
  .catalog-sidebar,
  .catalog-results-toolbar,
  .catalog-mobile-toolbar,
  .home-benefits,
  .home-benefit,
  .home-promo-strip,
  .home-promo-strip article,
  .home-categories a,
  .brand-carousel,
  .brand-carousel-track button,
  .brand-marquee-set button,
  .product-detail-gallery,
  .product-detail-info,
  .product-detail-panel,
  .product-detail-section,
  .product-detail-accordion,
  .product-performance,
  .product-notes,
  .product-reviews,
  .cart-drawer,
  .wishlist-drawer,
  .compare-drawer,
  .checkout-card,
  .checkout-summary,
  .order-summary,
  .account-card,
  .auth-card,
  .newsletter-box,
  .origo-footer
){
  border-color:rgba(255,255,255,.96)!important;
  outline-color:rgba(139,92,246,.22)!important;
  background:rgba(255,255,255,.42)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(30px) saturate(1.18)!important;
  backdrop-filter:blur(30px) saturate(1.18)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 1px 0 0 rgba(255,255,255,.78),
    inset 0 -1px 0 rgba(139,92,246,.11),
    0 15px 36px rgba(35,25,48,.11)!important;
}

body:not(.dark) :where(.site-header,.category-nav){
  background:rgba(255,255,255,.5)!important;
  -webkit-backdrop-filter:blur(34px) saturate(1.2)!important;
  backdrop-filter:blur(34px) saturate(1.2)!important;
}

body:not(.dark) :where(
  .header-search,
  .global-search-input,
  .catalog-search-shell input,
  .catalog-sidebar input,
  .catalog-sidebar select,
  .product-detail-info input,
  .checkout-card input,
  .checkout-card select,
  .checkout-card textarea,
  .newsletter-box input
){
  background:rgba(255,255,255,.52)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.14)!important;
  backdrop-filter:blur(22px) saturate(1.14)!important;
}

#storefront-main .origo-product-card{
  background:rgba(255,255,255,.42)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.2)!important;
  backdrop-filter:blur(22px) saturate(1.2)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 0 20px rgba(255,255,255,.58),
    inset 0 0 24px rgba(var(--card-accent-rgb),.14),
    0 0 0 1px rgba(var(--card-accent-rgb),.44),
    0 0 30px rgba(var(--card-accent-rgb),.36),
    0 22px 40px rgba(24,18,34,.16)!important;
}

body:not(.dark) :where(
  .modal,
  .dialog,
  dialog,
  .drawer,
  .mobile-menu-panel,
  .brands-dropdown,
  .mega-dropdown,
  .global-search-panel,
  .toast
){
  background:rgba(255,255,255,.56)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(36px) saturate(1.22)!important;
  backdrop-filter:blur(36px) saturate(1.22)!important;
}

@media(max-width:560px){
  body:not(.dark) :where(
    .site-header,
    .category-nav,
    .catalog-sidebar,
    .catalog-results-toolbar,
    .home-benefits,
    .home-promo-strip,
    .origo-footer
  ){
    -webkit-backdrop-filter:blur(22px) saturate(1.14)!important;
    backdrop-filter:blur(22px) saturate(1.14)!important;
  }
  #storefront-main .origo-product-card{
    -webkit-backdrop-filter:blur(16px) saturate(1.14)!important;
    backdrop-filter:blur(16px) saturate(1.14)!important;
  }
}

/* Ultra Glass v10: one stable cascade, no decorative overlap or gradients. */
html,
body{
  max-width:100%;
  overflow-x:hidden!important;
}

body:not(.dark){
  background:#edf2f8!important;
  background-image:none!important;
}

body:not(.dark) #storefront-main::before,
body:not(.dark) #storefront-main::after{
  content:none!important;
  display:none!important;
}

body:not(.dark) :where(
  .site-header,.category-nav,.catalog-search-shell,.catalog-sidebar,
  .catalog-results-toolbar,.catalog-mobile-toolbar,.home-benefits,.home-benefit,
  .home-promo-strip,.home-promo-strip article,.home-categories a,.brand-carousel,
  .brand-carousel-track button,.brand-marquee-set button,.product-detail-gallery,
  .product-detail-info,.product-detail-panel,.product-detail-section,
  .product-detail-accordion,.product-performance,.product-notes,.product-reviews,
  .cart-drawer,.wishlist-drawer,.compare-drawer,.checkout-card,.checkout-summary,
  .order-summary,.account-card,.auth-card,.newsletter-box,.origo-footer
){
  border:1px solid rgba(255,255,255,.98)!important;
  outline:1px solid rgba(139,92,246,.18)!important;
  background:rgba(255,255,255,.28)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(42px) saturate(1.28)!important;
  backdrop-filter:blur(42px) saturate(1.28)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 1px 0 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(139,92,246,.12),
    0 16px 38px rgba(35,25,48,.1)!important;
}

body:not(.dark) :where(.site-header,.category-nav){
  background:rgba(255,255,255,.38)!important;
  -webkit-backdrop-filter:blur(48px) saturate(1.3)!important;
  backdrop-filter:blur(48px) saturate(1.3)!important;
}

body:not(.dark) :where(
  .header-search,.global-search-input,.catalog-search-shell input,
  .catalog-sidebar input,.catalog-sidebar select,.product-detail-info input,
  .checkout-card input,.checkout-card select,.checkout-card textarea,
  .newsletter-box input
){
  border:1px solid rgba(255,255,255,1)!important;
  outline:1px solid rgba(35,139,234,.16)!important;
  background:rgba(255,255,255,.44)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(30px) saturate(1.2)!important;
  backdrop-filter:blur(30px) saturate(1.2)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 8px 20px rgba(35,139,234,.08)!important;
}

#storefront-main .origo-product-card{
  padding:7px!important;
  overflow:visible!important;
  border-width:5px!important;
  border-color:rgba(var(--card-accent-rgb),.8)!important;
  background:rgba(255,255,255,.24)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(34px) saturate(1.3)!important;
  backdrop-filter:blur(34px) saturate(1.3)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 0 24px rgba(255,255,255,.72),
    inset 0 0 28px rgba(var(--card-accent-rgb),.16),
    0 0 0 1px rgba(var(--card-accent-rgb),.48),
    0 0 34px rgba(var(--card-accent-rgb),.38),
    0 24px 42px rgba(24,18,34,.16)!important;
}

#storefront-main .origo-product-card::before,
#storefront-main .origo-product-card::after{
  content:none!important;
  display:none!important;
}

#storefront-main .origo-product-card .product-card-media,
#storefront-main .origo-product-card .product-card-info{
  background:rgba(255,255,255,.76)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.16)!important;
  backdrop-filter:blur(18px) saturate(1.16)!important;
}

#storefront-main .origo-product-card .product-card-primary{
  image-rendering:auto;
  object-fit:contain!important;
  object-position:50% 50%!important;
  mix-blend-mode:normal!important;
  backface-visibility:hidden;
  transform:translateZ(0) scale(1)!important;
  filter:
    contrast(1.08)
    saturate(1.1)
    brightness(1.015)
    drop-shadow(0 15px 14px rgba(25,18,32,.2))!important;
}

#storefront-main .origo-product-card:hover .product-card-primary,
#storefront-main .origo-product-card:focus-within .product-card-primary{
  transform:translateZ(0) scale(1.065)!important;
}

body:not(.dark) :where(
  .modal,.dialog,dialog,.drawer,.mobile-menu-panel,.brands-dropdown,
  .mega-dropdown,.global-search-panel,.toast
){
  border:1px solid rgba(255,255,255,.98)!important;
  background:rgba(255,255,255,.42)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(52px) saturate(1.32)!important;
  backdrop-filter:blur(52px) saturate(1.32)!important;
}

@media(max-width:560px){
  body:not(.dark) :where(
    .site-header,.category-nav,.catalog-sidebar,.catalog-results-toolbar,
    .home-benefits,.home-promo-strip,.origo-footer
  ){
    -webkit-backdrop-filter:blur(28px) saturate(1.2)!important;
    backdrop-filter:blur(28px) saturate(1.2)!important;
  }
  #storefront-main .origo-product-card{
    padding:4px!important;
    border-width:3px!important;
    -webkit-backdrop-filter:blur(22px) saturate(1.2)!important;
    backdrop-filter:blur(22px) saturate(1.2)!important;
  }
  #storefront-main .origo-product-card .product-card-media,
  #storefront-main .origo-product-card .product-card-info{
    -webkit-backdrop-filter:blur(12px) saturate(1.12)!important;
    backdrop-filter:blur(12px) saturate(1.12)!important;
  }
}

/* Stronger glass depth: translucent solid panes over soft, non-gradient light fields. */
body:not(.dark) #storefront-main{
  position:relative;
  isolation:isolate;
  background:transparent!important;
  background-image:none!important;
}

body:not(.dark) #storefront-main::before,
body:not(.dark) #storefront-main::after{
  content:"";
  position:fixed;
  z-index:-1;
  width:clamp(150px,18vw,280px);
  aspect-ratio:1;
  pointer-events:none;
  border-radius:50%;
  filter:blur(58px);
  opacity:.72;
}

body:not(.dark) #storefront-main::before{
  top:14vh;
  left:5vw;
  background:rgba(167,43,243,.16);
  box-shadow:
    56vw 10vh 0 34px rgba(35,139,234,.13),
    26vw 62vh 0 18px rgba(240,82,97,.11);
}

body:not(.dark) #storefront-main::after{
  right:7vw;
  bottom:8vh;
  background:rgba(35,139,234,.14);
  box-shadow:
    -54vw -4vh 0 26px rgba(240,82,97,.1),
    -24vw -58vh 0 12px rgba(167,43,243,.11);
}

body:not(.dark) :where(
  .site-header,
  .category-nav,
  .catalog-search-shell,
  .catalog-sidebar,
  .catalog-results-toolbar,
  .catalog-mobile-toolbar,
  .home-benefits,
  .home-benefit,
  .home-promo-strip,
  .home-promo-strip article,
  .home-categories a,
  .brand-carousel,
  .brand-carousel-track button,
  .brand-marquee-set button,
  .product-detail-gallery,
  .product-detail-info,
  .product-detail-panel,
  .product-detail-section,
  .product-detail-accordion,
  .product-performance,
  .product-notes,
  .product-reviews,
  .cart-drawer,
  .wishlist-drawer,
  .compare-drawer,
  .checkout-card,
  .checkout-summary,
  .order-summary,
  .account-card,
  .auth-card,
  .newsletter-box,
  .origo-footer
){
  border-color:rgba(255,255,255,.94)!important;
  outline-color:rgba(139,92,246,.2)!important;
  background:rgba(255,255,255,.48)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(28px) saturate(1.16)!important;
  backdrop-filter:blur(28px) saturate(1.16)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.98),
    inset 1px 0 0 rgba(255,255,255,.72),
    inset 0 -1px 0 rgba(139,92,246,.1),
    0 14px 34px rgba(35,25,48,.1)!important;
}

body:not(.dark) :where(.site-header,.category-nav){
  background:rgba(255,255,255,.56)!important;
  -webkit-backdrop-filter:blur(32px) saturate(1.18)!important;
  backdrop-filter:blur(32px) saturate(1.18)!important;
}

body:not(.dark) :where(
  .header-search,
  .global-search-input,
  .catalog-search-shell input,
  .catalog-sidebar input,
  .catalog-sidebar select,
  .product-detail-info input,
  .checkout-card input,
  .checkout-card select,
  .checkout-card textarea,
  .newsletter-box input
){
  background:rgba(255,255,255,.58)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(20px) saturate(1.12)!important;
  backdrop-filter:blur(20px) saturate(1.12)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 7px 18px rgba(35,139,234,.09)!important;
}

#storefront-main .origo-product-card{
  background:rgba(255,255,255,.48)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(20px) saturate(1.18)!important;
  backdrop-filter:blur(20px) saturate(1.18)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 0 18px rgba(255,255,255,.5),
    inset 0 0 22px rgba(var(--card-accent-rgb),.13),
    0 0 0 1px rgba(var(--card-accent-rgb),.42),
    0 0 27px rgba(var(--card-accent-rgb),.34),
    0 20px 38px rgba(24,18,34,.15)!important;
}

body:not(.dark) :where(
  .modal,
  .dialog,
  dialog,
  .drawer,
  .mobile-menu-panel,
  .brands-dropdown,
  .mega-dropdown,
  .global-search-panel,
  .toast
){
  background:rgba(255,255,255,.62)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(34px) saturate(1.2)!important;
  backdrop-filter:blur(34px) saturate(1.2)!important;
}

@media(max-width:560px){
  body:not(.dark) #storefront-main::before,
  body:not(.dark) #storefront-main::after{
    filter:blur(44px);
    opacity:.58;
  }
  body:not(.dark) :where(
    .site-header,
    .category-nav,
    .catalog-sidebar,
    .catalog-results-toolbar,
    .home-benefits,
    .home-promo-strip,
    .origo-footer
  ){
    -webkit-backdrop-filter:blur(20px) saturate(1.12)!important;
    backdrop-filter:blur(20px) saturate(1.12)!important;
  }
  #storefront-main .origo-product-card{
    -webkit-backdrop-filter:blur(14px) saturate(1.12)!important;
    backdrop-filter:blur(14px) saturate(1.12)!important;
  }
}

/* Full storefront glass language — translucent solid fills, never gradients. */
body:not(.dark){
  background:#f5f3f8!important;
  background-image:none!important;
}

body:not(.dark) :where(
  .site-header,
  .category-nav,
  .catalog-search-shell,
  .catalog-sidebar,
  .catalog-results-toolbar,
  .catalog-mobile-toolbar,
  .home-benefits,
  .home-benefit,
  .home-promo-strip,
  .home-promo-strip article,
  .home-categories a,
  .brand-carousel,
  .brand-carousel-track button,
  .brand-marquee-set button,
  .product-detail-gallery,
  .product-detail-info,
  .product-detail-panel,
  .product-detail-section,
  .product-detail-accordion,
  .product-performance,
  .product-notes,
  .product-reviews,
  .cart-drawer,
  .wishlist-drawer,
  .compare-drawer,
  .checkout-card,
  .checkout-summary,
  .order-summary,
  .account-card,
  .auth-card,
  .newsletter-box,
  .origo-footer
){
  border:1px solid rgba(255,255,255,.86)!important;
  outline:1px solid rgba(139,92,246,.18);
  background:rgba(255,255,255,.68)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.08);
  backdrop-filter:blur(18px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.94),
    inset 0 -1px 0 rgba(139,92,246,.07),
    0 10px 26px rgba(34,24,46,.08)!important;
}

body:not(.dark) :where(
  .header-search,
  .global-search-input,
  .catalog-search-shell input,
  .catalog-sidebar input,
  .catalog-sidebar select,
  .product-detail-info input,
  .checkout-card input,
  .checkout-card select,
  .checkout-card textarea,
  .newsletter-box input
){
  border:1px solid rgba(255,255,255,.92)!important;
  outline:1px solid rgba(35,139,234,.17);
  background:rgba(255,255,255,.76)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 5px 15px rgba(35,139,234,.07)!important;
}

body:not(.dark) :where(
  .modal,
  .dialog,
  dialog,
  .drawer,
  .mobile-menu-panel,
  .brands-dropdown,
  .mega-dropdown,
  .global-search-panel,
  .toast
){
  border:1px solid rgba(255,255,255,.88)!important;
  background:rgba(255,255,255,.78)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.1);
  backdrop-filter:blur(22px) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 18px 42px rgba(28,20,38,.15)!important;
}

/* Apple-inspired mobile tab bar and an opaque navigation drawer. */
@media (max-width: 640px) {
  body {
    padding-bottom: 86px;
  }

  .store-bottom-nav {
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    height: 64px;
    padding: 5px 7px;
    overflow: visible;
    border: 1px solid rgba(86, 66, 72, .12);
    border-radius: 22px;
    color: #847a7d;
    background: #fff;
    box-shadow:
      0 12px 32px rgba(40, 19, 27, .16),
      inset 0 1px 0 rgba(255, 255, 255, .98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .store-bottom-nav > :is(a, button) {
    min-height: 52px;
    padding: 4px 2px;
    align-content: center;
    gap: 3px;
    border-radius: 16px;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
  }

  .store-bottom-nav > :is(a, button):active {
    transform: scale(.94);
  }

  .store-bottom-nav span,
  .store-bottom-nav .store-bottom-discover span {
    width: auto;
    height: auto;
    margin: 0;
    color: currentColor;
    background: transparent;
    box-shadow: none;
    font-size: 21px;
  }

  .store-bottom-nav b {
    color: currentColor;
    font-size: 9px;
    line-height: 1.2;
  }

  .store-bottom-nav .active {
    color: #72001f;
    background: #f8eef1;
  }

  .mobile-menu-panel,
  body:not(.dark) .mobile-menu-panel,
  body.dark .mobile-menu-panel {
    color: #21171a !important;
    background: #fff !important;
    background-image: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .mobile-menu-panel :is(.mobile-menu-search, .mobile-taxonomy-group) {
    color: #21171a;
    background: #faf8f8;
  }

  .mobile-menu-panel nav a {
    color: #21171a;
  }
}

body:not(.dark) #storefront-main > :where(section,div){
  background-image:none!important;
}


/* The same one-frame language across every customer-facing store surface. */
body:not(.dark) :where(
  .site-header,
  .category-nav,
  .catalog-search-shell,
  .catalog-sidebar,
  .catalog-results-toolbar,
  .catalog-mobile-toolbar,
  .home-benefits,
  .home-benefit,
  .home-promo-strip,
  .home-promo-strip article,
  .home-categories a,
  .brand-carousel,
  .brand-carousel-track button,
  .brand-marquee-set button,
  .product-detail-gallery,
  .product-detail-info,
  .product-detail-panel,
  .product-detail-section,
  .product-detail-accordion,
  .product-performance,
  .product-notes,
  .product-reviews,
  .cart-drawer,
  .wishlist-drawer,
  .compare-drawer,
  .checkout-card,
  .checkout-summary,
  .order-summary,
  .account-card,
  .auth-card,
  .newsletter-box,
  .origo-footer
){
  border-color:rgba(139,92,246,.28)!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 0 14px rgba(139,92,246,.09)!important;
}

body:not(.dark) :where(
  .site-header,
  .category-nav,
  .home-benefits,
  .home-promo-strip,
  .brand-carousel,
  .origo-footer
)::before,
body:not(.dark) :where(
  .site-header,
  .category-nav,
  .home-benefits,
  .home-promo-strip,
  .brand-carousel,
  .origo-footer
)::after{
  background-image:none!important;
}

body:not(.dark) :where(
  .global-search-input,
  .catalog-search-shell input,
  .catalog-sidebar input,
  .catalog-sidebar select,
  .product-detail-info input,
  .checkout-card input,
  .checkout-card select,
  .checkout-card textarea,
  .newsletter-box input
){
  border:1px solid rgba(35,139,234,.28)!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:0 0 10px rgba(35,139,234,.07)!important;
}

body:not(.dark) :where(
  .primary-button,
  .checkout-button,
  .product-detail-add,
  .drawer-checkout-button,
  .newsletter-box button
){
  color:#fff!important;
  border-color:var(--origo-primary)!important;
  background:var(--origo-primary)!important;
  background-image:none!important;
  box-shadow:0 7px 16px rgba(123,31,75,.18)!important;
}

body:not(.dark) :where(
  .catalog-filter-section,
  .product-detail-accordion,
  .product-detail-section
){
  border-bottom:1px solid rgba(240,82,97,.18)!important;
  background:#fff!important;
  background-image:none!important;
}

/* Wider single glass frame with a raised white product surface. */
#storefront-main .origo-product-card{
  padding:7px!important;
  border-width:5px!important;
  border-style:solid!important;
  border-color:rgba(var(--card-accent-rgb),.72)!important;
  background:rgba(255,255,255,.76)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(12px) saturate(1.08)!important;
  backdrop-filter:blur(12px) saturate(1.08)!important;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.9),
    inset 0 0 15px rgba(var(--card-accent-rgb),.14),
    0 0 0 1px rgba(var(--card-accent-rgb),.38),
    0 0 22px rgba(var(--card-accent-rgb),.3),
    0 18px 30px rgba(24,18,34,.14)!important;
  transform:translateZ(0);
}

#storefront-main .origo-product-card .product-card-media,
#storefront-main .origo-product-card .product-card-info{
  position:relative!important;
  z-index:2!important;
  margin-inline:0!important;
  border-inline:1px solid rgba(255,255,255,.92)!important;
  background:#fff!important;
  background-image:none!important;
}

#storefront-main .origo-product-card .product-card-media{
  border-top:1px solid #fff!important;
  border-radius:20px 20px 0 0!important;
  box-shadow:
    0 -4px 13px rgba(255,255,255,.96),
    0 8px 18px rgba(var(--card-accent-rgb),.1)!important;
}

#storefront-main .origo-product-card .product-card-info{
  border-bottom:1px solid #fff!important;
  border-radius:0 0 20px 20px!important;
  box-shadow:
    0 15px 23px rgba(24,18,34,.13),
    0 6px 15px rgba(var(--card-accent-rgb),.12)!important;
}

#storefront-main .origo-product-card .product-card-primary{
  filter:
    saturate(1.02)
    contrast(1.02)
    drop-shadow(0 13px 12px rgba(25,18,32,.18))!important;
  inset:16px!important;
  width:calc(100% - 32px)!important;
  height:calc(100% - 32px)!important;
  object-fit:contain!important;
  object-position:50% 50%!important;
  opacity:1!important;
  transform:scale(1)!important;
  transform-origin:50% 50%!important;
  translate:none!important;
  transition:transform .48s cubic-bezier(.2,.75,.25,1),filter .35s ease!important;
}

#storefront-main .origo-product-card .product-card-hover{
  display:none!important;
  opacity:0!important;
}

#storefront-main .origo-product-card:hover .product-card-primary,
#storefront-main .origo-product-card:focus-within .product-card-primary,
#storefront-main .origo-product-card[data-aura-state]:not([data-aura-state="idle"]) .product-card-primary,
#storefront-main .origo-product-card:hover .product-card-primary--embedded,
#storefront-main .origo-product-card:focus-within .product-card-primary--embedded{
  inset:16px!important;
  opacity:1!important;
  transform:scale(1.055)!important;
  transform-origin:50% 50%!important;
  translate:none!important;
}

#storefront-main .origo-product-card:hover,
#storefront-main .origo-product-card:focus-within{
  border-color:rgba(var(--card-accent-rgb),.88)!important;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.96),
    inset 0 0 18px rgba(var(--card-accent-rgb),.18),
    0 0 0 1px rgba(var(--card-accent-rgb),.5),
    0 0 28px rgba(var(--card-accent-rgb),.38),
    0 24px 38px rgba(24,18,34,.17)!important;
  transform:translateY(-7px) scale(1.008)!important;
}

@media(max-width:560px){
  #storefront-main .origo-product-card{
    padding:4px!important;
    border-width:3px!important;
    -webkit-backdrop-filter:blur(8px)!important;
    backdrop-filter:blur(8px)!important;
  }
  #storefront-main .origo-product-card .product-card-media{border-radius:14px 14px 0 0!important}
  #storefront-main .origo-product-card .product-card-info{border-radius:0 0 14px 14px!important}
  #storefront-main .origo-product-card .product-card-primary,
  #storefront-main .origo-product-card:hover .product-card-primary,
  #storefront-main .origo-product-card:focus-within .product-card-primary{
    inset:10px!important;
    width:calc(100% - 20px)!important;
    height:calc(100% - 20px)!important;
  }
}

/* Glass v9 — intentionally the final cascade layer. */
body:not(.dark) :where(
  .site-header,.category-nav,.catalog-search-shell,.catalog-sidebar,
  .catalog-results-toolbar,.catalog-mobile-toolbar,.home-benefits,.home-benefit,
  .home-promo-strip,.home-promo-strip article,.home-categories a,.brand-carousel,
  .brand-carousel-track button,.brand-marquee-set button,.product-detail-gallery,
  .product-detail-info,.product-detail-panel,.product-detail-section,
  .product-detail-accordion,.product-performance,.product-notes,.product-reviews,
  .cart-drawer,.wishlist-drawer,.compare-drawer,.checkout-card,.checkout-summary,
  .order-summary,.account-card,.auth-card,.newsletter-box,.origo-footer
){
  border-color:rgba(255,255,255,.96)!important;
  outline-color:rgba(139,92,246,.22)!important;
  background:rgba(255,255,255,.42)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(30px) saturate(1.18)!important;
  backdrop-filter:blur(30px) saturate(1.18)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 1px 0 0 rgba(255,255,255,.78),
    inset 0 -1px 0 rgba(139,92,246,.11),
    0 15px 36px rgba(35,25,48,.11)!important;
}

body:not(.dark) :where(.site-header,.category-nav){
  background:rgba(255,255,255,.5)!important;
  -webkit-backdrop-filter:blur(34px) saturate(1.2)!important;
  backdrop-filter:blur(34px) saturate(1.2)!important;
}

body:not(.dark) :where(
  .header-search,.global-search-input,.catalog-search-shell input,
  .catalog-sidebar input,.catalog-sidebar select,.product-detail-info input,
  .checkout-card input,.checkout-card select,.checkout-card textarea,
  .newsletter-box input
){
  background:rgba(255,255,255,.52)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.14)!important;
  backdrop-filter:blur(22px) saturate(1.14)!important;
}

#storefront-main .origo-product-card{
  background:rgba(255,255,255,.42)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.2)!important;
  backdrop-filter:blur(22px) saturate(1.2)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 0 20px rgba(255,255,255,.58),
    inset 0 0 24px rgba(var(--card-accent-rgb),.14),
    0 0 0 1px rgba(var(--card-accent-rgb),.44),
    0 0 30px rgba(var(--card-accent-rgb),.36),
    0 22px 40px rgba(24,18,34,.16)!important;
}

body:not(.dark) :where(
  .modal,.dialog,dialog,.drawer,.mobile-menu-panel,.brands-dropdown,
  .mega-dropdown,.global-search-panel,.toast
){
  background:rgba(255,255,255,.56)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(36px) saturate(1.22)!important;
  backdrop-filter:blur(36px) saturate(1.22)!important;
}

@media(max-width:560px){
  body:not(.dark) :where(
    .site-header,.category-nav,.catalog-sidebar,.catalog-results-toolbar,
    .home-benefits,.home-promo-strip,.origo-footer
  ){
    -webkit-backdrop-filter:blur(22px) saturate(1.14)!important;
    backdrop-filter:blur(22px) saturate(1.14)!important;
  }
  #storefront-main .origo-product-card{
    -webkit-backdrop-filter:blur(16px) saturate(1.14)!important;
    backdrop-filter:blur(16px) saturate(1.14)!important;
  }
}

/* Ultra Glass v10 final — must remain at EOF. */
html,body{max-width:100%;overflow-x:hidden!important}
body:not(.dark){background:#edf2f8!important;background-image:none!important}
body:not(.dark) #storefront-main::before,
body:not(.dark) #storefront-main::after{content:none!important;display:none!important}

body:not(.dark) :where(
  .site-header,.category-nav,.catalog-search-shell,.catalog-sidebar,
  .catalog-results-toolbar,.catalog-mobile-toolbar,.home-benefits,.home-benefit,
  .home-promo-strip,.home-promo-strip article,.home-categories a,.brand-carousel,
  .brand-carousel-track button,.brand-marquee-set button,.product-detail-gallery,
  .product-detail-info,.product-detail-panel,.product-detail-section,
  .product-detail-accordion,.product-performance,.product-notes,.product-reviews,
  .cart-drawer,.wishlist-drawer,.compare-drawer,.checkout-card,.checkout-summary,
  .order-summary,.account-card,.auth-card,.newsletter-box,.origo-footer
){
  border:1px solid rgba(255,255,255,.98)!important;
  outline:1px solid rgba(139,92,246,.18)!important;
  background:rgba(255,255,255,.28)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(42px) saturate(1.28)!important;
  backdrop-filter:blur(42px) saturate(1.28)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 1px 0 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(139,92,246,.12),
    0 16px 38px rgba(35,25,48,.1)!important;
}

body:not(.dark) :where(.site-header,.category-nav){
  background:rgba(255,255,255,.38)!important;
  -webkit-backdrop-filter:blur(48px) saturate(1.3)!important;
  backdrop-filter:blur(48px) saturate(1.3)!important;
}

body:not(.dark) :where(
  .header-search,.global-search-input,.catalog-search-shell input,
  .catalog-sidebar input,.catalog-sidebar select,.product-detail-info input,
  .checkout-card input,.checkout-card select,.checkout-card textarea,
  .newsletter-box input
){
  background:rgba(255,255,255,.44)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(30px) saturate(1.2)!important;
  backdrop-filter:blur(30px) saturate(1.2)!important;
}

#storefront-main .origo-product-card{
  background:rgba(255,255,255,.24)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(34px) saturate(1.3)!important;
  backdrop-filter:blur(34px) saturate(1.3)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 0 24px rgba(255,255,255,.72),
    inset 0 0 28px rgba(var(--card-accent-rgb),.16),
    0 0 0 1px rgba(var(--card-accent-rgb),.48),
    0 0 34px rgba(var(--card-accent-rgb),.38),
    0 24px 42px rgba(24,18,34,.16)!important;
}

#storefront-main .origo-product-card .product-card-media,
#storefront-main .origo-product-card .product-card-info{
  background:rgba(255,255,255,.76)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.16)!important;
  backdrop-filter:blur(18px) saturate(1.16)!important;
}

#storefront-main .origo-product-card .product-card-primary{
  image-rendering:auto;
  object-fit:contain!important;
  object-position:50% 50%!important;
  mix-blend-mode:normal!important;
  backface-visibility:hidden;
  transform:translateZ(0) scale(1)!important;
  filter:contrast(1.08) saturate(1.1) brightness(1.015) drop-shadow(0 15px 14px rgba(25,18,32,.2))!important;
}

#storefront-main .origo-product-card:hover .product-card-primary,
#storefront-main .origo-product-card:focus-within .product-card-primary{
  transform:translateZ(0) scale(1.065)!important;
}

body:not(.dark) :where(
  .modal,.dialog,dialog,.drawer,.mobile-menu-panel,.brands-dropdown,
  .mega-dropdown,.global-search-panel,.toast
){
  background:rgba(255,255,255,.42)!important;
  background-image:none!important;
  -webkit-backdrop-filter:blur(52px) saturate(1.32)!important;
  backdrop-filter:blur(52px) saturate(1.32)!important;
}

@media(max-width:560px){
  body:not(.dark) :where(
    .site-header,.category-nav,.catalog-sidebar,.catalog-results-toolbar,
    .home-benefits,.home-promo-strip,.origo-footer
  ){
    -webkit-backdrop-filter:blur(28px) saturate(1.2)!important;
    backdrop-filter:blur(28px) saturate(1.2)!important;
  }
  #storefront-main .origo-product-card{
    -webkit-backdrop-filter:blur(22px) saturate(1.2)!important;
    backdrop-filter:blur(22px) saturate(1.2)!important;
  }
}

/* The mobile navigation drawer intentionally stays opaque above glass presets. */
@media (max-width: 640px) {
  .mobile-menu-panel,
  body:not(.dark) .mobile-menu-panel,
  body.dark .mobile-menu-panel {
    color: #21171a !important;
    background: #fff !important;
    background-image: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
