/* Gear shop — vanilla CSS inspired by 21st.dev
   Shop by Category Grid (uğur sözen) + Featured Product Showcase.
   Site tokens only; no React/shadcn. */

.gs {
  --max: 1180px;
}

.gs-hero {
  min-height: min(68svh, 600px);
}

.gs-hero .tz-hero-img {
  object-position: 28% 52%;
}

.gs-hero h1 {
  max-width: 12ch;
}

.gs-hero .tz-lede {
  max-width: 46ch;
}

/* Sit under the floating 21st.dev pill so Models / TESMAG / EV Bandit stay tappable. */
.gs .tz-jump {
  top: 4.65rem;
  z-index: 5;
  justify-content: center;
}

.gs .tz-section {
  scroll-margin-top: 8.25rem;
}

.gs-go {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 1rem 1rem;
  color: #ff5a6e;
  font-size: 0.84rem;
  font-weight: 600;
}

.gs .tz-model-line {
  padding-bottom: 0.15rem;
}

.gs .tz-model {
  position: relative;
}

.gs .tz-models {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gs .tz-model img {
  transition: transform 0.5s ease;
}

.gs .tz-model:hover img,
.gs .tz-model:focus-visible img {
  transform: scale(1.045);
}

.gs-partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.gs-partner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.3rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.gs-partner:hover,
.gs-partner:focus-visible {
  border-color: rgba(227, 25, 55, 0.55);
  transform: translateY(-2px);
  color: inherit;
}

.gs-partner strong {
  font-size: 1.15rem;
  font-weight: 600;
}

.gs-partner span:last-child {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.gs-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  margin-bottom: 0.9rem;
  transition: border-color 0.18s ease;
}

.gs-feature:hover,
.gs-feature:focus-visible {
  border-color: rgba(227, 25, 55, 0.55);
  color: inherit;
}

.gs-feature-media {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  background: #101013;
}

.gs-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.gs-feature:hover .gs-feature-media img {
  transform: scale(1.05);
}

.gs-feature-copy {
  padding: clamp(1.35rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gs-feature-title {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.gs-feature-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.gs-bullets {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.gs-bullets li + li {
  margin-top: 0.25rem;
}

.gs-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ff5a6e;
  font-weight: 600;
  font-size: 0.95rem;
}

.gs-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(11.2rem, auto);
  gap: 0.9rem;
}

.gs-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 11.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  background: #101013;
  isolation: isolate;
}

.gs-tile:hover,
.gs-tile:focus-visible {
  color: #fff;
  border-color: rgba(227, 25, 55, 0.55);
}

.gs-tile-lg {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 23.5rem;
}

.gs-tile-wide {
  grid-column: span 2;
}

.gs-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

.gs-tile:hover img,
.gs-tile:focus-visible img {
  transform: scale(1.06);
}

.gs-tile-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 9, 12, 0.94) 0%,
    rgba(8, 9, 12, 0.42) 48%,
    rgba(8, 9, 12, 0.12) 100%
  );
  pointer-events: none;
}

.gs-tile-copy {
  position: relative;
  z-index: 2;
  padding: 1.05rem 1.15rem 1.15rem;
}

.gs-k {
  margin: 0 0 0.35rem;
  font: 600 0.68rem/1.2 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff5a6e;
}

.gs-tile-copy strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gs-tile-lg .gs-tile-copy strong {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.gs-tile-copy em {
  display: block;
  margin: 0.28rem 0 0;
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(236, 236, 232, 0.78);
}

.gs-tile-cta {
  display: inline-flex;
  margin-top: 0.55rem;
  color: #ff5a6e;
  font-size: 0.84rem;
  font-weight: 600;
}

.gs-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gs-product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.gs-product:hover,
.gs-product:focus-visible {
  border-color: rgba(227, 25, 55, 0.55);
  transform: translateY(-2px);
  color: inherit;
}

.gs-product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: radial-gradient(120% 90% at 50% 100%, rgba(227, 25, 55, 0.18), #101013 70%);
}

.gs-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gs-product:hover img,
.gs-product:focus-visible img {
  transform: scale(1.05);
}

.gs-product-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.95rem 1.05rem 1.1rem;
}

.gs-product-copy strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.gs-product-copy span {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.gs-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.gs-disclosure {
  margin: 0;
  max-width: 54ch;
  font-size: 0.8rem;
  color: var(--mute);
  line-height: 1.5;
}

.gs-src {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--mute);
}

.gs-src a {
  color: var(--ink-soft);
}

.gs .tz-model:focus-visible,
.gs-tile:focus-visible,
.gs-feature:focus-visible,
.gs-product:focus-visible,
.gs-partner:focus-visible {
  outline: 2px solid #e31937;
  outline-offset: 2px;
}

@media (hover: hover) {
  .gs .tz-model:hover {
    border-color: rgba(227, 25, 55, 0.55);
    transform: translateY(-2px);
  }
}

@media (max-width: 1100px) {
  .gs .tz-models {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .gs .tz-models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-partners,
  .gs-feature,
  .gs-products {
    grid-template-columns: 1fr;
  }

  .gs-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(10.5rem, auto);
  }

  .gs-tile-lg {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 16rem;
  }

  .gs-feature-media {
    min-height: 14rem;
    aspect-ratio: 16 / 9;
  }

  .gs-feature-media img {
    position: relative;
  }
}

@media (max-width: 600px) {
  .gs-hero {
    min-height: 78svh;
  }

  .gs-hero .tz-hero-img {
    object-position: 40% 50%;
  }

  .gs .tz-models,
  .gs-partners,
  .gs-products,
  .gs-bento {
    grid-template-columns: 1fr;
  }

  .gs-tile-lg,
  .gs-tile-wide {
    grid-column: span 1;
    min-height: 16rem;
  }

  .gs-foot .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs .tz-model,
  .gs-tile,
  .gs-product,
  .gs-partner,
  .gs-feature-media img,
  .gs-tile img,
  .gs-product-media img,
  .gs .tz-model img {
    transition: none;
  }

  .gs .tz-model:hover img,
  .gs-tile:hover img,
  .gs-product:hover img,
  .gs-feature:hover .gs-feature-media img {
    transform: none;
  }

  .gs .tz-model:hover,
  .gs-product:hover,
  .gs-partner:hover {
    transform: none;
  }
}
