/* ============================================================
   THREE KINGS BOXING CIC – Global Stylesheet
   Premium Black & White Boxing Aesthetic
   ============================================================ */

/* ----------------------------------------------------------
   Imports
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0a0a0a;
  --bg-2:         #111111;
  --bg-3:         #181818;
  --bg-card:      #141414;
  --text:         #ffffff;
  --text-muted:   #999999;
  --text-dim:     #555555;
  --border:       rgba(255,255,255,0.10);
  --border-mid:   rgba(255,255,255,0.18);
  --border-hover: rgba(255,255,255,0.35);
  --accent:       #ffffff;
  --danger:       #e53935;
  --success:      #43a047;

  --radius-sm:    3px;
  --radius:       6px;
  --radius-lg:    12px;

  --transition:   0.25s ease;
  --transition-slow: 0.45s cubic-bezier(.22,.61,.36,1);

  --max-w:        1280px;
  --header-h:     72px;

  --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'Courier New', monospace;

  --shadow-card:  0 4px 24px rgba(0,0,0,0.55);
  --shadow-lift:  0 12px 40px rgba(0,0,0,0.70);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 80px; }
.section-sm { padding-block: 48px; }

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.section-title span { color: var(--text-muted); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s;
  white-space: nowrap;
  user-select: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.btn-primary:hover {
  background: transparent;
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding-inline: 12px;
}
.btn-ghost:hover { color: #ffffff; }

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.15rem;
}

.btn-full { width: 100%; }

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.25);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------
   Header / Navigation
   ---------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), height var(--transition);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.scrolled {
  background: rgba(10,10,10,0.97);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  color: #ffffff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.cart-icon-btn:hover { background: rgba(255,255,255,0.08); }

.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: #ffffff;
  color: #000000;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ----------------------------------------------------------
   Cart Panel
   ---------------------------------------------------------- */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.show { opacity: 1; pointer-events: all; }

.cart-panel {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100dvh;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.cart-panel.open { transform: translateX(0); }

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

.cart-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 6px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.cart-close-btn:hover { color: #fff; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
}

.cart-empty p { font-size: 0.95rem; }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}

.cart-item-details { display: flex; flex-direction: column; gap: 4px; }

.cart-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.qty-btn:hover { background: var(--bg-card); border-color: var(--border-hover); }

.cart-item-qty span {
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  flex-shrink: 0;
}
.cart-item-remove:hover { color: var(--danger); }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.cart-total-label { color: var(--text-muted); }

.cart-total-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.cart-checkout-btn { width: 100%; }

/* ----------------------------------------------------------
   Hero Section
   ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.025) 0%, transparent 60%),
    linear-gradient(160deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--text-muted);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 100px;
  height: 100px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: rotateBadge 20s linear infinite;
}

@keyframes rotateBadge {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------------------------
   Brand Bar
   ---------------------------------------------------------- */

.brand-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg-2);
  overflow: hidden;
}

.brand-bar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.brand-bar-inner span { flex-shrink: 0; }
.brand-bar-dot { color: var(--border-mid); }

/* ----------------------------------------------------------
   Features / Cards
   ---------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-2);
  padding: 40px 32px;
  transition: background var(--transition);
}

.feature-card:hover { background: var(--bg-3); }

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ----------------------------------------------------------
   Product Cards
   ---------------------------------------------------------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-3);
  display: block;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: var(--bg-3);
  aspect-ratio: 1;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text);
  display: block;
  transition: color var(--transition);
}
.product-card-name:hover { color: rgba(255,255,255,0.7); }

.product-card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-card) 50%, var(--bg-3) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -400% 0; } }

.product-card-skeleton .product-card-img { background: var(--bg-3); }
.skeleton-img { aspect-ratio: 1; }
.skeleton-line { height: 14px; margin-bottom: 8px; }
.skeleton-line.short { width: 60%; }
.skeleton-line.price { height: 20px; width: 40%; }

/* ----------------------------------------------------------
   Filter Bar (Products page)
   ---------------------------------------------------------- */

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--border-hover); color: #fff; }

.filter-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ----------------------------------------------------------
   How It Works
   ---------------------------------------------------------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 32px;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--border);
  line-height: 1;
  letter-spacing: 0.02em;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ----------------------------------------------------------
   Testimonials
   ---------------------------------------------------------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition);
}

.testimonial:hover { border-color: var(--border-mid); }

.testimonial-stars { color: var(--text-muted); font-size: 1rem; letter-spacing: 2px; }

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   CTA Banner
   ---------------------------------------------------------- */

