:root {
  --apex-bundle-bg: #0a0a0b;
  --apex-bundle-surface: #121214;
  --apex-bundle-line: #343033;
  --apex-bundle-copy: #f4f1ee;
  --apex-bundle-muted: #aaa4a1;
  --apex-bundle-red: #e3333d;
}

.apex-bundle-hero {
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 0 0 34px;
  padding: 30px 0 32px;
  border-top: 4px solid var(--apex-bundle-red);
  border-bottom: 1px solid var(--apex-bundle-line);
  color: var(--apex-bundle-copy);
}

.apex-bundle-hero > span,
.apex-bundle-details__header > span,
.apex-bundle-architecture span {
  color: var(--apex-bundle-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.apex-bundle-hero h2,
.apex-bundle-details h2,
.apex-bundle-component h3 {
  margin: 0;
  color: var(--apex-bundle-copy);
  line-height: 1.05;
}

.apex-bundle-hero h2 {
  max-width: 880px;
  font-size: clamp(34px, 5.5vw, 66px);
  text-transform: uppercase;
}

.apex-bundle-hero > p {
  max-width: 780px;
  margin: 0;
  color: var(--apex-bundle-muted);
  font-size: 16px;
  line-height: 1.65;
}

.apex-bundle-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.apex-bundle-hero__facts b {
  padding: 8px 10px;
  border: 1px solid var(--apex-bundle-line);
  border-radius: 3px;
  background: var(--apex-bundle-surface);
  color: var(--apex-bundle-copy);
  font-size: 11px;
}

.products li.product {
  position: relative;
}

.apex-bundle-card-badge {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 3px;
  background: var(--apex-bundle-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.apex-bundle-single-badge {
  display: grid;
  gap: 4px;
  margin: 0 0 13px;
  padding-left: 12px;
  border-left: 3px solid var(--apex-bundle-red);
}

.apex-bundle-single-badge span {
  color: var(--apex-bundle-red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.apex-bundle-single-badge b {
  color: var(--apex-bundle-copy);
  font-size: 13px;
}

.apex-bundle-details {
  clear: both;
  display: grid;
  gap: 28px;
  width: 100%;
  margin: 42px 0 24px;
  padding: 38px 0;
  border-top: 1px solid var(--apex-bundle-line);
  border-bottom: 1px solid var(--apex-bundle-line);
}

.apex-bundle-details__header {
  display: grid;
  gap: 10px;
  max-width: 780px;
}

.apex-bundle-details__header h2 {
  font-size: clamp(29px, 4vw, 48px);
  text-transform: uppercase;
}

.apex-bundle-details__header p {
  margin: 0;
  color: var(--apex-bundle-muted);
  line-height: 1.65;
}

.apex-bundle-components {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--apex-bundle-line);
  border-left: 1px solid var(--apex-bundle-line);
}

.apex-bundle-component {
  display: grid;
  grid-template-rows: 220px 1fr;
  min-width: 0;
  border-right: 1px solid var(--apex-bundle-line);
  border-bottom: 1px solid var(--apex-bundle-line);
  background: var(--apex-bundle-surface);
}

.apex-bundle-component__image {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
  background: #f4f4f1;
}

.apex-bundle-component__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.apex-bundle-component > div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 18px;
}

.apex-bundle-component span {
  color: var(--apex-bundle-red);
  font-size: 10px;
  font-weight: 800;
}

.apex-bundle-component h3 {
  font-size: 18px;
}

.apex-bundle-component h3 a {
  color: inherit;
  text-decoration: none;
}

.apex-bundle-component b,
.apex-bundle-component .woocommerce-Price-amount {
  color: var(--apex-bundle-copy);
  font-size: 17px;
}

.apex-bundle-architecture {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--apex-bundle-line);
  border-bottom: 1px solid var(--apex-bundle-line);
}

.apex-bundle-architecture > div {
  padding: 22px;
}

.apex-bundle-architecture > div + div {
  border-left: 1px solid var(--apex-bundle-line);
}

.apex-bundle-architecture p {
  margin: 8px 0 0;
  color: var(--apex-bundle-copy);
  font-size: 14px;
  line-height: 1.6;
}

.apex-bundle-copy__list {
  display: grid;
  gap: 0;
  margin: 18px 0 28px !important;
  padding: 0 !important;
  border-top: 1px solid var(--apex-bundle-line);
  list-style: none !important;
}

.apex-bundle-copy__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin: 0 !important;
  padding: 14px 0;
  border-bottom: 1px solid var(--apex-bundle-line);
}

.apex-bundle-copy__list a {
  color: var(--apex-bundle-copy);
}

.apex-bundle-copy__list span {
  color: var(--apex-bundle-muted);
  font-size: 12px;
}

.apex-bundle-copy__list b {
  color: var(--apex-bundle-copy);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .apex-bundle-components { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apex-bundle-architecture { grid-template-columns: 1fr; }
  .apex-bundle-architecture > div + div { border-top: 1px solid var(--apex-bundle-line); border-left: 0; }
}

@media (max-width: 560px) {
  .apex-bundle-hero { padding-top: 23px; }
  .apex-bundle-hero__facts { display: grid; grid-template-columns: 1fr 1fr; }
  .apex-bundle-components { grid-template-columns: 1fr; }
  .apex-bundle-component { grid-template-columns: 132px 1fr; grid-template-rows: minmax(150px, auto); }
  .apex-bundle-component__image { min-height: 150px; }
  .apex-bundle-component > div { padding: 15px; }
  .apex-bundle-copy__list li { grid-template-columns: 1fr auto; gap: 5px 12px; }
  .apex-bundle-copy__list span { grid-column: 1; }
  .apex-bundle-copy__list b { grid-column: 2; grid-row: 1 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  .apex-bundle-details *,
  .apex-bundle-hero * { transition: none !important; }
}
