/* Dense product and service ordering screens. Kept separate from the shared storefront theme. */
body[data-page="product"],
body[data-page="service"] {
  --product-bg: #0f1012;
  --product-panel: #202023;
  --product-panel-raised: #18191c;
  --product-border: #39383f;
  --product-text: #f2f3f4;
  --product-muted: #a6a7ad;
  --product-accent: #00a78c;
  --product-accent-soft: #123b36;
  background: var(--product-bg);
  color: var(--product-text);
}

.product-page,
.service-directory-page {
  font-family: Inter, Onest, system-ui, sans-serif;
  font-size: 14px;
}

body[data-page="product"] [hidden],
body[data-page="service"] [hidden] {
  display: none !important;
}

body[data-page="product"] .site-footer,
body[data-page="service"] .site-footer {
  background: #151619;
  border-top: 1px solid var(--product-border);
  color: var(--product-text);
}

body[data-page="product"] .site-footer p,
body[data-page="product"] .site-footer small,
body[data-page="service"] .site-footer p,
body[data-page="service"] .site-footer small {
  color: var(--product-muted);
}

body[data-page="product"] .site-footer a,
body[data-page="service"] .site-footer a {
  color: var(--product-text);
}

.product-page-layout.shell {
  width: calc(100% - 56px);
  max-width: none;
  margin-inline: auto;
  padding: 16px 0 60px;
  box-sizing: border-box;
}

.product-page-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.product-page-layout:has(> .storefront-rail:empty) {
  grid-template-columns: minmax(0, 1fr);
}

.storefront-rail {
  position: sticky;
  top: calc(var(--site-header-height, 108px) + 16px);
  min-width: 0;
  max-height: calc(100dvh - var(--site-header-height, 108px) - 32px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #45454c transparent;
}

.storefront-rail-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.storefront-rail .storefront-rail-heading {
  margin: 0 0 14px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.storefront-rail-link {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #d8d9dc;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
}

.storefront-rail-link:hover {
  background: #1b1c20;
  color: #fff;
}

.storefront-rail-link.is-current,
.storefront-rail-link[aria-current="page"] {
  border-color: #24564f;
  background: #142c29;
  color: #fff;
}

.storefront-rail-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  object-fit: contain;
}

.product-page-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.product-main-column {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  max-width: 860px;
  justify-self: center;
}

.product-order-rail {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--site-header-height, 108px) + 16px);
  min-width: 0;
  max-height: calc(100dvh - var(--site-header-height, 108px) - 32px);
  overflow-y: auto;
  border: 1px solid var(--product-border);
  border-radius: 18px;
  background: var(--product-panel);
}

@media (min-width: 981px) {
  .product-page-layout.shell { width: calc(100% - 32px); padding-top: 13px; }
  .product-page-layout { grid-template-columns: 144px minmax(0, 1fr); gap: 16px; }
  .product-page-content { grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; }
  .product-main-column { max-width: 688px; }
  .product-order-rail,
  .storefront-rail { top: calc(var(--site-header-height, 85px) + 13px); }
  .storefront-rail .storefront-rail-heading { margin-bottom: 8px; font-size: 9px; }
  .storefront-rail-list { gap: 2px; }
  .storefront-rail-link { min-height: 41px; gap: 8px; padding-inline: 10px; font-size: 11px; }
  .storefront-rail-logo { width: 26px; height: 26px; flex-basis: 26px; border-radius: 7px; }
}

.checkout-mobile-bar { display: none; }

@media (max-width: 1024px) {
  html:has(.checkout-mobile-bar) {
    --checkout-bar-space: calc(64px + env(safe-area-inset-bottom));
    scroll-padding-bottom: var(--checkout-bar-space);
  }
  body:has(.checkout-mobile-bar) { padding-bottom: var(--checkout-bar-space); }
  .checkout-mobile-bar {
    position: fixed;
    z-index: 35;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: var(--checkout-bar-space);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--product-panel);
    border-top: 1px solid var(--product-border);
  }
  .checkout-mobile-bar .button { min-height: 44px; white-space: nowrap; }
  body:has(.checkout-mobile-bar) .support-launcher {
    bottom: calc(var(--checkout-bar-space) + 12px);
  }
  body:has(.checkout-mobile-bar) .cookie-notice {
    bottom: calc(var(--checkout-bar-space) + 74px);
  }
}

