/* Shared shop surfaces follow the monochrome author frame. */
.sebi-shop-page{padding-top:clamp(6.5rem,9vw,8rem);padding-bottom:clamp(4rem,8vw,7rem)}
.sebi-shop-heading{max-width:760px;margin:0 0 clamp(2rem,5vw,4rem)}
.sebi-shop-heading .section-title{margin:.4rem 0 .75rem}
.sebi-shop-heading .lead{max-width:56ch}
.sebi-shop-page .woocommerce{width:100%}
.sebi-empty-cart{padding:clamp(24px,4vw,48px) 0;text-align:left}
.sebi-empty-cart h2{font-size:clamp(24px,3vw,34px);line-height:1.2;margin:0 0 16px}
.sebi-empty-cart p{margin:0 0 24px}
.sebi-empty-cart p:last-child{margin-bottom:0}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:3rem;margin:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:0;border:0;background:transparent}
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,6vw,5rem);align-items:start}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important;margin:0!important;min-width:0}
.woocommerce div.product .product_title{font-family:var(--font-body,system-ui);font-size:clamp(2rem,4.5vw,3.25rem);line-height:1.08}
.woocommerce .price{color:var(--berry,#171717)!important;font-weight:650}
/* The same fine spectrum outline as the approved author buttons. */
body:is(.woocommerce,.woocommerce-page) :is(button.button,a.button,input.button),
body :is(.wc-block-components-button,.wc-block-cart__submit-button){
 border:1.5px solid transparent!important;border-radius:999px!important;
 background:linear-gradient(var(--cream,#fff),var(--cream,#fff)) padding-box,var(--author-spectrum,linear-gradient(#171717,#171717)) border-box!important;
 color:var(--berry,#171717)!important;min-height:48px;padding:.85rem 1.3rem!important;
 font:650 .95rem/1.35 var(--font-body,system-ui)!important;box-shadow:none!important;
 text-align:center;text-decoration:none;white-space:normal;filter:none!important;transition:background .18s ease;
}
body:is(.woocommerce,.woocommerce-page) :is(button.button,a.button,input.button):hover,
body :is(.wc-block-components-button,.wc-block-cart__submit-button):hover{
 background:linear-gradient(var(--shell-surface,#f5f5f5),var(--shell-surface,#f5f5f5)) padding-box,var(--author-spectrum,linear-gradient(#171717,#171717)) border-box!important;
 color:var(--berry,#171717)!important;filter:none!important;transform:none!important;opacity:1;
}
body:is(.woocommerce,.woocommerce-page) :is(button.button,input.button):disabled{opacity:.5;cursor:not-allowed}
body:is(.woocommerce,.woocommerce-page) :is(a,button,input,textarea,select):focus-visible,
.wc-block-components-button:focus-visible{outline:2px solid var(--berry,#171717);outline-offset:4px}
.woocommerce :is(input.input-text,textarea,select),.woocommerce .quantity .qty,
.sebi-dedication-fields :is(input,textarea){box-sizing:border-box;max-width:100%;min-height:46px;border:1px solid var(--shell-line,#dedede);border-radius:8px;background:var(--cream,#fff);color:var(--berry,#171717);padding:.75rem;font:inherit}
.woocommerce :is(input[type=radio],input[type=checkbox]),.sebi-signature-choice input{accent-color:var(--berry,#171717)}
body .woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){border-radius:8px;background:var(--shell-surface,#f5f5f5);color:var(--berry,#171717);box-shadow:none}
body .woocommerce :is(.woocommerce-message,.woocommerce-info)::before{color:var(--berry,#171717)}
body .woocommerce :is(table.shop_table,.cart_totals,.woocommerce-checkout-review-order){border-color:var(--shell-line,#dedede);border-radius:8px;color:var(--berry,#171717)}
body .woocommerce :is(table.shop_table th,table.shop_table td){border-color:var(--shell-line,#dedede)}
body .woocommerce #payment{background:var(--shell-surface,#f5f5f5);border-radius:8px}
body .woocommerce #payment div.payment_box{background:var(--cream,#fff);color:var(--berry,#171717)}
body .woocommerce #payment div.payment_box::before{border-bottom-color:var(--cream,#fff)}
body .woocommerce :is(.cart-collaterals .cart_totals h2,.woocommerce-billing-fields h3){font-size:1.65rem}
.sebi-signature-options{border:0;border-top:1px solid var(--shell-line,#dedede);padding:1.5rem 0 0;margin:1.25rem 0 1rem;min-width:0}
.sebi-signature-options legend{float:left;width:100%;padding:0;margin:0 0 1rem;font-weight:650;font-size:1.1rem;line-height:1.45}
.sebi-signature-options legend+.sebi-signature-choice{clear:both}
.sebi-signature-choice{display:flex;gap:.85rem;align-items:flex-start;min-height:64px;margin:.65rem 0;padding:1rem;border:1px solid var(--shell-line,#dedede);border-radius:10px;cursor:pointer;background:var(--cream,#fff);transition:border-color .18s ease,background .18s ease}
.sebi-signature-choice:has(input:checked){border-color:var(--berry,#171717);background:var(--shell-surface,#f5f5f5)}
.sebi-signature-choice:hover{border-color:var(--berry,#171717)}
.sebi-signature-choice input{flex:none;width:18px;height:18px;margin:.15rem 0 0}
.sebi-signature-choice span{display:grid;gap:.3rem}
.sebi-signature-choice strong{font-size:.92rem;font-weight:650;line-height:1.4}
.sebi-signature-choice small,.sebi-dedication-fields small{color:var(--berry-65,#626262);font-size:.84rem;line-height:1.55}
.sebi-dedication-fields{display:grid;gap:.6rem;margin:1.25rem 0}
.sebi-dedication-fields[hidden]{display:none}
.sebi-dedication-fields label{font-size:.9rem;font-weight:600}
.sebi-dedication-fields input,.sebi-dedication-fields textarea{width:100%}
.sebi-dedication-fields textarea{resize:vertical;min-height:100px}
.sebi-dedication-fields label:not(:first-child){margin-top:.45rem}
.sebi-staging-legal-notice{border:2px solid #a33;border-radius:8px;padding:1rem;background:#fff4f4;color:#651a1a;font-weight:700}
@media(max-width:760px){.woocommerce div.product{grid-template-columns:minmax(0,1fr)}.sebi-shop-page{padding-top:6rem}}
@media(prefers-reduced-motion:reduce){.sebi-signature-choice,body .woocommerce .button{transition:none}}
@media(forced-colors:active){
 body:is(.woocommerce,.woocommerce-page) :is(button.button,a.button,input.button),body .wc-block-components-button{background:ButtonFace!important;border:1px solid ButtonText!important;color:ButtonText!important}
 .sebi-signature-choice:has(input:checked){outline:2px solid Highlight}
}

/* Match the stronger dark-mode selectors in the shared legacy base. */
:root body.woocommerce-page :is(.wc-block-cart,.wc-block-checkout) .wc-block-components-button:not(.is-link){background:linear-gradient(var(--cream,#fff),var(--cream,#fff)) padding-box,var(--author-spectrum,linear-gradient(#171717,#171717)) border-box!important;color:var(--berry,#171717)!important;border:1.5px solid transparent!important}
