/* Product list page v2 — hero + category cards + trust bar */

.catalog-breadcrumb {
  background: #F8FAFC !important;
  padding: 14px 0 6px !important;
  border-bottom: none !important;
  color: #94A3B8 !important;
}
.catalog-breadcrumb a {
  color: #64748B !important;
  transition: color 0.15s;
}
.catalog-breadcrumb a:hover {
  color: #005A9C !important;
  text-decoration: none !important;
}
.catalog-breadcrumb__sep { color: #CBD5E1 !important; }
.catalog-breadcrumb__current { color: #334155 !important; }

.catalog-page--v2 {
  background: #F8FAFC;
  padding: 8px 0 60px;
}

/* ── Hero ── */
.plc-hero {
  margin-bottom: 22px;
}
.plc-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 12% 20%, rgba(0, 115, 200, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 40% 90%, rgba(2, 30, 60, 0.45) 0%, transparent 50%),
    linear-gradient(145deg, #011F3D 0%, #022B54 38%, #034078 72%, #0A4F8A 100%);
  box-shadow:
    0 18px 48px rgba(2, 43, 84, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.plc-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 28px 44px 48px;
  color: #fff;
  position: relative;
  z-index: 3;
}

.plc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(235, 176, 0, 0.45);
  background: linear-gradient(135deg, rgba(2, 30, 60, 0.55), rgba(235, 176, 0, 0.08));
  color: #F5D76E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.plc-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.16;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.plc-hero__desc {
  margin: 0 0 28px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.plc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.plc-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.plc-hero__btn--primary {
  background: linear-gradient(180deg, #F0C020 0%, #EBB000 100%);
  color: #1A1A1A;
  box-shadow: 0 8px 22px rgba(235, 176, 0, 0.38);
}

.plc-hero__btn--primary:hover {
  background: linear-gradient(180deg, #EBB000 0%, #D4A000 100%);
  color: #1A1A1A;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(235, 176, 0, 0.45);
}

.plc-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

.plc-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

/* Soft curved divider between navy & visual */
.plc-hero__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48%;
  width: clamp(90px, 12vw, 140px);
  transform: translateX(-42%);
  z-index: 4;
  pointer-events: none;
}

.plc-hero__divider-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plc-hero__divider-line {
  filter: drop-shadow(0 0 6px rgba(235, 176, 0, 0.25));
}

.plc-hero__visual {
  position: relative;
  z-index: 2;
  margin-left: -72px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(255, 255, 255, 0.9) 0%, transparent 55%),
    linear-gradient(160deg, #C8E4F6 0%, #E8F4FC 42%, #F7FBFE 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
  /* Soft diagonal/curve left edge so hard seam disappears */
  -webkit-clip-path: polygon(9% 0%, 100% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(9% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.plc-hero__visual::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    95deg,
    rgba(2, 43, 84, 0.55) 0%,
    rgba(3, 64, 120, 0.28) 28%,
    rgba(10, 79, 138, 0.1) 52%,
    rgba(214, 234, 248, 0.05) 72%,
    transparent 100%
  );
}

.plc-hero__visual::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 90, 156, 0.1) 0%, transparent 70%);
  top: -50px;
  right: -40px;
  pointer-events: none;
  z-index: 0;
}

.plc-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  /* Gentle pull so image sits under the blend */
  transform: scale(1.04) translateX(2%);
}

.plc-hero__chip {
  position: absolute;
  z-index: 5;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #022B54;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 6px 18px rgba(2, 43, 84, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  white-space: nowrap;
}

.plc-hero__chip--1 { top: 16%; left: 14%; animation: plc-float 4.5s ease-in-out infinite; }
.plc-hero__chip--2 { top: 40%; right: 8%; animation: plc-float 5.2s ease-in-out infinite 0.6s; }
.plc-hero__chip--3 { bottom: 14%; left: 16%; animation: plc-float 4.8s ease-in-out infinite 1.1s; }

@keyframes plc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Category nav ── */
.plc-cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.plc-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #E8EEF4;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s;
}
.plc-cat:hover {
  border-color: #B8D4EC;
  box-shadow: 0 10px 26px rgba(0, 90, 156, 0.1);
  transform: translateY(-2px);
}
.plc-cat.is-active {
  background: linear-gradient(180deg, #F4F9FD 0%, #EAF3FB 100%);
  border-color: #005A9C;
  box-shadow: 0 8px 22px rgba(0, 90, 156, 0.12);
}
.plc-cat__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  color: #64748B;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.plc-cat.is-active .plc-cat__icon,
.plc-cat:hover .plc-cat__icon {
  background: linear-gradient(145deg, #0070C0, #005A9C);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 90, 156, 0.28);
}
.plc-cat__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.plc-cat__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
}
.plc-cat.is-active .plc-cat__name { color: #022B54; }
.plc-cat__count {
  font-size: 12px;
  color: #94A3B8;
  font-style: normal;
}

/* ── Trust bar ── */
.plc-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 24px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #E8EEF4;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.plc-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
}
.plc-trust__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(235, 176, 0, 0.16), rgba(235, 176, 0, 0.06));
  box-shadow: 0 0 0 1px rgba(235, 176, 0, 0.12);
}
.plc-trust__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.plc-trust__text strong {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
}
.plc-trust__text em {
  font-size: 12px;
  font-style: normal;
  color: #94A3B8;
}

@media (max-width: 1280px) {
  .plc-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plc-hero__divider { left: 50%; width: 110px; }
}
@media (max-width: 1024px) {
  .plc-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .plc-hero__content { padding: 36px 28px 28px; }
  .plc-hero__divider {
    display: none;
  }
  .plc-hero__visual {
    margin-left: 0;
    min-height: 240px;
    -webkit-clip-path: none;
    clip-path: none;
  }
  .plc-hero__visual::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 42%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(2, 43, 84, 0.08) 40%,
      rgba(2, 43, 84, 0.35) 100%
    );
  }
  .plc-hero__img {
    transform: none;
    max-height: 280px;
  }
  .plc-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plc-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 768px) {
  .plc-hero__inner { border-radius: 20px; }
  .plc-hero__content { padding: 28px 22px 24px; }
  .plc-hero__title { font-size: 26px; }
  .plc-hero__chip { display: none; }
  .plc-cats {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .plc-cats::-webkit-scrollbar { display: none; }
  .plc-cat {
    flex: 0 0 auto;
    min-width: 200px;
    padding: 14px;
  }
  .plc-trust {
    grid-template-columns: 1fr 1fr;
    padding: 14px 12px;
  }
}
@media (max-width: 480px) {
  .plc-trust { grid-template-columns: 1fr; }
  .plc-hero__actions { flex-direction: column; align-items: stretch; }
  .plc-hero__btn { justify-content: center; }
}
