/*
Theme Name: Fore Offical Corporate
Theme URI: https://foreoffical.com/
Author: Fore Offical
Description: A modern, responsive corporate catalogue theme for Fore Offical private-label sportswear manufacturing.
Version: 1.5.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fore-offical
*/

:root {
  --fore-red: #b42335;
  --fore-red-dark: #8f1727;
  --fore-ink: #121820;
  --fore-slate: #53606d;
  --fore-line: #dfe4e8;
  --fore-paper: #f6f7f5;
  --fore-white: #ffffff;
  --fore-soft: #ecefed;
  --fore-radius: 20px;
  --fore-shadow: 0 20px 60px rgba(18, 24, 32, 0.10);
  --fore-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fore-ink);
  background: var(--fore-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 99999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: #fff;
  background: var(--fore-ink);
}

.container { width: min(calc(100% - 40px), var(--fore-container)); margin-inline: auto; }
.section { padding: 100px 0; }
.section--soft { background: var(--fore-paper); }
.section--dark { color: var(--fore-white); background: var(--fore-ink); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--fore-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { width: 26px; height: 2px; content: ""; background: currentColor; }
.section--dark .eyebrow { color: #ff9aa7; }
h1, h2, h3, h4 { margin: 0 0 18px; line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.9rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 20px; }
.lead { color: var(--fore-slate); font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
.section--dark .lead { color: #cbd2d8; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 23px;
  border: 1px solid var(--fore-red);
  border-radius: 999px;
  color: var(--fore-white);
  background: var(--fore-red);
  font-size: 0.92rem;
  font-weight: 750;
  transition: 180ms ease;
}
.button:hover, .button:focus-visible { border-color: var(--fore-red-dark); background: var(--fore-red-dark); transform: translateY(-2px); }
.button--ghost { color: var(--fore-ink); border-color: #cbd1d5; background: transparent; }
.button--ghost:hover, .button--ghost:focus-visible { color: var(--fore-white); border-color: var(--fore-ink); background: var(--fore-ink); }
.button--light { color: var(--fore-ink); border-color: var(--fore-white); background: var(--fore-white); }
.button--light:hover, .button--light:focus-visible { color: var(--fore-white); border-color: var(--fore-red); background: var(--fore-red); }
.button--whatsapp { gap: 9px; border-color: #167447; background: #167447; }
.button--whatsapp:hover, .button--whatsapp:focus-visible { border-color: #0f5d38; background: #0f5d38; }
.button--whatsapp span { font-size: 1rem; }
.button--small { min-height: 42px; padding: 10px 17px; font-size: 0.84rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(18, 24, 32, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; min-height: 78px; align-items: center; gap: 24px; }
.brand { display: inline-flex; min-width: 0; align-items: center; margin-right: auto; }
.fore-logo { display: inline-flex; align-items: center; line-height: 1; }
.fore-logo-image { display: block; width: 190px; height: auto; }
.fore-logo--footer .fore-logo-image { width: 230px; max-width: 100%; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; padding: 27px 0 24px; color: #3f4953; font-size: 0.9rem; font-weight: 700; }
.site-nav a::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; content: ""; background: var(--fore-red); transform: scaleX(0); transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.language-switcher { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--fore-line); border-radius: 999px; background: var(--fore-paper); }
.language-link { display: grid; min-width: 32px; min-height: 30px; padding: 0 8px; place-items: center; border-radius: 999px; color: var(--fore-slate); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.05em; transition: 160ms ease; }
.language-link:hover, .language-link:focus-visible { color: var(--fore-red); background: #fff; }
.language-link.is-active { color: #fff; background: var(--fore-ink); }
.language-switcher--mobile { display: none; }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--fore-line); border-radius: 50%; background: #fff; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 19px; height: 2px; margin: 4px auto; content: ""; background: var(--fore-ink); transition: 180ms ease; }

.hero { position: relative; overflow: hidden; padding: 90px 0 80px; background: linear-gradient(135deg, #f8f8f6 0%, #ecefed 100%); }
.hero::after { position: absolute; top: -180px; right: -100px; width: 480px; height: 480px; border: 80px solid rgba(180, 35, 53, 0.05); border-radius: 50%; content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; align-items: center; gap: 70px; grid-template-columns: 1.05fr 0.95fr; }
.hero-copy { max-width: 660px; }
.hero-copy h1 strong { color: var(--fore-red); font-weight: 850; }
.hero-media { position: relative; }
.hero-media::before { position: absolute; z-index: -1; right: -22px; bottom: -22px; width: 70%; height: 70%; border-radius: var(--fore-radius); content: ""; background: var(--fore-red); }
.hero-media img { width: 100%; min-height: 430px; border-radius: var(--fore-radius); box-shadow: var(--fore-shadow); object-fit: cover; }
.factory-sign-image { object-fit: contain !important; object-position: center !important; }
.hero-media .factory-sign-image { height: auto; min-height: 0; background: #fff; }
.hero-badge { position: relative; max-width: none; margin-top: 16px; padding: 17px 20px; border-radius: 14px; color: #fff; background: rgba(18, 24, 32, 0.96); }
.hero-badge strong, .hero-badge span { display: block; }
.hero-badge strong { font-size: 1.02rem; }
.hero-badge span { margin-top: 3px; color: #d8dde1; font-size: 0.82rem; }

.stats-strip { border-bottom: 1px solid var(--fore-line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; border-right: 1px solid var(--fore-line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--fore-red); font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--fore-slate); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.category-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.category-card { min-height: 250px; padding: 32px; border: 1px solid var(--fore-line); border-radius: var(--fore-radius); background: #fff; transition: 180ms ease; }
.category-card:hover { border-color: rgba(180, 35, 53, 0.42); box-shadow: 0 16px 40px rgba(18, 24, 32, 0.08); transform: translateY(-5px); }
.category-icon { display: grid; width: 52px; height: 52px; margin-bottom: 38px; place-items: center; border-radius: 14px; color: var(--fore-red); background: #f8e9eb; font-size: 1rem; font-weight: 900; }
.category-card p { color: var(--fore-slate); font-size: 0.93rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--fore-red); font-size: 0.88rem; font-weight: 800; }
.text-link::after { content: "→"; transition: transform 180ms ease; }
.text-link:hover::after { transform: translateX(4px); }

.split { display: grid; align-items: center; gap: 72px; grid-template-columns: 0.95fr 1.05fr; }
.split.reverse { grid-template-columns: 1.05fr 0.95fr; }
.split-media { position: relative; }
.split-media img { width: 100%; min-height: 500px; border-radius: var(--fore-radius); box-shadow: var(--fore-shadow); object-fit: cover; }
.split-media--factory { overflow: hidden; border-radius: var(--fore-radius); background: var(--fore-paper); box-shadow: var(--fore-shadow); }
.split-media--factory .factory-sign-image { width: 100%; height: auto; min-height: 0; border-radius: 0; background: var(--fore-paper); box-shadow: none; }
.split-media .media-note { position: absolute; right: -22px; bottom: 28px; max-width: 250px; padding: 22px; border-radius: 14px; color: #fff; background: var(--fore-red); }
.check-list { display: grid; gap: 13px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; font-weight: 650; }
.check-list li::before { position: absolute; top: 2px; left: 0; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #fff; content: "✓"; background: var(--fore-red); font-size: 0.72rem; }

.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.product-card { overflow: hidden; border: 1px solid var(--fore-line); border-radius: 18px; background: #fff; transition: 200ms ease; }
.product-card:hover { box-shadow: 0 18px 42px rgba(18, 24, 32, 0.11); transform: translateY(-5px); }
.product-image { position: relative; display: grid; overflow: hidden; aspect-ratio: 4 / 5; padding: 12px; place-items: center; background: var(--fore-soft); }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 300ms ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-tag { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(18, 24, 32, 0.84); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.product-variant-count { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; border: 1px solid rgba(255,255,255,0.65); border-radius: 999px; color: var(--fore-ink); background: rgba(255,255,255,0.92); box-shadow: 0 6px 18px rgba(18,24,32,0.10); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.02em; }
.product-body { padding: 20px; }
.product-body h3 { display: -webkit-box; min-height: 3.45em; overflow: hidden; margin-bottom: 7px; font-size: 1.05rem; letter-spacing: -0.02em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-meta { margin-bottom: 16px; color: var(--fore-slate); font-size: 0.82rem; }
.product-collection { margin: 0 0 9px; color: var(--fore-red); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.product-excerpt { display: -webkit-box; min-height: 4.4em; overflow: hidden; margin: 0 0 18px; color: var(--fore-slate); font-size: 0.84rem; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-card[hidden] { display: none; }

.process-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid #343c45; border-radius: var(--fore-radius); background: #343c45; grid-template-columns: repeat(3, 1fr); }
.process-card { min-height: 220px; padding: 30px; background: var(--fore-ink); }
.process-number { display: block; margin-bottom: 34px; color: #ff9aa7; font-size: 1.75rem; font-weight: 850; }
.process-card p { color: #bfc7ce; font-size: 0.91rem; }

.materials { display: grid; align-items: stretch; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.material-intro, .material-card { border: 1px solid var(--fore-line); border-radius: 18px; }
.material-intro {
  position: relative;
  display: grid;
  min-height: 410px;
  overflow: hidden;
  align-items: stretch;
  gap: 36px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  padding: 34px;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--fore-red) 0%, var(--fore-red-dark) 100%);
}
.material-intro::after { position: absolute; top: -105px; right: -70px; width: 320px; height: 320px; border: 64px solid rgba(255,255,255,0.09); border-radius: 50%; content: ""; }
.material-intro > * { position: relative; z-index: 1; }
.material-intro-copy { display: flex; max-width: 800px; padding: 14px 6px 14px 10px; flex-direction: column; justify-content: center; }
.material-intro .eyebrow { color: #ffd4da; }
.material-intro h3 { max-width: 760px; margin-bottom: 16px; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.material-intro p:last-child { max-width: 760px; margin: 0; color: #f6dfe2; }
.material-count { display: inline-flex; width: fit-content; min-height: 0; align-items: center; gap: 12px; margin-top: 26px; padding: 10px 17px; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; background: rgba(255,255,255,0.09); backdrop-filter: blur(8px); }
.material-count strong, .material-count span { display: block; }
.material-count strong { font-size: 1.45rem; line-height: 1; }
.material-count span { max-width: none; margin: 0; color: #f8dfe2; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.25; text-transform: uppercase; }
.material-factory-photo { position: relative; z-index: 2; display: grid; min-height: 342px; overflow: hidden; padding: 12px; place-items: center; border: 1px solid rgba(255,255,255,0.28); border-radius: 17px; background: #fff; box-shadow: 0 24px 55px rgba(75, 8, 18, 0.24); }
.material-factory-photo .factory-sign-image { width: 100%; height: 100%; max-height: 390px; border-radius: 10px; background: var(--fore-paper); }
.material-card { position: relative; min-height: 210px; padding: 28px; background: #fff; transition: 180ms ease; }
.material-card::after { position: absolute; right: 28px; bottom: 24px; width: 26px; height: 2px; content: ""; background: var(--fore-red); transition: width 180ms ease; }
.material-card:hover { border-color: rgba(180, 35, 53, 0.36); box-shadow: 0 16px 40px rgba(18, 24, 32, 0.08); transform: translateY(-4px); }
.material-card:hover::after { width: 48px; }
.material-card .material-index { display: block; margin-bottom: 34px; color: var(--fore-red); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; }
.material-card strong { display: block; margin-bottom: 12px; font-size: 1.1rem; line-height: 1.2; }
.material-card strong + span { color: var(--fore-slate); font-size: 0.87rem; }

.cta-panel { position: relative; display: grid; overflow: hidden; align-items: center; gap: 40px; padding: 58px; border-radius: 26px; color: #fff; background: var(--fore-red); grid-template-columns: 1fr auto; }
.cta-panel::after { position: absolute; right: -80px; bottom: -150px; width: 330px; height: 330px; border: 70px solid rgba(255,255,255,0.10); border-radius: 50%; content: ""; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 750px; margin-bottom: 10px; }
.cta-panel p { max-width: 700px; margin-bottom: 0; color: #f8dfe2; }

.page-hero { padding: 92px 0 68px; color: #fff; background: var(--fore-ink); }
.page-hero .container { display: grid; align-items: end; gap: 50px; grid-template-columns: 1fr 0.65fr; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
.page-hero p { color: #c7cfd5; font-size: 1.08rem; }
.crumb { margin-bottom: 22px; color: #ff9aa7; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }

.capability-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.capability-card { padding: 30px; border: 1px solid var(--fore-line); border-radius: 18px; }
.capability-card span { display: block; margin-bottom: 28px; color: var(--fore-red); font-size: 0.78rem; font-weight: 850; }
.capability-card p { color: var(--fore-slate); font-size: 0.9rem; }
.timeline { position: relative; display: grid; gap: 26px; grid-template-columns: repeat(5, 1fr); }
.timeline::before { position: absolute; top: 14px; right: 7%; left: 7%; height: 1px; content: ""; background: #cfd5d9; }
.timeline-item { position: relative; padding-top: 44px; }
.timeline-item::before { position: absolute; z-index: 1; top: 7px; left: 0; width: 15px; height: 15px; border: 4px solid var(--fore-paper); border-radius: 50%; content: ""; background: var(--fore-red); }
.timeline-item strong { display: block; margin-bottom: 8px; }
.timeline-item span { color: var(--fore-slate); font-size: 0.87rem; }

.catalog-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.catalog-heading-row .section-heading { margin-bottom: 30px; }
.catalog-total { display: grid; min-width: 150px; margin-bottom: 30px; padding: 18px 22px; border-left: 3px solid var(--fore-red); background: var(--fore-paper); }
.catalog-total strong { color: var(--fore-red); font-size: 2rem; line-height: 1; }
.catalog-total span { margin-top: 7px; color: var(--fore-slate); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; padding: 14px; border: 1px solid var(--fore-line); border-radius: 18px; background: var(--fore-paper); }
.filter-button { padding: 10px 16px; border: 1px solid var(--fore-line); border-radius: 999px; color: var(--fore-slate); background: #fff; font-size: 0.82rem; font-weight: 800; }
.filter-button:hover, .filter-button.is-active { color: #fff; border-color: var(--fore-ink); background: var(--fore-ink); }
.catalog-no-results { margin: 34px 0 0; padding: 28px; border-radius: 16px; text-align: center; background: var(--fore-paper); }
.catalog-note { display: grid; gap: 18px; margin-top: 40px; padding: 30px; border: 1px solid var(--fore-line); border-radius: 18px; background: var(--fore-paper); grid-template-columns: repeat(3, 1fr); }
.catalog-note strong { display: block; margin-bottom: 5px; }
.catalog-note span { color: var(--fore-slate); font-size: 0.87rem; }
.page-hero--product h1 { font-size: clamp(2.55rem, 5vw, 4.6rem); }
.crumb a:hover { color: #fff; }
.product-detail { display: grid; align-items: start; gap: 70px; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); }
.product-detail-media { position: sticky; top: 112px; min-width: 0; }
.product-gallery { display: grid; min-width: 0; gap: 14px; }
.product-gallery-main { position: relative; display: grid; min-height: 590px; overflow: hidden; padding: 24px; place-items: center; border: 1px solid var(--fore-line); border-radius: 24px; background: var(--fore-paper); }
.product-gallery-main > img { width: 100%; max-height: 720px; object-fit: contain; }
.gallery-count { position: absolute; z-index: 2; top: 16px; right: 16px; min-width: 58px; padding: 7px 11px; border-radius: 999px; color: #fff; background: rgba(18, 24, 32, 0.84); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-align: center; backdrop-filter: blur(8px); }
.gallery-count strong { color: #fff; font-size: inherit; }
.gallery-prev, .gallery-next { position: absolute; z-index: 2; top: 50%; display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid rgba(18, 24, 32, 0.12); border-radius: 50%; color: var(--fore-ink); background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 28px rgba(18, 24, 32, 0.14); transform: translateY(-50%); transition: 180ms ease; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-prev:hover, .gallery-next:hover, .gallery-prev:focus-visible, .gallery-next:focus-visible { color: #fff; border-color: var(--fore-red); outline: 0; background: var(--fore-red); box-shadow: 0 0 0 4px rgba(180, 35, 53, 0.14); }
.gallery-prev[disabled], .gallery-next[disabled] { display: none; }
.product-gallery-thumbs { display: flex; min-width: 0; overflow-x: auto; gap: 10px; padding: 2px 2px 8px; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-color: var(--fore-red) var(--fore-soft); scrollbar-width: thin; }
.gallery-thumb { display: grid; width: 78px; height: 92px; flex: 0 0 auto; padding: 6px; place-items: center; overflow: hidden; border: 1px solid var(--fore-line); border-radius: 12px; outline: 0; background: #fff; scroll-snap-align: start; transition: 160ms ease; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb:hover { border-color: #aeb7bf; transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--fore-red); box-shadow: inset 0 0 0 1px var(--fore-red), 0 8px 20px rgba(180, 35, 53, 0.12); }
.gallery-thumb:focus-visible { border-color: var(--fore-ink); box-shadow: 0 0 0 3px rgba(18, 24, 32, 0.14); }
.product-detail-copy { min-width: 0; padding-top: 14px; }
.product-detail-copy h2 { font-size: clamp(2.15rem, 3.6vw, 3.4rem); }
.product-code { display: inline-grid; gap: 2px; margin: 0 0 28px; padding: 13px 17px; border-left: 3px solid var(--fore-red); background: var(--fore-paper); }
.product-code span { color: var(--fore-slate); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.product-code strong { font-size: 1.15rem; letter-spacing: 0.02em; }
.product-variations { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--fore-line); }
.variation-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.variation-heading-row h3 { margin: 0 0 6px; font-size: 1.15rem; letter-spacing: -0.02em; }
.variation-heading-row p { margin: 0; color: var(--fore-slate); font-size: 0.82rem; }
.variation-option-count { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--fore-ink); font-size: 0.72rem; font-weight: 850; }
.product-variation-rail { display: flex; min-width: 0; max-width: 100%; margin: 0; overflow-x: auto; gap: 10px; padding: 3px 3px 12px; list-style: none; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-color: var(--fore-red) var(--fore-soft); scrollbar-width: thin; }
.variation-item { min-width: 0; flex: 0 0 194px; scroll-snap-align: start; }
.variation-chip { position: relative; display: grid; width: 100%; min-height: 92px; align-items: center; gap: 10px; padding: 8px; overflow: hidden; border: 1px solid var(--fore-line); border-radius: 15px; outline: 0; color: var(--fore-ink); background: #fff; grid-template-columns: 54px minmax(0, 1fr); transition: 180ms ease; }
.variation-chip-image { display: grid; width: 54px; height: 64px; padding: 3px; place-items: center; overflow: hidden; border-radius: 10px; background: var(--fore-paper); }
.variation-chip-image img { width: 100%; height: 100%; object-fit: contain; }
.variation-chip-copy { display: grid; min-width: 0; gap: 7px; }
.variation-color-line { display: grid; min-width: 0; gap: 5px; }
.variation-color-line strong { display: -webkit-box; min-height: 1.9em; overflow: hidden; overflow-wrap: anywhere; font-size: 0.76rem; line-height: 1.25; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.variation-swatches { display: flex; height: 14px; align-items: center; }
.variation-swatch { width: 14px; height: 14px; margin-left: -3px; border: 2px solid #fff; border-radius: 50%; background: var(--variation-swatch); box-shadow: 0 0 0 1px rgba(18, 24, 32, 0.22); }
.variation-swatch:first-child { margin-left: 1px; }
.variation-chip small { overflow: hidden; color: var(--fore-slate); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.055em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.variation-chip:hover, .variation-chip:focus-visible { border-color: var(--fore-red); box-shadow: 0 10px 24px rgba(18, 24, 32, 0.10); transform: translateY(-2px); }
.variation-chip.is-current { border-color: var(--fore-red); background: #fff8f8; box-shadow: inset 0 -3px 0 var(--fore-red); }
.variation-chip.is-current small { color: var(--fore-red); }
.product-variation-mobile { display: none; }
.product-variation-mobile label { display: block; margin-bottom: 8px; font-size: 0.78rem; font-weight: 800; }
.product-variation-mobile select { width: 100%; min-height: 54px; padding: 0 42px 0 14px; border: 1px solid #cfd5d9; border-radius: 12px; outline: 0; color: var(--fore-ink); background: #fff; font: inherit; font-size: 0.9rem; font-weight: 700; }
.product-variation-mobile select:focus { border-color: var(--fore-red); box-shadow: 0 0 0 3px rgba(180, 35, 53, 0.12); }
.product-current-colour { display: flex; min-height: 54px; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding: 12px 15px; border: 1px solid var(--fore-line); border-radius: 14px; background: var(--fore-paper); }
.product-current-colour > span:first-child { margin-right: auto; color: var(--fore-slate); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.product-current-colour strong { min-width: 0; max-width: 100%; margin-left: auto; overflow-wrap: anywhere; font-size: 0.88rem; text-align: right; }
.product-reference-note { margin-top: 30px; padding: 24px; border: 1px solid var(--fore-line); border-radius: 16px; background: var(--fore-paper); }
.product-reference-note strong { display: block; margin-bottom: 7px; }
.product-reference-note p { margin: 0; color: var(--fore-slate); font-size: 0.9rem; }
.whatsapp-disclosure { max-width: 620px; margin: 13px 0 0; color: var(--fore-slate); font-size: 0.74rem; }
.whatsapp-disclosure a { color: var(--fore-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.catalog-empty { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.catalog-empty .container { max-width: 760px; }

.contact-layout { display: grid; align-items: start; gap: 60px; grid-template-columns: 0.72fr 1.28fr; }
.contact-card { padding: 32px; border-radius: 20px; color: #fff; background: var(--fore-ink); }
.contact-item { padding: 22px 0; border-bottom: 1px solid #343c45; }
.contact-item:last-child { border-bottom: 0; }
.contact-item span { display: block; margin-bottom: 5px; color: #9faab4; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.contact-item a, .contact-item address { font-style: normal; font-weight: 700; }
.contact-email-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.contact-email-links a { min-width: 0; overflow-wrap: anywhere; }
.contact-phone-links { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.contact-whatsapp-link { display: inline-flex; align-items: center; gap: 7px; color: #7ee2ae; font-size: 0.82rem; }
.contact-whatsapp-link:hover, .contact-whatsapp-link:focus-visible { color: #b9f2d0; }
.quote-form { padding: 38px; border: 1px solid var(--fore-line); border-radius: 20px; box-shadow: 0 18px 50px rgba(18,24,32,0.07); background: #fff; }
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfd5d9; border-radius: 10px; outline: 0; background: #fff; }
.field input, .field select { min-height: 50px; padding: 0 14px; }
.field textarea { min-height: 140px; padding: 13px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fore-red); box-shadow: 0 0 0 3px rgba(180, 35, 53, 0.12); }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; color: var(--fore-slate); font-size: 0.8rem; }
.checkbox-field input { width: 18px; height: 18px; margin-top: 2px; }
.checkbox-field a { color: var(--fore-red); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.checkbox-field a:hover, .checkbox-field a:focus-visible { color: var(--fore-red-dark); }
.form-status { margin-bottom: 24px; padding: 14px 16px; border-radius: 10px; font-weight: 700; }
.form-status--success { color: #155e3b; background: #e5f6ed; }
.form-status--error { color: #8d1b2a; background: #fbe8eb; }
.hp-field { position: absolute; left: -9999px; }

.content-page { padding: 80px 0; }
.entry-content { max-width: 840px; margin: 0 auto; }
.entry-content > * + * { margin-top: 22px; }
.entry-content h1, .entry-content h2, .entry-content h3 { margin-top: 40px; }
.not-found { min-height: 62vh; display: grid; place-items: center; text-align: center; }

.legal-hero { padding: 84px 0 70px; border-bottom: 1px solid var(--fore-line); background: linear-gradient(135deg, #f7f8f6 0%, #eef1ef 100%); }
.legal-hero-inner { display: grid; align-items: end; gap: 80px; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.legal-hero h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.98; }
.legal-hero-summary { max-width: 680px; padding-left: 28px; border-left: 3px solid var(--fore-red); }
.legal-hero-summary p { margin: 0 0 18px; color: var(--fore-slate); font-size: 1.08rem; }
.legal-hero-summary span { color: var(--fore-ink); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.legal-content-section { padding: 76px 0 110px; }
.legal-layout { display: grid; align-items: start; gap: 70px; grid-template-columns: 270px minmax(0, 1fr); }
.legal-sidebar { position: sticky; top: 112px; }
.legal-sidebar-card { overflow: hidden; border: 1px solid var(--fore-line); border-radius: 18px; background: #fff; box-shadow: 0 16px 42px rgba(18, 24, 32, 0.07); }
.legal-sidebar-title { margin: 0; padding: 19px 22px; color: #fff; background: var(--fore-ink); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-nav { display: grid; padding: 10px; }
.legal-nav a { position: relative; padding: 13px 14px; border-radius: 10px; color: var(--fore-slate); font-size: 0.86rem; font-weight: 750; }
.legal-nav a:hover, .legal-nav a:focus-visible { color: var(--fore-ink); background: var(--fore-paper); }
.legal-nav a[aria-current="page"] { padding-left: 31px; color: var(--fore-red); background: #fbf0f2; }
.legal-nav a[aria-current="page"]::before { position: absolute; top: 50%; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--fore-red); content: ""; transform: translateY(-50%); }
.legal-sidebar-contact { display: grid; gap: 4px; padding: 18px 22px 22px; border-top: 1px solid var(--fore-line); }
.legal-sidebar-contact span { color: var(--fore-slate); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-sidebar-contact a { overflow-wrap: anywhere; font-size: 0.82rem; font-weight: 800; }
.legal-article { min-width: 0; max-width: 850px; }
.legal-section { scroll-margin-top: 120px; }
.legal-section + .legal-section { margin-top: 54px; padding-top: 54px; border-top: 1px solid var(--fore-line); }
.legal-section h2 { margin: 0 0 24px; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.15; }
.legal-section p { margin: 0; color: #3f4a55; }
.legal-section p + p { margin-top: 16px; }
.legal-section ul { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.legal-section li { position: relative; padding-left: 25px; color: #3f4a55; }
.legal-section li::before { position: absolute; top: 0.72em; left: 2px; width: 8px; height: 2px; background: var(--fore-red); content: ""; }
.legal-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--fore-line); border-radius: 14px; }
.legal-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.86rem; }
.legal-table th, .legal-table td { padding: 16px 18px; border-bottom: 1px solid var(--fore-line); text-align: left; vertical-align: top; }
.legal-table thead th { color: #fff; background: var(--fore-ink); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.legal-table tbody th { width: 30%; color: var(--fore-ink); background: var(--fore-paper); font-weight: 800; }
.legal-table tbody tr:last-child th, .legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 68px; padding: 28px 30px; border-radius: 18px; color: #fff; background: var(--fore-ink); }
.legal-contact-panel div { display: grid; gap: 3px; }
.legal-contact-panel span { color: #aeb7bf; font-size: 0.76rem; font-weight: 750; }
.legal-contact-panel strong { font-size: 1.08rem; }

.site-footer { color: #d7dde1; background: #0c1117; }
.footer-grid { display: grid; gap: 38px; padding: 72px 0 50px; grid-template-columns: 1.25fr 0.65fr 0.9fr 1fr; }
.footer-brand > a { display: inline-flex; }
.footer-brand p { max-width: 440px; margin-top: 20px; color: #9da8b2; }
.footer-title { margin-bottom: 20px; color: #fff; font-size: 0.77rem; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #b9c2ca; }
.footer-links a:hover { color: #fff; }
.footer-cookie-button { width: fit-content; padding: 0; border: 0; color: #b9c2ca; background: transparent; font: inherit; text-align: left; }
.footer-cookie-button:hover, .footer-cookie-button:focus-visible { color: #fff; }
.footer-contact { display: grid; gap: 12px; color: #b9c2ca; }
.footer-bottom { display: flex; padding: 24px 0 30px; border-top: 1px solid #29313a; justify-content: space-between; gap: 20px; color: #7f8b96; font-size: 0.8rem; }

.cookie-consent { position: fixed; z-index: 99990; right: 20px; bottom: 20px; width: min(480px, calc(100% - 40px)); }
.cookie-consent-card { display: grid; width: 100%; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); padding: 18px; overflow-y: auto; border: 1px solid #313b45; border-radius: 16px; color: #fff; background: rgba(12, 17, 23, 0.985); box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32); grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cookie-consent-copy .eyebrow { margin-bottom: 5px; font-size: 0.68rem; }
.cookie-consent-copy h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.08rem, 3vw, 1.3rem); line-height: 1.2; }
.cookie-consent-copy p { max-width: none; margin: 0; color: #bdc6ce; font-size: 0.78rem; line-height: 1.55; }
.cookie-consent-copy > a { display: inline-block; margin-top: 7px; color: #fff; font-size: 0.74rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-actions { display: grid; align-content: center; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cookie-action, .cookie-save { min-height: 40px; padding: 8px 11px; border: 1px solid #6b747d; border-radius: 9px; color: #fff; background: transparent; font-size: 0.73rem; font-weight: 850; }
.cookie-action--accept, .cookie-action--reject { border-color: var(--fore-red); }
.cookie-action--accept { background: var(--fore-red); }
.cookie-action--reject { color: #fff; background: transparent; }
.cookie-action--reject { order: 1; }
.cookie-action--accept { order: 2; }
.cookie-action--manage { min-height: 34px; order: 3; grid-column: 1 / -1; }
.cookie-action:hover, .cookie-action:focus-visible, .cookie-save:hover, .cookie-save:focus-visible { border-color: #fff; outline: 0; background: #fff; color: var(--fore-ink); }
.cookie-preferences { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid #35404a; grid-column: 1 / -1; }
.cookie-preferences[hidden] { display: none; }
.cookie-preference-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid #35404a; border-radius: 10px; color: #fff; background: #151c23; }
.cookie-preference-row div { display: grid; gap: 2px; }
.cookie-preference-row span { color: #aeb8c1; font-size: 0.7rem; line-height: 1.4; }
.cookie-preference-row input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--fore-red); }
.cookie-always-on { padding: 4px 8px; border-radius: 999px; color: #d9f3e5 !important; background: #174b35; font-size: 0.62rem !important; font-weight: 850; text-transform: uppercase; white-space: nowrap; }
.cookie-save { width: 100%; min-width: 0; margin-top: 0; border-color: var(--fore-red); background: var(--fore-red); }

@media (prefers-reduced-motion: reduce) {
  html, .product-gallery-thumbs, .product-variation-rail { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero-grid, .split, .split.reverse { gap: 44px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .materials { grid-template-columns: repeat(2, 1fr); }
  .material-intro { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .cookie-consent-card { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .container { width: min(calc(100% - 30px), var(--fore-container)); }
  .section { padding: 76px 0; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 12px 20px 20px; border-bottom: 1px solid var(--fore-line); background: #fff; box-shadow: 0 20px 35px rgba(18,24,32,0.09); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 0; }
  .site-nav a::after { bottom: 7px; }
  .language-switcher--desktop { display: none; }
  .site-nav .language-switcher--mobile { display: inline-flex; width: fit-content; margin-top: 8px; padding: 3px; }
  .site-nav .language-link { min-width: 42px; min-height: 34px; padding: 0 10px; }
  .site-nav .language-link::after { display: none; }
  .hero { padding-top: 62px; }
  .hero-grid, .split, .split.reverse, .page-hero .container, .contact-layout, .product-detail { grid-template-columns: 1fr; }
  .legal-hero-inner, .legal-layout { grid-template-columns: 1fr; }
  .legal-hero-inner { gap: 34px; }
  .legal-hero-summary { padding-left: 20px; }
  .legal-sidebar { position: static; }
  .legal-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legal-nav a { text-align: center; }
  .legal-nav a[aria-current="page"] { padding-left: 14px; }
  .legal-nav a[aria-current="page"]::before { display: none; }
  .hero-media img { min-height: 360px; }
  .split-media { order: -1; }
  .split-media img { min-height: 390px; }
  .split-media .media-note { right: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--fore-line); }
  .category-grid, .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .material-intro { min-height: auto; align-items: stretch; padding: 30px; grid-template-columns: 1fr; }
  .material-intro-copy { max-width: none; padding: 8px; }
  .material-factory-photo { min-height: 320px; }
  .product-detail { gap: 40px; }
  .product-detail-media { position: static; }
  .product-gallery-main { min-height: 460px; }
  .catalog-heading-row { align-items: flex-start; flex-direction: column; gap: 0; }
  .catalog-total { margin-top: -12px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 7px; width: 1px; height: auto; }
  .timeline-item { padding: 0 0 0 38px; }
  .timeline-item::before { top: 3px; }
  .cta-panel { padding: 42px; grid-template-columns: 1fr; }
  .catalog-note { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 68px; }
  .fore-logo-image { width: 165px; }
  .fore-logo--footer .fore-logo-image { width: 210px; }
  h1 { font-size: 2.85rem; }
  h2 { font-size: 2.25rem; }
  .hero-media img { min-height: 290px; }
  .hero-badge { margin-top: 12px; }
  .stats-grid, .category-grid, .product-grid, .process-grid, .materials, .capability-grid, .form-grid { grid-template-columns: 1fr; }
  .material-intro { display: grid; padding: 24px; }
  .material-intro h3 { font-size: 2rem; }
  .material-count { width: fit-content; min-height: 0; margin-top: 24px; }
  .material-factory-photo { min-height: 235px; padding: 8px; }
  .stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--fore-line); }
  .stat:last-child { border-bottom: 0; }
  .category-card { min-height: 220px; }
  .product-grid { gap: 16px; }
  .product-image { aspect-ratio: 4 / 4.6; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding: 10px; }
  .filter-button { flex: 0 0 auto; }
  .product-gallery-main { min-height: 340px; padding: 14px; }
  .gallery-prev, .gallery-next { width: 44px; height: 44px; }
  .gallery-prev { left: 9px; }
  .gallery-next { right: 9px; }
  .gallery-thumb { width: 66px; height: 78px; padding: 5px; }
  .product-variation-desktop { display: none; }
  .product-variation-mobile { display: block; }
  .product-current-colour strong { flex: 1 1 150px; }
  .product-detail-copy { padding-top: 0; }
  .page-hero { padding: 68px 0 54px; }
  .quote-form, .contact-card { padding: 25px; }
  .field--full { grid-column: auto; }
  .cta-panel { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .legal-hero { padding: 62px 0 52px; }
  .legal-content-section { padding: 48px 0 80px; }
  .legal-layout { gap: 42px; }
  .legal-nav { grid-template-columns: 1fr; }
  .legal-nav a { text-align: left; }
  .legal-contact-panel { align-items: flex-start; flex-direction: column; }
  .cookie-consent { right: 8px; bottom: 8px; width: calc(100% - 16px); }
  .cookie-consent-card { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 15px; border-radius: 14px; gap: 12px; }
  .cookie-action, .cookie-save { min-height: 38px; }
  .cookie-preference-row { align-items: flex-start; }
}
