.spacs-home-refresh { --gutter:clamp(24px,6.2vw,100px); background:#161615; color:#f2eee6; font-family:"DM Sans",sans-serif; }
.spacs-home-refresh > section { margin:0; }
.spacs-home-refresh h2 { margin:0; color:inherit; font:400 clamp(34px,3.8vw,54px)/1.12 "DM Sans",sans-serif; letter-spacing:-.04em; text-wrap:balance; }
.spacs-home-refresh a { color:inherit; text-decoration:none; }
.spacs-home-refresh a:hover { color:#c6a46b; }
.spacs-home-refresh a:focus-visible,.spacs-footer-links a:focus-visible { outline:2px solid currentColor; outline-offset:6px; }
.spacs-home-link { display:inline-flex; align-items:center; gap:24px; min-height:46px; border-bottom:1px solid currentColor; font-size:15px; transition:color .2s,gap .2s; }
.spacs-home-link:hover { gap:32px; color:#c6a46b; }
.spacs-home-categories,.spacs-home-selection { padding:78px var(--gutter); }
.spacs-home-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:36px; }
.spacs-home-category { display:block; }
.spacs-home-category img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; transition:filter .3s; }
.spacs-home-category:hover img { filter:brightness(1.12); }
.spacs-home-category h3 { display:flex; justify-content:space-between; gap:12px; margin:18px 0 0; color:inherit; font:400 clamp(20px,2vw,27px)/1.3 "DM Sans",sans-serif; letter-spacing:-.025em; }
.spacs-home-selection { background:#201f1d; }
.spacs-home-section-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:36px; }
.spacs-home-products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; padding:0; margin:0; list-style:none; }
.spacs-home-product-image { overflow:hidden; }
.spacs-home-products img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; border-radius:0; transition:transform .45s; }
.spacs-home-products a:hover img { transform:scale(1.025); }
.spacs-home-products h3 { min-height:2.8em; margin:18px 0 9px; color:inherit; font:400 17px/1.4 "DM Sans",sans-serif; }
.spacs-home-products .price { color:#c9c5bc; font-size:15px; }
.spacs-home-rooms { display:grid; grid-template-columns:1.15fr 1fr; background:#f2eee6; color:#252b26; }
.spacs-home-rooms > img { display:block; width:100%; height:100%; min-height:540px; max-height:680px; object-fit:cover; }
.spacs-home-rooms > div { align-self:center; padding:64px clamp(32px,6vw,90px); }
.spacs-home-rooms p { margin:24px 0 26px; max-width:400px; font-size:18px; line-height:1.65; color:#55594f; }
.spacs-home-rooms .spacs-home-link:hover { color:#785d32; }
.spacs-home-advice { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:64px; padding:76px var(--gutter); background:#252b26; }
.spacs-home-advice { position:relative; isolation:isolate; overflow:hidden; }
.spacs-home-advice::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:url("/wp-content/uploads/2026/02/spacs-brand-pattern.png") right 42% / 560px auto no-repeat; opacity:.055; }
.spacs-home-advice p { max-width:430px; margin:0 0 22px; color:#dedfd7; font-size:17px; line-height:1.65; }
.spacs-footer-links { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:36px; padding:44px clamp(24px,6.2vw,100px); background:#161615; color:#f2eee6; border-top:1px solid #3a3a34; font-family:"DM Sans",sans-serif; }
.spacs-footer-links a { width:fit-content; display:flex; align-items:center; min-height:40px; color:#d1cec5; text-decoration:none; font-size:14px; }
.spacs-footer-links .spacs-footer-name { align-self:start; color:#f2eee6; font-size:24px; letter-spacing:-.04em; }
.spacs-footer-name img { display:block; width:160px; max-width:100%; height:auto; }
.spacs-footer-links a:hover { color:#c6a46b; }
/* Cart popup (desktop and mobile) */
#woo-cart-panel,
#woo-cart-panel .ct-panel-inner,
#woo-cart-panel .ct-panel-content,
#woo-cart-panel .ct-panel-content-inner,
#woo-cart-panel .ct-panel-actions {
  background: #121211 !important;
  color: #f2eee6;
}

.ct-cart-content {
  --mini-cart-background-color: #121211;
  background: var(--mini-cart-background-color) !important;
  color: #f2eee6;
}
/* Retain the existing hero, with calmer actions and a reliable viewport budget. */
.home .hero-actions .wp-block-button__link { font-size:15px; font-weight:500; letter-spacing:0; text-transform:none; }
.home .hero-actions .is-style-outline .wp-block-button__link { border:0 !important; border-bottom:1px solid currentColor !important; padding:12px 0 !important; margin-left:12px; }
.home #precision-engineered-fixtures-that-turn-illumination-into-art { font-weight:400; line-height:1.08; }
.home .entry-content > .wp-block-cover:first-child { min-height:min(840px,calc(100svh - 60px)) !important; }
.home.admin-bar .entry-content > .wp-block-cover:first-child { min-height:min(808px,calc(100svh - 92px)) !important; }
@media(max-width:999px) {
 .home .entry-content > .wp-block-cover:first-child { min-height:calc(100svh - 76px) !important; }
 .home.admin-bar .entry-content > .wp-block-cover:first-child { min-height:calc(100svh - 122px) !important; }
 .home .entry-content > .wp-block-cover:first-child .wp-block-cover__image-background { object-position:80% center !important; }
 .home .entry-content > .wp-block-cover:first-child::after { background:linear-gradient(0deg,rgba(8,8,8,.92),rgba(8,8,8,.5) 40%,rgba(8,8,8,.05) 78%); }
 .home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container { position:relative; width:100% !important; padding:0 !important; }
 .home .entry-content > .wp-block-cover:first-child { align-items:flex-end !important; padding:210px 0 36px !important; }
 .home .hero-inner { width:100% !important; padding:0 24px !important; text-align:left; }
 .home .hero-inner > .wp-block-group { margin-left:0 !important; }
 .home #precision-engineered-fixtures-that-turn-illumination-into-art { max-width:480px; margin-left:0 !important; font-size:clamp(38px,7vw,56px); }
 .home .hero-intro { max-width:350px; margin-left:0 !important; }
 .home .hero-actions { width:auto !important; max-width:none !important; margin-left:0 !important; flex-direction:row; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:22px; }
 .home .hero-actions .wp-block-button { width:auto; }
 .home .hero-actions .wp-block-button__link { width:auto; }
 .home .hero-actions .is-style-outline .wp-block-button__link { margin-left:0; }
 .spacs-home-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 20px; }
 .spacs-home-rooms > img { min-height:460px; }
}
@media(max-width:600px) {
 .spacs-home-categories,.spacs-home-selection { padding:52px 24px; }
 .spacs-home-category-grid { grid-template-columns:1fr; gap:26px; margin-top:28px; }
 .spacs-home-category img { aspect-ratio:4/3; }
 .spacs-home-category h3 { margin-top:12px; font-size:22px; }
 .spacs-home-section-heading { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:28px; }
 .spacs-home-products { gap:28px 14px; }
 .spacs-home-products h3 { font-size:15px; margin-top:13px; }
 .spacs-home-products .price { font-size:14px; }
 .spacs-home-rooms { grid-template-columns:1fr; }
 .spacs-home-rooms > img { min-height:0; height:auto; aspect-ratio:1; }
 .spacs-home-rooms > div { padding:42px 24px 48px; }
 .spacs-home-rooms p { font-size:17px; }
 .spacs-home-advice { grid-template-columns:1fr; padding:52px 24px; gap:24px; }
 .spacs-footer-links { grid-template-columns:1fr 1fr; gap:24px; padding-top:32px; padding-bottom:32px; }
 .spacs-footer-name { grid-column:1/-1; }
 .home .hero-actions { gap:20px; }
 .home .hero-actions .wp-block-button__link { padding:13px 18px; }
 .home .hero-actions .is-style-outline .wp-block-button__link { padding:12px 0; }
}
@media(prefers-reduced-motion:reduce) { .spacs-home-refresh *, .home .hero-actions * { animation:none !important; transition:none !important; } }
