:root {
  --header-bg: #000000;
  --footer-bg: #000000;
  --text-light: #ffffff;
  --page-bg: #ffffff;
  --page-text: #111111;
  --muted-text: #4f5965;
  --border: #d9dee7;
  --soft-bg: #f5f7fb;
  --button-yellow: #ffd429;
  --button-yellow-hover: #f2c200;
  --focus: #005fcc;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--page-bg);
  color: var(--page-text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-header,
.site-footer {
  background: var(--header-bg);
  color: var(--text-light);
}

.site-header__inner,
.site-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  line-height: 0;
}

.brand img {
  width: 74px;
  height: 74px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 700;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  border-bottom-color: var(--button-yellow);
}

.checkout-nav-link {
  color: var(--button-yellow);
}

.mobile-menu-button {
  display: none;
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.site-main {
  background: var(--page-bg);
}

.product-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.product-gallery,
.product-info-card,
.content-page {
  background: #ffffff;
}

.main-image-frame {
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--soft-bg);
  box-shadow: var(--shadow);
}

.main-image-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.thumbnail-button {
  border: 2px solid var(--border);
  background: #ffffff;
  border-radius: 14px;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
}

.thumbnail-button img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}

.thumbnail-button:hover,
.thumbnail-button:focus,
.thumbnail-button.active {
  border-color: var(--focus);
}

.product-summary {
  margin-top: 28px;
  line-height: 1.55;
}

.product-summary h2,
.content-page h1,
.product-info-card h1 {
  margin-top: 0;
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 22px;
}

.feature-list li + li {
  margin-top: 8px;
}

.product-info-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 800;
}

.product-info-card h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.product-tagline {
  font-size: 19px;
  line-height: 1.45;
  color: #2c3540;
  margin: 0 0 24px;
}

.purchase-box {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: var(--soft-bg);
}

.license-label {
  margin: 0 0 4px;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted-text);
  font-weight: 800;
  letter-spacing: 0.07em;
}

.license-value {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.price-note,
.checkout-note {
  color: var(--muted-text);
  line-height: 1.45;
}

.price-note {
  margin: 0 0 18px;
}

.checkout-note {
  margin: 14px 0 0;
  font-size: 14px;
}

.buy-now-button,
.standard-button,
.cookie-button {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
}

.buy-now-button {
  width: 100%;
  min-height: 54px;
  background: var(--button-yellow);
  color: #000000;
  font-size: 19px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.buy-now-button:hover,
.buy-now-button:focus,
.cookie-button:hover,
.cookie-button:focus {
  background: var(--button-yellow-hover);
}

.buy-now-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.product-detail-list {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.product-detail-list div {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.product-detail-list span {
  display: block;
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.product-detail-list strong {
  font-size: 16px;
}

.content-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 68px;
  line-height: 1.6;
}

.update-card,
.checkout-starter-box {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--soft-bg);
  padding: 22px;
}

.checkout-summary {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin: 18px 0;
}

.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.checkout-summary dt,
.checkout-summary dd {
  margin: 0;
}

.alert {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 18px 0;
  padding: 12px 14px;
}

.alert-good {
  border-color: #0b7f3a;
  background: #e9f8ef;
}

.alert-bad {
  border-color: #b42318;
  background: #fff0ed;
}

.account-actions {
  margin: 20px 0;
}

.account-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.account-help-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--soft-bg);
  padding: 16px;
}

.account-help-card h2 {
  margin-top: 0;
  font-size: 20px;
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.account-table th {
  background: var(--soft-bg);
}

.device-remove-form {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.device-remove-form input {
  border: 1px solid #aab4c2;
  border-radius: 8px;
  padding: 9px;
}

.muted {
  color: var(--muted-text);
}

.badge-good-text {
  color: #0b7f3a;
  font-weight: 800;
}

.maintenance-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--page-bg);
}

.maintenance-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.maintenance-card {
  width: min(680px, 100%);
  border: 2px solid #111111;
  border-radius: 18px;
  background: #ffffff;
  color: #111111;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
  text-align: center;
}

.checkout-main {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.checkout-b020 .checkout-mini-head,
.checkout-b020 .checkout-account-box,
.checkout-b020 .checkout-panel {
  border: 1px solid #b9c7d6;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(18, 34, 55, .13);
}

.checkout-b020 .checkout-mini-head {
  padding: 16px 18px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #111111 0%, #202733 100%);
  color: #ffffff;
  border-color: #111111;
}

.checkout-b020 .checkout-kicker {
  margin: 0 0 6px;
  color: var(--button-yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-b020 h1 {
  margin: 0 0 8px;
}

.checkout-b020 .checkout-steps-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-b020 .checkout-steps-mini li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  font-size: 13px;
}

.checkout-b020 .checkout-steps-mini span,
.checkout-b020 .checkout-pane-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--button-yellow);
  color: #000000;
  font-weight: 900;
}

.checkout-b020 .checkout-steps-mini span {
  grid-row: span 2;
  width: 24px;
  height: 24px;
}

.checkout-b020 .checkout-steps-mini em {
  color: #d6e5f5;
  font-style: normal;
}

.checkout-b020 .checkout-alert {
  box-shadow: none;
}

.checkout-b020 .checkout-account-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  margin-bottom: 16px;
  background: #edf4fb;
  border-color: #b7d0ea;
}

