/*
Theme Name: ForgeLine Starter
Theme URI: https://example.local/
Author: Pixs3lis
Author URI:
Description: Editable WooCommerce-ready theme for laser cutting, engraving and 3D printing businesses. Includes page-level SEO controls, legal/footer management, safer manufacturing-file handling, gallery lightboxes, service configurators and an editable equipment catalogue.
Version: 3.8.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forgeline
Tags: e-commerce, custom-logo, featured-images, full-width-template, block-styles
*/

:root {
  --fl-bg: #0b0e11;
  --fl-surface: #12171c;
  --fl-surface-2: #171d23;
  --fl-text: #f5f7f9;
  --fl-muted: #aab3bc;
  --fl-border: rgba(255,255,255,.11);
  --fl-accent: #fbc00a;
  --fl-accent-strong: #fbc00a;
  --fl-button: #fbc00a;
  --fl-dark-text: #0b0e11;
  --fl-max: 1240px;
  --fl-radius: 22px;
  --fl-shadow: 0 24px 80px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fl-bg);
  color: var(--fl-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--fl-accent); }
img, video { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.fl-shell { width: min(calc(100% - 40px), var(--fl-max)); margin-inline: auto; }
.fl-section { padding: clamp(56px, 7vw, var(--fl-section-space, 112px)) 0; }
.fl-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--fl-accent);
}
.fl-kicker::before { content:""; width: 26px; height: 1px; background: currentColor; }
.fl-title {
  margin: .55rem 0 1rem;
  max-width: 900px;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.fl-title--small { font-size: clamp(2rem, 4vw, 4rem); }
.fl-lead { max-width: 760px; color: var(--fl-muted); font-size: clamp(1rem, 1.5vw, 1.22rem); }

.fl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 50px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--fl-button, var(--fl-accent));
  color: var(--fl-dark-text);
  border: 1px solid var(--fl-button, var(--fl-accent));
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.fl-button:hover { color: var(--fl-dark-text); transform: translateY(-2px); background: color-mix(in srgb, var(--fl-button, var(--fl-accent)) 82%, white 18%); }
.fl-button--ghost { background: transparent; color: var(--fl-text); border-color: var(--fl-border); }
.fl-button--ghost:hover { color: var(--fl-text); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }

/* Header */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(11,14,17,.80);
  border-color: var(--fl-border);
  backdrop-filter: blur(18px);
}
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.site-brand__mark {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(135deg, color-mix(in srgb,var(--fl-accent) 18%,transparent), rgba(255,255,255,.02));
  position: relative; overflow: hidden;
}
.site-brand__mark::after { content:""; position:absolute; inset: 16px -7px auto; height:2px; background:var(--fl-accent); transform:rotate(-34deg); box-shadow:0 0 14px var(--fl-accent); }
.custom-logo { max-height: 42px; width: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); margin: 0; padding: 0; }
.site-nav a { color: rgba(255,255,255,.84); font-size: .93rem; font-weight: 700; }
.site-nav a:hover { color: var(--fl-accent); }
.nav-toggle { display: none; border: 1px solid var(--fl-border); background: rgba(255,255,255,.04); color: var(--fl-text); border-radius: 10px; padding: 8px 11px; }

/* Hero */
.fl-hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--fl-border);
}
.fl-hero__media,
.fl-hero__fallback,
.fl-hero__scrim { position: absolute; inset: 0; }
.fl-hero__media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.08) brightness(.66); }
.fl-hero__fallback {
  background:
    radial-gradient(circle at 72% 34%, color-mix(in srgb,var(--fl-accent) 20%,transparent), transparent 20%),
    linear-gradient(105deg, #07090b 0%, #101820 50%, #0a0e12 100%);
}
.fl-hero__fallback::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 45%, transparent 100%);
}
.fl-hero__fallback::after {
  content:""; position:absolute; width:80vw; height:2px; left:34vw; top:48%; background:linear-gradient(90deg, transparent, var(--fl-accent), transparent); transform:rotate(-16deg); box-shadow:0 0 22px color-mix(in srgb,var(--fl-accent) 90%,transparent); animation: laserSweep 6s ease-in-out infinite;
}
@keyframes laserSweep { 0%,100%{ transform:translateY(-10vh) rotate(-16deg); opacity:.25;} 50%{ transform:translateY(24vh) rotate(-16deg); opacity:1;} }
.fl-hero__scrim { background: linear-gradient(to top, rgba(6,8,10,.98) 4%, rgba(6,8,10,.55) 46%, rgba(6,8,10,.18) 100%); }
.fl-hero__content { position: relative; z-index: 2; padding: 160px 0 78px; }
.fl-hero__title { max-width: 1050px; margin: .5rem 0 1rem; font-size: clamp(3.3rem, 8.7vw, 8.6rem); line-height: .88; letter-spacing: -.065em; text-wrap: balance; }
.fl-hero__copy { max-width: 720px; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255,255,255,.76); }
.fl-hero__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.fl-hero__meta { margin-top: 52px; display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top:1px solid var(--fl-border); }
.fl-hero__meta div { padding: 18px 18px 0 0; color:var(--fl-muted); font-size:.88rem; }
.fl-hero__meta strong { display:block; color:var(--fl-text); font-size:1rem; }

/* Scrollytelling */
.fl-story { background: #0d1115; }
.fl-story__grid { display:grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: clamp(40px, 8vw, 120px); align-items:start; }
.fl-story__visual { position: sticky; top: 110px; min-height: 66vh; border:1px solid var(--fl-border); border-radius:var(--fl-radius); overflow:hidden; background:var(--fl-surface); box-shadow:var(--fl-shadow); }
.fl-story__visual-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size:34px 34px; }
.fl-story__beam { position:absolute; left:-20%; width:140%; height:2px; top:52%; background:linear-gradient(90deg, transparent, var(--fl-accent), transparent); box-shadow:0 0 22px var(--fl-accent); transform:rotate(-10deg); transition:transform .65s cubic-bezier(.2,.8,.2,1), top .65s ease; }
.fl-story__object { position:absolute; width:44%; aspect-ratio:1.35; left:28%; top:34%; border:1px solid rgba(255,255,255,.24); border-radius:18px; background:linear-gradient(135deg, color-mix(in srgb,var(--fl-accent) 14%,transparent), rgba(255,255,255,.03)); transform:perspective(800px) rotateX(58deg) rotateZ(-28deg); box-shadow: 34px 42px 60px rgba(0,0,0,.28); transition:transform .65s ease, border-radius .65s ease, width .65s ease, left .65s ease; }
.fl-story__visual[data-stage="2"] .fl-story__object { transform:perspective(800px) rotateX(58deg) rotateZ(24deg); border-radius: 50% 18% 42% 18%; }
.fl-story__visual[data-stage="2"] .fl-story__beam { top:38%; transform:rotate(8deg); }
.fl-story__visual[data-stage="3"] .fl-story__object { width:34%; left:33%; transform:perspective(900px) rotateX(-12deg) rotateY(38deg) rotateZ(-4deg); border-radius:10px; box-shadow:inset 0 0 0 10px color-mix(in srgb,var(--fl-accent) 8%,transparent), 34px 42px 60px rgba(0,0,0,.28); }
.fl-story__visual[data-stage="3"] .fl-story__beam { top:72%; transform:rotate(0deg); }
.fl-story__visual-label { position:absolute; left:28px; bottom:26px; right:28px; display:flex; justify-content:space-between; gap:20px; align-items:end; }
.fl-story__visual-label strong { display:block; font-size:clamp(1.5rem,3vw,3rem); letter-spacing:-.04em; }
.fl-story__visual-label span { color:var(--fl-muted); }
.fl-story__steps { padding-top: 8vh; }
.fl-story-step { min-height: 72vh; display:flex; flex-direction:column; justify-content:center; opacity:.42; transform:translateY(18px); transition:opacity .35s ease, transform .35s ease; }
.fl-story-step.is-active { opacity:1; transform:none; }
.fl-story-step__index { color:var(--fl-accent); font-weight:900; font-size:.9rem; }
.fl-story-step h3 { font-size:clamp(2.1rem,4.2vw,4.6rem); line-height:1; letter-spacing:-.05em; margin:.5rem 0 1rem; }
.fl-story-step p { max-width:560px; color:var(--fl-muted); font-size:1.06rem; }

/* Cards and grids */
.fl-grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.fl-card { border:1px solid var(--fl-border); background:linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.018)); border-radius:var(--fl-radius); padding:28px; min-height:260px; position:relative; overflow:hidden; }
.fl-card::after { content:""; position:absolute; width:140px; height:140px; border-radius:50%; right:-62px; bottom:-62px; background:color-mix(in srgb,var(--fl-accent) 8%,transparent); filter:blur(4px); transition:transform .35s ease; }
.fl-card:hover::after { transform:scale(1.5); }
.fl-card__icon { width:42px; height:42px; border-radius:12px; display:grid; place-items:center; color:var(--fl-accent); background:color-mix(in srgb,var(--fl-accent) 10%,transparent); border:1px solid color-mix(in srgb,var(--fl-accent) 18%,transparent); font-weight:900; }
.fl-card h3 { margin:52px 0 8px; font-size:1.45rem; letter-spacing:-.03em; }
.fl-card p { color:var(--fl-muted); margin:0; }

