/*
Theme Name: JerseyStore MX
Author: TOPKNIVES Ops
Description: SEO-first WooCommerce storefront for Mexico and Liga MX jersey collections.
Version: 1.2.1
Text Domain: jerseystore-mx
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800;900&family=Rubik:wght@500;600;700;800;900&display=swap');

:root {
  --ink: #111315;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f4f6f5;
  --mint: #e6f6ee;
  --green: #0f6b42;
  --green-2: #098052;
  --green-dark: #073b2b;
  --red: #c8192f;
  --gold: #d7a12b;
  --blue: #184d8f;
  --radius: 8px;
  --shadow: 0 18px 40px rgba(17, 19, 21, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

:focus-visible {
  outline: 3px solid rgba(15, 107, 66, 0.28);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jsm-wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.jsm-topbar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.jsm-topbar .jsm-wrap,
.jsm-mainbar .jsm-wrap,
.jsm-nav .jsm-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.jsm-topbar .jsm-wrap {
  min-height: 36px;
}

.jsm-topbar span {
  color: rgba(255, 255, 255, 0.82);
}

.jsm-topbar a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jsm-mainbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.jsm-mainbar .jsm-wrap {
  min-height: 78px;
}

.jsm-mainbar .jsm-quicklinks {
  min-height: 34px;
  padding-bottom: 12px;
  justify-content: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.jsm-quicklinks a {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
}

.jsm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 24px;
}

.jsm-logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--red));
  border-radius: 8px;
  font-weight: 900;
}

.jsm-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.jsm-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font: inherit;
}

.jsm-search button,
.jsm-button {
  border: 0;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.jsm-search button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.jsm-search button svg,
.jsm-icon svg,
.jsm-wish svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jsm-search button:hover,
.jsm-button:hover {
  background: var(--green-2);
}

.jsm-actions {
  display: flex;
  gap: 8px;
}

.jsm-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.jsm-icon:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--mint);
}

.jsm-nav {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.jsm-nav .jsm-wrap {
  min-height: 46px;
  justify-content: flex-start;
  flex-wrap: wrap;
  overflow: visible;
  column-gap: 22px;
  scrollbar-width: none;
}

.jsm-nav .jsm-wrap::-webkit-scrollbar {
  display: none;
}

.jsm-nav a {
  white-space: nowrap;
  font-weight: 800;
  font-size: 13px;
  padding: 14px 4px;
}

.jsm-nav a:hover {
  color: var(--green);
}

.jsm-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 59, 43, 0.98), rgba(12, 18, 24, 0.9)),
    radial-gradient(circle at 76% 24%, rgba(200, 25, 47, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0 25%, transparent 25% 50%, rgba(255,255,255,0.04) 50% 75%, transparent 75%);
  background-size: auto, auto, 28px 28px;
}

.jsm-hero-grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 48px 0;
}

.jsm-eyebrow {
  color: #c8f4dc;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.jsm-hero h1,
.jsm-section h2,
.jsm-tax-hero h1 {
  margin: 12px 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.jsm-hero h1 {
  max-width: 720px;
  font-size: clamp(38px, 6vw, 72px);
}

.jsm-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.jsm-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.jsm-hero-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 900;
}

.jsm-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.jsm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
}

.jsm-button.secondary {
  background: #fff;
  color: var(--ink);
}

.jsm-hero-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.jsm-hero-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 180ms ease, transform 180ms ease;
}

.jsm-hero-tile:hover {
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.jsm-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jsm-hero-tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(17, 19, 21, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.jsm-trust {
  background: #0b0e10;
  color: #fff;
}

.jsm-trust .jsm-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.jsm-trust-item {
  padding: 18px 12px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.jsm-trust-item strong {
  display: block;
  font-size: 15px;
}

.jsm-section {
  padding: 56px 0;
}

.jsm-section.alt {
  background: var(--soft);
}

.jsm-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.jsm-section h2,
.jsm-tax-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
}

.jsm-section-head p,
.jsm-tax-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.jsm-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jsm-category-tile {
  display: block;
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jsm-category-tile b {
  display: block;
  font-size: 17px;
}

.jsm-category-tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.jsm-category-tile em {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.jsm-category-tile:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.jsm-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jsm-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jsm-product-card:hover {
  border-color: rgba(15, 107, 66, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.jsm-product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f1f2f4;
}

.jsm-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.jsm-product-card:hover .jsm-product-media img {
  transform: scale(1.025);
}

.jsm-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.jsm-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.jsm-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.jsm-product-title {
  min-height: 44px;
  font-weight: 800;
  line-height: 1.35;
}

.jsm-product-cat {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.jsm-price {
  margin-top: 10px;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

.jsm-product-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
}

.jsm-product-actions a,
.jsm-small-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 0 10px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.jsm-product-actions .select {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.jsm-product-actions a:hover {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green-dark);
}

.jsm-product-actions .select:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.jsm-band {
  color: #fff;
  background: var(--green-dark);
}

.jsm-band .jsm-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 46px 0;
}

.jsm-band h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.jsm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.jsm-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsm-note h3 {
  margin-top: 0;
}

.jsm-tax-hero {
  padding: 52px 0 36px;
  background: var(--soft);
}

.jsm-tax-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jsm-tax-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.jsm-shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
}

.jsm-filters {
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsm-filters h3 {
  margin: 0 0 14px;
}

.jsm-filter-line {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--muted);
}

.jsm-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.jsm-seo-copy p {
  color: #344054;
  font-size: 16px;
}

.jsm-faq {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsm-faq h3 {
  margin: 0 0 12px;
}

.jsm-faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.jsm-faq summary {
  cursor: pointer;
  font-weight: 900;
}

.jsm-faq p {
  margin-bottom: 0;
  color: var(--muted);
}

.jsm-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jsm-related-links a,
.jsm-product-bullets span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}

.jsm-related-links a:hover {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green-dark);
}

.jsm-product-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.jsm-shop-tools {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.jsm-footer {
  padding: 46px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background: #090b0d;
}

.jsm-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
}

.jsm-footer h3,
.jsm-footer h4 {
  color: #fff;
}

.jsm-footer a {
  display: block;
  margin: 8px 0;
}

.jsm-copy {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.woocommerce-notices-wrapper,
.woocommerce-result-count,
.woocommerce-ordering {
  display: none;
}

@media (max-width: 980px) {
  .jsm-mainbar .jsm-wrap {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .jsm-mainbar .jsm-quicklinks {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .jsm-mainbar .jsm-quicklinks::-webkit-scrollbar {
    display: none;
  }

  .jsm-nav .jsm-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    column-gap: 18px;
  }

  .jsm-search {
    order: 3;
    max-width: none;
    flex-basis: 100%;
  }

  .jsm-hero-grid,
  .jsm-band .jsm-wrap,
  .jsm-shop-layout {
    grid-template-columns: 1fr;
  }

  .jsm-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jsm-category-grid,
  .jsm-seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .jsm-wrap {
    width: min(100% - 22px, 1240px);
  }

  .jsm-topbar .jsm-wrap {
    justify-content: center;
    text-align: center;
  }

  .jsm-hero-grid {
    min-height: auto;
    padding: 34px 0;
  }

  .jsm-hero-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsm-hero-tile {
    min-height: 150px;
  }

  .jsm-trust .jsm-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsm-section-head,
  .jsm-shop-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .jsm-products,
  .jsm-category-grid,
  .jsm-blog-grid,
  .jsm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsm-seo-grid {
    grid-template-columns: 1fr;
  }

  .jsm-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .jsm-logo {
    font-size: 22px;
  }

  .jsm-search button {
    padding-inline: 12px;
  }

  .jsm-search button span {
    display: none;
  }

  .jsm-product-actions {
    grid-template-columns: 1fr;
  }
}

/* Option 3: SPJ-inspired editorial campaign storefront */
body {
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
  background: #fff;
}

