/* Vendortell Pricing 2026 Module Styles */
/* Matching vendortell-pricing React design exactly */

/* CSS Variables - Vendortell Brand */
.vt-pricing {
  --vt-dark: #1C1B22;
  --vt-dark-hover: #3B364B;
  --vt-gray-600: #4D4D4D;
  --vt-gray-400: #B3B3B3;
  --vt-gray-300: #D9D9D9;
  --vt-cream: #F5F2EF;
  --vt-cream-dark: #EEEAE5;
  --vt-cream-hover: #ECE7E4;
  --vt-tan: #C4A789;
  --vt-tan-dark: #62605F;
  --vt-purple: #906AF7;
  --vt-coral: #FFB180;

  /* Gradients */
  --vt-gradient-primary: linear-gradient(316deg, #906af7 13.58%, #ffb180 94.88%);
  --vt-gradient-slider: linear-gradient(316deg, rgb(117, 114, 113) 13.58%, rgb(202, 197, 194) 94.88%);
  --vt-gradient-icon-inner: linear-gradient(to bottom right, #65646A, #1C1B22);

  /* Shadows */
  --vt-shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  --vt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --vt-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --vt-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Border Radius */
  --vt-radius-full: 9999px;
  --vt-radius-3xl: 1.5rem;
  --vt-radius-lg: 0.75rem;

  /* Typography */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--vt-dark);
  box-sizing: border-box;
}

.vt-pricing *, .vt-pricing *::before, .vt-pricing *::after {
  box-sizing: border-box;
}

/* Accessibility: Visually Hidden */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   MAIN CONTAINER - FULL WIDTH
   ======================================== */
.vt-pricing {
  width: 100%;
  background-color: var(--vt-cream);
  padding: 0.5rem 1.5rem 2rem;
  position: relative;
  z-index: 50;
}

/* Content container for consistent widths */
.vt-pricing__header,
.vt-pricing__cards,
.vt-pricing__slider-mobile,
.vt-pricing__slider-desktop {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   HEADLINE SECTION (Optional)
   ======================================== */
.vt-pricing__headline-section {
  max-width: 1200px;
  margin: 0 auto 2rem;
  text-align: center;
}

.vt-pricing__headline {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--vt-dark);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Headline Sizes */
.vt-pricing__headline--small { font-size: 1.5rem; }
.vt-pricing__headline--medium { font-size: 2rem; }
.vt-pricing__headline--large { font-size: 2.5rem; }
.vt-pricing__headline--xlarge { font-size: 3rem; }

/* Two-Tone Gradient Headline */
.vt-pricing__headline--two-tone {
  display: block;
}

.vt-pricing__headline-primary {
  color: var(--vt-dark);
}

.vt-pricing__headline-gradient {
  background: linear-gradient(90deg, var(--gradient-color-1, #906AF7), var(--gradient-color-2, #FFB180));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Responsive headline */
@media (max-width: 768px) {
  .vt-pricing__headline {
    font-size: 2rem;
  }

  .vt-pricing__headline-section {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .vt-pricing__headline {
    font-size: 1.5rem;
  }

  .vt-pricing__headline-section {
    margin-bottom: 1rem;
  }
}

/* ========================================
   HEADER & TOGGLE
   ======================================== */
.vt-pricing__header {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.vt-pricing__toggle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.vt-pricing__toggle-label {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--vt-gray-600);
}

/* Toggle - Pill with sliding gradient ball - Mobile-first */
.vt-pricing__toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  align-items: center;
  justify-content: space-between;
  width: min(12rem, calc(100vw - 3rem));
  height: 2.75rem;
  padding: 0 0.5rem;
  cursor: pointer;
  border-radius: var(--vt-radius-full);
  background-color: var(--vt-cream-dark);
  border: 1px solid rgba(196, 167, 137, 0.3);
  box-shadow: var(--vt-shadow-inner);
  transition: background-color 0.3s ease;
}

.vt-pricing__toggle:hover {
  background-color: var(--vt-cream-hover);
}

.vt-pricing__toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  z-index: 10;
}

.vt-pricing__toggle-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vt-gray-600);
  user-select: none;
  transition: color 0.2s ease;
}

.vt-pricing__toggle-btn[aria-checked="true"] .vt-pricing__toggle-text {
  color: white;
}

.vt-pricing__toggle-badge {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--vt-gray-600);
  user-select: none;
  transition: color 0.2s ease;
}

.vt-pricing__toggle-btn[aria-checked="true"] .vt-pricing__toggle-badge {
  color: white;
}

/* Toggle indicator - Gradient sliding ball */
/* Default position: RIGHT side (yearly selected) */
.vt-pricing__toggle-indicator {
  position: absolute;
  top: 3px;
  right: 3px;
  height: 2.25rem;
  width: calc(50% - 6px);
  border-radius: var(--vt-radius-full);
  background: var(--vt-gradient-primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

/* When monthly is selected, move indicator to LEFT */
.vt-pricing__toggle-btn--monthly[aria-checked="true"] ~ .vt-pricing__toggle-indicator {
  transform: translateX(calc(-100% + 6px));
}

/* Desktop toggle enhancements */
@media (min-width: 768px) {
  .vt-pricing__toggle {
    width: 12rem;
    height: 3rem;
    padding: 0 0.75rem;
    gap: 0.5rem;
  }

  .vt-pricing__toggle-indicator {
    top: 4px;
    right: 4px;
    height: 2.5rem;
    width: calc(50% - 8px);
  }

  .vt-pricing__toggle-btn--monthly[aria-checked="true"] ~ .vt-pricing__toggle-indicator {
    transform: translateX(calc(-100% + 8px));
  }

  .vt-pricing__toggle-text {
    font-size: 0.75rem;
  }

  .vt-pricing__toggle-badge {
    font-size: 0.5rem;
  }
}

/* ========================================
   SLIDER WRAPPER
   ======================================== */
.vt-pricing__slider-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: var(--vt-radius-3xl);
  background-color: var(--vt-cream-dark);
  border: 2px solid rgba(196, 167, 137, 0.2);
  box-shadow: var(--vt-shadow-lg);
}

.vt-pricing__slider-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vt-gray-600);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Slider icon - same style as card icons */
.vt-pricing__slider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--vt-radius-lg);
  background: var(--vt-gradient-primary);
  padding: 2px;
  flex-shrink: 0;
}

