/* Shop-only presentation. Product prices, stock, links and checkout logic stay separate. */
.unified-store{
 --glass-ink:#183447;
 --glass-edge:rgba(83,112,132,.32);
 --glass-fill:linear-gradient(160deg,rgba(255,255,255,.96),rgba(224,235,243,.94));
 --glass-primary:linear-gradient(155deg,rgba(243,250,255,.96),rgba(204,224,239,.94));
 --glass-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 3px 8px rgba(25,57,79,.08),0 10px 24px rgba(25,57,79,.06);
}

/* Explicit action classes only: ordinary text, remove links and product cards are not buttons. */
.unified-store :is(.button,.cvj-add,.cvj-buy-now,.cart-add,.cart-go,.cart-dialog-link,.cart-quick,.shop-google,.cart-shop-actions button,.cart-coupon button,.checkout-coupon button,.shop-auth-grid button,.shop-panel form button,.shop-account-heading button,.shop-order button){
 background:var(--glass-fill)!important;
 color:var(--glass-ink)!important;
 border:1px solid var(--glass-edge)!important;
 border-radius:14px!important;
 box-shadow:var(--glass-shadow)!important;
 text-shadow:0 1px 0 rgba(255,255,255,.65);
 font-weight:650;
 text-decoration:none;
 transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
 -webkit-tap-highlight-color:rgba(36,100,145,.12);
}

