/* Product-only layout: keep storefront, order pages and their shared styles intact. */
body.novice-detail-page {
  color: #17243e;
  background: #fff;
  --novice-blue: #2563eb;
  --product-divider: #e5eaf2;
}

.novice-detail-page .novice-header {
  gap: 28px;
  min-height: 68px;
  border-color: var(--product-divider);
  background: #fff;
  backdrop-filter: none;
}
.novice-detail-brand-image { display: block; width: 32px; height: 32px; border-radius: 7px; }
.novice-detail-page .novice-brand { min-width: 0; gap: 9px; color: #111c31; }
.novice-detail-order-link { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #17243e; text-decoration: none; white-space: nowrap; }
.novice-detail-page a:focus-visible,
.novice-detail-page button:focus-visible,
.novice-detail-page summary:focus-visible { outline: 2px solid var(--novice-blue); outline-offset: 4px; }

/* External Tabler outline assets, not hand-drawn UI glyphs. */
.novice-ui-icon { display: inline-block; flex: 0 0 auto; width: 22px; height: 22px; background-color: currentColor; -webkit-mask: var(--novice-icon) center / contain no-repeat; mask: var(--novice-icon) center / contain no-repeat; }
.novice-ui-icon-home { --novice-icon: url('ui-icons/home.svg'); }
.novice-ui-icon-service { --novice-icon: url('ui-icons/headset.svg'); }
.novice-ui-icon-order { --novice-icon: url('ui-icons/clipboard-list.svg'); }
.novice-ui-icon-info { --novice-icon: url('ui-icons/info-circle.svg'); }
.novice-ui-icon-book { --novice-icon: url('ui-icons/book.svg'); }
.novice-ui-icon-chevron { --novice-icon: url('ui-icons/chevron-down.svg'); }
.novice-ui-icon-calendar { --novice-icon: url('ui-icons/calendar.svg'); }
.novice-ui-icon-device { --novice-icon: url('ui-icons/device-mobile.svg'); }

.novice-detail-page .novice-main { width: min(1080px, calc(100% - 48px)); padding-top: 28px; padding-bottom: 48px; }
.novice-detail-page .novice-detail-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 36px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.novice-detail-page .novice-detail-media { align-self: start; min-width: 0; min-height: 0; aspect-ratio: 16 / 9; border-radius: 10px; background: #f5f8fd; }
.novice-detail-page .novice-detail-hero-image { width: 100%; height: auto; max-height: none; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
.novice-detail-page .novice-detail-software-icon { width: auto; height: 100%; max-height: 288px; max-width: 100%; object-fit: contain; border-radius: 0; }
.novice-detail-summary { min-width: 0; }
.novice-detail-page .novice-detail-price { align-items: center; justify-content: space-between; gap: 12px; padding: 0; margin: 0 0 10px; }
.novice-detail-page .novice-detail-price strong { min-width: 0; color: #e9444f; font-size: 32px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.novice-detail-page .novice-detail-price > span { flex: 0 0 auto; color: #68758c; font-size: 12px; line-height: 1.5; text-align: right; }
.novice-detail-page .novice-detail-price small { display: block; font-size: inherit; }
.novice-detail-page .novice-detail-summary h1 { color: #111c31; font-size: 25px; line-height: 1.4; overflow-wrap: anywhere; }
.novice-detail-page .novice-detail-purpose { margin: 8px 0 16px; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.novice-detail-page .novice-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 18px; padding: 12px 0; border: 0; border-top: 1px solid var(--product-divider); border-bottom: 1px solid var(--product-divider); border-radius: 0; background: #fff; }
.novice-detail-page .novice-facts > div { position: relative; min-width: 0; padding: 0 8px 0 40px; background: #fff; }
.novice-detail-page .novice-facts > div + div { margin-left: 10px; border-left: 1px solid var(--product-divider); padding-left: 48px; }
.novice-detail-page .novice-facts dt { color: #68758c; font-size: 13px; line-height: 1.5; }
.novice-detail-page .novice-facts dd { margin-top: 1px; color: #17243e; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.novice-detail-page .novice-facts .novice-ui-icon { position: absolute; top: 8px; left: 2px; width: 27px; height: 27px; color: var(--novice-blue); }
.novice-detail-page .novice-facts > div + div .novice-ui-icon { left: 12px; }

.novice-detail-page .novice-phone-order { grid-template-columns: minmax(0, 1fr); gap: 0; }
body.novice-detail-page .novice-phone-input { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; height: auto !important; padding: 0; border: 0; border-radius: 0; }
.novice-detail-page .novice-phone-input > span { color: #17243e; font-size: 15px; font-weight: 500; }
.novice-detail-page .novice-phone-input input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #cfd8e7; border-radius: 7px; color: #17243e; background: #fff; font-size: 16px; }
.novice-detail-page .novice-phone-input input::placeholder { color: #8894a8; }
.novice-detail-page .novice-phone-input input:focus { outline: 2px solid var(--novice-blue); outline-offset: 1px; border-color: var(--novice-blue); }
.novice-detail-page .novice-phone-input input { scroll-margin-block: 90px; }
.novice-detail-page .novice-phone-note { margin: 8px 0 0; font-size: 12px; line-height: 1.6; }
.novice-detail-page .novice-variant-picker { margin-bottom: 18px; }
.novice-detail-page .novice-variant-picker legend { margin-bottom: 9px; color: #17243e; font-size: 15px; font-weight: 500; }
.novice-detail-page .novice-variant-option { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; border-radius: 8px !important; }
.novice-detail-page .novice-variant-option b { overflow-wrap: anywhere; }
.novice-detail-page .novice-variant-option small { flex-shrink: 0; }
.novice-detail-page .novice-variant-option.is-selected { border-color: var(--novice-blue) !important; background: #f0f6ff; box-shadow: 0 0 0 1px var(--novice-blue); }
.novice-detail-page .novice-variant-option:focus-within { outline: 2px solid var(--novice-blue); outline-offset: 3px; }
.novice-detail-page .novice-form-error { margin-bottom: 0; font-size: 14px; }
.novice-purchase-bar { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.novice-purchase-shortcut { display: grid; flex: 0 0 46px; justify-items: center; gap: 4px; color: #4e5e76; font-size: 12px; line-height: 1.3; text-decoration: none; }
.novice-purchase-shortcut .novice-ui-icon { width: 25px; height: 25px; }
.novice-detail-page .novice-purchase-bar button { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 8px; background: var(--novice-blue); font-size: 17px; font-weight: 700; line-height: 1.4; }
.novice-detail-page .novice-purchase-bar button:hover:not(:disabled) { background: #1d4ed8; }
.novice-detail-page .novice-purchase-bar button:disabled { background: #a4afc1; opacity: 1; }

.novice-detail-disclosures { margin-top: 24px; border-top: 1px solid var(--product-divider); }
.novice-detail-disclosures details { min-width: 0; border-bottom: 1px solid var(--product-divider); }
.novice-detail-disclosures summary { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 0; color: #17243e; font-size: 16px; font-weight: 500; line-height: 1.5; list-style: none; cursor: pointer; }
.novice-detail-disclosures summary::-webkit-details-marker { display: none; }
.novice-detail-disclosures summary > .novice-ui-icon { color: var(--novice-blue); }
.novice-detail-disclosures summary > .novice-ui-icon-chevron { width: 18px; height: 18px; margin-left: auto; color: #59667b; }
.novice-detail-disclosures details[open] > summary .novice-ui-icon-chevron { transform: rotate(180deg); }
.novice-disclosure-content { min-width: 0; padding: 0 0 18px; color: #53627a; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.novice-disclosure-content > p { margin: 0; }
.novice-secondary-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #f0f3f8; font-size: 13px; }
.novice-secondary-facts > div { display: flex; gap: 8px; min-width: 0; }
.novice-secondary-facts dt { color: #68758c; }
.novice-secondary-facts dd { margin: 0; color: #17243e; }
.novice-detail-disclosures .novice-tutorial ol { gap: 10px; margin: 0 0 12px; padding-left: 22px; list-style: decimal; counter-reset: none; }
.novice-detail-disclosures .novice-tutorial li { min-height: 0; padding: 0 0 0 3px; border-radius: 0; background: transparent; line-height: 1.75; }
.novice-detail-disclosures .novice-tutorial li::before { content: none; }
.novice-detail-disclosures .novice-rich-content ol,
.novice-detail-disclosures .novice-rich-content ul { display: block; margin: .8em 0; padding-left: 1.6em; }
.novice-detail-disclosures .novice-rich-content ul { list-style: disc; }
.novice-detail-disclosures .novice-rich-content li { margin: .4em 0; }
.novice-detail-page .novice-detail-image-section { margin-top: 20px; border: 0; border-radius: 0; box-shadow: none; }
.novice-detail-image-section h2 { margin: 0 0 14px; color: #111c31; font-size: 20px; line-height: 1.4; }
.novice-detail-page .novice-detail-image { width: 100%; max-width: 900px; border-radius: 10px; }
.novice-detail-page .novice-service-confirm-card > .novice-ui-icon { display: block; width: 32px; height: 32px; margin: 0 auto 14px; color: var(--novice-blue); }
.novice-detail-page .novice-service-confirm-actions a { background: var(--novice-blue); }

@media (max-width: 900px) {
  .novice-detail-page .novice-detail-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .novice-detail-page .novice-main { max-width: 640px; }
  .novice-detail-page .novice-detail-software-icon { max-height: 300px; }
}

@media (max-width: 680px) {
  .novice-detail-page .novice-header { min-height: 56px; gap: 12px; padding: 0 16px; }
  .novice-detail-page .novice-brand { gap: 8px; font-size: 17px; }
  .novice-detail-brand-image { width: 28px; height: 28px; border-radius: 6px; }
  .novice-detail-order-link { min-height: 44px; gap: 4px; font-size: 14px; }
  .novice-detail-order-link .novice-ui-icon { width: 21px; height: 21px; }
  .novice-detail-page .novice-main { width: calc(100% - 32px); padding-top: 12px; padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .novice-detail-page .novice-detail-hero { gap: 16px; }
  .novice-detail-page .novice-detail-media { border-radius: 8px; }
  .novice-detail-page .novice-detail-software-icon { max-height: 202px; }
  .novice-detail-page .novice-detail-price { margin-bottom: 8px; flex-wrap: nowrap; }
  .novice-detail-page .novice-detail-price strong { font-size: 30px; }
  .novice-detail-page .novice-detail-price > span { font-size: 11px; }
  .novice-detail-page .novice-detail-summary h1 { font-size: 22px; line-height: 1.4; }
  .novice-detail-page .novice-detail-purpose { margin: 7px 0 14px; font-size: 14px; line-height: 1.65; }
  .novice-detail-page .novice-facts { margin-bottom: 16px; padding: 10px 0; }
  .novice-detail-page .novice-facts dd { font-size: 14px; }
  .novice-detail-page .novice-purchase-bar { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; gap: 12px; min-height: 66px; margin: 0; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--product-divider); background: #fff; }
  .novice-purchase-shortcut { flex-basis: 44px; min-height: 44px; }
  .novice-detail-page .novice-purchase-bar button { min-height: 46px; height: auto; margin-left: 6px; }
  .novice-detail-disclosures { margin-top: 18px; }
  .novice-disclosure-content { font-size: 15px; }
}

@media (max-width: 359px) {
  .novice-detail-page .novice-brand { font-size: 16px; }
  .novice-detail-page .novice-detail-price strong { font-size: 27px; }
  .novice-detail-page .novice-facts > div + div { margin-left: 8px; padding-right: 0; padding-left: 38px; }
  .novice-detail-page .novice-facts > div + div .novice-ui-icon { left: 8px; width: 23px; }
  .novice-detail-page .novice-purchase-bar { gap: 8px; padding-right: 12px; padding-left: 12px; }
}
