/*
 * BGT 2026.90 – Guaranteed custom WooCommerce product-category archive template.
 * This stylesheet is scoped to body.bgt-product-category-archive and the
 * plugin-level template in templates/product-category-archive.php.
 */

html:has(body.bgt-product-category-archive),
body.bgt-product-category-archive,
body.bgt-product-category-archive #page {
  overflow-x: clip;
}

body.bgt-product-category-archive {
  --bgt-cat-navy: #06243a;
  --bgt-cat-navy-2: #0a3f5f;
  --bgt-cat-blue: #1088d4;
  --bgt-cat-green: #78c52c;
  --bgt-cat-ink: #102a3b;
  --bgt-cat-muted: #657b89;
  --bgt-cat-line: #dbe6ec;
  --bgt-cat-soft: #f5f9fb;
  --bgt-cat-width: var(--bgt-site-header-width, 1340px);
  background: #f5f8fa;
}

body.bgt-product-category-archive .bgt-category-page {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f5f8fa;
}

body.bgt-product-category-archive .bgt-category-hero {
  position: relative;
  background:
    radial-gradient(circle at 91% 0%, rgba(23, 145, 214, .22), transparent 30%),
    linear-gradient(116deg, #061f34 0%, #073650 58%, #0a4968 100%);
  color: #fff;
  padding: 58px 0 76px;
  overflow: hidden;
}

body.bgt-product-category-archive .bgt-category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 45%);
}

body.bgt-product-category-archive .bgt-category-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--bgt-cat-width), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: 70px;
  align-items: center;
}

body.bgt-product-category-archive .bgt-category-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #a8e8c7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}

body.bgt-product-category-archive .bgt-category-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bgt-cat-green);
  box-shadow: 0 0 0 5px rgba(120, 197, 44, .12);
}

body.bgt-product-category-archive .bgt-category-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(40px, 4.2vw, 68px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.045em;
}

body.bgt-product-category-archive .bgt-category-hero__copy > p {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(236, 248, 255, .82);
  font-size: 17px;
  line-height: 1.7;
}

body.bgt-product-category-archive .bgt-category-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body.bgt-product-category-archive .bgt-category-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

body.bgt-product-category-archive .bgt-category-button:hover {
  transform: translateY(-2px);
}

body.bgt-product-category-archive .bgt-category-button--primary {
  color: #fff !important;
  background: var(--bgt-cat-blue);
  box-shadow: 0 12px 28px rgba(16, 136, 212, .25);
}

body.bgt-product-category-archive .bgt-category-button--primary:hover {
  background: #0878bd;
}

body.bgt-product-category-archive .bgt-category-button--ghost {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.07);
}

body.bgt-product-category-archive .bgt-category-button--ghost:hover {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.11);
}

body.bgt-product-category-archive .bgt-category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
  color: rgba(255,255,255,.54);
  font-size: 12px;
  font-weight: 600;
}

body.bgt-product-category-archive .bgt-category-breadcrumb a {
  color: rgba(255,255,255,.74) !important;
  text-decoration: none !important;
}

body.bgt-product-category-archive .bgt-category-breadcrumb strong {
  color: #fff;
}

body.bgt-product-category-archive .bgt-category-hero__media {
  border: 1px solid rgba(177, 223, 247, .28);
  border-radius: 26px;
  padding: 14px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 28px 70px rgba(0, 14, 25, .24);
  backdrop-filter: blur(8px);
}

body.bgt-product-category-archive .bgt-category-hero__media-head,
body.bgt-product-category-archive .bgt-category-hero__media-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.bgt-product-category-archive .bgt-category-hero__media-head {
  padding: 2px 5px 12px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

body.bgt-product-category-archive .bgt-category-hero__media-head strong {
  color: #a9e9c7;
  font-size: 12px;
}

body.bgt-product-category-archive .bgt-category-hero__image {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 18px;
  background: #0e3550;
}

body.bgt-product-category-archive .bgt-category-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.bgt-product-category-archive .bgt-category-hero__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.8);
  font-size: 80px;
  font-weight: 800;
  background: linear-gradient(135deg, #0c3652, #146486);
}

