/* Disruptive Templates - collection (product archive) pages.
   Dark hero to match the homepage, then a light grid so the black cards read. */

/* ---------- hero ---------- */
.dt-ah {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dt-black); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.dt-ah__glow { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(130px); }
.dt-ah__glow--a { top: -240px; left: -160px; width: 620px; height: 620px; background: rgba(0, 153, 51, .14); }
.dt-ah__glow--b { bottom: -260px; right: -120px; width: 520px; height: 520px; background: rgba(0, 224, 80, .08); }
.dt-ah__inner { position: relative; z-index: 1; }

.dt-ah__crumbs { margin: 0 0 clamp(18px, 2.4vw, 30px); font-size: .8125rem; }
.dt-ah__crumbs,
.dt-ah__crumbs * { color: rgba(255, 255, 255, .5); }
.dt-ah .dt-ah__crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.dt-ah .dt-ah__crumbs a:hover { color: #00e050; text-decoration: none; }

.dt-ah__eyebrow {
  font-family: var(--dt-font-body); font-size: var(--dt-fs-xs); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: #00e050; margin: 0 0 12px;
}
.dt-ah .dt-ah__h {
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem); font-weight: 700;
  letter-spacing: -.032em; line-height: 1.05; margin: 0 0 16px; color: #fff; max-width: 20ch;
}
.dt-ah__sub {
  font-size: 1rem; line-height: 1.68; color: rgba(255, 255, 255, .64);
  margin: 0 0 clamp(24px, 3vw, 36px); max-width: 66ch;
}

.dt-ah__facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; list-style: none; margin: 0; padding: 0;
}
.dt-ah__facts li {
  display: flex; align-items: center; gap: 11px; margin: 0;
  font-size: .875rem; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, .88);
}
.dt-ah__ico {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(0, 224, 80, .12); border: 1px solid rgba(0, 224, 80, .3); color: #00e050;
}
.dt-ah__ico svg { width: 19px; height: 19px; display: block; }
/* ---------- toolbar ---------- */
.dt-ag { background: var(--dt-bg-alt); border-bottom: 1px solid var(--dt-rule); }
.dt-ag__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; }
.dt-ag__search { position: relative; flex: 1 1 300px; min-width: 0; }
.dt-ag__search svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--dt-text-3); pointer-events: none;
}
.dt-ag .dt-ag__search input {
  width: 100%; min-height: 50px; padding: 13px 16px 13px 42px;
  font-family: var(--dt-font-body); font-size: .9375rem; color: var(--dt-black);
  background: var(--dt-paper); border: 1px solid var(--dt-rule);
  border-radius: var(--dt-r-full); transition: border-color var(--dt-dur) var(--dt-ease);
}
.dt-ag .dt-ag__search input:focus { outline: none; border-color: var(--dt-black); }
.dt-ag .dt-ag__sort select {
  min-height: 50px; padding: 13px 18px; font-family: var(--dt-font-body);
  font-size: .875rem; font-weight: 700; color: var(--dt-black);
  background: var(--dt-paper); border: 1px solid var(--dt-rule);
  border-radius: var(--dt-r-full); cursor: pointer;
}

