﻿:root {
  --color-primary: #1f1f1f;
  --color-secondary: #f4f4f5;
  --color-accent: #7a1f2b;
  --color-background: #ffffff;
  --color-surface: #ffffff;
  --color-text: #18181b;
  --color-text-muted: #71717a;
  --color-button: #7a1f2b;
  --color-button-hover: #5e1721;
  --color-button-text: #ffffff;
  --color-border: #e4e4e7;
  --color-header-bg: #ffffff;
  --color-header-text: #18181b;
  --color-footer-bg: #f4f4f5;
  --color-footer-text: #3f3f46;
  --radius: 8px;
  --radius-card: 12px;
  --layout-width: 1200px;
  --font-heading: var(--font-urbanist), "Urbanist", system-ui, sans-serif;
  --font-body: var(--font-dm-sans), "DM Sans", system-ui, sans-serif;
  --font-jersey: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --heading-weight: 700;
  --body-weight: 400;
  --heading-tracking: -0.025em;
  --heading-style: normal;
  --heading-transform: none;
  --logo-h-mobile: 40px;
  --logo-h-desktop: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  font-style: var(--heading-style);
  letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-transform);
  line-height: 1.2;
}

.jersey-preview {
  container-type: inline-size;
  container-name: jersey;
}

.jersey-markings {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.jersey-name,
.jersey-number,
.jersey-markings .jersey-name,
.jersey-markings .jersey-number {
  font-family: var(--font-jersey), "Bebas Neue", Impact, "Arial Narrow", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  width: 100%;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  letter-spacing: 0.06em;
}

.jersey-name {
  font-size: clamp(1rem, 7cqi, 2rem);
  letter-spacing: 0.06em;
}

.jersey-number {
  font-size: clamp(3.8rem, 28cqi, 10.5rem);
  line-height: 0.78;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
img.footer-logo {
  max-width: none;
  height: var(--logo-h-footer, 36px) !important;
  width: auto !important;
  max-height: var(--logo-h-footer, 36px) !important;
  object-fit: contain;
}
img[data-nimg="fill"] {
  max-width: none;
  width: 100%;
  height: 100%;
}

.container-ke {
  width: 100%;
  max-width: var(--layout-width);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .container-ke { padding-inline: 1.5rem; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 0.85rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }
}
@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
  }
}
/* Shop has a sidebar - stay at 3 columns so cards don't shrink into tall stubs */
.product-grid--shop {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .product-grid--shop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .product-grid--shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Shop filters — mobile sheet (closed by default; open only via Filters button) */
[data-ke-filters-bg] {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
[data-ke-filters-bg].is-open {
  opacity: 1;
  pointer-events: auto;
}
.ke-filters-sheet,
[data-ke-filters-sheet] {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 640px);
  background: var(--color-surface, #fff);
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.14);
  transform: translateY(110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}
.ke-filters-sheet.is-open,
[data-ke-filters-sheet].is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.ke-filters-sheet__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
}
.ke-filters-sheet__body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.15rem 1.25rem;
}
.ke-filters-sheet__foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 0.85rem 1.1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
}
.ke-filters-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-secondary, #f4f4f5);
  color: var(--color-text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ke-filters-close:active {
  transform: scale(0.94);
}
.ke-filters-clear {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.ke-filters-clear:active {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.ke-filter-tick {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  margin-right: 0.55rem;
  border: 1.5px solid color-mix(in srgb, var(--color-text-muted) 55%, var(--color-border));
  border-radius: 0.28rem;
  background: #fff;
  position: relative;
}
.ke-filter-link.is-active .ke-filter-tick {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.ke-filter-link.is-active .ke-filter-tick::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.08rem;
  width: 0.28rem;
  height: 0.52rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ke-filter-link {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0.55rem 0.65rem;
  margin: 0 -0.65rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.ke-filter-link.is-active {
  color: var(--color-accent);
  font-weight: 600;
  background: color-mix(in srgb, var(--color-accent) 8%, transparent);
}
.ke-filter-link:active {
  background: var(--color-secondary);
  transform: scale(0.985);
}
@media (hover: hover) and (pointer: fine) {
  .ke-filter-link:hover {
    color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 7%, transparent);
    transform: translateX(2px);
  }
  .ke-filters-close:hover {
    border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
    color: var(--color-accent);
  }
}
html.ke-filters-open,
html.ke-filters-open body {
  overflow: hidden;
  touch-action: none;
}

/* Shop filters — hover polish */
[data-ke-shop-filters] .ke-filter-link,
[data-ke-filters-sheet] a[data-ke-ajax-shop] {
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
[data-ke-shop-root] .input-ke,
[data-ke-shop-root] select.input-ke {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  [data-ke-shop-root] .input-ke:hover,
  [data-ke-shop-root] select.input-ke:hover {
    border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
  }
}
[data-ke-shop-root] .product-card-action--primary {
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.section-pad { padding-block: 3rem; }
@media (min-width: 768px) {
  .section-pad { padding-block: 4.5rem; }
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  font-style: normal;
}

.section-subtitle {
  margin-top: 0.5rem;
  max-width: 32rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.prose-ke {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.prose-ke > *:first-child { margin-top: 0; }
.prose-ke .lead {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.prose-ke h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.prose-ke h3 {
  margin: 1.35rem 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}
.prose-ke p { margin: 0.75rem 0; }
.prose-ke ul,
.prose-ke ol {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
}
.prose-ke li { margin: 0.35rem 0; }
.prose-ke a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.prose-ke a:hover { color: var(--color-accent); }
.prose-ke strong { color: var(--color-text); font-weight: 700; }
.faq-answer p { margin: 0 0 0.65rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul,
.faq-answer ol {
  margin: 0.15rem 0 0;
  padding-left: 1.15rem;
}
.faq-answer li { margin: 0.35rem 0; }
.faq-answer strong { color: var(--color-text); font-weight: 700; }
.faq-answer a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-answer a:hover { color: var(--color-accent); }
.prose-ke .info-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
}
@media (min-width: 640px) {
  .prose-ke .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.prose-ke .info-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fafafa;
  padding: 1rem 1.1rem;
}
.prose-ke .info-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.prose-ke .info-card p { margin: 0; color: var(--color-text); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: var(--color-button);
  color: var(--color-button-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: var(--color-button-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-accent) 14%, transparent);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary,
.btn-ghost,
.btn-secondary,
.btn-dark,
.btn-buy,
.product-card-action,
.cart-icon-btn {
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover,
.btn-ghost:hover,
.btn-secondary:hover:not(:disabled),
.btn-dark:hover,
.product-card-action:hover {
  will-change: transform;
}
.btn-primary:disabled,
.btn-buy:disabled,
.btn-dark:disabled,
.btn-ghost:disabled,
.btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover {
  background: var(--color-secondary);
  border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
  color: var(--color-accent);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid var(--color-accent);
  border-radius: 999px;
  background: #fff;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--color-accent) 10%, white);
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-secondary:disabled {
  border-color: #d4d4d8;
  color: #a1a1aa;
  background: #fafafa;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-buy:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.product-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.product-card-btn--solid {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.82);
  color: #18181b;
}
.product-card-btn--solid:hover {
  background: #fff;
  color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
.product-card-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 24, 28, 0.28);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.product-card-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}
.product-card-btn--anim {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    border-radius 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    transform 0.25s ease;
  border-radius: 0.85rem;
}
.product-card-btn--anim:hover {
  border-radius: 999px;
  transform: translateY(-2px);
}
.product-card-btn--anim:active {
  transform: translateY(0) scale(0.97);
  border-radius: 0.75rem;
}

/* Actions live under the photo - never over the jersey */
.product-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.35rem;
  gap: 0.4rem;
  align-items: stretch;
}
.product-card-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  min-width: 0;
  padding: 0.45rem 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card-action:disabled {
  cursor: default;
}
.product-card-action__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card-action__ripple {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-card-action__ripple-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 35%, white);
  opacity: 0;
  transform: scale(0);
}
.product-card-action__ripple-dot.is-animating {
  animation: ke-ripple 0.55s ease-out forwards;
}
@keyframes ke-ripple {
  from { transform: scale(0); opacity: 0.45; }
  to { transform: scale(2.6); opacity: 0; }
}
.product-card-action__swap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  animation: ke-swap-in 0.18s ease both;
}
@keyframes ke-swap-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card-action--primary {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 8%, white);
  color: var(--color-accent);
}
.product-card-action--primary:hover:not(:disabled) {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: none;
  transform: translateY(-1px);
}
.product-card-action--primary:active:not(:disabled) {
  transform: scale(0.97);
}
.product-card-action--primary.is-added,
.product-card-action--primary.is-added:hover:not(:disabled) {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: none;
  animation: ke-added-pulse 0.3s ease-out;
}
@keyframes ke-added-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.product-card-action--secondary {
  width: 2.35rem;
  min-width: 2.35rem;
  max-width: 2.35rem;
  height: 2.25rem;
  padding: 0;
  gap: 0;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
}
.product-card-action__opt-icon {
  display: inline-flex;
  line-height: 0;
}
.product-card-action__opt-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}
.product-card-action--secondary:hover {
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 6%, white);
  transform: translateY(-1px);
}
.product-card-action--secondary:hover .product-card-action__opt-icon {
  animation: ke-icon-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-card-in {
  animation: card-in 0.4s ease-out both;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .animate-card-in {
    animation: none;
  }
  .product-card-action,
  .product-card-action--primary:hover:not(:disabled),
  .product-card-action--secondary:hover {
    transition: none;
  }
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}
.btn-glass-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn-glass-solid:hover {
  background: #fff;
  color: var(--color-accent);
  transform: translateY(-1px);
}

/* Cart icon / qty controls - clean, no harsh shadows */
.cart-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  box-shadow: none !important;
  filter: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-icon-btn:hover {
  border-color: var(--color-border);
  background: var(--color-secondary);
  color: var(--color-text);
  transform: scale(1.08);
  box-shadow: none !important;
}
.cart-icon-btn:active {
  transform: scale(0.92);
  background: color-mix(in srgb, var(--color-secondary) 80%, #000);
}
.cart-icon-btn--danger {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 400;
}
.cart-icon-btn--danger .ke-trash-icon {
  overflow: visible;
}
.cart-icon-btn--danger .ke-trash-lid {
  transform-box: fill-box;
  transform-origin: 12px 6px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-icon-btn--danger .ke-trash-body {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-icon-btn--danger:hover {
  border-color: color-mix(in srgb, #dc2626 30%, var(--color-border));
  background: #fef2f2;
  color: #dc2626;
  transform: scale(1.06);
  box-shadow: none !important;
}
.cart-icon-btn--danger:hover .ke-trash-lid {
  transform: translateY(-3.5px) rotate(-14deg);
}
.cart-icon-btn--danger:hover .ke-trash-body {
  transform: translateY(0.5px);
}
.cart-icon-btn--danger:active {
  transform: scale(0.92);
}
.cart-icon-btn--danger:active .ke-trash-lid {
  transform: translateY(-1px) rotate(-4deg);
}
@media (prefers-reduced-motion: reduce) {
  .cart-icon-btn--danger .ke-trash-lid,
  .cart-icon-btn--danger .ke-trash-body {
    transition: none;
  }
  .cart-icon-btn--danger:hover .ke-trash-lid {
    transform: none;
  }
}
.cart-choose-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.cart-choose-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-secondary);
  color: var(--color-accent);
  transform: translateY(-1px);
}
.cart-choose-btn:active {
  transform: scale(0.97);
}
.cart-choose-btn svg {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.2s ease;
}
.cart-choose-btn:hover svg {
  transform: translate(1px, -1px);
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cart-qty:hover {
  border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
  box-shadow: none;
}
.cart-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.55rem;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cart-qty-btn:hover {
  background: color-mix(in srgb, var(--color-accent) 10%, white);
  color: var(--color-accent);
}
.cart-qty-btn:active {
  transform: scale(0.9);
}

.btn-morph {
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-morph:hover:not(:disabled) {
  transform: translateY(-1px);
}
.btn-morph:active:not(:disabled) {
  transform: translateY(0);
}

/* Icon buttons — never rely on UA button chrome */
.icon-btn,
.drawer-icon,
.hero-nav-btn,
.hero-enter,
.hero-dot {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.cart-icon-btn,
.cart-qty-btn {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  cursor: pointer;
}
.icon-btn svg,
.drawer-icon svg,
.hero-nav-btn svg,
.hero-enter svg,
.cart-icon-btn svg,
.cart-qty-btn svg,
.ke-header svg,
.ke-site-footer svg,
footer svg {
  display: block;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  max-width: none;
  color: inherit;
  overflow: visible;
}
.cart-icon-btn svg.ke-trash-icon,
.cart-icon-btn svg.h-3\.5,
svg.ke-trash-icon {
  width: 0.95rem;
  height: 0.95rem;
  overflow: visible;
}
.icon-btn svg.h-4,
.drawer-icon svg.h-4,
.cart-icon-btn svg.h-4,
svg.h-4 {
  width: 1rem;
  height: 1rem;
}
.icon-btn svg.h-3\.5,
.drawer-icon svg.h-3\.5,
footer svg.h-3\.5,
svg.h-3\.5 {
  width: 0.875rem;
  height: 0.875rem;
}

/* Mobile hamburger + drawer — clean morph hovers */
.drawer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.75rem;
  color: inherit;
  transition:
    background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease;
}
.drawer-icon:hover {
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 14%, transparent);
  color: var(--color-accent);
  transform: scale(1.04);
}
.drawer-icon:active {
  transform: scale(0.96);
}
.drawer-icon svg {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.drawer-icon:hover svg {
  transform: rotate(-8deg) scale(1.05);
}

.drawer-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  transition:
    background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease,
    padding 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.drawer-link:hover {
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 7%, #f4f5f7);
  color: var(--color-accent);
  padding-left: 1rem;
  padding-right: 1rem;
  transform: translateX(2px);
}
.drawer-link:active {
  transform: translateX(0) scale(0.99);
}

.drawer-link--muted {
  font-weight: 500;
  color: var(--color-text-muted);
}
.drawer-link--muted:hover {
  color: var(--color-accent);
}

.drawer-link--sub {
  padding: 0.5rem 0.75rem 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 0.5rem;
}
.drawer-link--sub:hover {
  border-radius: 999px;
  padding-left: 1rem;
}

.drawer-chevron {
  display: inline-flex;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  color: var(--color-text-muted);
  transition:
    background 0.28s ease,
    border-radius 0.28s ease,
    color 0.2s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.drawer-link:hover .drawer-chevron {
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 12%, white);
  color: var(--color-accent);
}
.drawer-chevron.is-open {
  transform: rotate(180deg);
}

.drawer-panel {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .drawer-icon,
  .drawer-icon svg,
  .drawer-link,
  .drawer-chevron,
  .drawer-panel {
    transition-duration: 0.01ms !important;
  }
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: #2c3238;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-dark:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition:
    background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.icon-btn:hover {
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 8%, white);
  color: var(--color-accent);
  transform: scale(1.04);
}
.icon-btn:active {
  transform: scale(0.96);
}
.icon-btn svg {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.icon-btn:hover svg {
  transform: rotate(-6deg) scale(1.05);
}

.nav-link {
  position: relative;
  padding: 0.35rem 0.15rem;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--color-accent) !important;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}
/* On dark glass hero header (desktop), bright white underline hover */
@media (min-width: 768px) {
  .header-over-hero .nav-link:hover,
  .header-over-hero .nav-link.is-active {
    color: #fff !important;
  }
  .header-over-hero .nav-link::after {
    background: #fff;
    height: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
  }
}

.mega-heading {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #52525b !important;
}
.mega-heading--spaced {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.mega-link {
  display: block;
  padding: 0.35rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3f3f46 !important;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.mega-link--strong {
  font-weight: 600;
  color: #18181b !important;
}
.mega-link:hover {
  background: color-mix(in srgb, var(--color-accent) 8%, white);
  color: var(--color-accent) !important;
  padding-left: 0.75rem;
}
.mega-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.mega-foot a {
  color: #3f3f46 !important;
  font-weight: 500;
  transition: color 0.18s ease;
}
.mega-foot a:hover {
  color: var(--color-accent) !important;
}
.mega-foot__strong {
  font-weight: 600 !important;
  color: #18181b !important;
}
.mega-foot__sep {
  display: none;
  width: 1px;
  height: 0.75rem;
  background: var(--color-border);
}
@media (min-width: 640px) {
  .mega-foot__sep { display: block; }
}

.mega-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .mega-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }
}
.mega-feature-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .mega-feature-stack {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 240px;
    max-width: 240px;
  }
}
.mega-feature {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mega-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.mega-feature__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
}
.mega-feature__media img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.35s ease;
}
.mega-feature:hover .mega-feature__media img {
  transform: scale(1.04);
}
.mega-feature__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.28) 48%, transparent 72%);
  pointer-events: none;
}
.mega-feature__copy {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.75rem;
  color: #fff !important;
}
.mega-feature__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.mega-feature__sub {
  display: block;
  font-size: 0.7rem;
  line-height: 1.3;
  color: rgba(255,255,255,0.88) !important;
}

.input-ke {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
}
.input-ke:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 15%, transparent);
}

.label-ke {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

.badge-ke, .badge-sale, .badge-ke--sale, .badge-ke--new, .badge-ke--best {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-ke, .badge-ke--new { background: rgba(255,255,255,0.88); color: #5a616a; box-shadow: 0 1px 2px rgba(0,0,0,0.06); backdrop-filter: blur(8px); }
.badge-sale, .badge-ke--sale { background: color-mix(in srgb, var(--color-accent) 14%, white); color: var(--color-accent); }
.badge-ke--best { background: rgba(44,50,56,0.78); color: #fff; backdrop-filter: blur(8px); }

.logo-img {
  height: var(--logo-h-mobile) !important;
  width: auto !important;
  max-width: none !important;
  max-height: var(--logo-h-mobile);
  object-fit: contain;
  background: transparent;
  transition: filter 0.25s ease;
}
.logo-img--on-dark {
  filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
  .logo-img {
    height: var(--logo-h-desktop) !important;
    max-height: var(--logo-h-desktop);
  }
}

/* Product / collection cards — no Tailwind dependency */
.product-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-3px);
  }
}
.product-card-media {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-secondary);
  transition: box-shadow 0.28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card-media {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  }
}
.product-card-link {
  position: absolute;
  inset: 0;
  display: block;
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
  z-index: 1;
}
/* Allow More kits / carousels to slide. Lock only after hold shows dots. */
.product-card,
.product-card-media,
.product-card-media.has-gallery {
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.product-card-media.has-gallery {
  cursor: pointer;
}
.product-card-media.has-gallery.is-scrub-ready,
.product-card-media.has-gallery.is-scrubbing {
  touch-action: none;
  cursor: ew-resize;
}
.product-card-media.has-gallery .product-card-link,
.product-card-media.has-gallery .product-card-scrub,
.product-card-media.has-gallery .product-card-dots,
.product-card-media.has-gallery .product-card-badges {
  pointer-events: none;
}
.product-card-scrub {
  display: none;
}
.product-card-media.has-gallery.is-scrubbing .product-card-img.is-active {
  transform: scale(1.02);
}
.product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
  pointer-events: none;
  -webkit-user-drag: none;
}
/* WooCommerce's img { height:auto } rule is more specific and pushes the photo out of the frame. */
.woocommerce .product-card-media img.product-card-img,
.woocommerce-page .product-card-media img.product-card-img {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
}
.woocommerce .product-card-media img.product-card-img:not(.is-active),
.woocommerce-page .product-card-media img.product-card-img:not(.is-active) {
  opacity: 0 !important;
}
.woocommerce .product-card-media img.product-card-img.is-active,
.woocommerce-page .product-card-media img.product-card-img.is-active {
  opacity: 1 !important;
}
.product-card-img.is-active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}
/* Legacy 2-image hover swap (if old markup remains) */
.product-card-img--primary {
  opacity: 1;
  z-index: 1;
}
.product-card-img--hover {
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card-media:not(.has-gallery) .product-card-img--primary {
    opacity: 0;
    transform: scale(1.04);
  }
  .product-card:hover .product-card-media:not(.has-gallery) .product-card-img--hover {
    opacity: 1;
    transform: scale(1.04);
  }
  .product-card:hover .product-card-media:not(.has-gallery):not(.has-hover) .product-card-img--primary {
    opacity: 1;
    transform: scale(1.04);
  }
  .product-card:hover .product-card-media.has-gallery .product-card-img.is-active {
    transform: scale(1.03);
  }
}
.product-card-dots {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transform: translateX(-50%) translateY(8px) scale(0.92);
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card-media.is-peeking .product-card-dots {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
/* PC only: after dots appear, drag on the dots strip to change photo */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .product-card-media.has-gallery.is-peeking .product-card-dots {
    pointer-events: auto;
    cursor: ew-resize;
  }
}
.product-card-dot {
  display: block;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transform: scale(0.85);
  opacity: 0.7;
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}
.product-card-media.is-peeking .product-card-dot {
  animation: ke-dot-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.product-card-media.is-peeking .product-card-dot:nth-child(1) { animation-delay: 0.02s; }
.product-card-media.is-peeking .product-card-dot:nth-child(2) { animation-delay: 0.07s; }
.product-card-media.is-peeking .product-card-dot:nth-child(3) { animation-delay: 0.12s; }
.product-card-media.is-peeking .product-card-dot:nth-child(4) { animation-delay: 0.17s; }
.product-card-media.is-peeking .product-card-dot:nth-child(5) { animation-delay: 0.22s; }
.product-card-dot.is-active {
  width: 0.85rem;
  background: #fff;
  opacity: 1;
  transform: scale(1);
}
@keyframes ke-dot-in {
  from {
    opacity: 0;
    transform: scale(0.5) translateY(4px);
  }
  to {
    opacity: 0.7;
    transform: scale(0.85) translateY(0);
  }
}
.product-card-media.is-peeking .product-card-dot.is-active {
  animation: ke-dot-active 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.product-card-dot.ke-dot-pulse {
  animation: ke-dot-pulse 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ke-dot-active {
  from {
    width: 0.34rem;
    opacity: 0.5;
    transform: scale(0.7);
  }
  to {
    width: 0.85rem;
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ke-dot-pulse {
  0% { transform: scale(0.85); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.product-card-badges {
  pointer-events: none;
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.product-card-body {
  margin-top: 0.65rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 0;
}
.product-card-name-link {
  display: block;
  text-decoration: none;
  min-height: calc(1.35em * 2);
}
.product-card-title {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
  transition: color 0.2s ease;
}
@media (min-width: 640px) {
  .product-card-title { font-size: 0.875rem; }
}
.product-card:hover .product-card-title {
  color: var(--color-accent);
}
.product-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.5rem;
  font-size: 0.875rem;
  min-height: 1.35em;
}
.product-card-price-now { font-weight: 600; color: var(--color-text); }
.product-card-price-was {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #111;
  aspect-ratio: 5 / 4;
  text-decoration: none;
  color: #fff;
}
.collection-card--tall {
  aspect-ratio: 4 / 5;
  width: 100%;
}

/* Homepage category tiles — taller 4:5 so faces/kits stay in frame */
.ke-cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #f4f4f5;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  color: #fff;
}
.ke-cat-card__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--ke-pos, 50% 18%);
  transition: transform 0.45s ease;
}
@media (max-width: 767.98px) {
  .ke-cat-card__img {
    object-position: var(--ke-pos-m, var(--ke-pos, 50% 14%));
  }
}
.ke-cat-card:hover .ke-cat-card__img {
  transform: scale(1.03);
}
.ke-cat-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.12) 45%, transparent 70%);
  pointer-events: none;
  transition: background 0.25s ease;
}
.ke-cat-card:hover .ke-cat-card__shade {
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 48%, transparent 72%);
}
.ke-cat-card__label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
@media (min-width: 768px) {
  .ke-cat-card__label { font-size: 0.9375rem; padding: 1rem 1.1rem; }
}

/* Homepage promo — full-width landscape strip */
.ke-promo {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  align-self: stretch;
  flex: 0 0 auto;
  overflow: hidden;
  background: #111;
  color: #fff;
  /* Height from viewport width so it stays wide (never shrinks sideways) */
  height: clamp(13.5rem, 28vw, 22rem);
}
@media (max-width: 767.98px) {
  .ke-promo {
    height: clamp(14rem, 56vw, 18rem);
  }
}
.ke-promo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--ke-pos, 50% 40%);
  opacity: 1;
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .ke-promo__bg {
    object-position: var(--ke-pos-m, var(--ke-pos, 50% 35%));
  }
}
.ke-promo__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.42) 45%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .ke-promo__scrim {
    background: linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.68) 100%);
  }
}
.ke-promo__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  max-width: var(--layout-width, 1200px);
  margin-inline: auto;
  padding-inline: 1.25rem;
  padding-block: 1.75rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .ke-promo__inner {
    padding-inline: 1.5rem;
    padding-block: 2.25rem;
  }
}
.ke-promo__title {
  max-width: 36rem;
  color: #fff !important;
}
.ke-promo__sub {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}
.ke-promo__cta { margin-top: 1.35rem; }

