/* Scoped optional add-ons, preserving the existing product-page design. */
#product-form .campaign-addons{min-width:0;margin:24px 0 16px;padding:0;border:0}
#product-form .campaign-addons legend{padding:0;font-size:22px;font-weight:750;letter-spacing:-.5px}
#product-form .addons-hint{margin:8px 0 4px;font-size:14px;line-height:1.55;color:#48444f}
#product-form label.campaign-addon{display:grid!important;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;padding:18px 0;margin:0;border-bottom:1px solid #d7d5de;font-size:16px!important;line-height:1.55;cursor:pointer}
#product-form .campaign-addon input[type="checkbox"]{width:20px;height:20px;min-width:20px;margin:3px 0 0;padding:0;accent-color:#5b16a4;cursor:pointer}
#product-form .addon-info{display:block;min-width:0}
#product-form .addon-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-weight:750;line-height:1.4}
#product-form .addon-price{white-space:nowrap;color:#5b16a4}
#product-form .addon-description{display:block;margin-top:6px;color:#3f3a46;font-weight:400;line-height:1.6}
#product-form .campaign-addon:has(input:checked){background:#f8f5fe}
#product-form .campaign-addon:has(input:focus-visible){outline:2px solid #692db6;outline-offset:3px}
#product-form .campaign-addon:has(input:disabled){opacity:.6;cursor:not-allowed}
#product-form .addons-summary{margin:16px 0 20px;padding:16px 18px;border:1px solid #d0cdda;border-radius:12px;background:#f8f5fe}
#product-form .addons-summary p{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 8px;font-size:15px;line-height:1.5;color:#282f25}
#product-form .addons-summary p:last-child{margin:12px 0 0;padding-top:12px;border-top:1px solid #cecad8;font-size:19px;font-weight:750}
#product-form .addons-summary small{display:block;font-size:13px;line-height:1.5;color:#48404b}
#product-form textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:88px;padding:12px;border:1px solid #aaa0ad;border-radius:8px;background:white;color:#282f25;font:inherit;font-weight:400;line-height:1.5;resize:vertical}
#product-form .addon-link-label{display:block;margin:20px 0;font-size:16px;line-height:1.5}
#product-form .addon-link-label>span{display:block;margin-bottom:6px}
#product-form .link-tag{color:#5b16a4;font-size:14px;font-weight:700}
#product-form .addon-link-label small{display:block;margin-top:6px;color:#48404b;font-size:14px}
@media(max-width:540px){
 #product-form label.campaign-addon{gap:10px;padding:16px 0}
 #product-form .campaign-addons legend{font-size:21px}
}
/* WooCommerce form: hidden link fields, the visible "Quantity" label and the variation button wrapper. */
#product-form .addon-link-label[hidden]{display:none}
#product-form .product-order-row .quantity{display:flex;flex-direction:column;gap:9px;width:95px;max-width:none;flex-shrink:0;font-size:16px;font-weight:600}
#product-form .product-order-row .quantity .screen-reader-text{position:static!important;width:auto;height:auto;margin:0;clip:auto;clip-path:none;overflow:visible}
#product-form .woocommerce-variation-add-to-cart{display:grid;gap:20px}
@media(max-width:650px){#product-form .product-order-row .quantity{width:80px}}
/* The description is its own section, as in the preview; the theme bridge's old 40px/1100px box rule does not apply to it. */
section.original-product-description{margin-top:0;max-width:none}
/* The preview's quantity field and Add to cart button, over the theme bridge's generic .detail-copy rules. */
#product-form .product-order-row .quantity input{padding:13px 15px;border-color:#b4b0c2}
#product-form .product-order-row .single_add_to_cart_button{padding:16px 25px;font-size:16px;font-weight:600;line-height:1.4}
/* WooCommerce's option table, laid out as the preview's single option label with its select below. */
#product-form table.variations,#product-form table.variations tbody,#product-form table.variations th,#product-form table.variations td{display:block;padding:0;margin:0;border:0}
#product-form table.variations tr{display:flex;flex-direction:column;gap:9px}
#product-form table.variations th label{font-size:16px;font-weight:600}
#product-form table.variations select{display:block;font-size:16px;padding:13px 15px;border-color:#b4b0c2}
#product-form .reset_variations{display:none!important}
#product-form .single_variation_wrap{display:block}
/* The preview has no empty notice box above the product and keeps a 20px status gap under the order row. */
.woocommerce-notices-wrapper:empty{display:none}
#product-form .product-order-row{margin-bottom:20px}
