/* NIR multipage live Home-theme bridge — 2026-09-18
   Inner pages use the exact active color family from the Home 3D hero.
   Loaded LAST so earlier light/warm hardcoded rules cannot win. */

/* Match the alternate Home hero palettes even away from index.html. */
html[data-nir-theme="chair"]{
  --hero-deep:#120c08;--hero-deep-2:#1c120b;--hero-mid:#3a281a;--hero-mid-2:#2a1b11;--hero-surface:#2d1f15;
  --hero-card:rgba(255,246,235,.055);--hero-card-strong:rgba(255,246,235,.078);--hero-line:rgba(245,222,194,.12);
  --hero-muted:rgba(245,232,216,.62);--hero-gold:#d9ad72;--hero-gold-2:#f0d3ad;--hero-accent-glow:rgba(163,104,58,.19);
  --hero-accent-glow-2:rgba(174,111,62,.20);--hero-modal:#24170f;--hero-footer:#0c0805;--hero-overlay:rgba(10,5,2,.74);--hero-text-on-gold:#24170f;
}
html[data-nir-theme="wardrobe"]{
  --hero-deep:#130b05;--hero-deep-2:#1e1208;--hero-mid:#4b2d14;--hero-mid-2:#321c0c;--hero-surface:#37200f;
  --hero-card:rgba(255,238,213,.052);--hero-card-strong:rgba(255,238,213,.078);--hero-line:rgba(241,201,148,.13);
  --hero-muted:rgba(244,225,202,.62);--hero-gold:#c9924f;--hero-gold-2:#e9c28c;--hero-accent-glow:rgba(159,88,35,.20);
  --hero-accent-glow-2:rgba(183,110,48,.21);--hero-modal:#28160a;--hero-footer:#0d0703;--hero-overlay:rgba(12,6,2,.76);--hero-text-on-gold:#2a170a;
}
html[data-nir-theme="table"]{
  --hero-deep:#171006;--hero-deep-2:#21170b;--hero-mid:#58401f;--hero-mid-2:#392711;--hero-surface:#3c2a16;
  --hero-card:rgba(255,239,210,.052);--hero-card-strong:rgba(255,239,210,.078);--hero-line:rgba(239,205,154,.13);
  --hero-muted:rgba(245,229,205,.63);--hero-gold:#d0a25e;--hero-gold-2:#efd09b;--hero-accent-glow:rgba(167,122,59,.19);
  --hero-accent-glow-2:rgba(186,137,70,.21);--hero-modal:#2a1d0f;--hero-footer:#0e0904;--hero-overlay:rgba(13,8,3,.76);--hero-text-on-gold:#281a0c;
}