.vt-pricing__slider-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--vt-radius-lg);
  background: var(--vt-gradient-icon-inner);
  padding: 0.5rem;
}

.vt-pricing__slider-icon-inner svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--vt-cream-dark);
}

.vt-pricing__slider-container {
  position: relative;
  width: 100%;
  height: 20px;
  margin-bottom: 1.25rem;
}

/* ========================================
   CUSTOM SLIDER - Matching React StepSlider
   ======================================== */
.vt-pricing__slider {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  cursor: pointer;
  z-index: 20;
}

/* Track background */
.vt-pricing__slider-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: var(--vt-gray-300);
  border-radius: var(--vt-radius-full);
}

/* Filled track */
.vt-pricing__slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  background: var(--vt-gradient-slider);
  border-radius: var(--vt-radius-full) 0 0 var(--vt-radius-full);
  pointer-events: none;
  transition: width 0.15s ease;
}

/* Thumb - Dark circle */
.vt-pricing__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background-color: var(--vt-dark);
  border: none;
  border-radius: 50%;
  cursor: grab;
  box-shadow: var(--vt-shadow-xl);
  transition: transform 0.2s ease;
  position: relative;
  z-index: 50;
}

.vt-pricing__slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.vt-pricing__slider::-webkit-slider-thumb:active {
  cursor: grabbing;
}

.vt-pricing__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background-color: var(--vt-dark);
  border: none;
  border-radius: 50%;
  cursor: grab;
  box-shadow: var(--vt-shadow-xl);
}

/* Slider Marks */
.vt-pricing__slider-marks {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.vt-pricing__slider-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
}

/* Mark dots */
.vt-pricing__slider-mark::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--vt-gray-400);
  transition: all 0.3s ease;
}

.vt-pricing__slider-mark--active::before {
  background-color: var(--vt-tan-dark);
}

.vt-pricing__slider-mark:hover::before {
  transform: scale(1.1);
}

