/* ========================================
   KROP & KERNE V2 STYLES
   ======================================== */

/* CSS Variables */
:root {
  --terracotta-50: #fdf8f6;
  --terracotta-100: #f8ebe5;
  --terracotta-200: #f2d6c9;
  --terracotta-300: #e8b9a3;
  --terracotta-400: #da9475;
  --terracotta-500: #c97a5a;
  --terracotta-600: #c4704a;
  --terracotta-700: #a35a3b;
  --terracotta-800: #864a33;
  --terracotta-900: #6e3f2d;
  --cream-50: #fefdfb;
  --cream-100: #fcf9f4;
  --cream-200: #f8f0e5;
  --cream-300: #f2e4d4;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

/* Global Styles */
.v2-container *, .v2-container *::before, .v2-container *::after {
  box-sizing: border-box;
}

.v2-container {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--cream-50);
  color: var(--gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Page layout */
.v2-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream-50);
}

.v2-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

.v2-main.detail {
  max-width: 900px;
  padding: 2rem 1.5rem 3rem;
}

/* Breadcrumb */
.v2-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.v2-breadcrumb-link {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.v2-breadcrumb-link:hover {
  color: var(--terracotta-600);
}

.v2-breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  color: var(--gray-400);
}

.v2-breadcrumb-current {
  color: var(--gray-900);
  font-weight: 600;
}

/* Header */
.v2-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--terracotta-50) 80%, rgba(255,255,255,0.8) 20%);
  border-bottom: 1px solid color-mix(in srgb, var(--terracotta-100) 60%, rgba(148,163,184,0.3) 40%);
}

.v2-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.v2-header-inner.detail {
  max-width: 900px;
  justify-content: space-between;
}

.v2-logo {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.1rem;
  color: var(--gray-900);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.v2-logo span {
  font-weight: 400;
  color: var(--terracotta-700);
}

/* Desktop Navigation */
.v2-nav-desktop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.v2-nav-item {
  display: inline-block;
}

.v2-nav-item .nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  display: inline-block;
}

.v2-nav-item .nav-link:hover {
  color: var(--terracotta-600);
  background: var(--terracotta-50);
}

.v2-nav-item .nav-link.active {
  color: var(--terracotta-700);
  background: var(--terracotta-100);
  font-weight: 600;
}

/* Header Right Side */
.v2-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.v2-btn-link {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.v2-btn-link:hover {
  color: var(--terracotta-600);
}

.v2-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--terracotta-200), var(--terracotta-600));
  cursor: pointer;
  transition: transform 0.2s ease;
}

.v2-avatar:hover {
  transform: scale(1.1);
}

/* Mobile Menu Toggle */
.v2-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}

.v2-hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  position: relative;
  transition: background 0.3s ease;
}

.v2-hamburger::before,
.v2-hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: transform 0.3s ease;
}

.v2-hamburger::before {
  top: -7px;
}

.v2-hamburger::after {
  bottom: -7px;
}

/* Mobile Menu */
.v2-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream-50);
  z-index: 19;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.v2-mobile-menu.open {
  transform: translateX(0);
}

.v2-mobile-nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.v2-mobile-nav-item {
  display: block;
}

.v2-mobile-nav-item .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.v2-mobile-nav-item .nav-link:hover,
.v2-mobile-nav-item .nav-link.active {
  color: var(--terracotta-700);
  background: var(--terracotta-50);
}

.v2-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.v2-mobile-actions .v2-btn-primary,
.v2-mobile-actions .v2-btn-link {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
}

.v2-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.v2-back-link:hover {
  color: var(--terracotta-600);
}

.v2-back-link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Hero */
.v2-hero {
  margin: 1.5rem 0 2rem;
  padding: 1.5rem 1.25rem;
  border-radius: 24px;
  background: radial-gradient(circle at top right, var(--cream-200), var(--terracotta-100));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 18px 40px rgba(148, 81, 62, 0.12);
}

.v2-hero-eyebrow {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 0;
}

.v2-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 1.8rem;
  color: var(--gray-900);
  margin: 0;
  max-width: 100%;
}

.v2-hero-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  width: 100%;
  line-height: 1.5;
  margin: 0;
}

.v2-hero-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.v2-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: var(--terracotta-600);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.v2-btn-primary:hover {
  background: var(--terracotta-700);
}

.v2-hero-meta {
  font-size: 0.85rem;
  color: var(--gray-700);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.v2-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.v2-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--terracotta-600);
}

