/* Estilos base con mejores contrastes */
html,
body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  background: #000000;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #ffffff;
  color: #000000;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

.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;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
a:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Animación SVG */
svg.main-animation {
  width: 100%;
  height: 100vh;
}

/* Breadcrumbs */
.breadcrumb {
  background: #000000;
  padding: 1rem 0;
  border-bottom: 1px solid #333333;
}

.breadcrumb-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.breadcrumb-list li {
  color: #e0e0e0;
  font-size: 0.875rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: ">";
  margin-left: 0.5rem;
  color: #888888;
}

.breadcrumb-list a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
  color: #cccccc;
  text-decoration: underline;
}

/* Catálogo con colores optimizados para contraste */
.catalog-container {
  background: #121212;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  font-weight: 400; /* Peso normal para el catálogo */
  color: #ffffff;
  opacity: 0;
  transform: translateY(50px);
}

/* Header */
.catalog-header {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #333333;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.catalog-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.catalog-subtitle {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: #e0e0e0; /* Mejorado contraste */
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn,
.cart-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; /* Touch target size */
  min-height: 44px;
}

.icon-btn:hover,
.cart-btn:hover,
.icon-btn:focus,
.cart-btn:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #000000;
}

.mobile-only {
  display: none;
}

/* Slider de productos destacados */
.featured-slider {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  padding: 2rem 0;
  border-bottom: 1px solid #333333;
}

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.featured-swiper {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid #333333;
}

.swiper-slide {
  position: relative;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: brightness(0.9);
}

.slide-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  color: #ffffff;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.slide-info h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.slide-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
}

.slide-btn {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #000000;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.slide-btn:hover,
.slide-btn:focus {
  background: #e0e0e0;
  border-color: #e0e0e0;
  transform: scale(1.1);
}

.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
  width: 12px !important;
  height: 12px !important;
}

.swiper-pagination-bullet-active {
  background: #ffffff !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  width: 44px !important;
  height: 44px !important;
  margin-top: -22px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
}

/* Controles y filtros */
.controls-section {
  background: #1a1a1a;
  padding: 2rem 0;
  border-bottom: 1px solid #333333;
}

.controls-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Formulario de filtros */
.filters-form {
  display: contents;
}

.search-container {
  margin-bottom: 2rem;
}

.search-input-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #cccccc;
  pointer-events: none;
  z-index: 2;
}

#search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 3rem;
  border: 2px solid #444444;
  border-radius: 8px;
  font-size: 1rem;
  background: #000000;
  color: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-height: 44px;
}

#search-input:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

#search-input::placeholder {
  color: #cccccc; /* Mejorado contraste */
}

/* Botón de limpiar búsqueda */
.clear-search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #cccccc;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  z-index: 2;
}

.clear-search-btn:hover,
.clear-search-btn:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 150px;
}

.filter-label {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.875rem;
}

.filter-select {
  padding: 0.75rem;
  border: 2px solid #444444;
  border-radius: 8px;
  font-size: 0.875rem;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
}

.filter-select:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.filter-select option {
  background: #000000;
  color: #ffffff;
}

/* Filtro de precio con range sliders */
.price-range-container {
  position: relative;
  height: 40px;
  margin: 0.5rem 0;
}

.price-slider {
  position: absolute;
  width: 100%;
  height: 6px;
  background: #333333;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #000000;
}

.price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #000000;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.price-inputs input {
  width: 80px;
  padding: 0.5rem;
  border: 2px solid #444444;
  border-radius: 4px;
  background: #000000;
  color: #ffffff;
  font-size: 0.875rem;
}

.price-inputs span {
  color: #cccccc;
}

/* Botones de formulario */
.form-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.clear-filters-btn,
.apply-filters-btn {
  background: #333333;
  color: #ffffff;
  border: 2px solid #555555;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  height: fit-content;
  min-height: 44px;
}

