/* Color-Graded Glass Theme with Perfect Horizontal Scroll */
.glass-table-section {
  padding: 60px 5%;
  background: linear-gradient(135deg, #fafafa 0%, #f1f1f1 100%);
  position: relative;
  overflow: hidden;
}

.glass-table-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(
    to bottom,
    rgba(237, 50, 55, 0.1) 0%,
    rgba(237, 50, 55, 0.03) 70%,
    transparent 100%
  );
  z-index: 0;
}

/* Color Grading Palette */
:root {
  --primary: #ed3237; /* Base red */
  --primary-light: #ff5a5f; /* 10% lighter */
  --primary-lighter: #ff7a7f; /* 20% lighter */
  --primary-dark: #d61a1f; /* 10% darker */
  --primary-darker: #bf0005; /* 20% darker */
  --glass-white: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.25);
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-dark);
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-title span {
  color: var(--primary);
  position: relative;
}

.section-title span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
}

/* Enhanced Glass Container */
.glass-table-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 15px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 4px 12px rgba(237, 50, 55, 0.08), 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--glass-border);
}

/* Custom Scrollbar */
.glass-table-container::-webkit-scrollbar {
  height: 6px;
}

.glass-table-container::-webkit-scrollbar-track {
  background: rgba(237, 50, 55, 0.08);
  border-radius: 0 0 10px 10px;
}

.glass-table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  border-radius: 10px;
}

/* Table Structure */
.glass-table-scroll-wrapper {
  display: block;
  width: max-content;
  min-width: 100%;
}

.glass-product-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--glass-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  table-layout: auto;
}

/* Graded Header Colors */
.glass-product-table th {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--primary-light) 100%
  );
  color: white;
  font-weight: 600;
  padding: 16px 24px;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 10;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  min-width: 120px;
  border-bottom: 1px solid var(--primary-darker);
}

/* Cell Styling with Color Grades */
.glass-product-table td {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(237, 50, 55, 0.08);
  color: var(--text-medium);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.6);
  min-width: 120px;
}

.glass-product-table tr:last-child td {
  border-bottom: none;
}

.glass-product-table tr:hover td {
  background: rgba(237, 50, 55, 0.06);
  transform: translateX(3px);
  box-shadow: 2px 0 8px rgba(237, 50, 55, 0.1);
}

/* Enhanced Checkmark */
.product-available {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(237, 50, 55, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* Graded Search Box */
.search-box {
  position: relative;
  min-width: 250px;
  max-width: 350px;
}

.glass-input {
  width: 100%;
  padding: 12px 20px 12px 40px;
  border: none;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(237, 50, 55, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(237, 50, 55, 0.15);
  color: var(--text-dark);
}

.glass-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(237, 50, 55, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  border-color: rgba(237, 50, 55, 0.3);
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--primary);
  opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .glass-product-table {
    min-width: 800px;
  }
}

@media (max-width: 768px) {
  .glass-product-table th,
  .glass-product-table td {
    padding: 12px 18px;
  }

  .product-available {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .glass-table-section {
    padding: 40px 3%;
  }

  .glass-product-table {
    min-width: 700px;
  }

  .glass-product-table th,
  .glass-product-table td {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}
.red-check {
  color: red;
  font-size: 18px;
  font-weight: bold;
}
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loaded .preloader {
  display: none;
}

.preloader-logo {
  width: 200px;
  height: auto;
}