.checkout-b020 .checkout-account-pane,
.checkout-b020 .checkout-panel {
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.checkout-b020 .checkout-account-pane::before,
.checkout-b020 .checkout-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
}

.checkout-b020 .checkout-login-pane {
  background: #ffffff;
  border: 1px solid #bdd1e5;
  box-shadow: 0 10px 24px rgba(28, 64, 102, .09);
}

.checkout-b020 .checkout-login-pane::before {
  background: #111111;
}

.checkout-b020 .checkout-register-pane {
  background: #fff9df;
  border: 1px solid #e9d16f;
  box-shadow: 0 10px 24px rgba(113, 83, 0, .09);
}

.checkout-b020 .checkout-register-pane::before {
  background: var(--button-yellow);
}

.checkout-b020 .checkout-pane-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-b020 .checkout-pane-head span {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 13px;
}

.checkout-b020 .checkout-pane-head h2 {
  margin: 0;
  font-size: 20px;
}

.checkout-b020 .checkout-mini-form {
  display: grid;
  gap: 8px;
}

.checkout-b020 .checkout-name-row,
.checkout-b020 .checkout-totals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-b020 .input {
  width: 100%;
  border: 1px solid #aab4c2;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
  color: #111111;
}

.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  min-height: 40px;
  padding: 10px 16px;
}

.btn-primary {
  background: var(--button-yellow);
  color: #000000;
}

.btn-secondary {
  background: #111111;
  color: #ffffff;
}

.btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.checkout-b020 .checkout-panel {
  margin-bottom: 16px;
}

.checkout-b020 .checkout-order-compact {
  background: #f7fbff;
  border-color: #bdd1e5;
}

.checkout-b020 .checkout-order-compact::before {
  background: #246aa8;
}

.checkout-b020 .checkout-totals-panel {
  background: #f8fbf2;
  border-color: #c9ddb1;
}

.checkout-b020 .checkout-totals-panel::before {
  background: #6a9b36;
}

.checkout-b020 .checkout-empty {
  background: #fff9df;
  border-color: #e9d16f;
}

.checkout-b020 .summary-box {
  border: 1px solid #d8c66f;
  border-radius: 10px;
  background: #fffdf1;
  padding: 12px;
}

.cart-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cart-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.cart-table th {
  background: var(--soft-bg);
  color: #111111;
  font-size: 12px;
  text-transform: uppercase;
}

.cart-table tr:last-child td {
  border-bottom: 0;
}

.inline-form {
  display: inline;
}

.icon-remove {
  width: 32px;
  height: 32px;
  border: 1px solid #b42318;
  border-radius: 999px;
  color: #b42318;
  background: #fff0ed;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.promo-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.promo-row .input {
  flex: 1 1 180px;
}

.summary-box dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.summary-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.summary-total {
  font-size: 18px;
  font-weight: 900;
}

.checkout-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.link-button {
  border: 0;
  background: transparent;
  color: #005fcc;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.promo-good {
  color: #0b7f3a;
}

.promo-bad {
  color: #8a5200;
}

.small {
  font-size: 14px;
}

@media (max-width: 820px) {
  .checkout-b020 .checkout-account-box,
  .checkout-b020 .checkout-totals-grid,
  .checkout-b020 .checkout-steps-mini {
    grid-template-columns: 1fr;
  }

  .checkout-b020 .checkout-name-row {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 20px;
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #aab4c2;
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
  color: #111111;
}

.standard-button {
  width: fit-content;
  min-width: 150px;
  background: #111111;
  color: #ffffff;
  padding: 13px 18px;
  margin-top: 8px;
}

.standard-button:hover,
.standard-button:focus {
  background: #2b2b2b;
}

.site-footer__inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.site-footer a {
  color: var(--text-light);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-notice {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 50;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 6px 0 0;
  line-height: 1.4;
}

.cookie-button {
  flex: 0 0 auto;
  background: var(--button-yellow);
  color: #000000;
  padding: 12px 18px;
}

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

  .product-info-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    align-items: center;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 0 18px;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav.open {
    display: flex;
  }

  .thumbnail-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__inner,
  .cookie-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-help-grid {
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
  }
}
