/* Premium External Product Page - Enterprise Design System */
/* Inspired by Stripe, Linear, Vercel, and Dropbox */

:root {
  /* Premium Color System */
  --primary-gradient-start: #6B46C1;
  --primary-gradient-end: #2563EB;
  --secondary-gradient-start: #EC4899;
  --secondary-gradient-end: #8B5CF6;
  
  /* Neutral Palette */
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F5;
  --gray-200: #E4E4E7;
  --gray-300: #D4D4D8;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --gray-700: #3F3F46;
  --gray-800: #27272A;
  --gray-900: #18181B;
  
  /* Semantic Colors */
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --error-color: #EF4444;
  --info-color: #3B82F6;
  
  /* Typography Scale */
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', sans-serif;
  
  /* Spacing System (8px grid) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 40px -5px rgba(107, 70, 193, 0.3);
  
  /* Animation Timing */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
  box-sizing: border-box;
}

.external-product-page {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Mesh gradient background */
.external-product-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: 
    radial-gradient(circle at 20% 50%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
  background: white;
  border-bottom: 1px solid var(--gray-200);
  z-index: 1;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: var(--space-sm);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107, 70, 193, 0); }
  50% { box-shadow: 0 0 20px 5px rgba(107, 70, 193, 0.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: all 0.2s var(--ease-in-out);
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gradient-start);
}

.trust-badge-icon {
  width: 20px;
  height: 20px;
  color: var(--success-color);
}

.hero-price-preview {
  display: inline-flex;
  flex-direction: column;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  border-radius: 16px;
  color: white;
  box-shadow: var(--shadow-xl);
}

.hero-price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.hero-price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.hero-price-currency {
  font-size: 1.5rem;
  opacity: 0.8;
}

/* ========================================
   PRODUCT GALLERY
   ======================================== */
.product-gallery-premium {
  position: relative;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.gallery-main-image {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: var(--gray-100);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s var(--ease-in-out);
}

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

.gallery-badge-overlay {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--secondary-gradient-start), var(--secondary-gradient-end));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  z-index: 10;
}

.gallery-thumbnails-premium {
  display: flex;
  gap: var(--space-xs);
  padding: var(--space-sm);
  background: var(--gray-50);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}

.gallery-thumbnail {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s var(--ease-in-out);
  position: relative;
}

.gallery-thumbnail:hover {
  transform: scale(1.05);
  border-color: var(--primary-gradient-start);
}

