/**
 * Home Haitong Page Template - Section Styles
 *
 * Scoped styles for the page-home-haitong.php template.
 * Uses linghang CSS variable system where possible.
 *
 * @package Linghang
 * @since 2.2.0
 */

/* ============================================================
   LOCAL CSS VARIABLES
   ============================================================ */
.page-home-haitong {
  --ht-font-heading: 'Montserrat', sans-serif;
  --ht-font-body: 'Inter', sans-serif;
  --ht-radius-sm: 4px;
  --ht-radius-md: 8px;
  --ht-radius-lg: 12px;
  --ht-transition-fast: 0.2s ease;
  --ht-transition-base: 0.3s ease;
  --ht-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --ht-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --ht-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   BUTTONS (page template scoped)
   ============================================================ */
.page-home-haitong .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--ht-font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--ht-radius-md);
  cursor: pointer;
  transition: all var(--ht-transition-base);
  line-height: 1;
}

/* Primary button - uses theme secondary (dark blue) */
.page-home-haitong .btn-pm {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}
.page-home-haitong .btn-pm:hover {
  opacity: 0.9;
  color: #fff;
}

/* Accent button - uses theme primary (orange) */
.page-home-haitong .btn-accent {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.page-home-haitong .btn-accent:hover {
  opacity: 0.85;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

/* Outline white - for hero / dark backgrounds */
.page-home-haitong .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.page-home-haitong .btn-outline:hover {
  background: #fff;
  color: var(--secondary-color);
  border-color: #fff;
}

/* Button size variants */
.page-home-haitong .btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}
.page-home-haitong .btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.page-home-haitong .section-header {
  margin-bottom: 48px;
}
.page-home-haitong .section-title {
  font-family: var(--ht-font-heading);
  font-size: 36px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 16px;
  line-height: 1.3;
}
.page-home-haitong .section-subtitle {
  font-family: var(--ht-font-body);
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
.page-home-haitong .section-cta {
  margin-top: 48px;
}

/* ============================================================
   SECTION SPACING
   ============================================================ */
.page-home-haitong .section-padding {
  padding: 80px 0;
}

/* ============================================================
   BACKGROUND UTILITIES
   ============================================================ */
.page-home-haitong .bg-light {
  background-color: #f4f7f9;
}
.page-home-haitong .bg-dark {
  background-color: #1a2b3c;
  color: #fff;
}
.page-home-haitong .bg-dark .section-title {
  color: #fff;
}
.page-home-haitong .bg-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}
.page-home-haitong .bg-primary {
  background-color: var(--primary-color);
  color: #fff;
}
.page-home-haitong .bg-primary .section-title {
  color: #fff;
}
.page-home-haitong .bg-primary .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}
.page-home-haitong .bg-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}
.page-home-haitong .bg-secondary .section-title {
  color: #fff;
}
.page-home-haitong .bg-secondary .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 104px);
  min-height: calc(600px - 104px);
  overflow: hidden;
  background-color: transparent;
}

body.has-topbar .hero-slider {
  height: calc(100vh - 146px);
  min-height: calc(600px - 146px);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.hero-slide > .container {
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 780px;
  padding: 40px 0;
}

.hero-content::before {
  content: '';
  width: 70px;
  height: 5px;
  margin: 18px 0 26px;
  background: var(--primary-color);
  order: 3;
}

.hero-title {
  font-family: var(--ht-font-heading);
  order: 2;
  max-width: 780px;
  font-size: clamp(36px, 3.7vw, 54px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin: 0;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.32);
  white-space: nowrap;
}

.hero-subtitle {
  font-family: var(--ht-font-body);
  order: 1;
  margin: 0 0 12px;
  color: var(--primary-color);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.18;
}

.hero-description {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.75;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.hero-description-primary {
  order: 4;
}

.hero-description-secondary {
  order: 5;
  margin-top: 2px;
}

.hero-buttons {
  order: 6;
  display: flex;
  margin-top: 34px;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider pagination dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--ht-transition-base);
  border: none;
  padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--primary-color);
  width: 32px;
  border-radius: 6px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--ht-radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content .btn {
  margin-top: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e4e8;
}

.stat-item {
  text-align: center;
}

.stat-number,
.stat-suffix {
  font-family: var(--ht-font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: var(--ht-font-body);
  font-size: 15px;
  color: #666;
  margin-top: 8px;
}

/* ============================================================
   SOLUTIONS
   ============================================================ */

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

.solution-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eef0f4;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
  box-shadow: 0 12px 32px rgba(19, 30, 74, 0.1);
  transform: translateY(-3px);
  border-color: rgba(253, 95, 23, 0.25);
}

.solution-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.solution-image {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  background: #f0f2f5;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
  transform: scale(1.05);
}

.solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(19, 30, 74, 0.45) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.solution-card:hover .solution-overlay {
  opacity: 1;
}

.solution-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fd5f17;
  border-radius: 50%;
  color: #fff;
  transform: translateX(-8px);
  transition: transform 0.25s ease;
}

.solution-card:hover .solution-arrow {
  transform: translateX(0);
}