.product-intro {
  display: block;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 17px 19px;
  border: 1px solid #17695c;
  border-radius: 18px;
  background: #123b36;
}

body[data-service="claude"] .product-intro {
  border-color: #70472f;
  background: #37271f;
}

.product-intro > div:first-child {
  min-width: 0;
}

.product-intro .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 11px;
  color: #bec9c7;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.product-intro .breadcrumbs a {
  color: #e2e8e7;
}

.product-intro h1 {
  margin: 0 0 5px;
  color: #fff;
  font-family: Onest, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.product-intro p {
  max-width: 720px;
  margin: 0;
  color: #d4dddb;
  font-size: 13px;
  line-height: 1.45;
}

.product-intro-art {
  display: none;
}

.related-services {
  margin: 11px 0 13px;
  min-width: 0;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--product-muted);
  font-size: 12px;
}

.service-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--product-border);
  border-radius: 999px;
  background: var(--product-panel);
  color: var(--product-text);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.service-links a:hover {
  border-color: var(--product-accent);
  color: #fff;
}

.product-config-panel,
.flow-section {
  min-width: 0;
  border: 1px solid var(--product-border);
  border-radius: 18px;
  background: var(--product-panel);
}

.product-config-panel {
  padding: 18px;
}

.product-workspace {
  padding: 0;
  border: 0;
  background: transparent;
}

.product-workspace .section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}

.product-workspace .section-heading h2,
.checkout-heading h2,
.flow-section .section-heading h2 {
  margin: 0 0 4px;
  color: var(--product-text);
  font-family: Onest, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.product-workspace .section-heading p,
.checkout-heading p,
.flow-section .section-heading p {
  margin: 0;
  color: var(--product-muted);
  font-size: 12px;
  line-height: 1.5;
}

.plan-search {
  width: 190px;
  flex: 0 0 190px;
}

.plan-search input,
.catalog-search input {
  min-height: 39px;
  border: 1px solid var(--product-border);
  border-radius: 10px;
  background: var(--product-panel-raised);
  color: var(--product-text);
}

.plan-search input::placeholder,
.catalog-search input::placeholder {
  color: #898a91;
}

.plan-search input:focus,
.catalog-search input:focus {
  border-color: var(--product-accent);
  outline: 3px solid color-mix(in srgb, var(--product-accent) 22%, transparent);
}

.shop-layout {
  display: block;
}

.shop-main {
  min-width: 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plan-card {
  display: flex;
  min-width: 0;
  min-height: 222px;
  flex-direction: column;
  align-items: stretch;
  padding: 14px;
  border: 1px solid #3c3c42;
  border-radius: 14px;
  background: var(--product-panel-raised);
  color: var(--product-text);
  text-align: left;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.plan-card:hover {
  transform: none;
  border-color: #66666e;
}

.plan-card[aria-checked="true"] {
  padding: 14px;
  border: 1px solid var(--product-accent);
  background: #123b36;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--product-accent) 40%, transparent);
}

body[data-service="claude"] .plan-card[aria-checked="true"] {
  border-color: #e88957;
  background: #38271f;
  box-shadow: inset 0 0 0 1px rgba(232, 137, 87, 0.35);
}

.plan-card:focus-visible,
.storefront-rail-link:focus-visible,
.service-links a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--product-accent) 60%, transparent);
  outline-offset: 2px;
}

body[data-service="claude"] .plan-card:focus-visible,
body[data-service="claude"] .service-links a:focus-visible {
  outline-color: rgba(232, 137, 87, 0.65);
}

.plan-card-top {
  min-height: 20px;
  align-items: center;
}

.plan-card-tag {
  color: #aeb0b6;
  font-size: 11px;
  font-weight: 600;
}

.plan-card-badge {
  padding: 4px 7px;
  border-radius: 7px;
  background: #254740;
  color: #8fe0ce;
  font-size: 10px;
  font-weight: 700;
}

body[data-service="claude"] .plan-card-badge {
  background: #553626;
  color: #f3b18d;
}

