/*=============== PRODUCT PAGES ===============*/
.phead,
.phero {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background:
    radial-gradient(800px 420px at 80% 0%, rgba(14, 165, 233, .14), transparent 70%),
    linear-gradient(180deg, #0b1220 0%, var(--darker-color) 100%);
}

.phead__eyebrow {
  display: block;
  color: var(--primary-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.phead__title,
.phero__title {
  color: var(--white-color);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: var(--font-black);
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 820px;
  margin-bottom: 1rem;
}

.phead__text,
.phero__lead {
  color: var(--text-color-light);
  font-size: 1.05rem;
  max-width: 640px;
}

.pcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-bottom: 1.5rem;
}

.pcrumbs a {
  color: var(--text-color);
}

.pcrumbs a:hover {
  color: var(--primary-color);
}

/* Category filter */
.pfilter {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem;
}

.pfilter__chip {
  padding: .5rem 1rem;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 2rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
  transition: border-color .2s, background-color .2s;
}

.pfilter__chip:hover {
  border-color: var(--primary-color);
}

.pfilter__chip--active {
  background-color: rgba(14, 165, 233, .18);
  border-color: var(--primary-color);
  color: var(--white-color);
}

/* Grid and cards */
.plist {
  padding-top: 3rem;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--dark-color);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.pcard:hover {
  border-color: rgba(14, 165, 233, .6);
  transform: translateY(-3px);
}

.pcard__visual {
  display: block;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    #0b1220;
}

.pcard__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.4rem 1.4rem;
}

.pcard__category {
  color: var(--primary-color);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pcard__title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: .35rem 0 .5rem;
}

.pcard__title a {
  color: var(--white-color);
}

.pcard__text {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-bottom: 1rem;
}

.pcard__price {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
}

.pcard__price span,
.phero__price span {
  display: block;
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-regular);
}

.pcard__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.pcard__quick {
  border: none;
  background: none;
  color: var(--primary-color);
  font-family: var(--body-font);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  padding: .5rem 0;
}

.pcard__quick:hover {
  text-decoration: underline;
}

.plist__empty {
  text-align: center;
  color: var(--text-color-light);
  padding: 3rem 0;
}

.plist__empty a {
  color: var(--primary-color);
}

.ppager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  color: var(--text-color);
}

/* Line drawings */
.pvisual {
  display: block;
  width: 100%;
  height: 100%;
}

.pvisual__main {
  fill: rgba(14, 165, 233, .07);
  stroke: #7dd3fc;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.pvisual__detail {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 1.2;
}

.pvisual__flow {
  fill: none;
  stroke: #0ea5e9;
  stroke-width: 2;
  stroke-dasharray: 5 6;
  animation: pvisual-flow 1.4s linear infinite;
}

.pvisual__dust {
  fill: none;
  stroke: #d97706;
  stroke-width: 2;
  stroke-dasharray: 2 4;
}

@keyframes pvisual-flow {
  to { stroke-dashoffset: -22; }
}

@media (prefers-reduced-motion: reduce) {
  .pvisual__flow {
    animation: none;
  }
}

/* Product hero */
.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 3rem;
  align-items: center;
}

.phero__points {
  display: grid;
  gap: .5rem;
  margin: 1.5rem 0;
  color: var(--text-color);
}

.phero__points li,
.pside__list li {
  display: flex;
  gap: .7rem;
  align-items: baseline;
}

.phero__points i,
.pside__list i {
  color: var(--primary-color);
  font-size: .8rem;
}

.phero__price {
  color: var(--white-color);
  font-size: 1.6rem;
  font-weight: var(--font-bold);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.5rem;
}

.phero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.phero__actions .btn,
.pside__btn,
.pbar__btn,
.phelp__btn {
  border: none;
  cursor: pointer;
  font-family: var(--body-font);
}

.phero__actions a.btn--outline,
.phero__actions button.btn--outline {
  border: 2px solid rgba(148, 163, 184, .5);
}

.phero__note {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-top: 1.25rem;
}

.phero__note a {
  color: var(--primary-color);
}

.phero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 1rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    rgba(15, 23, 42, .7);
}

.phero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phero__visual-note {
  position: absolute;
  left: 1rem;
  bottom: .75rem;
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
}

/* Sticky price bar */
.pbar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: calc(var(--z-fixed) - 1);
  background: rgba(15, 23, 42, .96);
  border-bottom: 1px solid rgba(148, 163, 184, .2);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}