body.bgt-product-category-archive .bgt-category-hero__media-foot {
  padding: 12px 5px 2px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

body.bgt-product-category-archive .bgt-category-hero__media-foot span {
  padding: 6px 9px;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 10px;
  font-weight: 650;
}

body.bgt-product-category-archive .bgt-category-assurance {
  position: relative;
  z-index: 4;
  width: min(var(--bgt-cat-width), calc(100% - 48px));
  margin: -42px auto 0;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e1e9ee;
  box-shadow: 0 22px 50px rgba(13, 48, 70, .12);
}

body.bgt-product-category-archive .bgt-category-assurance__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

body.bgt-product-category-archive .bgt-category-assurance__item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 18px;
  border-right: 1px solid #e5ecef;
}

body.bgt-product-category-archive .bgt-category-assurance__item:last-child {
  border-right: 0;
}

body.bgt-product-category-archive .bgt-category-assurance__item > span {
  width: 37px;
  min-width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #4fae39;
  background: #eef8ea;
  font-size: 18px;
  font-weight: 800;
}

body.bgt-product-category-archive .bgt-category-assurance__item div {
  min-width: 0;
}

body.bgt-product-category-archive .bgt-category-assurance__item strong,
body.bgt-product-category-archive .bgt-category-assurance__item small {
  display: block;
}

body.bgt-product-category-archive .bgt-category-assurance__item strong {
  color: var(--bgt-cat-ink);
  font-size: 13px;
  line-height: 1.25;
}

body.bgt-product-category-archive .bgt-category-assurance__item small {
  margin-top: 2px;
  color: var(--bgt-cat-muted);
  font-size: 11px;
}

body.bgt-product-category-archive .bgt-category-catalogue {
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 4% 8%, rgba(73, 164, 208, .06), transparent 22%),
    #f5f8fa;
}

body.bgt-product-category-archive .bgt-category-catalogue__inner {
  width: min(var(--bgt-cat-width), calc(100% - 48px));
  margin: 0 auto;
}

body.bgt-product-category-archive .bgt-category-catalogue__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 34px;
}

body.bgt-product-category-archive .bgt-category-catalogue__head > div:first-child {
  max-width: 830px;
}

body.bgt-product-category-archive .bgt-category-catalogue__eyebrow {
  margin-bottom: 8px;
  color: #259b67;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
}