/* Homepage editorial — fixed layout, no leftover gray band */
.ke-editorial__grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 768px) {
  .ke-editorial__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}
.ke-editorial__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-secondary);
  aspect-ratio: 4 / 5;
  max-height: 34rem;
  width: 100%;
}
.ke-editorial__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--ke-pos, 50% 20%);
}
@media (max-width: 767.98px) {
  .ke-editorial__img {
    object-position: var(--ke-pos-m, var(--ke-pos, 50% 20%));
  }
}
.ke-editorial__body {
  margin: 1.35rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.ke-editorial__cta {
  margin-top: 1.75rem;
  display: inline-flex;
}

/* Footer — soft hovers */
.ke-site footer a {
  transition:
    color 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .ke-site footer a:hover {
    color: var(--color-accent);
    opacity: 0.92;
  }
  .ke-site footer .brand-wordmark:hover,
  .ke-site footer a.inline-flex:hover {
    opacity: 1;
    transform: translateY(-1px);
  }
  .ke-site footer a.inline-flex.h-9:hover {
    border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
    background: color-mix(in srgb, var(--color-accent) 5%, white);
    color: var(--color-accent);
    transform: translateY(-1px);
  }
}

.ke-col-slide-item {
  width: calc((100% - 0.75rem) / 2);
  flex-shrink: 0;
}
.collection-card-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.5s ease;
}
.collection-card:hover .collection-card-img {
  transform: scale(1.04);
}
.collection-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 45%, transparent 70%);
}
.collection-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}
.collection-card-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.collection-card-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  color: #18181b;
  padding: 0.3rem 0.7rem;
  font-size: 0.625rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.collection-card:hover .collection-card-cta {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-1px);
}