.dt-ag__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.dt-ag .dt-ag__chip {
  padding: 8px 15px; border: 1px solid var(--dt-rule); border-radius: var(--dt-r-full);
  background: var(--dt-paper); color: var(--dt-text-2);
  font-family: var(--dt-font-body); font-size: .8125rem; font-weight: 700;
  cursor: pointer; transition: background 180ms var(--dt-ease), color 180ms var(--dt-ease), border-color 180ms var(--dt-ease);
}
.dt-ag .dt-ag__chip:hover { border-color: var(--dt-black); color: var(--dt-black); }
.dt-ag .dt-ag__chip[aria-pressed="true"] { background: var(--dt-black); border-color: var(--dt-black); color: #00e050; }

.dt-ag__count { margin: 0 0 clamp(18px, 2.2vw, 26px); font-size: .8125rem; font-weight: 700; color: var(--dt-text-3); }
.dt-ag__empty { margin: 24px 0 0; font-size: .9375rem; color: var(--dt-text-2); }

/* ---------- cards ---------- */
.dt-ag__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; list-style: none; margin: 0; padding: 0;
}
.dt-pc { margin: 0; min-width: 0; }
.dt-pc__card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--dt-black); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px; overflow: hidden;
  transition: transform 380ms cubic-bezier(.22, 1.15, .36, 1),
              border-color 260ms var(--dt-ease), box-shadow 380ms var(--dt-ease);
}
.dt-pc:hover .dt-pc__card {
  transform: translateY(-6px); border-color: rgba(0, 224, 80, .55);
  box-shadow: 0 30px 52px -30px rgba(0, 224, 80, .5);
}
.dt-pc__media {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(160deg, #232321, #17171a);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.dt-pc__mock {
  width: 100%; height: 100%; display: block;
  transition: transform 520ms cubic-bezier(.22, 1.15, .36, 1);
}
.dt-pc:hover .dt-pc__mock { transform: scale(1.04) translateY(-2px); }
.dt-pc__badge {
  position: absolute; top: 10px; left: 10px; padding: 5px 10px;
  border-radius: var(--dt-r-full); background: rgba(0, 224, 80, .16);
  border: 1px solid rgba(0, 224, 80, .38); color: #00e050;
  font-size: .625rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}

/* Cart control. Collapsed to a circle, opening to a label on hover, which is
   the pattern the reference stores use. */
.dt-ag a.dt-pc__add,
.dt-ag a.dt-pc__add:hover { text-decoration: none; }
.dt-pc__add {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0;
  height: 42px; width: 42px; padding: 0; overflow: hidden;
  border-radius: var(--dt-r-full); background: #00e050; color: var(--dt-black);
  font-family: var(--dt-font-body); font-size: .8125rem; font-weight: 800;
  box-shadow: 0 10px 22px -12px rgba(0, 224, 80, .9);
  transition: width 300ms cubic-bezier(.22, 1.15, .36, 1), gap 300ms cubic-bezier(.22, 1.15, .36, 1),
              padding 300ms cubic-bezier(.22, 1.15, .36, 1), background 200ms var(--dt-ease);
}
.dt-pc__add svg { flex: 0 0 auto; width: 18px; height: 18px; margin: 0 12px; }
.dt-pc__add span { white-space: nowrap; opacity: 0; transition: opacity 200ms var(--dt-ease); }
.dt-pc:hover .dt-pc__add,
.dt-pc__add:focus-visible { width: 116px; padding-right: 16px; }
.dt-pc:hover .dt-pc__add span,
.dt-pc__add:focus-visible span { opacity: 1; }
.dt-pc__add:hover { background: #fff; }

.dt-pc__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 18px 18px 20px; }
.dt-ag .dt-pc__t {
  font-family: var(--dt-font-body); font-size: 1rem; font-weight: 700;
  line-height: 1.32; letter-spacing: -.008em; margin: 0 0 8px;
}
.dt-ag .dt-pc__t a,
.dt-ag .dt-pc__t a:hover { color: #fff; text-decoration: none; }
.dt-pc:hover .dt-pc__t a { color: #00e050; }

.dt-pc__rate { display: flex; align-items: center; gap: 2px; margin: 0 0 10px; }
.dt-pc__rate svg { width: 15px; height: 15px; display: block; fill: rgba(255, 255, 255, .18); }
.dt-pc__rate svg.is-on { fill: #00e050; }
.dt-pc__rate span {
  margin-left: 8px; font-size: .75rem; color: rgba(255, 255, 255, .58);
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .28);
}

.dt-pc__d { font-size: .78125rem; line-height: 1.5; color: rgba(255, 255, 255, .55); margin: 0 0 14px; }
.dt-pc__price { margin: auto 0 0; font-size: .75rem; color: rgba(255, 255, 255, .5); }
.dt-pc__price strong { font-size: 1.0625rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
/* ---------- FAQ ---------- */
.dt-af { background: var(--dt-paper); }
.dt-af__eyebrow {
  font-family: var(--dt-font-body); font-size: var(--dt-fs-xs); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--dt-accent); margin: 0 0 12px;
}
.dt-af .dt-af__h {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); font-weight: 700;
  letter-spacing: -.028em; line-height: 1.12; margin: 0 0 clamp(20px, 2.4vw, 30px); color: var(--dt-black);
}
.dt-af__item { border-bottom: 1px solid var(--dt-rule); }
.dt-af .dt-af__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 17px 2px; cursor: pointer; list-style: none;
  font-family: var(--dt-font-display); font-size: 1.0625rem; font-weight: 600;
  line-height: 1.4; letter-spacing: -.012em; color: var(--dt-black);
  transition: color 200ms var(--dt-ease);
}
.dt-af .dt-af__q::-webkit-details-marker { display: none; }
.dt-af .dt-af__q:hover { color: var(--dt-accent); }
.dt-af__q svg {
  flex: 0 0 auto; width: 19px; height: 19px; margin-top: 3px; display: block;
  color: var(--dt-accent); transition: transform 300ms cubic-bezier(.22, 1.15, .36, 1);
}
.dt-af__item[open] .dt-af__q svg { transform: rotate(135deg); }
.dt-af__a { padding: 0 2px 20px; max-width: 78ch; }
.dt-af__a p { font-size: .9375rem; line-height: 1.72; color: var(--dt-text-2); margin: 0; }
.dt-af__more { margin: clamp(22px, 2.6vw, 32px) 0 0; }
.dt-af a { color: var(--dt-green-dark); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(0, 153, 51, .3); }
.dt-af a:hover { color: var(--dt-accent); border-bottom-color: var(--dt-accent); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .dt-ah__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .dt-ag__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dt-ah .dt-ah__h { font-size: 1.85rem; max-width: none; }
  .dt-ah__sub { font-size: .9375rem; }
  .dt-ah__facts { grid-template-columns: 1fr; gap: 11px; }
  .dt-ah__ico { width: 34px; height: 34px; border-radius: 10px; }
  .dt-ah__ico svg { width: 17px; height: 17px; }
  .dt-ag__bar { gap: 10px; }
  .dt-ag .dt-ag__sort select { width: 100%; }
  .dt-ag__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dt-pc__body { padding: 13px 13px 15px; }
  .dt-ag .dt-pc__t { font-size: .8125rem; }
  .dt-pc__d { display: none; }
  .dt-pc__price strong { font-size: .9375rem; }
  .dt-pc__add { width: 36px; height: 36px; right: 9px; bottom: 9px; }
  .dt-pc__add svg { width: 16px; height: 16px; margin: 0 11px; }
  .dt-pc:hover .dt-pc__add { width: 38px; padding-right: 0; }
  .dt-pc:hover .dt-pc__add span { opacity: 0; }
  .dt-af .dt-af__q { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dt-pc__card, .dt-pc__mock, .dt-pc__add, .dt-pc__add span, .dt-ag__chip, .dt-af__q svg { transition: none !important; }
}
/* Astra constrains archive content to .ast-container. These pages are built
   full bleed, section by section, exactly like the homepage. */
body.tax-product_cat .site-content > .ast-container,
body.tax-product_field .site-content > .ast-container,
body.tax-product_level .site-content > .ast-container,
body.post-type-archive-product .site-content > .ast-container {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.tax-product_cat .site-content .ast-container > .elementor,
.tax-product_field .site-content .ast-container > .elementor,
.tax-product_level .site-content .ast-container > .elementor,
.post-type-archive-product .site-content .ast-container > .elementor { width: 100%; }

/* The title carries a stretched link, so the whole card is clickable without
   nesting an anchor inside another anchor. The cart control sits above it. */
.dt-ag .dt-pc__t a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}
.dt-pc__add { z-index: 4; }
.dt-pc__body { position: relative; z-index: 1; }

/* Three across on desktop, dropping to two before the cards get cramped. */
@media (max-width: 900px) {
  .dt-ag__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

/* --------------------------------------------------------------------------
   Catalogue hub cards

   Used on the industries, fields and career level hubs. Same container as the
   hero above them, which is what keeps the two grids aligned on wide screens.
   -------------------------------------------------------------------------- */
.dt-hbs { background: var(--dt-bg-alt); border-bottom: 1px solid var(--dt-rule); }

.dt-hb__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; list-style: none; margin: 0; padding: 0;
}
.dt-hb { margin: 0; min-width: 0; }

.dt-hb__card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 26px 24px 24px;
  background: var(--dt-paper); border: 1px solid var(--dt-rule); border-radius: 20px;
  transition: transform 380ms cubic-bezier(.22, 1.15, .36, 1),
              border-color 260ms var(--dt-ease), box-shadow 380ms var(--dt-ease);
}
.dt-hb:hover .dt-hb__card {
  transform: translateY(-5px); border-color: var(--dt-black);
  box-shadow: 0 28px 48px -28px rgba(24, 23, 22, .5);
}

.dt-hb__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; margin: 0 0 18px;
  border-radius: 18px; background: var(--dt-green-wash);
  border: 1px solid rgba(0, 153, 51, .2); color: var(--dt-black);
  transition: background 280ms var(--dt-ease), border-color 280ms var(--dt-ease),
              color 280ms var(--dt-ease), transform 420ms cubic-bezier(.22, 1.15, .36, 1);
}
.dt-hb__ico svg { width: 32px; height: 32px; display: block; flex: 0 0 auto; }
.dt-hb:hover .dt-hb__ico {
  background: var(--dt-black); border-color: var(--dt-black);
  color: #00e050; transform: scale(1.06) rotate(-3deg);
}

