:root {
  --black: #001616;
  --panel: #0a2626;
  --panel-2: #123333;
  --paper: #05100f;
  --ink: #9fe8da;
  --bright: #39ffd1;
  --muted: #4a8a80;
  --accent: #ff3366;
  --purple: #b366ff;
  --blue: #4da3ff;
  --danger: #ff5f5f;
  --line: rgba(57, 255, 209, 0.28);
  --max-width: 4000px;
  --crt-gutter: clamp(14px, 2.5vw, 34px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  line-height: 1.5;
}

button,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--bright);
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.region-banner {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #c0c0c0;
  color: #000;
  text-align: center;
  font-size: clamp(0.82rem, 1.5vw, 1.1rem);
}

.region-banner a {
  color: var(--blue);
  text-decoration: underline;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(1rem, 2.4vw, 2rem) clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--bright);
  font-size: clamp(1rem, 2.4vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.78;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.4vw, 2.5rem);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  text-transform: lowercase;
}

.site-header nav a,
.cart-trigger {
  border-bottom: 1px solid transparent;
}

.site-header nav a:hover,
.cart-trigger:hover {
  border-bottom-color: var(--purple);
}

.cart-trigger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-transform: lowercase;
}

.cart-trigger span {
  display: grid;
  min-width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid var(--purple);
  border-radius: 999px;
  color: var(--bright);
  font-size: 0.78rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-intro,
.shop-section {
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.product-page,
.cart-page,
.payment-result,
.content-page {
  width: 75%;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.shop-intro {
  padding-top: clamp(3rem, 8vw, 8rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.shop-intro h1,
.page-heading h1,
.product-detail h1,
.payment-result h1 {
  margin: 0;
  text-align: left;
  color: var(--bright);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: lowercase;
  text-shadow: 3px 0 var(--accent), -3px 0 var(--blue), 0 0 22px rgba(57, 255, 209, 0.5);
}

.content-page {
  min-height: 68vh;
  padding-top: clamp(2.5rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.content-page > h1 {
  max-width: 1100px;
  margin: 0 0 clamp(2rem, 5vw, 5rem);
  text-align: left;
  color: var(--bright);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: lowercase;
  text-shadow: 3px 0 var(--accent), -3px 0 var(--blue), 0 0 22px rgba(57, 255, 209, 0.5);
}

.content-page__intro,
.content-page__prose {
  max-width: 900px;
  margin-inline: auto;
}

.content-page__prose,
.content-page__intro,
.faq-list p,
.warranty-block p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.content-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.content-links a,
.download-grid a {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--accent);
  color: var(--bright);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.faq-list section,
.warranty-block {
  padding: clamp(1.1rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: var(--panel);
}

.faq-list h2,
.warranty-block h2 {
  margin: 0 0 0.8rem;
  color: var(--bright);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 500;
}

.warranty-block {
  margin-top: 0.7rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 2rem;
}

.manual-revision .download-grid {
  margin-top: 0.6rem;
}

.shop-intro > p:not(.eyebrow) {
  max-width: 720px;
  margin: 1.4rem 0 0;
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.shop-section {
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.product-filters {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.3rem 0 1rem;
  scrollbar-color: var(--accent) transparent;
}

.product-filters button {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
}

.product-filters button:hover,
.product-filters button.active {
  border-color: var(--purple);
  background: rgba(179, 102, 255, 0.09);
  color: var(--bright);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
  justify-content: center;
  gap: 0.7rem;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(179, 102, 255, 0.62);
  background: var(--panel);
}

.product-card__media-link {
  display: block;
  border-bottom: 1px solid rgba(179, 102, 255, 0.35);
}

.product-media {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  place-items: center;
  background: var(--paper);
}

.product-media img {
  display: block;
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.product-media--compact {
  width: 74px;
  min-width: 74px;
  aspect-ratio: 1;
}

.product-card__body {
  display: flex;
  min-height: 260px;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem;
}

.product-card__category {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 0;
  color: var(--bright);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.product-card__body > div > p:not(.product-card__category) {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-card__footer > strong {
  color: var(--bright);
  white-space: nowrap;
}

.primary-button,
.secondary-button,
.paypal-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--bright);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  text-transform: lowercase;
}

.primary-button {
  padding: 0.85rem 1.15rem;
  background: var(--accent);
}

.secondary-button {
  padding: 0.55rem 0.7rem;
}

.primary-button:hover,
.secondary-button:hover {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

button:disabled,
.primary-button:disabled,
.paypal-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.status-chip {
  padding: 0.25rem 0.45rem;
  border: 1px dashed var(--danger);
  color: var(--danger);
  font-size: 0.66rem;
  text-align: center;
  text-transform: uppercase;
}

.product-page {
  min-height: 68vh;
  padding-top: max(0px, calc(clamp(2.5rem, 6vw, 6rem) - 4.75rem));
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.product-gallery__item {
  display: grid;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: none;
  background: transparent;
}

.product-gallery__item:first-child,
.product-gallery__item:has(video) {
  grid-column: 1 / -1;
}

.product-gallery__item img,
.product-gallery__item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery__item video {
  background: #000;
}

.product-detail__content {
  padding-top: clamp(0rem, 3vw, 3rem);
}

.product-detail h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 7rem);
}

.product-summary {
  max-width: 680px;
  margin: 1.5rem 0 2rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.availability-note {
  display: inline-block;
  margin: 0 0 1.4rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--accent);
  color: var(--bright);
  font-size: 0.78rem;
}

.product-features {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.product-features li::before {
  content: "✪";
  margin-right: 0.6rem;
  color: var(--purple);
}

.product-configurator {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.option-field {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 1rem;
}

.option-field span {
  color: var(--bright);
  font-size: 0.88rem;
}

.option-field select {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--black);
}

.buy-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.buy-row > div {
  display: grid;
}

.buy-row small {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.buy-row strong {
  color: var(--bright);
  font-size: 1.5rem;
}

.product-detail__notes {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.86rem;
}

.product-detail__notes p {
  margin: 0.4rem 0;
}

.product-information {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(2rem, 6vw, 7rem);
  margin-top: clamp(3rem, 7vw, 7rem);
  padding-top: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.product-information > div > p:not(.eyebrow) {
  max-width: 900px;
  white-space: pre-line;
}

.product-manuals {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.product-manuals a {
  border-bottom: 1px solid var(--accent);
  color: var(--bright);
}

.cart-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.78);
}

.cart-drawer {
  display: grid;
  width: min(100%, 580px);
  height: 100%;
  grid-template-rows: auto 1fr auto;
  border-left: 1px solid var(--purple);
  background: var(--panel);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.45);
}

.cart-drawer__header,
.cart-drawer__footer {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cart-drawer__header h2,
.order-summary h2,
.empty-cart h2 {
  margin: 0;
  color: var(--bright);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 1.8rem;
}

.cart-drawer__body {
  overflow-y: auto;
  padding: 0 1.25rem;
}

.drawer-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.drawer-line__details {
  min-width: 0;
}

.drawer-line__details > a {
  display: block;
  color: var(--bright);
  font-weight: 700;
}

.drawer-line__details small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-line > strong {
  color: var(--bright);
  font-size: 0.86rem;
  white-space: nowrap;
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.quantity-row button:not(.remove-line) {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.remove-line,
.text-button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
}

.cart-drawer__footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-drawer__footer .primary-button {
  width: 100%;
  margin-top: 1rem;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.summary-row strong {
  color: var(--ink);
}

.summary-row--total {
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--bright);
  font-size: 1.1rem;
}

.summary-row--total strong {
  color: var(--bright);
}

.empty-cart {
  display: grid;
  min-height: 260px;
  place-content: center;
  justify-items: start;
}

.empty-cart p {
  color: var(--muted);
}

.cart-page {
  min-height: 68vh;
  padding-top: max(0px, calc(clamp(2.5rem, 6vw, 6rem) - 1.75rem));
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.page-heading {
  margin-bottom: 2rem;
}

.page-heading h1 {
  font-size: clamp(3rem, 7vw, 7rem);
}

.notice {
  padding: 0.8rem 1rem;
  border: 1px solid var(--accent);
  background: rgba(130, 98, 78, 0.13);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.cart-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.cart-line__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
}

.cart-line h2 {
  margin: 0;
  color: var(--bright);
  font-size: 1.3rem;
}

.cart-line p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.cart-line__price {
  color: var(--bright);
  white-space: nowrap;
}

.quantity-row--large > span {
  margin-right: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.order-summary {
  position: sticky;
  top: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--purple);
  background: var(--panel);
}

.order-summary h2 {
  margin-bottom: 1.3rem;
}

.checkout-warning,
.checkout-note {
  padding: 0.7rem;
  border: 1px dashed var(--danger);
  color: var(--danger);
  font-size: 0.76rem;
}

.checkout-note {
  border-color: var(--accent);
  color: var(--muted);
}

.paypal-button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-color: #ffc439;
  background: #ffc439;
  color: #101010;
}

.secure-note {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.empty-cart--page {
  min-height: 380px;
  border-top: 1px solid var(--line);
}

.empty-cart--page .primary-button {
  margin-top: 1rem;
}

.payment-result {
  display: grid;
  min-height: 68vh;
  place-content: center;
  justify-items: start;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.payment-result h1 {
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 7rem);
}

.payment-result > p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.1rem;
}

.payment-result .primary-button {
  margin-top: 1rem;
}

.test-order-reference {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem !important;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 75%;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer,
  .catalogue-page,
  .product-page,
  .cart-page,
  .payment-result,
  .content-page {
    width: 100%;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .cart-trigger {
    justify-self: end;
  }

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

  .product-detail,
  .product-information,
  .cart-layout,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .region-banner {
    padding-block: 0.55rem;
  }

  .site-header {
    gap: 1rem;
  }

  .site-header nav {
    margin-inline: -1rem;
    padding: 0 1rem 0.25rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .product-card__body {
    min-height: 220px;
  }

  .product-filters {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .product-detail {
    gap: 1.5rem;
  }

  .option-field {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .buy-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-line {
    grid-template-columns: auto 1fr;
  }

  .cart-line__price {
    grid-column: 2;
  }

  .drawer-line {
    grid-template-columns: auto 1fr;
  }

  .drawer-line > strong {
    grid-column: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* -------------------------------------------------------------------------- */
/* Freedom Enterprise visual identity                                        */
/* -------------------------------------------------------------------------- */

html {
  background: var(--black);
}

body {
  background-color: var(--black);
  background-image: url("/files/images/starrysky.gif");
  background-position: top left;
  background-repeat: repeat;
  background-size: clamp(280px, 25vw, 520px);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
}

button,
a,
select {
  font-family: inherit;
}

/* -------------------------------------------------------------------------- */
/* CRT window chrome (mock 2 treatment, applied site-wide)                    */
/* -------------------------------------------------------------------------- */

html, body {
  height: 100%;
  overflow: hidden;
}

.crt-window-outer {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.site-notice {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: #ffffcc;
  color: #000;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.72rem, 1.6vw, 0.9rem);
  font-weight: bold;
  text-align: center;
  border-bottom: 2px solid #404040;
}

html.show-site-notice .site-notice {
  display: flex;
}

.site-notice a {
  color: #a03d8a;
  text-decoration: underline;
}

.site-notice button {
  flex: 0 0 auto;
  padding: 1px 8px;
  border: 2px outset #fff;
  background: #c0c0c0;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.site-notice button:active {
  border-style: inset;
}

.crt-window {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #404040;
}

.crt-titlebar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 4px 6px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
}

.crt-titlebar__rec {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--danger);
  font-size: 11px;
}

.crt-titlebar__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.crt-titlebar__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-crt-toggle span {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.62rem, 1vw, 0.8rem);
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
  color: #000;
}

.crt-titlebar__btns span {
  display: inline-block;
  width: 16px;
  height: 14px;
  border: 1px solid #fff;
  border-right-color: #404040;
  border-bottom-color: #404040;
  background: #c0c0c0;
  color: #000;
  font-size: 10px;
  line-height: 13px;
  text-align: center;
}

/* .crt-screen is the bounded, non-scrolling "monitor" box: this is what the
   scanline/vignette overlay attaches to, so it stays visually locked over the
   visible area. Actual page content scrolls in .crt-screen__content, inside it. */

.crt-screen {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 10px;
  border: 2px solid #404040;
  border-top-color: #000;
  border-left-color: #000;
  background-color: var(--black);
  background-image: url("/files/images/starrysky.gif");
  background-position: top left;
  background-repeat: repeat;
  background-size: clamp(280px, 25vw, 520px);
  display: flex;
  flex-direction: column;
}

.crt-screen__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: var(--bright) var(--black);
}

.crt-screen__content::-webkit-scrollbar {
  width: 14px;
}

.crt-screen__content::-webkit-scrollbar-track {
  background: var(--black);
  border-left: 1px solid var(--line);
}

.crt-screen__content::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border: 2px solid #404040;
}

.crt-statusbar {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-top: 1px solid #fff;
  background: #c0c0c0;
  color: #000;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 10px;
}

/* Scanlines + vignette: attached to the bounded .crt-screen box, not the
   scrolling content, so they stay fixed over the visible area while the
   content underneath scrolls. */

.crt-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 90;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0px,
    rgba(0, 0, 0, 0.35) 1px,
    transparent 2px,
    transparent 3px
  );
  pointer-events: none;
}

.crt-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 91;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.crt-rec__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: crt-blink 1s steps(1) infinite;
}

@keyframes crt-blink {
  50% { opacity: 0.15; }
}

/* Turning the effect off: the window chrome and colors stay, only the
   scanline overlay and blinking/animated elements are disabled. */

html.crt-off .crt-screen::before,
html.crt-off .crt-screen::after,
html.crt-off .crt-titlebar__rec {
  display: none;
}

html.crt-off .crt-rec__dot {
  animation: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.region-banner {
  position: relative;
  z-index: 20;
  padding: clamp(0.65rem, 1.2vw, 1rem);
  background: #c0c0c0;
  color: #000;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: bold;
  font-size: clamp(0.86rem, 1.35vw, 1.3rem);
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  width: 75%;
  margin: 0 auto;
  grid-template-columns: minmax(190px, 350px) 1fr;
  gap: clamp(1.5rem, 5vw, 7rem);
  padding: clamp(1.1rem, 2.4vw, 2.8rem) clamp(1rem, 4vw, 4rem);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand-logo img {
  display: block;
  width: clamp(190px, 20vw, 350px);
  height: auto;
}

.site-header nav {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.5rem, 1vw, 0.9rem);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(0.72rem, 1.1vw, 1.15rem);
  text-transform: lowercase;
}

.site-header nav a {
  position: relative;
  flex: 0 0 auto;
  padding: clamp(0.4rem, 0.6vw, 0.65rem) clamp(0.8rem, 1.2vw, 1.3rem);
  border: 2px outset #fff;
  background: #c0c0c0;
  color: #000;
  font-weight: bold;
  line-height: 1.1;
}

.site-header nav a::after {
  content: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: #d8d8d8;
  color: #000;
}

.site-header nav a:active {
  border-style: inset;
}

.floating-actions {
  position: fixed;
  right: 34px;
  top: 50px;
  bottom: auto;
  transform: none;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(0.35rem, 1vw, 0.8rem);
}

.floating-action {
  position: relative;
  display: grid;
  width: clamp(52px, 6vw, 76px);
  height: clamp(52px, 6vw, 76px);
  padding: 0;
  place-items: center;
  border: 2px outset #fff;
  border-radius: 4px;
  background: #c0c0c0;
  cursor: pointer;
  filter: none;
  transition: transform 120ms ease;
}

.floating-action:hover,
.floating-action:focus-visible {
  filter: none;
  transform: translateY(-2px);
}

.floating-action:active {
  border-style: inset;
}

.floating-action img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.floating-action svg {
  display: block;
  width: 55%;
  height: 55%;
  color: #000;
}

.floating-cart span {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  display: grid;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.home-page {
  min-height: 65vh;
}

.home-video {
  position: relative;
  width: min(100%, 2000px);
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.home-video video {
  display: block;
  width: min(100vw, 2000px);
  height: auto;
  margin: 0 auto;
}

.home-video__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1rem, 2vw, 1.8rem) clamp(1rem, 4vw, 4rem);
  border-top: 1px solid rgba(179, 102, 255, 0.35);
  background: transparent;
}

.home-video__footer p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.5vw, 1.3rem);
}

.home-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--purple);
  color: #fff;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  white-space: nowrap;
}

.home-shop-link:hover {
  background: var(--purple);
  color: #fff;
}

.catalogue-page,
.product-page,
.cart-page,
.payment-result,
.content-page {
  width: 75%;
  margin: 0 auto;
  background: rgba(5, 5, 5, 0.95);
  box-shadow: 0 0 64px rgba(0, 0, 0, 0.82);
}

.catalogue-page {
  min-height: 70vh;
}

.shop-intro {
  padding-top: clamp(2.5rem, 6vw, 6rem);
  padding-bottom: clamp(1.8rem, 4vw, 3.5rem);
}

.shop-intro h1,
.page-heading h1,
.product-detail h1,
.payment-result h1,
.content-page > h1 {
  color: var(--bright);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
}

.eyebrow {
  color: var(--muted);
  font-family: "Courier New", monospace;
}

.shop-section {
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.product-filters {
  gap: 0.55rem;
  padding: 0.6rem 0 1.25rem;
}

.product-filters button {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(179, 102, 255, 0.5);
  background: rgba(0, 0, 0, 0.68);
  color: var(--ink);
  font-family: "Freedom Univers", sans-serif;
  font-size: 0.88rem;
}

.product-filters button:hover,
.product-filters button.active {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

.product-grid {
  gap: 0.8rem;
}

.product-card {
  overflow: hidden;
  border: 2px solid var(--purple);
  background: var(--panel);
  color: var(--ink);
}

.product-card__media-link {
  border-bottom: 1px solid rgba(179, 102, 255, 0.55);
}

.product-card__body {
  min-height: 245px;
  background: var(--panel);
  color: var(--ink);
}

.product-card h2,
.product-card h2 a,
.product-card__footer > strong {
  color: var(--bright);
}

.product-card__body > div > p:not(.product-card__category) {
  color: var(--muted);
}

.product-card__category {
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.product-card .secondary-button {
  border-color: var(--accent);
  color: var(--bright);
}

.product-card .secondary-button:hover {
  color: #fff;
}

.product-media {
  background: var(--paper);
}

.product-media img {
  filter: sepia(0.2) saturate(1.6) hue-rotate(-10deg) contrast(1.05);
}

.product-page,
.cart-page,
.content-page,
.payment-result {
  min-height: 70vh;
}

.product-detail__content,
.product-information,
.cart-lines,
.order-summary,
.content-page__prose,
.faq-list,
.warranty-block,
.download-grid {
  position: relative;
  z-index: 1;
}

.product-configurator,
.order-summary,
.faq-list section,
.warranty-block {
  background: var(--panel);
  border: 1px solid var(--line);
}

.about-photo {
  width: min(100%, 1050px);
  margin: clamp(2.5rem, 6vw, 6rem) auto 0;
  overflow: hidden;
  border: 2px solid var(--purple);
  background: var(--panel);
}

.about-photo img {
  filter: sepia(0.2) saturate(1.6) hue-rotate(-10deg) contrast(1.05);
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  display: flex;
  width: 100%;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem 1rem 7rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.footer-mark {
  display: block;
  width: clamp(80px, 10vw, 150px);
  height: auto;
}

.site-footer p {
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .brand-logo {
    justify-self: center;
  }

  .site-header nav {
    grid-column: 1;
    grid-row: auto;
    justify-content: center;
    overflow-x: visible;
  }
}

@media (max-width: 620px) {
  body {
    background-attachment: scroll;
    background-size: 280px;
  }

  .site-header {
    padding: 1.1rem 0.8rem 1.25rem;
  }

  .brand-logo img {
    width: min(68vw, 270px);
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 0.75rem 1.15rem;
    padding: 0;
    font-size: 1rem;
  }

  .floating-action {
    width: 58px;
    height: 58px;
  }

  .floating-actions {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    margin: 1rem 0 0;
  }

  .home-video__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-shop-link {
    width: 100%;
    justify-content: space-between;
  }

  .catalogue-page,
  .product-page,
  .cart-page,
  .content-page,
  .payment-result {
    width: 100%;
  }

  .site-footer {
    align-items: center;
  }
}

.faq-page {
  padding-top: clamp(2.5rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.downloads-page {
  padding-top: clamp(2.5rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  text-align: center;
}

.downloads-intro {
  margin-bottom: clamp(3rem, 7vw, 7rem);
}

.downloads-intro p {
  max-width: 1100px;
  margin: 0.7rem auto;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.legacy-manuals {
  max-width: 1200px;
  margin: 0 auto;
}

.manual-section {
  margin: 0 0 clamp(4rem, 8vw, 8rem);
}

.manual-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 2rem);
  margin: 0 0 1.5rem;
  color: var(--bright);
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 500;
  line-height: 1;
  text-transform: lowercase;
}

.manual-section h2 img {
  width: auto;
  height: clamp(65px, 7.5vw, 150px);
  max-width: 22vw;
  object-fit: contain;
  filter: sepia(0.2) saturate(1.6) hue-rotate(-10deg) contrast(1.05);
}

.manual-revision {
  margin-top: 1.5rem;
}

.manual-revision h3 {
  margin: 0 0 0.6rem;
  color: var(--bright);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
}

@media (max-width: 620px) {
  .manual-section h2 {
    flex-wrap: wrap;
  }

  .manual-section h2 img {
    height: 65px;
  }
}

/* Currency and checkout additions */
.currency-picker {
  flex: 0 0 auto;
}

.currency-picker select {
  min-height: 0;
  padding: clamp(0.4rem, 0.6vw, 0.65rem) clamp(0.8rem, 1.2vw, 1.3rem);
  border: 1px solid var(--bright);
  border-radius: 0;
  background: var(--black);
  color: var(--bright);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: clamp(0.72rem, 1.1vw, 1.15rem);
  font-weight: bold;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.order-currency select {
  min-height: 40px;
  padding: 0.45rem 2rem 0.45rem 0.7rem;
  border: 1px solid var(--bright);
  border-radius: 0;
  background: var(--black);
  color: var(--bright);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 1.05rem;
  font-weight: bold;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.cart-main-column {
  min-width: 0;
}

.checkout-details {
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.96);
}

.checkout-details__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.checkout-details__heading .eyebrow,
.checkout-details__heading h2,
.checkout-details__heading > p {
  margin: 0;
}

.checkout-details__heading h2 {
  color: var(--bright);
  font-family: "Freedom Univers", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 400;
}

.checkout-details__heading > p {
  color: var(--muted);
  font-size: 0.72rem;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* Guestbook */

.guestbook-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 2rem 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--line);
}

.guestbook-form .checkout-field--wide,
.guestbook-form .primary-button {
  grid-column: 1 / -1;
}

.guestbook-form textarea {
  width: 100%;
  min-height: 6rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--bright);
  border-radius: 0;
  background: var(--black);
  color: var(--bright);
  font: inherit;
  resize: vertical;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Off-screen rather than display:none/visibility:hidden - some bots
   specifically skip fields hidden that way, so this is the more effective
   honeypot placement even though it's a bit unusual for the codebase. */
.guestbook-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.guestbook-captcha-img {
  display: block;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  max-width: 100%;
  height: auto;
}

.guestbook-flash {
  max-width: 900px;
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.2rem;
  border: 1px solid;
  font-weight: bold;
}

.guestbook-flash--ok {
  border-color: var(--bright);
  color: var(--bright);
}

.guestbook-flash--error {
  border-color: var(--danger);
  color: var(--danger);
}

.guestbook-entries {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin-top: 2rem;
}

.guestbook-entry {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--panel);
  border: 1px solid var(--line);
}

.guestbook-entry__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.guestbook-entry__head strong {
  color: var(--bright);
}

.guestbook-entry__head time {
  color: var(--muted);
  font-size: 0.78rem;
}

.guestbook-entry p {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.checkout-field {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-field--wide {
  grid-column: 1 / -1;
}

.checkout-field > span,
.checkout-field legend {
  padding: 0;
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: lowercase;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--bright);
  border-radius: 0;
  background: var(--black);
  color: var(--bright);
  font: inherit;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.checkout-field input:focus-visible,
.checkout-field select:focus-visible,
.currency-picker select:focus-visible,
.order-currency select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.checkout-field--phone {
  grid-column: 1 / -1;
}

.phone-field-group {
  display: grid;
  grid-template-columns: minmax(110px, 0.4fr) minmax(0, 1fr);
  gap: 0.6rem;
}

.phone-field-group select {
  min-width: 0;
}

.shipping-zone-note {
  margin: 1.2rem 0 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--blue);
  background: rgba(77, 163, 255, 0.08);
  color: var(--ink);
  font-size: 0.8rem;
}

.shipping-zone-note--warning {
  border-left-color: var(--danger);
  background: rgba(255, 114, 111, 0.08);
  color: var(--danger);
}

.order-currency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.order-currency select {
  min-width: 112px;
}

@media (max-width: 720px) {
  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .checkout-field--wide {
    grid-column: auto;
  }

  .checkout-details__heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* PHP storefront corrections: product artwork sits directly on the page. */
.product-card,
.product-card__body,
.product-card__media-link,
.product-gallery__item,
.about-photo {
  border: 0;
  background: transparent;
}

.product-card__body,
.product-card h2,
.product-card h2 a,
.product-card__footer > strong,
.product-card .secondary-button {
  color: var(--bright);
}

.product-card__body > div > p:not(.product-card__category) {
  color: var(--ink);
}

/* Fit the complete product photo inside its card. */
.product-card .product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.82;
}

.product-card .product-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Hide product cards excluded by the selected filter */
.product-card[hidden] {
    display: none !important;
}

/* PRODUCT-PAGE LAYOUT — only affects the revised product template */

.product-page--refined {
    width: min(100%, 1320px);
    padding-left: clamp(1rem, 4vw, 3.5rem);
    padding-right: clamp(1rem, 4vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Main image/video beside the product information */

.product-page--refined .product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.product-page--refined .product-detail--no-media {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-inline: auto;
}

/* Natural image proportions: no square frames or cropping */

.product-page--refined .product-hero,
.product-page--refined .product-gallery__item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    margin: 0;
    grid-column: auto;
    aspect-ratio: auto;
    overflow: visible;
    border: 0;
    background: transparent;
}

.product-page--refined .product-hero > img,
.product-page--refined .product-hero > video,
.product-page--refined .product-gallery__item > img,
.product-page--refined .product-gallery__item > video {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 36rem;
    object-fit: contain;
    background: transparent;
    filter: sepia(0.2) saturate(1.6) hue-rotate(-10deg) contrast(1.05);
}

/* Title, summary and features */

.product-page--refined .product-detail__content {
    min-width: 0;
    padding: 0;
}

.product-page--refined .product-detail h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.product-page--refined .product-summary {
    margin: 1rem 0;
    font-size: 1.0625rem;
    line-height: 1.65;
}

.product-page--refined .product-features {
    display: block;
    margin: 1rem 0 1.5rem;
    padding-left: 1.15rem;
    list-style: disc;
    font-size: 1rem;
    line-height: 1.6;
}

.product-page--refined .product-features li {
    margin-bottom: 0.3rem;
}

.product-page--refined .product-features li::before {
    content: none;
}

/* Options and purchase controls */

.product-page--refined .product-configurator {
    min-width: 0;
    margin-top: 1.5rem;
    padding: 1.1rem;
    gap: 0.85rem;
}

.product-page--refined .option-field {
    min-width: 0;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 0.8rem;
}

.product-page--refined .option-field span {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.product-page--refined .option-field select {
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    font-size: 1rem;
}

.product-page--refined .buy-row {
    align-items: center;
    flex-wrap: wrap;
    border-top: 0;
    padding-top: 0.5rem;
}

.product-page--refined .buy-row .primary-button {
    min-height: 48px;
}

/* Description and gallery sections */

.product-page--refined .product-description,
.product-page--refined .product-media-section {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.product-page--refined .product-section-title {
    margin: 0 0 1.25rem;
    color: var(--bright);
    font-family: "Freedom Univers", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
}

.product-page--refined .product-description__text {
    font-size: 1.0625rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.product-page--refined .product-description__text p {
    margin: 0 0 1.1rem;
    white-space: pre-line;
    orphans: 3;
    widows: 3;
}

/* Manual links */

.product-page--refined .product-manual-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    margin-top: 1.5rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--line);
    background: var(--panel);
}

.product-page--refined .product-manual-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--bright);
    font-size: 1.05rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.product-page--refined .product-manual-links a img {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
}

.product-page--refined .product-featured-video {
    width: min(100%, 1320px);
    margin: 0 auto clamp(2rem, 5vw, 4rem);
    padding: clamp(1rem, 4vw, 3.5rem);
}

.product-page--refined .product-featured-video video {
    display: block;
    width: 100%;
    max-height: 70vh;
    margin: 0 auto;
    border: 2px solid var(--purple);
    background: var(--paper);
}

/* Frequently asked questions */

.product-page--refined .product-faq {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.product-page--refined .product-faq__list {
    display: grid;
    gap: 1.5rem;
    margin: 0;
}

.product-page--refined .product-faq__item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
}

.product-page--refined .product-faq__item dt {
    color: var(--bright);
    font-family: "Freedom Univers", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
}

.product-page--refined .product-faq__item dd {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.product-page--refined .product-faq__contact {
    margin: 1.75rem 0 0;
    font-size: 0.95rem;
    opacity: 0.85;
}

.product-page--refined .product-faq__contact a {
    color: var(--bright);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Remaining media: responsive gallery */

.product-page--refined .product-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.product-page--refined .product-gallery__item > img,
.product-page--refined .product-gallery__item > video {
    max-height: 44rem;
}

/* Tablet and phone layout */

@media (max-width: 900px) {
    .product-page--refined .product-detail {
        grid-template-columns: 1fr;
    }

    .product-page--refined .product-hero > img,
    .product-page--refined .product-hero > video {
        max-height: 28rem;
    }
}

@media (max-width: 620px) {
    .product-page--refined .option-field {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .product-page--refined .buy-row {
        align-items: stretch;
        flex-direction: column;
    }

    .product-page--refined .buy-row .primary-button {
        width: 100%;
    }
}