/** Shopify CDN: Minification failed

Line 208:0 Unexpected "}"

**/
/* Compare Button Styling */
.product-compare-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  font-size: 13px;
}

.product-card:hover .product-compare-btn,
.product-compare-btn.in-comparison {
  opacity: 1;
}

.product-compare-btn.in-comparison {
  background: #000;
  color: #fff;
  border-color: #000;
}

.product-compare-btn.in-comparison .compare-check {
  display: block !important;
}

@media (max-width: 768px) {
  .product-compare-btn {
    opacity: 1;
  }
}

/* Sticky Compare Bar - CRITICAL: z-index 50 to stay below cart */
#compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 15px 20px;
  z-index: 50 !important;
  display: none;
}

.compare-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 50 !important;
}

.compare-products {
  display: flex;
  gap: 10px;
  flex: 1;
}

.compare-item {
  position: relative;
  width: 60px;
  height: 60px;
}

.compare-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid #ddd;
}

.compare-item .remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.compare-all-btn,
.clear-all-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.compare-all-btn {
  background: #000;
  color: #fff;
}

.compare-all-btn:hover {
  background: #333;
}

.clear-all-btn {
  background: #f5f5f5;
  color: #000;
}

.clear-all-btn:hover {
  background: #e0e0e0;
}

/* Compare Modal - z-index 150 to stay below cart */
#compare-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150 !important;
  display: none;
}

.compare-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 150 !important;
}

.compare-modal-content {
  position: relative;
  background: #fff;
  margin: 20px auto;
  max-width: 95%;
  max-height: 90vh;
  border-radius: 8px;
  overflow: hidden;
  z-index: 151 !important;
  display: flex;
  flex-direction: column;
}

.compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.compare-modal-header h2 {
  margin: 0;
  font-size: 24px;
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.close-modal-btn:hover {
  color: #000;
}

.compare-table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  padding: 20px;
  flex: 1;
  max-height: calc(90vh - 80px);
}
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.compare-table th.spec-label,
.compare-table td.spec-label {
  background: #f9f9f9;
  font-weight: 600;
  position: sticky;
  left: 0;
  z-index: 5;
  min-width: 150px;
}

.compare-table th.product-column {
  text-align: center;
  min-width: 200px;
}

.compare-table th.product-column img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.compare-table th.product-column h3 {
  font-size: 16px;
  margin: 10px 0;
}

.compare-table th.product-column .price {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.view-product-btn,
.remove-from-compare {
  display: inline-block;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  border: none;
}

.view-product-btn {
  background: #000;
  color: #fff;
}

.view-product-btn:hover {
  background: #333;
}

.remove-from-compare {
  background: #f5f5f5;
  color: #000;
}

.remove-from-compare:hover {
  background: #e0e0e0;
}

@media (max-width: 768px) {
  .compare-bar-content {
    flex-wrap: wrap;
  }
  
  .compare-products {
    width: 100%;
  }
  
  .compare-modal-content {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
  
  .compare-table th.product-column {
    min-width: 150px;
  }
}
/* Category header styling */
.category-header-row {
  background: #f5f5f5;
}

.category-header {
  background: #ff0000 !important;
  color: #fff !important;
  font-weight: bold !important;
  font-size: 16px !important;
  padding: 12px 15px !important;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-header-row td {
  border-top: 2px solid #ff0000;
  border-bottom: 2px solid #ff0000;
}
/* 2-column category styling */
.category-cell {
  background: #f5f5f5 !important;
  color: #333 !important;
  font-weight: bold !important;
  font-size: 14px !important;
  padding: 15px !important;
  text-align: center !important;
  vertical-align: middle !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-right: 1px solid #ddd;
}

.compare-table th.spec-label:first-child,
.compare-table td.spec-label:first-child {
  min-width: 120px;
}

.compare-table th.spec-label:nth-child(2),
.compare-table td.spec-label:nth-child(2) {
  min-width: 180px;
}
/* Better category separation and styling */
.category-cell {
  background: #e8e8e8 !important;
  color: #333 !important;
  font-weight: bold !important;
  font-size: 13px !important;
  padding: 20px 12px !important;
  text-align: center !important;
  vertical-align: middle !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 2px solid #fff;
  border-top: 3px solid #ccc;
  border-bottom: 3px solid #ccc;
}

/* Add spacing between category groups */
.category-cell[rowspan] {
  position: relative;
}

/* Alternate row colors for better readability */
.compare-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.compare-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Spec label column styling */
.compare-table .spec-label {
  background-color: #f5f5f5;
  font-weight: 600;
  padding: 12px 15px;
}

/* Product value cells */
.compare-table tbody td:not(.category-cell):not(.spec-label) {
  padding: 12px 15px;
  line-height: 1.6;
}
/* Mobile responsive fixes */
@media screen and (max-width: 768px) {
  .compare-modal-content {
    max-width: 95%;
    margin: 5px auto;
    max-height: 95vh;
  }
  
  .compare-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(95vh - 80px);
  }
  
  /* Force table to not be responsive - allow horizontal scroll */
  .compare-table {
    table-layout: auto;
    min-width: 100%;
    white-space: nowrap;
  }
  
  /* Category column - fixed width */
  .category-cell {
    min-width: 70px !important;
    width: 70px !important;
    font-size: 10px !important;
    padding: 8px 4px !important;
    position: sticky;
    left: 0;
    background: #e8e8e8 !important;
    z-index: 10;
  }
  
  /* Spec name column - fixed width */
  .compare-table .spec-label {
    min-width: 100px !important;
    width: 100px !important;
    font-size: 11px !important;
    padding: 8px 6px !important;
    position: sticky;
    left: 70px;
    background: #f5f5f5 !important;
    z-index: 10;
  }
  
  .compare-table thead th.spec-label:first-child {
    position: sticky;
    left: 0;
    z-index: 11;
    background: #fff !important;
    min-width: 70px !important;
    width: 70px !important;
  }
  
  .compare-table thead th.spec-label:nth-child(2) {
    position: sticky;
    left: 70px;
    z-index: 11;
    background: #fff !important;
    min-width: 100px !important;
    width: 100px !important;
  }
  
  /* Product columns - allow to scroll */
  .compare-table .product-column {
    min-width: 180px !important;
    width: 180px !important;
    padding: 10px 8px;
  }
  
  .compare-table .product-column img {
    max-width: 60px;
    height: auto;
  }
  
  .compare-table .product-column h3 {
    font-size: 12px;
    margin: 5px 0;
    white-space: normal;
  }
  
  .compare-table .product-column .price {
    font-size: 11px;
  }
  
  .compare-table .product-column .view-product-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .compare-table .product-column .remove-from-compare {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  /* Product data cells */
  .compare-table tbody td:not(.category-cell):not(.spec-label) {
    min-width: 180px !important;
    width: 180px !important;
    font-size: 11px;
    padding: 8px 6px;
    white-space: normal;
    word-wrap: break-word;
  }
  
  /* Modal header */
  .compare-modal-header h2 {
    font-size: 18px;
  }
  
  .close-modal-btn {
    font-size: 28px;
  }
}