.plan-card > strong {
  margin-top: 9px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.15;
}

.plan-card-price {
  margin: 7px 0 9px;
  color: var(--product-text);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.plan-card-price small {
  color: var(--product-muted);
  font-size: 11px;
  font-weight: 500;
}

.plan-card ul {
  margin: 0 0 10px;
  padding-left: 16px;
  color: #c2c3c8;
  font-size: 11px;
  line-height: 1.4;
}

.plan-card li + li {
  margin-top: 4px;
}

.plan-card-select {
  padding-top: 9px;
  border-top-color: #3b3c42;
  color: #b8c8c5;
  font-size: 11px;
}

.plan-card[aria-checked="true"] .plan-card-select {
  color: #8fe0ce;
}

body[data-service="claude"] .plan-card[aria-checked="true"] .plan-card-select {
  color: #f3b18d;
}

.plan-card-select .radio {
  width: 18px;
  height: 18px;
  border-color: #66666e;
}

.plan-card[aria-checked="true"] .plan-card-select .radio {
  border-color: var(--product-accent);
}

.plan-card[aria-checked="true"] .plan-card-select .radio:after {
  background: var(--product-accent);
}

body[data-service="claude"] .plan-card[aria-checked="true"] .plan-card-select .radio {
  border-color: #e88957;
}

body[data-service="claude"] .plan-card[aria-checked="true"] .plan-card-select .radio:after {
  background: #e88957;
}

.price-note {
  margin: 11px 0 0;
  color: var(--product-muted);
  font-size: 11px;
  line-height: 1.45;
}

.checkout-section {
  margin-top: 18px;
  padding: 19px 0 0;
  border-top: 1px solid var(--product-border);
  scroll-margin-top: 20px;
}

.checkout-heading {
  align-items: center;
  margin: 0 0 13px;
}

.checkout-heading .integration-label {
  border: 1px solid #5f493d;
  background: #30251f;
  color: #e9ad8c;
  font-size: 11px;
}

.checkout-layout {
  display: block;
}

.checkout-fields {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.checkout-row {
  display: none;
}

.field {
  padding-top: 15px;
}

.field label {
  margin-bottom: 7px;
  color: #e4e5e7;
  font-size: 13px;
}

.field input,
.field textarea,
.service-order-field input {
  min-height: 42px;
  border: 1px solid #48484f;
  border-radius: 10px;
  background: #17181b;
  color: var(--product-text);
  font: inherit;
  font-size: var(--checkout-input-size);
}

.field textarea {
  min-height: 115px;
  resize: vertical;
  font-size: 13px;
}

.field input::placeholder,
.field textarea::placeholder,
.service-order-field input::placeholder {
  color: #85868d;
}

.field input:focus,
.field textarea:focus,
.service-order-field input:focus {
  border-color: var(--product-accent);
  outline: 3px solid color-mix(in srgb, var(--product-accent) 22%, transparent);
}

body[data-service="claude"] .field input:focus,
body[data-service="claude"] .field textarea:focus {
  border-color: #e88957;
  outline-color: rgba(232, 137, 87, 0.22);
}

.field input:disabled,
.field textarea:disabled {
  background: #222327;
  color: #a0a1a8;
}

.field p,
.service-order-disclosure {
  color: var(--product-muted);
  font-size: 11px;
  line-height: 1.5;
}

.token-help,
.service-order-disclosure a {
  color: #7fdac7;
}

body[data-service="claude"] .token-help {
  color: #f0aa84;
}

.checkout-check {
  margin-top: 18px;
  color: #d7d8dc;
  font-size: 12px;
  line-height: 1.5;
}

.checkout-check input,
.directory-check input,
.directory-option input,
.service-term-choice input {
  accent-color: var(--product-accent);
}

body[data-service="claude"] .checkout-check input,
body[data-service="claude"] .service-term-choice input {
  accent-color: #e88957;
}

.flow-section {
  margin-top: 16px;
  padding: 17px;
}

.flow-section .section-heading {
  margin-bottom: 13px;
}

.flow-section .steps {
  gap: 12px;
}

.flow-section .steps li {
  color: var(--product-text);
}

.flow-section .steps li > span {
  border: 1px solid #3b625b;
  background: #17332f;
  color: #9be3d4;
}

.flow-section .steps h3 {
  color: var(--product-text);
  font-size: 14px;
}

.flow-section .steps p {
  color: var(--product-muted);
  font-size: 11px;
  line-height: 1.45;
}

.order-summary {
  position: static;
  padding: 17px 17px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.summary-top h3 {
  margin: 0;
  color: var(--product-text);
  font-size: 16px;
  font-weight: 700;
}

.summary-top .integration-label {
  padding: 4px 8px;
  border: 1px solid #31534d;
  background: #192a27;
  color: #95daca;
  font-size: 10px;
}

.summary-service {
  gap: 10px;
  padding: 15px 0 13px;
  border-color: var(--product-border);
}

.summary-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
}

.gpt-icon {
  background: #173e38;
  color: #92e1d0;
}

.claude-icon {
  background: #482d20;
  color: #f0a77f;
}

.summary-service small {
  color: var(--product-muted);
  font-size: 11px;
}

.summary-service strong {
  color: var(--product-text);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.3;
}

.summary-line {
  padding: 11px 0;
  border-color: var(--product-border);
  color: var(--product-text);
  font-size: 12px;
}

.summary-line span,
.summary-total span {
  color: var(--product-muted);
}

.summary-total {
  padding: 12px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--product-text);
}

.summary-total strong {
  color: #fff;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.summary-info {
  margin: 7px 0 13px;
  padding: 10px 11px;
  border: 1px solid #3d4146;
  border-radius: 11px;
  background: #25272b;
  color: #c0c2c6;
  font-size: 11px;
}

.order-summary .button {
  min-height: 42px;
  padding: 8px 10px;
  font-size: 12px;
}

.order-summary .button + .button {
  margin-top: 7px;
}

.product-order-rail > .checkout-aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 17px 17px;
  border: 0;
  border-top: 1px solid var(--product-border);
  border-radius: 0;
  background: transparent;
}