/* Mark labels */
.vt-pricing__slider-mark-label {
  position: absolute;
  top: 100%;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: gray;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.vt-pricing__slider-mark--active .vt-pricing__slider-mark-label {
  color: black;
}

/* ========================================
   INPUT FIELD - CTA Button Style
   ======================================== */
.vt-pricing__input-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(155, 123, 247, 0.08) 0%, rgba(255, 177, 128, 0.08) 100%);
  border-radius: var(--vt-radius-lg);
  border: 1px dashed rgba(155, 123, 247, 0.3);
}

.vt-pricing__input-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vt-dark);
  text-align: center;
}

.vt-pricing__input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--vt-white);
  padding: 1rem 1.5rem;
  border-radius: var(--vt-radius-lg);
  border: 2px solid var(--vt-purple);
  box-shadow: 0 4px 12px rgba(155, 123, 247, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  cursor: text;
  position: relative;
}

.vt-pricing__input-wrapper::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--vt-radius-lg) + 4px);
  background: linear-gradient(135deg, var(--vt-purple), var(--vt-coral));
  opacity: 0.15;
  z-index: -1;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.02); }
}

.vt-pricing__input-wrapper:hover {
  border-color: var(--vt-purple);
  box-shadow: 0 6px 20px rgba(155, 123, 247, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.vt-pricing__input-wrapper:hover::before {
  opacity: 0.3;
}

.vt-pricing__input-wrapper:focus-within {
  border-color: var(--vt-purple);
  box-shadow: 0 6px 24px rgba(155, 123, 247, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.vt-pricing__input-wrapper:focus-within::before {
  opacity: 0.35;
  animation: none;
}

.vt-pricing__input-wrapper:focus-within .vt-pricing__input,
.vt-pricing__input-wrapper:focus-within .vt-pricing__input-suffix {
  color: var(--vt-dark);
}

.vt-pricing__input-icon {
  width: 22px;
  height: 22px;
  color: var(--vt-purple);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.vt-pricing__input-wrapper:hover .vt-pricing__input-icon,
.vt-pricing__input-wrapper:focus-within .vt-pricing__input-icon {
  color: var(--vt-purple-dark);
  transform: scale(1.1);
}

.vt-pricing__input {
  width: 120px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vt-dark);
  text-align: center;
  outline: none;
}

.vt-pricing__input::placeholder {
  color: var(--vt-purple);
  font-weight: 600;
  font-size: 1rem;
}

.vt-pricing__input-suffix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vt-gray-500);
}

.vt-pricing__input::-webkit-outer-spin-button,
.vt-pricing__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.vt-pricing__input[type=number] {
  -moz-appearance: textfield;
}

.vt-pricing__input-suffix {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--vt-dark);
}

/* Mobile/Desktop Slider Visibility */
.vt-pricing__slider-mobile {
  display: block;
  margin: 2.5rem auto;
}

.vt-pricing__slider-desktop {
  display: none;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

/* Desktop slider wrapper matches card grid */
.vt-pricing__slider-desktop .vt-pricing__slider-wrapper {
  width: 100%;
  box-sizing: border-box;
}

/* ========================================
   PRICING CARDS
   ======================================== */
.vt-pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Individual Card */
.vt-pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  font-size: 0.875rem;
  border-radius: var(--vt-radius-3xl);
  background-color: var(--vt-cream-dark);
  border: 2px solid rgba(196, 167, 137, 0.2);
  box-shadow: var(--vt-shadow-lg);
  min-height: 580px;
}

/* Featured Card */
.vt-pricing__card--featured {
  border-color: rgba(196, 167, 137, 0.5);
  box-shadow: var(--vt-shadow-2xl);
}

/* ========================================
   CARD ICON - Gradient border with dark inner
   ======================================== */
.vt-pricing__card-header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
}

.vt-pricing__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--vt-radius-lg);
  background: var(--vt-gradient-primary);
  padding: 2px;
}

.vt-pricing__card-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--vt-radius-lg);
  background: var(--vt-gradient-icon-inner);
  padding: 0.5rem;
}

.vt-pricing__card-icon-inner svg {
  width: 2rem;
  height: 2rem;
  color: var(--vt-cream-dark);
}

/* Card Title */
.vt-pricing__card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vt-dark);
  margin: 0;
}

/* ========================================
   CARD PRICE
   ======================================== */
.vt-pricing__card-price {
  margin: 1rem 0;
  min-height: 3rem;
}

.vt-pricing__price-value {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--vt-dark);
}

.vt-pricing__price-currency {
  font-size: inherit;
  font-weight: inherit;
}

