
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 40%, #001040 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent);
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  margin-bottom: 24px; font-weight: 500;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.4; }


.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-hero .hero-content { max-width: 560px; }

.hero-image-wrapper { position: relative; height: 400px; }

.hero-image-main {
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  position: relative;
}
.hero-image-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-main::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,85,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  padding: 20px 28px;
  background: var(--orange-500);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,26,77,0.15);
  display: flex; align-items: center; gap: 16px;
}
.hero-floating-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: white;
  display: flex; align-items: center; justify-content: center;
}
.hero-floating-icon svg {
  width: 24px; height: 24px;
  stroke: var(--orange-500);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.hero-floating-text h4 {
  font-size: 1.1rem; font-weight: 800;
  color: white; margin-bottom: 2px;
}
.hero-floating-text p { font-size: 0.78rem; color: white; font-weight: 500; }

.page-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.04em; margin-bottom: 16px;
}
.page-hero h1 .accent-orange {
  background: var(--gradient-orange);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px; line-height: 1.7;
}

.hero-stats-bar {
  display: flex; gap: 48px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-item { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-item .val {
  font-family: var(--font-mono);
  font-size: 1.8rem; font-weight: 700;
  color: var(--orange-400);
}
.hero-stat-item .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
}


.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 62px; z-index: 100;
  padding: 16px 0;
}
.filter-inner {
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.search-box { flex: 1; min-width: 280px; position: relative; }
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.9rem; color: var(--gray-800);
  background: var(--gray-50);
  transition: all 0.3s ease; outline: none;
}
.search-box input:focus {
  border-color: var(--accent-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 85, 255, 0.08);
}
.search-box input::placeholder { color: var(--gray-300); }
.search-box svg {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--gray-300);
}

.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 10px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--gray-300); color: var(--gray-700); }
.filter-pill.active { background: var(--orange-500); color: #fff; border-color: var(--orange-500); }
.filter-pill .count {
  display: inline-block; padding: 1px 7px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.72rem; margin-left: 6px;
  font-family: var(--font-mono);
}
.filter-pill:not(.active) .count { background: var(--gray-100); color: var(--gray-400); }

.results-count {
  font-size: 0.82rem; color: var(--gray-400);
  font-weight: 500; white-space: nowrap;
  font-family: var(--font-mono);
}


.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 48px 0 120px;
}


.products-layout .sidebar { position: sticky; top: 130px; align-self: start; }
.sidebar-section { margin-bottom: 36px; }
.sidebar-title {
  font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gray-400); font-weight: 700; margin-bottom: 16px;
}

.cat-list { list-style: none; }
.cat-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 500;
  color: var(--gray-500);
  cursor: pointer; transition: all 0.2s ease; margin-bottom: 2px;
}
.cat-item:hover { background: var(--blue-50); color: var(--blue-700); }
.cat-item.active { background: var(--orange-500); color: #fff; }
.cat-item.active .num { color: #fff; opacity: 1; }
.cat-item .num { float: right; font-family: var(--font-mono); font-size: 0.75rem; opacity: 0.5; }

.cat-sub { list-style: none; margin-left: 16px; margin-top: 4px; display: none; }
.cat-item.expanded + .cat-sub { display: block; }
.cat-sub .cat-item { font-size: 0.82rem; padding: 7px 14px; color: var(--gray-400); }

.sidebar-cta {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  border-radius: var(--radius-lg);
  padding: 28px; color: #fff;
  position: relative; overflow: hidden;
}
.sidebar-cta::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.sidebar-cta h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; position: relative; }
.sidebar-cta p {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  line-height: 1.6; margin-bottom: 20px; position: relative;
}
.sidebar-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--accent-orange); color: #fff;
  font-weight: 700; font-size: 0.82rem; border-radius: 100px;
  position: relative; transition: all var(--transition);
}
.sidebar-cta a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4); }


.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover {
  border-color: var(--orange-200);
  box-shadow: 0 20px 60px rgba(0, 26, 77, 0.1);
  transform: translateY(-6px);
}

.product-card-img {
  height: 220px;
  background: var(--gray-50);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-card-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px;
  background: var(--accent-orange); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.06em; z-index: 2;
}
.product-card-badge.orange { background: var(--accent-orange); }

.product-card-body { padding: 16px 18px 18px; }
.product-card-cat {
  font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-orange); font-weight: 700; margin-bottom: 6px;
}
.product-card-title {
  font-size: 0.9rem; font-weight: 700;
  color: var(--gray-800); line-height: 1.35; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.spec-tag {
  padding: 3px 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 6px; font-size: 0.68rem;
  font-family: var(--font-mono); color: var(--gray-500);
}

.product-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--gray-100);
}
.meta-brands { font-size: 0.75rem; color: var(--gray-400); font-weight: 500; }
.meta-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.product-card:hover .meta-arrow { background: var(--accent-orange); }
.meta-arrow svg { width: 16px; height: 16px; stroke: var(--gray-400); transition: all 0.3s ease; }
.product-card:hover .meta-arrow svg { stroke: #fff; transform: translateX(2px); }


.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 56px; grid-column: 1 / -1;
}
.page-btn {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.88rem;
  color: var(--gray-500); background: var(--white);
  border: 1.5px solid var(--gray-200);
  cursor: pointer; transition: all 0.2s ease;
  font-family: var(--font-display);
}
.page-btn:hover { border-color: var(--blue-400); color: var(--blue-600); }
.page-btn.active { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.page-btn.nav-arrow { width: auto; padding: 0 18px; gap: 6px; font-size: 0.82rem; }
.page-btn svg { width: 16px; height: 16px; }


@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-split { gap: 40px; }
}

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 100%; }
  .hero-image-wrapper { height: 340px; }
  .products-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

@media (max-width: 768px) {
  .page-hero { padding: 100px 0 50px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .filter-pills { display: none; }
  .hero-stats-bar { gap: 16px; flex-wrap: wrap; }
  .hero-image-wrapper { height: 240px; }
  .hero-floating-badge { bottom: -16px; left: 16px; padding: 10px 16px; }
  .hero-floating-icon { width: 36px; height: 36px; }
  .hero-floating-icon svg { width: 18px; height: 18px; }
  .hero-floating-text h4 { font-size: 0.85rem; }
  .product-card-img { height: 160px; }
  .product-card-body { padding: 12px 14px 14px; }
  .product-card-title { font-size: 0.82rem; }
  .product-card-meta { padding-top: 10px; }
  .filter-bar { padding: 14px 0; }
  .results-count { font-size: 0.78rem; }
  .sidebar-cta { padding: 20px; }
  .section-title { margin-bottom: 24px; }
}