/* Stronger global button hover/active */
a.btn-primary, a.btn-ghost, a.btn-secondary, a.btn-dark, a.btn-glass, a.btn-glass-solid,
button.btn-primary, button.btn-ghost, button.btn-secondary, button.btn-dark,
.btn-press, .icon-btn, .nav-link, .hero-nav-btn, .hero-dot, .hero-enter {
  transition:
    background 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    opacity 0.2s ease;
}
.btn-primary:hover,
.btn-ghost:hover,
.btn-secondary:hover:not(:disabled),
.btn-dark:hover,
.btn-glass:hover,
.btn-glass-solid:hover,
.btn-buy:hover,
.product-card-action:hover:not(:disabled),
.btn-press:hover:not(:disabled) {
  transform: translateY(-1px);
}
.btn-primary:active,
.btn-ghost:active,
.btn-secondary:active:not(:disabled),
.btn-dark:active,
.btn-glass:active,
.btn-glass-solid:active,
.btn-buy:active,
.btn-press:active:not(:disabled),
.icon-btn:active,
.hero-nav-btn:active {
  transform: scale(0.97);
}
.btn-morph:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
}
.btn-morph:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}
.icon-btn:hover {
  transform: scale(1.05);
}
.nav-link {
  transition: color 0.18s ease, transform 0.18s ease;
}
.nav-link:hover {
  transform: translateY(-1px);
}
.btn-primary.is-added,
button.is-added.btn-primary {
  animation: ke-added-pulse 0.3s ease-out;
}