.solution-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.solution-title {
  font-size: 17px;
  font-weight: 600;
  color: #131e4a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.solution-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.solution-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fd5f17;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.solution-card:hover .solution-cta {
  gap: 10px;
}

/* ============================================================
   WHY CHOOSE US (Features)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--ht-radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--ht-shadow-sm);
  transition: box-shadow var(--ht-transition-base), transform var(--ht-transition-base);
}

.feature-card:hover {
  box-shadow: var(--ht-shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--secondary-color);
  background: rgba(var(--secondary-color-rgb, 19, 30, 74), 0.08);
}

.feature-card h3 {
  font-family: var(--ht-font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--secondary-color);
}

.feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* ============================================================
   FEATURED PRODUCTS - Category Tabs
   ============================================================ */
.product-category-tabs {
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-tabs-wrapper {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 8px 0;
}

.category-tab {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #666;
  background: #fff;
  border: 2px solid #e0e4e8;
  border-radius: var(--ht-radius-md);
  cursor: pointer;
  transition: all var(--ht-transition-fast);
  white-space: nowrap;
}

.category-tab:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.category-tab.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

/* ============================================================
   FEATURED PRODUCTS - Category Tabs
   ============================================================ */
.product-category-tabs {
  margin-bottom: 24px;
}

.category-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-color);
  background: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--ht-transition-fast);
}

.category-tab:hover {
  background: var(--primary-color);
  color: #fff;
}

.category-tab.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ============================================================
   FEATURED PRODUCTS - Carousel
   ============================================================ */
.products-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.products-carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.products-carousel-page {
  flex-shrink: 0;
  width: 100%;
}

.products-grid-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: transparent;
  cursor: pointer;
  transition: all var(--ht-transition-fast);
}

.carousel-dot:hover {
  background: var(--primary-color);
  opacity: 0.7;
}

.carousel-dot.active {
  background: var(--primary-color);
}

/* Carousel buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  z-index: 10;
  transition: all var(--ht-transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.carousel-btn-left {
  left: 10px;
}

.carousel-btn-right {
  right: 10px;
}

/* Vertical product card */
.product-card-horizontal {
  background: #fff;
  border-radius: var(--ht-radius-lg);
  overflow: hidden;
  box-shadow: var(--ht-shadow-sm);
  transition: box-shadow var(--ht-transition-base), transform var(--ht-transition-base);
  display: flex;
  flex-direction: column;
}

.product-card-horizontal:hover {
  box-shadow: var(--ht-shadow-md);
  transform: translateY(-2px);
}

.product-card-horizontal .product-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f4f7f9;
}

.product-card-horizontal .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ht-transition-base);
}

.product-card-horizontal:hover .product-image img {
  transform: scale(1.05);
}

.product-card-horizontal .product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-horizontal .product-title {
  font-family: var(--ht-font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 47.6px;
}

.product-card-horizontal .product-title a {
  color: #333;
  text-decoration: none;
  transition: color var(--ht-transition-fast);
}

.product-card-horizontal .product-title a:hover {
  color: var(--secondary-color);
}

.product-card-horizontal .product-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ============================================================
   FEATURED PRODUCTS - Grid (legacy)
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--ht-radius-lg);
  overflow: hidden;
  box-shadow: var(--ht-shadow-sm);
  transition: box-shadow var(--ht-transition-base), transform var(--ht-transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--ht-shadow-md);
  transform: translateY(-4px);
}

.product-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f4f7f9;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ht-transition-base);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--ht-font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  height: 50.4px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a {
  color: #333;
  text-decoration: none;
  transition: color var(--ht-transition-fast);
}

.product-title a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.product-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-content .btn {
  margin-top: auto;
}

.product-text {
  height: 144px;
  overflow: hidden;
}

.no-products {
  padding: 40px 0;
  color: #666;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(253, 95, 23, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content h2 {
  font-family: var(--ht-font-heading);
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   TEXT UTILITY
   ============================================================ */
.page-home-haitong .text-center {
  text-align: center;
}

/* ============================================================
   HOMEPAGE INDUSTRIAL RESTYLE
   ============================================================ */
.page-home-haitong {
  background: #fff;
}

@media (min-width: 1200px) {
  .page-home-haitong .container {
    max-width: 1480px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

.page-home-haitong .section-padding {
  padding: 92px 0;
}

.page-home-haitong .section-header {
  margin-bottom: 42px;
}

.page-home-haitong .section-title {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 18px;
  font-size: 38px;
  font-weight: 700;
  color: #111827;
}

.page-home-haitong .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.about-content .section-title::after {
  left: 0;
  transform: none;
}

.page-home-haitong .section-subtitle {
  max-width: 760px;
  color: #5f6b7a;
  line-height: 1.75;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 22, 44, 0.72) 0%, rgba(6, 22, 44, 0.38) 48%, rgba(6, 22, 44, 0.14) 100%);
}

.hero-content {
  max-width: 780px;
}

.hero-title {
  font-size: clamp(36px, 3.7vw, 54px);
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 680px;
  font-size: clamp(24px, 2.6vw, 38px);
}

.page-home-haitong .btn {
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-home-haitong .btn-pm,
.page-home-haitong .btn-accent {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.page-home-haitong .btn-pm:hover,
.page-home-haitong .btn-accent:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  opacity: 1;
}

.featured-products {
  background: #f5f7fa;
}

.category-tabs-wrapper {
  justify-content: center;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #d9e0ea;
}

.category-tab {
  position: relative;
  padding: 15px 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #344054;
  font-size: 15px;
}

.category-tab::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 3px;
  background: var(--primary-color);
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-tab:hover,
.category-tab.active {
  background: transparent;
  color: var(--primary-color);
}

.category-tab.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.products-grid-carousel {
  gap: 26px;
}

.product-card-horizontal {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e4eaf1;
}

.product-card-horizontal:hover {
  border-color: rgba(var(--primary-color-rgb), 0.55);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
  transform: translateY(-4px);
}

.product-card-horizontal .product-content {
  padding: 24px;
}

.product-card-horizontal .product-title {
  font-size: 18px;
  color: #111827;
}

.product-card-horizontal .product-excerpt {
  color: #667085;
}

.carousel-dot {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 0;
  background: #cbd5e1;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--primary-color);
}

.home-products-more {
  margin-top: 34px;
  text-align: center;
}

.home-products-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(var(--primary-color-rgb), 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-products-more-link:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(19, 30, 74, 0.2);
}

.about-section {
  background: #fff;
}

.about-section-bg {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 21, 42, 0.74) 0%, rgba(7, 21, 42, 0.54) 48%, rgba(7, 21, 42, 0.14) 100%);
}

