/* Custom Fonts */
body {
  font-family: 'Open Sans', sans-serif;
}

.hero-title {
  font-family: 'Playfair Display', serif;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* HERO SECTION */
.hero-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Button Styles */
.btn-primary {
  background-color: #2563eb; /* blue-600 */
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #1d4ed8; /* blue-700 */
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: white;
  color: #1f2937; /* gray-900 */
  transform: translateY(-1px);
}

.btn-donate {
  background-color: #ef4444; /* red-500 */
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}

.btn-donate:hover {
  background-color: #dc2626; /* red-600 */
  transform: translateY(-1px);
}

/* Section Titles */
.section-title {
  font-family: 'Playfair Display', serif;
}

/* Card Hover Effects */
.update-card {
  transition: all 0.3s ease;
}

.update-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.resource-card {
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card {
  transition: all 0.3s ease-in-out;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Modal Styles */
.modal {
  z-index: 50;
}

.modal-content {
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Modal */
@media (min-width: 768px) {
  .modal-content {
    max-width: 400px;
  }
}

/* Mobile Navigation Transitions */
#mobile-menu {
  transition: all 0.3s ease;
}

/* Focus Styles */
button:focus, 
a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

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

/* Success checkmark animation */
.checkmark {
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  stroke-width: 2;
  stroke-linecap: round;
  animation: checkmark 0.8s ease-in-out forwards;
}

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

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.calling-tip {
  transition: all 0.3s ease;
}

.step-card {
  transition: all 0.3s ease;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Know Your Rights Section Styles */
#know-your-rights {
  scroll-margin-top: 80px;
}

#know-your-rights .rights-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#know-your-rights .rights-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#know-your-rights .number-circle {
  transition: all 0.3s ease;
}

#know-your-rights li:hover .number-circle {
  transform: scale(1.1);
}

/* Print-specific styles */
@media print {
  header, footer, .btn-primary, .btn-secondary, nav, #mobile-menu, #donation-modal {
    display: none !important;
  }
  
  #know-your-rights {
    padding: 0 !important;
  }
  
  #know-your-rights .bg-white {
    box-shadow: none !important;
    border: 1px solid #e5e7eb !important;
  }
  
  #know-your-rights h2 {
    font-size: 24px !important;
  }
  
  #know-your-rights h3 {
    font-size: 20px !important;
  }
  
  #know-your-rights h4 {
    font-size: 16px !important;
  }
  
  #know-your-rights p {
    font-size: 14px !important;
  }
  
  #know-your-rights .additional-resources {
    display: none !important;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.5s ease-in-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { 
    opacity: 0;
    transform: translateX(30px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from { 
    opacity: 0;
    transform: translateX(-30px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation triggers */
#know-your-rights li:nth-child(odd) {
  opacity: 0;
  animation: slideInLeft 0.5s ease-in-out forwards;
  animation-delay: calc(0.1s * var(--animation-order, 0));
}

#know-your-rights li:nth-child(even) {
  opacity: 0;
  animation: slideInRight 0.5s ease-in-out forwards;
  animation-delay: calc(0.1s * var(--animation-order, 0));
}

/* Make interactive elements obvious */
#know-your-rights a:hover,
#know-your-rights button:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  #know-your-rights * {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* High-contrast mode support */
@media (prefers-contrast: more) {
  #know-your-rights .bg-red-500 {
    background-color: #9f1239 !important;
  }
  
  #know-your-rights .text-gray-700 {
    color: #000000 !important;
  }
  
  #know-your-rights .border-red-500 {
    border-color: #000000 !important;
    border-width: 3px !important;
  }

    /* Base icon styles */
  .icon-animated {
    color: #ef4444;
  }
  
  /* Door animation */
  .door-icon .door-body {
    transform-origin: 16px 12px;
    transition: transform 0.3s ease-in-out;
  }
  
  .group:hover .door-icon .door-body {
    transform: rotateY(-30deg);
  }
  
  .door-icon .door-handle {
    transition: transform 0.3s ease-in-out;
  }
  
  .group:hover .door-icon .door-handle {
    transform: translateX(-2px);
  }
  
  /* Exit animation */
  .exit-icon .exit-arrow {
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
  }
  
  .group:hover .exit-icon .exit-arrow {
    transform: translateX(2px);
  }
  
  /* Silent icon animation */
  .silent-icon .mic-top,
  .silent-icon .mic-off {
    transition: transform 0.3s ease-in-out;
  }
  
  .group:hover .silent-icon .mic-off {
    transform: scale(1.1);
  }
  
  /* Privacy icon animation */
  .privacy-icon .shield-body {
    transition: opacity 0.3s ease-in-out;
  }
  
  .group:hover .privacy-icon .shield-body {
    opacity: 0.5;
  }
  
  .privacy-icon .shield-outline {
    transition: transform 0.3s ease-in-out;
  }
  
  .group:hover .privacy-icon .shield-outline {
    transform: scale(1.05);
  }
  
  /* No sign animation */
  .no-sign-icon .ban-line {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    transition: stroke-dashoffset 0.3s ease-in-out;
  }
  
  .group:hover .no-sign-icon .ban-line {
    stroke-dashoffset: 0;
  }
  
  /* Attorney animation */
  .attorney-icon .attorney-head,
  .attorney-icon .attorney-body,
  .attorney-icon .attorney-base {
    transition: transform 0.3s ease-in-out;
  }
  
  .group:hover .attorney-icon .attorney-head {
    transform: translateY(-1px);
  }
  
  .group:hover .attorney-icon .attorney-body {
    transform: scale(1.05);
  }
}

  /* Warrant preview styling */
  .warrant-preview {
    transition: transform 0.3s ease;
  }
  
  /* Annotation styling */
  .annotation-point {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.6);
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
  }
  
  .annotation-point:hover {
    background-color: rgba(239, 68, 68, 0.4);
    transform: translate(-50%, -50%) scale(1.2);
  }
  
  .annotation {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07));
  }
  
  .annotation-content {
    background-color: #fff;
    border: 2px solid #ef4444;
    border-radius: 0.5rem;
    padding: 0.75rem;
    width: 200px;
    position: relative;
  }
  
  .annotation-content::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-left: 2px solid #ef4444;
    border-bottom: 2px solid #ef4444;
    transform: rotate(45deg);
    bottom: -7px;
    left: 30px;
  }
  
  /* Tab styling */
  .warrant-tab {
    position: relative;
    transition: all 0.3s ease;
  }
  
  .warrant-tab:hover {
    color: #ef4444;
  }
  
  /* Print styles */
  @media print {
    #warrant-explainer-modal {
      position: relative;
      display: block !important;
      background-color: #fff;
      z-index: 1;
    }
    
    #warrant-explainer-modal .bg-black {
      background-color: #fff !important;
    }
    
    #warrant-modal-close, #warrant-print-btn {
      display: none !important;
    }
    
    .warrant-tab[data-tab="comparison"] {
      color: #ef4444;
      border-color: #ef4444;
    }
    
    #comparison-tab {
      display: block !important;
    }
    
    #judicial-tab, #administrative-tab {
      display: none !important;
    }
  }
 /* Enhanced Hero Styles */

