:root {
  --bg: #fff;
  --bg-soft: #f6f6f6;
  --bg-card: #fff;
  --line: #e7e7e7;
  --line-soft: #f0f0f0;
  --text: #141414;
  --text-dim: #575757;
  --text-faint: #8d8d8d;
  --red: var(--shop-accent, #cf181f);
  --red-soft: #fbeaea;
  --emerald: #15915c;
  --emerald-soft: #e5f5ee;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1280px;
  --shop-accent: var(--red);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", Inter, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: inherit; }
a { color: inherit; }
img { max-width: 100%; }

.announce, .shop-announce {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  row-gap: 4px;
  background: #fff;
  color: var(--red);
  text-align: center;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
}
.announce .a-item:after { content: "•"; opacity: 0.5; margin: 0 10px; }
.announce .a-item:last-child:after { content: none; margin: 0; }
.shop-topbar {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 0 10px #00000026;
}
.shop-topbar-inner,
.shop-wrap,
.home-hero .wrap,
.shop-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.shop-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.shop-logo { min-width: 0; }
.shop-logo img { height: 46px; width: auto; max-width: 42vw; display: block; }
.shop-logo { color: #fff; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-store { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; border-left: 1px solid #ffffff73; padding-left: 10px; }
.brand-logo-wide { height: 64px; width: auto; max-width: 280px; background: transparent; }
.footer-wordmark { font-size: 32px; margin: 0 0 12px; }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.topbar-actions a { color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.shop-cart {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
}
.shop-cart svg { width: 18px; height: 18px; display: block; }
.catbar { background: #fff; border-bottom: 1px solid var(--line); }
.catbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
}
.catbar a {
  color: var(--text-dim);
  white-space: nowrap;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 14px 10px;
  border-bottom: 3px solid transparent;
}
.catbar a:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cat-accent, #b9bcc2);
  vertical-align: 1px;
}
.catbar a[data-anchor="jerseys"] { --cat-accent: #dc222b; }
.catbar a[data-anchor="football"] { --cat-accent: #16944f; }
.catbar a[data-anchor="headwear"] { --cat-accent: #2b2b30; }
.catbar a[data-anchor="towels"] { --cat-accent: #139ec9; }
.catbar a[data-anchor="accessories"] { --cat-accent: #d06c0d; }
.catbar a[data-anchor="bundles"] { --cat-accent: #a8131c; }

.home-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); padding: 56px 0 64px; }
.home-hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 44px; }
.home-hero .eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 12px;
}
.home-hero h1 {
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.03;
}
.home-hero h1 .accent { color: var(--red); }
.home-hero .lede { color: var(--text-dim); font-size: 18px; line-height: 1.5; margin: 0 0 22px; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.btn-ghost { color: var(--text); font-weight: 700; text-decoration: none; padding: 16px 4px; }
.pcard-variant { color: var(--text-dim); margin: 0; font-size: 13.5px; font-weight: 700; }
.pcard:hover { box-shadow: 0 10px 30px -12px #0000001a; transform: translateY(-3px); }
ul.products li.product { margin: 0; padding: 0; width: auto !important; float: none; }
.single-product div.product { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { float: none !important; width: auto !important; margin: 0; }
.single-product .price { color: var(--red); font-size: 28px; font-weight: 700; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--red); }
.btn-primary, .button, .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 20px -10px #d63a2f99;
  cursor: pointer;
}
.home-hero-photo {
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 1;
  position: relative;
}
.home-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: joji-hero 16s infinite;
}
.home-hero-photo img:only-child { opacity: 1; animation: none; }
.home-hero-photo img:nth-child(2) { animation-delay: 4s; }
.home-hero-photo img:nth-child(3) { animation-delay: 8s; }
.home-hero-photo img:nth-child(4) { animation-delay: 12s; }
@keyframes joji-hero {
  0%, 18% { opacity: 1; }
  25%, 100% { opacity: 0; }
}
.variations { width: 100%; border: 0; margin: 12px 0 18px; }
.variations th, .variations td { display: block; text-align: left; padding: 4px 0; }
.variations select, .quantity .qty {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  min-width: 160px;
}

.shop-section { padding: 28px 0 8px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-head h2 { letter-spacing: -0.02em; margin: 0; font-size: 34px; }
.section-head p { color: var(--text-dim); margin: 0; font-size: 16px; }

.shelf { padding: 30px 0 6px; }
.cat-banner-wrap.has-image { border-radius: 20px; overflow: hidden; box-shadow: 0 14px 30px -18px #00000073; }
.cat-banner-wrap .cat-banner-img { width: 100%; height: auto; display: block; }
.cat-banner {
  --cb-bg: linear-gradient(115deg, #26282c, #4a4d54);
  --cb-pattern: none;
  color: #fff;
  background-image: var(--cb-pattern), var(--cb-bg);
  border-radius: 20px;
  min-height: 132px;
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px -18px #00000073;
}
.shelf--jerseys .cat-banner { --cb-bg: linear-gradient(115deg, #a50f16 0%, #dc222b 100%); --cb-pattern: repeating-linear-gradient(115deg, #ffffff17 0 14px, transparent 14px 28px); }
.shelf--football .cat-banner { --cb-bg: linear-gradient(115deg, #0a5233 0%, #16944f 100%); }
.shelf--headwear .cat-banner { --cb-bg: linear-gradient(115deg, #0e0e10 0%, #34343a 100%); --cb-pattern: radial-gradient(#ffffff29 1.4px, transparent 1.7px); background-size: 16px 16px, auto; }
.shelf--towels .cat-banner { --cb-bg: linear-gradient(115deg, #0a4f96 0%, #139ec9 100%); }
.shelf--accessories .cat-banner { --cb-bg: linear-gradient(115deg, #8f3a07 0%, #d06c0d 100%); }
.shelf--bundles .cat-banner { --cb-bg: linear-gradient(115deg, #5b0a10 0%, #a8131c 100%); }
.cat-banner-text { position: relative; z-index: 1; min-width: 0; }
.cat-banner-eyebrow { letter-spacing: 0.18em; text-transform: uppercase; color: #ffffffbf; margin: 0 0 6px; font-size: 12px; font-weight: 700; }
.cat-banner h3 { letter-spacing: -0.02em; color: #fff; margin: 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05; }
.cat-banner-blurb { color: #ffffffe6; max-width: 46ch; margin: 8px 0 0; font-size: 15.5px; }
.deal-pill { display: inline-block; color: #fff; background: #ffffff2e; border: 1px solid #fff6; border-radius: 999px; margin-top: 12px; padding: 6px 12px; font-size: 13px; font-weight: 700; }

.shelf-grid, ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.pcard, ul.products li.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pcard { color: inherit; text-decoration: none; }
.pcard-media {
  aspect-ratio: 1;
  background: #fff;
  padding: 10px;
  position: relative;
}
.pcard-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pcard-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
}
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.pcard-body h3, ul.products li.product .woocommerce-loop-product__title { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.pcard-tagline { color: var(--text-dim); margin: 0; font-size: 13.5px; }
.pcard-deal { color: var(--emerald); margin: 6px 0 0; font-size: 12.5px; font-weight: 700; }
.pcard-deal span { color: var(--text-faint); font-weight: 600; }
.pcard-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.pcard-price { color: var(--text-dim); font-size: 13px; }
.pcard-price strong { color: var(--red); font-size: 15px; }
.pcard-sizes { color: var(--text-faint); font-size: 12px; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 36px 0 48px; }
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px 26px 28px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--text-dim); line-height: 1.45; }

.site-footer { background: #000; color: #fff; padding: 0 0 24px; }
.footer-redline { background: var(--red); height: 5px; }
.site-footer .wrap { max-width: var(--maxw); margin: 0 auto; padding: 44px 24px 0; }
.footer-brand-logo { width: auto; max-width: 100%; height: 58px; display: block; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer h4 { margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.footer-note { color: #cfcfcf; max-width: 28rem; }
.footer-base { max-width: var(--maxw); margin: 28px auto 0; padding: 0 24px; color: #8d8d8d; font-size: 13px; }

.shop-wrap { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px 64px; }
.fl-row-content-wrap, .fl-col-content, .fl-module-content { padding: 0 !important; background: transparent !important; }
.fl-row, .fl-row-content { max-width: none !important; width: 100% !important; }

@media (max-width: 1000px) {
  .shelf-grid, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid, .feature-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .home-hero { padding: 36px 0 44px; }
  .home-hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .home-hero h1 { font-size: 32px; }
  .shelf-grid, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-banner, .cat-banner-wrap.has-image { border-radius: 16px; }
  .cat-banner { padding: 18px; min-height: 0; }
  .single-product div.product { grid-template-columns: 1fr; }
  .shop-logo img { height: 32px; }
  .topbar-actions { gap: 10px; }
  .topbar-actions a:not(.shop-cart) { font-size: 12px; }
  .announce .a-item:nth-child(n+2) { display: none; }
  .announce .a-item:first-child:after { content: none; margin: 0; }
  .shop-topbar-inner, .catbar-inner, .home-hero .wrap, .shop-section { padding-left: 16px; padding-right: 16px; }
  .product-page { padding-left: 16px; padding-right: 16px; }
  .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .brand-store { display: none; }
}

.product-page { max-width: var(--maxw); margin: 0 auto; padding: 28px 24px 72px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 44px; }
.breadcrumb { color: var(--text-faint); margin: 0 0 22px; font-size: 13px; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; background: #fff; padding: 20px; overflow: hidden; }
.gallery-main img { object-fit: contain; width: 100%; height: 100%; display: block; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { border: 2px solid var(--line); background: #f4f4f4; border-radius: 12px; padding: 0; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.gallery-thumbs button.on { border-color: var(--red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info .eyebrow { color: var(--red); letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; }
.product-info h1 { letter-spacing: -0.02em; margin: 0 0 8px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; }
.product-tagline { color: var(--text-dim); margin: 0 0 18px; font-size: 17px; }
.product-price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; }
.product-price strong { color: var(--red); font-size: 30px; font-variant-numeric: tabular-nums; }
.price-note { color: var(--text-faint); font-size: 13px; }
.field { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-row button { min-width: 52px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text-dim); font: inherit; font-weight: 600; padding: 10px 16px; cursor: pointer; }
.size-row button.on { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.size-chart { margin-top: 12px; }
.size-chart summary { cursor: pointer; color: var(--red); font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.size-chart table { border-collapse: collapse; width: 100%; max-width: 360px; margin-top: 10px; font-size: 13px; }
.size-chart th, .size-chart td { border: 1px solid var(--line); text-align: left; padding: 6px 10px; }
.size-chart th { background: #f8f8f8; }
.size-chart-note { color: var(--text-faint); margin: 6px 0 0; font-size: 11.5px; }
.atc-row { display: flex; gap: 12px; margin-top: 18px; align-items: center; }
.stepper { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.stepper .count { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.atc-btn { flex: 1; height: 50px; padding: 0 18px; font-size: 15px; }
.atc-deal { background: var(--emerald-soft); color: #0d6b43; border-radius: var(--radius-sm); margin: 14px 0 0; padding: 10px 14px; font-size: 13.5px; line-height: 1.45; }
.product-desc { color: var(--text-dim); margin: 16px 0; font-size: 15px; line-height: 1.55; }
.product-highlights { color: var(--text-dim); margin: 0 0 8px; padding-left: 18px; font-size: 14px; }
.product-highlights li + li { margin-top: 6px; }
.product-note { color: var(--text-faint); margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; }
@media (max-width: 800px) {
  .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .product-page { padding-left: 16px; padding-right: 16px; }
  .joji-cart-layout, .joji-checkout { grid-template-columns: 1fr; }
}

.shop-wrap > h1 { letter-spacing: -0.03em; font-size: 40px; margin: 0 0 18px; }
.joji-cart-layout, .joji-checkout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.joji-line { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.joji-line-photo img { width: 96px; height: 96px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.joji-line h2 { margin: 0 0 4px; font-size: 18px; }
.joji-line-meta, .joji-line-deal { margin: 0 0 8px; color: var(--text-dim); font-size: 13px; }
.joji-line-deal { color: var(--emerald); font-weight: 700; }
.joji-line-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.joji-line-total { color: var(--red); font-size: 18px; }
.joji-line-remove { color: var(--text-faint); font-size: 13px; }
.joji-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.joji-summary h2 { margin: 0 0 14px; font-size: 22px; }
.joji-ship { display: flex; flex-direction: column; gap: 8px; }
.joji-ship-option { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.joji-ship-option strong { margin-left: auto; }
.joji-ship-note { color: var(--text-dim); font-size: 13px; }
.joji-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.joji-total strong { color: var(--red); font-size: 28px; }
.joji-summary .atc-btn { width: 100%; margin-top: 8px; }
.joji-update { display: none; }
.joji-cart-empty .btn-primary { margin-top: 8px; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { font-weight: 700; font-size: 13px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wc-block-components-text-input input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
#place_order, .wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button {
  background: var(--red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 22px !important;
  font-weight: 700 !important;
  width: 100%;
}
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