.about-section-bg .container {
  position: relative;
  z-index: 1;
}

.about-bg-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: end;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: currentColor;
}

.about-capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-capability-card {
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.92);
  border-left: 4px solid var(--primary-color);
}

.about-capability-index {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
}

.about-capability-card strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 20px;
}

.about-capability-card p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.7;
}

.about-grid {
  grid-template-columns: 52% 48%;
  gap: 0;
  align-items: stretch;
  background: #111827;
}

.about-image {
  border-radius: 0;
  min-height: 460px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 58px 56px;
  color: #fff;
}

.about-content .section-title {
  color: #fff;
}

.about-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.solutions-section {
  background: #fff;
}

.solutions-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
}

.solutions-carousel {
  position: relative;
}

.solutions-carousel-viewport {
  overflow: hidden;
}

.solutions-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.solution-slide {
  flex: 0 0 33.3333%;
  padding: 0 12px;
}

.solution-card {
  border: 0;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.solution-card:hover {
  border-color: #e5e7eb;
  box-shadow: none;
  transform: none;
}

.solution-image {
  aspect-ratio: 16 / 10;
}

.solution-overlay {
  opacity: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(17, 24, 39, 0.74) 100%);
}

.solution-arrow {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: var(--primary-color);
}

.solution-content {
  padding: 26px;
}

.solution-title {
  font-size: 20px;
  color: #111827;
}

.solution-desc {
  font-size: 14px;
  color: #667085;
}

.solution-cta {
  color: var(--primary-color);
}

.solutions-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

.solutions-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  background: #fff;
  border: 1px solid #d9e0ea;
  cursor: pointer;
  transition: all 0.2s ease;
}

