/* === Products List Page Specific Styles === */

/* Content Layout (Sidebar + Grid) */
.product-list-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.products-banner {
    min-height: 400px;
    display: flex;
    align-items: center;
}

.banner-content {
    text-align: start;
}
.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 1.5rem 0;
}
.products-banner p {
    color: white;
    margin: 0;
}

/* Category Advantages Section */
.cat-adv-section {
    background-image: url(https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1600);
    padding: 50px 0;
}

.cat-adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.cat-adv-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: var(--radius-md);
    display: flex;
    box-shadow: 0 0 5px rgba(255, 255, 255, 255.1);
    gap: 20px;
    transition: var(--transition-base);
    text-align: start;
    align-items: center;
}

.cat-adv-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

.cat-adv-card i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cat-adv-info h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.cat-adv-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

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

/* Application Scenarios Section - Premium Grid Layout */
.application-scenarios {
  padding: 50px 0;
  background: #fdfdfd;
  position: relative;
  overflow: hidden;
}
.scenarios-carousel-container {
  position: relative;
  margin-top: 60px;
  padding: 0 50px;
}

.scenarios-viewport {
  overflow: hidden;
  padding: 10px;
}
.scenarios-grid {
  display: flex;
  gap: 2%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.scenario-card {
    flex: 0 0 32%;
  padding: 0 15px;
  box-sizing: border-box;
  background: var(--white);
  padding: 50px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
  z-index: 1;
  user-select: none;
}

.scenario-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-color);
  z-index: -1;
  transition: all 0.5s ease;
  opacity: 0.05;
}

.scenario-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.1);
  border-color: var(--primary-color);
}

.scenario-card:hover::before {
  height: 100%;
}

.scenario-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.scenario-icon {
  width: 70px;
  height: 70px;
  background: #f8faff;
  color: var(--primary-color);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.5s ease;
  box-shadow: inset 0 0 15px rgba(var(--primary-rgb), 0.05);
}

.scenario-card:hover .scenario-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1) rotate(10deg);
}

.scenario-card-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(var(--primary-rgb), 0.05);
  line-height: 1;
  transition: all 0.5s ease;
}

.scenario-card:hover .scenario-card-num {
  color: rgba(var(--primary-rgb), 0.15);
}

.scenario-info h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.scenario-info p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}
/* Carousel Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #e8eaf0;
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-nav-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Carousel Pagination Dots */
.carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d5e8;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--primary-color);
}

.carousel-dot:hover {
  background: var(--primary-color);
  opacity: 0.7;
}
/* Why Choose Us - Left Aligned Layout */
.cat-adv-section {
  padding: 50px 0;
  background-image: linear-gradient(rgba(0, 31, 63, 0.92), rgba(0, 31, 63, 0.92)),
    url(background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?w=1600'););
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}

.cat-adv-section .section-title {
  text-align: left;
  margin-bottom: 40px;
}

.cat-adv-section .section-title h2 {
  color: var(--white);
}

/* Base theme has centered bars, override for left alignment */
.cat-adv-section .section-title h2::after {
  left: 0;
  transform: none;
}

.cat-adv-section .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.adv-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.adv-visual {
  position: sticky;
  top: 160px;
}

.adv-visual-box {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 550px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 5px solid rgba(255, 255, 255, 0.1);
}

.adv-visual-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.adv-visual-box:hover img {
  transform: scale(1.05);
}

.adv-visual-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: var(--primary-color);
  padding: 25px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.4);
  z-index: 2;
}

.adv-visual-badge span {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 5px;
}

.adv-visual-badge strong {
  font-size: 1.8rem;
  display: block;
  font-weight: 800;
}

.adv-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.adv-item {
  display: flex;
  gap: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  align-items: flex-start;
}

.adv-item:hover {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: var(--primary-color);
  transform: translateX(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.adv-item-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.adv-item:hover .adv-item-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1) rotate(10deg);
}

.adv-item-info h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.adv-item-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}


/* Responsive */
@media (max-width: 1199px) {
    .product-list-container {
        grid-template-columns: 260px 1fr;
        gap: 0;
    }

    .list-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-split-container {
    gap: 50px;
  }
}

@media (max-width: 991px) {
    .products-banner {
        min-height: auto;
    }

    .product-list-container {
        grid-template-columns: 1fr;
    }

    .sidebar-wrapper {
        position: static;
        margin-bottom: 50px;
    }

    .list-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .adv-split-container {
    grid-template-columns: 1fr;
  }

  .adv-visual {
    position: static;
    margin-bottom: 50px;
  }
}
@media (max-width: 768px) {
    .sidebar-column{
        order: 2;
    }
  .scenario-card {
    flex: 0 0 100%;
  }
    .banner-content h1 {
        font-size: 1.5rem;
    }
  .scenarios-carousel-container {
    padding: 0 40px;
  }

  .carousel-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  .scenarios-viewport {
  padding: 10px 0;
}
.scenarios-grid {
gap: 0;
}
}

@media (max-width: 575px) {
    .list-product-grid {
        grid-template-columns: 1fr;
    }
}