/* Original native merchandising. Photos remain editable Image blocks, never CSS URLs. */
:root,body { --gs-brand-green:#97A500 !important; --gs-accent:var(--gs-brand-green) !important; --gs-price:var(--gs-brand-green) !important; --wp--preset--color--brand-olive:var(--gs-brand-green) !important; --gs-blue:#0093DA; }
.gs-restored-home { max-width:var(--wp--style--global--wide-size,1280px); width:100%; margin-inline:auto !important; box-sizing:border-box; }
.gs-restored-home > .gs-visual-section { margin-block:clamp(2.5rem,5vw,4.5rem); }
.gs-restored-home h2 { font-size:clamp(1.65rem,3vw,2.25rem); font-weight:600; line-height:1.15; margin-block:0 1rem; }
.gs-restored-home .gs-section-heading { border-top:3px solid var(--gs-blue); padding-top:1rem; }
.gs-restored-home .wp-block-buttons { gap:.75rem; }
.gs-visual-hero { display:grid; isolation:isolate; margin-top:0 !important; background:#202820; }
.gs-visual-hero > .wp-block-image,.gs-visual-hero > .gs-hero-copy { grid-area:1/1; margin:0; min-width:0; }
.gs-visual-hero > .wp-block-image img { display:block; width:100%; height:clamp(420px,43vw,580px); object-fit:cover; }
.gs-visual-hero::before { content:""; grid-area:1/1; z-index:1; background:linear-gradient(90deg,#10190de6 0%,#10190dc7 40%,#10190d20 100%); pointer-events:none; }
.gs-visual-hero > .gs-hero-copy { align-self:center; position:relative; z-index:2; padding:clamp(1.5rem,5vw,4rem); width:min(43rem,75%); box-sizing:border-box; color:white; }
.gs-hero-copy h1 { color:white; font-size:clamp(2rem,4vw,3.5rem); font-weight:600; line-height:1.05; letter-spacing:-.025em; margin-block:.5rem 1rem; }
.gs-hero-copy p { color:white; max-width:40ch; margin-block:.75rem 1.25rem; }
.gs-home-highlights { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.gs-home-highlight { background:#f6f6f3; min-width:0; padding:1rem 1rem 1.25rem; }
.gs-home-highlight figure { margin:0; }
.gs-home-highlight img { display:block; width:100%; aspect-ratio:8/5; object-fit:contain; }
.gs-home-highlight h3 { font-size:1.375rem; margin-block:.75rem .5rem; }
.gs-home-highlight h3 a { text-decoration:none; }
.gs-home-highlight p { font-size:.9375rem; margin-block:0; }
.gs-gravels { padding:clamp(1rem,3vw,2rem); background:#f6f6f3; border-top:4px solid var(--gs-accent); }
.gs-diy-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:2rem; align-items:center; }
.gs-diy-intro figure { margin:0; }
.gs-diy-intro img { display:block; width:100%; height:auto; max-height:360px; object-fit:cover; }
.gs-diy-collections { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; margin-top:2rem; }
.gs-diy-collections > .wp-block-group { min-width:0; }
.gs-diy-collections h3 { font-size:1.25rem; margin-block:0 1rem; }
.gs-diy-collections .gs-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
.gs-delivery-overview { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:2rem; background:#f6f6f3; }
.gs-delivery-overview > figure { margin:0; }
.gs-delivery-overview img { display:block; width:100%; height:320px; object-fit:cover; }
.gs-delivery-copy { padding:1.5rem; }
.gs-yard { display:grid; grid-template-columns:1.8fr 1fr; gap:2rem; align-items:center; }
.gs-yard > figure { margin:0; }
.gs-yard img { display:block; width:100%; height:300px; object-fit:cover; }
.gs-yard-copy p { margin-block:.5rem; }
.gs-logo-section { border-block:1px solid #d6dace; padding-block:1.5rem; }
.gs-logo-section h2 { font-size:1.25rem; }
.gs-logo-row { display:flex; flex-wrap:nowrap !important; gap:1.5rem; overflow-x:auto; padding-block:1rem; max-width:100%; }
.gs-logo-row > figure { flex:0 0 112px; margin:0; }
.gs-logo-row img { display:block; width:112px; height:72px; object-fit:contain; }
.gs-trade-pathways { background:#f6f6f3; border-inline-start:4px solid var(--gs-accent); padding:clamp(1.25rem,3vw,2rem); }
.gs-category-banner { display:grid; isolation:isolate; overflow:hidden; background:#f2f3ec; }
.gs-category-banner > figure,.gs-category-banner > h1 { grid-area:1/1; margin:0; }
.gs-category-banner figure img { display:block; width:100%; height:240px; object-fit:cover; }
.gs-category-banner:not(.gs-category-banner-missing)::before { content:""; grid-area:1/1; background:#10190d9e; z-index:1; }
.gs-category-banner h1 { color:white; z-index:2; align-self:center; justify-self:center; padding:1.5rem; font-size:clamp(1.75rem,3.6vw,3rem); text-align:center; }
.gs-category-banner-missing h1 { color:#202820; padding:1.5rem; }
.gs-catalog .gs-category-banner { margin-block:1rem 1.5rem; }
.gs-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem 1.25rem; }
.gs-product-grid > li { display:grid !important; grid-template-columns:minmax(0,1fr); grid-template-rows:auto; grid-auto-rows:max-content; align-content:start; align-self:start; min-width:0; padding:0; border:0; background:white; }
.gs-product-grid > li:hover { box-shadow:0 5px 22px #00000012; }
.gs-product-grid > li > .wp-block-woocommerce-product-image,.gs-product-grid >li >.wc-block-components-product-image { grid-area:1/1; position:relative; background:white; margin:0; }
.gs-product-grid .wc-block-components-product-image { position:relative; overflow:hidden; background:white; padding-bottom:0; }
.gs-product-grid .wc-block-components-product-image img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover !important; padding:0; box-sizing:border-box; }
.gs-product-grid > li > .wp-block-woocommerce-product-button { grid-area:1/1; align-self:end; z-index:3; margin:0 !important; width:100%; }
.gs-product-grid .wp-block-woocommerce-product-button .wp-block-button__link { width:100%; box-sizing:border-box; min-height:48px; border-radius:0; background:#97A500; color:#202820; font-size:.875rem; padding:.75rem .5rem; }
.gs-product-grid .wp-block-post-title { text-align:center; font-size:.9375rem; line-height:1.35; font-weight:500; padding-inline:.5rem; margin:.5rem 0 .25rem !important; min-height:2.6em; }
.gs-card-categories { text-align:center; font-size:.75rem; line-height:1.4; color:#53604e; padding-inline:.5rem; margin:0 0 .35rem; }
.gs-card-categories a { color:inherit; text-decoration:none; }
.gs-product-grid .wp-block-woocommerce-product-price { text-align:center; color:var(--gs-amount-color,#505050); font-weight:700; font-size:.9375rem; margin:.25rem 0 .5rem; }
.gs-product-grid .wp-block-woocommerce-product-stock-indicator { text-align:center; font-size:.8125rem; }
.gs-card-secondary { position:absolute; inset:0; display:block; opacity:0; pointer-events:none; background:white; transition:opacity .25s ease; }
.gs-product-grid .gs-card-secondary img { height:100%; aspect-ratio:auto; transform:none !important; }
:is(.gs-product-grid,.wc-block-product-template) .wc-block-components-product-image .gs-card-view { position:absolute; inset:.5rem .5rem auto auto; width:44px; height:44px; display:grid; place-items:center; z-index:4; background:white; color:#202820; border:1px solid #d6dace; box-sizing:border-box; }
.gs-card-view::before { content:""; width:20px; height:20px; background:currentColor; mask:url(../icons/search.svg) center/contain no-repeat; }
:is(.gs-product-grid,.wc-block-product-template) .wc-block-components-product-image .gs-card-view:hover { color:#202820; background:#97A500; }
.gs-product-grid >li:focus-within .gs-card-secondary.is-loaded { opacity:1; }
.gs-product-grid img { transform:none !important; }
@media(hover:hover) and (pointer:fine) {
 .gs-product-grid >li >.wp-block-woocommerce-product-button,:is(.gs-product-grid,.wc-block-product-template) .gs-card-view { opacity:0; transition:opacity .2s ease; }
 .gs-product-grid >li:hover >.wp-block-woocommerce-product-button,.gs-product-grid >li:focus-within >.wp-block-woocommerce-product-button,:is(.gs-product-grid,.wc-block-product-template) >li:hover .gs-card-view,:is(.gs-product-grid,.wc-block-product-template) >li:focus-within .gs-card-view { opacity:1; }
 .gs-product-grid >li:hover .gs-card-secondary.is-loaded { opacity:1; }
}
@media(max-width:767px) {
 .gs-visual-hero > .gs-hero-copy { width:100%; padding:1.5rem; }
 .gs-visual-hero::before { background:#10190dbb; }
 .gs-home-highlights { gap:.75rem; }
 .gs-home-highlight { padding:.5rem; }
 .gs-home-highlight h3 { font-size:1rem; }
 .gs-home-highlight p { display:none; }
 .gs-diy-intro,.gs-diy-collections,.gs-delivery-overview,.gs-yard { grid-template-columns:1fr; gap:1.25rem; }
 .gs-delivery-overview img { height:240px; }
 .gs-yard img { height:200px; }
 .gs-yard-copy { padding:0 1rem 1rem; }
 .gs-category-banner figure img { height:170px; }
 .gs-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem .75rem; }
 .gs-product-grid .wc-block-components-product-image img { padding:0; }
 .gs-card-view { inset:.25rem .25rem auto auto; }
}
@media(max-width:374px) {
 .gs-product-grid,.gs-diy-collections .gs-product-grid { grid-template-columns:minmax(0,1fr) !important; }
 .gs-home-highlights { grid-template-columns:1fr; }
 .gs-home-highlight { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:1rem; }
 .gs-home-highlight img { aspect-ratio:8/5; }
}
@media(prefers-reduced-motion:reduce) {
 .gs-card-secondary,.gs-product-grid >li >.wp-block-woocommerce-product-button,.gs-card-view { transition:none !important; }
}

@media(min-width:1024px) { .gs-catalog .gs-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }

.gs-gravels-intro { display:grid; grid-template-columns:1fr 1.1fr; gap:2rem; align-items:center; margin-bottom:1.5rem; }
.gs-gravels-intro figure { margin:0; }
.gs-gravels-intro img { width:100%; height:220px; object-fit:cover; display:block; }
@media(max-width:767px) { .gs-gravels-intro { grid-template-columns:1fr; gap:1rem; } .gs-gravels-intro img { height:160px; } }
.gs-restored-home > .gs-visual-section { max-width:none; width:100%; margin-inline:0; box-sizing:border-box; }
.gs-restored-home .gs-visual-section > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width:none; margin-inline:0; }
.gs-visual-hero > .gs-hero-copy { justify-self:start; margin:0; margin-inline:0 !important; }
.gs-home-highlights >*,.gs-diy-intro >*,.gs-diy-collections >*,.gs-delivery-overview >*,.gs-yard >*,.gs-gravels-intro >* { margin:0 !important; }

.gs-restored-home { margin-block-start:1.25rem !important; padding-block-start:0; }

@media(min-width:375px) and (max-width:767px) { .gs-product-grid .wp-block-post-title { min-height:4.05em; } }
.gs-restored-home .gs-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
.gs-restored-home .gs-diy-collections .gs-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
@media(min-width:375px) and (max-width:1023px) { .gs-restored-home .gs-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media(max-width:374px) { .gs-restored-home .gs-product-grid,.gs-restored-home .gs-diy-collections .gs-product-grid { grid-template-columns:minmax(0,1fr) !important; } }

/* Compact media without a reserved action strip. Native Woo owns all purchase controls. */
.gs-product-grid .wc-block-components-product-image > a:not(.gs-card-view) { display:block; }
@media(hover:none), (pointer:coarse) {
 .gs-product-grid >li >.wp-block-woocommerce-product-button { grid-area:auto; opacity:1; margin-top:.5rem !important; }
}

/* View choices apply to archive results only; the Shop category directory is unaffected. */
.gs-catalog-view-controls { display:flex; flex-wrap:wrap; gap:.375rem; align-items:center; }
.gs-catalog-view-controls[hidden] { display:none !important; }
.gs-catalog-view-controls button { min-height:44px; min-width:44px; padding:.5rem .75rem; border:1px solid #a4aea1; background:white; color:#202820; font:inherit; font-size:.875rem; cursor:pointer; }
.gs-catalog-view-controls button[aria-pressed="true"] { background:#97a500; border-color:#97a500; font-weight:700; }
.gs-catalog-view-controls button:focus-visible { outline:2px solid #0093da; outline-offset:3px; }
.gs-catalog-results[data-gs-catalog-view="compact"] .gs-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:1rem .75rem; }
.gs-catalog-results[data-gs-catalog-view="compact"] .wp-block-post-title { font-size:.875rem; }
.gs-catalog-results[data-gs-catalog-view="list"] .gs-product-grid { grid-template-columns:minmax(0,1fr) !important; gap:1.25rem; }
.gs-catalog-results[data-gs-catalog-view="list"] .gs-product-grid >li { grid-template-columns:clamp(5rem,25%,10rem) minmax(0,1fr); column-gap:1rem; row-gap:.375rem; padding-block:0 1rem; border-bottom:1px solid #d6dace; }
.gs-catalog-results[data-gs-catalog-view="list"] .gs-product-grid >li >.wp-block-woocommerce-product-image,
.gs-catalog-results[data-gs-catalog-view="list"] .gs-product-grid >li >.wc-block-components-product-image { grid-column:1; grid-row:1 / span 5; align-self:start; }
.gs-catalog-results[data-gs-catalog-view="list"] .gs-product-grid >li >:is(.wp-block-post-title,.gs-card-categories,.wp-block-woocommerce-product-price,.wp-block-woocommerce-product-stock-indicator,.wp-block-woocommerce-product-button) { grid-column:2; grid-row:auto; min-width:0; text-align:left; padding-inline:0; margin:0 !important; }
.gs-catalog-results[data-gs-catalog-view="list"] .gs-product-grid .wp-block-post-title { min-height:0; }
.gs-catalog-results[data-gs-catalog-view="list"] .gs-product-grid >li >.wp-block-woocommerce-product-button { opacity:1; align-self:start; width:fit-content; max-width:100%; }
@media(min-width:48rem) {
 .gs-catalog-results[data-gs-catalog-view="compact"] .gs-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}
@media(min-width:64rem) {
 .gs-catalog-results[data-gs-catalog-view="compact"] .gs-product-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
}

/* Display-only amount color follows the authorized native pricing context. */
body { --gs-amount-color:#505050; }
body.gsc-contractor-pricing { --gs-amount-color:var(--gs-brand-green,#97A500); }
:is(.gsc-wholesale-price,.gsc-contractor-price) { --gs-amount-color:#97A500; color:var(--gs-amount-color) !important; }
:is(.gsc-retail-reference,.gsc-retail-only,.wc-block-components-product-price__regular,.price del,.wp-block-woocommerce-product-price del,.wc-block-components-product-price del) { --gs-amount-color:#505050; color:var(--gs-amount-color) !important; }
:where(body) :is(.wp-block-woocommerce-product-price,.woocommerce-Price-amount,.wc-block-components-product-price__regular,.wc-block-components-totals-item__value,.wc-block-components-product-price__value,.wc-block-components-formatted-money-amount,.wc-block-formatted-money-amount),
:where(body) .woocommerce-Price-amount :is(bdi,.woocommerce-Price-currencySymbol) { color:var(--gs-amount-color,#505050) !important; }

/* Compact product purchase surface. Provider calculators and native gallery events stay intact. */
.gs-product-page { padding-block:.75rem 2rem; }
.gs-product-page .woocommerce-breadcrumb { margin-block:0 .75rem; font-size:.8125rem; }
.gs-single-layout { gap:1.25rem; margin-block:.75rem 1.5rem; align-items:start; }
.gs-single-layout > .gs-single-gallery { padding:.5rem; background:white; }
.gs-single-gallery > .wp-block-woocommerce-product-gallery-large-image { aspect-ratio:auto; height:clamp(280px,32vw,430px); background:white; }
.gs-single-gallery > .wp-block-woocommerce-product-gallery-large-image :is(.wc-block-product-gallery-large-image__container,.wc-block-product-gallery-large-image__wrapper,.wp-block-woocommerce-product-image,.wc-block-components-product-image) { height:100%; max-height:100%; margin-block:0; }
.gs-single-gallery > .wp-block-woocommerce-product-gallery-large-image .wc-block-woocommerce-product-gallery-large-image__image { width:100% !important; height:100% !important; max-height:100%; object-fit:contain !important; }
.gs-single-gallery .wp-block-woocommerce-product-gallery-thumbnails { margin-block-start:.5rem !important; }
.gs-single-gallery .wp-block-woocommerce-product-gallery-thumbnails img { max-height:60px; object-fit:contain; }
.gs-product-title-row { display:flex; align-items:start; justify-content:space-between; gap:.75rem; margin:0 0 .5rem; }
.gs-product-title-row > h1.wp-block-post-title { flex:1; min-width:0; font-size:clamp(1.625rem,2.3vw,2.125rem); line-height:1.15; font-weight:700; margin:0; }
.gs-single-purchase > .wp-block-woocommerce-product-price { font-size:1.375rem; font-weight:700; line-height:1.4; margin:.5rem 0 .75rem; }
:where(body) :is(.woocommerce-Price-amount,.wc-block-components-product-price__value,.wc-block-components-product-price__regular,.wc-block-formatted-money-amount) { font-weight:700 !important; }
.gs-single-purchase > .wp-block-woocommerce-product-rating:empty,
.gs-single-purchase > .wp-block-woocommerce-product-stock-indicator:empty { display:none; }
.gs-single-purchase form.cart { margin:.75rem 0; padding:.75rem 0; }
.gs-single-purchase form.cart:not(.variations_form):not(.grouped_form) { display:flex; align-items:center; flex-wrap:wrap; gap:.625rem; }
.gs-single-purchase form.cart .quantity { margin:0; }
.gs-single-purchase form.cart .quantity .qty { width:4.75rem; min-height:48px; padding:.5rem; }
.gs-single-purchase form.cart .single_add_to_cart_button { flex:1; min-height:48px; padding:.625rem 1rem; }
.gs-single-summary { font-size:.9375rem; line-height:1.55; }
.gs-single-summary p { margin:.5rem 0; }
.gs-single-summary .gs-calc-link-wrapper { margin:0 0 .75rem; padding:.625rem .75rem; background:var(--wp--preset--color--surface-subtle,#f5f6f2); border:1px solid #dcdcde; }
.gs-single-summary .gs-calc-link-wrapper .calc-jump-link { color:var(--gs-price) !important; font-size:.9375rem; line-height:1.4 !important; margin:0; min-height:44px; }
.gs-single-summary .gs-calc-link-wrapper .calc-icon-inline { color:inherit !important; background:currentColor !important; mask:var(--gs-icon-calculator) center/contain no-repeat; width:20px; height:20px; flex:0 0 20px; }
.gs-single-details { margin-block:1.25rem .75rem; }
.gs-product-taxonomy { display:flex; flex-wrap:wrap; gap:.375rem 1.5rem; margin:.75rem 0 1.5rem; padding:.75rem 0; border-top:1px solid #d6dace; font-size:.8125rem; }
.gs-product-taxonomy > .wp-block-post-terms { margin:0; }

/* Filled actions keep the exact brand green in every interaction state. */
body :is(.wp-block-button__link,.wc-block-components-button,.wp-block-search__button,.gs-calc-btn,.single_add_to_cart_button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.gsc-button,.gsc-save-estimate button.button,.gs-account-panel button[type=submit]),
body .gs-catalog-view-controls button[aria-pressed="true"] { color:#fff !important; background:var(--gs-brand-green) !important; border-color:var(--gs-price,#97A500) !important; }
body :is(.wp-block-button__link,.wc-block-components-button,.wp-block-search__button,.gs-calc-btn,.single_add_to_cart_button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.gsc-button,.gs-account-panel button[type=submit]):hover { color:#fff !important; background:var(--gs-brand-green) !important; }

/* Native links beside the title, with a small product preview on hover/focus. */
.gs-product-neighbors { position:relative; display:flex; gap:.375rem; flex-shrink:0; margin:0; }
.gs-product-step { position:static; display:grid; place-items:center; width:44px; height:44px; box-sizing:border-box; border:1px solid #c5cdc0; border-radius:50%; background:white; color:#202820; text-decoration:none; }
.gs-product-step-arrow { font-size:1.75rem; line-height:1; }
.gs-product-step:focus-visible { outline:2px solid #0093da; outline-offset:3px; }
.gs-product-preview { display:none; position:absolute; z-index:15; right:0; top:calc(100% + 6px); width:260px; max-width:calc(100vw - 32px); box-sizing:border-box; grid-template-columns:60px minmax(0,1fr); gap:.625rem; padding:.75rem; background:white; color:#202820; border:1px solid #d6dace; border-radius:4px; box-shadow:0 5px 18px #0002; pointer-events:auto; text-align:left; }
.gs-product-step:not([data-gs-preview-dismissed]):is(:hover,:focus-visible) .gs-product-preview { display:grid; }
.gs-neighbor-image img { display:block; width:60px; height:60px; object-fit:contain; }
.gs-neighbor-copy { min-width:0; display:grid; gap:.2rem; font-size:.8125rem; line-height:1.35; overflow-wrap:anywhere; }
.gs-neighbor-direction { font-size:.6875rem; text-transform:uppercase; letter-spacing:.04em; color:#515b51; }
.gs-neighbor-price { color:var(--gs-amount-color,#505050); font-weight:700; }
@media(min-width:768px) { .gs-single-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(1.25rem,3vw,2.5rem); } }
@media(max-width:767px) {
 .gs-product-page { padding-block:.5rem 1.5rem; }
 .gs-single-layout { margin-block:.5rem 1rem; gap:.875rem; }
 .gs-single-gallery > .wp-block-woocommerce-product-gallery-large-image { height:clamp(180px,45vw,240px); }
 .gs-single-gallery .wp-block-woocommerce-product-gallery-thumbnails img { max-height:48px; }
 .gs-product-title-row { gap:.5rem; }
 .gs-product-title-row > h1.wp-block-post-title { font-size:1.625rem; }
 .gs-product-neighbors { gap:.25rem; }
 .gs-single-purchase > .wp-block-woocommerce-product-price { margin:.375rem 0 .5rem; font-size:1.25rem; }
 .gs-single-purchase form.cart { margin:.5rem 0; padding:.5rem 0; }
 .gs-single-details { margin-top:1rem; }
}
/* Existing provider buttons keep their handlers; only their presentation is overridden. */
.gs-single-details .gs-legacy-form[data-gs-legacy-form] button[data-gs-legacy-action] { color:#fff !important; background:var(--gs-brand-green) !important; }
.gs-single-details .woocommerce-tabs ul.tabs { display:flex !important; flex-wrap:wrap; gap:6px; margin:0 0 .75rem !important; padding:0 !important; }
.gs-single-details .woocommerce-tabs ul.tabs li { display:flex !important; width:auto !important; flex:1 1 130px; margin:0 !important; }
.gs-single-details .woocommerce-tabs ul.tabs li a { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; box-sizing:border-box; padding:.5rem .75rem !important; line-height:1.3 !important; font-size:.875rem; }
@media(max-width:767px) and (max-height:740px) {
 .gs-single-gallery > .wp-block-woocommerce-product-gallery-large-image { height:160px; }
 .gs-single-gallery .wp-block-woocommerce-product-gallery-thumbnails img { max-height:44px; }
}
body .gs-single-product .single_add_to_cart_button:hover,
body .gs-product-grid .wp-block-woocommerce-product-button .wp-block-button__link:hover,
body .wp-block-button:not(.is-style-outline):not(.is-style-link) .wp-block-button__link:hover,
body .gs-account-panel form button[name=login]:hover { color:#fff !important; background:var(--gs-brand-green) !important; }
:is(.gs-single-details,.gs-calculators-directory) .gs-calc-wrapper .gs-calc-btn { color:#fff !important; background:var(--gs-brand-green) !important; }
.gs-single-details .woocommerce-tabs ul.tabs { flex-direction:row !important; }
/* Inline workspace styles and native selected tabs share the same locked token. */
.gsc-portal { --gsc-green:var(--gs-brand-green,#97A500) !important; --gsc-lime:var(--gs-brand-green,#97A500) !important; }
.gs-single-details .woocommerce-tabs ul.tabs li.active,
.gs-single-details .woocommerce-tabs[data-gs-tabs] ul.tabs li.active { background:var(--gs-brand-green) !important; border-color:var(--gs-brand-green) !important; }
.gs-single-details .woocommerce-tabs ul.tabs li.active a,
.gs-single-details .woocommerce-tabs[data-gs-tabs] ul.tabs li.active a { color:#fff !important; background:transparent !important; }
/* Native WooCommerce success, stock and sale accents use the same brand green. */
body :is(.stock.in-stock,.wc-block-components-product-stock-indicator__in-stock,.wc-block-components-product-stock-indicator--in-stock),
body .woocommerce-message::before { color:var(--gs-brand-green) !important; }
body .woocommerce-message { border-top-color:var(--gs-brand-green) !important; }
body :is(.onsale,.wc-block-components-sale-badge),
.gsc-portal .gsc-badge[data-status="approved"] { background:var(--gs-brand-green,#97A500) !important; border-color:var(--gs-brand-green,#97A500) !important; color:#fff !important; }

/* Public navigation chrome: one native drawer, local icons and a safe-area dock. */
.gs-service-bar { background:var(--gs-brand-green,#97A500); color:#fff; padding-block:0; padding-inline:clamp(1rem,4vw,2rem); }
.gs-theme-header { padding-inline:clamp(1rem,4vw,2rem); }
.gs-header-inner { width:100%; padding-inline:0; }
.gs-service-bar-inner { min-height:40px; max-width:var(--wp--style--global--wide-size,80rem); width:100%; margin-inline:auto; flex-wrap:wrap; gap:0 1rem; }
.gs-service-bar-inner > p { display:flex; align-items:center; flex:0 0 auto; gap:1rem; }
.gs-service-bar-inner > p > a { display:inline-flex; align-items:center; min-height:44px; white-space:nowrap; }
.gs-service-bar .gs-social-links { display:flex; align-items:center; gap:0; margin:0; margin-inline-start:auto; }
.gs-service-bar .gs-social-links .wp-social-link { background:transparent; color:#fff; margin:0; }
.gs-service-bar .gs-social-links .wp-social-link a { color:#fff; display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:0; }
.gs-service-bar .gs-social-links svg { width:18px; height:18px; }
.gs-service-bar .gs-social-links a:focus-visible { outline:2px solid #fff; outline-offset:-3px; }
.gs-mobile-dock { display:none; }
.gs-navigation-utilities .gs-link-cart a { position:relative; }
.gs-navigation-cart-count:not([hidden]) { position:absolute; top:0; right:0; display:grid; place-items:center; min-width:17px; height:17px; padding-inline:2px; box-sizing:border-box; border-radius:99px; background:var(--gs-brand-green,#97A500); color:#fff; font:700 10px/1 Arial,sans-serif; }
.gs-navigation-cart-count[hidden] { display:none !important; }
@media(max-width:63.999rem) {
 .gs-service-bar-inner { justify-content:space-between; gap:0 .5rem; }
 .gs-service-bar .gs-service-contact { display:none; }
 .gs-service-bar .gs-social-links { flex-wrap:nowrap; }
 .gs-service-bar .gs-social-links .wp-social-link a { min-width:44px; }
 .gs-header-identity { grid-template-columns:76px minmax(0,1fr) 44px; gap:.5rem !important; }
 .gs-header-identity > .wp-block-site-logo { grid-column:2; grid-row:1; justify-self:center; }
 .gs-theme-header .wp-block-site-logo img { width:min(100%,220px); max-width:100%; height:auto; }
 .gs-header-identity > .gs-navigation-primary { grid-column:1; grid-row:1; justify-self:start; }
 .gs-header-identity > .gs-navigation-utilities { grid-column:3; grid-row:1; justify-self:end; }
 .gs-theme-header .gs-navigation-utilities .gs-utility-account { display:none; }
 .gs-navigation-primary .wp-block-navigation__responsive-container-open { display:flex; align-items:center; gap:6px; min-width:76px; padding:8px 0; border:0; border-radius:0; background:transparent; color:#202820; font-size:12px; font-weight:400; }
 .gs-navigation-primary .wp-block-navigation__responsive-container-open::before { content:''; display:block; width:18px; height:14px; border-block:1.5px solid currentColor; background:linear-gradient(currentColor,currentColor) center/100% 1.5px no-repeat; }
 .gs-theme-header .gs-link-cart > a { font-size:0; width:44px; min-height:44px; padding:10px; box-sizing:border-box; }
 .gs-theme-header .gs-link-cart > a::before { width:24px; height:24px; flex-basis:24px; }
 .gs-mobile-dock { position:fixed; inset:auto 0 0; z-index:100; display:flex; margin:0 !important; padding:4px max(8px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); background:#fff; border-top:1px solid #e5e5e5; box-shadow:0 -2px 12px #0000000d; }
 .gs-mobile-action { display:flex; flex:1 1 0; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; min-height:52px; color:#202820; text-decoration:none; font-size:11px; line-height:1.25; text-align:center; }
 .gs-mobile-action-icon { display:block; position:relative; width:24px; height:24px; }
 .gs-mobile-action-icon .gs-navigation-cart-count { top:-4px; right:-7px; }
 .gs-mobile-action:hover,.gs-mobile-action:focus-visible { color:var(--gs-brand-green,#97A500); }
 body:has(.gs-mobile-dock) { padding-bottom:calc(68px + env(safe-area-inset-bottom)); }
 html { scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom)); }
 html.has-modal-open .gs-mobile-dock { visibility:hidden; }
}
@media(forced-colors:active) { .gs-mobile-dock { border-top:1px solid CanvasText; } .gs-navigation-cart-count:not([hidden]) { border:1px solid CanvasText; } }
/* Keep the native social link names accessible despite the old location-span rule. */
.gs-service-bar .gs-social-links span { display:block; margin:0; }

/* Shared delivery, two-row collections and footer. No frontend script required. */
.gs-shared-footer { margin-block-start:clamp(2rem,4vw,4rem); }
.gs-shared-footer >* { margin-block:0 !important; }
.gs-footer-delivery { display:grid; isolation:isolate; overflow:hidden; background:#202820; }
.gs-footer-delivery >figure,.gs-footer-delivery-copy { grid-area:1/1; min-width:0; margin:0; }
.gs-footer-delivery >figure img { display:block; width:100%; height:100%; min-height:240px; max-height:320px; object-fit:cover; }
.gs-footer-delivery::before { content:''; grid-area:1/1; z-index:1; background:var(--gs-brand-green,#97A500); opacity:.7; }
.gs-footer-delivery::after { content:''; grid-area:1/1; z-index:1; background:#202820; opacity:.45; }
.gs-footer-delivery-copy { position:relative; z-index:2; align-self:center; justify-self:center; width:min(100%,1280px); padding:2.5rem 1.25rem; box-sizing:border-box; color:#fff; text-align:center; }
.gs-footer-delivery-copy h2 { color:#fff; font-size:clamp(1.75rem,3.2vw,2.75rem); line-height:1.15; margin:.75rem 0 1rem; }
.gs-footer-delivery-copy p { margin:0 auto; max-width:110ch; line-height:1.75; }
.gs-footer-testimonials { display:none; padding:2.5rem max(1rem,calc((100% - 1280px)/2)); background:#f5f6f2; }
.gs-footer-testimonials:has(.gs-featured-testimonials) { display:block; }
.gs-footer-testimonials h2,.gs-footer-collections h2 { margin:0 0 1.25rem; font-size:1.5rem; text-align:center; }
.gs-testimonials-more { margin:1.25rem 0 0; text-align:center; }
.gs-testimonials-more a { color:#202820; font-weight:700; text-underline-offset:.2em; }
.gs-footer-callout { padding:1.25rem 1rem; background:var(--gs-brand-green,#97A500); color:#fff; text-align:center; }
.gs-footer-callout p { margin:0; font-size:clamp(1.125rem,2vw,1.625rem); line-height:1.4; font-weight:700; }
.gs-footer-callout a { color:inherit; white-space:nowrap; text-underline-offset:.2em; }
.gs-footer-collections { padding:2rem max(1rem,calc((100% - 1280px)/2)); background:#fff; }
.gs-logo-row,.gs-collection-scroll >ul { display:grid !important; grid-template-rows:repeat(2,80px); grid-auto-flow:column; grid-auto-columns:minmax(112px,1fr); gap:1rem 1.5rem; padding:0; max-width:100%; overflow-x:auto; align-items:center; }
.gs-logo-row >figure { width:100%; min-width:0; margin:0; }
.gs-logo-row img { width:100%; height:64px; object-fit:contain; }
.gs-logo-row a { display:flex; align-items:center; justify-content:center; min-height:72px; padding:.25rem; }
.gs-collection-scroll >ul { list-style:none; }
.gs-collection-scroll >ul >li { min-width:0; }
.gs-theme-footer { background:#505050; color:#fff; padding:2.5rem max(1rem,calc((100% - 1280px)/2)) 1.25rem; }
.gs-theme-footer a { color:inherit; }
.gs-theme-footer .gs-footer-logo { margin:0 0 1rem; }
.gs-footer-logo img { display:block; width:min(100%,260px); height:auto; }
.gs-footer-grid { grid-template-columns:1.3fr 1.1fr 1fr 1fr; max-width:1280px; margin-inline:auto; }
.gs-footer-grid >:nth-child(-n+2) { grid-column:auto; }
.gs-footer-company p { line-height:1.6; font-size:.875rem; }
.gs-theme-footer .gs-navigation-categories { color:#202820; }
.gs-footer-bottom { display:flex; justify-content:space-between; align-items:flex-start; gap:1.5rem; max-width:1280px; margin:2rem auto 0; padding-top:1.25rem; border-top:1px solid #ffffff33; }
.gs-footer-bottom p { max-width:90ch; margin:0; font-size:.75rem; line-height:1.8; }
.gs-theme-footer .gs-social-links { display:flex; flex-wrap:nowrap; list-style:none; padding:0; margin:0; gap:0; }
.gs-theme-footer .gs-social-links .wp-social-link { margin:0; background:transparent; }
.gs-theme-footer .gs-social-links .wp-social-link a { display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:0; color:#fff; }
.gs-theme-footer .gs-social-links svg { width:18px; height:18px; }
.gs-testimonials-page { padding:clamp(1.5rem,4vw,3rem) 1rem; max-width:1280px; margin:auto; }
.gs-testimonials-archive .wp-block-post-template { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; list-style:none; padding:0; }
.gs-testimonials-archive .wp-block-post { min-width:0; }
.gs-testimonials-archive .gs-testimonial-card { height:100%; box-sizing:border-box; }
.gs-testimonials-archive .gs-testimonial-card h2 { font-size:1.125rem; }
.gs-testimonials-archive .wp-block-query-pagination { margin-top:2rem; }
@media(max-width:1023px) { .gs-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; } }
@media(max-width:767px) {
 .gs-footer-delivery-copy { padding:2rem 1rem; }
 .gs-footer-delivery-copy p { font-size:.875rem; }
 .gs-logo-row,.gs-collection-scroll >ul { grid-auto-columns:minmax(104px,1fr); gap:.75rem 1rem; }
 .gs-footer-grid { grid-template-columns:minmax(0,1fr); gap:1.75rem; }
 .gs-footer-bottom { flex-direction:column; gap:.75rem; }
 .gs-testimonials-archive .wp-block-post-template { grid-template-columns:minmax(0,1fr); }
}
.gs-logo-scroll-hint { display:none; }
@media(min-width:768px) { .gs-theme-footer .gs-navigation .wp-block-navigation-item__content { min-height:32px; padding:.25rem 0; } }
@media(max-width:767px) {
 .gs-logo-scroll-hint { display:block; margin:-.5rem 0 1rem; font-size:.8125rem; color:#505050; text-align:center; }
 .gs-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem 1rem; }
 .gs-footer-grid >:nth-child(-n+2) { grid-column:1/-1; }
}

/* Enlarge the approved artwork inside the existing two 80px logo rows. */
.gs-logo-row { grid-auto-columns:minmax(160px,1fr); scrollbar-width:none; }
.gs-logo-row::-webkit-scrollbar { display:none; }
.gs-logo-row >figure { height:80px; }
.gs-logo-row a { height:80px; min-height:80px; padding:0; overflow:hidden; }
.gs-logo-row a:focus-visible { outline-offset:-3px; }
.gs-logo-row img { height:80px; max-height:none; transform:scale(var(--gs-logo-zoom,1)); transform-origin:center; }
/* These existing square PNGs contain extra transparent space around wide artwork. */
.gs-logo-row .wp-image-9341,.gs-logo-row .wp-image-9345,.gs-logo-row .wp-image-9347 { --gs-logo-zoom:1.8; }
.gs-logo-row .wp-image-9344 { --gs-logo-zoom:1.65; }
.gs-logo-row .wp-image-9346 { --gs-logo-zoom:1.3; }
.gs-footer-callout >p { max-width:none; font-size:clamp(1rem,2vw,1.625rem); }
.gs-footer-callout >p:has(.gs-footer-callout-full) { white-space:nowrap; }
.gs-footer-callout-short { display:none; }
@media(max-width:767px) {
 .gs-footer-callout-full { display:none; }
 .gs-footer-callout-short { display:inline; }
}
/* Include saved native footer Social Icons blocks and override their brand colors. */
:is(.gs-theme-footer,footer.wp-block-template-part) .wp-block-social-links .wp-social-link { background:transparent !important; }
:is(.gs-theme-footer,footer.wp-block-template-part) .wp-block-social-links .wp-social-link :is(a,svg,svg path) { color:#fff !important; fill:currentColor !important; }

/* Native My Account uses the available workspace; the menu stays compact. */
body.woocommerce-account.logged-in #main-content {
 --wp--style--global--content-size:100%;
 --wp--style--global--wide-size:100%;
 width:100%; max-width:96rem;
 margin-inline:auto; padding-inline:0;
}
body.woocommerce-account.logged-in #main-content > :is(.wp-block-post-title,.wp-block-post-content),
body.woocommerce-account.logged-in #main-content .wp-block-post-content > .woocommerce { width:100%; max-width:none; }
body.woocommerce-account.logged-in #main-content .woocommerce:has(> .woocommerce-MyAccount-navigation) { display:grid; grid-template-columns:13.5rem minmax(0,1fr); gap:clamp(1.5rem,3vw,3rem); align-items:start; }
body.woocommerce-account.logged-in #main-content .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
body.woocommerce-account.logged-in #main-content .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { display:none; }
body.woocommerce-account.logged-in #main-content .woocommerce > .woocommerce-MyAccount-navigation { float:none; width:100%; margin:0; min-width:0; }
body.woocommerce-account.logged-in #main-content .woocommerce > .woocommerce-MyAccount-navigation ul { list-style:none; margin:0; padding:0; }
body.woocommerce-account.logged-in #main-content .woocommerce > .woocommerce-MyAccount-navigation li { margin:0; }
body.woocommerce-account.logged-in #main-content .woocommerce > .woocommerce-MyAccount-navigation a { display:block; min-height:44px; padding:.75rem .5rem; overflow-wrap:anywhere; }
body.woocommerce-account.logged-in #main-content .woocommerce > .woocommerce-MyAccount-content { float:none; width:100%; max-width:none; min-width:0; margin:0; overflow-wrap:anywhere; }
body.woocommerce-account.logged-in #main-content .woocommerce > .woocommerce-notices-wrapper { grid-column:1/-1; }
@media(max-width:47.999rem) {
 body.woocommerce-account.logged-in #main-content .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns:minmax(0,1fr); gap:1.25rem; }
 body.woocommerce-account.logged-in #main-content .woocommerce > .woocommerce-MyAccount-navigation ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.25rem .75rem; }
}

/* Edge-to-edge catalog media and compact native save controls. */
.gs-product-grid :is(.wp-block-woocommerce-product-image,.wc-block-components-product-image) { border:0; padding:0; }
:is(.gs-product-grid,.wc-block-product-template) .wc-block-components-product-image .gs-card-view:hover,
body :is(.gs-product-grid,.wc-block-product-template) .gs-save-control:hover { color:#fff; background:#97A500; }
.gs-product-grid .gs-save-product--card { top:58px; right:8px; }
@media(max-width:767px) { :is(.gs-product-grid,.wc-block-product-template) .wc-block-components-product-image .gs-card-view { inset:8px 8px auto auto; } }
.gs-single-purchase > .gs-save-product--single { margin-block:.25rem 0; }
.gs-single-purchase .gs-save-product--single .gs-save-control:hover { background:transparent; color:#97A500; text-decoration:underline; }
/* Related taxonomy shortcuts use their natural size instead of empty grid columns. */
.gs-catalog-category-context { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .75rem; padding-block:.5rem; margin-block:.5rem; }
.gs-catalog-category-context > :is(h2,.wp-block-buttons,.gs-catalog-categories) { margin:0 !important; }
.gs-catalog-category-context > h2 { font-size:.8125rem; }
:is(.gs-catalog-category-context,.gs-catalog-category-discovery) .gs-catalog-categories { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin-block:.5rem; }
:is(.gs-catalog-category-context,.gs-catalog-category-discovery) .gs-catalog-category { flex:0 1 auto; padding:0 .5rem; gap:.5rem; }
:is(.gs-catalog-category-context,.gs-catalog-category-discovery) .gs-catalog-category .wp-block-image { width:32px; height:32px; flex:0 0 32px; }
:is(.gs-catalog-category-context,.gs-catalog-category-discovery) .gs-catalog-category h3 { font-size:.8125rem; margin:0; }
body :is(.gs-catalog-category-context,.gs-catalog-category-discovery) .wp-block-buttons .wp-block-button__link { padding:.375rem .5rem; min-height:44px; background:transparent !important; color:#202820 !important; border:1px solid #dcdcde; box-shadow:none; font-size:.8125rem; }
.gs-catalog-results[data-gs-catalog-view="list"] .wc-block-components-product-image,
.gs-catalog-results[data-gs-catalog-view="list"] .wc-block-components-product-image img { min-height:110px; }
@media(max-width:767px) { .gs-product-grid >li >.wp-block-woocommerce-product-button { grid-area:auto; opacity:1; margin-top:.25rem !important; } }