/* Shop */
.fl-shop-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.fl-products { display:grid; grid-template-columns:repeat(var(--home-shop-cols,3),minmax(0,1fr)); gap:20px; }
.fl-product { background:var(--fl-surface); border:1px solid var(--fl-border); border-radius:var(--fl-shop-card-radius,18px); overflow:hidden; transition:transform .25s ease, border-color .25s ease; }
.fl-product:hover { transform:translateY(-4px); border-color:color-mix(in srgb,var(--fl-accent) 34%,transparent); }
.fl-product__image { aspect-ratio:4/3; background:#191f25; overflow:hidden; }
.fl-product__image img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.fl-product:hover .fl-product__image img { transform:scale(1.03); }
.fl-product__body { padding:18px; }
.fl-product__title { font-size:1.08rem; font-weight:800; }
.fl-product__price { color:var(--fl-accent); margin-top:5px; font-weight:800; }
.fl-shop-empty { border:1px dashed rgba(255,255,255,.18); border-radius:18px; padding:28px; color:var(--fl-muted); }

/* Gallery */
.fl-gallery { display:grid; grid-template-columns:1.2fr .8fr .8fr; grid-auto-rows:210px; gap:14px; }
.fl-gallery__item { border-radius:18px; overflow:hidden; border:1px solid var(--fl-border); position:relative; display:block; background:linear-gradient(135deg,#1b252a,#11161b); background-size:cover; background-position:center; transition:transform .25s ease,border-color .25s ease; }
.fl-gallery__item:first-child { grid-row:span 2; }
.fl-gallery__item:nth-child(2) { background:linear-gradient(135deg,#1a1712,#2e2415); }
.fl-gallery__item:nth-child(3) { background:linear-gradient(135deg,#11181d,#172a26); }
.fl-gallery__item:nth-child(4) { background:linear-gradient(135deg,#16131e,#251a2e); grid-column:span 2; }
.fl-gallery__item::before { content:""; position:absolute; inset:18%; border:1px solid rgba(255,255,255,.16); border-radius:18px; transform:rotate(-7deg); }
.fl-gallery__item::after { content:attr(data-label); position:absolute; left:20px; bottom:17px; color:rgba(255,255,255,.86); font-weight:800; text-shadow:0 2px 14px rgba(0,0,0,.55); }
.fl-gallery__item.has-image::before{display:none}.fl-gallery__item:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--fl-accent) 35%,transparent)}

/* CTA */
.fl-cta { border:1px solid color-mix(in srgb,var(--fl-accent) 22%,transparent); border-radius:28px; padding:clamp(34px,6vw,74px); background:radial-gradient(circle at 85% 20%, color-mix(in srgb,var(--fl-accent) 14%,transparent), transparent 30%), linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.015)); }
.fl-cta__row { display:flex; justify-content:space-between; gap:30px; align-items:end; }

/* General pages */
.site-main { min-height: 60vh; }
.fl-page-hero { padding: 160px 0 60px; border-bottom:1px solid var(--fl-border); }
.fl-page-content { width:min(calc(100% - 40px), 900px); margin:0 auto; padding:60px 0 100px; }
.fl-page-content a { text-decoration:underline; text-decoration-color:color-mix(in srgb,var(--fl-accent) 50%,transparent); text-underline-offset:3px; }
.fl-page-content h1,.fl-page-content h2,.fl-page-content h3 { line-height:1.1; letter-spacing:-.035em; }

/* Configurators */
.fl-config { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(330px,.75fr); gap:30px; align-items:start; }
.fl-config__preview { border:1px solid var(--fl-border); border-radius:var(--fl-radius); background:var(--fl-surface); overflow:hidden; min-height:520px; position:sticky; top:105px; }
.fl-config__canvas { width:100%; min-height:430px; display:grid; place-items:center; background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--fl-accent) 12%,transparent),transparent 34%), linear-gradient(180deg,#151b20,#101419); position:relative; }
.fl-config__canvas canvas { width:100%; height:420px; display:block; touch-action:none; cursor:grab; }
.fl-config__canvas canvas.is-dragging { cursor:grabbing; }
.fl-view-controls { position:absolute; top:16px; right:16px; display:flex; gap:8px; z-index:3; }
.fl-view-controls button { border:1px solid var(--fl-border); background:rgba(10,13,16,.78); color:var(--fl-text); border-radius:999px; padding:8px 11px; font:inherit; font-size:.78rem; cursor:pointer; backdrop-filter:blur(8px); }
.fl-view-controls button:hover { border-color:var(--fl-accent); }
.fl-config__hint { position:absolute; inset:auto 18px 18px; border:1px solid var(--fl-border); border-radius:13px; padding:12px 14px; background:rgba(10,13,16,.75); backdrop-filter:blur(10px); color:var(--fl-muted); font-size:.9rem; }
.fl-config__panel { border:1px solid var(--fl-border); border-radius:var(--fl-radius); padding:26px; background:rgba(255,255,255,.025); }
.fl-config__panel h2 { margin-top:0; letter-spacing:-.035em; }
.fl-dropzone { width:100%; min-height:124px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:1px dashed rgba(255,255,255,.28); border-radius:16px; padding:26px; text-align:center; cursor:pointer; background:rgba(255,255,255,.025); transition:border-color .2s ease, background .2s ease, transform .2s ease; box-sizing:border-box; overflow:hidden; }
.fl-dropzone:hover,.fl-dropzone.is-drag { border-color:var(--fl-accent); background:color-mix(in srgb,var(--fl-accent) 6%,transparent); transform:translateY(-1px); }
.fl-dropzone input { display:none; }
.fl-dropzone strong { display:block; width:100%; font-size:1rem; line-height:1.35; }
.fl-dropzone small { display:block; width:100%; color:var(--fl-muted); line-height:1.4; }
.fl-field { display:grid; gap:7px; margin-top:18px; }
.fl-field label { font-weight:800; font-size:.9rem; }
.fl-field input,.fl-field select,.fl-field textarea { width:100%; background:#0d1115; border:1px solid var(--fl-border); color:var(--fl-text); border-radius:11px; padding:12px 13px; outline:none; }
.fl-field input:focus,.fl-field select:focus,.fl-field textarea:focus { border-color:color-mix(in srgb,var(--fl-accent) 65%,transparent); box-shadow:0 0 0 3px color-mix(in srgb,var(--fl-accent) 8%,transparent); }
.fl-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fl-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0 0; }
.fl-metric { border:1px solid var(--fl-border); border-radius:12px; padding:12px; }
.fl-metric span { display:block; color:var(--fl-muted); font-size:.75rem; }
.fl-metric strong { display:block; margin-top:3px; }
.fl-config-note { margin-top:18px; border-left:2px solid var(--fl-accent); padding:10px 0 10px 14px; color:var(--fl-muted); font-size:.9rem; }
.fl-status { margin-top:14px; color:var(--fl-muted); font-size:.9rem; }
.fl-status.is-good { color:var(--fl-accent); }
.fl-status.is-bad { color:#ff9a9a; }
.fl-estimate { margin-top:24px; padding-top:20px; border-top:1px solid var(--fl-border); display:flex; align-items:end; justify-content:space-between; gap:20px; }
.fl-estimate strong { font-size:1.4rem; }
.fl-estimate small { color:var(--fl-muted); display:block; }

/* WooCommerce adjustments */
.woocommerce .site-main, .woocommerce-page .site-main { padding:140px 0 90px; width:min(calc(100% - 40px), var(--fl-max)); margin-inline:auto; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background:var(--fl-surface); border:1px solid var(--fl-border); border-radius:16px; padding:14px; }
.woocommerce ul.products li.product .price { color:var(--fl-accent); font-weight:800; }
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit { background:var(--fl-button, var(--fl-accent)); color:var(--fl-dark-text); border-radius:999px; font-weight:800; }
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover { background:color-mix(in srgb,var(--fl-button, var(--fl-accent)) 82%,white 18%); color:var(--fl-dark-text); }
.woocommerce div.product p.price,.woocommerce div.product span.price { color:var(--fl-accent); }
.woocommerce-info,.woocommerce-message,.woocommerce-error { background:var(--fl-surface); color:var(--fl-text); border-top-color:var(--fl-accent); }
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce .quantity .qty { background:#0d1115; color:var(--fl-text); border:1px solid var(--fl-border); padding:11px; border-radius:10px; }

/* Footer */
.site-footer { border-top:1px solid var(--fl-border); background:#080a0c; padding:50px 0; color:var(--fl-muted); }
.site-footer__grid { display:grid; grid-template-columns:1fr auto; gap:30px; align-items:end; }
.site-footer strong { color:var(--fl-text); }
.site-footer__links { display:flex; flex-wrap:wrap; gap:18px; }

/* Responsive */
@media (max-width: 900px) {
  .site-nav { position:absolute; top:76px; left:20px; right:20px; display:none; background:rgba(11,14,17,.96); border:1px solid var(--fl-border); border-radius:16px; padding:18px; backdrop-filter:blur(16px); }
  .site-nav.is-open { display:block; }
  .site-nav ul { flex-direction:column; align-items:flex-start; }
  .nav-toggle { display:block; }
  .fl-hero__meta { grid-template-columns:1fr; }
  .fl-story__grid,.fl-config { grid-template-columns:1fr; }
  .fl-story__visual,.fl-config__preview { position:relative; top:auto; min-height:460px; }
  .fl-story__steps { padding-top:0; }
  .fl-story-step { min-height:auto; padding:65px 0; }
  .fl-grid-3,.fl-products { grid-template-columns:1fr 1fr; }
  .fl-gallery { grid-template-columns:1fr 1fr; }
  .fl-gallery__item:first-child { grid-row:span 1; }
  .fl-gallery__item:nth-child(4) { grid-column:span 2; }
}
@media (max-width: 640px) {
  .fl-shell { width:min(calc(100% - 28px), var(--fl-max)); }
  .fl-hero__content { padding-bottom:42px; }
  .fl-hero__title { font-size:clamp(3rem,16vw,5rem); }
  .fl-grid-3,.fl-products,.fl-gallery,.fl-field-grid { grid-template-columns:1fr; }
  .fl-gallery__item:nth-child(4) { grid-column:span 1; }
  .fl-cta__row,.fl-shop-head,.site-footer__grid { flex-direction:column; display:flex; align-items:flex-start; }
  .fl-metrics { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}


/* =========================================================
   ForgeLine V2 — editable palette, photos and service cards
   ========================================================= */
body { background:var(--fl-bg); color:var(--fl-text); }
.fl-button { background:var(--fl-button, var(--fl-accent)); border-color:var(--fl-button, var(--fl-accent)); }
.fl-button:hover { background:color-mix(in srgb,var(--fl-button, var(--fl-accent)) 78%,white 22%); }
.fl-button--ghost { background:transparent; }
.site-header.is-scrolled { background:color-mix(in srgb,var(--fl-bg) 84%,transparent); }
.fl-story { background:color-mix(in srgb,var(--fl-bg) 82%,var(--fl-surface) 18%); }
.fl-shop-section { background:color-mix(in srgb,var(--fl-bg) 72%,var(--fl-surface) 28%); }
.fl-product__image { background:var(--fl-surface-2); }
.fl-field input,.fl-field select,.fl-field textarea { background:color-mix(in srgb,var(--fl-bg) 90%,var(--fl-surface) 10%); }
.site-footer { background:color-mix(in srgb,var(--fl-bg) 90%,black 10%); }
.fl-page-hero { background:color-mix(in srgb,var(--fl-bg) 94%,var(--fl-surface) 6%); }

/* Real photos inside the scrollytelling visual. */
.fl-story__photo {
  position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center;
  opacity:.78; filter:saturate(.9) contrast(1.04) brightness(.82);
  transition:opacity .45s ease, transform .8s cubic-bezier(.2,.8,.2,1), background-image .2s linear;
  transform:scale(1.03);
}
.fl-story__photo::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.06) 68%); }
.fl-story__visual-grid,.fl-story__beam,.fl-story__object,.fl-story__visual-label { z-index:1; }
.fl-story__visual-grid,.fl-story__beam,.fl-story__object,.fl-story__visual-label { position:absolute; }
.fl-story__visual-label { z-index:3; }
.fl-story__beam,.fl-story__object { z-index:2; }

/* When a real photo is present, hide the old decorative laser/object animation by default. */
.fl-story__visual.has-photo:not(.keep-effects-on-photo) .fl-story__visual-grid,
.fl-story__visual.has-photo:not(.keep-effects-on-photo) .fl-story__beam,
.fl-story__visual.has-photo:not(.keep-effects-on-photo) .fl-story__object {
  opacity:0; visibility:hidden; pointer-events:none;
}
.fl-story__visual-grid,.fl-story__beam,.fl-story__object { transition:opacity .3s ease, visibility .3s ease, transform .65s ease, top .65s ease; }


/* Shared Home + Paslaugos service cards. */
.fl-service-block__head { margin-bottom:34px; }
.fl-service-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.fl-service-card {
  position:relative; min-height:var(--service-height,560px); overflow:hidden;
  border:1px solid var(--fl-border); border-radius:var(--fl-radius);
  box-shadow:0 16px 48px rgba(0,0,0,.20);
  transform:translateY(0) scale(1);
  transition:transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s ease, border-color .34s ease;
  isolation:isolate;
}
.fl-service-card__image,.fl-service-card__curtain { position:absolute; inset:0; display:block; }
.fl-service-card__image {
  z-index:-3; background-size:cover; background-position:center;
  transform:scale(1.035); transition:transform .65s cubic-bezier(.2,.8,.2,1), filter .45s ease;
  filter:saturate(.78) brightness(.88);
}
.fl-service-card__image--placeholder { background:radial-gradient(circle at 70% 30%,color-mix(in srgb,var(--fl-accent) 35%,transparent),transparent 30%),linear-gradient(135deg,var(--fl-surface-2),var(--fl-bg)); }
.fl-service-card--laser .fl-service-card__image--placeholder { background:linear-gradient(135deg,#221d17,var(--fl-bg)); }
.fl-service-card__curtain {
  z-index:-2; background:linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,var(--service-overlay,.55)) 58%,rgba(0,0,0,var(--service-overlay,.55)) 100%);
  transition:opacity .36s ease;
}
.fl-service-card::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to top,rgba(0,0,0,.78),transparent 55%); opacity:.75; transition:opacity .36s ease; }
.fl-service-card__content { position:absolute; inset:auto clamp(24px,4vw,46px) clamp(26px,4vw,46px); display:flex; flex-direction:column; align-items:flex-start; color:white; }
.fl-service-card__eyebrow { text-transform:uppercase; letter-spacing:.14em; font-size:.75rem; font-weight:900; color:var(--fl-accent); margin-bottom:10px; }
.fl-service-card__content strong { max-width:720px; font-size:clamp(2rem,4vw,4.4rem); line-height:.98; letter-spacing:-.055em; }
.fl-service-card__description { max-width:620px; margin-top:14px; color:rgba(255,255,255,.78); font-size:1.02rem; }
.fl-service-card__cta { margin-top:24px; font-weight:900; display:inline-flex; gap:.6rem; align-items:center; }
.fl-service-card:hover,.fl-service-card:focus-visible { color:white; transform:translateY(calc(var(--service-lift,10px) * -1)) scale(1.008); border-color:color-mix(in srgb,var(--fl-accent) 45%,transparent); box-shadow:0 28px 80px rgba(0,0,0,.34); }
.fl-service-card:hover .fl-service-card__curtain,.fl-service-card:focus-visible .fl-service-card__curtain { opacity:.12; }
.fl-service-card:hover::after,.fl-service-card:focus-visible::after { opacity:.56; }
.fl-service-card:hover .fl-service-card__image,.fl-service-card:focus-visible .fl-service-card__image { transform:scale(1.0); filter:saturate(1) brightness(1); }
.fl-services-page .fl-service-card { min-height:max(520px,var(--service-height,560px)); }
.fl-page-content--after-services { padding-top:0; }

.fl-rule-summary { margin-top:20px; display:grid; gap:3px; padding:14px 16px; border:1px solid var(--fl-border); border-radius:12px; background:color-mix(in srgb,var(--fl-surface) 80%,transparent); }
.fl-rule-summary strong { font-size:.82rem; }
.fl-rule-summary span { color:var(--fl-muted); font-size:.82rem; }

@media (max-width:800px) {
  .fl-service-cards { grid-template-columns:1fr; }
  .fl-service-card,.fl-services-page .fl-service-card { min-height:460px; }
}


/* =========================================================
   ForgeLine V7 — fully exposed theme settings
   ========================================================= */
.fl-hero__fallback--image{background-size:cover!important;background-position:center!important}
.fl-home-editor-content .fl-page-content--home{width:100%;max-width:none;margin:0;padding:0}
.fl-shop-page-hero{position:relative;border:1px solid var(--fl-border);border-radius:var(--fl-radius);padding:clamp(32px,6vw,72px);margin-bottom:42px;overflow:hidden;background:linear-gradient(135deg,var(--fl-surface),color-mix(in srgb,var(--fl-bg) 75%,var(--fl-surface) 25%));background-size:cover;background-position:center}
.fl-shop-page-hero.has-image{min-height:360px;display:flex;align-items:end}
.fl-shop-page-hero__inner{position:relative;z-index:1;max-width:800px}
.fl-woo-main ul.products li.product{border-radius:var(--fl-shop-card-radius,16px)}
@media(max-width:900px){.fl-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.fl-products{grid-template-columns:1fr!important}.fl-shop-page-hero.has-image{min-height:300px}}
.fl-page-hero.has-image{min-height:420px;display:flex;align-items:end;background-size:cover;background-position:center;padding-bottom:70px}

/* ========================================================================== */
/* V8 — Editable equipment catalogue                                          */
/* ========================================================================== */
.fl-equipment-page__hero { padding-bottom: clamp(34px, 5vw, 70px); }
.fl-equipment-page__intro-copy { padding-top: 0; padding-bottom: clamp(30px, 4vw, 54px); }
.fl-equipment-page__catalog { padding-top: clamp(34px, 5vw, 72px); }
.fl-equipment-section-head { margin-bottom: clamp(28px, 4vw, 52px); }
.fl-rich-text { font-size: 1.02rem; }
.fl-rich-text > * { max-width: 900px; }
.fl-rich-text > .alignwide, .fl-rich-text > .alignfull, .fl-rich-text > .wp-block-gallery { max-width: none; }
.fl-rich-text h2, .fl-rich-text h3 { line-height: 1.08; letter-spacing: -.035em; margin-top: 1.8em; margin-bottom: .6em; }
.fl-rich-text h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.fl-rich-text h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
.fl-rich-text p, .fl-rich-text li { color: var(--fl-muted); }
.fl-rich-text strong { color: var(--fl-text); }

.fl-equipment-grid {
  display: grid;
  grid-template-columns: repeat(var(--fl-eq-columns, 2), minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}
.fl-equipment-card {
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius);
  background: color-mix(in srgb, var(--fl-surface) 88%, transparent);
  overflow: clip;
  box-shadow: 0 16px 50px rgba(0,0,0,.14);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.fl-equipment-card:hover:not([open]) {
  transform: translateY(calc(-1 * var(--fl-eq-lift, 8px)));
  border-color: color-mix(in srgb, var(--fl-accent) 42%, var(--fl-border));
  box-shadow: 0 28px 70px rgba(0,0,0,.25);
}
.fl-equipment-card[open] {
  grid-column: 1 / -1;
  border-color: color-mix(in srgb, var(--fl-accent) 42%, var(--fl-border));
  background: color-mix(in srgb, var(--fl-surface) 94%, transparent);
  box-shadow: 0 28px 84px rgba(0,0,0,.28);
}
.fl-equipment-card__summary {
  position: relative;
  display: grid;
  grid-template-rows: var(--fl-eq-card-height, 470px) auto auto auto auto;
  cursor: pointer;
  list-style: none;
  min-width: 0;
}
.fl-equipment-card__summary::-webkit-details-marker { display: none; }
.fl-equipment-card__summary::marker { display: none; content: ""; }
.fl-equipment-card__visual {
  position: relative;
  display: block;
  min-height: var(--fl-eq-card-height, 470px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb,var(--fl-surface) 65%,#fff 35%), var(--fl-surface) 70%);
}
.fl-equipment-card__image,
.fl-equipment-card__placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: clamp(18px, 3vw, 38px);
  transform: scale(1.015);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}
.fl-equipment-card__placeholder {
  background: linear-gradient(145deg, color-mix(in srgb,var(--fl-surface) 80%,var(--fl-accent) 20%), var(--fl-surface));
}
.fl-equipment-card__curtain {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,var(--fl-eq-overlay,.58));
  pointer-events: none;
  transition: opacity .35s ease;
}
.fl-equipment-card:hover .fl-equipment-card__curtain,
.fl-equipment-card[open] .fl-equipment-card__curtain { opacity: .28; }
.fl-equipment-card:hover .fl-equipment-card__image,
.fl-equipment-card[open] .fl-equipment-card__image { transform: scale(1.045); filter: saturate(1.04) contrast(1.02); }
.fl-equipment-card__topline,
.fl-equipment-card__title,
.fl-equipment-card__excerpt,
.fl-equipment-card__hint { padding-inline: clamp(20px, 2.6vw, 34px); }
.fl-equipment-card__topline {
  padding-top: 24px;
  color: var(--fl-accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 800;
}
.fl-equipment-card__title {
  padding-top: 8px;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 850;
}
.fl-equipment-card__excerpt {
  padding-top: 12px;
  color: var(--fl-muted);
  font-size: .98rem;
  line-height: 1.55;
}
.fl-equipment-card__hint {
  padding-top: 18px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  color: var(--fl-text);
}
.fl-equipment-card__hint span { color: var(--fl-accent); font-size: 1.35rem; transition: transform .28s ease; }
.fl-equipment-card[open] .fl-equipment-card__hint span { transform: rotate(45deg); }
.fl-equipment-card__expanded {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(26px, 4vw, 52px);
  border-top: 1px solid var(--fl-border);
  animation: fl-eq-open .28s ease both;
}
@keyframes fl-eq-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.fl-equipment-card__expanded-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.fl-equipment-card__expanded-copy p { color: var(--fl-muted); margin: 0 0 26px; max-width: 760px; }

.fl-equipment-specs {
  display: grid;
  border: 1px solid var(--fl-border);
  border-radius: calc(var(--fl-radius) * .8);
  overflow: hidden;
  align-self: start;
  background: color-mix(in srgb,var(--fl-bg) 36%,var(--fl-surface) 64%);
}
.fl-equipment-specs__row {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--fl-border);
}
.fl-equipment-specs__row:last-child { border-bottom: 0; }
.fl-equipment-specs__row span { color: var(--fl-muted); }
.fl-equipment-specs__row strong { color: var(--fl-text); font-weight: 750; text-align: right; }
.fl-equipment-specs--large { grid-template-columns: repeat(2,minmax(0,1fr)); background: transparent; border: 0; gap: 12px; overflow: visible; }
.fl-equipment-specs--large .fl-equipment-specs__row { border: 1px solid var(--fl-border); border-radius: 14px; background: color-mix(in srgb,var(--fl-surface) 90%,transparent); }

.fl-equipment-cta__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid color-mix(in srgb,var(--fl-accent) 25%,var(--fl-border));
  border-radius: var(--fl-radius);
  background: linear-gradient(135deg,color-mix(in srgb,var(--fl-accent) 9%,var(--fl-surface)),var(--fl-surface));
}
.fl-equipment-cta__inner .fl-title { margin-bottom: 0; }

.fl-equipment-single__hero { padding-top: clamp(60px, 8vw, 120px); }
.fl-equipment-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--fl-muted); font-size: .9rem; margin-bottom: 28px; }
.fl-equipment-breadcrumb a:hover { color: var(--fl-accent); }
.fl-equipment-single__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}
.fl-equipment-single__actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.fl-text-link { color: var(--fl-muted); font-weight: 700; }
.fl-equipment-single__image-button {
  position: relative;
  display: block;
  width: 100%;
  min-height: 480px;
  padding: 26px;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius);
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb,var(--fl-surface) 70%,#fff 30%), var(--fl-surface));
  cursor: zoom-in;
  overflow: hidden;
  color: var(--fl-text);
}
.fl-equipment-single__main-image { width: 100%; height: 500px; object-fit: contain; transition: transform .4s ease; }
.fl-equipment-single__image-button:hover .fl-equipment-single__main-image { transform: scale(1.025); }
.fl-equipment-single__zoom { position: absolute; right: 16px; bottom: 16px; padding: 8px 11px; border-radius: 999px; background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.16); font-size: .8rem; font-weight: 800; }
.fl-equipment-single__specs-section { padding-top: 20px; }
.fl-equipment-single__content-section { padding-top: 20px; }
.fl-equipment-single-content { max-width: min(calc(100% - 40px), 980px); }
.fl-equipment-single-content .wp-block-image img,
.fl-equipment-single-content .wp-block-gallery img { border-radius: 14px; cursor: zoom-in; }
.fl-equipment-single__bottom-cta { padding-top: 30px; }

