/* Ready-site detail page. Brand tokens belong to main.css. */
.single-product .sg-header-wrap { margin-bottom: 28px; }
.sg-ready-product { padding: 8px 0 64px; overflow-wrap: anywhere; }
.sg-ready-product, .sg-ready-product * { scrollbar-color: var(--muted) var(--bg); scrollbar-width: thin; }
.sg-ready-product ::selection { background: var(--lime); color: var(--bg); }
.sg-ready-product :is(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.sg-ready-product :is(section, h2) { scroll-margin-top: 150px; }
.sg-ready-product__top { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); grid-template-areas: "gallery heading" "gallery offer"; column-gap: 48px; align-items: start; }
.sg-ready-product__heading { grid-area: heading; min-width: 0; margin-bottom: 24px; }
.sg-ready-product__heading h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.025em; text-wrap: balance; }
.sg-ready-product__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.sg-ready-product__meta a { text-decoration: underline; text-underline-offset: 4px; }
.sg-ready-product__meta a:hover { color: var(--lime); }
.sg-ready-gallery { grid-area: gallery; min-width: 0; }
.sg-ready-gallery__frame { position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); }
.sg-ready-gallery__screen { display: block; height: auto; max-height: clamp(320px, 39vw, 520px); overflow: auto; overscroll-behavior: contain; scrollbar-color: var(--muted) var(--bg); scrollbar-width: thin; background: var(--card); position: relative; cursor: zoom-in; }
.sg-ready-gallery__screen::-webkit-scrollbar { width: 7px; height: 7px; }
.sg-ready-gallery__screen::-webkit-scrollbar-thumb { background: var(--muted); border: 2px solid var(--bg); border-radius: 10px; }
.sg-ready-gallery__screen::-webkit-scrollbar-track { background: var(--bg); }
.sg-ready-gallery .sg-ready-gallery__image { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 0; }
.sg-ready-gallery__screen.is-portrait .sg-ready-gallery__image { width: min(100%, 340px); margin-inline: auto; }
.sg-ready-gallery__loader { position: absolute; top: 16px; right: 18px; display: block; width: 24px; height: 24px; border: 3px solid var(--muted); border-top-color: var(--lime); border-radius: 50%; animation: ready-site-loading .7s linear infinite; }
.sg-ready-gallery__loader[hidden] { display: none; }
.sg-ready-gallery__thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 5px; margin: 12px -5px -5px; }
.sg-ready-gallery__thumbnail { flex: 0 0 calc((100% - 30px) / 4); min-width: 90px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--card); cursor: pointer; overflow: hidden; }
.sg-ready-gallery__thumbnail img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; opacity: .65; }
.sg-ready-gallery__thumbnail:hover { border-color: var(--muted); }
.sg-ready-gallery__thumbnail:active { transform: translateY(1px); }
.sg-ready-gallery__thumbnail[aria-pressed="true"] { border-color: var(--lime); }
.sg-ready-gallery__thumbnail[aria-pressed="true"] img { opacity: 1; }
.sg-ready-gallery__error { margin: 12px 0 0; color: var(--muted2); font-size: 13px; }
.sg-ready-gallery__empty { display: grid; place-items: center; min-height: 360px; padding: 24px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.sg-ready-viewer-open { overflow: hidden; scrollbar-gutter: stable; }
.sg-ready-viewer { box-sizing: border-box; width: calc(100vw - 32px); height: calc(100dvh - 32px); max-width: none; max-height: none; margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--text); overflow: hidden; }
.sg-ready-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.sg-ready-viewer::backdrop { background: rgba(0, 0, 0, .86); }
.sg-ready-viewer__controls { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--card); }
.sg-ready-viewer__controls button, .sg-ready-viewer__navigation button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card2); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.sg-ready-viewer__controls button:hover:not(:disabled), .sg-ready-viewer__navigation button:hover { border-color: var(--lime); color: var(--lime); }
.sg-ready-viewer__controls button:focus-visible, .sg-ready-viewer__navigation button:focus-visible, .sg-ready-viewer__stage:focus-visible { outline: 2px solid var(--lime); outline-offset: -3px; }
.sg-ready-viewer__controls button:disabled { opacity: .4; cursor: default; }
.sg-ready-viewer__scale { width: 56px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.sg-ready-viewer__close { margin-left: auto; }
.sg-ready-viewer__stage { position: relative; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.sg-ready-viewer__canvas { position: relative; display: grid; place-items: center; width: max-content; min-width: 100%; min-height: 100%; }
.sg-ready-viewer .sg-ready-viewer__canvas img { display: block; max-width: none; margin: 0; border-radius: 0; }
.sg-ready-viewer__status { position: sticky; bottom: 16px; width: fit-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-align: center; color: var(--muted2); }
.sg-ready-viewer .sg-ready-viewer__canvas img[hidden], .sg-ready-viewer__status[hidden] { display: none; }
.sg-ready-viewer__navigation { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--card); }
.sg-ready-viewer__navigation svg { display: block; width: 18px; height: 18px; }
.sg-ready-viewer__previous svg { transform: rotate(180deg); }
.sg-ready-viewer__count { min-width: 64px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.sg-ready-product__offer { grid-area: offer; min-width: 0; }
.sg-ready-product__intro { color: var(--muted2); font-size: 14px; line-height: 1.75; }
.sg-ready-product__purchase { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.sg-ready-product__price-label { font-size: 12px; color: var(--muted); }
.sg-ready-product__price { margin: 8px 0 0; font-size: clamp(28px, 2.8vw, 40px); font-weight: 850; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sg-ready-product__price del { display: block; color: var(--muted); font-size: 16px; font-weight: 400; margin-bottom: 8px; }
.sg-ready-product__price ins { text-decoration: none; color: var(--lime); background: transparent; }
.sg-ready-product__price .woocommerce-price-suffix { display: block; font-size: 12px; letter-spacing: normal; color: var(--muted); font-weight: 400; margin-top: 8px; }
.sg-ready-product__note { margin: 12px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.sg-ready-product__actions { display: grid; gap: 10px; margin: 24px 0; }
.sg-ready-product__actions .sg-btn { width: 100%; min-height: 54px; padding: 14px 18px; justify-content: space-between; font-size: 13px; }
.sg-ready-product__actions .sg-btn:active { transform: translateY(1px); }
.sg-ready-product__actions svg { width: 16px; height: 16px; }
.sg-ready-product__demo svg { transform: rotate(-45deg); }
.sg-ready-product__specs table.shop_attributes { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.5; }
.sg-ready-product__specs table.shop_attributes :is(th, td) { border: 0; padding: 9px 0; vertical-align: top; text-align: left; background: transparent; }
.sg-ready-product__specs table.shop_attributes th { width: 42%; color: var(--muted); font-weight: 400; padding-right: 16px; }
.sg-ready-product__specs table.shop_attributes td { color: var(--muted2); }
.sg-ready-product__specs p { margin: 0; }
.sg-ready-product__sections { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 22px 0; margin-top: 48px; border-block: 1px solid var(--line); }
.sg-ready-product__sections a { color: var(--muted2); font-size: 13px; padding-block: 6px; }
.sg-ready-product__sections a:hover { color: var(--lime); }
.sg-ready-product__section { padding-block: 42px; border-bottom: 1px solid var(--line); }
.sg-ready-product :is(h2, h3, p) { overflow-wrap: anywhere; }
.sg-ready-product h2 { margin: 0 0 24px; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.02em; }
.sg-ready-product__description { color: var(--muted2); font-size: 15px; line-height: 1.8; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.sg-ready-product__description a { text-decoration: underline; text-underline-offset: 4px; }
.sg-ready-product__description a:hover { color: var(--lime); }
.sg-ready-product__description :is(img, video, iframe) { max-width: 100%; }
.sg-ready-product__description :is(img, video) { height: auto; }
.sg-ready-product__description table { display: block; max-width: 100%; overflow-x: auto; }
.sg-ready-product__copy { max-width: 78ch; padding: 32px 36px; }
.sg-ready-product__chapter { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 24px 56px; padding: 32px 36px; border-top: 1px solid var(--line); }
.sg-ready-product__chapter:first-child { border-top: 0; }
.sg-ready-product__chapter > :is(h2, h3) { margin: 0; color: var(--text); font-size: 23px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.sg-ready-product__chapter:first-child > :is(h2, h3) { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.2; }
.sg-ready-product__chapter-body { min-width: 0; max-width: 75ch; }
.sg-ready-product__chapter-body > :first-child, .sg-ready-product__copy > :first-child { margin-top: 0; }
.sg-ready-product__chapter-body > :last-child, .sg-ready-product__copy > :last-child { margin-bottom: 0; }
.sg-ready-product__chapter--plain { grid-template-columns: minmax(0, 1fr); }
.sg-ready-product__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.sg-ready-product__list > li { min-width: 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.sg-ready-product__list h3 { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 700; letter-spacing: -.015em; }
.sg-ready-product__list p { margin: 12px 0 0; color: var(--muted2); font-size: 14px; line-height: 1.8; max-width: 68ch; }
.sg-ready-product__list:not(.sg-ready-product__list--included) > li:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 20px 56px; align-items: center; padding-block: 32px; background: var(--card2); }
.sg-ready-product__list:not(.sg-ready-product__list--included) > li:first-child h3 { color: var(--lime); font-size: 27px; }
.sg-ready-product__list:not(.sg-ready-product__list--included) > li:first-child p { margin: 0; font-size: 15px; }
.sg-ready-product__list:not(.sg-ready-product__list--included) > li:last-child:nth-child(even) { grid-column: 1 / -1; }
.sg-ready-product__section--included { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px 64px; margin-block: 42px; padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.sg-ready-product__section--included > h2 { max-width: 13ch; margin: 0; font-size: clamp(28px, 3vw, 40px); }
.sg-ready-product__list--included { grid-template-columns: minmax(0, 1fr); gap: 0; }
.sg-ready-product__list--included > li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 22px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.sg-ready-product__list--included > li:first-child { border-top: 0; padding-top: 0; }
.sg-ready-product__list--included > li:last-child { padding-bottom: 0; }
.sg-ready-product__list--included h3 { font-size: 18px; }
.sg-ready-product__list--included p { margin-top: 8px; }
.sg-ready-product__included-check { display: grid; place-items: center; width: 24px; height: 24px; color: var(--lime); }
.sg-ready-product__included-check svg { width: 22px; height: 22px; }
.sg-ready-product__enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.sg-ready-product__enquiry p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.sg-ready-product__enquiry strong { display: block; color: var(--muted2); font-weight: 500; }
.sg-ready-product__enquiry .sg-ready-enquiry-form { display: grid; gap: 12px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.sg-ready-enquiry-form .field-error { display: block; margin-top: 8px; color: var(--muted2); font-size: 12px; line-height: 1.6; }
.sg-ready-enquiry-form textarea { resize: none; min-height: 108px; }
.sg-ready-enquiry-form .field { caret-color: var(--lime); }
.sg-ready-enquiry-form .field:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.sg-ready-enquiry-form .agree { margin: 0; font-size: 11px; flex-wrap: wrap; }
.sg-ready-enquiry-form .agree > span:first-of-type { flex: 1; }
.sg-ready-enquiry-form .agree > .field-error { flex-basis: 100%; }
.sg-ready-enquiry-form .btn { min-height: 54px; }
@keyframes ready-site-loading { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  .sg-ready-product__top { column-gap: 28px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .sg-ready-product__heading h1 { font-size: 32px; }
}
@media (max-width: 820px) {
  .sg-ready-product__top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "gallery" "offer"; }
  .sg-ready-product__heading { margin-bottom: 24px; }
  .sg-ready-gallery__screen { max-height: clamp(320px, 68vw, 480px); }
  .sg-ready-product__offer { margin-top: 28px; }
  .sg-ready-product__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-ready-product__enquiry { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .sg-ready-product__section { padding-block: 32px; }
  .sg-ready-product__chapter { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 26px; }
  .sg-ready-product__copy { padding: 26px; }
  .sg-ready-product__list > li { padding: 24px; }
  .sg-ready-product__list:not(.sg-ready-product__list--included) > li:first-child { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sg-ready-product__section--included { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 26px; margin-block: 32px; }
  .sg-ready-product__section--included > h2 { max-width: none; }
  .sg-ready-product__list--included > li { padding: 22px 0; }
}
@media (max-width: 640px) {
  .sg-ready-product__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .sg-ready-product__heading h1 { font-size: 30px; }
  .sg-ready-product__actions { grid-template-columns: 1fr; }
  .sg-ready-product__list > li { padding: 22px; }
  .sg-ready-product__list--included > li { padding: 20px 0; }
  .sg-ready-product__list:not(.sg-ready-product__list--included) > li:first-child h3 { font-size: 24px; }
  .sg-ready-product__chapter, .sg-ready-product__copy { padding: 22px; }
  .sg-ready-product__sections { gap: 10px 24px; margin-top: 32px; }
  .sg-ready-product__enquiry { padding: 22px 18px; }
  .sg-ready-product__enquiry h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sg-ready-gallery__loader { animation: none; }
  .sg-ready-product .sg-btn { transition: none; }
}
@media (forced-colors: active) {
  .sg-ready-gallery__thumbnail[aria-pressed="true"] { outline: 3px solid Highlight; }
  .sg-ready-product, .sg-ready-product * { scrollbar-color: auto; }
}

/* Product forms retain the shared lead/modal surface and theme tokens. */
.sg-ready-form-content { min-width: 0; }
.sg-ready-selected-product { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.sg-ready-selected-product strong { display: block; color: var(--text); font-weight: 600; }
.sg-ready-enquiry-checks { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.sg-ready-enquiry-checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted2); }
.sg-ready-enquiry-checks svg { width: 20px; height: 20px; color: var(--lime); flex-shrink: 0; }
.sg-ready-lead-modal .sg-ready-enquiry-form { display: grid; gap: 12px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.sg-ready-lead-modal .sg-lead-modal__title { margin-top: 0; overflow-wrap: anywhere; }
.sg-ready-lead-modal .sg-lead-modal__dialog { max-height: calc(100dvh - 48px); }
.sg-ready-enquiry-form .form-status:empty { display: none; }
.sg-ready-lead-modal .sg-ready-selected-product strong { color: var(--text); }
@media (max-width: 680px) {
  .sg-ready-lead-modal .sg-lead-modal__dialog { max-height: calc(100dvh - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .sg-ready-lead-modal, .sg-ready-lead-modal .sg-lead-modal__overlay, .sg-ready-lead-modal .sg-lead-modal__dialog { transition: none; }
  .sg-ready-lead-modal .sg-lead-modal__dialog { transform: none; }
}

.sg-ready-enquiry-form .field::placeholder { color: var(--muted); opacity: 1; }