.brand-wordmark {
  font-family: var(--font-urbanist), var(--font-heading), "Urbanist", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1.05;
}

.mega-panel {
  margin-top: 0;
  border-top: none;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--color-border);
  display: none !important;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 50;
  pointer-events: none;
}
.mega-panel.is-open {
  display: block !important;
  pointer-events: auto;
}
[data-ke-mega-bg] {
  display: none !important;
  position: fixed;
  inset: 0;
  top: 3.5rem;
  z-index: 40;
  background: rgba(0,0,0,0.15);
  pointer-events: none;
}
@media (min-width: 768px) {
  [data-ke-mega-bg] { top: 4rem; }
}
[data-ke-mega-bg].is-open {
  display: block !important;
  pointer-events: auto;
}
[data-ke-mega-trigger] svg,
[data-ke-mega-trigger] .ke-chevron {
  transition: transform 0.2s ease;
}
[data-ke-mega-trigger].is-open svg,
[data-ke-mega-trigger].is-open .ke-chevron {
  transform: rotate(180deg);
}
/* Mega feature titles stay white even inside colored header */
.mega-panel .mega-feature__title,
.mega-panel .mega-feature__sub,
.mega-panel .mega-feature__copy {
  color: #fff !important;
}
.mega-panel {
  color: #18181b;
}

