/* ===================================
   DETAIL PARTS LIST REDESIGN
   Matching Build Summary Style
   =================================== */

/* Detail List Section */
#detail-list {
  min-height: 100vh;
  padding-bottom: 80px !important;
  position: relative;
  z-index: 0;
}

#detail-list::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/image 242.png') center center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

#detail-list::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

#detail-list > * {
  position: relative;
  z-index: 2;
}

/* Mobile Container - Match Build Overview */
@media (max-width: 480px) {
  #detail-list {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
}

/* Back Button - Use global styles, don't override */
/* Removed custom back button styles to use the same as other pages */

/* Page Title - Match Build Summary height */
#detail-list h1 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 20px 0 !important;
  padding: 70px 20px 0 20px !important;
  text-align: left !important;
  text-transform: none !important;
}

@media (max-width: 480px) {
  #detail-list h1 {
    padding: 70px 0 0 0 !important;
  }
}

/* Detail List Container */
.detail-list-container {
  padding: 0 20px;
}

@media (max-width: 480px) {
  .detail-list-container {
    padding: 0;
  }
}

/* Detail Category - Card Style matching Build Summary */
.detail-category {
  margin-bottom: 16px !important;
  background: rgba(30, 30, 30, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  transition: background 0.3s ease !important;
}

.detail-category:hover {
  background: rgba(40, 40, 40, 0.9) !important;
}

/* Category Title with Icon - Match Build Summary */
.detail-category h2 {
  display: flex !important;
  align-items: center !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 12px 0 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* Category Icon - Match Build Summary style */
.detail-category .category-icon {
  width: 40px !important;
  height: 40px !important;
  background: #fff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 14px !important;
  flex-shrink: 0 !important;
}

.detail-category .category-icon img {
  width: 24px !important;
  height: 24px !important;
  filter: invert(1) brightness(0) !important;
}

/* Detail Items Container */
.detail-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Individual Part Item */
.detail-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 12px !important;
  background: rgba(0,0,0,0.2) !important;
  border-radius: 6px !important;
  transition: background 0.2s ease !important;
  border-bottom: none !important;
}

.detail-item:hover {
  background: rgba(0,0,0,0.4) !important;
  transform: none !important;
}

/* Part Name */
.detail-name {
  flex: 1 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #fff !important;
  padding-right: 12px !important;
  text-align: left !important;
}

/* Part Price */
.detail-price {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  white-space: nowrap !important;
}

/* Bottom Navigation Buttons */
#detail-list .bottom-nav-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 12px;
  padding: 20px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 50;
}

#detail-list .nav-button {
  flex: 1;
  padding: 14px 20px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#detail-list .nav-button:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

/* Category-specific icon styles - Keep white circles for now */
/* Icons can be added later if needed */

/* Responsive Design */
@media (max-width: 768px) {
  #detail-list h1 {
    font-size: 16px;
    padding-top: 50px;
  }
  
  .detail-category h2 {
    font-size: 14px;
  }
  
  .detail-name,
  .detail-price {
    font-size: 13px;
  }
  
  #detail-list .bottom-nav-buttons {
    padding: 16px;
    gap: 10px;
  }
  
  #detail-list .nav-button {
    padding: 12px 16px;
    font-size: 13px;
  }
}