.v2-hero-progress {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.v2-progress-bar {
  flex: 1;
  max-width: 180px;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.v2-progress-fill {
  height: 100%;
  background: var(--terracotta-600);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.v2-progress-text {
  font-size: 0.75rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* Hero Carousel */
.v2-hero-carousel {
  margin: 1.5rem 0 2rem;
  position: relative;
}

.v2-hero-slides {
  position: relative;
  overflow: hidden;
}

.v2-hero-slide {
  padding: 1.5rem 1.25rem;
  border-radius: 24px;
  background: radial-gradient(circle at top right, var(--cream-200), var(--terracotta-100));
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  box-shadow: 0 18px 40px rgba(148, 81, 62, 0.12);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.v2-hero-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}

.v2-hero-content > * {
  width: 100%;
}

.v2-hero-slide.active {
  display: flex;
  opacity: 1;
}

.v2-hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.25rem;
}

.v2-hero-dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  opacity: 0.5;
}

.v2-hero-dot-btn:hover {
  opacity: 0.8;
  transform: scale(1.2);
}

.v2-hero-dot-btn.active {
  background: var(--terracotta-600);
  opacity: 1;
  transform: scale(1.1);
}

/* Filters */
.v2-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.v2-filter-pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.v2-filter-pill:hover {
  background: var(--terracotta-50);
  border-color: var(--terracotta-200);
  color: var(--terracotta-700);
}

.v2-filter-pill.active {
  background: var(--terracotta-600);
  border-color: var(--terracotta-600);
  color: #fff;
}

.v2-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.v2-section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--gray-900);
  margin: 0 0 0.25rem;
}

.v2-section-subtitle {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
  width: 100%;
}

.v2-badge-count {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--terracotta-100);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--terracotta-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Series Card */
.v2-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.v2-workout-card {
  position: relative;
  border-radius: 6.66px;
  overflow: hidden;
  background: var(--gray-200);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  isolation: isolate;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.v2-workout-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.v2-workout-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(103, 79, 52, 0.214), transparent 55%),
    linear-gradient(to bottom, rgba(250, 238, 232, 0.036), rgba(0, 0, 0, 0.15));
  z-index: -1;
}

.v2-workout-category-pill {
  position: absolute;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  max-width: calc(100% - 2rem);
}

.v2-workout-category-pill-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--gray-900);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-workout-category-pill-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  color: var(--gray-600);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-workout-info {
  padding: 0.9rem 0.9rem 1rem;
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.v2-workout-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  color: #f9fafb;
  margin-bottom: 0.3rem;
}

.v2-workout-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v2-pill-small {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.v2-pill-small span {
  font-size: 0.55rem;
  font-weight: 600;
}

.v2-pill-small.completed {
  border: 1.5px solid var(--terracotta-600);
  background: rgba(196, 112, 74, 0.25);
  gap: 0.15rem;
}

.v2-pill-small.completed svg {
  width: 0.5rem;
  height: 0.5rem;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

/* Series Detail Specific */
.v2-series-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.v2-series-thumbnail {
  flex-shrink: 0;
  width: 140px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.v2-series-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-series-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.v2-series-eyebrow {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin: 0;
}

.v2-series-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--gray-900);
  margin: 0;
}

.v2-series-description {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0.25rem 0 0;
}

.v2-series-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.v2-series-meta {
  font-size: 0.75rem;
  color: var(--gray-600);
  display: flex;
  gap: 0.75rem;
}

.v2-series-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.v2-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--terracotta-600);
}