.dt-hbs .dt-hb__t {
  font-family: var(--dt-font-body); font-size: 1.125rem; font-weight: 700;
  line-height: 1.28; letter-spacing: -.015em; margin: 0 0 6px; color: var(--dt-black);
}
.dt-hbs .dt-hb__t a,
.dt-hbs .dt-hb__t a:hover { color: inherit; text-decoration: none; }
.dt-hbs .dt-hb__t a::after { content: ''; position: absolute; inset: 0; z-index: 1; }

.dt-hb__c {
  margin: 0 0 12px; font-family: var(--dt-font-body);
  font-size: .8125rem; font-weight: 700; color: var(--dt-accent);
}
.dt-hb__d { margin: 0 0 20px; font-size: .875rem; line-height: 1.6; color: var(--dt-text-3); }

.dt-hb__go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  align-self: flex-start; min-height: 44px; padding: 11px 20px;
  border-radius: var(--dt-r-full); background: var(--dt-black); color: #fff;
  font-family: var(--dt-font-body); font-size: .875rem; font-weight: 700;
  transition: background 220ms var(--dt-ease), gap 220ms var(--dt-ease);
}
.dt-hb__go svg { width: 15px; height: 15px; flex: 0 0 auto; display: block; }
.dt-hb:hover .dt-hb__go { background: var(--dt-accent); gap: 12px; }