.hero-field {
  position: relative;
  overflow: hidden;
  background: #1c2428;
  min-height: var(--hero-h-mobile, 40vh);
  max-height: min(var(--hero-h-mobile, 40vh), 320px);
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-field {
    min-height: min(var(--hero-h-tablet, var(--hero-h-desktop, 58vh)), 480px);
    max-height: none;
  }
}
@media (min-width: 1024px) {
  .hero-field {
    min-height: min(var(--hero-h-desktop, 68vh), var(--hero-max-desktop, 580px));
    max-height: none;
  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease-out;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos-m, 50% 50%);
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-slide img {
    object-position: var(--pos-t, var(--pos-d, 50% 50%));
  }
}
@media (min-width: 1024px) {
  .hero-slide img {
    object-position: var(--pos-d, 50% 50%);
  }
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  min-height: inherit;
  align-items: flex-end;
  padding: 2.5rem 1rem 2.5rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .hero-content {
    align-items: center;
    padding: 5rem 4rem 5rem 1rem;
  }
}
@media (min-width: 1024px) {
  .hero-content {
    padding-right: 5rem;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
}
@media (min-width: 768px) {
  .hero-actions {
    margin-top: 1.75rem;
    gap: 0.75rem;
  }
}
.hero-nav {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  z-index: 20;
  display: flex;
  transform: translateX(-50%);
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .hero-nav { bottom: 1.35rem; }
}
.hero-nav-btn {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.3);
  color: #fff;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.hero-nav-btn:hover {
  background: rgba(0,0,0,0.5);
  transform: scale(1.05);
}
.hero-nav-btn:active { transform: scale(0.96); }
@media (min-width: 768px) {
  .hero-nav-btn { height: 2.5rem; width: 2.5rem; }
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.25rem;
}
.hero-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.7); }
.hero-dot.is-active {
  width: 1.75rem;
  background: #fff;
}
.hero-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0.75rem;
  bottom: 1rem;
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 768px) {
  .hero-enter {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}
.hero-enter:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px) scale(1.04);
}
.hero-enter:active {
  transform: scale(0.96);
}
.hero-field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 24, 28, 0.72) 0%, rgba(20, 24, 28, 0.35) 42%, rgba(20, 24, 28, 0.12) 100%),
    linear-gradient(0deg, rgba(20, 24, 28, 0.55) 0%, transparent 45%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  width: 100%;
  color: #fff;
  padding-bottom: 3rem;
  text-shadow: none !important;
  filter: none !important;
}
@media (min-width: 768px) {
  .hero-copy {
    padding-bottom: 2.5rem;
  }
}
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy p {
  text-shadow: none !important;
  filter: none !important;
  -webkit-text-stroke: 0 !important;
}
.hero-copy .eyebrow {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero-copy h1 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.65rem, 6.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
}
.hero-copy p {
  margin: 0.75rem 0 0;
  max-width: 30rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
@media (min-width: 768px) {
  .hero-copy p {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.65;
  }
}
.hero-field .btn-glass-solid {
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.55);
  text-shadow: none;
}
.hero-field .btn-glass-solid:hover {
  background: #fff;
  color: var(--color-accent);
  transform: translateY(-1px);
}
.hero-field .btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  text-shadow: none;
}
.hero-field .btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* Minimal loading */
.ke-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  background: transparent;
}
.ke-progress.is-on { opacity: 1; }
.ke-progress__bar {
  height: 100%;
  width: 0;
  background: var(--color-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--color-accent) 55%, transparent);
  transition: width 0.25s ease;
}
.ke-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ke-loader-overlay.is-on { display: flex; }
.ke-spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(122, 31, 43, 0.14);
  border-top-color: var(--color-accent, #7a1f2b);
  animation: ke-spin 0.7s linear infinite;
}
@keyframes ke-spin { to { transform: rotate(360deg); } }
.ke-ajax-busy { pointer-events: none; opacity: 0.55; transition: opacity 0.2s ease; }

button.nav-link {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ke-field, .ke-area {
  width: 100%;
  height: 3rem;
  border: 1px solid var(--color-border);
  border-radius: 0.9rem;
  padding: 0 1rem;
  background: #fff;
  outline: none;
  font: inherit;
}
.ke-area { min-height: 5.5rem; height: auto; padding: .85rem 1rem; resize: vertical; }
.ke-swatch.border-\[var\(--color-accent\)\] { border-color: var(--color-accent); }
@media (min-width: 768px) {
  .ke-header-home.header-over-hero {
    background: rgba(0,0,0,.35) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.15) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: none;
  }
  .ke-header-home.header-over-hero .logo-img { filter: brightness(0) invert(1); }
  .ke-header-home.header-over-hero .brand-wordmark,
  .ke-header-home.header-over-hero .nav-link,
  .ke-header-home.header-over-hero .icon-btn,
  .ke-header-home.header-over-hero .drawer-icon {
    color: #fff;
  }
  .ke-header-home.header-over-hero .icon-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
  }
  .ke-header-home:not(.header-over-hero),
  .ke-header-home.ke-header--solid,
  .ke-header-home.ke-header--scrolled {
    background: rgba(255,255,255,0.85) !important;
    color: var(--color-header-text) !important;
    border-color: rgba(0,0,0,0.05) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .ke-header-home:not(.header-over-hero) .logo-img,
  .ke-header-home.ke-header--solid .logo-img,
  .ke-header-home.ke-header--scrolled .logo-img {
    filter: none;
  }
}