/* These match the existing modal rules, including their important red backgrounds. */
.unified-store :is(#assort-detail,#product-detail,#meubel-detail) :is(.cvj-add,.cvj-buy-now,.cart-go,.cart-dialog-link,.button),
.unified-store :is(.cvj-add,.cvj-buy-now,.cart-go,.cart-dialog-link,#checkout-submit){
 background:var(--glass-primary)!important;
 color:var(--glass-ink)!important;
 border:1px solid rgba(63,103,132,.42)!important;
 border-radius:14px!important;
 box-shadow:inset 0 1px 0 #ffffffed,0 4px 12px #234a6820,0 12px 26px #234a6810!important;
 text-decoration:none!important;
 font-weight:650!important;
}

.unified-store :is(.cart-dialog-link,.cvj-add){
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 flex-wrap:nowrap!important;
 gap:.25em;
 box-sizing:border-box;
 min-width:0;
 text-align:center;
 line-height:1.2!important;
}
.unified-store .cvj-add{white-space:normal!important;text-wrap:balance}
.unified-store .cart-dialog-link{
 width:100%;
 min-height:46px;
 padding:11px 12px!important;
 font-size:clamp(.78rem,2.8vw,.94rem)!important;
 white-space:nowrap!important;
}
.unified-store .cart-dialog-link [data-cart-count]{flex:none;white-space:nowrap}
.unified-store .cart-dialog-dock{
 background:transparent;
 border:0;
 box-shadow:none;
 -webkit-backdrop-filter:none;
 backdrop-filter:none;
}

/* Keep the existing stock meaning; give its verified lead time room to wrap. */
.unified-store .cvj-stock-status{flex-wrap:wrap;column-gap:8px;row-gap:4px;align-items:center}
.unified-store .cvj-stock-status::before{flex:0 0 8px;min-width:8px;min-height:8px}
.unified-store .cvj-stock-label{min-width:0;max-width:100%;overflow-wrap:anywhere}
.unified-store .cvj-stock-leadtime{flex:1 1 150px;min-width:0;max-width:100%;font-size:.9em;line-height:1.45;color:#4a5f6d;overflow-wrap:anywhere}
.unified-store .supplier-stock[hidden]{display:none!important}

/* Preserve the existing placement; center the actual close glyph, not its baseline. */
body.unified-store :is(dialog,#assort-detail,#product-detail,#meubel-detail) :is(.assort-close,.dialog-close,.collection-close,.furniture-close,.product-photo-close){
 display:grid!important;
 place-items:center!important;
 width:44px!important;
 height:44px!important;
 min-width:44px!important;
 min-height:44px!important;
 padding:0!important;
 line-height:1!important;
 box-sizing:border-box;
 border:1px solid var(--glass-edge)!important;
 border-radius:14px!important;
 background:var(--glass-fill)!important;
 color:var(--glass-ink)!important;
 box-shadow:inset 0 1px 0 #fff,0 3px 10px #18344712!important;
 text-align:center;
 text-indent:0;
 z-index:12;
 cursor:pointer;
}

/* Small controls stay small; swatch pictures retain their real product colours. */
.unified-store :is(.cart-quantity-choice>button,.cvj-buy-row .cart-quantity-choice button){
 display:grid!important;
 place-items:center!important;
 padding:0!important;
 line-height:1!important;
 border-radius:9px!important;
 background:var(--glass-fill)!important;
 color:var(--glass-ink)!important;
 border:1px solid rgba(83,112,132,.18)!important;
 box-shadow:inset 0 1px 0 #fff!important;
}
.unified-store :is(.color-choices,.meubel-width-choices,.meubel-swatches,.meubel-recommend-grid) button{
 color:var(--glass-ink)!important;
 border-color:rgba(83,112,132,.32)!important;
 background:var(--glass-fill)!important;
 border-radius:12px;
}
.unified-store :is(.color-choices,.meubel-width-choices,.meubel-swatches,.meubel-recommend-grid) button[aria-pressed=true]{
 border-color:#285d80!important;
 background:linear-gradient(145deg,#eef8ff,#cce1f0)!important;
 outline:2px solid #285d80!important;
 outline-offset:2px;
 box-shadow:inset 0 0 0 1px #fff!important;
 font-weight:700;
}

/* Icon-only favourites. Text favourites keep their complete readable label. */
body.unified-store button:is(.photo-heart,.desco-heart){
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 gap:0!important;
 box-sizing:border-box;
 width:44px!important;
 height:44px!important;
 min-width:44px!important;
 min-height:44px!important;
 max-width:44px;
 max-height:44px;
 padding:0!important;
 margin:0!important;
 line-height:1!important;
 font-size:0!important;
 text-align:center;
 text-indent:0;
 border:1px solid var(--glass-edge)!important;
 border-radius:50%!important;
 background:var(--glass-fill)!important;
 color:var(--glass-ink)!important;
 box-shadow:inset 0 1px 0 #fff,0 3px 10px #18344716!important;
 cursor:pointer;
}
body.unified-store button:is(.photo-heart,.desco-heart)::before{
 content:'';
 display:block;
 width:22px;
 height:22px;
 margin:0!important;
 background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.unified-store button:is(.photo-heart,.desco-heart)[aria-pressed=true]{color:#9c2e47!important;border-color:#b26a7d!important}
body.unified-store button:is(.photo-heart,.desco-heart)[aria-pressed=true]::before{
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
}
@supports not ((mask-image:linear-gradient(#000,#000)) or (-webkit-mask-image:linear-gradient(#000,#000))){
 body.unified-store button:is(.photo-heart,.desco-heart){font:26px/1 Arial,sans-serif!important}
 body.unified-store button:is(.photo-heart,.desco-heart)::before{display:none!important}
}

@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
 .unified-store{
  --glass-fill:linear-gradient(160deg,rgba(255,255,255,.7),rgba(234,244,251,.68));
  --glass-primary:linear-gradient(155deg,rgba(249,253,255,.66),rgba(228,241,250,.66));
 }
 .unified-store :is(.button,.cvj-add,.cvj-buy-now,.cart-add,.cart-go,.cart-dialog-link,.cart-quick,.shop-google,.cart-shop-actions button,.cart-coupon button,.checkout-coupon button,.shop-auth-grid button,.shop-panel form button,.shop-account-heading button,.shop-order button,.assort-close,.dialog-close,.collection-close,.furniture-close,.product-photo-close,.cart-quantity-choice>button,.photo-heart,.desco-heart){
  -webkit-backdrop-filter:blur(16px) saturate(130%);
  backdrop-filter:blur(16px) saturate(130%);
 }
}

@media (hover:hover){
 .unified-store :is(.button,.cvj-add,.cvj-buy-now,.cart-add,.cart-go,.cart-dialog-link,.cart-quick,.shop-google,.cart-shop-actions button,.cart-coupon button,.checkout-coupon button,.shop-auth-grid button,.shop-panel form button,.shop-account-heading button,.shop-order button):not(:disabled):not([aria-disabled=true]):hover{
  border-color:#4d7d9f!important;
  box-shadow:inset 0 1px 0 #fff,0 5px 14px #234a6828,0 12px 28px #234a6818!important;
 }
}
body.unified-store :is(a,button,[tabindex]):focus-visible{
 outline:3px solid #236c9f!important;
 outline-offset:4px!important;
}
.unified-store :is(#assort-detail,#product-detail,#meubel-detail,.shop-main,.cart-layout) :is(button,.button)[aria-disabled=true],
.unified-store :is(#assort-detail,#product-detail,#meubel-detail,.shop-main,.cart-layout) :is(button,.button):disabled{
 background:#e5e9ed!important;
 color:#56646f!important;
 border:1px solid #aebbc4!important;
 box-shadow:none!important;
 text-shadow:none;
 opacity:.7!important;
 cursor:not-allowed!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}

@media (prefers-reduced-motion:reduce){
 .unified-store :is(.button,button,.cart-dialog-dock){transition:none!important}
}
@media (prefers-reduced-transparency:reduce){
 .unified-store{--glass-fill:linear-gradient(#f8fbfd,#e8f0f5);--glass-primary:linear-gradient(#edf6fd,#d5e6f2)}
 .unified-store :is(.button,button,.cart-dialog-dock){-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media (forced-colors:active){
 .unified-store :is(.button,button,.shop-google,.cart-dialog-link,.cart-go,.cart-quick),
 body.unified-store :is(#assort-detail,#product-detail,#meubel-detail,.shop-main,.cart-layout) :is(#checkout-submit,.button,button,.shop-google,.cart-dialog-link,.cart-go){
  background:ButtonFace!important;
  color:ButtonText!important;
  border:1px solid ButtonText!important;
  box-shadow:none!important;
  text-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
 }
 body.unified-store :is(#assort-detail,#product-detail,#meubel-detail,.shop-main,.cart-layout) :is(#checkout-submit,button,.button):is(:disabled,[aria-disabled=true]){color:GrayText!important;border-color:GrayText!important;opacity:1!important}
 body.unified-store :is(button,.button)[aria-pressed=true]{outline:3px solid Highlight!important}
 body.unified-store :is(a,button,[tabindex]):focus-visible{outline-color:Highlight!important}
 body.unified-store button:is(.photo-heart,.desco-heart){font:26px/1 Arial,sans-serif!important;color:ButtonText!important;background:ButtonFace!important;border-color:ButtonText!important;box-shadow:none!important}
 body.unified-store button:is(.photo-heart,.desco-heart)[aria-pressed=true]{color:Highlight!important;border-color:Highlight!important}
 body.unified-store button:is(.photo-heart,.desco-heart)::before{display:none!important}
}

/* Visual display overrides must never reveal an intentionally hidden action. */
body.unified-store :is(#assort-detail,#product-detail,#meubel-detail,.shop-main,.cart-layout) [hidden]{display:none!important}
