/* =========================================================
   SHOP — CATALOG HERO
   ========================================================= */

.catalog-hero {
  position: relative;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  grid-template-columns:
  minmax(360px, 36%)
  minmax(0, 64%);
  border-bottom: 1px solid #d9e7f2;
  background: #f7fbff;
  direction: ltr;
  isolation: isolate;
}


/* =========================================================
   HERO CHEVRON DIVIDER
   ========================================================= */


/* =========================================================
   LEFT INDUSTRIAL PANEL
   ========================================================= */

.catalog-hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  background:
  radial-gradient(
    circle at 18% 28%,
    rgba(22,145,255,.14),
    transparent 33%
  ),
  linear-gradient(
    125deg,
    #041a31 0%,
    #07294d 58%,
    #0a3f72 100%
  );
  color: #fff;
  clip-path:
  polygon(
    0 0,
    calc(100% - 72px) 0,
    100% 50%,
    calc(100% - 72px) 100%,
    0 100%
  );
}

.catalog-hero::before {
  position: absolute;
  z-index: 5;

  top: 34px;
  bottom: 34px;

  left: calc(36% - 20px);

  width: 68px;

  background: #0b83f6;

  clip-path:
    polygon(
      0 0,
      22% 0,
      100% 50%,
      22% 100%,
      0 100%,
      78% 50%
    );

  content: "";
  pointer-events: none;
}

.catalog-hero__visual::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(68,162,255,.075) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(68,162,255,.075) 1px,
      transparent 1px
    );
  background-size: 30px 30px;
  content: "";
  opacity: .36;
}

.catalog-hero__visual::after {
  position: absolute;
  top: 50%;
  left: 11%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(35,153,255,.25);
  border-radius: 22px;
  content: "";
  transform:
    translateY(-50%)
    rotate(45deg);
}


/* =========================================================
   VISUAL GRID + CIRCUITS
   ========================================================= */

.catalog-hero__visual-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      145deg,
      transparent 0 58%,
      rgba(32,147,255,.09) 58% 58.6%,
      transparent 58.6%
    );
  pointer-events: none;
}

.catalog-hero__circuit {
  position: absolute;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(0,173,255,.7),
      rgba(0,173,255,.08)
    );
  opacity: .72;
}

.catalog-hero__circuit::before,
.catalog-hero__circuit::after {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid #169eff;
  border-radius: 50%;
  background: #05284b;
  content: "";
  transform: translateY(-50%);
}

.catalog-hero__circuit::before {
  left: 0;
}

.catalog-hero__circuit::after {
  right: 0;
}

.catalog-hero__circuit--one {
  top: 32%;
  left: 4%;
  width: 34%;
}

.catalog-hero__circuit--two {
  top: 69%;
  left: 0;
  width: 27%;
}

.catalog-hero__circuit--three {
  top: 82%;
  left: 7%;
  width: 20%;
}


/* =========================================================
   LEFT PANEL CONTENT
   ========================================================= */

.catalog-hero__panel {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(80%, 360px);
  min-height: 100%;
  align-content: center;
  grid-template-columns:
    96px
    minmax(0,1fr);
  grid-template-areas:
    "icon eyebrow"
    "icon title"
    "icon copy";
  column-gap: 1.15rem;
  margin-inline: auto;
  padding: 1rem;
  text-align: left;
  direction: ltr;
  transform: translateX(-10px);
}

.catalog-hero__panel-eyebrow {
  grid-area: eyebrow;
  align-self: end;
  margin-bottom: .22rem;
  color: #159eff;
  font-family: var(--plcsea-font-tech);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.catalog-hero__panel-icon {
  display: grid;
  width: 90px;
  height: 90px;
  grid-area: icon;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(31,157,255,.34);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(16,117,226,.16),
      rgba(6,43,83,.28)
    );
  color: #168eff;
  box-shadow:
    inset 0 0 32px rgba(0,139,255,.08),
    0 8px 24px rgba(0,0,0,.12);
}

.catalog-hero__panel-icon svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-hero__panel strong {
  grid-area: title;
  color: #fff;
  font-family: var(--plcsea-font-tech);
  font-size:
  clamp(
    1.55rem,
    1.2rem + .7vw,
    2rem
  );
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.catalog-hero__panel p {
  grid-area: copy;
  align-self: start;
  margin: .48rem 0 0;
  color: rgba(255,255,255,.78);
  font-family: var(--plcsea-font);
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.75;
  direction: rtl;
  text-align: left;
}


/* =========================================================
   RIGHT HERO CONTENT
   ========================================================= */

.catalog-hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(53,166,255,.085),
      transparent 25%
    ),
    linear-gradient(
      110deg,
      #ffffff 0%,
      #fbfdff 52%,
      #edf8ff 100%
    );
  direction: rtl;
}

.catalog-hero__content::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      30deg,
      transparent 0 49.7%,
      rgba(8,124,240,.035) 49.7% 50.2%,
      transparent 50.2%
    );
  background-size: 190px 190px;
  content: "";
  pointer-events: none;
}

.catalog-hero__content-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 236px;
  align-items: center;
  padding-top: 1.35rem;
  padding-bottom: 1rem;
  padding-block: 1.1rem 1.25rem;
}

.catalog-hero__copy {
  width: min(100%, 760px);
  margin-left: auto;
  margin-right: 0;
  padding-inline: 0;
  transform: translateX(-18px);
}