.v2-series-progress {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v2-series-progress .v2-progress-bar {
  max-width: 140px;
}

/* View Toggle */
.v2-view-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.v2-view-toggle-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.v2-toggle-btn {
  position: relative;
  display: inline-block;
  width: 48px;
  min-width: 48px;
  height: 26px;
  min-height: 26px;
  border-radius: 13px;
  background-color: #d1d5db;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  overflow: visible;
}

.v2-toggle-btn:hover {
  background-color: #9ca3af;
}

.v2-toggle-btn.active {
  background-color: #c4704e;
}

.v2-toggle-btn.active:hover {
  background-color: #a85d3e;
}

.v2-toggle-knob {
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.v2-toggle-btn.active .v2-toggle-knob {
  transform: translateX(22px);
}

/* Grid with thumbnails - constrained card sizes */
.v2-workout-grid.with-thumbnails {
  grid-template-columns: repeat(auto-fill, minmax(160px, 180px));
  gap: 1rem;
}

.v2-workout-grid.with-thumbnails .v2-workout-card {
  max-width: 180px;
}

/* Week sections */
.v2-week-section {
  margin-bottom: 2rem;
}

.v2-week-header {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.v2-workout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* Workout Card Item */
.v2-workout-card-item {
  position: relative;
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 120px;
}

.v2-workout-card-item:hover {
  border-color: var(--terracotta-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.v2-workout-card-item.completed {
  border-color: var(--terracotta-600);
  background: var(--terracotta-50);
}

.v2-workout-card-item.current {
  border-color: var(--terracotta-600);
  border-width: 3px;
  animation: v2-pulse 2s infinite;
}

@keyframes v2-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 112, 74, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(196, 112, 74, 0); }
}

.v2-workout-card-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gray-900);
  margin: 0 0 0.6rem;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.v2-workout-card-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.v2-workout-pill {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.v2-workout-card-item.completed .v2-workout-pill {
  background: var(--terracotta-100);
  color: var(--terracotta-700);
}

.v2-completion-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--terracotta-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.v2-completion-badge svg {
  width: 0.7rem;
  height: 0.7rem;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

/* Responsive */
@media (max-width: 768px) {
  .v2-main { padding-inline: 1rem; }
  .v2-header-inner { padding-inline: 1rem; }
  .v2-hero { padding: 1.25rem 1rem; }
  .v2-section-header { flex-direction: column; align-items: flex-start; }

  /* Show mobile menu toggle */
  .v2-mobile-toggle {
    display: block;
  }

  /* Hide desktop navigation */
  .v2-nav-desktop {
    display: none;
  }

  /* Show mobile menu */
  .v2-mobile-menu {
    display: block;
  }

  /* Hide desktop header right items on mobile */
  .v2-header-right {
    display: none;
  }
}

@media (max-width: 600px) {
  .v2-series-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .v2-series-thumbnail {
    width: 120px;
    height: 160px;
  }

  .v2-series-info { align-items: center; }
  .v2-series-actions { justify-content: center; }
  .v2-series-progress { justify-content: center; }

  .v2-workout-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .v2-workout-card-item {
    padding: 0.75rem;
    min-height: 110px;
  }

  .v2-workout-card-title {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }

  .v2-workout-pill {
    font-size: 0.55rem;
    padding: 0.15rem 0.4rem;
  }
}

/* ========================================
   CAROUSEL STYLES
   ======================================== */

.v2-carousel-container {
  margin-bottom: 2rem;
}

.v2-carousel-wrapper {
  position: relative;
  padding: 0 30px;
}

.v2-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.v2-carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.v2-carousel-track .v2-workout-card {
  flex: 0 0 220px;
  min-width: 220px;
  max-width: 220px;
}

/* Carousel Arrow Buttons */
.v2-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.v2-carousel-arrow:hover {
  background: var(--terracotta-50);
  border-color: var(--terracotta-300);
  box-shadow: 0 8px 24px rgba(196, 112, 74, 0.15);
}

.v2-carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.v2-carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.v2-carousel-arrow:disabled:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-medium);
}

.v2-carousel-arrow.left {
  left: 0;
}

.v2-carousel-arrow.right {
  right: 0;
}

.v2-carousel-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-700);
  stroke-width: 2;
  fill: none;
}

.v2-carousel-arrow:hover svg {
  stroke: var(--terracotta-600);
}

/* Carousel Dots */
.v2-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.v2-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v2-carousel-dot:hover {
  background: var(--terracotta-300);
}

.v2-carousel-dot.active {
  background: var(--terracotta-600);
  width: 24px;
  border-radius: 4px;
}

/* Carousel Responsive */
@media (max-width: 768px) {
  .v2-carousel-wrapper {
    padding: 0;
  }

  /* Enable touch scrolling on mobile */
  .v2-carousel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .v2-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .v2-carousel-track {
    transition: none;
    padding: 0 1rem;
  }

  .v2-carousel-track > * {
    scroll-snap-align: start;
  }

  /* Hide arrows on mobile - touch is primary */
  .v2-carousel-arrow {
    display: none;
  }

  /* Hide dots on mobile */
  .v2-carousel-dots {
    display: none;
  }

  .v2-carousel-track .v2-workout-card {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  .v2-carousel-track {
    padding: 0 0.75rem;
  }

  .v2-carousel-track .v2-workout-card {
    flex: 0 0 180px;
    min-width: 180px;
    max-width: 180px;
  }
}