/* ---------------------------------------------------------------
   WHERE TO GET YOUR SKATEBOARD (4 cards)
   Homepage: lime band after "Start skating in 3 steps".
   Board Lab page: same cards on the dark page.
   Each card has its own color (--art) and a product illustration.
   Desktop: 4 across. Tablet: 2 x 2. Phone: one column.
--------------------------------------------------------------- */
.gear-head { margin-bottom: 1.75rem; max-width: 680px; }
.gear-kicker { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }
html[lang="th"] .gear-kicker { letter-spacing: 0; }
.gear-title { margin: 0; font-size: clamp(2.1rem, 5vw, 3.25rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 700; text-transform: uppercase; }
.gear-lead { margin: 12px 0 0; font-size: 1.02rem; line-height: 1.55; }

.gear-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gear-card {
  --art: #d7f238;
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: #fff; color: #111; border: 3px solid #111; border-radius: 18px; box-shadow: 5px 5px 0 #111;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gear-card:hover { transform: translate(-3px, -3px) rotate(-0.4deg); box-shadow: 8px 8px 0 #111; }
.gear-card:nth-child(even):hover { transform: translate(-3px, -3px) rotate(0.4deg); }
.gear-card:focus-within { outline: 3px solid #111; outline-offset: 4px; }
.gear-art { background: var(--art); border-bottom: 3px solid #111; aspect-ratio: 12 / 7; overflow: hidden; }
.gear-art svg { display: block; width: 100%; height: 100%; transition: transform 0.25s ease; }
.gear-card:hover .gear-art svg { transform: scale(1.04) rotate(-1deg); }
.gear-art--photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gear-card:hover .gear-art--photo img { transform: scale(1.04); }
/* round logo badge overlapping the bottom of the picture */
.gear-logo { position: relative; z-index: 2; display: grid; place-items: center; width: 62px; height: 62px; margin: -34px 0 0 16px; border: 3px solid #111; border-radius: 50%; background: #fff; box-shadow: 3px 3px 0 #111; object-fit: cover; }
.gear-logo--icon { background: #d7f238; color: #111; }
.gear-logo--icon .gear-ic { width: 26px; height: 26px; }
.gear-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 12px 18px 18px; }
.gear-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border: 2px solid #111; border-radius: 999px; background: var(--art); color: #111; font-size: 12px; font-weight: 700; }
.gear-ic { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gear-name { margin: 2px 0 0; font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; text-transform: uppercase; color: inherit; }
.gear-name a { color: inherit; text-decoration: none; }
.gear-name a:focus { outline: none; }
.gear-name a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; z-index: 1; }
.gear-text { margin: 0; flex: 1; color: #4a4a45; font-size: 0.92rem; line-height: 1.5; }
.gear-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gear-chips li { padding: 3px 9px; border-radius: 999px; background: #f3f2ec; border: 1.5px solid rgba(17,17,17,0.18); color: #2b2b28; font-size: 12px; font-weight: 600; line-height: 1.35; }
.gear-cta { margin-top: 6px; align-self: flex-start; max-width: 100%; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 2px solid #111; border-radius: 999px; background: #111; color: #fff; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0; white-space: nowrap; }
html[lang="th"] .gear-cta { text-transform: none; letter-spacing: 0; }
.gear-arrow { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.gear-card:hover .gear-cta { background: var(--art); color: #111; }
.gear-card:hover .gear-arrow { transform: translateX(3px); }

/* made-to-order card: black body so it stands apart */
.gear-card--feature { background: #111; color: #f3f2ed; }
.gear-card--feature .gear-text { color: #c9c8c1; }
.gear-card--feature .gear-chips li { background: #222220; border-color: rgba(255,255,255,0.18); color: #e6e5df; }
.gear-card--feature .gear-cta { background: #d7f238; color: #111; border-color: #d7f238; }
.gear-card--feature:hover .gear-cta { background: #fff; border-color: #fff; }

.gear-note { margin: 22px 0 0; font-size: 0.85rem; line-height: 1.5; }
.gear-note a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 1080px) { .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 560px) {
  .gear-grid { grid-template-columns: 1fr; gap: 18px; }
  .gear-art { aspect-ratio: 2 / 1; }
  .gear-body { padding: 14px 16px 16px; }
  .gear-name { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gear-card, .gear-art svg, .gear-arrow { transition: none; }
  .gear-card:hover, .gear-card:nth-child(even):hover { transform: none; }
  .gear-card:hover .gear-art svg { transform: none; }
}

/* ---------- homepage: lime band with a few doodles ---------- */
.gear-section { background: #d7f238; color: #111; padding-block: var(--section-pad); border-block: 3px solid #111; }
.gear-section .wrap { position: relative; z-index: 1; }
.gear-section .gear-kicker { background: #111; color: #d7f238; }
.gear-section .gear-lead { color: #2b2c22; }
.gear-section .gear-note { color: #2b2c22; }
.gear-section .gear-note a { color: #111; text-decoration-color: #111; }

/* ---------- Board Lab page (cream) ---------- */
.dl-gear { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(8px, 2vw, 24px); border-top: 1px solid rgba(17,17,17,0.12); }
.dl-gear .gear-kicker { background: #111; color: #d7f238; }
.dl-gear .gear-title { color: #111; }
.dl-gear .gear-lead, .dl-gear .gear-note { color: #4a4a45; }
.dl-gear .gear-note a { color: #111; text-decoration-color: #111; }
/* wide wordmark logo (Tightland): white pill instead of a circle */
.gear-logo--wide { width: auto; height: 50px; max-width: 170px; padding: 8px 16px; border-radius: 999px; object-fit: contain; margin-top: -28px; }
/* second link on a card (shop location) sits above the card-wide link */
.gear-maps { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: #111; font-weight: 700; font-size: 0.85rem; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--art); text-underline-offset: 4px; }
.gear-maps:hover { color: #000; text-decoration-color: #111; }
.gear-pin { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
