/**
 * SoleShop — 1:1 The Kick Game (kickgame.co.uk) Design System
 * Full-Bleed Editorial Banners, Centered Logo Architecture, Brand Campaign Cards, Clean New In Carousel
 */

:root {
  --kg-black: #000000;
  --kg-white: #ffffff;
  --kg-bg-grey: #f7f7f7;
  --kg-card-bg: #f8f8f8;
  --kg-border: #e8e8e8;
  --kg-text-dark: #111111;
  --kg-text-muted: #666666;
  --kg-text-subtle: #888888;
  --font-kg: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--kg-white);
  color-scheme: light;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-kg);
  background-color: var(--kg-white);
  color: var(--kg-text-dark);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Width Containers */
.container,
.container-boxed {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.container-full {
  width: 100%;
  padding: 0 2.5rem;
  box-sizing: border-box;
}

/* ==========================================================
   1. TICKER BAR (EXACT KICK GAME MULTI-MESSAGE REPEATING TICKER)
   ========================================================== */
.kg-ticker {
  background: var(--kg-black);
  color: var(--kg-white);
  padding: 0.55rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.kg-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: kgTickerMarquee 35s linear infinite;
  will-change: transform;
}

@keyframes kgTickerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.kg-ticker:hover .kg-ticker-track {
  animation-play-state: paused;
}

.kg-ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.kg-ticker-dot {
  width: 3px;
  height: 3px;
  background: var(--kg-white);
  border-radius: 50%;
  display: inline-block;
  opacity: 0.6;
}

/* ==========================================================
   2. HEADER (EXACT KICK GAME 3-COLUMN ARCHITECTURE)
   ========================================================== */
.kg-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--kg-white);
  border-bottom: 1px solid var(--kg-border);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.kg-header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.25rem 2.5rem 0.75rem;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Left: Small Search & Currency */
.kg-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.kg-search-wrap {
  position: relative;
  width: 240px;
}

.kg-search-wrap input {
  width: 100%;
  background: #f2f2f4;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.45rem 0.85rem 0.45rem 2rem;
  font-size: 0.8rem;
  color: #111;
  transition: var(--transition);
}

.kg-search-wrap input:focus {
  outline: none;
  background: #fff;
  border-color: #111;
}

.kg-search-icon {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.kg-currency {
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #333;
  cursor: pointer;
}

/* Center: Bold Kick Game Style Brand Logo */
.kg-header-center {
  text-align: center;
}

.kg-brand-logo {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
}

.kg-brand-logo sup {
  font-size: 0.75rem;
  font-weight: 800;
  margin-left: 2px;
  top: -0.4em;
}

/* Right: Minimal Icon Utilities */
.kg-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.kg-auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  background: #f5f5f5;
  color: #000000;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  transition: all 0.15s ease;
  position: relative;
}

.kg-auth-pill:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.kg-auth-pill svg {
  flex-shrink: 0;
}

.kg-vip-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 640px) {
  .kg-auth-name {
    display: none;
  }
  .kg-auth-pill {
    padding: 0.25rem;
    background: transparent;
    border: none;
  }
}

.kg-icon-btn {
  background: transparent;
  border: none;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.25rem;
}

.kg-icon-btn:hover {
  opacity: 0.7;
}

.kg-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center Submenu Bar */
.kg-header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
  padding: 0.85rem 2.5rem 1.15rem;
}

.kg-nav-link {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.kg-nav-link:hover {
  color: #555555;
}

.kg-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.kg-nav-link.highlight {
  color: #dc2626;
}

/* ==========================================================
   3. HERO CAMPAIGN BANNER (FULL-WIDTH EDGE-TO-EDGE)
   ========================================================== */
.kg-hero-campaign {
  position: relative;
  width: 100%;
  height: 540px;
  background: #0a0a0a;
  overflow: hidden;
}

.kg-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  pointer-events: none;
  z-index: 1;
}

.kg-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 1;
}

.kg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.45) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 3.5rem;
  z-index: 2;
}

.kg-hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff3b30;
  margin-bottom: 0.75rem;
}

.kg-hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.85);
  display: inline-block;
  flex-shrink: 0;
}

.kg-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.kg-hero-subhead {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  margin-top: -0.25rem;
  margin-bottom: 1.85rem;
  max-width: 680px;
  line-height: 1.45;
}

.kg-hero-btn-row {
  display: flex;
  gap: 1rem;
}