.solutions-arrow:hover {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.solutions-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solutions-dot {
  width: 28px;
  height: 4px;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.solutions-dot.active,
.solutions-dot:hover {
  width: 40px;
  background: var(--primary-color);
}

.cta-banner {
  background: #111827;
}

@media (max-width: 991px) {
  .page-home-haitong .section-padding {
    padding: 72px 0;
  }

  .hero-title {
    font-size: 38px;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .hero-description {
    font-size: 16px;
  }

  .about-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .about-bg-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-content {
    padding: 42px 34px;
  }

  .solution-slide {
    flex-basis: 50%;
  }
}

@media (max-width: 767px) {
  .page-home-haitong .section-padding {
    padding: 54px 0;
  }

  .page-home-haitong .section-title {
    font-size: 30px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-content::before {
    width: 56px;
    height: 4px;
    margin: 14px 0 20px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .category-tabs-wrapper {
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .about-image {
    min-height: 280px;
  }

  .about-content {
    padding: 0;
  }

  .about-section-bg {
    min-height: auto;
  }

  .about-capability-card {
    padding: 20px;
  }

  .solution-slide {
    flex-basis: 100%;
    padding: 0;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .hero-slider {
    min-height: 500px;
    height: auto;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    max-height: 400px;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number,
  .stat-suffix {
    font-size: 36px;
  }

  .archive-sidebar {
    width: 30%;
  }
  .page-home-haitong .section-padding {
    padding: 60px 0;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .products-grid-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .product-card-horizontal {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    min-height: 400px;
    height: auto;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 24px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-buttons {
    flex-direction: column;
    margin-top: 24px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .page-home-haitong .section-title {
    font-size: 28px;
  }
  .page-home-haitong .section-subtitle {
    font-size: 16px;
  }
  .solutions-grid,
  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-number,
  .stat-suffix {
    font-size: 30px;
  }
  
  .category-tab {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .products-grid-carousel {
    grid-template-columns: 1fr;
  }
  
  .product-card-horizontal {
    width: 100%;
    max-width: none;
  }
  
  .cta-banner {
    padding: 60px 0;
  }
  .cta-content h2 {
    font-size: 28px;
  }
  .cta-content p {
    font-size: 16px;
  }
  .page-home-haitong .section-padding {
    padding: 40px 0;
  }
  
  .two-column-layout {
    padding: 24px 0;
  }
  
  .archive-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .archive-sidebar {
    width: 100%;
    position: static;
  }
  
  .archive-main {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 21px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-slide .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================================
   PRODUCT ARCHIVE TWO-COLUMN LAYOUT
   ============================================================ */

.two-column-layout {
  padding: 40px 0;
}

.two-column-layout .container {
  max-width: 1480px;
  padding-left: 24px;
  padding-right: 24px;
}

.archive-wrapper {
  display: flex;
  gap: 30px;
}

/* Sidebar */
.archive-sidebar {
  width: 25%;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(19, 30, 74, 0.06);
  border: 1px solid #f0f0f5;
}

.sidebar-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #131e4a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f5;
  position: relative;
}

.sidebar-section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 1px;
  background: #fd5f17;
}

/* Category Tree */
.category-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-item {
  margin-bottom: 2px;
}

.category-header {
  display: flex;
  align-items: center;
}

.category-link {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 11px 14px 11px 16px;
  text-decoration: none;
  color: #374151;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.category-link:hover {
  background: #f8f9fc;
  color: #131e4a;
  border-left-color: #fd5f17;
}

.category-link.active {
  background: linear-gradient(90deg, rgba(253,95,23,0.08) 0%, rgba(253,95,23,0.02) 100%);
  color: #131e4a;
  font-weight: 600;
  border-left-color: #fd5f17;
}

.category-name {
  font-size: 14px;
}

.category-link.active .category-name {
  font-weight: 600;
}

.category-toggle {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #c4c9d4;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.category-toggle:hover {
  background: rgba(253, 95, 23, 0.1);
  color: #fd5f17;
}

.category-toggle.expanded {
  transform: rotate(180deg);
  color: #fd5f17;
}

.subcategories {
  list-style: none;
  margin: 2px 0 4px;
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.subcategories li {
  margin-bottom: 0;
}

.subcategory-link {
  display: flex;
  align-items: center;
  padding: 9px 14px 9px 36px;
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.subcategory-link::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d1d5db;
  transition: all 0.2s ease;
}

.subcategory-link:hover {
  background: #f8f9fc;
  color: #131e4a;
}

.subcategory-link:hover::before {
  background: #fd5f17;
  transform: translateY(-50%) scale(1.4);
}

.subcategory-link.active {
  background: rgba(253, 95, 23, 0.06);
  color: #131e4a;
  font-weight: 600;
}

.subcategory-link.active::before {
  background: #fd5f17;
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 3px rgba(253, 95, 23, 0.2);
}

.no-categories {
  font-size: 13px;
  color: #9ca3af;
  padding: 12px;
  text-align: center;
}

/* Contact Section */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
  border-color: rgba(253, 95, 23, 0.25);
  box-shadow: 0 2px 12px rgba(19, 30, 74, 0.05);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(253,95,23,0.1) 0%, rgba(253,95,23,0.04) 100%);
  border-radius: 10px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  color: #fd5f17;
}

.contact-item:hover .contact-icon {
  background: linear-gradient(135deg, rgba(253,95,23,0.18) 0%, rgba(253,95,23,0.08) 100%);
}

.contact-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.45;
  word-break: break-word;
}

/* Main Content */
.archive-main {
  flex: 1;
  padding-top: 0;
}

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

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef0f4;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  box-shadow: 0 12px 36px rgba(19, 30, 74, 0.12);
  transform: translateY(-4px);
  border-color: rgba(253, 95, 23, 0.2);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #f8f9fc;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #131e4a;
  line-height: 1.5;
  height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-title a {
  text-decoration: none;
  color: inherit;
}

.product-card-title a:hover {
  color: #fd5f17;
}

.product-card-excerpt {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: #fd5f17;
  padding: 3px 10px;
  background: rgba(253, 95, 23, 0.06);
  border-radius: 6px;
  width: fit-content;
}

.product-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #131e4a 0%, #1a2756 100%);
  border: none;
  border-radius: 8px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(19, 30, 74, 0.2);
}

.product-card-button::after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s ease;
}

.product-card-button:hover {
  background: linear-gradient(135deg, #fd5f17 0%, #ff7b39 100%);
  box-shadow: 0 4px 16px rgba(253, 95, 23, 0.35);
}

.product-card-button:hover::after {
  transform: translateX(3px);
}

.product-pagination {
  margin-top: 42px;
}

.product-pagination .navigation.pagination {
  margin: 0;
}

.product-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.product-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #dfe8f1;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-pagination .page-numbers.current,
.product-pagination .page-numbers:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-1px);
}

.product-pagination .page-numbers.dots,
.product-pagination .page-numbers.dots:hover {
  min-width: auto;
  border-color: transparent;
  background: transparent;
  color: #94a3b8;
  transform: none;
}

.product-pagination .prev,
.product-pagination .next {
  min-width: 96px;
}

/* ============================================================
   PRODUCT PAGE STYLES (Override plugin styles)
   ============================================================ */

/* Product archive page */
.naibabiji-b2b-product-archive {
  padding: 60px 0;
}

/* Product card */
.naibabiji-b2b-product-card {
  border-radius: var(--ht-radius-lg);
  overflow: hidden;
  box-shadow: var(--ht-shadow-sm);
  transition: all var(--ht-transition-base);
}

.naibabiji-b2b-product-card:hover {
  box-shadow: var(--ht-shadow-lg);
  transform: translateY(-4px);
}

.naibabiji-b2b-product-card-image {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.naibabiji-b2b-product-card-title {
  font-family: var(--ht-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.naibabiji-b2b-product-card-excerpt {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.naibabiji-b2b-product-card-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.naibabiji-b2b-product-card-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  transition: all var(--ht-transition-fast);
}

.naibabiji-b2b-product-card-button:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Category filter buttons */
.naibabiji-b2b-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.naibabiji-b2b-category-filter {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-color);
  background: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--ht-transition-fast);
}

.naibabiji-b2b-category-filter.active,
.naibabiji-b2b-category-filter:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Product grid layout */
.naibabiji-b2b-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1199px) {
  .naibabiji-b2b-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .naibabiji-b2b-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .naibabiji-b2b-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   UI/UX PRO MAX REFINEMENT - ABOUT + SOLUTIONS
   ============================================================ */
.about-section-bg {
  min-height: 680px;
}

.about-section-bg::before {
  background: linear-gradient(90deg, rgba(8, 20, 38, 0.76) 0%, rgba(8, 20, 38, 0.52) 48%, rgba(8, 20, 38, 0.12) 100%);
}

.about-bg-content {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  align-items: center;
}

.about-content {
  max-width: 760px;
  padding: 0;
}

.about-eyebrow {
  margin-bottom: 22px;
  color: #fff;
  opacity: 0.78;
}

.about-content .section-title {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.08;
}

.about-content .section-title::after {
  width: 72px;
}

.about-content p {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.85;
}

.about-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.about-capability-grid {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.about-capability-card {
  padding: 24px 0;
  background: transparent;
  border-left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.about-capability-index {
  margin-bottom: 12px;
  color: var(--primary-color);
  letter-spacing: 0.08em;
}

.about-capability-card strong {
  color: #fff;
  font-size: 22px;
}

.about-capability-card p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.about-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 5px solid var(--primary-color);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(2px);
}

.about-data-card {
  min-width: 0;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 22px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  perspective: 800px;
}

.about-data-card:first-child {
  border-left: 0;
}

.about-data-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.88);
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.about-data-icon svg {
  width: 58px;
  height: 58px;
  stroke: currentColor;
}

.about-data-card:hover .about-data-icon {
  transform: rotateY(360deg);
}

.about-data-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.36);
}

.about-data-number {
  color: #fff;
  font-size: clamp(36px, 3.2vw, 48px);
  letter-spacing: 0.04em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.about-data-suffix {
  margin-left: 8px;
  color: #fff;
  font-size: 24px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.about-data-title {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

.solutions-section {
  background: #f6f8fb;
}

.solutions-carousel-viewport {
  margin-left: -12px;
  margin-right: -12px;
}

.solution-slide {
  padding: 0 14px;
}

.solution-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5eaf0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.solution-card:hover {
  border-color: rgba(var(--primary-color-rgb), 0.45);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.solution-image {
  aspect-ratio: 16 / 11;
}

.solution-card:hover .solution-image img {
  transform: none;
}

.solution-overlay {
  opacity: 1;
  padding: 24px;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0) 42%);
}

.solution-arrow {
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(15, 23, 42, 0.74);
  border-radius: 0;
  transform: none;
}

.solution-content {
  min-height: 190px;
  padding: 30px;
}

.solution-title {
  margin-bottom: 14px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.25;
}

.solution-desc {
  margin-bottom: 22px;
  color: #5f6b7a;
  font-size: 15px;
  line-height: 1.75;
}

.solution-cta {
  color: #0f172a;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-card:hover .solution-cta {
  color: var(--primary-color);
  gap: 8px;
}

.solutions-carousel::before,
.solutions-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 72px;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.solutions-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f6f8fb 0%, rgba(246, 248, 251, 0) 100%);
}

.solutions-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #f6f8fb 0%, rgba(246, 248, 251, 0) 100%);
}

.solutions-controls {
  margin-top: 38px;
}

.solutions-arrow {
  background: transparent;
}

.solutions-dot {
  height: 3px;
}

@media (max-width: 991px) {
  .about-section-bg {
    min-height: auto;
  }

  .about-bg-content {
    grid-template-columns: 1fr;
  }

  .about-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-data-card:nth-child(odd) {
    border-left: 0;
  }

  .about-data-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 767px) {
  .about-section-bg {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .about-content .section-title {
    font-size: 34px;
  }

  .about-proof-row {
    gap: 8px;
  }

  .about-proof-row span {
    width: 100%;
    justify-content: center;
  }

  .about-data-grid {
    margin-top: 42px;
  }

  .about-data-card {
    min-height: 170px;
    padding: 26px 14px;
  }

  .about-data-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
  }

  .about-data-icon svg {
    width: 46px;
    height: 46px;
  }

  .about-data-number {
    font-size: 32px;
  }

  .about-data-suffix {
    font-size: 20px;
  }

  .about-data-title {
    font-size: 13px;
  }

  .solution-content {
    min-height: auto;
    padding: 24px;
  }

  .solutions-carousel::before,
  .solutions-carousel::after {
    display: none;
  }
}

/* Solutions card layout refinement */
@media (min-width: 992px) {
  .solution-card-link {
    flex-direction: row;
    min-height: 300px;
  }

  .solution-image {
    flex: 0 0 44%;
    aspect-ratio: auto;
    min-height: 300px;
  }

  .solution-content {
    justify-content: center;
    min-height: 300px;
    padding: 34px 36px;
  }

  .solution-title {
    max-width: 360px;
  }

  .solution-desc {
    max-width: 420px;
  }
}

@media (max-width: 991px) {
  .solution-card-link {
    flex-direction: column;
  }
}

/* About readability refinement */
.about-section-bg::before {
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.78) 0%, rgba(5, 14, 28, 0.62) 52%, rgba(5, 14, 28, 0.36) 100%),
    rgba(5, 14, 28, 0.14);
}

.about-content p {
  color: rgba(255, 255, 255, 0.9);
}

.about-capability-grid {
  padding: 8px 30px;
  background: rgba(5, 14, 28, 0.56);
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.about-capability-card {
  padding: 26px 0;
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.about-capability-card strong {
  color: #fff;
}

.about-capability-card p {
  max-width: none;
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 991px) {
  .about-capability-grid {
    padding: 0 24px;
    border-left: 0;
  }
}

/* Keep footer contact icons independent from homepage contact cards */
.footer-contact .contact-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: none;
  border-radius: 0;
  color: var(--primary-color);
  fill: currentColor;
  margin-top: 3px;
}

.footer-contact .contact-icon svg {
  width: 18px;
  height: 18px;
}

/* CTA redesign */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  background: #f7fafc;
}

.cta-banner::before {
  display: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid #dfe8f1;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.cta-content::before {
  display: none;
}

.cta-content::after {
  content: '';
  position: absolute;
  left: 36px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--primary-color-rgb), 0) 68%);
  pointer-events: none;
}