.vt-pricing__price-amount {
  font-size: inherit;
  font-weight: inherit;
}

.vt-pricing__price-period {
  font-size: 1.125rem;
  font-weight: 400;
}

/* Call for pricing */
.vt-pricing__call-pricing {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--vt-dark);
}

.vt-pricing__call-pricing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(196, 167, 137, 0.8);
}

.vt-pricing__call-pricing-icon svg {
  width: 1rem;
  height: 1rem;
  color: white;
}

.vt-pricing__call-pricing-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.vt-pricing__phone-link {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--vt-gray-600);
  text-decoration: none;
  display: block;
}

.vt-pricing__phone-link:hover {
  text-decoration: underline;
}

/* Enterprise info section */
.vt-pricing__enterprise-info {
  margin: 1rem 0;
}

.vt-pricing__expected-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(196, 167, 137, 0.3);
}

.vt-pricing__expected-label {
  font-size: 0.75rem;
  color: var(--vt-gray-600);
}

.vt-pricing__expected-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vt-dark);
}

/* ========================================
   FEATURES LIST
   ======================================== */
.vt-pricing__features {
  flex: 1;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vt-pricing__feature {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 1.125rem;
  color: var(--vt-gray-600);
}

.vt-pricing__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.vt-pricing__feature-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--vt-tan);
}

/* ========================================
   CTA BUTTON - Border style with hover fill
   ======================================== */
.vt-pricing__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-top: auto;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border-radius: var(--vt-radius-3xl);
  cursor: pointer;
  transition: all 0.3s ease;

  /* Default: outlined style */
  background: transparent;
  color: var(--vt-dark);
  border: 1px solid var(--vt-dark);
}

.vt-pricing__cta:hover {
  background-color: var(--vt-dark);
  color: white;
}

/* ========================================
   RESPONSIVE - SMALL MOBILE (max 480px)
   ======================================== */