h1,
h2,
h3,
.jsm-logo,
.jsm-button,
.jsm-nav a,
.jsm-product-title {
  font-family: "Rubik", Arial, Helvetica, sans-serif;
}

.jsm-topbar {
  background: #080b0d;
  font-size: 12px;
  font-weight: 900;
}

.jsm-topbar .jsm-wrap {
  min-height: 34px;
}

.jsm-mainbar {
  background: #fff;
}

.jsm-mainbar .jsm-wrap {
  min-height: 78px;
}

.jsm-nav a {
  padding: 15px 0;
}

.jsm-button.red {
  background: var(--red);
}

.jsm-button.red:hover {
  background: #a81327;
}

.jsm-eyebrow.dark {
  color: var(--green);
}

.jsm-section.soft {
  background: #f4f6f5;
}

.jsm-section.dark {
  background: #0a0d0f;
  color: #fff;
}

.jsm-section.field {
  background: var(--green-dark);
  color: #fff;
}

.jsm-section.dark .jsm-section-head p,
.jsm-section.field .jsm-section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.jsm-spj-hero {
  color: #fff;
  background:
    radial-gradient(circle at 84% 16%, rgba(200, 25, 47, 0.32), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 22%, transparent 22% 50%, rgba(255, 255, 255, 0.04) 50% 72%, transparent 72%),
    #073b2b;
  background-size: auto, 30px 30px, auto;
}

