/* Phase 1B. Low-specificity defaults respect Site Editor/global styles. */
:where(.nl-product-v1b *) { box-sizing: border-box; }
:where(.nl-product-v1b) { padding-block: 32px 80px; }
:where(.nl-product-v1b .woocommerce-breadcrumb) { color: var(--nl-muted); font-size: .85rem; margin-bottom: 36px; }
:where(.nl-product-hero) { gap: clamp(32px, 5vw, 80px); margin-bottom: 72px; }
:where(.nl-product-layout--image-focus) { grid-template-columns: 1.2fr 1fr; }
:where(.nl-product-v1b .nl-product-gallery) { min-width: 0; background: var(--nl-surface); border: 1px solid var(--nl-line); border-radius: 16px; padding: clamp(16px, 2vw, 32px); }
:where(.nl-product-v1b .nl-product-gallery img) { object-fit: contain; border-radius: 8px; }
:where(.nl-product-v1b .nl-product-gallery .woocommerce-product-gallery) { float: none; width: 100%; margin: 0; }
:where(.nl-product-v1b .nl-product-gallery .flex-control-thumbs) { margin-top: 20px; gap: 8px; display: flex; }
:where(.nl-product-v1b .nl-product-gallery .flex-control-thumbs li) { width: 25%; }
:where(.nl-product-v1b .nl-product-overview) { min-width: 0; }
:where(.nl-product-v1b .nl-product-overview > *) { margin-top: 0; }
:where(.nl-product-manufacturer) { color: var(--nl-teal-text); font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 650; margin: 0 0 4px; }
:where(.nl-product-sku) { color: var(--nl-muted); font-size: .8rem; margin: 0; }
:where(.nl-product-v1b .nl-product-overview h1) { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.12; margin-block: 20px; overflow-wrap: anywhere; }
:where(.nl-product-v1b .wp-block-woocommerce-product-summary) { font-size: 1.06rem; line-height: 1.7; color: var(--nl-muted); }
:where(.nl-product-highlights) { list-style: none; padding: 0; display: grid; gap: 12px; margin-block: 24px; }
:where(.nl-product-highlights li) { position: relative; padding-left: 32px; }
:where(.nl-product-highlights li)::before { content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: #e1f3f1; }
:where(.nl-marker-check li)::after { content: ''; position: absolute; left: 6px; top: .55em; width: 5px; height: 8px; border: solid var(--nl-teal-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
:where(.nl-marker-dot li)::before { width: 8px; height: 8px; top: .7em; background: var(--nl-teal-text); }
:where(.nl-marker-none li) { padding-left: 0; }
:where(.nl-marker-none li)::before { display: none; }
:where(.nl-purchase-panel) { border: 1px solid var(--nl-line); border-radius: 12px; padding: 24px; margin-block: 28px; }
:where(.nl-product-v1b .nl-product-price) { font-size: 1.7rem; margin-top: 0; margin-bottom: 12px; line-height: 1.4; }
:where(.nl-product-v1b .nl-product-price small) { display: block; font-size: .78rem; font-weight: 400; color: var(--nl-muted); }
:where(.nl-product-v1b .stock) { font-size: .85rem; color: var(--nl-teal-text); }
:where(.nl-product-v1b .out-of-stock) { color: #8b2635; }
:where(.nl-product-v1b form.cart, .nl-product-v1b .nl-purchase-panel form) { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
:where(.nl-product-v1b .variations_form.cart) { display: block; }
:where(.nl-product-v1b .variations_button) { display: flex; gap: 14px; flex-wrap: wrap; }
:where(.nl-product-v1b .nl-purchase-panel form > label) { min-width: 0; max-width: 100%; }
:where(.nl-product-v1b .nl-purchase-panel select) { display: block; width: 100%; min-width: 0; max-width: 100%; }
:where(.nl-product-v1b input.qty, .nl-product-v1b .nl-purchase-panel input[type=number], .nl-product-v1b .nl-purchase-panel select) { min-height: 48px; border: 1px solid #a7b9c5; border-radius: 6px; background: #fff; font: inherit; }
:where(.nl-product-v1b .wp-element-button, .nl-product-v1b .single_add_to_cart_button) { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 7px; border: 1px solid transparent; font: inherit; font-weight: 600; padding: 13px 20px; cursor: pointer; text-decoration: none; background: var(--nl-navy); color: #fff; }
:where(.nl-product-v1b .is-style-outline .wp-element-button) { background: transparent; color: var(--nl-navy); border-color: var(--nl-line); font-size: .85rem; min-height: 44px; padding: 10px 15px; }
:where(.nl-product-jump-links) { gap: 10px; }
:where(.nl-product-v1b .nl-product-detail-sections) { margin-top: 0; }
:where(.nl-product-section) { padding-block: 40px; border-top: 1px solid var(--nl-line); display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.8fr); gap: clamp(24px, 5vw, 100px); }
:where(.nl-product-section h2) { font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 0; line-height: 1.3; }
:where(.nl-product-section > *) { min-width: 0; }
:where(.nl-product-section--without-heading) { grid-template-columns: minmax(0, 1fr); }
:where(.nl-product-section h2) { overflow-wrap: anywhere; }
:where(.nl-product-section-content > :first-child, .nl-product-description .wp-block-post-content > :first-child) { margin-top: 0; }
:where(.nl-product-section-content > :last-child) { margin-bottom: 0; }
:where(.nl-product-section ul:not(.nl-related-products,.nl-download-list)) { padding-left: 20px; }
:where(.nl-product-section li) { margin-block: 8px; }
:where(.nl-product-v1b .woocommerce-product-attributes) { width: 100%; border-collapse: collapse; font-size: .95rem; table-layout: fixed; }
:where(.nl-product-v1b .woocommerce-product-attributes th, .nl-product-v1b .woocommerce-product-attributes td) { padding: 16px; text-align: left; border: 0; vertical-align: top; overflow-wrap: anywhere; }
:where(.nl-product-v1b .woocommerce-product-attributes th) { width: 40%; font-weight: 600; }
:where(.nl-product-v1b .woocommerce-product-attributes tr:nth-child(odd)) { background: var(--nl-surface); }
:where(.nl-product-v1b .woocommerce-product-attributes p) { margin: 0; }
:where(.nl-download-list) { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
:where(.nl-download-list a) { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--nl-line); border-radius: 8px; padding: 18px; min-height: 48px; text-decoration: none; color: var(--nl-navy); }
:where(.nl-download-format) { background: var(--nl-surface); padding: 3px 9px; border-radius: 4px; font-size: .75rem; font-weight: 600; }
:where(.nl-related-products) { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
:where(.nl-related-card) { border: 1px solid var(--nl-line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; align-items: start; min-width: 0; }
:where(.nl-related-card img) { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: contain; background: var(--nl-surface); border-radius: 6px; }
:where(.nl-related-card h3) { font-size: 1.05rem; margin-bottom: 8px; }
:where(.nl-related-card h3 a) { color: var(--nl-navy); text-decoration: none; }
:where(.nl-related-card p) { font-size: .9rem; }
:where(.nl-related-link) { margin-top: auto; font-size: .9rem; font-weight: 600; min-height: 44px; display: flex; align-items: center; text-underline-offset: 4px; }
:where(.nl-quantity-tiers) { border-collapse: collapse; width: 100%; margin-top: 20px; font-size: .9rem; }
:where(.nl-quantity-tiers caption) { text-align: left; font-weight: 600; margin-bottom: 8px; }
:where(.nl-quantity-tiers th, .nl-quantity-tiers td) { text-align: left; padding: 8px; border-bottom: 1px solid var(--nl-line); }
:where(.nl-tier-note) { color: var(--nl-muted); font-size: .78rem; }
:where(.nl-product-consultation) { border-radius: 16px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 40px; margin-top: 48px; }
:where(.nl-product-consultation h2) { font-size: clamp(1.6rem, 2.5vw, 2.25rem); }
:where(.nl-product-consultation .nl-contact-phone) { color: #fff; }
.nl-product-consultation :where(.nl-contact-unconfigured,.nl-contact-admin-hint a) { color: #fff; }
.nl-product-v1b .woocommerce-product-attributes th { width: 40%; font-style: normal; }
.nl-product-v1b .nl-download-list a, .nl-product-v1b .nl-related-card h3 a { color: var(--nl-navy); }
.nl-product-v1b .nl-related-link { color: var(--nl-teal-text); }
.wp-block-notfalllabor-product-section.has-text-color :where(h2,h3,a),
.wp-block-notfalllabor-product-identity.has-text-color :where(p),
.wp-block-notfalllabor-quantity-tiers.has-text-color :where(p) { color: inherit; }
.wp-block-notfalllabor-product-section[style*="font-size"] :where(h2),
.wp-block-notfalllabor-product-section[class*="-font-size"] :where(h2) { font-size: inherit; }
.wp-block-notfalllabor-product-section[style*="font-size"] :where(h3,table,p),
.wp-block-notfalllabor-product-section[class*="-font-size"] :where(h3,table,p),
.wp-block-notfalllabor-product-identity[style*="font-size"] :where(p),
.wp-block-notfalllabor-product-identity[class*="-font-size"] :where(p),
.wp-block-notfalllabor-quantity-tiers[style*="font-size"] :where(table,p),
.wp-block-notfalllabor-quantity-tiers[class*="-font-size"] :where(table,p) { font-size: inherit; }
.nl-product-v1b .wp-block-notfalllabor-product-section.has-text-color :where(a) { color: inherit; }
:where(.nl-product-consultation p) { margin-block: 12px; }
:where(.nl-product-v1b a, .nl-product-v1b button, .nl-product-v1b input, .nl-product-v1b select):focus-visible { outline: 3px solid var(--nl-teal-text); outline-offset: 4px; }
:where(.wp-block-notfalllabor-product-section:empty,.wp-block-notfalllabor-product-highlights:empty,.wp-block-notfalllabor-quantity-tiers:empty) { display: none; }
@media (max-width: 900px) {
  :where(.nl-product-v1b .nl-product-hero) { grid-template-columns: 1fr; }
  :where(.nl-product-v1b .nl-product-gallery) { max-width: 650px; width: 100%; margin-inline: auto; }
  :where(.nl-product-section) { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 32px; }
  :where(.nl-product-consultation) { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 520px) {
  :where(.nl-product-v1b) { padding-block: 20px 48px; }
  :where(.nl-product-hero) { margin-bottom: 44px; }
  :where(.nl-purchase-panel) { padding: 20px; }
  :where(.nl-product-v1b .single_add_to_cart_button, .nl-product-v1b .nl-purchase-panel button) { width: 100%; }
  :where(.nl-product-v1b .nl-product-overview h1) { font-size: 2.1rem; }
  :where(.nl-related-products) { grid-template-columns: 1fr; }
}