html[data-nir-theme] body.inner-page{
  background:var(--hero-deep)!important;
  color:#fff!important;
  color-scheme:dark;
}
body.inner-page main{
  background:var(--hero-deep)!important;
  color:#fff!important;
}
body.inner-page a{color:inherit}
body.inner-page .section-label{color:color-mix(in srgb,var(--hero-gold) 82%,transparent)!important}
body.inner-page .section-head h2,
body.inner-page .mp-category-top h2,
body.inner-page h1,body.inner-page h2,body.inner-page h3{color:#fff}
body.inner-page .section-head p,
body.inner-page .split-head>p{color:var(--hero-muted)!important}
body.inner-page .section-pad{background:transparent}
body.inner-page .soft-section{background:linear-gradient(180deg,var(--hero-mid-2),var(--hero-deep-2))!important}

/* Chrome — same dark Home navigation family */
body.inner-page .top-note{background:var(--hero-footer)!important;color:var(--hero-muted)!important}
body.inner-page .mp-site-header.is-solid,
body.inner-page .site-header.is-solid{background:color-mix(in srgb,var(--hero-deep) 96%,transparent)!important;border-bottom-color:var(--hero-line)!important}
body.inner-page .desktop-nav a,
body.inner-page .nav-link-button,
body.inner-page .brand{color:#fff!important}
body.inner-page .brand small{color:var(--hero-muted)!important}
body.inner-page .desktop-nav a:hover,
body.inner-page .desktop-nav a.active{color:var(--hero-text-on-gold,#171916)!important;background:linear-gradient(135deg,var(--hero-gold-2),var(--hero-gold))!important}
body.inner-page .desktop-nav a.active::after{background:var(--hero-gold)!important}
body.inner-page .account-button,
body.inner-page .cart-button,
body.inner-page .mobile-menu-toggle{background:var(--hero-card)!important;border-color:var(--hero-line)!important;color:#fff!important}
body.inner-page .mobile-nav-panel{background:var(--hero-modal)!important;color:#fff!important;border-color:var(--hero-line)!important}
body.inner-page .mobile-nav-panel a,
body.inner-page .mobile-nav-panel button{color:var(--hero-muted)!important;border-color:var(--hero-line)!important}
body.inner-page .mobile-nav-panel a.active{color:var(--hero-gold-2)!important;background:var(--hero-card)!important}

/* Page hero / benefits */
body.inner-page .mp-page-hero{
  background:radial-gradient(circle at 14% 0%,var(--hero-accent-glow),transparent 35%),linear-gradient(180deg,var(--hero-deep-2),var(--hero-deep))!important;
  border-color:var(--hero-line)!important;
}
body.inner-page .mp-page-hero::before,
body.inner-page .mp-page-hero::after{opacity:.12!important}
body.inner-page .mp-page-hero h1{color:#fff!important}
body.inner-page .mp-page-hero p{color:var(--hero-muted)!important}
body.inner-page .mp-benefits{background:linear-gradient(180deg,var(--hero-deep-2),var(--hero-deep))!important;border-color:var(--hero-line)!important}
body.inner-page .mp-benefits>div{border-color:var(--hero-line)!important}
body.inner-page .mp-benefits b{color:#fff!important}
body.inner-page .mp-benefits span{color:var(--hero-muted)!important}

/* Photographic hero */
body.inner-page .mp-hero{background:var(--hero-deep)!important;color:#fff!important}
body.inner-page .mp-hero-shade{background:linear-gradient(90deg,var(--hero-overlay) 0%,color-mix(in srgb,var(--hero-deep) 48%,transparent) 48%,transparent 78%),linear-gradient(0deg,color-mix(in srgb,var(--hero-deep) 70%,transparent),transparent 48%)!important}
body.inner-page .mp-hero h1{color:#fff!important}
body.inner-page .mp-hero h1 em{color:var(--hero-gold-2)!important}
body.inner-page .mp-hero p{color:var(--hero-muted)!important}

/* Room, directory, story, category */
body.inner-page .mp-room-links{border-color:var(--hero-line)!important}
body.inner-page .mp-room-links a,
body.inner-page .mp-arrow-link,
body.inner-page .mp-category-copy>a{color:var(--hero-gold-2)!important}
body.inner-page .mp-room-card,
body.inner-page .mp-story-image,
body.inner-page .mp-category-image{background:var(--hero-surface)!important}
body.inner-page .mp-story{background:transparent!important}
body.inner-page .mp-story-copy h2{color:#fff!important}
body.inner-page .mp-story-copy p{color:var(--hero-muted)!important}
body.inner-page .mp-room-directory>a{
  background:linear-gradient(160deg,var(--hero-card-strong),var(--hero-card))!important;
  border:1px solid var(--hero-line)!important;
  color:#fff!important;
}
body.inner-page .mp-room-directory>a>div{background:transparent!important}
body.inner-page .mp-room-directory small{color:var(--hero-gold)!important}
body.inner-page .mp-room-directory h2{color:#fff!important}
body.inner-page .mp-room-directory span{color:var(--hero-muted)!important}
body.inner-page .mp-category-hero{background:linear-gradient(140deg,var(--hero-deep-2),var(--hero-mid-2))!important;color:#fff!important}
body.inner-page .mp-category-copy{background:radial-gradient(circle at 90% 10%,var(--hero-accent-glow),transparent 38%)!important}
body.inner-page .mp-category-copy h1{color:#fff!important}
body.inner-page .mp-category-copy p{color:var(--hero-muted)!important}
body.inner-page .mp-empty-state{background:var(--hero-card)!important;border-color:var(--hero-line)!important;color:var(--hero-muted)!important}

/* Shop shortcuts */
body.inner-page .mp-shop-shortcuts{background:var(--hero-deep-2)!important;border-color:var(--hero-line)!important}
body.inner-page .mp-shop-shortcuts a{background:transparent!important;color:#fff!important;border-color:var(--hero-line)!important}
body.inner-page .mp-shop-shortcuts a:hover{background:var(--hero-card-strong)!important}
body.inner-page .mp-shop-shortcuts small{color:var(--hero-gold)!important}
body.inner-page .mp-shop-shortcuts b{color:#fff!important}

/* Product catalogue — same Home collection language */
body.inner-page .products-section,
body.inner-page .mp-shop-section{background:radial-gradient(circle at 85% 12%,var(--hero-accent-glow),transparent 30%),linear-gradient(180deg,var(--hero-mid-2),var(--hero-deep-2))!important;color:#fff!important}
body.inner-page .product-card{background:linear-gradient(180deg,var(--hero-card-strong),var(--hero-card))!important;border:1px solid var(--hero-line)!important;color:#fff!important;box-shadow:0 18px 45px rgba(0,0,0,.13)!important}
body.inner-page .product-card:hover{border-color:color-mix(in srgb,var(--hero-gold) 38%,transparent)!important;box-shadow:0 22px 54px rgba(0,0,0,.22)!important}
body.inner-page .product-image{background:var(--hero-surface)!important}
body.inner-page .product-body{background:transparent!important;color:#fff!important}
body.inner-page .product-body small,
body.inner-page .product-meta-line,
body.inner-page .product-finish,
body.inner-page .product-desc{color:var(--hero-muted)!important}
body.inner-page .product-body h3,
body.inner-page .product-body h3 a,
body.inner-page .product-body h3 button{color:#fff!important}
body.inner-page .product-foot{border-color:var(--hero-line)!important}
body.inner-page .product-price span{color:var(--hero-muted)!important}
body.inner-page .product-price strong{color:#fff!important}
body.inner-page .product-badge{background:color-mix(in srgb,var(--hero-deep) 88%,transparent)!important;color:var(--hero-gold-2)!important;border-color:var(--hero-line)!important}
body.inner-page .product-favorite{background:color-mix(in srgb,var(--hero-deep) 70%,transparent)!important;color:#fff!important;border-color:var(--hero-line)!important}
body.inner-page .product-quick-view{background:var(--hero-gold)!important;color:var(--hero-text-on-gold)!important}
body.inner-page .add-btn{background:color-mix(in srgb,var(--hero-gold) 14%,transparent)!important;color:var(--hero-gold-2)!important;border-color:color-mix(in srgb,var(--hero-gold) 20%,transparent)!important}
body.inner-page .add-btn:hover{background:var(--hero-gold)!important;color:var(--hero-text-on-gold)!important}
body.inner-page .filter-pills button{background:rgba(255,255,255,.045)!important;color:rgba(255,255,255,.68)!important;border-color:var(--hero-line)!important}
body.inner-page .filter-pills button:hover{color:#fff!important;border-color:color-mix(in srgb,var(--hero-gold) 40%,transparent)!important}
body.inner-page .filter-pills button.active{background:linear-gradient(135deg,var(--hero-gold-2),var(--hero-gold))!important;color:var(--hero-text-on-gold)!important;border-color:transparent!important}
body.inner-page .filter-pills button::after{display:none!important}
body.inner-page #productCount,
body.inner-page .product-sort-label{color:var(--hero-muted)!important}
body.inner-page .product-sort-label select,
body.inner-page .sort-select{background:var(--hero-card)!important;color:#fff!important;border-color:var(--hero-line)!important}
body.inner-page .product-sort-label option,
body.inner-page .sort-select option{background:var(--hero-modal);color:#fff}

/* Product detail */
body.inner-page .mp-product-page,
body.inner-page .mp-product-info{background:transparent!important;color:#fff!important}
body.inner-page .mp-product-breadcrumb{color:var(--hero-muted)!important}
body.inner-page .mp-product-breadcrumb a:hover{color:var(--hero-gold-2)!important}
body.inner-page .mp-product-loading{background:var(--hero-card)!important;color:var(--hero-muted)!important}
body.inner-page .mp-product-gallery button{background:var(--hero-surface)!important;border:1px solid var(--hero-line)!important}
body.inner-page .mp-product-info h1{color:#fff!important}
body.inner-page .mp-product-info .mp-product-kicker,
body.inner-page .mp-product-info .mp-name-bn,
body.inner-page .mp-product-info .mp-price small,
body.inner-page .mp-product-facts dt,
body.inner-page .mp-product-note{color:var(--hero-muted)!important}
body.inner-page .mp-product-info .mp-price{color:var(--hero-gold-2)!important}
body.inner-page .mp-product-status span{background:var(--hero-card)!important;color:var(--hero-gold-2)!important;border-color:var(--hero-line)!important}
body.inner-page .mp-product-info>p,
body.inner-page .mp-product-facts dd{color:var(--hero-muted)!important}
body.inner-page .mp-product-facts{border-color:var(--hero-line)!important}
body.inner-page .mp-product-facts>div{border-color:var(--hero-line)!important}
body.inner-page .mp-product-actions .button-secondary,
body.inner-page .product-inquiry-button{background:transparent!important;color:#fff!important;border-color:var(--hero-line)!important}

/* Values/services/contact */
body.inner-page .mp-values{border-color:var(--hero-line)!important}
body.inner-page .mp-values article{background:var(--hero-card)!important;border-color:var(--hero-line)!important}
body.inner-page .mp-values b,
body.inner-page .mp-service-list article>span{color:var(--hero-gold)!important}
body.inner-page .mp-values h3,
body.inner-page .mp-service-list h2,
body.inner-page .mp-contact-info h2,
body.inner-page .mp-contact-info dd{color:#fff!important}
body.inner-page .mp-values p,
body.inner-page .mp-service-list p,
body.inner-page .mp-contact-info>p,
body.inner-page .mp-contact-info dt,
body.inner-page .mp-contact-form label{color:var(--hero-muted)!important}
body.inner-page .mp-service-list article,
body.inner-page .mp-service-list article:nth-child(even){background:var(--hero-card)!important;border-color:var(--hero-line)!important;color:#fff!important}
body.inner-page .mp-contact-form{background:var(--hero-card)!important;border:1px solid var(--hero-line)!important}
body.inner-page .mp-contact-form input,
body.inner-page .mp-contact-form textarea{background:rgba(255,255,255,.045)!important;color:#fff!important;border-color:var(--hero-line)!important}
body.inner-page .mp-contact-form input::placeholder,
body.inner-page .mp-contact-form textarea::placeholder{color:rgba(255,255,255,.38)!important}

/* Rich editorial content */
body.inner-page .mp-materials{background:linear-gradient(180deg,var(--hero-mid-2),var(--hero-deep-2))!important;color:#fff!important}
body.inner-page .mp-materials .section-head h2,
body.inner-page .mp-material-card h3,
body.inner-page .mp-editorial-split h2{color:#fff!important}
body.inner-page .mp-materials .section-head p,
body.inner-page .mp-material-card p,
body.inner-page .mp-editorial-split p{color:var(--hero-muted)!important}
body.inner-page .mp-material-card{background:var(--hero-card)!important;border:1px solid var(--hero-line)!important}
body.inner-page .mp-material-card small{color:var(--hero-gold)!important}
body.inner-page .mp-service-band{background:var(--hero-deep-2)!important;color:#fff!important;border-color:var(--hero-line)!important}
body.inner-page .mp-service-band article{background:var(--hero-card)!important;border-color:var(--hero-line)!important}
body.inner-page .mp-service-band .lead small{color:var(--hero-gold)!important}
body.inner-page .mp-service-band article span{color:var(--hero-muted)!important}
body.inner-page .mp-assurance{background:var(--hero-deep)!important;color:#fff!important;border-color:var(--hero-line)!important}
body.inner-page .mp-assurance article{background:transparent!important;border-color:var(--hero-line)!important}
body.inner-page .mp-assurance small{color:var(--hero-gold)!important}
body.inner-page .mp-assurance h3{color:#fff!important}
body.inner-page .mp-assurance p{color:var(--hero-muted)!important}
body.inner-page .mp-editorial-split{background:linear-gradient(135deg,var(--hero-mid-2),var(--hero-deep-2))!important;color:#fff!important}
body.inner-page .mp-editorial-split .copy{background:transparent!important}
body.inner-page .mp-editorial-split .section-label{color:var(--hero-gold)!important}

/* Buttons exactly use Home's gold/dark contrast */
body.inner-page .button-gold,
body.inner-page .button-dark{background:linear-gradient(135deg,var(--hero-gold-2),var(--hero-gold))!important;color:var(--hero-text-on-gold)!important;border-color:transparent!important}
body.inner-page .button-light,
body.inner-page .button-white{background:#fff!important;color:var(--hero-deep)!important;border-color:#fff!important}
body.inner-page .button-outline-light,
body.inner-page .button-outline{background:transparent!important;color:#fff!important;border-color:var(--hero-line)!important}

/* Home-style closing/footer */
body.inner-page .closing-section{background:radial-gradient(circle at 82% 24%,var(--hero-accent-glow-2),transparent 30%),linear-gradient(135deg,var(--hero-mid),var(--hero-deep))!important;color:#fff!important}
body.inner-page .closing-section h2{color:#fff!important}
body.inner-page .closing-section p{color:var(--hero-muted)!important}
body.inner-page .site-footer{background:var(--hero-footer)!important;color:#fff!important;border-color:var(--hero-line)!important}
body.inner-page .footer-brand span,
body.inner-page .footer-links a,
body.inner-page .footer-links button,
body.inner-page .footer-bottom{color:var(--hero-muted)!important}
body.inner-page .footer-links b{color:#fff!important}
body.inner-page .footer-bottom{border-color:var(--hero-line)!important}

/* Cart/account/dialogs continue the exact Home dark modal palette. */
body.inner-page .modal,
body.inner-page .cart-drawer,
body.inner-page .account-dialog,
body.inner-page .checkout-dialog{background:var(--hero-modal)!important;color:#fff!important;border-color:var(--hero-line)!important}

/* Browser autofill / focus */
body.inner-page input:focus,
body.inner-page textarea:focus,
body.inner-page select:focus{border-color:color-mix(in srgb,var(--hero-gold) 55%,transparent)!important;outline:none!important}

@media(max-width:780px){
  body.inner-page .mp-page-hero{background:linear-gradient(180deg,var(--hero-deep-2),var(--hero-deep))!important}
}
