/* =====================================================================
   GALASPORT — "Race Line" theme
   Static · HTML5 · CSS3 · Bootstrap 4 · jQuery 3.3.1
   ===================================================================== */
:root {
  --paper: #f3f2ee;
  --white: #ffffff;
  --ink: #111111;
  --ink-2: #1c1c1c;
  --grey: #6b6b6b;
  --line: #d9d7d0;
  --orange: #ff6600;
  --orange-d: #e05500;
  --lime: #d4ff3a;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
::selection { background: var(--lime); color: var(--ink); }
.rounded-xl { border-radius: 0; }
.shadow-soft { box-shadow: 10px 10px 0 var(--ink); }
.kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.kicker::before { content: "// "; color: var(--grey); }
.text-muted { color: var(--grey) !important; }

/* ---------- top strip ---------- */
.topstrip { background: var(--orange); color: var(--ink); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.topstrip a { color: var(--ink); text-decoration: none; margin-left: 1.2rem; font-weight: 600; }
.topstrip a:hover { color: var(--white); }
.topstrip .ml-0 { margin-left: 0; }

/* ---------- header ---------- */
.gs-head { background: var(--white); position: sticky; top: 0; z-index: 1030; border-bottom: 2px solid var(--ink); }
.gs-head .bar { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 0; }
.gs-logo { text-decoration: none; }
.gs-logo img { height: 30px; width: auto; }
.gs-search { flex: 1; max-width: 480px; margin-left: auto; }
.gs-search input { border-radius: 0; border: 2px solid var(--ink); background: var(--paper); height: 42px; font-size: .88rem; padding-left: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23111' stroke-width='2.2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 12px center; }
.gs-search input:focus { box-shadow: 4px 4px 0 var(--orange); border-color: var(--ink); background-color: var(--white); }
.gs-actions { display: flex; gap: .5rem; align-items: center; }
.icon-btn { position: relative; border: 2px solid var(--ink); background: var(--white); padding: .45rem .9rem; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: .95rem; letter-spacing: .04em; color: var(--ink); text-decoration: none; line-height: 1.3; }
.icon-btn:hover { background: var(--ink); color: var(--white); }
.cart-count { position: absolute; top: -9px; right: -9px; background: var(--orange); color: var(--ink); font-family: var(--mono); font-size: .66rem; font-weight: 700; min-width: 20px; height: 20px; display: grid; place-items: center; border: 2px solid var(--ink); }
.menu-toggle { display: none; border: 2px solid var(--ink); background: var(--lime); color: var(--ink); width: 44px; height: 42px; font-size: 1.2rem; font-weight: 800; }

/* mega menu */
.gs-menu { background: var(--ink); }
.gs-menu > .container > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.gs-menu li.top > a { display: block; padding: .7rem .62rem; font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: #d6d6d6; text-decoration: none; position: relative; }
.gs-menu li.top > a::after { content: ""; position: absolute; left: .62rem; right: .62rem; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gs-menu li.top > a:hover, .gs-menu li.top.open > a, .gs-menu li.top > a.active { color: var(--white); }
.gs-menu li.top > a:hover::after, .gs-menu li.top.open > a::after, .gs-menu li.top > a.active::after { transform: scaleX(1); }
.gs-menu li.top.sale > a { color: var(--lime); }
.mega { display: none; position: absolute; left: 0; right: 0; background: var(--ink-2); color: var(--white); border-top: 1px solid #333; padding: 2rem 0 2.4rem; box-shadow: 0 30px 40px rgba(0,0,0,.35); }
.gs-menu li.top.open .mega { display: block; animation: drop .2s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega .mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.4rem 2rem; }
.mega h6 { font-size: 1.05rem; margin: 0; border-bottom: 1px solid #333; padding-bottom: .4rem; }
.mega h6 a { color: var(--white); text-decoration: none; }
.mega h6 a:hover { color: var(--orange); }
.mega ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.mega ul a { color: #9a9a9a; font-size: .84rem; line-height: 2; text-decoration: none; }
.mega ul a:hover { color: var(--lime); }
.mega .mega-img { border: 2px solid var(--orange); }

/* ---------- buttons ---------- */
.btn { border-radius: 0; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-gs { background: var(--orange); color: var(--ink); border: 2px solid var(--ink); padding: .6rem 1.4rem; box-shadow: 4px 4px 0 var(--ink); text-decoration: none; }
.btn-gs:hover { background: var(--lime); color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-gs:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { border: 2px solid var(--white); color: var(--white); padding: .55rem 1.3rem; text-decoration: none; }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-outline-gs { border: 2px solid var(--ink); color: var(--ink); background: transparent; text-decoration: none; }
.btn-outline-gs:hover { background: var(--ink); color: var(--white); }
.btn-sm { font-size: .88rem; padding: .35rem .9rem; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero::before { content: "GALASPORT"; position: absolute; right: -2vw; bottom: -4vw; font-family: var(--head); font-weight: 900; font-size: 22vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); pointer-events: none; white-space: nowrap; }
.hero .container { position: relative; z-index: 2; }
.eyebrow { display: inline-block; background: var(--lime); color: var(--ink); padding: .3rem .7rem; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 6.6rem); line-height: .88; margin: 1.2rem 0 1.2rem; font-weight: 900; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--orange); display: block; }
.hero p.lead { color: #bdbdbd; max-width: 500px; font-size: 1.05rem; }
.hero-stats { display: flex; margin-top: 2.6rem; border-top: 1px solid #333; }
.hero-stats > div { flex: 1; padding: 1rem 1rem 0 0; border-right: 1px solid #333; margin-right: 1rem; }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats b { display: block; font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: var(--orange); line-height: 1; }
.hero-stats span { color: #9a9a9a; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-collage { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5/4; }
.hero-collage .hc { position: relative; overflow: hidden; border: 2px solid var(--white); text-decoration: none; }
.hero-collage .hc img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: transform .6s, filter .4s; }
.hero-collage .hc:hover img { transform: scale(1.06); filter: none; }
.hero-collage .hc-main { grid-row: span 2; }
.hero-collage .hc span { position: absolute; left: 0; bottom: 0; background: var(--white); color: var(--ink); font-family: var(--head); font-weight: 800; text-transform: uppercase; padding: .25rem .7rem; font-size: 1.05rem; }
.hero-collage .hc span b { color: var(--orange); font-family: var(--mono); font-size: .75rem; margin-right: .4rem; }

/* marquee */
.marquee { background: var(--lime); border-bottom: 2px solid var(--ink); overflow: hidden; white-space: nowrap; }
.marquee .track { display: inline-block; padding: .7rem 0; animation: marq 40s linear infinite; font-family: var(--head); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }
.marquee .track span { margin: 0 1.2rem; }
.marquee .track i { font-style: normal; color: var(--orange); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 1rem; }
.sec-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: .35rem 0 0; font-weight: 900; }

/* promo banners */
.promo { display: block; position: relative; overflow: hidden; border: 2px solid var(--ink); background: var(--white); text-decoration: none; }
.promo img { width: 100%; transition: transform .6s; }
.promo:hover img { transform: scale(1.03); }
.promo .promo-tag { position: absolute; right: 0; bottom: 0; background: var(--ink); color: var(--white); padding: .45rem 1rem; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .04em; transition: background .2s, color .2s; }
.promo:hover .promo-tag { background: var(--orange); color: var(--ink); }

/* categories — numbered index */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.cat-card { position: relative; display: grid; grid-template-columns: 1fr 120px; align-items: stretch; min-height: 150px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; overflow: hidden; transition: background .2s; }
.cat-card.wide { grid-column: auto; }
.cat-card .cat-label { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--head); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; line-height: 1; }
.cat-card .cat-label .idx { font-family: var(--mono); font-size: .75rem; color: var(--orange); font-weight: 600; letter-spacing: .1em; }
.cat-card .cat-count { display: block; font-family: var(--mono); font-size: .7rem; color: var(--grey); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-top: .5rem; }
.cat-card .cat-label i { font-style: normal; font-family: var(--body); font-size: 1.3rem; transition: transform .25s; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s, transform .5s; }
.cat-card:hover { background: var(--ink); color: var(--white); }
.cat-card:hover img { filter: none; transform: scale(1.08); }
.cat-card:hover .cat-label i { transform: translateX(6px); color: var(--orange); }

/* features */
.feature { background: var(--white); border: 2px solid var(--ink); padding: 1.6rem; height: 100%; position: relative; }
.feature .ico { font-family: var(--mono); font-size: .8rem; color: var(--orange); font-weight: 700; margin-bottom: 1.4rem; }
.feature h4 { font-size: 1.6rem; margin-bottom: .6rem; }
.feature p { color: var(--grey); margin: 0; font-size: .9rem; }
.feature:hover { background: var(--lime); }

/* ---------- product card ---------- */
.p-card { background: var(--white); border: 2px solid var(--ink); height: 100%; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.p-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.p-card .p-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--white); display: block; border-bottom: 2px solid var(--ink); }
.p-card .p-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .4s; }
.p-card:hover .p-img img { transform: scale(1.06); }
.tag { position: absolute; top: 0; left: 0; padding: .22rem .6rem; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.tag-custom { background: var(--orange); }
.tag-order { background: var(--paper); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.tag-stock { background: var(--lime); }
.p-card .p-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.p-card .p-code { font-family: var(--mono); font-size: .68rem; color: var(--grey); letter-spacing: .04em; }
.p-card h5 { font-size: 1.2rem; margin: .3rem 0 .4rem; line-height: 1.05; }
.p-card h5 a { color: var(--ink); text-decoration: none; }
.p-card h5 a:hover { color: var(--orange); }
.p-card .p-desc { font-size: .8rem; color: var(--grey); margin: 0; }
.stock { font-family: var(--mono); font-size: .7rem; font-weight: 600; color: #2e7d32; text-transform: uppercase; letter-spacing: .03em; }
.stock.custom { color: var(--orange-d); }
.stock.order { color: var(--grey); }
.p-card .p-foot { margin-top: auto; padding-top: .8rem; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; }
.p-card .price-note { font-size: .72rem; color: var(--grey); line-height: 1.3; }
.add-cart { width: 40px; height: 40px; border: 2px solid var(--ink); background: var(--ink); color: var(--white); font-size: 1.3rem; font-weight: 700; flex-shrink: 0; line-height: 1; transition: background .15s, color .15s; }
.add-cart:hover { background: var(--orange); color: var(--ink); }

/* ---------- story ---------- */
.story { background: var(--ink); color: #d4d4d4; border: 2px solid var(--ink); }
.story .story-text { padding: 3.2rem; }
.story h2 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; }
.timeline { margin-top: 1.6rem; border-top: 1px solid #333; }
.timeline div { display: grid; grid-template-columns: 90px 1fr; padding: .7rem 0; border-bottom: 1px solid #333; font-size: .92rem; }
.timeline b { font-family: var(--head); font-size: 1.5rem; color: var(--orange); line-height: 1; }
.story-img { min-height: 340px; background-size: cover; background-position: center; filter: grayscale(.2); }

/* newsletter */
.newsletter { background: var(--orange); color: var(--ink); border: 2px solid var(--ink); padding: 2.6rem; }
.newsletter h2 { font-size: 2.8rem; font-weight: 900; }
.newsletter .form-control { border-radius: 0; border: 2px solid var(--ink); height: 46px; }

/* ---------- page head ---------- */
.page-head { background: var(--ink); color: var(--white); padding: 3rem 0 2.6rem; position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.page-head::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(180deg, var(--orange) 0 14px, var(--lime) 14px 28px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; margin: .6rem 0 .8rem; }
.page-head .breadcrumb { background: transparent; padding: 0; margin: 0; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.page-head .breadcrumb a { color: var(--lime); text-decoration: none; }
.page-head .breadcrumb-item.active { color: #9a9a9a; }
.page-head .breadcrumb-item + .breadcrumb-item::before { color: #555; content: "/"; }
.page-head .lead-sm { color: #bdbdbd; max-width: 640px; margin: 0; }

/* ---------- category page ---------- */
.sub-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.sub-chips a { border: 2px solid var(--ink); background: var(--white); padding: .3rem .8rem; font-family: var(--head); font-weight: 700; font-size: .98rem; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.sub-chips a:hover, .sub-chips a.active { background: var(--ink); color: var(--white); }
.sub-chips a small { font-family: var(--mono); font-size: .66rem; color: var(--orange); margin-left: .35rem; }
.side-box { background: var(--white); border: 2px solid var(--ink); padding: 1.2rem; position: sticky; top: 150px; }
.side-box h6 { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; color: var(--grey); font-weight: 600; }
.tree { list-style: none; padding: 0; margin: 0; }
.tree ul { list-style: none; padding-left: .9rem; margin: 0 0 .3rem; border-left: 2px solid var(--line); }
.tree a { display: block; padding: .28rem .5rem; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: .98rem; }
.tree ul a { font-family: var(--body); font-weight: 500; text-transform: none; font-size: .84rem; color: var(--grey); }
.tree a:hover { color: var(--orange); }
.tree a.active { background: var(--lime); color: var(--ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.3rem; flex-wrap: wrap; padding: .8rem 1rem; background: var(--white); border: 2px solid var(--ink); }
.toolbar #result-count { font-family: var(--head); font-size: 1.3rem; text-transform: uppercase; }
.toolbar .custom-select, .toolbar .form-control { border-radius: 0; border: 2px solid var(--ink); }
.toolbar .custom-control-label { font-size: .85rem; font-weight: 600; padding-top: 2px; }
.custom-switch .custom-control-input:checked ~ .custom-control-label::before { background: var(--orange); border-color: var(--ink); }
.empty-state { display: none; text-align: center; padding: 3rem 1rem; background: var(--white); border: 2px dashed var(--ink); }
.empty-state h5 { font-size: 1.8rem; }
.pager { display: flex; justify-content: center; gap: .35rem; flex-wrap: wrap; margin-top: 1rem; }
.pager button { border: 2px solid var(--ink); background: var(--white); min-width: 42px; height: 42px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.pager button.active, .pager button:hover:not([disabled]) { background: var(--ink); color: var(--white); }
.price-info { font-family: var(--mono); font-size: .68rem; color: var(--grey); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- product page ---------- */
.pd-gallery { background: var(--white); border: 2px solid var(--ink); padding: 2rem; display: grid; place-items: center; min-height: 440px; box-shadow: 10px 10px 0 var(--orange); }
.pd-gallery img { max-height: 520px; width: 100%; object-fit: contain; }
.pd-info h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; }
.pd-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-family: var(--mono); font-size: .78rem; color: var(--grey); margin-bottom: 1rem; }
.pd-box { background: var(--white); border: 2px solid var(--ink); padding: 1.3rem; margin: 1.2rem 0; }
.qty { display: inline-flex; border: 2px solid var(--ink); }
.qty button { border: 0; background: var(--white); width: 40px; font-weight: 800; font-size: 1.1rem; }
.qty button:hover { background: var(--lime); }
.qty input { width: 50px; border: 0; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); text-align: center; font-weight: 700; font-family: var(--mono); }

/* ---------- info pages ---------- */
.info-card { background: var(--white); border: 2px solid var(--ink); padding: 1.7rem; }
.info-card h4, .info-card h5 { font-size: 1.6rem; }
.info-card .num { display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--orange); border: 2px solid var(--ink); color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 1.3rem; margin-bottom: .8rem; }
.ico-c { font-size: 1.6rem; margin-bottom: .6rem; }
.gs-table { background: var(--white); border: 2px solid var(--ink); }
.gs-table thead th { background: var(--ink); color: var(--white); border: 0; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; }
.gs-table td { vertical-align: middle; font-size: .9rem; border-top: 1px solid var(--line); }
.gs-table tbody tr:hover { background: var(--lime); }
.stat-box { background: var(--white); border: 2px solid var(--ink); padding: 1rem 1.2rem; }
.stat-box b { display: block; font-family: var(--head); font-size: 2rem; color: var(--orange); line-height: 1; }
.stat-box span { font-size: .82rem; color: var(--grey); }
ul.tick { list-style: none; padding: 0; margin: 0; }
ul.tick li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; }
ul.tick li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--orange); border: 1.5px solid var(--ink); }
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 2.8rem; margin-bottom: .9rem; color: var(--grey); }
ol.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -3px; font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--orange); }
.note { background: var(--lime); border: 2px solid var(--ink); padding: .8rem 1rem; font-size: .88rem; }
.athletes { font-family: var(--head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; line-height: 1.5; }
.person { background: var(--white); border: 2px solid var(--ink); padding: 1rem 1.2rem; height: 100%; font-size: .86rem; }
.person small { font-family: var(--mono); color: var(--orange); font-weight: 600; text-transform: uppercase; font-size: .64rem; letter-spacing: .06em; }
.person h6 { font-size: 1.3rem; margin: .35rem 0 .4rem; }
.team-tile { background: var(--white); border: 2px solid var(--ink); height: 100%; }
.team-tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-bottom: 2px solid var(--ink); }
.team-tile > div { padding: 1.2rem; }
.team-tile h5 { font-size: 1.7rem; }
.team-tile p { color: var(--grey); margin: 0; font-size: .9rem; }
.dl-card { background: var(--white); border: 2px solid var(--ink); display: flex; gap: 1.2rem; align-items: center; padding: 1rem; height: 100%; }
.dl-card img { width: 42%; object-fit: cover; border: 2px solid var(--ink); }
.dl-card h5 { font-size: 1.45rem; }
.dl-card.vertical { flex-direction: column; align-items: stretch; }
.dl-card.vertical img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--paper); }
.dl-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.dl-row > span:empty { display: none; }
.dl-row > span { font-size: .88rem; font-weight: 600; }
.chip { display: inline-block; border: 2px solid var(--ink); padding: .12rem .65rem; font-family: var(--mono); font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--ink); margin: .15rem .2rem .15rem 0; text-decoration: none; background: var(--white); }
.chip:hover { background: var(--orange); color: var(--ink); }
.logo-card { background: var(--white); border: 2px solid var(--ink); padding: 1rem; text-align: center; height: 100%; }
.logo-card .logo-img { aspect-ratio: 3/2; display: grid; place-items: center; background: var(--paper); margin-bottom: .7rem; padding: .8rem; }
.logo-card .logo-img img { max-height: 100%; object-fit: contain; }
.logo-card .dl-row { justify-content: center; }
.partner { background: var(--white); border: 2px solid var(--ink); padding: 1rem; text-align: center; height: 100%; }
.partner .p-logo { height: 90px; display: grid; place-items: center; margin-bottom: .6rem; }
.partner .p-logo img { max-height: 90px; object-fit: contain; }
.partner h6 { font-size: 1.05rem; margin: 0; }
.flag-card { display: flex; align-items: center; gap: .8rem; background: var(--white); border: 2px solid var(--ink); padding: .65rem .9rem; font-family: var(--head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; height: 100%; }
.flag-card img { width: 38px; height: 26px; object-fit: cover; border: 1.5px solid var(--ink); }
.flag-card:hover { background: var(--lime); }
.news-item { background: var(--white); border: 2px solid var(--ink); padding: 1.6rem; margin-bottom: 1rem; border-left: 10px solid var(--orange); }
.news-item time { font-family: var(--mono); color: var(--orange-d); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.news-item h4 { font-size: 2rem; margin: .4rem 0 .6rem; }
.contact-form label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-form .form-control, .info-card .form-control { border-radius: 0; border: 2px solid var(--ink); padding: .65rem .9rem; height: auto; }
.contact-form .form-control:focus, .info-card .form-control:focus { box-shadow: 4px 4px 0 var(--orange); }
.contact-form .is-invalid ~ .invalid-feedback { display: block; }
.alert { border-radius: 0; border: 2px solid var(--ink); }
.alert-info { background: var(--lime); color: var(--ink); }

/* ---------- faq ---------- */
.faq .card { border: 2px solid var(--ink); border-radius: 0 !important; margin-bottom: -2px; }
.faq .card-header { background: var(--white); border: 0; padding: 0; }
.faq .card-header button { width: 100%; text-align: left; padding: 1rem 1.2rem; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; color: var(--ink); background: none; border: 0; display: flex; justify-content: space-between; gap: 1rem; }
.faq .card-header button:hover { background: var(--paper); }
.faq .card-header button::after { content: "+"; font-family: var(--body); font-size: 1.4rem; line-height: 1; color: var(--orange); transition: transform .25s; }
.faq .card-header button[aria-expanded="true"] { background: var(--ink); color: var(--white); }
.faq .card-header button[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--lime); }
.faq .card-body { font-size: .94rem; border-top: 2px solid var(--ink); }

/* ---------- footer ---------- */
.gs-footer { background: var(--ink); color: #9a9a9a; padding: 4rem 0 0; margin-top: 4.5rem; font-size: .88rem; border-top: 6px solid var(--orange); }
.gs-footer h6 { color: var(--white); font-size: 1.2rem; margin-bottom: 1rem; }
.gs-footer ul { list-style: none; padding: 0; }
.gs-footer li { margin-bottom: .4rem; }
.gs-footer a { color: #9a9a9a; text-decoration: none; }
.gs-footer a:hover { color: var(--lime); }
.gs-footer .f-logo { background: var(--white); display: inline-block; padding: .5rem .8rem; }
.gs-footer .f-logo img { height: 26px; }
.gs-footer .form-control { border-radius: 0; border: 2px solid #444; background: #1b1b1b; color: var(--white); }
.socials a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 2px solid #444; color: var(--white); margin-right: .4rem; font-family: var(--mono); font-weight: 700; font-size: .72rem; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.footer-word { font-family: var(--head); font-weight: 900; font-size: 17vw; line-height: .78; color: #1d1d1d; text-align: center; margin-top: 2.5rem; letter-spacing: -.01em; user-select: none; overflow: hidden; white-space: nowrap; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 1.1rem 0; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- cookie / toast / top ---------- */
.cookie-bar { position: fixed; left: 1rem; bottom: 1rem; max-width: 520px; background: var(--white); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 1.1rem 1.3rem; z-index: 1050; display: none; font-size: .85rem; margin-right: 1rem; }
.gs-toast { position: fixed; right: 1rem; top: 150px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: .8rem 1.1rem; z-index: 1060; display: none; font-weight: 700; max-width: 320px; font-size: .88rem; }
.to-top { position: fixed; right: 1rem; bottom: 1rem; width: 46px; height: 46px; background: var(--orange); border: 2px solid var(--ink); color: var(--ink); display: none; z-index: 1040; font-size: 1.2rem; font-weight: 800; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .gs-head .bar { flex-wrap: wrap; gap: .8rem; }
  .gs-actions { margin-left: auto; }
  .gs-search { order: 3; flex-basis: 100%; max-width: none; }
  .gs-menu { display: none; max-height: 70vh; overflow-y: auto; }
  .gs-menu.show { display: block; }
  .gs-menu > .container > ul { flex-direction: column; }
  .gs-menu li.top > a { border-bottom: 1px solid #2a2a2a; display: flex; justify-content: space-between; }
  .gs-menu li.top > a::after { display: none; }
  .gs-menu li.top.has-mega > a::before { content: "+"; order: 2; color: var(--orange); }
  .mega { position: static; box-shadow: none; padding: 1rem 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .side-box { position: static; margin-bottom: 1.4rem; }
  .story .story-text { padding: 2rem; }
  .gs-toast { top: 100px; }
}
@media (max-width: 575px) {
  body { font-size: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { grid-template-columns: 1fr 110px; min-height: 120px; }
  .section { padding: 3rem 0; }
  .newsletter { padding: 1.8rem 1.2rem; }
  .gs-actions .txt { display: none; }
  .hero-stats b { font-size: 1.8rem; }
  .dl-card { flex-direction: column; align-items: stretch; }
  .dl-card img { width: 100%; }
  .timeline div { grid-template-columns: 70px 1fr; }
}
.gs-table td + td, .gs-table th + th { white-space: nowrap; }

/* =====================================================================
   Responsive hardening
   ===================================================================== */
html, body { overflow-x: hidden; }
.row > [class*="col"] { min-width: 0; }
.p-card, .info-card, .person, .dl-card, .side-box, .toolbar { min-width: 0; }
.p-card h5, .p-card .p-code, .pd-info h1, .page-head h1, .person a, .info-card a, .gs-footer a, .tree a, .sub-chips a, .breadcrumb-item { overflow-wrap: anywhere; word-break: break-word; }
.gs-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
img { height: auto; }

/* large tablets / small laptops */
@media (max-width: 1199px) {
  .gs-menu li.top > a { padding: .65rem .5rem; font-size: .9rem; }
  .gs-menu li.top > a::after { left: .5rem; right: .5rem; }
  .hero h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
}

/* tablets */
@media (max-width: 991px) {
  .topstrip .container { justify-content: center !important; text-align: center; gap: .2rem 1rem; }
  .topstrip .container > span { width: 100%; }
  .topstrip a { margin-left: .6rem; }
  .gs-logo img { height: 26px; }
  .icon-btn { padding: .4rem .7rem; font-size: .88rem; }
  .gs-head { position: sticky; }
  .mega .row > [class*="col"] { flex: 0 0 100%; max-width: 100%; }
  .mega .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
  .hero .row > .col-lg-6:first-child { padding-bottom: 1rem !important; }
  .hero-collage { max-width: 640px; margin: 0 auto; }
  .hero::before { font-size: 30vw; bottom: -2vw; }
  .sec-head { align-items: flex-start; }
  .story-img { min-height: 260px; }
  .pd-gallery { min-height: 320px; padding: 1.2rem; box-shadow: 6px 6px 0 var(--orange); }
  .page-head { padding: 2.4rem 0 2rem; }
  .toolbar > div:last-child { width: 100%; justify-content: space-between; }
  .gs-footer .row > [class*="col"] { margin-bottom: 1.6rem; }
}

/* phones */
@media (max-width: 575px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .row { margin-left: -8px; margin-right: -8px; }
  .row > [class*="col"] { padding-left: 8px; padding-right: 8px; }
  .topstrip { font-size: .64rem; }
  .gs-head .bar { padding: .7rem 0; }
  .gs-logo img { height: 22px; }
  .icon-btn { padding: .35rem .55rem; font-size: .8rem; }
  .menu-toggle { width: 40px; height: 38px; }
  .gs-search input { height: 40px; font-size: .85rem; }
  .gs-menu li.top > a { font-size: 1rem; padding: .75rem .2rem; }
  .mega .mega-grid { grid-template-columns: 1fr; }
  .mega h6 { font-size: 1rem; }
  .hero h1 { font-size: 3rem; margin: 1rem 0 .9rem; }
  .hero p.lead { font-size: .95rem; }
  .hero .btn { width: 100%; margin-right: 0 !important; }
  .hero-stats { flex-wrap: wrap; margin-top: 1.8rem; }
  .hero-stats > div { flex: 1 1 33%; margin-right: .6rem; padding-right: .4rem; }
  .hero-stats span { font-size: .58rem; letter-spacing: .04em; }
  .hero-collage { aspect-ratio: 1/1; gap: 8px; }
  .hero-collage .hc span { font-size: .85rem; padding: .2rem .5rem; }
  .marquee .track { font-size: 1.05rem; padding: .5rem 0; }
  .sec-head { margin-bottom: 1.3rem; }
  .sec-head h2 { font-size: 2.1rem; }
  .sec-head .btn { width: 100%; }
  .promo .promo-tag { font-size: .85rem; padding: .3rem .7rem; }
  .cat-card { grid-template-columns: 1fr 96px; min-height: 104px; }
  .cat-card .cat-label { font-size: 1.25rem; padding: .8rem .9rem; }
  .feature { padding: 1.2rem; }
  .feature .ico { margin-bottom: .8rem; }
  .feature h4 { font-size: 1.35rem; }
  .story .story-text { padding: 1.5rem; }
  .story h2 { font-size: 2rem; }
  .newsletter h2 { font-size: 2.1rem; }
  .newsletter form, .info-card form.d-flex { flex-direction: column; }
  .newsletter form .form-control { margin: 0 0 .6rem 0 !important; }
  /* product cards: compact 2-up grid */
  .p-card .p-img img { padding: .5rem; }
  .p-card .p-body { padding: .65rem .7rem .75rem; }
  .p-card h5 { font-size: 1rem; }
  .p-card .p-code { font-size: .6rem; }
  .p-card .p-desc, .p-card .price-note { display: none; }
  .p-card .stock { font-size: .58rem; display: block; line-height: 1.3; }
  .p-card .p-foot { padding-top: .5rem; align-items: center; }
  .add-cart { width: 34px; height: 34px; font-size: 1.1rem; }
  .tag { font-size: .55rem; padding: .18rem .45rem; }
  /* category page */
  .side-box { padding: 1rem; }
  .sub-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .sub-chips::-webkit-scrollbar { display: none; }
  .sub-chips a { white-space: nowrap; flex-shrink: 0; }
  .toolbar { padding: .7rem; }
  .toolbar .custom-select { flex: 1; margin-left: .6rem; }
  .pager button { min-width: 36px; height: 36px; font-size: .95rem; }
  /* product page */
  .pd-info h1 { font-size: 2rem; }
  .pd-box .btn { flex: 1 1 100%; }
  .qty { flex: 0 0 auto; }
  /* pages */
  .page-head h1 { font-size: 2.4rem; }
  .page-head::after { width: 8px; }
  .info-card { padding: 1.2rem; }
  .info-card h4, .info-card h5 { font-size: 1.35rem; }
  .gs-table td, .gs-table th { font-size: .8rem; padding: .55rem; }
  .faq .card-header button { font-size: 1.02rem; padding: .85rem 1rem; }
  .athletes { font-size: 1.05rem; }
  .news-item h4 { font-size: 1.5rem; }
  .footer-word { font-size: 19vw; }
  .footer-bottom { flex-direction: column; gap: .3rem; text-align: center; }
  .cookie-bar { left: .6rem; right: .6rem; bottom: .6rem; margin-right: 0; max-width: none; }
  .gs-toast { left: .6rem; right: .6rem; max-width: none; }
}

/* very small phones */
@media (max-width: 359px) {
  .gs-actions .icon-btn:first-child { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .cat-card { grid-template-columns: 1fr 80px; }
}

/* sidebar toggle + stats grid */
.side-toggle { display: none; width: 100%; border: 2px solid var(--ink); background: var(--ink); color: var(--white); font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1rem; padding: .55rem .9rem; text-align: left; letter-spacing: .04em; }
.side-toggle::after { content: "+"; float: right; color: var(--orange); }
.side-box.open .side-toggle::after { content: "−"; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-stats > div { margin-right: 0; padding-left: 0; }
.hero-stats > div + div { padding-left: 1rem; }
@media (max-width: 991px) {
  .side-box { padding: 0; border: 0; background: transparent; }
  .side-toggle { display: block; }
  .side-box .side-body { display: none; background: var(--white); border: 2px solid var(--ink); border-top: 0; padding: 1rem; }
  .side-box.open .side-body { display: block; }
}
@media (max-width: 575px) {
  .hero-stats > div { flex: none; padding-right: .5rem; }
  .hero-stats > div + div { padding-left: .6rem; }
  .hero-stats b { font-size: 1.55rem; }
}
@media (max-width: 575px) {
  .topstrip .container { justify-content: space-between !important; flex-wrap: nowrap; }
  .topstrip .container > span { width: auto; }
}
@media (min-width: 1200px) {
  .gs-menu li.top > a { font-size: 1.12rem; padding: .75rem .78rem; }
  .gs-menu li.top > a::after { left: .78rem; right: .78rem; }
}