.fl-lightbox[hidden] { display: none; }
.fl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
}
.fl-lightbox__image { max-width: min(96vw, 1600px); max-height: 90vh; object-fit: contain; }
.fl-lightbox__close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(20,20,20,.8);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
body.fl-lightbox-open { overflow: hidden; }

.fl-chip {
  appearance: none;
  border: 1px solid var(--fl-border);
  background: color-mix(in srgb,var(--fl-surface) 82%,transparent);
  color: var(--fl-text);
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.fl-chip:hover { transform: translateY(-1px); border-color: color-mix(in srgb,var(--fl-accent) 38%,var(--fl-border)); }
.fl-chip.is-active { background: color-mix(in srgb,var(--fl-accent) 22%,var(--fl-surface)); border-color: color-mix(in srgb,var(--fl-accent) 48%,var(--fl-border)); }
.fl-chip--ghost { color: var(--fl-muted); }
.fl-equipment-single__viewer {
  display: grid;
  gap: 16px;
}
.fl-equipment-single__viewer-stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: 560px;
  padding: 24px;
  border: 1px solid color-mix(in srgb,var(--fl-accent) 14%,var(--fl-border));
  border-radius: calc(var(--fl-radius) + 2px);
  background: linear-gradient(180deg, rgba(19,23,28,.98), rgba(10,14,18,.98));
  overflow: hidden;
  cursor: pointer;
  color: var(--fl-text);
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}
.fl-equipment-single__viewer-image {
  position: absolute;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  object-fit: contain;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .32s ease, transform .32s ease, filter .32s ease;
  filter: drop-shadow(0 24px 52px rgba(0,0,0,.34));
}
.fl-equipment-single__viewer-image.is-active {
  opacity: 1;
  transform: scale(1);
}
.fl-equipment-single__viewer-image[data-view="exploded"].is-active {
  
}
.fl-equipment-single__explode-hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 280px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.56);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--fl-text);
  font-size: .86rem;
  font-weight: 700;
}
.fl-equipment-single__viewer-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.fl-explode-modal[hidden] { display: none; }
.fl-explode-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.fl-explode-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,6,8,.84);
  backdrop-filter: blur(10px);
}
.fl-explode-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(96vw, 1480px);
  margin: 3vh auto;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb,var(--fl-accent) 14%,var(--fl-border));
  background: linear-gradient(180deg, rgba(12,15,20,.985), rgba(8,11,15,.975));
  box-shadow: 0 30px 120px rgba(0,0,0,.58);
}
.fl-explode-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: var(--fl-text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.fl-explode-modal__toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 58px 12px 6px;
  flex-wrap: wrap;
}
.fl-explode-modal__tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.fl-explode-modal__tip { color: var(--fl-muted); font-size: .92rem; }
.fl-explode-modal__viewport {
  perspective: 1400px;
  min-height: 74vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 35%, rgba(251,192,10,.11), rgba(255,255,255,.025) 34%, rgba(0,0,0,.16) 58%, rgba(0,0,0,.28) 100%);
}
.fl-explode-modal__frame {
  --rx: 0deg;
  --ry: 0deg;
  --zoom: 1;
  position: relative;
  width: min(92vw, 1280px);
  height: min(72vh, 980px);
  transform: none;
  transition: none;
}
.fl-explode-modal__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .35s ease, transform .35s ease;
  filter: drop-shadow(0 36px 74px rgba(0,0,0,.42));
}
.fl-explode-modal__image.is-active {
  opacity: 1;
  transform: scale(1);
}
.fl-explode-modal__image[data-view="exploded"].is-active {
  
}
.fl-explode-modal__caption {
  padding: 14px 8px 4px;
  color: var(--fl-muted);
  text-align: center;
  font-size: .95rem;
}
@keyframes flExplodeFloat {
  0%, 100% { transform: translateZ(40px) translateY(0) scale(1); }
  50% { transform: translateZ(56px) translateY(-8px) scale(1.01); }
}
.fl-empty-state { grid-column: 1/-1; padding: 28px; border: 1px dashed var(--fl-border); border-radius: var(--fl-radius); color: var(--fl-muted); }