.jsm-spj-hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  gap: 42px;
  align-items: center;
  padding: 58px 0;
}

.jsm-spj-copy h1 {
  max-width: 740px;
  margin: 12px 0 18px;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.jsm-spj-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.jsm-poster {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
}

.jsm-poster-main,
.jsm-poster-side a {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.jsm-poster-main img,
.jsm-poster-side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.jsm-poster-main {
  min-height: 450px;
}

.jsm-poster-main span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.jsm-poster-side {
  display: grid;
  gap: 14px;
}

.jsm-poster-side a {
  min-height: 218px;
}

.jsm-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.jsm-collection-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  background: #16211f;
  color: #fff;
  isolation: isolate;
}

.jsm-collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.76));
}

.jsm-collection-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 220ms ease;
}

.jsm-collection-card:hover img {
  transform: scale(1.035);
}

.jsm-collection-card b,
.jsm-collection-card span {
  margin-left: 16px;
  margin-right: 16px;
}

.jsm-collection-card b {
  margin-bottom: 4px;
  font-size: 20px;
}

.jsm-collection-card span {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 800;
}

.jsm-section.dark .jsm-product-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.jsm-product-media {
  background: #f1f3f2;
}

.jsm-product-media img {
  object-fit: contain;
  padding: 10px;
  background: #f1f3f2;
}

.jsm-product-card:hover .jsm-product-media img {
  transform: scale(1.018);
}

.jsm-quality-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.jsm-quality-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsm-quality-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.jsm-quality-card p {
  color: #475467;
}

.jsm-mystery-grid,
.jsm-business-grid,
.jsm-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.jsm-mystery-visual {
  min-height: 440px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #070a0c;
}

