/*
Theme Name: Rovo Jersey Store
Theme URI: https://rovojersey.com
Author: Codex
Author URI: https://rovojersey.com
Description: Original sports jersey ecommerce theme for Rovo Jersey.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: rovojersey-store
*/

:root {
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --panel: #f7f8fb;
  --navy: #07162d;
  --navy-2: #0d2345;
  --red: #d71920;
  --red-dark: #b91118;
  --gold: #f5b942;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(7, 22, 45, 0.12);
  --radius: 8px;
}

/* mobile archive clamp refresh */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-shell {
  min-height: 100vh;
  background: var(--white);
}

.promo-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 7px 18px;
  color: var(--white);
  background: var(--red);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.utility-bar {
  background: #f1f3f7;
  border-bottom: 1px solid var(--line);
  color: #374151;
  font-size: 13px;
}

.utility-inner,
.main-header,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
  gap: 16px;
}

.utility-links,
.header-actions,
.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-header {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 62px;
}

.main-header__brand,
.main-header__search {
  display: grid;
  gap: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-subline,
.search-hints {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search-hints {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-subline {
  display: none;
}

.search-hints a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--navy));
  border-radius: 8px;
  font-size: 17px;
  font-weight: 900;
}

.search-form {
  display: flex;
  overflow: hidden;
  height: 42px;
  border: 1px solid #cfd5df;
  border-radius: var(--radius);
  background: var(--white);
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 15px;
  font: inherit;
  outline: 0;
}

.search-form button,
.primary-btn,
.dark-btn,
.outline-btn,
.mini-btn {
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.search-form button {
  width: 54px;
  color: var(--white);
  background: var(--navy);
}

.header-actions {
  justify-content: flex-end;
  font-size: 14px;
  font-weight: 760;
}

.cart-pill {
  padding: 9px 12px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  box-shadow: 0 6px 18px rgba(7, 22, 45, 0.16);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  color: var(--white);
  gap: 14px;
}

.nav-all-link,
.nav-promo-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.nav-all-link {
  background: rgba(255, 255, 255, 0.12);
}

.nav-promo-pill {
  background: rgba(215, 25, 32, 0.18);
  color: #ffe0e2;
}

.nav-list {
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 14px 14px;
  font-size: 15px;
  font-weight: 850;
}

.nav-list a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-sale {
  color: #ffe0e2;
}

.hero {
  position: relative;
  min-height: 460px;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(7, 22, 45, 0.94) 0%, rgba(7, 22, 45, 0.82) 35%, rgba(7, 22, 45, 0.25) 68%, rgba(7, 22, 45, 0.12) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 56px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: #ffe7e8;
  background: rgba(215, 25, 32, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 560px;
  margin: 0 0 28px;
  color: #dbe5f5;
  font-size: 17px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.dark-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
}

.primary-btn {
  color: var(--white);
  background: var(--red);
}

.primary-btn:hover {
  background: var(--red-dark);
}

.dark-btn {
  color: var(--white);
  background: var(--navy);
}

.outline-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-item {
  padding: 18px;
  background: var(--white);
}

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

.trust-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 44px 0;
}

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

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

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.team-card,
.category-card,
.product-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.team-card {
  display: grid;
  min-height: 96px;
  place-items: center;
  padding: 16px 10px;
  text-align: center;
  font-weight: 850;
}

.team-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}

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

.category-card {
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 22, 45, 0.95), rgba(13, 35, 69, 0.72)),
    radial-gradient(circle at 84% 25%, rgba(215, 25, 32, 0.82), transparent 34%);
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 22px;
  color: #dbe5f5;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: var(--navy);
  background: var(--white);
}

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