@media (max-width: 1000px) { .dt-hb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .dt-hb__grid { grid-template-columns: 1fr; gap: 12px; }
  .dt-hb__card { padding: 20px 18px; }
  .dt-hb__ico { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 14px; }
  .dt-hb__ico svg { width: 27px; height: 27px; }
  .dt-hbs .dt-hb__t { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dt-hb__card, .dt-hb__ico, .dt-hb__go { transition: none !important; }
}
/* --------------------------------------------------------------------------
   Catalogue filter rail
   -------------------------------------------------------------------------- */
.dt-shop { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.dt-shop__main { min-width: 0; }

.dt-fl { position: sticky; top: 96px; }
.dt-fl__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--dt-rule); }

.dt-ag .dt-fl__toggle,
.dt-ag .dt-fl__clear {
  display: inline-flex; align-items: center; gap: 8px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--dt-font-body); font-size: .875rem; font-weight: 700; color: var(--dt-black);
  transition: color 180ms var(--dt-ease);
}
.dt-ag .dt-fl__toggle:hover,
.dt-ag .dt-fl__clear:hover { background: none; color: var(--dt-accent); }
.dt-fl__toggle svg { width: 18px; height: 18px; flex: 0 0 auto; }
.dt-fl__clear svg { width: 15px; height: 15px; flex: 0 0 auto; }
.dt-fl__clear[hidden] { display: none; }