/* ===== Sticky header (single bar — never two rows) ===== */
.ke-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  color: var(--color-header-text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  overflow: visible;
}
@media (max-width: 767.98px) {
  .ke-header {
    background: #fff !important;
    color: var(--color-header-text) !important;
    border-bottom: 1px solid var(--color-border) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    backdrop-filter: none;
  }
  .ke-header .logo-img {
    filter: none !important;
  }
  .ke-header .drawer-icon,
  .ke-header .icon-btn {
    color: var(--color-header-text);
  }
}
@media (min-width: 768px) {
  .ke-main--home {
    margin-top: -4rem;
  }
}
.ke-header-bar {
  position: relative;
  display: flex;
  height: 3.5rem;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .ke-header-bar { height: 4rem; }
}
.ke-header-menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ke-header-logo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.ke-header-logo-link .logo-img {
  display: block;
  margin: 0;
}
.ke-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  margin-left: auto;
  height: 100%;
  align-self: stretch;
}
.ke-header-actions .icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}
.ke-header-nav-desktop { display: none; }
.ke-header-brand-desktop { display: none; }
@media (min-width: 768px) {
  .ke-header-menu-btn,
  .ke-header-logo-mobile { display: none !important; }
  .ke-header-bar {
    position: relative;
    justify-content: flex-start;
  }
  .ke-header-nav-desktop {
    display: flex !important;
    align-items: center;
    gap: 1.75rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    height: auto;
    z-index: 2;
  }
  .ke-header-brand-desktop {
    display: flex !important;
    align-items: center;
    align-self: center;
    position: relative;
    z-index: 3;
  }
  .ke-header-actions {
    position: relative;
    z-index: 3;
  }
  .ke-header-nav-desktop .nav-link {
    display: inline-flex;
    align-items: center;
    height: 2.5rem;
    line-height: 1;
  }
  .ke-header-bar--align-right {
    flex-direction: row-reverse;
  }
}
.admin-bar .ke-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .ke-header {
    top: 46px;
  }
}
/* Legacy dual-row classes from older theme versions — never show */
#ke-header > .ke-header-mobile,
#ke-header > .ke-header-desktop {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}
#ke-header [data-ke-mega],
#ke-header [data-ke-mega-bg] {
  display: none !important;
}
@media (min-width: 768px) {
  #ke-header [data-ke-mega].is-open,
  #ke-header [data-ke-mega]:not(.hidden) {
    display: block !important;
  }
  #ke-header [data-ke-mega-bg]:not(.hidden) {
    display: block !important;
  }
}
.ke-cart-badge {
  position: absolute;
  right: 0.25rem;
  top: 0.25rem;
  display: none;
  min-width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-accent);
  padding: 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
}
.ke-cart-badge.flex { display: flex; }

/* Mobile drawer / overlays without Tailwind */
.drawer-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  display: flex;
  width: min(88vw, 19rem);
  flex-direction: column;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.drawer-panel.is-open,
.drawer-panel:not(.-translate-x-full).is-open {
  transform: translateX(0);
}
/* Keep Tailwind class working + explicit open state */
.drawer-panel:not(.-translate-x-full) {
  transform: translateX(0);
}
@media (min-width: 768px) {
  .drawer-panel { display: none !important; }
}
[data-ke-drawer-bg] {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
[data-ke-drawer-bg].is-open,
[data-ke-drawer-bg].opacity-100 {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 768px) {
  [data-ke-drawer-bg] { display: none !important; }
}
[data-ke-search-modal] {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  padding: 12vh 1rem 1rem;
}
[data-ke-search-modal]:not(.hidden),
[data-ke-search-modal].is-open {
  display: flex;
}
[data-ke-cart-bg] {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.26s ease;
}
[data-ke-cart-bg]:not(.hidden) {
  display: block;
}
[data-ke-cart-bg].is-open {
  opacity: 1;
}
[data-ke-cart] {
  position: fixed;
  z-index: 90;
  top: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: none;
  width: min(calc(100% - 1.5rem), 22rem);
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  transition:
    opacity 0.26s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
[data-ke-cart]:not(.hidden),
[data-ke-cart].flex {
  display: flex;
}
[data-ke-cart].is-open {
  opacity: 1;
  transform: translateX(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  [data-ke-cart-bg],
  [data-ke-cart] {
    transition: none;
  }
}

/* Side cart + cart page lines — never depend on missing utility classes for image size */
.ke-cart-line {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.ke-cart-line:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.ke-cart-line__thumb {
  width: 4rem;
  height: 5rem;
  flex: 0 0 4rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--color-secondary);
}
.ke-cart-line__thumb img,
.ke-cart-line__thumb a img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}
.ke-cart-line__body {
  flex: 1 1 0%;
  min-width: 0;
  font-size: 0.875rem;
}
.ke-cart-line__need {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.ke-cart-need {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fef3c7;
  padding: 0.12rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #78350f;
  line-height: 1.2;
}
.ke-cart-line__title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: inherit;
  text-decoration: none;
}
.ke-cart-line__title:hover {
  color: var(--color-accent);
}
.ke-cart-line__meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.ke-cart-line__row {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ke-cart-line__remove {
  flex-shrink: 0;
  align-self: flex-start;
}
[data-ke-cart-page-items] .ke-cart-line {
  margin-bottom: 0;
  padding-bottom: 1rem;
}
[data-ke-cart-page-items] .ke-cart-line__thumb {
  width: 5rem;
  height: 6rem;
  flex-basis: 5rem;
}
.product-card-action svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  display: block;
  max-width: none;
}

/* Full cart page */
.ke-cart-page {
  background: linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
}
.ke-cart-banner {
  margin: 0 0 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #451a03;
}
.ke-cart-summary {
  height: fit-content;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}
@media (min-width: 1024px) {
  .ke-cart-summary {
    position: sticky;
    top: 6rem;
  }
}
.ke-cart-summary__note {
  margin: 1rem 0 0;
  border-radius: 0.5rem;
  background: var(--color-secondary);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.ke-cart-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 0.85rem;
}
@media (min-width: 640px) {
  .ke-cart-card {
    gap: 1rem;
    padding: 1.25rem;
  }
}
.ke-cart-card.is-pending {
  border-color: #fde68a;
}
.ke-cart-card__thumb {
  display: block;
  width: 5.25rem;
  height: 6.25rem;
  flex: 0 0 5.25rem;
  overflow: hidden;
  border-radius: 0.65rem;
  background: var(--color-secondary);
}
@media (min-width: 640px) {
  .ke-cart-card__thumb {
    width: 7rem;
    height: 8rem;
    flex-basis: 7rem;
    border-radius: 0.75rem;
  }
}
.ke-cart-card__thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center top;
}
.ke-cart-card__body {
  flex: 1 1 0%;
  min-width: 0;
}
.ke-cart-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.ke-cart-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
  text-decoration: none;
}
@media (min-width: 640px) {
  .ke-cart-card__title {
    font-size: 1rem;
  }
}
.ke-cart-card__title:hover {
  color: var(--color-accent);
}
.ke-cart-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.ke-cart-card__flags {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ke-cart-flag {
  display: inline-flex;
  border-radius: 999px;
  background: #fef3c7;
  padding: 0.12rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #78350f;
  line-height: 1.2;
}
.ke-cart-card__extras {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.ke-cart-card__extras p {
  margin: 0.15rem 0 0;
}
.ke-cart-card__foot {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ke-cart-card__price {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ke-cart-opts {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(253, 230, 138, 0.9);
  background: rgba(255, 251, 235, 0.85);
  padding: 0.75rem;
}
.ke-cart-opts__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ke-cart-opts__top p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #78350f;
}
.ke-cart-opts__sizes {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ke-size-chip {
  min-width: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  transition: border-radius 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ke-size-chip:hover {
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  transform: scale(1.04);
}
.ke-size-chip.is-on {
  border-radius: 999px;
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}
.ke-cart-opts__apply {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(69, 26, 3, 0.85);
}
.ke-cart-opts__save {
  margin-top: 0.75rem !important;
  min-height: 2.25rem !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.75rem !important;
}
.ke-cart-opts__save:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  @media (max-width: 767.98px) {
    .ke-header {
      padding-top: env(safe-area-inset-top, 0px);
    }
  }
}

/* PDP layout */
.ke-pdp { background: #f7f7f8; padding-bottom: 5.5rem; }
@media (min-width: 768px) { .ke-pdp { padding-bottom: 2rem; } }
.ke-pdp-layout {
  display: grid;
  gap: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  .ke-pdp-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2.5rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}
.ke-pdp-gallery-wrap { min-width: 0; }
@media (min-width: 1024px) {
  .ke-pdp-gallery-wrap { position: sticky; top: 6rem; align-self: start; }
}

/* PDP gallery — fixed frame + nav */
.ke-pdp-gallery { display: flex; flex-direction: column; gap: 0.65rem; }
.ke-pdp-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: min(58vh, 420px);
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
}
.ke-pdp-stage.is-zoomed {
  cursor: zoom-out;
}
.ke-pdp-stage.is-zoomed .ke-pdp-main-img {
  transform: scale(1.5);
  transform-origin: var(--zx, 50%) var(--zy, 50%);
  transition: transform 0.25s ease;
}
.ke-pdp-stage:not(.is-zoomed) .ke-pdp-main-img {
  transform: scale(1);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.ke-pdp-stage.is-personalizing .ke-pdp-stage-tools,
.ke-pdp-stage.is-personalizing .ke-pdp-stage-badges {
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .ke-pdp-stage {
    aspect-ratio: 4 / 5;
    max-height: min(70vh, 640px);
  }
}
.ke-pdp-stage-badges {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: calc(100% - 5.5rem);
}
.ke-pdp-stage-tools {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 6;
  display: flex;
  gap: 0.4rem;
}
.ke-pdp-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  padding: 0;
}
.ke-pdp-tool:hover {
  background: #fff;
  color: var(--color-accent);
  transform: scale(1.08);
}
.ke-pdp-tool:active { transform: scale(0.94); }
.ke-pdp-tool[aria-pressed="true"] {
  background: var(--color-accent);
  color: #fff;
}
.ke-pdp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.ke-lightbox[hidden] { display: none !important; }
.ke-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  touch-action: none;
}
.ke-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
  padding: 0;
}
.ke-lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.ke-lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }
.ke-lightbox__frame {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  height: min(78vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.ke-lightbox__frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
  touch-action: none;
}
.ke-lightbox.is-zoomed .ke-lightbox__frame img {
  cursor: grab;
  max-width: none;
  max-height: none;
  width: min(100vw, 48rem);
  height: auto;
}
.ke-lightbox__hint {
  position: absolute;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 2;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
}
.ke-pdp-main-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.25s ease;
}
.ke-pdp-main-img.is-dimmed { opacity: 0; pointer-events: none; }
.ke-pdp-preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #fff;
  padding: 0.5rem;
  container-type: inline-size;
  container-name: jersey;
}
.ke-pdp-preview[hidden] { display: none !important; }
.ke-pdp-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: none;
}
.ke-pdp-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -1.125rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.92);
  color: var(--color-text);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ke-pdp-nav:hover {
  background: #fff;
  color: var(--color-accent);
  transform: scale(1.06);
}
.ke-pdp-nav:active { transform: scale(0.95); }
.ke-pdp-nav--prev { left: 0.55rem; }
.ke-pdp-nav--next { right: 0.55rem; }
.ke-pdp-thumbs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}
.ke-pdp-thumb {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.9rem;
  padding: 0;
  overflow: hidden;
  border-radius: 0.55rem;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ke-pdp-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  max-width: none;
}
.ke-pdp-thumb:hover { transform: translateY(-1px); }
.ke-pdp-thumb.is-active { border-color: var(--color-accent); }