.btn-hero-solid {
  background: #ffffff;
  color: #000000;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  border: 1px solid #ffffff;
  transition: var(--transition);
}

.btn-hero-solid:hover {
  background: #e5e5e5;
  border-color: #e5e5e5;
}

.btn-hero-outline {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ==========================================================
   4. GREATEST BRANDS SECTION (EXACT 4 CAMPAIGN CARDS)
   ========================================================== */
.kg-brands-section {
  padding: 3.5rem 0 2rem;
}

.kg-section-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 1.25rem;
}

.kg-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.kg-brand-card {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111317;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.kg-brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.kg-brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kg-brand-card:hover img {
  transform: scale(1.05);
}

.kg-brand-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 15, 0.94) 0%, rgba(10, 11, 15, 0.5) 28%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.35rem;
  pointer-events: none;
}

.kg-brand-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.kg-brand-logo-text {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.kg-shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.38rem 0.85rem;
  border-radius: 4px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.kg-brand-card:hover .kg-shop-pill {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ==========================================================
   5. NEW IN / PRODUCT CAROUSEL GRID (EXACT KICK GAME CARDS)
   ========================================================== */
.kg-products-section {
  padding: 3rem 0 5rem;
}

.kg-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn-shop-collection {
  background: #000000;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-shop-collection:hover {
  background: #333333;
}

.kg-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.kg-card {
  background: var(--kg-card-bg);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid transparent;
}

.kg-card:hover {
  border-color: #dcdcdc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.kg-card-top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.kg-stock-badge {
  background: #000000;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.kg-wish-btn {
  background: #ffffff;
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.kg-wish-btn:hover {
  color: #000;
  transform: scale(1.1);
}

.kg-card-image-box {
  background: #f4f4f4;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.kg-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.12));
}

.kg-card:hover .kg-card-image-box img {
  transform: scale(1.08) rotate(-2deg);
}

.kg-card-body {
  padding: 1.25rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kg-card-brand-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kg-text-muted);
  margin-bottom: 0.3rem;
}

.kg-card-product-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--kg-text-dark);
  line-height: 1.35;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kg-card-size-info {
  font-size: 0.75rem;
  color: var(--kg-text-subtle);
  margin-bottom: 1rem;
}

.kg-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--kg-border);
}

.kg-card-price-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #000000;
}

.kg-card-add-btn {
  background: #000000;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.55rem 1rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.kg-card-add-btn:hover {
  background: #333333;
}

/* ==========================================================
   6. CASH OUT WITH SOLESHOP (COMMERCIAL BUYOUT BANNER)
   ========================================================== */
.kg-sell-banner {
  background: #111215;
  color: #ffffff;
  border-radius: 6px;
  padding: 4.5rem;
  margin: 2rem 0 5rem;
}

.kg-sell-banner-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-left: 1px solid var(--kg-border);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.cart-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--kg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-close-btn {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.cart-items {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--kg-border);
}

.cart-item-img {
  width: 5rem;
  height: 5rem;
  border-radius: 4px;
  background: #f4f4f4;
  object-fit: contain;
  flex-shrink: 0;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #000;
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.25rem;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 900;
  color: #000;
  margin-top: 0.35rem;
}

.cart-footer {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid var(--kg-border);
  background: #fafafc;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.35rem;
  font-weight: 900;
  color: #000;
  margin: 0.75rem 0 1.25rem;
}

/* ==========================================================
   7. FOOTER (KICK GAME MULTI-COLUMN)
   ========================================================== */
.kg-site-footer {
  background: #0f1013;
  color: #ffffff;
  padding: 5rem 0 2.5rem;
  margin-top: auto;
}