body.bgt-product-category-archive .bgt-category-catalogue__head h2 {
  margin: 0;
  color: var(--bgt-cat-ink);
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.bgt-product-category-archive .bgt-category-catalogue__description {
  margin-top: 13px;
  color: var(--bgt-cat-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.bgt-product-category-archive .bgt-category-catalogue__description p {
  margin: 0 0 8px;
}

body.bgt-product-category-archive .bgt-category-catalogue__count {
  min-width: 118px;
  padding: 15px 16px;
  border-radius: 16px;
  text-align: center;
  background: #fff;
  border: 1px solid #dfe8ed;
  box-shadow: 0 10px 24px rgba(15, 54, 75, .06);
}

body.bgt-product-category-archive .bgt-category-catalogue__count strong,
body.bgt-product-category-archive .bgt-category-catalogue__count span {
  display: block;
}

body.bgt-product-category-archive .bgt-category-catalogue__count strong {
  color: var(--bgt-cat-blue);
  font-size: 28px;
  line-height: 1;
}

body.bgt-product-category-archive .bgt-category-catalogue__count span {
  margin-top: 4px;
  color: var(--bgt-cat-muted);
  font-size: 10px;
  font-weight: 700;
}

body.bgt-product-category-archive .bgt-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (min-width: 901px) {
  body.bgt-product-category-archive .bgt-category-grid:has(> .bgt-category-card:only-child) {
    grid-template-columns: minmax(0, 520px);
  }

  body.bgt-product-category-archive .bgt-category-grid:has(> .bgt-category-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.bgt-product-category-archive .bgt-category-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #dfe8ed;
  box-shadow: 0 12px 30px rgba(13, 49, 69, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: bgt-category-card-in .58s cubic-bezier(.2,.72,.22,1) both;
}

body.bgt-product-category-archive .bgt-category-card:nth-child(2) { animation-delay: .06s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(3) { animation-delay: .12s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(4) { animation-delay: .18s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(5) { animation-delay: .24s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(6) { animation-delay: .30s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(7) { animation-delay: .36s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(8) { animation-delay: .42s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(9) { animation-delay: .48s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(10) { animation-delay: .54s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(11) { animation-delay: .60s; }
body.bgt-product-category-archive .bgt-category-card:nth-child(12) { animation-delay: .66s; }

@keyframes bgt-category-card-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.bgt-product-category-archive .bgt-category-card:hover {
  transform: translateY(-5px);
  border-color: #cbdde6;
  box-shadow: 0 22px 46px rgba(13, 49, 69, .12);
}

body.bgt-product-category-archive .bgt-category-card__image {
  position: relative;
  display: block;
  height: 235px;
  overflow: hidden;
  background: linear-gradient(145deg, #eaf2f6, #dbe8ef);
}

body.bgt-product-category-archive .bgt-category-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.24) 48%, transparent 74%);
  transform: translateX(-125%);
  transition: transform .72s cubic-bezier(.2,.72,.22,1);
}

body.bgt-product-category-archive .bgt-category-card:hover .bgt-category-card__image::after,
body.bgt-product-category-archive .bgt-category-card:focus-within .bgt-category-card__image::after {
  transform: translateX(125%);
}

body.bgt-product-category-archive .bgt-category-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

body.bgt-product-category-archive .bgt-category-card:hover .bgt-category-card__image img {
  transform: scale(1.035);
}

body.bgt-product-category-archive .bgt-category-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #477388;
  font-size: 58px;
  font-weight: 850;
}

body.bgt-product-category-archive .bgt-category-card__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 39, 59, .82);
  backdrop-filter: blur(5px);
  font-size: 17px;
}

body.bgt-product-category-archive .bgt-category-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 23px 24px 22px;
}

body.bgt-product-category-archive .bgt-category-card__eyebrow {
  color: #2aa06d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.bgt-product-category-archive .bgt-category-card h3 {
  margin: 8px 0 0;
  font-family: Poppins, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -.02em;
}

body.bgt-product-category-archive .bgt-category-card h3 a {
  color: var(--bgt-cat-ink) !important;
  text-decoration: none !important;
}

body.bgt-product-category-archive .bgt-category-card p {
  margin: 12px 0 0;
  color: var(--bgt-cat-muted);
  font-size: 13px;
  line-height: 1.65;
}

body.bgt-product-category-archive .bgt-category-card__footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #e6edf1;
}

body.bgt-product-category-archive .bgt-category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--bgt-cat-ink) !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
}

body.bgt-product-category-archive .bgt-category-card__link span {
  color: var(--bgt-cat-blue);
}

body.bgt-product-category-archive .bgt-category-card__quote {
  padding: 7px 10px;
  border-radius: 999px;
  color: #287c50 !important;
  background: #edf8f1;
  border: 1px solid #d7eddf;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none !important;
}

body.bgt-product-category-archive .bgt-category-pagination {
  margin-top: 38px;
}

body.bgt-product-category-archive .bgt-category-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

body.bgt-product-category-archive .bgt-category-pagination li {
  margin: 0;
  padding: 0;
  border: 0;
}

body.bgt-product-category-archive .bgt-category-pagination .page-numbers a,
body.bgt-product-category-archive .bgt-category-pagination .page-numbers span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--bgt-cat-ink) !important;
  background: #fff;
  border: 1px solid #dbe5ea;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 750;
}

body.bgt-product-category-archive .bgt-category-pagination .current,
body.bgt-product-category-archive .bgt-category-pagination a:hover {
  color: #fff !important;
  background: var(--bgt-cat-blue) !important;
  border-color: var(--bgt-cat-blue) !important;
}

body.bgt-product-category-archive .bgt-category-empty {
  padding: 46px;
  border-radius: 22px;
  text-align: center;
  background: #fff;
  border: 1px solid #dfe8ed;
}

body.bgt-product-category-archive .bgt-category-empty h3 {
  margin: 0;
  color: var(--bgt-cat-ink);
}

body.bgt-product-category-archive .bgt-category-empty p {
  margin: 10px 0 20px;
  color: var(--bgt-cat-muted);
}

@media (max-width: 1100px) {
  body.bgt-product-category-archive .bgt-category-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    gap: 38px;
  }

  body.bgt-product-category-archive .bgt-category-assurance__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.bgt-product-category-archive .bgt-category-assurance__item:nth-child(3) {
    border-right: 0;
  }

  body.bgt-product-category-archive .bgt-category-assurance__item:nth-child(n+4) {
    border-top: 1px solid #e5ecef;
  }
}

@media (max-width: 900px) {
  body.bgt-product-category-archive .bgt-category-hero {
    padding: 48px 0 72px;
  }

  body.bgt-product-category-archive .bgt-category-hero__inner {
    grid-template-columns: 1fr;
  }

  body.bgt-product-category-archive .bgt-category-hero__media {
    max-width: 660px;
  }

  body.bgt-product-category-archive .bgt-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.bgt-product-category-archive .bgt-category-hero__inner,
  body.bgt-product-category-archive .bgt-category-assurance,
  body.bgt-product-category-archive .bgt-category-catalogue__inner {
    width: calc(100% - 28px);
  }

  body.bgt-product-category-archive .bgt-category-hero {
    padding: 38px 0 64px;
  }

  body.bgt-product-category-archive .bgt-category-hero h1 {
    font-size: clamp(34px, 11vw, 50px);
  }

  body.bgt-product-category-archive .bgt-category-hero__copy > p {
    font-size: 15px;
  }

  body.bgt-product-category-archive .bgt-category-hero__actions {
    flex-direction: column;
  }

  body.bgt-product-category-archive .bgt-category-button {
    width: 100%;
  }

  body.bgt-product-category-archive .bgt-category-hero__image {
    height: 220px;
  }

  body.bgt-product-category-archive .bgt-category-assurance {
    margin-top: -34px;
  }

  body.bgt-product-category-archive .bgt-category-assurance__inner {
    grid-template-columns: 1fr 1fr;
  }

  body.bgt-product-category-archive .bgt-category-assurance__item {
    border-right: 1px solid #e5ecef;
    border-top: 1px solid #e5ecef;
  }

  body.bgt-product-category-archive .bgt-category-assurance__item:nth-child(1),
  body.bgt-product-category-archive .bgt-category-assurance__item:nth-child(2) {
    border-top: 0;
  }

  body.bgt-product-category-archive .bgt-category-assurance__item:nth-child(even) {
    border-right: 0;
  }

  body.bgt-product-category-archive .bgt-category-assurance__item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  body.bgt-product-category-archive .bgt-category-catalogue {
    padding: 72px 0 74px;
  }

  body.bgt-product-category-archive .bgt-category-catalogue__head {
    display: block;
  }

  body.bgt-product-category-archive .bgt-category-catalogue__count {
    width: max-content;
    margin-top: 18px;
  }

  body.bgt-product-category-archive .bgt-category-grid {
    grid-template-columns: 1fr;
  }

  body.bgt-product-category-archive .bgt-category-card__image {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bgt-product-category-archive .bgt-category-card {
    animation: none !important;
  }

  body.bgt-product-category-archive .bgt-category-card,
  body.bgt-product-category-archive .bgt-category-card__image img,
  body.bgt-product-category-archive .bgt-category-card__image::after,
  body.bgt-product-category-archive .bgt-category-card__arrow {
    transition: none !important;
  }
}

/* Elementor-hosted all-products archive page. */
body.bgt-wholesale-archive-page .elementor-widget-bgt-wholesale-archive,
body.bgt-wholesale-archive-page .elementor-widget-bgt-wholesale-archive > .elementor-widget-container,
body.bgt-wholesale-archive-page .bgt-wholesale-archive {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.bgt-wholesale-archive-page .bgt-category-assurance__icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