.cta-copy,
.cta-action {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-copy {
  min-width: 0;
  padding: 52px 58px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f8fb 100%);
  border-right: 1px solid #dfe8f1;
}

.cta-content h2 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #0f172a;
  font-size: clamp(32px, 2.8vw, 46px);
  line-height: 1.12;
}

.cta-content p {
  max-width: 720px;
  margin: 0;
  color: #526171;
  font-size: 17px;
  line-height: 1.7;
}

.cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 34px;
  background:
    linear-gradient(135deg, #f8fafc 0%, #edf4fa 100%);
}

.cta-action-card {
  width: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(var(--primary-color-rgb), 0.14);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.cta-action-card .btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  padding: 16px 28px;
  font-size: 16px;
}

.cta-action-card span {
  display: block;
  max-width: none;
  margin-top: 14px;
  color: #526171;
  font-size: 14px;
  line-height: 1.6;
}

.cta-support-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
}

.cta-support-list span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px 10px 40px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(223, 232, 241, 0.9);
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cta-support-list span::before {
  content: '';
  position: absolute;
  left: 18px;
  width: 7px;
  height: 7px;
  background: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(var(--primary-color-rgb), 0.1);
}

/* Home News */
.home-news-section {
  background: #f8fafc;
}

.home-news-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.home-news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 95, 23, 0.28);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.11);
}