.gallery-thumbnail.active {
  border-color: var(--primary-gradient-end);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   CONFIGURATOR CARD
   ======================================== */
.configurator-card {
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-2xl);
  padding: var(--space-xl);
  position: sticky;
  top: var(--space-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.configurator-header {
  margin-bottom: var(--space-lg);
}

.configurator-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.configurator-subtitle {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Price Display Card */
.price-display-card {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  padding: var(--space-lg);
  border-radius: 16px;
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.price-display-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.price-main {
  position: relative;
  z-index: 1;
  text-align: center;
}

.price-label-premium {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.price-value-premium {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.price-breakdown-premium {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: var(--space-sm);
  font-size: 0.875rem;
}

.price-breakdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.price-breakdown-label {
  opacity: 0.8;
  font-size: 0.75rem;
}

.price-breakdown-value {
  font-weight: 600;
}

/* Configuration Sections */
.config-section-premium {
  margin-bottom: var(--space-lg);
}

.config-label-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.config-help-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 50%;
  color: var(--gray-500);
  cursor: help;
  transition: all 0.2s var(--ease-in-out);
}

.config-help-icon:hover {
  background: var(--primary-gradient-start);
  color: white;
  transform: scale(1.1);
}

/* Option Cards Grid */
.option-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-sm);
}

.option-card-premium {
  position: relative;
  padding: var(--space-sm);
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease-in-out);
  text-align: center;
}

.option-card-premium:hover {
  border-color: var(--primary-gradient-start);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-card-premium.selected {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.option-card-premium input[type="radio"],
.option-card-premium input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.option-card-subtitle {
  font-size: 0.75rem;
  opacity: 0.7;
}

.option-card-premium.selected .option-card-subtitle {
  opacity: 0.9;
}

/* Quantity Selector Premium */
.quantity-selector-premium {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.quantity-input-group-premium {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border-radius: 12px;
  padding: 0.25rem;
}

.quantity-btn-premium {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  border-radius: 8px;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s var(--ease-in-out);
}

.quantity-btn-premium:hover {
  background: var(--primary-gradient-start);
  color: white;
  transform: scale(1.1);
}

.quantity-input-premium {
  flex: 1;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--gray-900);
  padding: 0.5rem;
}

.quantity-input-premium:focus {
  outline: none;
}

.quantity-presets-premium {
  display: flex;
  gap: var(--space-xs);
}

.quantity-preset-btn {
  flex: 1;
  padding: 0.5rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s var(--ease-in-out);
}

.quantity-preset-btn:hover {
  background: var(--gray-50);
  border-color: var(--primary-gradient-start);
  color: var(--primary-gradient-start);
}

/* Pricing Table Premium */
.pricing-table-premium {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: var(--space-sm);
}

.pricing-table-premium thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  padding: 0.5rem;
  text-align: left;
}

.pricing-table-premium tbody tr {
  background: white;
  border-radius: 8px;
  transition: all 0.2s var(--ease-in-out);
}

.pricing-table-premium tbody tr:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.pricing-table-premium tbody td {
  padding: 1rem;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.pricing-table-premium tbody td:first-child {
  border-left: 1px solid var(--gray-100);
  border-radius: 8px 0 0 8px;
}

.pricing-table-premium tbody td:last-child {
  border-right: 1px solid var(--gray-100);
  border-radius: 0 8px 8px 0;
}

.select-price-btn {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-in-out);
}

.select-price-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Delivery Timeline Premium */
.delivery-timeline-premium {
  background: var(--gray-50);
  border-radius: 16px;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.timeline-header-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.timeline-title-premium {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.timeline-date-premium {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--success-color);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.timeline-steps-premium {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.timeline-steps-premium::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-300);
  z-index: 0;
}

.timeline-step-premium {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.timeline-step-icon-premium {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  color: var(--gray-500);
  transition: all 0.3s var(--ease-in-out);
}

.timeline-step-premium.active .timeline-step-icon-premium {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-glow);
  animation: pulse 2s infinite;
}

.timeline-step-premium.completed .timeline-step-icon-premium {
  background: var(--success-color);
  border-color: transparent;
  color: white;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.timeline-step-label-premium {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
}

.timeline-step-date-premium {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
}

/* Add to Cart Section */
.add-to-cart-section-premium {
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--gray-50), white);
  border-radius: 16px;
  margin-top: var(--space-lg);
}

.add-to-cart-wrapper-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.final-price-premium {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.final-price-label-premium {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.final-price-amount-premium {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.btn-add-to-cart-premium {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-in-out);
  box-shadow: var(--shadow-lg);
}

.btn-add-to-cart-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  background: linear-gradient(135deg, var(--secondary-gradient-start), var(--secondary-gradient-end));
}

.btn-add-to-cart-premium:active {
  transform: translateY(0);
}

/* Product Features Grid */
.product-features-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.feature-card-premium {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease-in-out);
}

.feature-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-icon-premium {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  border-radius: 12px;
}

.feature-content-premium h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.feature-content-premium p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Loading States */
.skeleton-loader {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loading-spinner-premium {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary-gradient-start);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success Animation */
.success-checkmark {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 0 auto;
}

.success-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--success-color);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

/* Tooltips */
.tooltip-premium {
  position: relative;
}

.tooltip-content-premium {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: var(--gray-900);
  color: white;
  font-size: 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-in-out);
  z-index: 1000;
}

.tooltip-premium:hover .tooltip-content-premium {
  opacity: 1;
}

.tooltip-content-premium::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--gray-900);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .configurator-card {
    position: relative;
    top: 0;
  }
  
  .product-features-premium {
    grid-template-columns: 1fr;
  }
  
  .timeline-steps-premium {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .timeline-steps-premium::before {
    top: 0;
    left: 24px;
    right: auto;
    width: 2px;
    height: 100%;
  }
  
  .timeline-step-premium {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .trust-indicators {
    flex-direction: column;
  }
  
  .trust-badge {
    width: 100%;
  }
  
  .option-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .add-to-cart-wrapper-premium {
    flex-direction: column;
  }
  
  .btn-add-to-cart-premium {
    width: 100%;
    justify-content: center;
  }
}

/* Print Styles */
@media print {
  .external-product-page::before {
    display: none;
  }
  
  .configurator-card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
  
  .btn-add-to-cart-premium,
  .quantity-btn-premium {
    display: none;
  }
}

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

/* Focus Styles */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-gradient-start);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}