.dt-fl__grp { border-bottom: 1px solid var(--dt-rule); }
.dt-ag .dt-fl__h {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--dt-font-body); font-size: .9375rem; font-weight: 700;
  letter-spacing: -.01em; color: var(--dt-black);
}
.dt-ag .dt-fl__h::-webkit-details-marker { display: none; }
.dt-fl__h svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--dt-text-3); transition: transform 260ms var(--dt-ease); }
.dt-fl__grp[open] .dt-fl__h svg { transform: rotate(180deg); }

.dt-fl__list { list-style: none; margin: 0 0 14px; padding: 0; max-height: 268px; overflow-y: auto; scrollbar-width: thin; }
.dt-fl__list li { margin: 0; }

.dt-fl__row {
  display: flex; align-items: center; gap: 10px; padding: 7px 2px; cursor: pointer;
  font-size: .875rem; color: var(--dt-text-2);
  transition: color 160ms var(--dt-ease);
}
.dt-fl__row:hover { color: var(--dt-black); }
.dt-fl__row.is-none { opacity: .42; }
.dt-fl__row input { position: absolute; opacity: 0; width: 0; height: 0; }

.dt-fl__box {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; border: 1.5px solid var(--dt-grey-light); border-radius: 5px;
  background: var(--dt-paper); color: transparent;
  transition: background 160ms var(--dt-ease), border-color 160ms var(--dt-ease), color 160ms var(--dt-ease);
}
.dt-fl__box svg { width: 12px; height: 12px; display: block; }
.dt-fl__row input:checked + .dt-fl__box { background: var(--dt-black); border-color: var(--dt-black); color: #00e050; }
.dt-fl__row input:focus-visible + .dt-fl__box { outline: 2px solid var(--dt-accent); outline-offset: 2px; }
.dt-fl__name { flex: 1 1 auto; min-width: 0; }
.dt-fl__row input:checked ~ .dt-fl__name { font-weight: 700; color: var(--dt-black); }
.dt-fl__n { flex: 0 0 auto; font-size: .75rem; font-weight: 700; color: var(--dt-text-3); }
/* ---------- pagination ---------- */
.dt-pg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: clamp(28px, 3.2vw, 44px) 0 0; }
.dt-pg[hidden] { display: none; }
.dt-ag .dt-pg__b {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; min-height: 46px; padding: 12px 16px;
  border: 1px solid var(--dt-rule); border-radius: var(--dt-r-full);
  background: var(--dt-paper); cursor: pointer;
  font-family: var(--dt-font-body); font-size: .875rem; font-weight: 700; color: var(--dt-black);
  transition: background 180ms var(--dt-ease), border-color 180ms var(--dt-ease), color 180ms var(--dt-ease);
}
.dt-ag .dt-pg__b:hover:not(:disabled) { border-color: var(--dt-black); background: var(--dt-paper); }
.dt-ag .dt-pg__b.is-on { background: var(--dt-black); border-color: var(--dt-black); color: #00e050; }
.dt-ag .dt-pg__b:disabled { opacity: .38; cursor: default; }
.dt-pg__gap { padding: 0 4px; color: var(--dt-text-3); font-weight: 700; }

/* The catalogue keeps its own grid narrower, since the rail takes a column. */
.dt-ag--shop .dt-ag__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1180px) {
  .dt-shop { grid-template-columns: 232px minmax(0, 1fr); }
  .dt-ag--shop .dt-ag__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .dt-shop { grid-template-columns: 1fr; gap: 18px; }
  .dt-fl { position: static; }
  .dt-fl__list { max-height: 220px; }
  .dt-ag--shop .dt-ag__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .dt-fl__grp { border-bottom: 1px solid var(--dt-rule); }
  .dt-ag .dt-fl__h { padding: 14px 0; font-size: .875rem; }
  .dt-ag .dt-pg__b { min-width: 42px; min-height: 42px; padding: 10px 13px; font-size: .8125rem; }
}