.home-news-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.home-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s ease;
}

.home-news-card:hover .home-news-media img {
  transform: scale(1.04);
}

.home-news-category {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 7px 12px;
  background: rgba(253, 95, 23, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.home-news-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.home-news-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.3;
}

.home-news-meta .meta-icon {
  width: 15px;
  height: 15px;
  color: var(--primary-color);
  fill: currentColor;
}

.home-news-content h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
}

.home-news-content h3 a {
  color: #0f172a;
}

.home-news-content h3 a:hover {
  color: var(--primary-color);
}

.home-news-content p {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.home-news-link {
  margin-top: auto;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-news-link:hover {
  color: #0f172a;
}

@media (max-width: 991px) {
  .cta-content {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    padding: 44px 34px;
    border-right: 0;
    border-bottom: 1px solid #dfe8f1;
  }

  .cta-action {
    padding: 30px 34px;
  }

  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cta-banner {
    padding: 38px 0;
  }

  .cta-copy {
    padding: 34px 24px;
  }

  .cta-action {
    padding: 24px;
  }

  .cta-content h2 {
    font-size: 30px;
  }

  .cta-content p {
    font-size: 15px;
  }

  .cta-action-card .btn {
    width: 100%;
  }

  .home-news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-news-content {
    padding: 18px;
  }

  .home-news-content h3 {
    font-size: 18px;
  }

  .home-news-media {
    aspect-ratio: 16 / 10;
  }
}

/* Solutions visual rebuild */
.solutions-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.solutions-section .section-header {
  max-width: 860px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.solutions-section .section-title::after {
  left: 0;
  transform: none;
}

.solutions-section .section-subtitle {
  margin-left: 0;
}

.solutions-carousel {
  margin-top: 18px;
}

.solutions-carousel-viewport {
  margin-right: -20px;
  margin-left: -20px;
  overflow: visible;
}

.solutions-track {
  align-items: stretch;
}

.solution-slide {
  padding: 0 20px;
}

.solution-card {
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #0f172a;
  border: 0;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
}

.solution-card:hover {
  box-shadow: 0 32px 82px rgba(15, 23, 42, 0.2);
  transform: translateY(-6px);
}

.solution-card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px;
  color: #fff;
}

.solution-image {
  position: absolute;
  inset: 0;
  min-height: 100%;
  aspect-ratio: auto;
}

.solution-image img {
  transform: scale(1.01);
}

.solution-card:hover .solution-image img {
  transform: scale(1.06);
}

.solution-overlay {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.32) 45%, rgba(15, 23, 42, 0.82) 100%);
}

