/* Product reference refinement. Theme tokens and live commerce remain authoritative. */
body.lo-product-page .lo-product-heading h1 { font-size:clamp(28px,2.5vw,38px); }
body.lo-product-page .woocommerce-product-gallery__image img { object-fit:contain; }
body.lo-product-page .flex-control-thumbs img { object-fit:contain; background:var(--lo-color-paper); }
body.lo-product-page .single_variation_wrap { padding:16px 0; background:transparent; border:0; border-radius:0; }
body.lo-product-page .lo-product-cutting .button { background:var(--lo-color-paper); color:var(--d1-green); border-width:2px; }
body.lo-product-page .lo-product-cutting .button:hover { background:var(--d1-green); color:var(--lo-color-paper); }
body.lo-product-page .lo-variation-table { padding:20px; border:1px solid var(--d1-border); background:var(--lo-color-paper); border-radius:8px; }
body.lo-product-page .lo-variation-table h2 { font-size:24px; margin-bottom:16px; }
body.lo-product-page .woocommerce-tabs { padding:0; border:0; background:transparent; }
body.lo-product-page .woocommerce-tabs ul.tabs { flex-wrap:nowrap; gap:8px; padding:4px 0 0; margin:0 0 20px; overflow-x:auto; border-bottom:1px solid var(--d1-border); scrollbar-width:thin; }
body.lo-product-page .woocommerce-tabs ul.tabs li { flex:0 0 auto; border:0; border-radius:8px 8px 0 0; background:#efede7; }
body.lo-product-page .woocommerce-tabs ul.tabs li a { display:flex; align-items:center; gap:10px; min-height:48px; padding:12px 18px; font-size:14px; color:var(--d1-ink); white-space:nowrap; }
body.lo-product-page .woocommerce-tabs ul.tabs li.active { background:var(--d1-green); border:0; }
body.lo-product-page .woocommerce-tabs ul.tabs li.active a { color:white; }
.lo-product-tab-icon { width:22px; height:22px; flex:0 0 22px; }
body.lo-product-page .woocommerce-tabs .panel:not(#tab-description) { padding:24px; background:var(--lo-color-paper); border:1px solid var(--d1-border); border-radius:8px; }
.lo-product-description-layout { padding:20px; background:var(--lo-color-paper); border:1px solid var(--d1-border); border-radius:8px; }
.lo-product-description-layout > * { min-width:0; }
body.lo-product-page .lo-description { line-height:1.6; }
body.lo-product-page .lo-description :is(p,ul,ol) { max-width:none; margin-bottom:16px; }
body.lo-product-page .lo-description > ul { list-style:none; padding-left:0; }
body.lo-product-page .lo-description > ul > li { position:relative; padding-left:28px; margin:8px 0; }
body.lo-product-page .lo-description > ul > li::before { content:'✓'; position:absolute; left:0; top:4px; display:grid; place-items:center; width:18px; height:18px; border-radius:50%; color:white; background:var(--d1-orange); font:700 12px/1 system-ui; }
body.lo-product-page .lo-description h3 { margin-top:24px; font-size:22px; font-weight:700; }
body.lo-product-page .lo-description .gallery-item { border:0; border-radius:4px; background:transparent; }
body.lo-product-page .lo-description .gallery-icon { border-radius:4px; overflow:hidden; }
body.lo-product-page .lo-description .gallery-caption { padding:8px 0 0; font-size:14px; }
.lo-product-brief { background:var(--d1-warm); border-radius:8px; padding:20px; margin-top:24px; }
.lo-product-brief h2 { font-size:22px; margin:0; }
.lo-product-brief > p { font-size:14px; color:var(--d1-muted); margin:4px 0 16px; }
.lo-product-brief dl { margin:0; }
.lo-product-brief dl > div { position:relative; display:grid; grid-template-columns:44px minmax(0,1fr); column-gap:12px; padding:16px 0; border-top:1px solid var(--d1-border); }
.lo-product-brief-icon { grid-column:1; grid-row:1 / 3; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#e5e9df; color:var(--d1-green); }
.lo-product-brief dt { grid-column:2; font-size:13px; color:var(--d1-muted); }
.lo-product-brief dd { grid-column:2; margin:2px 0 0; font-size:16px; line-height:1.45; font-weight:600; overflow-wrap:anywhere; }
.lo-editorial-link { display:inline-flex; align-items:center; gap:12px; min-height:44px; color:var(--d1-green); font-weight:600; }
.lo-product-documents { list-style:none; padding:0; display:grid; gap:12px; }
.lo-product-documents a { display:flex; align-items:center; gap:12px; min-height:48px; padding:16px; border:1px solid var(--d1-border); color:var(--d1-green); border-radius:4px; }
.lo-product-documents svg { flex:0 0 24px; }
.lo-product-project { display:grid; gap:24px; padding:24px; border:1px solid var(--d1-border); border-radius:8px; background:#eef0e8; }
.lo-product-project-heading > p { color:#59642b; font-size:12px; text-transform:uppercase; letter-spacing:.06em; margin:0 0 6px; }
.lo-product-project-heading h2 { margin:0 0 8px; color:var(--d1-green); font-size:24px; line-height:1.2; }
.lo-product-project-heading > span { font-size:14px; color:var(--d1-muted); }
.lo-product-project-item { display:flex; gap:12px; color:var(--d1-ink); text-decoration:none; min-width:0; }
.lo-product-project-item > span { display:grid; place-items:center; flex:0 0 44px; height:44px; border-radius:50%; background:#f9e8c9; }
.lo-product-project-item strong { font-size:15px; }
.lo-product-project-item p { margin:4px 0 0; font-size:14px; line-height:1.5; color:var(--d1-muted); }
.lo-product-recommendations { min-width:0; }
.lo-product-recommendations > header { display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between; align-items:center; margin-bottom:16px; }
.lo-product-recommendations h2 { font-size:24px; margin:0; }
.lo-product-recommendations > header > a { color:var(--d1-orange); display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:14px; }
.lo-product-recommendations > header svg { width:18px; height:18px; }
.lo-product-recommendation-grid { list-style:none; margin:0; padding:0 0 8px; display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 12px)/2); gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; }
.lo-product-recommendation-grid > li { scroll-snap-align:start; padding:12px; border:1px solid var(--d1-border); border-radius:6px; background:var(--lo-color-paper); min-width:0; }
.lo-product-recommendation-media { display:grid; place-items:center; min-width:0; background:var(--lo-color-paper); }
.lo-product-recommendation-media img { width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; }
.lo-product-recommendation-grid h3 { font-size:16px; line-height:1.3; margin:12px 0 6px; overflow-wrap:anywhere; }
.lo-product-recommendation-grid h3 a { color:var(--d1-green); text-decoration:none; }
body.lo-product-page .lo-product-recommendation-grid .price { color:var(--d1-muted); font-size:14px; font-weight:400; margin:0 0 12px; }
.lo-product-recommendation-cta { display:inline-flex; align-items:center; gap:6px; justify-content:center; min-height:44px; padding:8px 12px; background:var(--d1-green); color:white; border-radius:4px; font-size:14px; font-weight:600; text-decoration:none; }
.lo-product-recommendation-cta:hover { background:var(--d1-ink); color:white; }
.lo-product-recommendation-cta svg { width:18px; height:18px; }
.lo-product-support { display:grid; grid-template-columns:1fr 1fr; gap:16px; border-top:1px solid var(--d1-border); padding-top:24px; }
.lo-product-support a { display:flex; align-items:center; gap:10px; min-height:44px; font-size:14px; color:var(--d1-green); text-decoration:none; }
.lo-product-support svg { flex:0 0 24px; }
.lo-product-sticky-bar { display:none; }
@media (min-width:768px) {
 .lo-product-project { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .lo-product-project-heading { grid-column:1 / -1; }
 .lo-product-recommendation-grid { grid-auto-flow:row; grid-auto-columns:auto; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible; }
 .lo-product-support { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .lo-product-support a + a { border-left:1px solid var(--d1-border); padding-left:20px; }
}
@media (min-width:1024px) {
 .lo-product-description-layout { padding:24px; }
 .lo-product-description-layout--brief { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:28px; align-items:start; }
 .lo-product-brief { margin:0; }
 .lo-product-brief h2 { font-size:20px; }
 .lo-product-brief dl > div { padding-block:14px; }
 body.lo-product-page .lo-description > h2:first-child { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); }
 body.lo-product-page .lo-description > h2:first-child + h3 { margin-top:0; font-size:28px; }
 .lo-product-project { grid-template-columns:1.35fr repeat(3,minmax(0,1fr)); align-items:center; }
 .lo-product-project-heading { grid-column:auto; }
 .lo-product-project-item { padding-left:16px; border-left:1px solid var(--d1-border); }
 .lo-product-recommendations--related .lo-product-recommendation-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .lo-product-recommendation-grid > li { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:12px; align-items:center; }
 .lo-product-recommendation-grid h3 { font-size:15px; margin-top:0; }
 .lo-product-recommendation-grid .lo-product-recommendation-media img { aspect-ratio:1; }
}
@media (max-width:767px) {
 body.lo-product-page .lo-variation-table { padding:0; border:0; background:transparent; }
 .lo-product-description-layout { padding:16px; }
 .lo-product-project { padding:20px 16px; gap:20px; }
 .lo-product-sticky-bar.is-visible { position:fixed; z-index:990; display:flex; align-items:center; gap:12px; justify-content:space-between; left:0; right:0; bottom:0; min-height:72px; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); border-top:1px solid var(--d1-border); background:var(--lo-color-paper); }
 .lo-product-sticky-price { min-width:0; font-size:16px; font-weight:700; color:var(--d1-orange); }
 .lo-product-sticky-price small { display:block; font-size:12px; font-weight:400; color:var(--d1-muted); }
 .lo-product-sticky-bar > a { display:inline-flex; align-items:center; justify-content:center; text-align:center; flex:0 0 128px; min-height:48px; border-radius:4px; padding:8px 12px; color:white; background:var(--d1-orange); font-size:14px; font-weight:600; text-decoration:none; }
 body:has(.lo-product-sticky-bar.is-visible) { padding-bottom:calc(84px + env(safe-area-inset-bottom)); }
 body:has(.lo-product-sticky-bar.is-visible) .lo-d1-bottom { display:none; }
 body.lo-d1-menu-open .lo-product-sticky-bar,
 body:has(dialog[open],.pswp--open,.xoo-wl-active) .lo-product-sticky-bar { display:none; }
}
body.lo-product-page .lo-product-heading .lo-product-format { color:var(--d1-green); font-size:20px; line-height:1.35; margin:-4px 0 12px; }
body.lo-product-page .lo-description .lo-description-gallery.gallery-columns-2:not(.lo-description-gallery--single) { grid-template-columns:repeat(2,minmax(0,1fr)); }
#lo-product-purchase { scroll-margin-top:140px; }
/* Outrank Woo's native product selectors inside these owned components only. */
body.lo-product-page.woocommerce div.product .woocommerce-tabs ul.tabs li { border:0; border-radius:8px 8px 0 0; background:#efede7; }
body.lo-product-page.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background:var(--d1-green); border:0; }
body.lo-product-page.woocommerce div.product .woocommerce-tabs ul.tabs li a { color:var(--d1-ink); font-size:14px; padding:12px 18px; }
body.lo-product-page.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color:white; }
body.lo-product-page.woocommerce div.product .lo-product-recommendation-grid p.price { display:block; color:var(--d1-muted); font-size:14px; font-weight:400; line-height:1.5; }
body.lo-product-page.woocommerce div.product .lo-variation-table__cutting-link.button { background:transparent; color:var(--d1-green); padding:8px 0; font-weight:600; }
@media (max-width:1023px) {
 .lo-product-description-layout--brief { padding:0; border:0; background:transparent; }
 .lo-product-description-layout--brief > .lo-description { padding:16px; border:1px solid var(--d1-border); border-radius:8px; background:var(--lo-color-paper); }
 .lo-product-brief { margin-top:16px; }
}
@media (min-width:390px) and (max-width:1023px) {
 .lo-product-brief dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:16px; }
 .lo-product-brief dl > div:first-child,
 .lo-product-brief dl > div:last-child { grid-column:1 / -1; }
 .lo-product-brief dl > div { grid-template-columns:32px minmax(0,1fr); column-gap:8px; }
 .lo-product-brief-icon { width:32px; height:32px; }
 .lo-product-brief-icon svg { width:22px; height:22px; }
}
.lo-product-variants-toggle { margin-top:12px; min-height:44px; padding:10px 0; border:0; background:transparent; color:var(--d1-orange); font-family:inherit; font-size:15px; font-weight:600; line-height:1.4; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
/* Keep every product tab fully visible on narrow screens. */
@media (max-width:767px) {
 body.lo-product-page.woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap:wrap; gap:6px; overflow:visible; }
 body.lo-product-page.woocommerce div.product .woocommerce-tabs ul.tabs li { flex:1 1 90px; min-width:0; margin:0; padding:0; }
 body.lo-product-page.woocommerce div.product .woocommerce-tabs ul.tabs li a { display:flex; align-items:center; flex-direction:column; justify-content:center; gap:6px; height:100%; min-height:72px; padding:10px 6px; white-space:normal; overflow-wrap:anywhere; text-align:center; line-height:1.3; }
}