.product-card {
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.product-art {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  background: linear-gradient(180deg, #f8fafc, #e9eef6);
}

.jersey-shape {
  position: relative;
  width: 118px;
  height: 154px;
  background: var(--jersey, var(--red));
  border-radius: 20px 20px 12px 12px;
  box-shadow: inset 0 -18px 0 rgba(0, 0, 0, 0.08), 0 16px 26px rgba(7, 22, 45, 0.16);
}

.jersey-shape::before,
.jersey-shape::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 48px;
  height: 60px;
  background: var(--jersey, var(--red));
  border-radius: 14px 14px 8px 8px;
}

.jersey-shape::before {
  left: -34px;
  transform: rotate(18deg);
}

.jersey-shape::after {
  right: -34px;
  transform: rotate(-18deg);
}

.jersey-number {
  position: absolute;
  inset: 48px 0 auto;
  z-index: 2;
  color: rgba(255, 255, 255, 0.94);
  font-size: 42px;
  font-weight: 950;
  text-align: center;
}

.discount {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 8px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.product-info {
  padding: 16px;
}

.product-info h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.rating {
  color: #f59e0b;
  font-size: 13px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}

.price {
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
}

.old-price {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

.feature-band {
  color: var(--white);
  background: var(--navy);
}

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

.feature-card {
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-card h2,
.feature-card h3 {
  margin: 0 0 10px;
}

.feature-card p {
  margin: 0;
  color: #dbe5f5;
}

.site-footer {
  color: #d1d8e5;
  background: #07111f;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  padding: 44px 0;
}

.footer-inner h3,
.footer-inner h4 {
  margin: 0 0 12px;
  color: var(--white);
}

.footer-inner p,
.footer-inner li {
  color: #aeb9ca;
  font-size: 14px;
}

.footer-inner ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aeb9ca;
  text-align: center;
  font-size: 13px;
}

.woo-section .woocommerce-products-header__title,
.woo-section .product_title {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.rj-archive-header {
  margin-bottom: 22px;
}

.rj-archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.rj-archive-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.rj-archive-kicker,
.rj-product-purchase-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rj-archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.rj-archive-toolbar .woocommerce-result-count,
.rj-archive-toolbar .woocommerce-ordering {
  margin: 0;
}

.rj-archive-toolbar .orderby {
  min-width: 220px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: #111;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 22px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  border-color: #d1d5db;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  margin: 0;
  background: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 14px 14px 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 14px 14px;
  color: var(--red);
  font-size: 17px;
  font-weight: 950;
}

.rj-shop-card {
  height: 100%;
}

.rj-shop-card__media {
  display: block;
  position: relative;
  min-height: 270px;
  background: #fff;
}

.rj-shop-card__media img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 16px;
}

.rj-shop-card__body {
  display: grid;
  gap: 10px;
}

.rj-shop-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rj-shop-card__title {
  margin: 0;
}

.rj-shop-card__title a {
  color: inherit;
}

.rj-shop-card__price {
  margin-top: auto;
}

.rj-shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.rj-shop-card__footer a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 30px;
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border-right: 0;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
  min-width: 42px;
  min-height: 42px;
  line-height: 42px;
  border: 1px solid var(--line);
}

.woocommerce span.onsale {
  min-width: auto;
  min-height: auto;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--red);
  line-height: 1;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce div.product form.cart .button {
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  font-weight: 850;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce div.product form.cart .button:hover {
  color: var(--white);
  background: var(--red);
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  background: #eef2f7;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper > div.woocommerce-product-gallery__image:nth-of-type(n+2) {
  display: none !important;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a {
  display: block;
  height: 100%;
  cursor: default;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.18) saturate(1.05);
}

.woocommerce div.product .summary .price {
  color: var(--red);
  font-size: 26px;
  font-weight: 950;
}

.woocommerce table.shop_attributes {
  border-color: var(--line);
}

body.single-product .woo-section {
  padding-top: 14px;
}

body.single-product.woocommerce div.product {
  grid-template-columns: minmax(580px, 1.32fr) minmax(390px, 0.88fr);
  gap: 40px;
  align-items: start;
}

body.single-product.woocommerce div.product div.images {
  max-width: 760px;
}

body.single-product.woocommerce div.product .product_title {
  margin: 0 0 18px;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.12;
  letter-spacing: 0;
}

body.single-product.woocommerce div.product .summary .price {
  margin: 6px 0 0;
  color: #111;
  font-size: 23px;
  font-weight: 950;
}

body.single-product.woocommerce div.product .summary ins {
  text-decoration: none;
}

body.single-product.woocommerce div.product .summary del {
  color: #777;
  font-weight: 700;
  margin-right: 10px;
}

body.single-product.woocommerce div.product form.cart {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  margin-top: 24px;
}

body.single-product.woocommerce div.product form.cart::before,
body.single-product.woocommerce div.product form.cart::after {
  display: none;
}

body.single-product.woocommerce .quantity .qty {
  width: 100%;
  height: 54px;
  border: 1px solid #9ca3af;
  border-radius: 6px;
  font-size: 18px;
}

body.single-product.woocommerce div.product form.cart .button {
  min-height: 54px;
  border-radius: 6px;
  background: #000 !important;
  font-size: 17px;
}

body.single-product.woocommerce div.product form.cart .button:hover {
  background: var(--red) !important;
}

body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt {
  background-color: #000 !important;
  background: #000 !important;
  color: #fff !important;
}

body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt:hover {
  background-color: var(--red) !important;
  background: var(--red) !important;
}

.rj-product-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  color: #4b5563;
  font-size: 13px;
}

.rj-product-crumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rj-stock-line {
  margin: 4px 0 20px;
  color: #111;
  font-size: 15px;
  font-weight: 500;
}

.rj-promo-price {
  margin: 6px 0 22px;
  color: #222;
  font-size: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.rj-promo-price .amount {
  color: #111;
  font-size: 20px;
  font-weight: 950;
}

.rj-promo-price a {
  display: inline-block;
  margin-left: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rj-copy-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-left: 6px;
  padding: 0 9px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
}

.rj-copy-code.is-copied {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.rj-buy-options {
  display: grid;
  gap: 20px;
  margin: 22px 0 10px;
  grid-column: 1 / -1;
  width: 100%;
}

.woocommerce div.product form.cart table.variations {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.woocommerce div.product form.cart .single_variation_wrap {
  display: contents;
}

.woocommerce div.product form.cart .woocommerce-variation {
  grid-column: 1 / -1;
}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  grid-column: 1 / -1;
}

.rj-option-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  color: #222;
  font-size: 16px;
  font-weight: 800;
}

.rj-option-head a {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rj-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rj-color-swatch {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.rj-color-swatch.is-active {
  border: 2px solid #111;
}

.rj-color-swatch span {
  display: block;
  width: 38px;
  height: 38px;
  background: var(--swatch);
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

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

.rj-size-list--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rj-size-button {
  min-height: 54px;
  padding: 8px 12px;
  border: 1px solid #9ca3af;
  border-radius: 6px;
  background: var(--white);
  color: #111;
  font: inherit;
  font-weight: 850;
  line-height: 1.15;
  cursor: pointer;
}

.rj-size-button.is-active,
.rj-size-button:hover {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.rj-custom-player-field {
  margin-top: 22px;
}

.rj-custom-player-field[hidden] {
  display: none !important;
}

.rj-custom-player-field label {
  display: block;
  margin-bottom: 10px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
}

.rj-custom-player-field label span {
  color: var(--red);
}

.rj-custom-player-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 17px;
}

.rj-custom-player-field input::placeholder {
  color: #9ca3af;
}

.rj-custom-player-note {
  margin: 22px 0 0;
  color: #111;
  font-size: 16px;
  line-height: 1.55;
}

.rj-custom-player-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rj-product-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 74px;
  margin-top: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.rj-product-thumb {
  width: 74px;
  height: 74px;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #eef2f7;
  overflow: hidden;
  cursor: pointer;
}

.rj-product-thumb.is-active {
  border: 2px solid #111;
}

.rj-product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rj-product-shell {
  align-items: start;
}

.rj-product-gallery-panel,
.rj-product-purchase-panel {
  min-width: 0;
}

.rj-product-attributes {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.rj-product-attributes h2,
.rj-detail-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.rj-attribute-grid {
  margin: 0;
}

.rj-attribute-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.rj-attribute-row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.rj-attribute-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.rj-product-detail-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.rj-detail-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.rj-detail-copy {
  color: #222;
  line-height: 1.7;
}

.rj-detail-copy > :first-child {
  margin-top: 0;
}

.rj-detail-copy > :last-child {
  margin-bottom: 0;
}

.hero-storefront .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
  gap: 28px;
  align-items: end;
}

.hero-side-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(7, 22, 45, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-side-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

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

.hero-league-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 850;
}

.rj-home-collection-grid,
.rj-home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rj-home-collection-card {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.rj-home-collection-card h3,
.rj-home-promo-primary h2 {
  margin: 0;
}

.rj-home-collection-card p,
.rj-home-promo-primary p {
  margin: 0;
  color: var(--muted);
}

.rj-home-promo-band .section-inner {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--navy-2);
}

.rj-home-promo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.rj-home-promo-primary .eyebrow,
.rj-home-promo-primary h2,
.rj-home-promo-primary p {
  color: #fff;
}

.rj-home-promo-primary p,
.rj-home-promo-stack span {
  color: rgba(255, 255, 255, 0.8);
}

.rj-home-promo-stack {
  display: grid;
  gap: 14px;
}

.rj-home-promo-stack article {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rj-archive-header {
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.rj-archive-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.rj-archive-highlights span,
.rj-archive-toolbar__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.rj-archive-toolbar__left {
  display: grid;
  gap: 10px;
}

.rj-archive-toolbar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rj-shop-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.rj-shop-card__body {
  padding: 15px;
}

.rj-catalog-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.rj-catalog-results {
  min-width: 0;
}

.rj-catalog-filters {
  position: sticky;
  top: 70px;
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.rj-filter-group {
  display: grid;
  gap: 9px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.rj-filter-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rj-filter-group__items {
  display: grid;
  gap: 8px;
}

.rj-filter-group__items a,
.rj-filter-group__items span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}

.rj-filter-group h2 {
  margin: 0 0 2px;
  color: #111;
  font-size: 15px;
}

.rj-filter-group a,
.rj-filter-group span {
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}

.rj-product-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.8fr);
  gap: 42px;
}

.rj-product-gallery-panel {
  position: sticky;
  top: 24px;
}

.rj-product-purchase-panel .price {
  margin: 8px 0 0;
}

.rj-product-purchase-panel .woocommerce-product-details__short-description {
  margin-top: 20px;
  margin-bottom: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #222;
  font-size: 16px;
  line-height: 1.55;
  max-width: 480px;
}

.rj-detail-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.rj-detail-section-head h2,
.rj-detail-section-head p {
  margin: 0;
}

.rj-detail-section-head p {
  color: var(--muted);
}

.rj-product-purchase-panel {
  padding: 6px 0 0;
  max-width: 500px;
}

.rj-product-purchase-intro {
  margin-bottom: 12px;
}

.rj-product-purchase-panel form.cart {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.rj-product-pulse-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  color: #374151;
  font-size: 14px;
}

.rj-product-pulse-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}

.rj-product-attributes {
  display: grid;
  gap: 0;
  margin-top: 22px;
  padding-top: 20px;
}

.rj-product-purchase-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.rj-product-purchase-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
}

.rj-detail-card--copy {
  grid-column: 1 / -1;
}

.rj-detail-note-list {
  margin: 0;
  padding-left: 20px;
}

.rj-detail-note-list li + li {
  margin-top: 10px;
}

.rj-confidence {
  margin-top: 26px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.rj-confidence h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.rj-confidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rj-confidence-grid div {
  min-height: 102px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
}

.rj-confidence-grid strong {
  font-size: 17px;
  line-height: 1.2;
}

.rj-confidence-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  body.single-product.woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .woocommerce div.product .woocommerce-product-gallery__wrapper {
    grid-template-columns: 1fr;
  }

  .woocommerce div.product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    grid-column: 1;
    grid-row: 1;
    min-height: 300px;
  }

  .woocommerce div.product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    height: auto;
    max-height: 360px;
  }

  .rj-product-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(64px, 64px));
    width: auto;
    margin-top: 12px;
    grid-column: 1;
    grid-row: 2;
  }

  .rj-product-thumb {
    width: 64px;
    height: 64px;
  }

  .rj-product-gallery-panel {
    position: static;
  }

  .hero-storefront .hero-inner,
  .rj-home-collection-grid,
  .rj-home-product-grid,
  .rj-home-promo-layout,
  .rj-confidence-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 920px) {
  .main-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 12px 14px;
    padding: 14px 0;
  }

  .main-header__brand {
    grid-area: brand;
  }

  .main-header__search {
    grid-area: search;
  }

  .header-actions,
  .utility-inner {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions {
    grid-area: actions;
    justify-content: flex-end;
    align-self: center;
  }

  .nav-inner {
    overflow-x: auto;
    justify-content: start;
    scrollbar-width: none;
  }

  .nav-inner::-webkit-scrollbar {
    display: none;
  }

  .nav-list {
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .nav-all-link,
  .nav-promo-pill,
  .nav-list a {
    white-space: nowrap;
  }

  .rj-archive-toolbar,
  .rj-archive-heading {
    flex-direction: column;
    align-items: start;
  }

  .rj-archive-highlights {
    justify-content: flex-start;
  }

  .rj-catalog-layout {
    grid-template-columns: 1fr;
  }

  .rj-catalog-filters {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    min-height: 500px;
  }

  .trust-grid,
  .category-grid,
  .product-grid,
  .woocommerce ul.products,
  .woocommerce div.product,
  .rj-product-detail-sections,
  .feature-grid,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .utility-bar {
    display: none;
  }

  .promo-bar {
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .promo-bar span + span {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .search-form {
    height: 44px;
  }

  .search-form button {
    width: 58px;
  }

  .cart-pill {
    padding: 10px 14px;
    font-size: 13px;
  }
}

@media (max-width: 620px) {
  .utility-links {
    display: none;
  }

  .promo-bar {
    padding: 5px 10px;
    font-size: 11px;
    text-align: center;
  }

  .main-nav {
    box-shadow: 0 4px 14px rgba(7, 22, 45, 0.14);
  }

  .nav-inner {
    width: 100%;
    min-height: 42px;
    gap: 8px;
    padding: 6px 10px;
  }

  .nav-all-link,
  .nav-promo-pill {
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }

  .nav-list a {
    padding: 9px 11px;
    font-size: 14px;
    line-height: 1.1;
  }

  .nav-promo-pill {
    display: none;
  }

  .main-header {
    gap: 10px 12px;
    padding: 12px 0 8px;
  }

  .main-header__brand {
    justify-items: start;
  }

  .header-actions a:not(.cart-pill) {
    display: none;
  }

  .search-form {
    height: 38px;
  }

  .brand {
    font-size: 18px;
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .search-form input {
    padding: 0 12px;
    font-size: 14px;
  }

  .cart-pill {
    padding: 10px 12px;
    font-size: 12px;
  }

  .rj-product-crumbs {
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-size: 12px;
  }

  .rj-product-crumbs .rj-crumb-title,
  .rj-product-crumbs .rj-crumb-title-sep {
    display: none;
  }

  .hero-inner {
    padding: 44px 0 42px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .hero p {
    font-size: 15px;
    line-height: 1.55;
  }

  .section {
    padding: 28px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .rj-archive-header {
    padding: 14px;
  }

  .rj-archive-toolbar {
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px;
  }

  .rj-archive-toolbar .orderby {
    width: 100%;
    min-width: 0;
  }

  .rj-archive-highlights {
    gap: 8px;
  }

  .rj-archive-highlights span,
  .rj-archive-toolbar__chips span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .rj-catalog-filters {
    gap: 12px;
    padding: 12px;
  }

  .rj-catalog-results {
    margin-top: 2px;
  }

  .rj-filter-group__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .rj-filter-group__items a,
  .rj-filter-group__items span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1;
  }

  .woo-section .woocommerce-products-header__title {
    font-size: 28px;
    line-height: 1.08;
  }

  .trust-grid,
  .category-grid,
  .product-grid,
  .woocommerce ul.products,
  .woocommerce div.product,
  .rj-product-detail-sections,
  .feature-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .rj-catalog-filters {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .woocommerce ul.products li.product {
    border-radius: 6px;
    overflow: hidden;
  }

  .woocommerce ul.products li.product .rj-shop-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .rj-shop-card__media {
    min-height: 0;
    aspect-ratio: 1 / 0.96;
  }

  .rj-shop-card__media img {
    padding: 7px;
  }

  .rj-shop-card__body {
    flex: 1;
    padding: 9px;
    gap: 6px;
  }

  .rj-shop-card__meta {
    font-size: 10px;
    line-height: 1.28;
    letter-spacing: 0.06em;
    min-height: 26px;
  }

  .rj-shop-card__title {
    font-size: 12.5px;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 31px;
  }

  .rj-shop-card__title a {
    display: block;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 9px 9px 3px;
    font-size: 12.5px;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 31px;
  }

  .woocommerce ul.products li.product .price {
    padding: 0 9px 9px;
    font-size: 13.5px;
    line-height: 1.2;
  }

  .rj-shop-card__price {
    font-size: 13.5px;
    line-height: 1.2;
  }

  .rj-shop-card__footer {
    align-items: end;
    gap: 6px;
    padding-top: 7px;
    font-size: 10.5px;
    line-height: 1.25;
  }

  .rj-shop-card__footer span {
    max-width: 72px;
  }

  .rj-shop-card__footer a {
    text-align: right;
  }

  .rj-size-list,
  .rj-confidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rj-attribute-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rj-product-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rj-product-purchase-panel {
    display: flex;
    flex-direction: column;
  }

  .woocommerce div.product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    min-height: 180px;
  }

  .woocommerce div.product .woocommerce-product-gallery__wrapper {
    gap: 10px;
  }

  .rj-product-thumbs {
    gap: 6px;
    margin-top: 8px;
    grid-template-columns: repeat(auto-fit, minmax(48px, 48px));
  }

  .rj-product-thumb {
    width: 48px;
    height: 48px;
  }

  .rj-product-purchase-panel {
    max-width: none;
  }

  .rj-product-purchase-intro {
    order: 0;
  }

  .rj-product-purchase-panel form.cart {
    order: 1;
    margin-top: 4px;
  }

  .rj-product-purchase-panel .product_title {
    order: 2;
    margin-top: 10px;
  }

  .rj-product-purchase-panel .price {
    order: 3;
  }

  .rj-stock-line {
    order: 4;
    margin-bottom: 14px;
  }

  .rj-promo-price {
    order: 5;
    margin-bottom: 16px;
  }

  .rj-copy-code {
    min-height: 22px;
    padding: 0 8px;
    font-size: 11px;
  }

  .rj-product-pulse-note {
    order: 6;
  }

  .rj-product-purchase-notes {
    order: 7;
  }

  .woocommerce-product-details__short-description {
    order: 8;
  }

  .rj-product-attributes {
    order: 9;
  }

  .rj-product-purchase-panel .woocommerce-product-details__short-description {
    margin-top: 12px;
    margin-bottom: 14px;
    padding-top: 14px;
    font-size: 15px;
    line-height: 1.5;
  }

  .rj-buy-options {
    gap: 14px;
    margin: 12px 0 8px;
  }

  .rj-option-head {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .rj-color-list {
    gap: 10px;
  }

  .rj-color-swatch {
    width: 50px;
    height: 50px;
  }

  .rj-color-swatch span {
    width: 32px;
    height: 32px;
  }

  .rj-size-button {
    min-height: 48px;
    border-radius: 5px;
    font-size: 15px;
  }

  body.single-product.woocommerce div.product form.cart {
    grid-template-columns: 76px 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  body.single-product.woocommerce div.product .product_title {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.08;
  }

  body.single-product.woocommerce div.product .summary .price {
    font-size: 21px;
    margin-top: 4px;
  }

  .rj-product-attributes {
    margin-top: 18px;
    padding-top: 16px;
  }

  .rj-product-attributes h2,
  .rj-detail-card h2 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .rj-product-detail-sections {
    gap: 12px;
    margin-top: 22px;
  }

  .rj-detail-card {
    padding: 16px;
    border-radius: 6px;
  }

  .rj-confidence {
    margin-top: 22px;
    padding-top: 18px;
  }

  .rj-confidence-grid div {
    min-height: 88px;
    padding: 14px;
  }

  .rj-confidence-grid strong {
    font-size: 15px;
  }

  .rj-confidence-grid span {
    font-size: 13px;
  }
}