.catalog-hero .breadcrumbs {
  margin: 0 0 .4rem;
  color: var(--plcsea-ink-500);
  font-size: .62rem;
}

.catalog-hero .eyebrow {
  margin-bottom: .25rem;
  font-size: .64rem;
}

.catalog-hero h1 {
  max-width: 760px;
  margin: 0 0 .5rem;
  color: var(--plcsea-navy-950);
  font-size:
  clamp(
    1.95rem,
    1.45rem + 1.1vw,
    2.7rem
  );
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.025em;
}

.catalog-hero__copy > p {
  max-width: 700px;
  margin: 0;
  color: var(--plcsea-ink-700);
  font-size: .75rem;
  line-height: 1.95;
}


/* =========================================================
   HERO SEARCH
   ========================================================= */

.catalog-hero__search {
  display: flex;
  width: min(100%, 760px);
  align-items: stretch;
  flex-direction: row-reverse;
  gap: .55rem;
  margin-top: .95rem;
}

.catalog-hero__search-field {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 46px;
  flex: 1;
  align-items: center;
  overflow: hidden;
  border: 1px solid #bdd6e9;
  border-radius: 9px;
  background: rgba(255,255,255,.98);
  box-shadow:
    0 4px 14px rgba(6,37,78,.035);
}

.catalog-hero__search-field:focus-within {
  border-color: #6eb4ea;
  box-shadow:
    0 0 0 3px rgba(8,124,240,.07),
    0 5px 16px rgba(6,37,78,.045);
}

.catalog-hero__search-field svg {
  width: 19px;
  height: 19px;
  margin-inline: .8rem .45rem;
  flex: 0 0 19px;
  fill: none;
  stroke: #7890a4;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-hero__search-field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .4rem .25rem .4rem .8rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--plcsea-navy-950);
  font-family: var(--plcsea-font);
  font-size: .7rem;
}

.catalog-hero__search-field input::placeholder {
  color: #8da0b0;
}

.catalog-hero__search-button {
  min-width: 98px;
  min-height: 46px;
  padding-inline: 1rem;
  border: 1px solid #087cf0;
  border-radius: 9px;
  background:
    linear-gradient(
      135deg,
      var(--plcsea-navy-900),
      var(--plcsea-ocean-700)
    );
  color: #fff;
  font-family: var(--plcsea-font);
  font-size: .72rem;
  font-weight: 800;
  box-shadow:
    0 8px 18px rgba(7,87,200,.16);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.catalog-hero__search-button:hover {
  border-color: #36a8ff;
  box-shadow:
    0 11px 24px rgba(7,87,200,.23);
}

.catalog-hero__search-button:focus-visible {
  outline: 2px solid #6fc7ff;
  outline-offset: 3px;
}


/* =========================================================
   HERO — RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

  .catalog-hero {
    grid-template-columns:
      minmax(270px, 32%)
      minmax(0, 68%);
  }

  .catalog-hero::after {
    left: calc(32% - 2px);
    width: 86px;
  }

  .catalog-hero__panel {
    width: 90%;
    grid-template-columns:
      70px
      minmax(0,1fr);
  }

  .catalog-hero__panel-icon {
    width: 66px;
    height: 66px;
  }

  .catalog-hero__panel-icon svg {
    width: 41px;
    height: 41px;
  }

}


@media (max-width: 900px) {

  .catalog-hero {
    grid-template-columns:
      minmax(230px, 31%)
      minmax(0, 69%);
  }

  .catalog-hero::after {
    left: calc(31% - 2px);
    width: 72px;
  }

  .catalog-hero__panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "icon"
      "title";
    justify-items: start;
    row-gap: .25rem;
  }

  .catalog-hero__panel p {
    display: none;
  }

}


@media (max-width: 780px) {

  .catalog-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    direction: rtl;
  }

  .catalog-hero::before,
  .catalog-hero__visual {
  display: none;
  }

  .catalog-hero__content-inner {
    min-height: 0;
    padding-block: 1.1rem 2.6rem;
  }

  .catalog-hero__copy {
    width: 100%;
  }

}


@media (max-width: 480px) {

  .catalog-hero__search {
    flex-direction: column;
  }

  .catalog-hero__search-button {
    width: 100%;
  }

}


/* =========================================================
   MOBILE HERO — FINAL ALIGNMENT CORRECTION
   ========================================================= */

@media (max-width: 780px) {

  .catalog-hero__content-inner {
    display: block;
    width: 100%;
    padding: 1.1rem clamp(1rem, 5vw, 1.35rem) 2rem;
  }

  .catalog-hero__copy {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    transform: none;
    direction: rtl;
    text-align: center;
  }

  .catalog-hero .breadcrumbs,
  .catalog-hero .eyebrow,
  .catalog-hero h1,
  .catalog-hero__copy > p,
  .catalog-hero__meta {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .catalog-hero .eyebrow {
    justify-content: center;
  }

  .catalog-hero h1 {
    font-size: clamp(1.7rem, 7.4vw, 2.15rem);
    line-height: 1.45;
    letter-spacing: -.02em;
  }

  .catalog-hero__copy > p {
    font-size: .73rem;
    line-height: 1.95;
  }

  .catalog-hero__search {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {

  .catalog-hero__content-inner {
    padding-inline: 1rem;
  }

  .catalog-hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 1.95rem);
  }
}