.solution-arrow {
  display: none;
}

.solution-content {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: 100%;
  min-height: auto;
  padding: 38px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.solution-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.solution-title {
  max-width: 420px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 30px;
  line-height: 1.16;
}

.solution-desc {
  max-width: 470px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.solution-cta {
  color: #fff;
}

.solution-card:hover .solution-cta {
  color: #fff;
}

.solutions-carousel::before,
.solutions-carousel::after {
  display: none;
}

.solutions-controls {
  justify-content: flex-start;
  margin-top: 34px;
}

.solutions-arrow {
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1px solid #dbe4ee;
  color: #0f172a;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.solutions-arrow:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.solutions-dot {
  width: 28px;
  height: 3px;
  background: #cbd5e1;
  border-radius: 0;
}

.solutions-dot.active {
  width: 48px;
  background: var(--primary-color);
}

@media (max-width: 1199px) {
  .solution-card,
  .solution-card-link {
    min-height: 460px;
  }

  .solution-title {
    font-size: 26px;
  }
}

@media (max-width: 991px) {
  .solutions-carousel-viewport {
    margin-right: -14px;
    margin-left: -14px;
    overflow: hidden;
  }

  .solution-slide {
    padding: 0 14px;
  }
}

@media (max-width: 767px) {
  .solutions-section .section-header {
    text-align: left;
  }

  .solution-card,
  .solution-card-link {
    min-height: 430px;
  }

  .solution-content {
    padding: 30px 24px;
  }

  .solution-title {
    font-size: 24px;
  }

  .solutions-controls {
    justify-content: center;
  }
}

/* Product archive sidebar redesign */
.archive-sidebar .product-sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.archive-sidebar .sidebar-section {
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid #dfe8f1;
  border-radius: 0;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
}

.archive-sidebar .sidebar-section-title {
  margin: 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4f9 100%);
  border-bottom: 1px solid #dfe8f1;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.archive-sidebar .sidebar-section-title::after {
  display: none;
}

.archive-sidebar .category-tree {
  padding: 12px;
}

.archive-sidebar .category-item {
  margin-bottom: 6px;
}

.archive-sidebar .category-header {
  gap: 8px;
}

.archive-sidebar .category-link {
  min-height: 48px;
  padding: 13px 14px 13px 18px;
  background: #fff;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  border-radius: 0;
  color: #334155;
  font-size: 15px;
  font-weight: 650;
}

.archive-sidebar .category-link:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  border-left-color: var(--primary-color);
  color: #0f172a;
}

.archive-sidebar .category-link.active {
  background: linear-gradient(90deg, rgba(var(--primary-color-rgb), 0.12) 0%, rgba(var(--primary-color-rgb), 0.04) 100%);
  border-color: rgba(var(--primary-color-rgb), 0.22);
  border-left-color: var(--primary-color);
  color: #0f172a;
}

.archive-sidebar .category-name {
  font-size: inherit;
  line-height: 1.35;
}

.archive-sidebar .category-toggle {
  width: 42px;
  height: 42px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  color: #64748b;
}

.archive-sidebar .category-toggle:hover,
.archive-sidebar .category-toggle.expanded {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.archive-sidebar .subcategories {
  margin: 8px 0 10px 12px;
  padding-left: 14px;
  border-left: 1px solid #e2e8f0;
}

.archive-sidebar .subcategory-link {
  padding: 10px 12px 10px 20px;
  border-radius: 0;
  color: #64748b;
  font-size: 14px;
}

.archive-sidebar .subcategory-link::before {
  left: 6px;
  width: 6px;
  height: 6px;
  background: #cbd5e1;
}

.archive-sidebar .subcategory-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

.archive-sidebar .subcategory-link.active {
  background: rgba(var(--primary-color-rgb), 0.08);
  color: #0f172a;
}

.archive-sidebar .contact-section {
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
}

.archive-sidebar .contact-list {
  gap: 0;
  padding: 12px;
}

.archive-sidebar .contact-item {
  gap: 14px;
  padding: 16px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: none;
}

.archive-sidebar .contact-item:last-child {
  border-bottom: 0;
}

.archive-sidebar .contact-item:hover {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: none;
}

.archive-sidebar .contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(var(--primary-color-rgb), 0.1);
  border: 1px solid rgba(var(--primary-color-rgb), 0.16);
  border-radius: 0;
  color: var(--primary-color);
}