@media (max-width: 980px) {
  .fl-equipment-grid { grid-template-columns: repeat(min(var(--fl-eq-columns, 2), 2), minmax(0,1fr)); }
  .fl-equipment-card__expanded,
  .fl-equipment-single__hero-grid { grid-template-columns: 1fr; }
  .fl-equipment-single__image-button { min-height: 380px; }
  .fl-equipment-single__main-image { height: 420px; }
  .fl-equipment-single__viewer-stage { min-height: 440px; }
  .fl-explode-modal__dialog { width: min(98vw, 1280px); margin: 2vh auto; }
  .fl-explode-modal__viewport { min-height: 62vh; }
  .fl-equipment-specs--large { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .fl-equipment-grid { grid-template-columns: 1fr; }
  .fl-equipment-card[open] { grid-column: auto; }
  .fl-equipment-card__summary { grid-template-rows: 330px auto auto auto auto; }
  .fl-equipment-card__visual { min-height: 330px; }
  .fl-equipment-card__expanded { grid-template-columns: 1fr; padding: 22px; }
  .fl-equipment-specs__row { grid-template-columns: 1fr; gap: 4px; }
  .fl-equipment-specs__row strong { text-align: left; }
  .fl-equipment-cta__inner { align-items: stretch; flex-direction: column; }
  .fl-equipment-single__image-button { min-height: 300px; padding: 14px; }
  .fl-equipment-single__viewer-stage { min-height: 340px; padding: 14px; }
  .fl-equipment-single__viewer-image { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
  .fl-equipment-single__main-image { height: 330px; }
  .fl-explode-modal__toolbar { padding-right: 54px; }
  .fl-explode-modal__viewport { min-height: 54vh; }
  .fl-lightbox { padding: 18px; }
}

.fl-equipment-page__hero .fl-title,
.fl-equipment-single__hero .fl-title {
  text-wrap: balance;
}
.fl-equipment-page__hero .fl-lead,
.fl-equipment-single__copy .fl-lead {
  max-width: 64ch;
}
.fl-equipment-specs--large .fl-equipment-specs__row {
  background: linear-gradient(180deg, rgba(18,22,26,.98), rgba(12,16,20,.98));
  border-color: color-mix(in srgb,var(--fl-accent) 10%,var(--fl-border));
}


/* ===== ForgeLine v14: configurators, contact, gallery, gradients ===== */
.site-header { background-color: rgba(0,0,0,.08); }
body.forgeline-page-gradient .site-header { border-bottom-color: rgba(255,255,255,.08); }
body.forgeline-page-gradient .site-footer { border-top-color: rgba(255,255,255,.10); }

.fl-config__canvas--3d,
.fl-config__canvas--laser { min-height: 560px; }
.fl-view-controls {
  position: absolute; left: 14px; top: 14px; z-index: 4;
  display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 28px);
}
.fl-view-controls button {
  appearance: none; border: 1px solid rgba(255,255,255,.14); background: rgba(7,10,13,.76); color: rgba(255,255,255,.78);
  border-radius: 999px; min-height: 34px; padding: 0 11px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; cursor: pointer;
  backdrop-filter: blur(10px); transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.fl-view-controls button:hover,.fl-view-controls button.is-active { border-color: color-mix(in srgb,var(--fl-accent) 58%,rgba(255,255,255,.18)); color: var(--fl-text); background: color-mix(in srgb,var(--fl-accent) 18%,rgba(7,10,13,.86)); }
.fl-slicer-status {
  margin-top: 18px; padding: 16px 18px; display: flex; gap: 14px; justify-content: space-between; align-items: center;
  border: 1px solid var(--fl-border); border-radius: 16px; background: rgba(255,255,255,.025);
}
.fl-slicer-status div { display:grid; gap:3px; }
.fl-slicer-status span:not(.fl-slicer-dot){ color:var(--fl-muted); font-size:.86rem; }
.fl-slicer-dot { width:11px; height:11px; border-radius:50%; flex:0 0 auto; box-shadow:0 0 18px currentColor; }
.fl-slicer-status.is-ready .fl-slicer-dot { background:#55d68d; color:#55d68d; }
.fl-slicer-status.is-waiting .fl-slicer-dot { background:#e6aa35; color:#e6aa35; }

.fl-file-rules { margin-top: 18px; border:1px solid var(--fl-border); border-radius:18px; padding:22px; background:rgba(7,10,13,.54); }
.fl-file-rules h3 { margin:.4rem 0 .7rem; }
.fl-file-rules ul { margin:0; padding-left:1.2rem; color:var(--fl-muted); }
.fl-file-rules li+li { margin-top:.42rem; }
.fl-metrics--laser { grid-template-columns:repeat(3,minmax(0,1fr)); }
.fl-layer-assignment { margin-top:18px; border:1px solid var(--fl-border); border-radius:16px; overflow:hidden; background:rgba(255,255,255,.025); }
.fl-layer-assignment__head { display:grid; gap:2px; padding:14px 16px; border-bottom:1px solid var(--fl-border); }
.fl-layer-assignment__head span { color:var(--fl-muted); font-size:.82rem; }
.fl-layer-row { display:grid; grid-template-columns:14px minmax(0,1fr) 150px; align-items:center; gap:10px; padding:11px 14px; border-bottom:1px solid rgba(255,255,255,.06); }
.fl-layer-row:last-child { border-bottom:0; }
.fl-layer-dot { width:10px;height:10px;border-radius:50%;background:var(--layer-color,#fbc00a);box-shadow:0 0 12px color-mix(in srgb,var(--layer-color,#fbc00a) 70%,transparent); }
.fl-layer-name { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fl-text);font-size:.88rem; }
.fl-layer-row select { width:100%; }
.fl-geometry-summary { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:16px; }
.fl-geometry-summary>div { display:grid; gap:3px; padding:14px 16px; border:1px solid var(--fl-border); border-radius:14px; background:rgba(255,255,255,.025); }
.fl-geometry-summary span { color:var(--fl-muted); font-size:.78rem; }
.fl-geometry-summary strong { font-size:1.05rem; }

/* Contact */
.fl-contact-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:22px; }
.fl-contact-card { border:1px solid color-mix(in srgb,var(--fl-accent) 11%,var(--fl-border)); border-radius:var(--fl-radius); padding:clamp(24px,4vw,42px); background:linear-gradient(180deg,rgba(16,20,24,.9),rgba(8,11,14,.9)); box-shadow:0 28px 70px rgba(0,0,0,.2); }
.fl-contact-card h2 { font-size:clamp(1.6rem,3vw,2.6rem); margin:.45rem 0 1.3rem; }
.fl-contact-link { display:grid; grid-template-columns:100px minmax(0,1fr) auto; gap:16px; align-items:center; padding:18px 0; border-top:1px solid var(--fl-border); }
.fl-contact-link:last-child { border-bottom:1px solid var(--fl-border); }
.fl-contact-link span { color:var(--fl-muted); font-size:.83rem; }
.fl-contact-link strong { overflow-wrap:anywhere; }
.fl-contact-link b { color:var(--fl-accent); font-size:.82rem; }
.fl-review-score { display:grid; grid-template-columns:auto 1fr; gap:4px 16px; align-items:center; margin:14px 0 18px; }
.fl-review-score>strong { font-size:3.4rem; line-height:1; letter-spacing:-.05em; }
.fl-review-score>span { color:var(--fl-accent); letter-spacing:.1em; }
.fl-review-score>small { grid-column:2;color:var(--fl-muted); }
.fl-contact-actions { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.fl-contact-map { border:1px solid var(--fl-border); border-radius:var(--fl-radius); overflow:hidden; background:var(--fl-surface); }
.fl-contact-map iframe { display:block; width:100%; height:min(58vw,620px); min-height:420px; border:0; filter:saturate(.85) contrast(1.02); }
.fl-contact-map__bar { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:18px 20px; }
.fl-contact-map__bar>div { display:grid; gap:4px; }

/* V38: collapsible company details on the Kontaktai page */
.fl-contact-company-section { padding-top:0; padding-bottom:clamp(34px,5vw,70px); }
.fl-company-details__toggle { cursor:pointer; list-style:none; user-select:none; }
.fl-company-details__toggle::-webkit-details-marker { display:none; }
.fl-company-details__less { display:none; }
.fl-company-details[open] .fl-company-details__more { display:none; }
.fl-company-details[open] .fl-company-details__less { display:inline; }
.fl-company-details__list { margin:24px 0 0; border-top:1px solid var(--fl-border); }
.fl-company-details__row { display:grid; grid-template-columns:minmax(140px,220px) minmax(0,1fr); gap:16px; padding:16px 0; border-bottom:1px solid var(--fl-border); }
.fl-company-details__row dt { color:var(--fl-muted); font-size:.88rem; }
.fl-company-details__row dd { margin:0; font-weight:700; overflow-wrap:anywhere; }
@media (max-width:680px) { .fl-company-details__row { grid-template-columns:1fr; gap:3px; } }

/* Gallery */
.fl-gallery-page-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.fl-gallery-page-item { appearance:none; border:1px solid var(--fl-border); border-radius:18px; padding:0; overflow:hidden; background:var(--fl-surface); color:var(--fl-text); cursor:zoom-in; position:relative; min-height:280px; }
.fl-gallery-page-item:nth-child(5n+1){grid-row:span 2;min-height:574px}.fl-gallery-page-item:nth-child(7n){grid-column:span 2}
.fl-gallery-page-item img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .35s ease,filter .35s ease; }
.fl-gallery-page-item::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.74),transparent 52%); }
.fl-gallery-page-item span { position:absolute; z-index:2; left:16px; right:16px; bottom:14px; text-align:left; font-weight:800; }
.fl-gallery-page-item:hover img { transform:scale(1.035); filter:saturate(1.08); }
.fl-gallery-lightbox[hidden]{display:none}.fl-gallery-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.92);backdrop-filter:blur(12px);display:grid;place-items:center;padding:40px}.fl-gallery-lightbox img{max-width:min(94vw,1600px);max-height:84vh;object-fit:contain}.fl-gallery-lightbox p{position:fixed;bottom:20px;left:20px;right:20px;text-align:center;color:rgba(255,255,255,.78)}.fl-gallery-lightbox__close{position:fixed;top:22px;right:24px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(20,20,20,.8);color:#fff;font-size:2rem;cursor:pointer}

@media(max-width:980px){.fl-contact-grid{grid-template-columns:1fr}.fl-gallery-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fl-gallery-page-item:nth-child(7n){grid-column:auto}.fl-contact-link{grid-template-columns:90px minmax(0,1fr)}.fl-contact-link b{grid-column:2}}
@media(max-width:680px){.fl-config__canvas--3d,.fl-config__canvas--laser{min-height:430px}.fl-view-controls{top:10px;left:10px}.fl-metrics--laser{grid-template-columns:1fr}.fl-layer-row{grid-template-columns:12px minmax(0,1fr);}.fl-layer-row select{grid-column:2}.fl-geometry-summary{grid-template-columns:1fr}.fl-contact-link{grid-template-columns:1fr;gap:4px}.fl-contact-link b{grid-column:auto}.fl-contact-map__bar{align-items:stretch;flex-direction:column}.fl-gallery-page-grid{grid-template-columns:1fr}.fl-gallery-page-item,.fl-gallery-page-item:nth-child(5n+1){min-height:360px;grid-row:auto}.fl-gallery-page-item:nth-child(7n){grid-column:auto}.fl-gallery-lightbox{padding:18px}}
body.forgeline-page-gradient .site-header .site-nav a,
body.forgeline-page-gradient .site-header .site-brand { text-shadow: 0 1px 14px rgba(0,0,0,.55); }


/* ===== ForgeLine v15: clearer manufacturing viewers + adaptive hero contrast ===== */
.fl-config__canvas canvas { display:block; width:100%; height:100%; }
.fl-config__canvas--laser { background:linear-gradient(180deg,rgba(9,14,18,.98),rgba(6,10,13,.98)); }
.fl-config__canvas--3d { background:linear-gradient(180deg,rgba(14,20,25,.98),rgba(8,13,17,.98)); }
.fl-contact-details-section { padding-bottom:clamp(34px,5vw,70px); }
.fl-contact-map-section { padding-top:0; padding-bottom:clamp(42px,6vw,80px); }
.fl-contact-reviews-section { padding-top:0; }
.fl-contact-card--details,.fl-contact-card--reviews { max-width:none; }
body.forgeline-page-gradient .fl-page-hero .fl-title,
body.forgeline-page-gradient .fl-page-hero .fl-lead,
body.forgeline-page-gradient .fl-page-hero .fl-kicker { transition:color .25s ease; }


/* V16 manufacturing configurator refinements */
.fl-config__canvas--3d {
  transition: background .28s ease, border-color .28s ease;
}
.fl-config__canvas--3d.is-light-preview {
  background: var(--fl-3d-light-bg, #eef2f4);
  border-color: rgba(15,23,32,.22);
}
.fl-config__canvas--3d.is-light-preview .fl-config__hint {
  background: rgba(255,255,255,.86);
  border-color: rgba(15,23,32,.16);
  color: #26313a;
}
.fl-config__canvas--3d.is-light-preview .fl-view-controls button {
  background: rgba(255,255,255,.90);
  border-color: rgba(15,23,32,.18);
  color: #17212a;
}
.fl-config__canvas--3d.is-light-preview .fl-view-controls button.is-active {
  border-color: #8a6f00;
  box-shadow: inset 0 0 0 1px rgba(138,111,0,.14);
}
.fl-auto-machine {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid color-mix(in srgb,var(--fl-accent) 22%,var(--fl-border));
  border-radius: 14px;
  background: color-mix(in srgb,var(--fl-surface) 78%,transparent);
}
.fl-auto-machine span {
  color: var(--fl-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fl-auto-machine strong {
  color: var(--fl-text);
  font-size: 1rem;
}
.fl-auto-machine small {
  color: var(--fl-muted);
  line-height: 1.45;
}

/* ===== ForgeLine v17: page-oriented controls, cleaner viewers, global CTA ===== */
.fl-hero__title {
  font-size: clamp(var(--fl-v17-hero-mobile, 52px), 7vw, var(--fl-v17-hero-desktop, 88px));
}
.fl-page-hero .fl-title,
.fl-equipment-single__hero .fl-title {
  font-size: clamp(var(--fl-v17-hero-mobile, 42px), 5vw, var(--fl-v17-hero-desktop, 64px));
}
.fl-title--small,
.fl-story .fl-title--small,
.fl-shop-section .fl-title--small,
.fl-home-services .fl-title--small,
.fl-global-cta .fl-title--small {
  font-size: clamp(var(--fl-v17-section-mobile, 34px), 4.2vw, var(--fl-v17-section-desktop, 48px));
}
.fl-page-hero .fl-lead,
.fl-hero__copy {
  font-size: clamp(var(--fl-v17-lead-mobile, 16px), 1.55vw, var(--fl-v17-lead-desktop, 19px));
}

.fl-config__preview {
  overflow: visible;
}
.fl-config__viewer {
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(180deg,rgba(11,15,19,.98),rgba(8,12,15,.98));
  transition: background .28s ease;
}
.fl-view-toolbar {
  min-height: 58px;
  padding: 11px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--fl-border);
  background: rgba(7,10,13,.94);
}
.fl-view-toolbar button {
  appearance: none;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.78);
  font: inherit;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.fl-view-toolbar button:hover,
.fl-view-toolbar button.is-active {
  border-color: color-mix(in srgb,var(--fl-accent) 58%,rgba(255,255,255,.18));
  background: color-mix(in srgb,var(--fl-accent) 15%,rgba(255,255,255,.03));
  color: var(--fl-text);
}
.fl-view-status {
  min-height: 54px;
  padding: 11px 16px;
  border-top: 1px solid var(--fl-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  align-items: center;
  background: rgba(7,10,13,.94);
  color: var(--fl-muted);
  font-size: .84rem;
}
.fl-config__viewer .fl-config__canvas {
  border-radius: 0;
  min-height: 520px;
}
.fl-config__viewer .fl-config__canvas canvas {
  min-height: 520px;
}
.fl-config__canvas .fl-view-controls,
.fl-config__canvas .fl-config__hint {
  display: none !important;
}
.fl-config__viewer.is-light-preview {
  background: var(--fl-3d-light-bg, #eef2f4);
}
.fl-config__viewer.is-light-preview .fl-config__canvas--3d {
  background: var(--fl-3d-light-bg, #eef2f4);
}
.fl-config__viewer.is-light-preview .fl-view-toolbar,
.fl-config__viewer.is-light-preview .fl-view-status {
  background: rgba(255,255,255,.94);
  border-color: rgba(15,23,32,.16);
  color: #26313a;
}
.fl-config__viewer.is-light-preview .fl-view-toolbar button {
  background: rgba(255,255,255,.96);
  color: #17212a;
  border-color: rgba(15,23,32,.18);
}
.fl-config__viewer.is-light-preview .fl-view-toolbar button.is-active {
  border-color: #8a6f00;
  background: rgba(138,111,0,.08);
}
.fl-3d-estimate-summary { margin-top: 18px; }
.fl-3d-estimate-summary strong { font-variant-numeric: tabular-nums; }

.fl-global-cta-section {
  padding-top: clamp(36px,5vw,72px);
  padding-bottom: clamp(50px,7vw,92px);
}
.fl-global-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}
.fl-global-cta__copy { max-width: 780px; }
.fl-global-cta__copy .fl-title { margin-bottom: .75rem; }
.fl-global-cta__copy p { margin: 0; max-width: 680px; color: var(--fl-muted); font-size: 1rem; line-height: 1.7; }
.fl-global-cta__actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; flex:0 0 auto; }

.fl-account-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb,var(--fl-accent) 35%,var(--fl-border));
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
  white-space: nowrap;
}

/* WooCommerce My Account foundation. */
.woocommerce-account .woocommerce {
  width: min(calc(100% - 40px), var(--fl-max));
  margin: 0 auto;
  padding: 150px 0 90px;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius);
  background: color-mix(in srgb,var(--fl-surface) 88%,transparent);
}
.woocommerce-account .woocommerce-MyAccount-navigation { padding: 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style:none; margin:0; padding:0; display:grid; gap:4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display:block; padding:11px 12px; border-radius:10px; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background:color-mix(in srgb,var(--fl-accent) 14%,transparent); color:var(--fl-text); }
.woocommerce-account .woocommerce-MyAccount-content { padding: clamp(22px,4vw,38px); }

@media (max-width: 760px) {
  .fl-config__viewer .fl-config__canvas,
  .fl-config__viewer .fl-config__canvas canvas { min-height: 410px; }
  .fl-view-status { align-items:flex-start; flex-direction:column; }
  .fl-global-cta { align-items:flex-start; flex-direction:column; }
  .fl-global-cta__actions { justify-content:flex-start; }
}

/* Home's first bright content section follows the configured gradient contrast. */
body.forgeline-gradient-home .fl-story > .fl-shell > .fl-kicker,
body.forgeline-gradient-home .fl-story > .fl-shell > .fl-title,
body.forgeline-gradient-home .fl-story .fl-story-step h3 {
  color: var(--fl-hero-contrast, var(--fl-text));
}
body.forgeline-gradient-home .fl-story .fl-story-step p {
  color: color-mix(in srgb, var(--fl-hero-contrast, var(--fl-text)) 78%, transparent);
}
@media (min-width: 901px) {
  .site-nav { display:flex; align-items:center; gap:14px; }
}
@media (max-width: 900px) {
  .site-nav .fl-account-link { margin-top:14px; }
}

/* =========================================================
   ForgeLine V21 — launch controls + responsive polish
   Built as an additive layer on top of the V19 presentation.
   ========================================================= */

/* Inquiry workflow --------------------------------------------------------- */
.fl-inquiry-form {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid color-mix(in srgb,var(--fl-accent) 28%,var(--fl-border));
  border-radius: 18px;
  background: color-mix(in srgb,var(--fl-surface) 88%,transparent);
}
.fl-inquiry-form[hidden] { display:none !important; }
.fl-inquiry-form__head { display:grid; gap:4px; margin-bottom: 6px; }
.fl-inquiry-form__head strong { font-size:1.05rem; }
.fl-inquiry-form__head span { color:var(--fl-muted); font-size:.9rem; }
.fl-inquiry-submit { margin-top:18px; }
.fl-inquiry-response { min-height:1.4em; margin-top:12px; color:var(--fl-muted); font-size:.9rem; }
.fl-inquiry-response.is-good { color:#9fe0a7; }
.fl-inquiry-response.is-bad { color:#ffb0b0; }

/* Natural, aspect-ratio-aware gallery ------------------------------------- */
.fl-gallery.fl-gallery--natural {
  display:block;
  column-count:3;
  column-gap:14px;
  grid-auto-rows:auto;
}
.fl-gallery.fl-gallery--natural .fl-gallery__item {
  display:block;
  width:100%;
  margin:0 0 14px;
  min-height:0;
  break-inside:avoid;
  grid-row:auto !important;
  grid-column:auto !important;
  background:var(--fl-surface);
}
.fl-gallery.fl-gallery--natural .fl-gallery__item::before,
.fl-gallery.fl-gallery--natural .fl-gallery__item::after { display:none; }
.fl-gallery__media { display:block; line-height:0; }
.fl-gallery.fl-gallery--natural .fl-gallery__media img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  background:color-mix(in srgb,var(--fl-surface) 94%,black 6%);
}
.fl-gallery__label {
  position:absolute;
  z-index:2;
  left:16px;
  right:16px;
  bottom:14px;
  color:#fff;
  font-weight:800;
  text-shadow:0 2px 14px rgba(0,0,0,.72);
}
.fl-gallery.fl-gallery--natural .fl-gallery__item.has-image::after {
  content:"";
  display:block;
  position:absolute;
  inset:auto 0 0;
  height:38%;
  background:linear-gradient(to top,rgba(0,0,0,.58),transparent);
  pointer-events:none;
}

.fl-gallery-page-grid.fl-gallery-page-grid--natural {
  display:block;
  column-count:3;
  column-gap:14px;
}
.fl-gallery-page-grid--natural .fl-gallery-page-item,
.fl-gallery-page-grid--natural .fl-gallery-page-item:nth-child(5n+1),
.fl-gallery-page-grid--natural .fl-gallery-page-item:nth-child(7n) {
  display:block;
  width:100%;
  min-height:0;
  margin:0 0 14px;
  break-inside:avoid;
  grid-row:auto;
  grid-column:auto;
}
.fl-gallery-page-grid--natural .fl-gallery-page-item img {
  position:relative;
  inset:auto;
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  background:color-mix(in srgb,var(--fl-surface) 94%,black 6%);
}
.fl-gallery-page-grid--natural .fl-gallery-page-item::after {
  background:linear-gradient(to top,rgba(0,0,0,.62),transparent 42%);
  pointer-events:none;
}

/* Scrollytelling: retain V19 desktop interaction, use a deliberate stacked
   presentation on touch/tablet layouts rather than a broken sticky panel. */
.fl-story-step__mobile-visual { display:none; }

/* WooCommerce / checkout -------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main {
  padding-top:clamp(125px, 11vw, 165px);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart {
  color:#f5f7f9;
  background:rgba(8,10,12,.94);
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  padding:clamp(18px,3vw,34px);
  box-shadow:0 28px 80px rgba(0,0,0,.24);
}
body.woocommerce-checkout .wc-block-checkout h1,
body.woocommerce-checkout .wc-block-checkout h2,
body.woocommerce-checkout .wc-block-checkout h3,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-order-summary__button-text,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-components-checkbox__label {
  color:#f5f7f9;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-product-metadata__description,
body.woocommerce-checkout .wc-block-components-address-form__address_2-toggle,
body.woocommerce-checkout .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-totals-coupon-link {
  color:#cbd3da;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-blocks-components-select__select,
.woocommerce-checkout form .input-text,
.woocommerce-checkout form select,
.woocommerce-checkout form textarea {
  background:#fff !important;
  color:#111820 !important;
  border:1px solid #aab4bd !important;
  border-radius:9px !important;
  min-height:48px;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox-control label,
body.woocommerce-checkout .wc-block-components-address-form label,
body.woocommerce-checkout .wc-blocks-components-select__label {
  color:#343c43 !important;
}
body.woocommerce-checkout input::placeholder,
body.woocommerce-checkout textarea::placeholder { color:#69747d !important; opacity:1; }
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-checkout__actions_row,
body.woocommerce-checkout .wc-block-components-checkout-step {
  border-color:rgba(255,255,255,.15) !important;
}
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout #place_order {
  background:var(--fl-button,var(--fl-accent)) !important;
  color:#0b0e11 !important;
  border:1px solid var(--fl-button,var(--fl-accent)) !important;
  border-radius:999px !important;
  font-weight:900 !important;
  min-height:52px;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
  color:#17212a;
  background:#fff;
  border-radius:12px;
}
body.woocommerce-checkout .wc-block-components-notice-banner a { color:#17212a; text-decoration:underline; }

/* V21 responsive pass ----------------------------------------------------- */
@media (max-width: 1100px) {
  .fl-gallery.fl-gallery--natural,
  .fl-gallery-page-grid.fl-gallery-page-grid--natural { column-count:2; }

  .fl-equipment-single__hero-grid { gap:26px; }
  .fl-equipment-single__viewer-stage { min-height:420px; }
}

@media (max-width: 900px) {
  .site-header__inner { min-height:70px; }
  .custom-logo { max-height:48px; max-width:min(220px,48vw); }
  .nav-toggle { position:relative; z-index:3; }
  .site-nav {
    top:72px;
    max-height:calc(100vh - 96px);
    overflow:auto;
    box-shadow:0 22px 60px rgba(0,0,0,.36);
  }
  .site-nav ul { gap:3px; }
  .site-nav li { width:100%; }
  .site-nav a:not(.fl-account-link) { display:block; width:100%; padding:10px 8px; font-size:1rem; }

  .fl-hero { min-height:auto; }
  .fl-hero__content { min-height:760px; padding-top:150px; display:flex; flex-direction:column; justify-content:flex-end; }
  .fl-hero__title { max-width:850px; }
  .fl-hero__meta { margin-top:38px; }
  .fl-hero__meta div { padding:15px 0; border-bottom:1px solid color-mix(in srgb,var(--fl-border) 82%,transparent); }

  .fl-story__grid { display:block; }
  .fl-story__visual { display:none; }
  .fl-story__steps { display:grid; gap:22px; padding-top:30px; }
  .fl-story-step,
  .fl-story-step.is-active {
    min-height:0;
    padding:0;
    opacity:1;
    transform:none;
  }
  .fl-story-step__mobile-visual {
    position:relative;
    display:flex;
    min-height:clamp(270px,52vw,440px);
    padding:22px;
    margin-bottom:22px;
    flex-direction:column;
    justify-content:flex-end;
    gap:4px;
    overflow:hidden;
    border:1px solid var(--fl-border);
    border-radius:var(--fl-radius);
    background:
      radial-gradient(circle at 68% 30%,color-mix(in srgb,var(--fl-accent) 20%,transparent),transparent 28%),
      linear-gradient(145deg,var(--fl-surface-2),var(--fl-surface));
    background-size:cover;
    background-position:center;
    box-shadow:var(--fl-shadow);
    color:#fff;
    isolation:isolate;
  }
  .fl-story-step__mobile-visual::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(to top,rgba(0,0,0,.86),rgba(0,0,0,.08) 65%);
  }
  .fl-story-step__mobile-visual span { color:var(--fl-accent); text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; font-weight:900; }
  .fl-story-step__mobile-visual strong { font-size:clamp(1.35rem,4vw,2.1rem); line-height:1.05; }
  .fl-story-step h3 { font-size:clamp(2rem,8vw,3.6rem); }

  .fl-config { gap:22px; }
  .fl-config__preview { position:relative; top:auto; min-height:0; }
  .fl-config__viewer { overflow:hidden; }
  .fl-view-toolbar { overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:thin; }
  .fl-view-toolbar button { flex:0 0 auto; }
  .fl-config__canvas--3d,
  .fl-config__canvas--laser { min-height:clamp(390px,68vw,540px); }
  .fl-config__canvas canvas { height:clamp(390px,68vw,540px); }
  .fl-view-status { gap:6px; }
  .fl-config__panel { padding:clamp(18px,4vw,26px); }

  .fl-service-card,.fl-services-page .fl-service-card { min-height:min(560px,72vw); }
  .fl-service-card__content { inset:auto 24px 28px; }
  .fl-service-card__content strong { font-size:clamp(2rem,7vw,3.6rem); }

  .fl-global-cta { align-items:flex-start; }
  .fl-global-cta__actions { justify-content:flex-start; }

  body.woocommerce-checkout .wp-block-woocommerce-checkout,
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-cart .wp-block-woocommerce-cart { padding:18px; border-radius:18px; }
}

@media (max-width: 680px) {
  .fl-shell { width:min(calc(100% - 28px),var(--fl-max)); }
  .site-header__inner { min-height:64px; gap:12px; }
  .site-nav { top:66px; left:14px; right:14px; }
  .custom-logo { max-height:42px; max-width:52vw; }
  .nav-toggle { padding:7px 10px; }

  .fl-section { padding:clamp(44px,12vw,70px) 0; }
  .fl-page-hero { padding:125px 0 42px; }
  .fl-hero__content { min-height:690px; padding:130px 0 34px; }
  .fl-hero__title { font-size:clamp(3rem,15vw,4.9rem); }
  .fl-hero__copy { font-size:1rem; }
  .fl-hero__actions { align-items:stretch; }
  .fl-hero__actions .fl-button { width:100%; }
  .fl-hero__meta { margin-top:28px; }

  .fl-gallery.fl-gallery--natural,
  .fl-gallery-page-grid.fl-gallery-page-grid--natural { column-count:1; }
  .fl-gallery.fl-gallery--natural .fl-gallery__item,
  .fl-gallery-page-grid--natural .fl-gallery-page-item { margin-bottom:12px; }
  .fl-gallery.fl-gallery--natural .fl-gallery__media img,
  .fl-gallery-page-grid--natural .fl-gallery-page-item img { max-height:none; }

  .fl-service-card,.fl-services-page .fl-service-card { min-height:470px; }
  .fl-service-card__content { inset:auto 20px 24px; }
  .fl-service-card__description { font-size:.94rem; }

  .fl-config__canvas--3d,
  .fl-config__canvas--laser,
  .fl-config__canvas canvas { min-height:360px; height:360px; }
  .fl-field-grid { grid-template-columns:1fr; gap:0; }
  .fl-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .fl-metric { padding:9px; min-width:0; }
  .fl-metric strong { overflow-wrap:anywhere; font-size:.88rem; }
  .fl-geometry-summary { grid-template-columns:1fr; }
  .fl-estimate { align-items:stretch; flex-direction:column; }
  .fl-estimate .fl-button { width:100%; }
  .fl-inquiry-submit { width:100%; }

  .fl-contact-card { padding:22px 18px; }
  .fl-contact-map iframe { min-height:330px; height:72vw; }
  .fl-contact-actions .fl-button { width:100%; }

  .fl-equipment-card__summary { grid-template-rows:minmax(250px,62vw) auto auto auto auto; }
  .fl-equipment-card__visual { min-height:250px; }
  .fl-equipment-single__viewer-stage { min-height:300px; }
  .fl-equipment-single__viewer-controls { flex-wrap:wrap; }
  .fl-equipment-single__explode-hint { max-width:calc(100% - 28px); font-size:.72rem; }
  .fl-explode-modal__dialog { width:calc(100vw - 20px); max-height:calc(100vh - 20px); }
  .fl-explode-modal__toolbar { gap:8px; align-items:flex-start; flex-direction:column; }

  .fl-global-cta__actions { width:100%; }
  .fl-global-cta__actions .fl-button { flex:1 1 100%; }
  .fl-cta { padding:28px 20px; }

  body.woocommerce-checkout .site-main,
  body.woocommerce-cart .site-main { padding-top:115px; width:min(calc(100% - 20px),var(--fl-max)); }
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar { width:100% !important; padding-left:0 !important; padding-right:0 !important; }
}
.fl-inquiry-response.is-success { color:#9fe0a7; }
.fl-inquiry-response.is-error { color:#ffb0b0; }


/* =========================================================
   ForgeLine V22 — SEO/legal launch refinement
   ========================================================= */
.fl-gallery.fl-gallery--natural button.fl-gallery__item {
  appearance:none;
  padding:0;
  border:1px solid var(--fl-border);
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:zoom-in;
}
.fl-gallery-more { display:flex; justify-content:flex-end; margin-top:22px; }
.site-footer__legal-row { margin-top:24px; padding-top:20px; border-top:1px solid var(--fl-border); }
.site-footer__legal { display:flex; flex-wrap:wrap; gap:10px 20px; font-size:.92rem; }
.site-footer__legal a { text-decoration:underline; text-decoration-color:color-mix(in srgb,var(--fl-accent) 38%,transparent); text-underline-offset:3px; }
.fl-inquiry-privacy { margin:14px 0 0; color:var(--fl-muted); font-size:.83rem; line-height:1.55; }
.fl-inquiry-privacy a { color:var(--fl-text); text-decoration:underline; text-underline-offset:3px; }
.fl-contact-map iframe[hidden] { display:none !important; }
.fl-contact-map__consent {
  min-height:min(58vw,520px);
  padding:clamp(28px,6vw,72px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  background:radial-gradient(circle at 15% 10%,color-mix(in srgb,var(--fl-accent) 12%,transparent),transparent 35%),var(--fl-surface);
}
.fl-contact-map__consent[hidden] { display:none !important; }
.fl-contact-map__consent h2 { margin:.45rem 0 .65rem; font-size:clamp(1.7rem,3.2vw,3rem); }
.fl-contact-map__consent p { max-width:680px; margin:0 0 12px; color:var(--fl-muted); }
@media(max-width:680px){
  .fl-gallery-more{justify-content:stretch}.fl-gallery-more .fl-button{width:100%}
  .site-footer__legal{flex-direction:column;gap:8px}
  .fl-contact-map__consent{min-height:330px;align-items:flex-start;flex-direction:column;justify-content:center}
}

/* V29 checkout refinements */
body.woocommerce-checkout .fl-billing-proxy{
  display:flex;
  align-items:center;
  gap:.65rem;
  margin:.45rem 0 1rem;
  color:#f5f7f9;
  font-weight:600;
  cursor:pointer;
}
body.woocommerce-checkout .fl-billing-proxy input{
  width:18px;
  height:18px;
  accent-color:var(--fl-accent);
  cursor:pointer;
}

/* V32 checkout delivery selector visibility */
body.woocommerce-checkout .wc-block-checkout__shipping-method-option {
  position:relative;
  background:#17191c !important;
  color:#f5f7f9 !important;
  border:2px solid transparent !important;
  border-radius:8px !important;
  transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.woocommerce-checkout .wc-block-checkout__shipping-method-option * {
  color:inherit !important;
}
body.woocommerce-checkout .wc-block-checkout__shipping-method-option--selected {
  background:#fff !important;
  color:#0b0e11 !important;
  border-color:var(--fl-accent) !important;
  box-shadow:0 0 0 1px var(--fl-accent) !important;
  padding-right:52px !important;
}
body.woocommerce-checkout .wc-block-checkout__shipping-method-option--selected::after {
  content:'✓';
  position:absolute;
  top:50%;
  right:16px;
  transform:translateY(-50%);
  width:26px;
  height:26px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--fl-accent);
  color:#0b0e11 !important;
  font-size:17px;
  line-height:1;
  font-weight:900;
  pointer-events:none;
}

/* =========================================================
   ForgeLine V34 — E-shop storefront refinement
   ========================================================= */
/* Header cart */
.site-nav { margin-left:auto; }
.fl-header-cart {
  position:relative;
  flex:0 0 auto;
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  color:#fff;
  background:rgba(8,10,12,.28);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.fl-header-cart:hover { color:#fff; transform:translateY(-2px); border-color:var(--fl-accent); background:rgba(8,10,12,.62); }
.fl-header-cart__icon { width:23px; height:23px; }
.fl-header-cart__count {
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:22px;
  height:22px;
  padding:0 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--fl-accent);
  color:#0b0e11;
  border:2px solid #0b0e11;
  font-size:.72rem;
  line-height:1;
  font-weight:900;
}
.fl-header-cart__count[hidden] { display:none !important; }

/* Shop archive */
.fl-shop-layout {
  display:grid;
  grid-template-columns:minmax(210px,260px) minmax(0,1fr);
  gap:28px;
  align-items:start;
  clear:both;
}
.fl-shop-products-wrap { min-width:0; }
.fl-shop-filter-toggle { display:none; }
.fl-shop-filters {
  position:sticky;
  top:108px;
  padding:20px;
  border:1px solid var(--fl-border);
  border-radius:18px;
  background:rgba(10,13,16,.92);
  box-shadow:0 18px 50px rgba(0,0,0,.18);
}
.fl-shop-filters__head { margin-bottom:16px; font-size:1.15rem; color:#fff; }
.fl-shop-filter-group { margin:0; padding:16px 0; border:0; border-top:1px solid var(--fl-border); }
.fl-shop-filter-group legend { padding:0; color:#fff; font-size:.9rem; font-weight:800; }
.fl-shop-filter-options { display:grid; gap:9px; margin-top:10px; }
.fl-shop-filter-options label { display:flex; align-items:center; gap:9px; color:var(--fl-muted); cursor:pointer; }
.fl-shop-filter-options label:hover { color:#fff; }
.fl-shop-filter-options input { width:17px; height:17px; accent-color:var(--fl-accent); }
.fl-shop-filter-actions { display:grid; gap:10px; margin-top:16px; }
.fl-shop-filter-actions .fl-button { width:100%; min-height:44px; }
.fl-shop-filter-clear { text-align:center; color:var(--fl-muted); font-size:.9rem; text-decoration:underline; text-underline-offset:3px; }

.woocommerce .fl-shop-products-wrap ul.products,
.woocommerce-page .fl-shop-products-wrap ul.products {
  display:grid !important;
  grid-template-columns:repeat(var(--fl-shop-columns,3),minmax(0,1fr));
  gap:22px;
  margin:0 !important;
}
.woocommerce .fl-shop-products-wrap ul.products::before,
.woocommerce .fl-shop-products-wrap ul.products::after { display:none !important; }
.woocommerce .fl-shop-products-wrap ul.products li.product,
.woocommerce-page .fl-shop-products-wrap ul.products li.product {
  width:auto !important;
  float:none !important;
  margin:0 !important;
  padding:14px !important;
  display:flex;
  flex-direction:column;
  background:var(--fl-surface);
  border:1px solid var(--fl-border);
  border-radius:var(--fl-shop-card-radius,16px);
  overflow:hidden;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.woocommerce .fl-shop-products-wrap ul.products li.product:hover,
.woocommerce-page .fl-shop-products-wrap ul.products li.product:hover {
  transform:translateY(-7px);
  border-color:color-mix(in srgb,var(--fl-accent) 48%,transparent);
  box-shadow:0 22px 55px rgba(0,0,0,.26);
}
.woocommerce .fl-shop-products-wrap ul.products li.product a img {
  border-radius:12px;
  transition:transform .35s ease;
}
.woocommerce .fl-shop-products-wrap ul.products li.product:hover a img { transform:scale(1.025); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color:#fff; font-weight:800; }
.woocommerce ul.products li.product .price { color:#fff !important; font-size:1.05rem; font-weight:900; }
.woocommerce ul.products li.product .button {
  margin-top:auto;
  align-self:flex-start;
  background:var(--fl-accent) !important;
  color:#0b0e11 !important;
  border:1px solid var(--fl-accent) !important;
  border-radius:999px !important;
}

/* Add-to-cart notice */
.woocommerce-message { border:1px solid color-mix(in srgb,var(--fl-accent) 55%,var(--fl-border)); }
.woocommerce-message .button.wc-forward {
  background:var(--fl-accent) !important;
  color:#0b0e11 !important;
  border-radius:999px !important;
}

/* Single product */
.single-product div.product { color:#fff; }
.single-product div.product .summary { color:#fff; }
.single-product div.product p.price,
.single-product div.product span.price {
  color:#fff !important;
  font-size:clamp(1.65rem,3vw,2.4rem) !important;
  line-height:1.05;
  font-weight:900 !important;
  margin:.6rem 0 1.3rem !important;
}
.single-product div.product form.cart { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.single-product div.product form.cart .quantity .qty {
  min-height:52px;
  width:72px;
  background:#0b0e11;
  color:#fff;
  border:1px solid var(--fl-border);
}
.single-product div.product form.cart .single_add_to_cart_button {
  min-height:52px;
  padding:0 1.35rem !important;
  background:var(--fl-accent) !important;
  color:#0b0e11 !important;
  border:1px solid var(--fl-accent) !important;
  border-radius:999px !important;
  font-weight:900 !important;
}
.single-product div.product .product_meta { display:none !important; }
.fl-product-meta { margin-top:20px; color:var(--fl-muted); font-size:.92rem; }
.fl-product-meta span { color:#fff; font-weight:700; }
.fl-product-meta a { text-decoration:underline; text-underline-offset:3px; }
.woocommerce div.product .woocommerce-tabs { display:none !important; }
.fl-product-sections {
  clear:both;
  display:grid;
  gap:28px;
  padding-top:42px;
  margin-top:42px;
  border-top:1px solid var(--fl-border);
}
.fl-product-section {
  padding:clamp(22px,3vw,34px);
  border:1px solid var(--fl-border);
  border-radius:20px;
  background:rgba(10,13,16,.62);
}
.fl-product-section h2 { margin:0 0 18px; color:#fff; font-size:clamp(1.45rem,2.8vw,2rem); }
.fl-product-section__content { color:rgba(255,255,255,.88); }
.fl-product-section__content > :first-child { margin-top:0; }
.fl-product-section__content > :last-child { margin-bottom:0; }
.fl-product-section table.shop_attributes { width:100%; border-collapse:collapse; }
.fl-product-section table.shop_attributes th,
.fl-product-section table.shop_attributes td { padding:12px 10px; border-bottom:1px solid var(--fl-border); color:#fff; }
.fl-product-section table.shop_attributes th { width:32%; text-align:left; color:var(--fl-muted); }

/* Product gallery */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius:16px; overflow:hidden; background:#fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  width:42px;
  height:42px;
  top:14px;
  right:14px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--fl-accent) !important;
  color:#0b0e11 !important;
  box-shadow:0 8px 26px rgba(0,0,0,.2);
}
.woocommerce div.product div.images .flex-control-thumbs { display:flex; gap:9px; margin-top:10px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { float:none !important; width:86px !important; }
.woocommerce div.product div.images .flex-control-thumbs img {
  border:2px solid transparent;
  border-radius:10px;
  opacity:.72;
  transition:border-color .2s ease,opacity .2s ease,transform .2s ease;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover {
  border-color:var(--fl-accent);
  opacity:1;
  transform:translateY(-2px);
}

/* Cart block */
body.woocommerce-cart .wp-block-woocommerce-cart { color:#fff; }
body.woocommerce-cart .wc-block-cart-items__header,
body.woocommerce-cart .wc-block-cart-item__product,
body.woocommerce-cart .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-title,
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value { color:#fff !important; }
body.woocommerce-cart .wc-block-components-product-metadata__description,
body.woocommerce-cart .wc-block-components-product-metadata { color:var(--fl-muted) !important; }
body.woocommerce-cart .wc-block-components-quantity-selector {
  background:#0b0e11;
  border:1px solid var(--fl-border) !important;
  border-radius:9px;
}
body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector button { color:#fff !important; }
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-cart .wp-element-button {
  min-height:50px;
  background:var(--fl-accent) !important;
  color:#0b0e11 !important;
  border:1px solid var(--fl-accent) !important;
  border-radius:999px !important;
  font-weight:900 !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon-link { color:var(--fl-accent) !important; }
body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-totals-coupon__input input {
  background:#fff !important;
  color:#17212a !important;
  border-radius:9px !important;
}
body.woocommerce-cart .wc-block-cart__empty-cart__title { color:#fff !important; }

@media (max-width: 1000px) {
  .woocommerce .fl-shop-products-wrap ul.products,
  .woocommerce-page .fl-shop-products-wrap ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .site-brand { margin-right:auto; }
  .fl-header-cart { order:2; width:42px; height:42px; }
  .nav-toggle { order:3; }
  .site-nav { order:4; }

  .fl-shop-layout { display:block; }
  .fl-shop-filter-toggle {
    width:100%;
    min-height:48px;
    margin-bottom:14px;
    padding:0 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:1px solid var(--fl-border);
    border-radius:12px;
    background:var(--fl-surface);
    color:#fff;
    font-weight:800;
  }
  .fl-shop-filters { position:relative; top:auto; display:none; margin-bottom:22px; }
  .fl-shop-filters.is-open { display:block; }
}
@media (max-width: 620px) {
  .woocommerce .fl-shop-products-wrap ul.products,
  .woocommerce-page .fl-shop-products-wrap ul.products { grid-template-columns:1fr; }
  .fl-product-section { padding:20px 16px; }
  .woocommerce div.product div.images .flex-control-thumbs li { width:72px !important; }
}
.fl-shop-no-results-clear { margin:18px 0 0; }

/* =========================================================
   ForgeLine V35 — storefront visual continuity and cart polish
   ========================================================= */
/* Woo archive without a filter sidebar still gets the same grid/card styling.
   V34's more specific rules apply only when .fl-shop-products-wrap exists. */
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products,
body.woocommerce.archive ul.products {
  display:grid !important;
  grid-template-columns:repeat(var(--fl-shop-columns,3),minmax(0,1fr));
  gap:22px;
  margin:0 !important;
}
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after { display:none !important; }
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product,
body.woocommerce.archive ul.products li.product {
  position:relative;
  isolation:isolate;
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:14px !important;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--fl-border);
  border-radius:var(--fl-shop-card-radius,16px);
  background:var(--fl-surface);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
/* Includes listings wrapped with the V34 filters sidebar. */
.woocommerce .fl-shop-products-wrap ul.products li.product { position:relative; isolation:isolate; }
body.post-type-archive-product ul.products li.product::after,
body.tax-product_cat ul.products li.product::after,
body.tax-product_tag ul.products li.product::after,
.woocommerce .fl-shop-products-wrap ul.products li.product::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  border-radius:inherit;
  background:radial-gradient(ellipse at 50% 41%, transparent 36%, rgba(0,0,0,.24) 100%);
  opacity:.75;
  transition:opacity .28s ease;
}
body.post-type-archive-product ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:focus-within,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_cat ul.products li.product:focus-within,
body.tax-product_tag ul.products li.product:hover,
body.tax-product_tag ul.products li.product:focus-within,
.woocommerce .fl-shop-products-wrap ul.products li.product:hover,
.woocommerce .fl-shop-products-wrap ul.products li.product:focus-within {
  transform:translateY(-7px);
  border-color:var(--fl-accent);
  box-shadow:0 24px 52px rgba(0,0,0,.32);
}
body.post-type-archive-product ul.products li.product:hover::after,
body.post-type-archive-product ul.products li.product:focus-within::after,
body.tax-product_cat ul.products li.product:hover::after,
body.tax-product_cat ul.products li.product:focus-within::after,
body.tax-product_tag ul.products li.product:hover::after,
body.tax-product_tag ul.products li.product:focus-within::after,
.woocommerce .fl-shop-products-wrap ul.products li.product:hover::after,
.woocommerce .fl-shop-products-wrap ul.products li.product:focus-within::after { opacity:0; }
body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.tax-product_tag ul.products li.product img {
  border-radius:12px;
  transition:transform .32s ease;
}
body.post-type-archive-product ul.products li.product:hover img,
body.tax-product_cat ul.products li.product:hover img,
body.tax-product_tag ul.products li.product:hover img { transform:scale(1.025); }

/* No customer-facing weight row, including markup from Woo extensions. */
body.single-product .woocommerce-product-attributes-item--weight,
body.single-product tr.woocommerce-product-attributes-item--weight { display:none !important; }

/* The original modern Cart Block is kept; its checkout link is repaired in v35. */
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:focus-visible {
  background:var(--fl-accent) !important;
  color:#0b0e11 !important;
  border:1px solid var(--fl-accent) !important;
  border-radius:999px !important;
  font-weight:900 !important;
}
body.woocommerce-cart .wc-block-cart__submit-button:focus-visible {
  outline:3px solid #fff;
  outline-offset:3px;
}
@media (max-width:1000px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:620px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {grid-template-columns:1fr;}
}
@media (prefers-reduced-motion: reduce) {
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product,
  .woocommerce .fl-shop-products-wrap ul.products li.product,
  body.post-type-archive-product ul.products li.product::after,
  body.tax-product_cat ul.products li.product::after,
  body.tax-product_tag ul.products li.product::after,
  .woocommerce .fl-shop-products-wrap ul.products li.product::after { transition:none !important; }
}