.cta-banner {
  background: #ffffff;
  color: #000000;
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(0,0,0,0.6);
  margin-bottom: 40px;
  max-width: 480px;
  margin-inline: auto;
}

.cta-banner .btn-primary {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}
.cta-banner .btn-primary:hover {
  background: transparent;
  color: #000000;
  border-color: #000000;
}

.cta-banner .btn-outline {
  border-color: rgba(0,0,0,0.3);
  color: #000000;
}
.cta-banner .btn-outline:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-main { font-size: 1.3rem; margin-bottom: 4px; }
.footer-brand .logo-sub { font-size: 0.6rem; }

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}

.footer-contact {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: #fff; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--text-muted); }

/* ----------------------------------------------------------
   Product Detail Page
   ---------------------------------------------------------- */

.product-detail {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--text-dim); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-detail-images { position: sticky; top: calc(var(--header-h) + 24px); }

.product-main-img {
  aspect-ratio: 1;
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  aspect-ratio: 1;
}

.product-thumbs {
  display: flex;
  gap: 12px;
}

.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.product-thumb:hover,
.product-thumb.active { border-color: #fff; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info { display: flex; flex-direction: column; gap: 24px; }

.product-detail-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-detail-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.product-detail-divider {
  height: 1px;
  background: var(--border);
}

.product-detail-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-qty-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 60px;
}

.product-qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-qty-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-3);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  transition: background var(--transition);
}
.product-qty-btn:hover { background: var(--bg-card); }

.product-qty-num {
  width: 48px;
  height: 40px;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-detail-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-perk svg { flex-shrink: 0; color: var(--text-dim); }

/* ----------------------------------------------------------
   Related Products
   ---------------------------------------------------------- */

.related-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* ----------------------------------------------------------
   About Page
   ---------------------------------------------------------- */

.page-hero {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.04) 0%, transparent 60%);
}

.page-hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 800px;
  margin-inline: auto;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 24px auto 0;
  line-height: 1.7;
}

.about-body {
  max-width: 740px;
  margin-inline: auto;
}

.about-body p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 64px 0;
}

.stat {
  background: var(--bg-2);
  padding: 40px 32px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   Contact Page
   ---------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-block h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-block p,
.contact-block a {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  transition: color var(--transition);
}
.contact-block a:hover { color: #fff; }

/* Form */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: var(--bg-card);
}

.form-control::placeholder { color: var(--text-dim); }

textarea.form-control { resize: vertical; min-height: 140px; }

/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */

.faq-list { display: flex; flex-direction: column; max-width: 800px; margin-inline: auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: rgba(255,255,255,0.75); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform var(--transition), border-color var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--border-mid); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding var(--transition);
}

.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-bottom: 24px;
}

/* ----------------------------------------------------------
   Success / Cancel
   ---------------------------------------------------------- */

.result-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.result-card {
  max-width: 520px;
  width: 100%;
}

.result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 2rem;
}

.result-icon.success { background: rgba(67,160,71,0.15); border: 1px solid rgba(67,160,71,0.3); }
.result-icon.cancel  { background: rgba(229,57,53,0.12); border: 1px solid rgba(229,57,53,0.25); }

.result-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.result-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.result-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------
   Legal pages
   ---------------------------------------------------------- */

.legal-content {
  max-width: 760px;
  margin-inline: auto;
  padding-bottom: 80px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 40px 0 16px;
  color: #fff;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin: 28px 0 10px;
}

.legal-content p,
.legal-content li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----------------------------------------------------------
   Notification toast
   ---------------------------------------------------------- */

.tkb-notification {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #ffffff;
  color: #000000;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), opacity 0.35s;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.tkb-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tkb-notification--error {
  background: var(--danger);
  color: #fff;
}

/* ----------------------------------------------------------
   Animations
   ---------------------------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.55s ease forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------
   Page padding (below fixed header)
   ---------------------------------------------------------- */

.page-top { padding-top: calc(var(--header-h) + 60px); }

/* ----------------------------------------------------------
   Error state
   ---------------------------------------------------------- */

.error-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.error-state h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.error-state p { font-size: 0.9rem; margin-bottom: 24px; }

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.empty-state p { margin-bottom: 24px; }

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .product-detail-grid { gap: 40px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    display: none;
    z-index: 850;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 14px 24px;
    font-size: 0.88rem;
  }

  .menu-toggle { display: flex; }

  .hero h1 { font-size: clamp(2.8rem, 10vw, 5rem); }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-images { position: static; }
  .about-stats { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { display: none; }
  .section { padding-block: 56px; }
  .cart-panel { width: 100vw; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