.archive-sidebar .contact-icon svg {
  width: 19px;
  height: 19px;
}

.archive-sidebar .contact-item:hover .contact-icon {
  background: var(--primary-color);
  color: #fff;
}

.archive-sidebar .contact-text {
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .archive-sidebar .product-sidebar-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .naibabiji-b2b-products-archive-container .archive-wrapper {
    display: flex;
    flex-direction: column;
  }

  .archive-wrapper {
    flex-direction: column;
    gap: 28px;
  }

  .archive-sidebar {
    width: 100%;
    position: static;
    top: auto;
  }

  .archive-main {
    width: 100%;
    min-width: 0;
  }

  .naibabiji-b2b-products-archive-container .products-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
  }

  .naibabiji-b2b-products-archive-container .product-card {
    width: 100%;
    max-width: none;
  }

  .naibabiji-b2b-products-archive-container .product-card-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .naibabiji-b2b-products-archive-container .product-card-content {
    padding: 20px;
  }

  .naibabiji-b2b-products-archive-container .product-card-title {
    font-size: 16px;
  }

  .naibabiji-b2b-products-archive-container .product-card-excerpt {
    height: auto;
    min-height: 0;
  }

  .archive-sidebar .product-sidebar-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .archive-sidebar .sidebar-section-title {
    padding: 18px 20px;
    font-size: 17px;
  }

  .archive-sidebar .category-tree,
  .archive-sidebar .contact-list {
    padding: 10px;
  }

  .archive-sidebar .category-link {
    min-height: 46px;
    font-size: 14px;
  }

  .archive-sidebar .category-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .naibabiji-b2b-products-archive-container .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .naibabiji-b2b-products-archive-container .products-grid {
    gap: 18px;
  }

  .naibabiji-b2b-products-archive-container .product-card-content {
    padding: 18px;
  }

  .naibabiji-b2b-products-archive-container .product-card-button {
    width: 100%;
  }

  .archive-sidebar .category-header {
    align-items: stretch;
  }

  .archive-sidebar .category-link {
    padding: 12px 12px 12px 14px;
  }

  .archive-sidebar .contact-item {
    align-items: flex-start;
    padding: 14px 10px;
  }

  .archive-sidebar .contact-icon {
    width: 38px;
    height: 38px;
  }
}

/* Product detail gallery video support */
.naibabiji-b2b-product-featured-image {
  overflow: hidden;
  background: #f8fafc;
}

.naibabiji-b2b-featured-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.naibabiji-b2b-featured-image-wrapper .naibabiji-b2b-featured-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.naibabiji-b2b-featured-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #0f172a;
  object-fit: contain;
}

.naibabiji-b2b-gallery-thumb {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.naibabiji-b2b-gallery-thumb .naibabiji-b2b-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.naibabiji-b2b-gallery-video-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
}

.naibabiji-b2b-video-thumb-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  line-height: 1;
}

.naibabiji-b2b-video-thumb-icon svg {
  display: block;
  margin-left: 2px;
}

.naibabiji-b2b-gallery-video-thumb.active,
.naibabiji-b2b-gallery-video-thumb:hover {
  border-color: var(--primary-color);
}

/* Product archive/detail desktop width alignment */
@media (min-width: 1200px) {
  body .naibabiji-b2b-products-archive-container.two-column-layout,
  body .naibabiji-b2b-product-single-container.two-column-layout,
  body .naibabiji-b2b-products-taxonomy-container.two-column-layout {
    max-width: none !important;
    width: 100% !important;
  }

  body .two-column-layout > .container,
  .naibabiji-b2b-products-archive-container.two-column-layout .container,
  .naibabiji-b2b-product-single-container.two-column-layout .container,
  .naibabiji-b2b-products-taxonomy-container.two-column-layout .container {
    max-width: 1480px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .naibabiji-b2b-products-archive-container .archive-wrapper,
  .naibabiji-b2b-product-single-container .archive-wrapper,
  .naibabiji-b2b-products-taxonomy-container .archive-wrapper {
    gap: 34px;
  }

  .naibabiji-b2b-products-archive-container .archive-sidebar,
  .naibabiji-b2b-product-single-container .archive-sidebar,
  .naibabiji-b2b-products-taxonomy-container .archive-sidebar {
    width: 300px;
    flex: 0 0 300px;
  }

  .naibabiji-b2b-products-archive-container .archive-main,
  .naibabiji-b2b-product-single-container .archive-main,
  .naibabiji-b2b-products-taxonomy-container .archive-main {
    flex: 1 1 auto;
    min-width: 0;
  }

  .naibabiji-b2b-product-main.woocommerce-style {
    grid-template-columns: minmax(0, 1.14fr) minmax(420px, 0.86fr);
    gap: 48px;
    align-items: start;
  }

  .naibabiji-b2b-product-images {
    max-width: 720px;
  }
}