.product-order-rail > .checkout-aside > span,
.product-order-rail > .checkout-aside > strong {
  display: none;
}

.checkout-aside p {
  margin: 0 0 4px;
  color: var(--product-muted);
  font-size: 11px;
  line-height: 1.5;
}

.checkout-aside .checkout-legal {
  color: #aeb0b5;
}

.checkout-legal a,
.cabinet-action {
  color: #92dfcf;
}

.checkout-aside .inventory-status {
  padding: 9px 10px;
  border: 1px solid #414147;
  border-radius: 10px;
  background: #25262a;
}

.activation-result {
  border: 1px solid #414147;
  background: #28292d;
  color: #d3d4d7;
}

.activation-result[data-state="pending"],
.activation-result[data-state="submitting"] {
  border-color: #6c5930;
  background: #332b1c;
  color: #f1d28a;
}

.activation-result[data-state="success"] {
  border-color: #2d6552;
  background: #18352d;
  color: #a1e3cb;
}

.activation-result[data-state="review"],
.activation-result[data-state="error"] {
  border-color: #6f3e3d;
  background: #352322;
  color: #ffb4a9;
}

.product-page .button-primary {
  border-color: var(--product-accent);
  background: var(--product-accent);
  color: #061b17;
}

.product-page .button-primary:hover:not(:disabled) {
  border-color: #12c3a5;
  background: #12c3a5;
}

body[data-service="claude"] .product-page .button-primary {
  border-color: #e88957;
  background: #e88957;
  color: #21150f;
}

body[data-service="claude"] .product-page .button-primary:hover:not(:disabled) {
  border-color: #f19b6b;
  background: #f19b6b;
}

.product-page .button-primary:disabled {
  border-color: #4a4b50;
  background: #35363a;
  color: #96979d;
}

.product-page .button-outline {
  border: 1px solid #4c4d53;
  background: #25262a;
  color: var(--product-text);
}

.product-page .button-outline:hover {
  border-color: #72737a;
  background: #2d2e33;
}

.cart-action-status {
  margin: 8px 0 0;
  color: #a5ded2;
  font-size: 11px;
}