@media (max-width: 480px) {
  .vt-pricing {
    padding: 0.25rem 1rem 1.5rem;
  }

  /* Toggle - slightly smaller */
  .vt-pricing__toggle {
    width: 11rem;
    height: 2.75rem;
  }

  .vt-pricing__toggle-indicator {
    width: 5.5rem;
    height: 2.25rem;
  }

  .vt-pricing__toggle-label {
    font-size: 1rem;
  }

  /* Slider wrapper */
  .vt-pricing__slider-wrapper {
    padding: 1rem;
  }

  .vt-pricing__slider-label {
    font-size: 0.875rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .vt-pricing__slider-label span {
    width: 100%;
    margin-top: 0.5rem;
  }

  /* Slider icon smaller on mobile */
  .vt-pricing__slider-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .vt-pricing__slider-icon-inner {
    width: 2.25rem;
    height: 2.25rem;
  }

  .vt-pricing__slider-icon-inner svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  /* Slider marks - smaller labels */
  .vt-pricing__slider-mark-label {
    font-size: 0.75rem;
  }

  .vt-pricing__slider-container {
    margin-bottom: 1.5rem;
  }

  /* Input section */
  .vt-pricing__input-section {
    width: 100%;
  }

  .vt-pricing__input-wrapper {
    width: 100%;
    max-width: 200px;
  }

  /* Cards */
  .vt-pricing__cards {
    gap: 1.5rem;
  }

  .vt-pricing__card {
    padding: 1.25rem;
    min-height: auto;
  }

  .vt-pricing__card-header {
    margin-bottom: 1rem;
  }

  .vt-pricing__card-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .vt-pricing__card-icon-inner {
    width: 2.25rem;
    height: 2.25rem;
  }

  .vt-pricing__card-icon-inner svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .vt-pricing__card-title {
    font-size: 1.125rem;
  }

  /* Price */
  .vt-pricing__price-value {
    font-size: 1.5rem;
  }

  .vt-pricing__price-period {
    font-size: 1rem;
  }

  /* Features */
  .vt-pricing__feature {
    font-size: 0.9375rem;
  }

  /* CTA Button - ensure touch target */
  .vt-pricing__cta {
    padding: 0.875rem 1rem;
    min-height: 44px;
  }

  /* Call for pricing */
  .vt-pricing__call-pricing {
    font-size: 1rem;
    flex-wrap: wrap;
  }
}

/* ========================================
   RESPONSIVE - MOBILE (max 640px)
   ======================================== */
@media (max-width: 640px) {
  .vt-pricing__slider-mobile {
    margin: 1.5rem 0;
  }

  /* Ensure slider marks don't overlap */
  .vt-pricing__slider-mark::before {
    width: 16px;
    height: 16px;
  }

  .vt-pricing__slider-container {
    height: 16px;
  }

  .vt-pricing__slider-track,
  .vt-pricing__slider-fill {
    height: 16px;
  }

  .vt-pricing__slider {
    height: 16px;
  }

  .vt-pricing__slider::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
  }

  .vt-pricing__slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   RESPONSIVE - TABLET (768px)
   ======================================== */
@media (min-width: 768px) {
  .vt-pricing {
    padding: 0.5rem 2rem 3rem;
  }

  .vt-pricing__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .vt-pricing__card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .vt-pricing__card {
    min-height: 520px;
  }

  .vt-pricing__slider-wrapper {
    padding: 1.5rem 2rem;
    border: 2px solid rgba(196, 167, 137, 0.2);
  }

  .vt-pricing__slider-label {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .vt-pricing__slider-label span {
    width: auto;
    margin-top: 0;
  }
}

/* ========================================
   RESPONSIVE - DESKTOP (1024px)
   ======================================== */
@media (min-width: 1024px) {
  .vt-pricing {
    padding: 0.5rem 2rem 3rem;
  }

  .vt-pricing__slider-mobile {
    display: none;
  }

  .vt-pricing__slider-desktop {
    display: block;
  }

  /* Ensure cards and slider use same gap */
  .vt-pricing__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .vt-pricing__slider-desktop .vt-pricing__slider-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 2.5rem;
    border: 2px solid rgba(196, 167, 137, 0.2);
    border-radius: var(--vt-radius-3xl);
    background-color: var(--vt-cream-dark);
  }

  .vt-pricing__slider-desktop .vt-pricing__slider-label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: black;
    justify-content: center;
  }

  .vt-pricing__slider-desktop .vt-pricing__slider-container {
    width: 100%;
    margin-bottom: 2rem;
  }

  .vt-pricing__slider-desktop .vt-pricing__input-section {
    align-self: center;
  }

  .vt-pricing__card {
    min-height: 580px;
  }

  .vt-pricing__card:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  /* Restore full slider size */
  .vt-pricing__slider-container {
    height: 20px;
  }

  .vt-pricing__slider-track,
  .vt-pricing__slider-fill {
    height: 20px;
  }

  .vt-pricing__slider {
    height: 20px;
  }

  .vt-pricing__slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }

  .vt-pricing__slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }

  .vt-pricing__slider-mark::before {
    width: 20px;
    height: 20px;
  }

  .vt-pricing__slider-mark-label {
    font-size: 0.875rem;
  }
}

/* ========================================
   RESPONSIVE - LARGE DESKTOP (1280px)
   ======================================== */
@media (min-width: 1280px) {
  .vt-pricing {
    padding: 0.75rem 3rem 4rem;
  }

  .vt-pricing__cards {
    gap: 2.5rem;
  }

  .vt-pricing__slider-desktop .vt-pricing__slider-wrapper {
    padding: 2rem 3rem;
  }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATION
   ======================================== */
@media (pointer: coarse) {
  .vt-pricing__slider::-webkit-slider-thumb {
    width: 32px;
    height: 32px;
  }

  .vt-pricing__slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
  }

  .vt-pricing__slider-mark::before {
    width: 24px;
    height: 24px;
  }
}

/* iOS Input Zoom Prevention */
@supports (-webkit-touch-callout: none) {
  .vt-pricing__input {
    font-size: 16px;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .vt-pricing__toggle,
  .vt-pricing__slider-mobile,
  .vt-pricing__slider-desktop,
  .vt-pricing__cta {
    display: none !important;
  }

  .vt-pricing__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .vt-pricing__card {
    flex: 1;
    min-width: 200px;
    min-height: auto;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .vt-pricing__toggle-indicator,
  .vt-pricing__card,
  .vt-pricing__cta,
  .vt-pricing__slider::-webkit-slider-thumb,
  .vt-pricing__slider-mark::before {
    transition: none;
  }
}
