.woocommerce ul.products li.product { position: relative; }
.sc-editorial-nominal { position: absolute; top: 22px; right: 22px; z-index: 1; padding: 6px 10px; border-radius: 8px; background: var(--oc-primary, #0d60fe); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.4; }
.sc-editorial-details { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.sc-editorial-details > span { min-width: 115px; padding: 10px 14px; border: 1px solid var(--oc-border, #dce5f2); border-radius: 10px; background: var(--oc-surface-alt, #f4f7fb); }
.sc-editorial-details small, .sc-editorial-details strong { display: block; }
.sc-editorial-details small { color: var(--oc-text-muted, #64748b); font-size: 12px; margin-bottom: 3px; }
.sc-editorial-details strong { color: var(--oc-text, #101828); font-size: 15px; }

/* Compact, readable description typography for the prepared product examples. */
.sc-editorial-product .woocommerce-Tabs-panel--description { font-size: 14px; line-height: 1.7; }
.sc-editorial-product .woocommerce-Tabs-panel--description h2 { font-size: 20px; line-height: 1.35; margin-bottom: 14px; }
.sc-editorial-product .woocommerce-Tabs-panel--description h3 { font-size: 18px; line-height: 1.4; margin: 22px 0 10px; }
.sc-editorial-product .woocommerce-Tabs-panel--description p,
.sc-editorial-product .woocommerce-Tabs-panel--description li { font-size: 14px; line-height: 1.7; }
@media (max-width: 600px) {
    .sc-editorial-product .woocommerce-Tabs-panel--description h2 { font-size: 18px; }
    .sc-editorial-product .woocommerce-Tabs-panel--description h3 { font-size: 16px; }
}

.sc-nominal-picker { margin: 18px 0; }
.sc-nominal-picker label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--oc-text); }
.sc-nominal-controls { display: flex; gap: 10px; align-items: center; }
.sc-nominal-controls select { width: 100%; max-width: 320px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--oc-border); border-radius: 10px; background: #fff; font: inherit; }
.sc-nominal-picker[data-enhanced] button { display: none; }

/* Face-value range uses the same light badge treatment as single-value cards. */
.sc-nominal-group .sc-editorial-nominal { background: #f0f3f8; color: var(--oc-text, #0a1738); padding: 6px 10px; border-radius: 7px; font-weight: 700; white-space: nowrap; }

.sc-nominal-controls { min-width: 0; }
.sc-nominal-controls select { min-width: 0; }

/* Align the add-to-cart message with its action without moving other notices. */
.woocommerce-message:has(.sc-cart-notice-text) { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; position: relative; }
.woocommerce-message .sc-cart-notice-text { flex: 1 1 240px; line-height: 1.5; }
.woocommerce-message:has(.sc-cart-notice-text)::before { top: 50%; transform: translateY(-50%); }
.woocommerce-message:has(.sc-cart-notice-text)::after { display: none; content: none; }
.woocommerce-message:has(.sc-cart-notice-text) a.button { flex: 0 0 auto; float: none; margin: 0 0 0 auto; }
@media (max-width: 600px) {
    .woocommerce-message:has(.sc-cart-notice-text) { padding-left: 48px !important; }
    .woocommerce-message:has(.sc-cart-notice-text)::before { top: 25px; transform: none; }
    .woocommerce-message:has(.sc-cart-notice-text) a.button { margin-left: 0; }
}
