/* Optional commerce tools. All colors inherit the active Local Studio design. */
.lc-compare-tray,.lc-compare-dialog,.lc-sticky-product,.lc-product-guides,.lc-experience-shelf,.lc-brands,.lc-card-details{--lce-ink:var(--wp--preset--color--text,#302a24);--lce-accent:var(--wp--preset--color--accent,#a34e2f);--lce-line:var(--wp--preset--color--border,#e5d9ca);--lce-paper:var(--wp--preset--color--surface,#fff);color:var(--lce-ink)}
:is(.lc-compare-tray,.lc-sticky-product,.lc-recent-products)[hidden]{display:none!important}
.lc-card-details{padding:0 18px;margin:0 0 12px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.lc-card-details p{margin:5px 0!important;font-size:inherit!important;line-height:inherit!important}.lc-card-details a{color:inherit;text-decoration:none}.lc-card-details a:hover{color:var(--lce-accent)}.lc-card-brand{font-weight:700}.lc-card-rating{display:flex;align-items:center;gap:6px}.lc-card-rating svg{width:16px;height:16px;color:var(--lce-accent)}.lc-card-muted,.lc-card-sku>span{opacity:.7}.lc-card-stock{font-weight:600}
.lc-card-specs{margin:8px 0;display:grid;gap:5px}.lc-card-specs>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;border-bottom:1px solid var(--lce-line);padding-bottom:5px}.lc-card-specs dt{font-weight:600}.lc-card-specs dd{margin:0}
.lc-card-swatches{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.lc-card-swatch{display:flex;align-items:center;justify-content:center;border:1px solid var(--lce-line);border-radius:6px;min-width:30px;min-height:30px;font-size:12px;padding:2px 7px}.lc-card-swatch:hover{border-color:var(--lce-accent)}.lc-card-swatch.is-visual{padding:3px}.lc-card-swatch.is-visual img,.lc-card-swatch.is-visual span{width:24px;height:24px;display:block;border-radius:3px;object-fit:cover}.lc-card-more-options{align-self:center}
.lc-card-tools:has([data-lc-compare]){flex-direction:column}.lc-card-tools [data-lc-compare][aria-pressed=true]{background:var(--wp--preset--color--accent);color:white}
.lc-product-actions [data-lc-compare]{gap:7px}.lc-product-actions [data-lc-compare] .screen-reader-text{position:static!important;clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important}
:is(body,.lc-experience-preview-surface).lc-card-profile-retail .wc-block-product-template .wc-block-product .lc-card-details{font-size:13px;margin-bottom:8px}
:is(body,.lc-experience-preview-surface).lc-card-profile-showroom .wc-block-product-template .wc-block-product .lc-card-media img{aspect-ratio:4/3;object-fit:cover}
:is(body,.lc-experience-preview-surface).lc-card-profile-showroom .wc-block-product-template .wc-block-product .lc-card-specs{border-top:1px solid var(--wp--preset--color--border);padding-top:8px}
:is(body,.lc-experience-preview-surface).lc-card-profile-supplier .wc-block-product-template .wc-block-product .lc-card-media img{object-fit:contain;background:#fff}
:is(body,.lc-experience-preview-surface).lc-card-profile-supplier .wc-block-product-template .wc-block-product .lc-card-sku{font-family:ui-monospace,monospace;font-size:12px!important}
.lc-experience-shelf{padding-block:50px}.lc-experience-shelf h2,.lc-product-guides h2,.lc-brands h2{font-size:clamp(24px,2.6vw,32px);line-height:1.25;margin:0 0 24px;font-weight:750}.lc-experience-shelf+.lc-experience-shelf{padding-top:0}.lc-shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.lc-shelf-heading h2{margin:0}.lc-shelf-heading button{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:var(--lce-accent);font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}.lc-shelf-heading svg{width:16px;height:16px}
.lc-experience-collection .wc-block-product-template{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0}.lc-experience-collection .wc-block-product{min-width:0;position:relative;background:var(--lce-paper);border:1px solid var(--lce-line);border-radius:14px;overflow:hidden;padding-bottom:20px}
.lc-product-guides{border-top:1px solid var(--lce-line);padding-block:32px;margin-top:32px}.lc-guide-content{max-width:900px;font-size:16px;line-height:1.75}.lc-guide-documents{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lc-guide-documents a{display:flex;align-items:center;gap:12px;padding:16px 20px;border:1px solid var(--lce-line);border-radius:12px;text-decoration:none;background:var(--lce-paper);color:inherit;font-weight:650}.lc-guide-documents a:hover{border-color:var(--lce-accent);color:var(--lce-accent)}.lc-guide-documents svg{width:22px;height:22px;flex:none}.lc-guide-documents svg:last-child{margin-left:auto}.lc-guide-documents small{display:block;font-size:12px;font-weight:500;opacity:.7}
.lc-brands ul{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0}.lc-brands li a{display:flex;align-items:center;gap:12px;border:1px solid var(--lce-line);padding:20px;border-radius:12px;text-decoration:none;color:inherit;font-weight:650}.lc-brands img{width:48px;height:48px;object-fit:contain}.lc-brands svg{width:18px;height:18px;margin-left:auto;flex:none}
.lc-compare-tray{position:fixed;z-index:9990;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:20px;padding:12px 18px;background:var(--lce-paper);border:1px solid var(--lce-line);border-radius:16px;box-shadow:0 8px 30px #0002;max-width:calc(100% - 32px);font-size:14px;white-space:nowrap}.lc-compare-tray button,.lc-sticky-product button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:650;cursor:pointer}.lc-compare-tray [data-lc-compare-clear]{border:0;background:none;color:inherit;padding:8px}.lc-compare-tray svg,.lc-sticky-product button svg{width:18px;height:18px;flex:none}.lc-compare-tray .wp-element-button,.lc-compare-table .wp-element-button,.lc-sticky-product .wp-element-button{background:var(--lce-accent);color:#fff;border:0;border-radius:100px;padding:12px 20px;text-decoration:none}
body.lc-compare-open{overflow:hidden}.lc-compare-dialog{box-sizing:border-box;width:min(1180px,calc(100% - 32px));max-height:85dvh;padding:28px;border:1px solid var(--lce-line);border-radius:18px;background:var(--lce-paper)}.lc-compare-dialog::backdrop{background:#241b16a6}.lc-compare-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.lc-compare-heading h2{font-size:26px;margin:0}.lc-compare-heading button,.lc-compare-table button{background:none;border:0;padding:8px;cursor:pointer;color:inherit}.lc-compare-heading svg,.lc-compare-table button svg{width:20px;height:20px}.lc-compare-scroll{overflow:auto;max-width:100%;overscroll-behavior:contain}.lc-compare-table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.6}.lc-compare-table th,.lc-compare-table td{padding:18px;text-align:left;border-bottom:1px solid var(--lce-line);vertical-align:top;min-width:170px;max-width:260px}.lc-compare-table tbody th{min-width:115px;font-weight:600;background:var(--wp--preset--color--background,#faf7f1)}.lc-compare-table thead th{position:relative}.lc-compare-table thead th>button{position:absolute;right:8px;top:0}.lc-compare-table thead a{color:inherit;text-decoration:none;display:grid;gap:12px}.lc-compare-table img{width:130px;height:130px;object-fit:cover;border-radius:10px}.lc-compare-table .wp-element-button{display:inline-flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap;padding:10px 16px}.lc-compare-table .wp-element-button svg{width:16px;height:16px}
.lc-sticky-product{position:fixed;bottom:0;inset-inline:0;z-index:9980;background:var(--lce-paper);border-top:1px solid var(--lce-line);box-shadow:0 -6px 24px #0001;padding:12px 0 calc(12px + env(safe-area-inset-bottom))}.lc-sticky-inner{display:flex;align-items:center;gap:16px}.lc-sticky-image img{width:54px;height:54px;object-fit:cover;border-radius:8px;display:block}.lc-sticky-copy{min-width:0;margin-right:auto;font-size:15px}.lc-sticky-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:50vw}.lc-sticky-copy [data-lc-sticky-price]{font-size:14px}.lc-sticky-copy [data-lc-sticky-price]>*{margin:0!important}.lc-sticky-copy ins{text-decoration:none}.lc-has-compare-tray .lc-sticky-product{bottom:90px}
:is(.lc-compare-dialog,.lc-compare-tray,.lc-sticky-product,.lc-card-details,.lc-brands,.lc-guide-documents) :is(a,button):focus-visible{outline:3px solid var(--wp--preset--color--accent);outline-offset:3px}
@media(max-width:1024px){.lc-experience-collection .wc-block-product-template{grid-template-columns:repeat(3,minmax(0,1fr))}.lc-brands ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.lc-card-details{padding-inline:12px;font-size:12px}.lc-card-specs>div{display:block}.lc-card-specs dd{margin-top:2px}.lc-card-swatch{font-size:11px}.lc-experience-shelf{padding-block:36px}.lc-experience-collection .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lc-guide-documents{grid-template-columns:1fr}.lc-brands ul{grid-template-columns:repeat(2,minmax(0,1fr))}.lc-brands li a{padding:12px;flex-wrap:wrap}.lc-compare-tray{gap:8px;padding:10px;bottom:8px;font-size:12px}.lc-compare-tray .wp-element-button{font-size:12px;padding:10px}.lc-compare-tray [data-lc-compare-clear] span{display:none}.lc-compare-dialog{padding:18px 14px}.lc-compare-heading h2{font-size:22px}.lc-compare-table th,.lc-compare-table td{min-width:150px;padding:12px}.lc-compare-table tbody th{min-width:85px}.lc-compare-table img{width:110px;height:110px}.lc-sticky-inner{gap:10px}.lc-sticky-image{display:none}.lc-sticky-copy strong{font-size:13px;max-width:45vw}.lc-sticky-product .wp-element-button{font-size:12px;padding:12px 14px}.lc-has-compare-tray .lc-sticky-product{bottom:74px}.lc-shelf-heading{align-items:start}.lc-shelf-heading button{font-size:12px;white-space:nowrap}}
.lc-compare-table tr>:first-child{width:150px;max-width:150px}.lc-compare-table ins{text-decoration:none;font-weight:700;color:var(--lce-accent)}.lc-compare-table del{opacity:.6;margin-right:6px}

@media(max-width:600px){.lc-compare-table tr>:first-child{width:90px;min-width:90px;max-width:90px}.lc-compare-dialog [data-lc-compare-status]{font-size:12px;color:var(--lce-accent);margin:12px 0}.lc-compare-table{table-layout:auto}}

[data-lc-cross-sells][hidden]{display:none!important}

/* Editor-only context ribbon; the preview underneath uses the storefront renderer. */
.lc-experience-editor{min-width:0;border:1px solid var(--wp--preset--color--border,#dfd9ce);border-radius:12px;overflow:hidden;background:var(--wp--preset--color--background,#faf7f0)}
.lc-experience-preview-label{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;background:var(--wp--preset--color--surface,#fff);border-bottom:1px solid var(--wp--preset--color--border,#dfd9ce);font:600 12px/1.5 system-ui,sans-serif;color:var(--wp--preset--color--text,#332c26)}
.lc-experience-preview-label>span{font-weight:500;opacity:.6}.lc-experience-preview-surface{padding:24px;pointer-events:none;user-select:none}.lc-experience-preview-surface .lc-store-width{width:100%;margin:0!important}.lc-experience-preview-surface .lc-experience-shelf{padding:0}.lc-experience-preview-surface .lc-product-guides{margin:0;border:0;padding:0}.lc-experience-preview-surface .lc-brands h2{margin-top:0}.lc-experience-preview-surface .lc-card-tools,.lc-experience-preview-surface .lc-card-view{display:none}.lc-experience-preview-surface .lc-card-purchase{display:none!important}.lc-experience-preview-surface .wc-block-product-template img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block}.lc-experience-preview-surface .wc-block-product-template .wp-block-post-title{font-size:18px!important;line-height:1.3;font-weight:750;padding-inline:16px;margin:16px 0 10px}.lc-experience-preview-surface .wc-block-product-template .wp-block-post-title a{color:inherit;text-decoration:none}.lc-experience-preview-surface .wp-block-woocommerce-product-price{padding-inline:16px;font-size:16px;font-weight:650}.lc-experience-preview-note{margin:0!important;padding:12px 18px;border-top:1px solid var(--wp--preset--color--border,#dfd9ce);font:400 12px/1.6 system-ui,sans-serif!important;color:#625d56;background:var(--wp--preset--color--surface,#fff)}.lc-experience-preview-loading,.lc-editor-empty-preview{padding:30px;text-align:center}.lc-experience-preview-loading{display:flex;align-items:center;justify-content:center;gap:12px}.lc-editor-empty-preview p{font-size:15px}

/* Keep footer actions reachable beneath optional fixed tools. */
body.lc-has-compare-tray{padding-bottom:100px}
body:has(.lc-sticky-product:not([hidden])){padding-bottom:calc(110px + env(safe-area-inset-bottom))}
body.lc-has-compare-tray:has(.lc-sticky-product:not([hidden])){padding-bottom:calc(200px + env(safe-area-inset-bottom))}
