/* Product List Page Styles */

/* Products Banner */
.products-banner {
  background: linear-gradient(
    145deg,
    var(--bg-light) 0%,
    #fff 50%,
    var(--bg-light) 100%
  );
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.products-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(80px);
}

.banner-split {
  display: flex;
  align-items: center;
  gap: 80px;
}

.banner-left {
  flex: 1;
}

.banner-right {
  flex: 1;
}

.banner-left h1 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.banner-left span {
  color: var(--primary-color);
  position: relative;
}

.banner-left p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.feature-card {
  background: white;
  padding: 15px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-card i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Sidebar Enhancements */
.sidebar-cta {
  position: relative;
  z-index: 1;
}

.sidebar-cta i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.cta-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Sticky Filter Bar (In Wrapper) */
.sticky-filters {
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  border: 1px solid #f0f0f0;
}

.filter-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 15px 20px;
  border-radius: 12px;
  transition: var(--transition);
  background: var(--bg-light);
}

.filter-label {
  font-weight: 800;
  color: var(--secondary-color);
  font-size: 0.95rem;
  min-width: fit-content;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  background: var(--bg-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

/* Main Product Layout */
.product-main-layout {
  padding-bottom: 60px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Enriched Product Card */
.product-card-enhanced {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card-enhanced:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.product-image-wrap {
  position: relative;
  height: auto;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(1.1);
}

.product-card-enhanced:hover .hover-img {
  opacity: 1;
  transform: scale(1);
}

.product-card-enhanced:hover .primary-img {
  opacity: 0;
  transform: scale(1.1);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  background: white;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.product-tag.hot {
  background: var(--primary-color);
  color: white;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card-enhanced:hover .card-overlay {
  opacity: 1;
}

.overlay-btn {
  background: white;
  color: var(--secondary-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateY(20px);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card-enhanced:hover .overlay-btn {
  transform: translateY(0);
}

.product-details {
  /*padding: 25px;*/
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.product-category {
  font-size: 0.85rem;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}

.rating {
  font-size: 0.85rem;
  color: #f1c40f;
  font-weight: 700;
}

.product-details h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.product-specs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.product-specs span {
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 600;
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-footer {
  margin-top: auto;
}

.card-footer .btn {
  width: 100%;
}

/* Refined Advantages Section */
.adv-section-premium {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.adv-grid-refined {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.adv-card-glass {
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
  padding: 30px;
  border-radius: 20px;
  transition: var(--transition);
}

.adv-card-glass:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.adv-glass-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
  color: white;
}

.adv-card-glass h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.adv-card-glass p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 25px;
}

.adv-feature-list {
  display: flex;
  gap: 20px;
  list-style: none;
}

.adv-feature-list li {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(230, 126, 34, 0.1);
  padding: 5px 12px;
  border-radius: 50px;
}

/* Service Ecosystem Section */
.prod-services-section {
  background: var(--secondary-color);
  color: white;
}

.prod-services-section .section-title h2 {
  color: white;
}
.prod-services-section .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

.service-flow {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

.service-flow::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 100px;
  right: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.flow-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-num {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 1);
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  transition: var(--transition);
}

.flow-item:hover .flow-num {
  background: var(--primary-color);
  color: white;
  border-color: white;
  box-shadow: var(--shadow-lg);
  transform: scale(1.1);
}

.flow-content h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: white;
}

.flow-content p {
  font-size: 1rem;
      text-align: left;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 1200px) {
  .banner-left h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 1024px) {
  .banner-split {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }
  .banner-left p {
    margin: 0 auto;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-main-layout {
    flex-direction: column;
  }
  .product-sidebar {
    flex: none;
    width: 100%;
    position: static;
  }
  .service-flow::before {
    display: none;
  }
  .service-flow {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .banner-left h1 {
    font-size: 2.8rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .adv-grid-refined {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .banner-split {
    flex-direction: column;
    text-align: center;
  }
  .banner-left p {
    margin: 0 auto;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-main-layout {
    flex-direction: column;
  }
  .product-sidebar {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
    .banner-left h1{
        font-size: 2rem;
        text-align: left;
    }
      .product-sidebar {
    order: 2;
  }
  .product-list-wrapper{
      display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .sticky-filters{
      order: 2;
      margin-bottom: 0;
  }
    .banner-left p{
        text-align: left;
    }
    .filter-options{
        flex-direction: column;
        align-items: center;
    }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-main-layout .container{
      flex-direction: column;
  }
  .filter-row{
      flex-direction: column;
  }
  div.breadcrumb{
      margin-bottom: 30px;
  }
  .flow-content p{
      text-align: center;
  }
  .product-details h3{
      font-size: 1rem;
  }
}
/* Sidebar Category Accordion */
.category-item {
  margin-bottom: 12px;
}
.category-item:last-child {
  margin-bottom: 0;
}
.category-header {
  position: relative;
  display: flex;
  align-items: center;
}
.category-header .category-link {
  flex: 1;
  padding-right: 45px;
  margin-bottom: 0;
}
.category-item.open .category-link {
  border-radius: 10px 10px 0 0;
}
.toggle-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.toggle-badge:hover {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}
.category-item.open .toggle-badge {
  background: var(--primary-color);
  color: white;
}
.category-sub {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  background: white;
  border-radius: 0 0 10px 10px;
  border: 1px solid #f0f0f0;
  border-top: none;
  margin-top: -5px;
  padding: 0 15px;
}
.category-item.open .category-sub {
  max-height: 400px;
  padding: 15px;
  padding-top: 20px;
}
.category-sub a {
  display: block;
  padding: 10px 5px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px dashed #f0f0f0;
  transition: var(--transition);
}
.category-sub a:last-child {
  border-bottom: none;
}
.category-sub a:hover,
.category-sub a.active {
  color: var(--primary-color);
  padding-left: 10px;
}
div.breadcrumb{
    margin: 0 auto 30px;
    max-width: 1600px;
}