.kg-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.kg-footer-col h4 {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.kg-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kg-footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.kg-footer-links a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1200px) {
  .kg-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kg-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .container,
  .container-boxed {
    padding: 0 1.25rem;
  }
  .kg-header-top {
    grid-template-columns: 1fr auto;
    padding: 0.85rem 1.25rem;
    gap: 0.75rem;
  }
  .kg-header-left, .kg-search-wrap, .kg-currency {
    display: none;
  }
  .kg-brand-logo {
    font-size: 1.85rem;
  }
  .kg-header-right {
    gap: 1rem;
  }
  .kg-header-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
    padding: 0.65rem 1.25rem 0.85rem;
    gap: 1.35rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .kg-header-nav::-webkit-scrollbar {
    display: none;
  }
  .kg-nav-link {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .kg-hero-campaign {
    height: 480px;
  }
  .kg-hero-video {
    object-position: center center;
  }
  .kg-hero-overlay {
    padding: 2.2rem 1.25rem;
  }
  .kg-hero-pretitle {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
  }
  .kg-hero-subhead {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }
  .kg-hero-btn-row {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .kg-sell-banner-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .kg-sell-banner {
    padding: 2.5rem 1.5rem;
  }
  .kg-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kg-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .container,
  .container-full,
  .container-boxed,
  .shop-page-wrapper,
  .portal-wrapper {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .kg-header-top {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  .kg-brand-logo {
    font-size: 1.45rem;
    letter-spacing: -0.03em;
  }
  .kg-brand-logo sup {
    font-size: 0.55rem;
    top: -0.3em;
  }
  .kg-header-right {
    gap: 0.75rem;
  }
  .kg-header-right .kg-icon-btn {
    padding: 0.2rem;
  }
  .kg-header-right .kg-icon-btn svg {
    width: 19px;
    height: 19px;
  }
  .kg-cart-badge {
    width: 1rem;
    height: 1rem;
    font-size: 0.6rem;
    top: -3px;
    right: -6px;
  }
  .kg-header-nav {
    padding: 0.55rem 1rem 0.75rem;
    gap: 1.15rem;
  }
  .kg-nav-link {
    font-size: 0.72rem;
  }
  .kg-brands-grid {
    grid-template-columns: 1fr;
  }
  .kg-catalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .kg-card-body {
    padding: 0.75rem;
  }
  .kg-card-brand-label {
    font-size: 0.62rem;
  }
  .kg-card-product-name {
    font-size: 0.82rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
  }
  .kg-card-size-info {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }
  .kg-card-footer {
    padding-top: 0.5rem;
  }
  .kg-card-price-value {
    font-size: 1rem;
  }
  .kg-card-add-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.68rem;
  }
  .kg-card-image-box {
    padding: 0.85rem;
  }
  .kg-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cart-drawer {
    max-width: 100vw;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .container,
  .container-full,
  .container-boxed,
  .shop-page-wrapper {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .kg-brand-logo {
    font-size: 1.3rem;
  }
  .kg-header-right {
    gap: 0.55rem;
  }
}

/* ==========================================================
   8. THE KICK GAME PRODUCT DETAIL & MULTI-SIZE VARIANT SYSTEM
   ========================================================== */
.product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding: 1rem 0 4rem;
}

.gallery-sticky {
  position: sticky;
  top: 6.5rem;
}

.gallery-main {
  background: #f8f8fa;
  border-radius: 8px;
  border: 1px solid #ebebeb;
  aspect-ratio: 1.1 / 1;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-main:hover img {
  transform: scale(1.05);
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.thumb-item {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  background: #f8f8fa;
  border: 1.5px solid #ebebeb;
  padding: 0.35rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-item:hover,
.thumb-item.active {
  border-color: #000000;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-brand-kg {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666666;
}

.product-title-kg {
  font-size: 2.1rem;
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-top: 0.25rem;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666666;
  flex-wrap: wrap;
}

.product-meta-row strong {
  color: #111111;
}

.product-price-kg {
  font-size: 2.2rem;
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.product-price-original {
  font-size: 1.25rem;
  font-weight: 600;
  color: #999999;
  text-decoration: line-through;
}

/* Kick Game Size Selector Grid */
.kg-size-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.kg-size-selector-title {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111111;
}

.kg-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.kg-size-cell {
  border: 1.5px solid #e5e5e5;
  border-radius: 6px;
  background: #ffffff;
  padding: 0.75rem 0.4rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.kg-size-cell:hover {
  border-color: #000000;
  transform: translateY(-1px);
}

.kg-size-cell.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.kg-size-cell-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
}

.kg-size-cell.active .kg-size-cell-num {
  color: #ffffff;
}

.kg-size-cell-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #666666;
  margin-top: 0.2rem;
}

.kg-size-cell.active .kg-size-cell-price {
  color: #d1d5db;
}

.kg-size-cell.sold-out {
  background: #fafafa;
  border-color: #eee;
  opacity: 0.55;
  cursor: not-allowed;
}

.kg-size-cell.sold-out .kg-size-cell-price {
  color: #dc2626;
  font-weight: 800;
}

.kg-stock-status-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 0.75rem;
}

/* Button Component Utilities */
.btn-kg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  font-size: 0.88rem;
  line-height: 1;
}

.btn-kg:hover {
  transform: translateY(-1px);
}

.btn-kg-block {
  width: 100%;
  display: flex;
}

.btn-kg-dark {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.btn-kg-dark:hover {
  background: #222222;
  color: #ffffff;
}

.btn-kg-light {
  background: #ffffff;
  color: #000000;
  border-color: #dcdcdc;
}

.btn-kg-light:hover {
  background: #f5f5f5;
  border-color: #000000;
}

.btn-kg-email {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  font-size: 0.92rem;
}

.btn-kg-email:hover {
  background: #222222;
  color: #ffffff;
}

.btn-kg-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* Kick Game Shop Filter Bar */
.kg-filter-wrapper {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.kg-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.2fr auto;
  gap: 1rem;
  align-items: flex-end;
}

.kg-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.kg-filter-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666666;
}

.kg-filter-input,
.kg-filter-select {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111111;
  outline: none;
  transition: var(--transition);
}

.kg-filter-input:focus,
.kg-filter-select:focus {
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.kg-filter-actions {
  display: flex;
  gap: 0.5rem;
  height: 2.75rem;
}

@media (max-width: 960px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .gallery-sticky {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gallery-main {
    max-height: 380px;
    margin: 0 auto;
  }
  .gallery-thumbs {
    justify-content: center;
  }
  .kg-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kg-filter-actions {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .kg-filter-grid {
    grid-template-columns: 1fr;
  }
  .kg-filter-actions {
    grid-column: span 1;
  }
  .gallery-main {
    max-height: 290px;
    padding: 1rem;
    margin: 0 auto;
  }
  .gallery-thumbs {
    justify-content: center !important;
  }
}

/* ==========================================================
   GLOBAL 4-COLUMN SNEAKER GRID & KICK GAME CARD SYSTEM
   ========================================================== */
.kg-store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.kg-sneaker-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.kg-sneaker-card:hover {
  transform: translateY(-4px);
  border-color: #cccccc;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.kg-sneaker-media {
  background: #f7f7f9;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.kg-sneaker-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.1));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.kg-sneaker-card:hover .kg-sneaker-media img {
  transform: scale(1.08) rotate(-2deg);
}

.kg-card-badge-top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: #000000;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  z-index: 2;
  line-height: 1.2;
}

.kg-card-badge-dept {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  z-index: 2;
  line-height: 1.2;
}

.kg-badge-kids {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.kg-badge-ps {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.kg-badge-infant {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.kg-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kg-card-brand {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777777;
  margin-bottom: 0.25rem;
}

.kg-card-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kg-card-name a {
  color: #000000;
  text-decoration: none;
}

.kg-card-name a:hover {
  text-decoration: underline;
}

.kg-card-size-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #555555;
  margin-bottom: 1rem;
}

.kg-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #f0f0f0;
}

.kg-card-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.02em;
}

.kg-btn-view {
  background: #000000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.15rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.kg-btn-view:hover {
  background: #333333;
  color: #ffffff;
}

.kg-empty-box {
  text-align: center;
  padding: 5rem 1.5rem;
  background: #f8f8fa;
  border-radius: 8px;
  border: 1px solid #ebebeb;
}

.kg-empty-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 1024px) {
  .kg-store-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .kg-store-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .kg-store-grid > :only-child {
    grid-column: 1 / -1;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
  .kg-sneaker-media {
    padding: 0.75rem;
  }
  .kg-card-content {
    padding: 0.65rem 0.75rem 0.75rem;
  }
  .kg-card-brand {
    font-size: 0.66rem;
    margin-bottom: 0.15rem;
  }
  .kg-card-name {
    font-size: 0.86rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }
  .kg-card-size-tag {
    font-size: 0.72rem;
    margin-bottom: 0.4rem;
  }
  .kg-card-sku-tag {
    display: none;
  }
  .kg-card-bottom {
    padding-top: 0.4rem;
  }
  .kg-card-price {
    font-size: 1.15rem;
    font-weight: 900;
  }
  .kg-btn-view {
    display: none;
  }
}

@media (max-width: 360px) {
  .kg-store-grid {
    grid-template-columns: 1fr;
  }
}