/* Buy box */
.ke-pdp-buybox {
  min-width: 0;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
@media (min-width: 640px) { .ke-pdp-buybox { padding: 1.25rem; } }
@media (min-width: 1024px) {
  .ke-pdp-buybox { position: sticky; top: 6rem; }
}
.ke-pdp-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.ke-pdp-meta {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.ke-pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.ke-pdp-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}
.ke-pdp-compare {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.ke-pdp-section { margin-top: 1.1rem; }
.ke-pdp-label {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}
.ke-pdp-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.ke-pdp-row-between .ke-pdp-label { margin: 0; }
.ke-pdp-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.ke-pdp-link:hover { opacity: 0.85; }

/* Size guide / shared modal */
html.ke-modal-open { overflow: hidden; }
.ke-modal[hidden] { display: none !important; }
.ke-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 768px) {
  .ke-modal {
    align-items: center;
    padding: 1.5rem;
  }
}
.ke-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  cursor: pointer;
}
.ke-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  padding: 1.15rem 1.15rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: ke-modal-in 0.22s ease;
}
@media (min-width: 768px) {
  .ke-modal__panel {
    max-width: 32rem;
    border-radius: 1rem;
    padding: 1.75rem 2rem;
  }
}
@keyframes ke-modal-in {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}
.ke-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.ke-modal__title {
  margin: 0;
  font-family: var(--font-heading, inherit);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.ke-modal__close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-secondary, #f4f4f5);
  color: var(--color-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.ke-modal__close:hover { background: #e4e4e7; }
.ke-modal__body { color: var(--color-text); }

.ke-size-guide__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.ke-size-guide__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
}
.ke-size-guide__table {
  width: 100%;
  min-width: 18rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.ke-size-guide__table th {
  text-align: left;
  padding: 0.7rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-secondary, #f4f4f5);
  border-bottom: 1px solid var(--color-border);
}
.ke-size-guide__table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.ke-size-guide__table tbody tr:last-child td { border-bottom: 0; }
.ke-size-guide__table tbody tr:nth-child(even) { background: #fafafa; }
.ke-size-guide__note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.ke-size-guide .prose-ke,
.ke-size-guide table { width: 100%; }
.ke-pdp-hint {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.ke-pdp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ke-swatch {
  width: 3rem;
  height: 3.6rem;
  padding: 0;
  overflow: hidden;
  border-radius: 0.65rem;
  border: 2px solid transparent;
  background: #f4f4f5;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ke-swatch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.ke-swatch span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.65rem;
  font-weight: 700;
}
.ke-swatch:hover { transform: translateY(-1px); }
.ke-swatch.is-active { border-color: var(--color-accent); }

.ke-pdp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ke-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid #d7d9de;
  background: #fff;
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.ke-chip:hover {
  border-color: color-mix(in srgb, var(--color-accent) 40%, #d7d9de);
}
.ke-chip.is-active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #fff;
}
.ke-pdp-extra { margin-top: 0.65rem; }
.ke-pdp-extra[hidden] { display: none !important; }
.ke-pdp-personalize {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 480px) {
  .ke-pdp-personalize { grid-template-columns: 1fr 1fr; }
}
.ke-pdp-mobile-preview {
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #eceef1;
  background: #fff;
}
.ke-pdp-mobile-preview[hidden] { display: none !important; }
.ke-pdp-mobile-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 20rem;
  margin: 0.75rem auto;
  container-type: inline-size;
  container-name: jersey;
}
@media (min-width: 1024px) {
  .ke-pdp-mobile-preview { display: none !important; }
}
.ke-pdp-atc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #eceef1;
}
.ke-pdp-add {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
  min-height: 2.5rem !important;
  overflow: hidden;
  border-radius: 999px !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  font-size: 0.875rem !important;
}
.ke-pdp-add__ripple {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ke-pdp-add__ripple-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 55%, transparent);
  opacity: 0;
  transform: scale(0);
}
.ke-pdp-add__ripple-dot.is-animating {
  animation: ke-ripple 0.55s ease-out forwards;
}
.ke-pdp-add__inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
}
.ke-pdp-add__icon {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}
.ke-pdp-add__icon svg {
  width: 1rem;
  height: 1rem;
}
.ke-pdp-add__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ke-pdp-add.is-added .ke-pdp-add__inner {
  animation: ke-swap-in 0.2s ease both;
}
.ke-pdp-add.is-added .ke-pdp-add__icon {
  animation: ke-icon-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ke-pdp-add .ke-check-draw path {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
}
.ke-pdp-add.is-added .ke-check-draw path {
  animation: ke-check-draw 0.45s ease forwards 0.05s;
}
@keyframes ke-check-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes ke-icon-pop {
  0% { transform: scale(0.6) rotate(-12deg); opacity: 0.4; }
  60% { transform: scale(1.15) rotate(0deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.ke-pdp-edit-banner {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 25%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 8%, white);
  color: var(--color-text);
  font-size: 0.8rem;
  line-height: 1.4;
}
.ke-pdp-add.is-save-options {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.ke-pdp-add.is-gated {
  opacity: 0.72;
}
.ke-pdp-qty {
  min-width: 2rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}
.ke-pdp-note {
  margin: 0.55rem 0 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}
.ke-pdp-error {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--color-accent);
}
.ke-pdp-error[hidden] { display: none !important; }
.ke-pdp-details {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eceef1;
}
.ke-pdp-details summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.ke-pdp-details .prose-ke {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Mobile sticky ATC */
.ke-pdp-sticky {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
}
.ke-pdp-sticky[hidden] { display: none !important; }
.ke-pdp-sticky .ke-pdp-add { flex: 1; }
@media (min-width: 768px) {
  .ke-pdp-sticky { display: none !important; }
}

.ke-pdp-under-gallery {
  display: block;
  margin-top: 1.35rem;
  padding: 1.15rem 0 0.35rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.ke-pdp-under-gallery__head {
  margin-bottom: 0.85rem;
}
.ke-pdp-under-gallery__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.ke-pdp-under-gallery__sub {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.ke-pdp-under-gallery__scroller {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.1rem 0 0.55rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}
.ke-pdp-under-gallery__item {
  flex: 0 0 min(70vw, 13.5rem);
  scroll-snap-align: start;
  min-width: 0;
}
.ke-pdp-under-gallery__item .product-card-title {
  font-size: 0.82rem;
  min-height: 0;
}
.ke-pdp-under-gallery__item .product-card-actions {
  display: none;
}
@media (min-width: 768px) {
  .ke-pdp-under-gallery__title {
    font-size: 1.5rem;
  }
  .ke-pdp-under-gallery__item {
    flex-basis: 11.5rem;
  }
}
@media (min-width: 1024px) {
  .ke-pdp-under-gallery {
    margin-top: 1.5rem;
  }
  .ke-pdp-under-gallery__item {
    flex-basis: 10.75rem;
  }
}

.ke-pdp-more-kits {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #f4f5f7;
  padding: 1.25rem 0 3rem;
}
.ke-pdp-more-kits__head {
  margin-bottom: 1.25rem;
}
.ke-pdp-more-kits__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-align: left;
}
.ke-pdp-more-kits__scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}
.ke-pdp-more-kits__item {
  flex: 0 0 min(70vw, 15rem);
  scroll-snap-align: start;
  min-width: 0;
}
/* Allow hold-to-scrub on gallery cards without fighting the row slide */
.ke-pdp-more-kits__item .product-card-media.has-gallery {
  touch-action: manipulation;
}
.ke-pdp-more-kits__item .product-card-media.has-gallery.is-scrub-ready,
.ke-pdp-more-kits__item .product-card-media.has-gallery.is-scrubbing {
  touch-action: none;
}
@media (min-width: 640px) {
  .ke-pdp-more-kits__item {
    flex-basis: 13.75rem;
  }
}
@media (min-width: 768px) {
  .ke-pdp-more-kits {
    padding: 1.5rem 0 4.5rem;
  }
  .ke-pdp-more-kits__title {
    font-size: 1.875rem;
  }
  .ke-pdp-more-kits__head {
    margin-bottom: 1.75rem;
  }
}

.ke-pdp-related {
  padding-top: 1rem;
  padding-bottom: 3.5rem;
  margin-top: 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  background: #f4f5f7;
}
.ke-pdp-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}
.ke-pdp-related .section-title {
  margin: 0;
  text-align: left;
}
.ke-pdp-related__scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.ke-pdp-related__item {
  flex: 0 0 min(70vw, 240px);
  scroll-snap-align: start;
  min-width: 0;
}
@media (min-width: 640px) {
  .ke-pdp-related__item { flex-basis: 220px; }
}
@media (min-width: 1024px) {
  .ke-pdp-related__scroller {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
  .ke-pdp-related__item { flex: none; width: auto; }
}

.ke-pdp-features {
  padding: 2rem 0 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 2rem;
}
.ke-pdp-features__grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
@media (min-width: 768px) {
  .ke-pdp-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    overflow: visible;
    scroll-snap-type: none;
  }
}
.ke-pdp-feature {
  flex: 0 0 min(78vw, 17rem);
  scroll-snap-align: start;
  min-width: 0;
}
@media (min-width: 768px) {
  .ke-pdp-feature { flex: none; width: auto; }
}
.ke-pdp-feature__media {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  aspect-ratio: 5 / 4;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .ke-pdp-feature__media {
    aspect-ratio: 4 / 3;
    margin-bottom: 1rem;
  }
}
.ke-pdp-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.ke-pdp-feature:hover .ke-pdp-feature__media img {
  transform: scale(1.03);
}
.ke-pdp-feature__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
@media (min-width: 768px) {
  .ke-pdp-feature__title { font-size: 1.125rem; }
}
.ke-pdp-feature__desc {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.ke-pdp .cart-qty-btn {
  width: 2.25rem;
  height: 2.5rem;
  padding: 0;
}