/* Hero container and video */
.hero-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

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

/* Enhanced overlay with gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-overlay.bg-gradient {
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.6) 0%, 
    rgba(0, 0, 0, 0.4) 50%, 
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* Hero content animation */
.hero-content {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 1s ease forwards;
  z-index: 10;
}

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

/* Pulse animation for badge */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Day counter highlight */
#heroDayNum {
  color: #93c5fd; /* text-blue-300 */
  transition: color 0.3s ease;
}

/* Enhanced button styles */
.btn-primary {
  background-color: #2563eb; /* blue-600 */
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background-color: #1d4ed8; /* blue-700 */
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 10px -1px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background-color: white;
  color: #1f2937; /* gray-900 */
  transform: translateY(-2px) scale(1.05);
}

.btn-donate {
  background-color: #ef4444; /* red-500 */
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
}

.btn-donate:hover {
  background-color: #dc2626; /* red-600 */
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 10px -1px rgba(239, 68, 68, 0.4);
}

/* Hero button sizing */
.hero-btn {
  min-width: 120px;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-btn {
    min-width: 150px;
  }
  
  /* Make donate button larger on desktop */
  #hero-donate-btn {
    min-width: 200px;
  }
}

/* Button shine effect */
.btn-animated {
  position: relative;
  overflow: hidden;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.3s ease;
}