.apply-filters-btn {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.clear-filters-btn:hover,
.clear-filters-btn:focus {
  background: #444444;
  border-color: #666666;
  transform: translateY(-1px);
}

.apply-filters-btn:hover,
.apply-filters-btn:focus {
  background: #e0e0e0;
  border-color: #e0e0e0;
  transform: translateY(-1px);
}

.view-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-info {
  color: #e0e0e0; /* Mejorado contraste */
  font-size: 0.875rem;
}

/* Vista toggle con radio buttons */
.view-toggle {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
}

.view-toggle legend {
  display: none;
}

.view-toggle input[type="radio"] {
  display: none;
}

.view-btn {
  background: #000000;
  border: 2px solid #444444;
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.view-btn:hover {
  border-color: #ffffff;
}

.view-toggle input[type="radio"]:checked + .view-btn {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

/* Estados de carga con progress HTML5 */
.loading-state {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  color: #e0e0e0;
}

.loading-progress {
  width: 200px;
  height: 6px;
  margin: 0 auto 1rem;
  border-radius: 3px;
  background: #333333;
  border: none;
  overflow: hidden;
}

.loading-progress::-webkit-progress-bar {
  background: #333333;
  border-radius: 3px;
}

.loading-progress::-webkit-progress-value {
  background: linear-gradient(90deg, #ffffff, #cccccc);
  border-radius: 3px;
  animation: progress-animation 2s infinite;
}

.loading-progress::-moz-progress-bar {
  background: linear-gradient(90deg, #ffffff, #cccccc);
  border-radius: 3px;
  animation: progress-animation 2s infinite;
}

@keyframes progress-animation {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Sección de productos */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #121212;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.products-grid.list-view {
  grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
}

.products-grid.list-view .product-image-container {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
}

.products-grid.list-view .product-info {
  flex: 1;
}

/* Tarjetas de producto */
.product-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  border: 1px solid #333333;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  border-color: #555555;
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: brightness(0.9);
}

.product-card:hover .product-image {
  transform: scale(1.05);
  filter: brightness(1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge.sale {
  background: #ffffff;
  color: #000000;
}

.product-badge.new {
  background: #ffffff;
  color: #000000;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  color: #cccccc; /* Mejorado contraste */
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.product-description {
  color: #e0e0e0; /* Mejorado contraste */
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.original-price {
  font-size: 1rem;
  color: #cccccc; /* Mejorado contraste */
  text-decoration: line-through;
}

.discount {
  background: #ffffff;
  color: #000000;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.stars {
  display: flex;
  gap: 0.125rem;
}

.star {
  color: #ffffff;
  font-size: 1rem;
}

.star.empty {
  color: #666666;
}

.rating-text {
  color: #e0e0e0; /* Mejorado contraste */
  font-size: 0.875rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
  min-height: 44px;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #e0e0e0;
  border-color: #e0e0e0;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #666666;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #333333;
  border-color: #888888;
}

/* Estado vacío */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #e0e0e0;
  display: none;
}

.empty-state svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.empty-state p {
  margin: 0 0 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Modal del carrito usando dialog HTML5 */
.cart-dialog {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  padding: 0;
  margin: auto;
  color: #ffffff;
}

.cart-dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 900;
}

.modal-close {
  background: none;
  border: 2px solid #666666;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover,
.modal-close:focus {
  background: #333333;
  border-color: #888888;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #000000;
  border: 1px solid #333333;
  border-radius: 8px;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

.cart-item-price {
  color: #ffffff;
  font-weight: 600;
  margin: 0;
}

.cart-item-remove {
  background: #333333;
  color: #ffffff;
  border: 2px solid #555555;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover,
.cart-item-remove:focus {
  background: #444444;
  border-color: #777777;
}

.cart-empty {
  text-align: center;
  padding: 2rem;
  color: #e0e0e0;
}

.cart-empty svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-empty h3 {
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.cart-empty p {
  margin: 0;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #333333;
  background: #000000;
}

.cart-total-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.cart-total-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.cart-disclaimer {
  font-size: 0.875rem;
  color: #e0e0e0;
  margin: 0;
  text-align: center;
}

/* Notificaciones */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  z-index: 1100;
  max-width: 400px;
  border-left: 4px solid #ffffff;
}

.notification-success {
  border-left-color: #ffffff;
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.notification-message {
  color: #ffffff;
  font-weight: 500;
}

.notification-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  color: #cccccc;
  transition: all 0.3s ease;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover,
.notification-close:focus {
  background: #333333;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-only {
    display: flex;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .catalog-title {
    font-size: 1.5rem;
  }

  .featured-swiper {
    height: 300px;
  }

  .slide-details {
    padding: 1rem;
  }

  .slide-info h3 {
    font-size: 1.25rem;
  }

  .slide-price {
    font-size: 1rem;
  }

  .filters-container {
    flex-direction: column;
  }

  .filter-group {
    min-width: 100%;
  }

  .view-controls {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .products-grid.list-view .product-card {
    flex-direction: column;
    text-align: center;
  }

  .products-grid.list-view .product-image-container {
    width: 100%;
    height: 200px;
  }

  .product-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cart-dialog {
    border-radius: 0;
    height: 100vh;
    max-height: none;
    max-width: none;
    width: 100%;
  }

  .notification {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }

  /* Improved touch targets for mobile */
  .btn {
    min-height: 48px;
    font-size: 1rem;
  }

  .filter-select,
  #search-input {
    min-height: 48px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .catalog-title {
    font-size: 1.25rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    margin: 0;
  }

  .controls-container {
    padding: 0 0.5rem;
  }

  .products-section {
    padding: 1rem 0.5rem;
  }

  .slide-details {
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .slide-btn {
    align-self: flex-end;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .catalog-container {
    background: #000000;
  }

  .product-card {
    border: 2px solid #ffffff;
  }

  .btn-secondary {
    border-color: #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .loading-progress {
    animation: none;
  }
}

/* Print styles */
@media print {
  .catalog-header,
  .featured-slider,
  .controls-section,
  .cart-dialog,
  .notification {
    display: none !important;
  }

  .product-card {
    break-inside: avoid;
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}