/* CRM service pages */
.service-directory-page {
  min-height: 65vh;
  padding: 23px 0 62px;
  border: 0;
  background: transparent;
}

.service-directory-heading,
.service-directory-layout {
  width: min(calc(100% - 48px), 1450px);
  max-width: 1450px;
  margin-inline: auto;
}

.service-directory-heading {
  padding-bottom: 13px;
}

.service-directory-heading .breadcrumbs {
  margin: 0 0 13px;
  font-size: 12px;
}

.service-directory-heading .section-heading {
  display: flex;
  align-items: end;
  gap: 16px;
  margin: 0;
}

.service-directory-heading .section-kicker {
  margin-bottom: 5px;
  color: #80d7c5;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.service-directory-heading h1 {
  margin: 0 0 5px;
  color: var(--product-text);
  font-family: Onest, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.service-directory-heading .section-heading p {
  max-width: 660px;
  margin: 0;
  color: var(--product-muted);
  font-size: 13px;
}

.service-directory-heading .catalog-search {
  width: 260px;
  flex: 0 0 260px;
}

.service-directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 17px;
  align-items: start;
}

.service-directory-layout > div:first-child {
  min-width: 0;
}

.service-directory-hero {
  gap: 14px;
  padding: 17px;
  border: 1px solid #17695c;
  border-radius: 17px;
  background: #123b36;
}

.service-directory-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0c5b51;
  color: #b8f1e5;
  font-size: 23px;
}

.service-directory-hero .section-kicker {
  margin-bottom: 3px;
  color: #9cdbcf;
  font-size: 9px;
}

.service-directory-hero h2 {
  margin: 0 0 3px;
  color: #fff;
  font-family: Onest, system-ui, sans-serif;
  font-size: 19px;
}

.service-directory-hero p {
  color: #cfdfdc;
  font-size: 12px;
}

.service-directory-panel {
  margin-top: 13px;
  padding: 17px;
  border: 1px solid var(--product-border);
  border-radius: 17px;
  background: var(--product-panel);
  box-shadow: none;
}

.service-directory-panel .section-heading {
  margin-bottom: 13px;
}

.service-directory-panel .section-heading h2 {
  color: var(--product-text);
  font-family: Onest, system-ui, sans-serif;
  font-size: 17px;
}

.service-directory-panel .section-heading p {
  color: var(--product-muted);
  font-size: 12px;
}

.service-terms-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.service-term-row {
  gap: 4px 9px;
  padding: 11px 12px;
  border-color: #414147;
  border-radius: 12px;
  background: var(--product-panel-raised);
}

.service-term-choice {
  grid-column: 1;
  gap: 8px;
}

.service-term-choice strong {
  color: var(--product-text);
  font-size: 13px;
  line-height: 1.3;
}

.service-term-choice small {
  color: var(--product-muted);
  font-size: 11px;
}

.service-term-row > span {
  color: #91dfcf;
  font-size: 13px;
}

.service-terms-note {
  color: var(--product-muted);
  font-size: 11px;
}

.service-directory-aside {
  position: sticky;
  top: calc(var(--site-header-height, 108px) + 16px);
  gap: 10px;
}

.service-directory-aside article,
.service-directory-aside article:first-child {
  padding: 16px;
  border: 1px solid var(--product-border);
  border-radius: 16px;
  background: var(--product-panel);
}

.service-directory-aside .section-kicker {
  margin-bottom: 5px;
  color: #80d7c5;
  font-size: 9px;
}

.service-directory-aside h3 {
  margin: 0 0 6px;
  color: var(--product-text);
  font-size: 15px;
}

.service-directory-aside p {
  color: var(--product-muted);
  font-size: 12px;
  line-height: 1.45;
}

.service-directory-aside a {
  color: #8bdacb;
  font-size: 12px;
}

.service-order-form {
  gap: 14px;
}

.service-order-contacts {
  margin: 0;
}

.service-order-field {
  color: #e4e5e7;
  font-size: 12px;
}

.service-order-field input {
  min-height: 42px;
  padding: 0 11px;
}

.directory-fields {
  gap: 9px;
}

.directory-field {
  padding: 12px;
  border-color: #414147;
  border-radius: 12px;
  background: var(--product-panel-raised);
}