.jsm-mystery-collage,
.jsm-media-collage {
  width: 88%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.jsm-mystery-collage a,
.jsm-media-collage a {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.jsm-mystery-collage img,
.jsm-media-collage img {
  width: 100%;
  height: 186px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.jsm-option-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.jsm-option-panel h2,
.jsm-business-grid h2,
.jsm-visit-grid h2 {
  margin: 10px 0 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.jsm-option-panel p,
.jsm-business-grid p,
.jsm-visit-grid p {
  color: #475467;
  font-size: 17px;
}

.jsm-size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.jsm-size-row span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.jsm-shipping-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jsm-ship-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jsm-ship-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.jsm-ship-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 6px;
  background: #f1f3f2;
  border-radius: 8px;
}

.jsm-ship-card b {
  display: block;
  min-height: 44px;
  margin-top: 12px;
  line-height: 1.35;
}

.jsm-ship-card span {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
}

.jsm-business-grid .jsm-media-collage,
.jsm-visit-grid .jsm-media-collage {
  width: 100%;
  min-height: 390px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 107, 66, 0.10), rgba(200, 25, 47, 0.08)),
    #fff;
}

.jsm-business-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.jsm-business-list li {
  padding: 10px 12px;
  border: 1px solid rgba(15, 107, 66, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}

.jsm-direct-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.jsm-direct-contact > a:not(.jsm-button) {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jsm-direct-contact.product {
  margin-top: 14px;
}

.jsm-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.jsm-policy-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsm-policy-grid b,
.jsm-policy-grid span {
  display: block;
}

.jsm-policy-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.jsm-review-grid {
  columns: 4 230px;
  column-gap: 16px;
}

.jsm-review {
  width: 100%;
  display: inline-block;
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsm-rating {
  color: var(--green);
  font-weight: 900;
}

.jsm-review p {
  color: #475467;
}

.jsm-email-section {
  background: #fff;
}

.jsm-email-form {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.jsm-email-form h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 46px);
}

.jsm-email-form p {
  color: var(--muted);
}

.jsm-contact-alert {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(200, 25, 47, 0.28);
  border-radius: 8px;
  background: rgba(200, 25, 47, 0.08);
  color: #8a1020;
  font-weight: 800;
}

.jsm-contact-alert.success {
  border-color: rgba(15, 107, 66, 0.28);
  background: rgba(15, 107, 66, 0.09);
  color: var(--green-dark);
}

.jsm-hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jsm-email-form label {
  display: block;
  margin-top: 10px;
  text-align: left;
}

.jsm-email-form label span {
  display: block;
  margin: 0 0 5px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.jsm-email-form input,
.jsm-email-form textarea {
  width: 100%;
  border: 1px solid #cfd7d2;
  border-radius: 20px;
  padding: 12px 15px;
  font: inherit;
}

.jsm-email-form button {
  margin-top: 14px;
  min-width: 160px;
}

.jsm-email-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jsm-mobile-quote {
  display: none;
}

.single-product .jsm-mobile-quote {
  display: none !important;
}

.jsm-tax-hero {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 25, 47, 0.26), transparent 30%),
    var(--green-dark);
}

.jsm-tax-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.jsm-tax-meta span {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.jsm-filters {
  border-color: rgba(15, 107, 66, 0.22);
  background: #f7faf8;
}

.jsm-single-product {
  background: #f4f6f5;
}

.jsm-single-product .jsm-shop-layout {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}

.jsm-single-product .jsm-product-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsm-product-gallery {
  display: grid;
  gap: 12px;
  width: 100%;
}

.jsm-product-gallery-main {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.jsm-single-product .jsm-product-gallery-main img,
.jsm-single-product .jsm-product-media > img {
  width: 100%;
  min-height: 480px;
  object-fit: contain;
  padding: 22px;
  background: #fff;
}

.jsm-product-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.jsm-product-thumbs a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.jsm-single-product .jsm-product-thumbs img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 6px;
  background: #f7faf8;
}

.jsm-addon-options {
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 12px 0 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.jsm-addon-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.jsm-addon-group legend,
.jsm-addon-grid label > span {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.jsm-addon-group legend span {
  margin-left: 6px;
  color: var(--red);
  font-size: 11px;
}

.jsm-addon-chips,
.jsm-addon-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jsm-addon-chips label,
.jsm-addon-radios label {
  position: relative;
  cursor: pointer;
}

.jsm-addon-chips input,
.jsm-addon-radios input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jsm-addon-chips span,
.jsm-addon-radios span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7faf8;
  color: var(--ink);
  font-weight: 900;
  padding: 0 12px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.jsm-addon-chips input:checked + span,
.jsm-addon-radios input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.jsm-addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.jsm-addon-grid select,
.jsm-addon-grid input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  padding: 0 12px;
  font: inherit;
}

.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.single-product form.cart .quantity input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
}

.single-product form.cart button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.single-product form.cart button.single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button.button.alt {
  background: var(--green) !important;
  color: #fff !important;
}

.single-product form.cart button.single_add_to_cart_button:hover,
.single-product form.cart .single_add_to_cart_button.button.alt:hover {
  background: var(--green-2) !important;
}

@media (max-width: 980px) {
  .jsm-spj-hero-grid,
  .jsm-mystery-grid,
  .jsm-business-grid,
  .jsm-visit-grid,
  .jsm-single-product .jsm-shop-layout {
    grid-template-columns: 1fr;
  }

  .jsm-poster {
    grid-template-columns: 1fr;
  }

  .jsm-poster-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsm-collection-grid,
  .jsm-shipping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsm-quality-stack {
    grid-template-columns: 1fr;
  }

  .jsm-policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 76px;
  }

  .jsm-topbar .jsm-wrap {
    min-height: 48px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 6px 0;
    line-height: 1.25;
  }

  .jsm-topbar span {
    display: block;
  }

  .jsm-spj-hero-grid {
    min-height: auto;
    padding: 42px 0;
  }

  .jsm-spj-copy h1 {
    font-size: 40px;
  }

  .jsm-poster-main {
    min-height: 360px;
  }

  .jsm-poster-side a {
    min-height: 170px;
  }

  .jsm-collection-grid,
  .jsm-mystery-collage,
  .jsm-media-collage {
    grid-template-columns: 1fr;
  }

  .jsm-products,
  .jsm-shipping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .jsm-product-body {
    padding: 11px;
  }

  .jsm-product-title,
  .jsm-ship-card b {
    min-height: 0;
    font-size: 13px;
    line-height: 1.28;
  }

  .jsm-product-actions {
    gap: 7px;
  }

  .jsm-product-actions a,
  .jsm-small-action {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
  }

  .jsm-mystery-collage img,
  .jsm-media-collage img {
    height: 180px;
  }

  .jsm-business-grid .jsm-media-collage,
  .jsm-visit-grid .jsm-media-collage {
    min-height: 0;
  }

  .jsm-single-product .jsm-product-media img {
    min-height: 360px;
  }

  .jsm-single-product .jsm-product-gallery-main img,
  .jsm-single-product .jsm-product-media > img {
    min-height: 320px;
    padding: 14px;
  }

  .jsm-product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .jsm-single-product .jsm-product-thumbs img {
    min-height: 0;
    padding: 6px;
  }

  .jsm-addon-grid {
    grid-template-columns: 1fr;
  }

  .jsm-addon-chips span,
  .jsm-addon-radios span {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .jsm-mobile-quote {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 80;
    display: grid;
    place-items: center;
    min-height: 50px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 36px rgba(17, 19, 21, 0.24);
  }
}

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