.pbar--visible {
  transform: translateY(0);
  visibility: visible;
}

.pbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.pbar__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
  min-width: 0;
}

.pbar__name strong {
  color: var(--white-color);
}

.pbar__name span {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  font-variant-numeric: tabular-nums;
}

.pbar__btn {
  padding: .6rem 1.4rem;
  white-space: nowrap;
}

/* Sections */
.psection--alt {
  background-color: var(--dark-color);
}

.psection__title {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.psection__intro {
  color: var(--text-color-light);
  max-width: 640px;
  margin-bottom: 2rem;
}

.pbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3rem;
  align-items: start;
}

.pbody__main .psection__title:not(:first-child) {
  margin-top: 3rem;
}

.prich {
  color: var(--text-color);
  line-height: 1.7;
  max-width: 68ch;
}

.prich h3,
.prich h4 {
  color: var(--white-color);
  font-size: 1.15rem;
  margin: 1.75rem 0 .6rem;
}

.prich h3:first-child {
  margin-top: 0;
}

.prich p {
  margin-bottom: 1rem;
}

.prich ul,
.prich ol {
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}

.prich li {
  margin-bottom: .35rem;
}

.prich table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.prich th,
.prich td {
  text-align: left;
  padding: .6rem .75rem;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.prich th {
  color: var(--white-color);
}

.pgallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.pgallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .6rem;
}

.pbody__side {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header-height) + 5rem);
}

.pside {
  background: var(--dark-color);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 1rem;
  padding: 1.5rem;
}

.pside__title {
  color: var(--white-color);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.pside__list {
  display: grid;
  gap: .6rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.pside__steps {
  display: grid;
  gap: .9rem;
  margin: 0 0 1.25rem 1.1rem;
  list-style: decimal;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.pside__steps strong {
  display: block;
  color: var(--text-color);
}

.pside__btn {
  width: 100%;
}

/* Help band */
.phelp {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #075985, #0c4a6e);
}

.phelp__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.phelp__title {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

.phelp__text {
  color: #e0f2fe;
  max-width: 520px;
}

.phelp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.phelp__btn {
  background: var(--white-color);
  color: #075985;
}

@media screen and (max-width: 960px) {
  .phero__grid,
  .pbody {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .phero__visual {
    order: -1;
    max-width: 520px;
  }

  .pbody__side {
    position: static;
  }
}

@media screen and (max-width: 600px) {
  .phead,
  .phero {
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .phero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .pbar__name span {
    display: none;
  }
}

/*=============== APPLICATIONS ===============*/
.ahead__actions {
  margin-top: 2rem;
}

.acard,
.apps-strip__card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.5rem;
  background: var(--dark-color);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 1rem;
  transition: border-color .2s, transform .2s;
}

.acard:hover,
.apps-strip__card:hover {
  border-color: rgba(14, 165, 233, .6);
  transform: translateY(-3px);
}

.acard__title {
  color: var(--white-color);
  font-size: 1.2rem;
  line-height: 1.3;
}

.acard__text {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  flex: 1;
}

.acard__more {
  color: var(--primary-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
}

.apps-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.apps-strip__card {
  background: var(--darker-color);
  padding: 1.25rem;
}

.apps-strip__card strong {
  color: var(--white-color);
}

.apps-strip__card span {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.afaq {
  max-width: 820px;
}

.afaq__item {
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  padding: 1rem 0;
}

.afaq__item summary {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  cursor: pointer;
}

.afaq__item p {
  color: var(--text-color);
  margin-top: .75rem;
  line-height: 1.7;
}

.alinks {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.pside__links {
  display: grid;
  gap: .5rem;
  font-size: var(--small-font-size);
}

.pside__links a {
  color: var(--primary-color);
}

.pside__links a:hover {
  text-decoration: underline;
}

/*=============== LOCATIONS ===============*/
.lstate {
  margin-top: 2.5rem;
}

.lstate:first-child {
  margin-top: 0;
}

.lnote {
  color: var(--text-color-light);
  margin-top: 3rem;
}

.lnote a {
  color: var(--primary-color);
}

div.acard:hover {
  transform: none;
  border-color: rgba(148, 163, 184, .16);
}

/*=============== ARTICLES ===============*/
.particle {
  max-width: none;
}

.particle h2 {
  color: var(--white-color);
  font-size: 1.35rem;
  margin: 2rem 0 .75rem;
}

.particle a {
  color: var(--primary-color);
  text-decoration: underline;
}

.particle strong {
  color: var(--white-color);
}