.directory-field-label {
  color: #e0e1e4;
  font-size: 12px;
}

.directory-field > input {
  min-height: 40px;
  border-color: #48484f;
  border-radius: 9px;
  background: #131416;
  color: var(--product-text);
}

.directory-field > input::placeholder {
  color: #85868d;
}

.directory-options button {
  border-color: #4a4a51;
  border-radius: 9px;
  background: #202125;
  color: #d6d7da;
}

.directory-options button[aria-pressed="true"] {
  border-color: var(--product-accent);
  background: #15342f;
  color: #9ce2d3;
}

.directory-option,
.directory-check {
  color: #c4c5ca;
}

.directory-info {
  border-color: #3b4f4b;
  background: #1b2926;
}

.directory-info > span {
  background: #26453f;
  color: #9ce2d3;
}

.directory-info p {
  color: #c5d2cf;
}

.directory-subhead {
  color: var(--product-text);
}

.service-order-disclosure {
  margin: 0;
}

.service-order-submit {
  margin-top: 2px;
  min-height: 43px;
}

.service-directory-page .button-primary {
  border-color: var(--product-accent);
  background: var(--product-accent);
  color: #061b17;
}

.service-directory-page .button-primary:hover:not(:disabled) {
  border-color: #12c3a5;
  background: #12c3a5;
}

.service-order-status {
  color: var(--product-muted);
  font-size: 12px;
}

.service-order-status[data-state="error"] {
  color: #ffb4a9;
}

.service-order-status[data-state="success"] {
  color: #a1e3cb;
}

@media (max-width: 1280px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card {
    min-height: 210px;
  }
}

@media (max-width: 980px) {
  .product-page-content { gap: 14px; }

  .product-page-layout.shell {
    padding-top: 14px;
  }

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

  .storefront-rail {
    position: static;
    grid-row: 1;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
  }

  .storefront-rail-list {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 7px;
  }

  .storefront-rail-link {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 4px 8px;
    background: #18191c;
  }

  .storefront-rail-logo {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .product-page-content {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .service-directory-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
}

@media (max-width: 760px) {
  .product-page-layout.shell {
    width: 100%;
    padding: 14px 16px 48px;
  }

  .service-directory-heading,
  .service-directory-layout {
    width: calc(100% - 32px);
  }

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

  .product-main-column,
  .product-order-rail {
    grid-column: 1;
    grid-row: auto;
  }

  .product-order-rail {
    position: static;
    order: 2;
    max-height: none;
    overflow: visible;
  }

  .product-main-column {
    order: 1;
  }

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

  .plan-card {
    min-height: 205px;
    padding: 12px;
  }

  .plan-card[aria-checked="true"] {
    padding: 12px;
  }

  .product-config-panel {
    padding: 14px;
  }

  .product-workspace .section-heading {
    display: block;
  }

  .plan-search {
    width: 100%;
    margin-top: 11px;
  }

  .checkout-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .service-directory-heading .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .service-directory-heading .catalog-search {
    width: 100%;
    flex: 1 1 auto;
  }

  .service-directory-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-directory-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-directory-hero {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .product-page-layout.shell {
    padding: 12px 12px 40px;
  }

  .service-directory-heading,
  .service-directory-layout {
    width: calc(100% - 24px);
  }

  .product-intro {
    padding: 14px;
  }

  .product-config-panel {
    padding: 11px;
  }

  .product-intro .breadcrumbs { font-size: 12px; }

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

  .plan-card,
  .plan-card[aria-checked="true"] {
    min-height: 0;
    padding: 13px;
  }

  .plan-card ul {
    margin-bottom: 8px;
  }

  .product-order-rail > .checkout-aside {
    padding-inline: 13px;
  }

  .order-summary {
    padding: 14px 13px 12px;
  }

  .service-terms-list,
  .directory-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .directory-field-check,
  .directory-info {
    grid-column: auto;
  }

  .service-directory-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-section .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-card {
    transition: none;
  }
}

body[data-page="product"] #previewOrder {
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 760px) {
  body[data-page="product"] .field textarea { font-size: var(--checkout-input-size); }
}