.btn-animated:hover .btn-shine {
  left: 100%;
  transition: 0.7s ease;
}

.btn-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bounce animation for down arrow */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Project 2025 Observer Link */
.project-2025-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #f59e0b; /* amber-500 */
  color: black;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
  font-size: 0.875rem;
  border: 2px solid #f59e0b;
}

.project-2025-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.6);
  background-color: #d97706; /* amber-600 */
  border-color: #d97706;
}

.project-2025-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
}

.project-2025-link:hover::after {
  animation: shine 1s ease;
}

@keyframes shine {
  100% {
    left: 200%;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Hero section modifications */
.hero-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-bottom: -1px; /* Remove any gap between sections */
}

.hero-overlay.bg-gradient {
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.6) 0%, 
    rgba(0, 0, 0, 0.4) 70%, 
    rgba(30, 58, 138, 0.7) 100% /* Fade to blue at the bottom */
  );
}

/* OurSails section styling */
#oursails-section {
  background: linear-gradient(to bottom, 
    rgba(30, 58, 138, 1) 0%, /* Match the bottom color of hero gradient */
    rgba(25, 47, 110, 1) 100% /* Slightly darker blue at the bottom */
  );
  position: relative;
  z-index: 10;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: none; /* Remove any border */
}

/* Connector design between sections */
#oursails-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, 
    rgba(30, 58, 138, 0) 0%, 
    rgba(30, 58, 138, 1) 100%
  );
  z-index: 5;
}

/* Add subtle wave pattern at the transition */
#oursails-section::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%231e3a8a'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.8;
  z-index: 6;
}

/* Style the OurSails card to emerge from the background */
.bg-blue-900\/95 {
  background-color: rgba(30, 58, 138, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 
    0 10px 15px -3px rgba(0, 0, 0, 0.2), 
    0 4px 6px -2px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(59, 130, 246, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-blue-900\/95:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.2), 
    0 10px 10px -2px rgba(0, 0, 0, 0.1),
    0 0 25px rgba(59, 130, 246, 0.3);
}

/* Enhance "Learn More" arrow to point downward */
.hero-container .animate-bounce {
  position: relative;
  z-index: 20; /* Ensure it's above the transition */
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #oursails-section {
    padding-top: 2rem;
  }
  
  #oursails-section::before {
    top: -30px;
    height: 30px;
  }
}

/* Fourthwall Store Integration Styles */

/* Product card styling */
.product-card {
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Product badge */
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #a855f7; /* purple-500 */
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.product-badge.new {
  background-color: #3b82f6; /* blue-500 */
}

.product-badge.sale {
  background-color: #ef4444; /* red-500 */
}

/* Line clamp for product descriptions */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modal animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#product-modal {
  animation: modalFadeIn 0.3s ease-out;
}

#product-modal > div {
  animation: modalSlideIn 0.3s ease-out;
}

/* Category filter styles */
.category-filter-btn {
  transition: all 0.2s ease;
}

.category-filter-btn:hover {
  transform: translateY(-2px);
}

.category-filter-btn.active {
  position: relative;
}

.category-filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
}

/* Pagination styles */
.pagination-btn {
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading indicator */
.loading-spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-radius: 50%;
  border-top-color: #a78bfa;
  animation: spin 1s ease-in-out infinite;
}

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

/* Responsive aspect ratio for product images */
.pb-2\/3 {
  padding-bottom: 66.666%;
  position: relative;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  #category-filter {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
  }
  
  #category-filter::-webkit-scrollbar {
    height: 4px;
  }
  
  #category-filter::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }
  
  #category-filter::-webkit-scrollbar-thumb {
    background: #a78bfa;
    border-radius: 4px;
  }
  
  #category-filter button {
    flex-shrink: 0;
  }
}

/* Out of stock styling */
.out-of-stock {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.out-of-stock span {
  background-color: #ef4444;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transform: rotate(-15deg);
}

/* Accessibility improvements */
@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;
  }
}