/* Opt-in staging reference. Existing Svitlo blue, no libraries, no animations. */
body.sux-reference { --ref-blue: #1c4e84; --ref-ink: #152d46; --ref-muted: #596b7d; --ref-line: #e0e7ee; background: #fff; }
.sux-reference .site-content { padding-top: 0 !important; }
.sux-reference .site-main { padding-top: 0 !important; }
.sux-reference .sux-ref-breadcrumbs { padding: 25px 0 20px; }
.sux-reference .sux-ref-breadcrumbs .woocommerce-breadcrumb { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ref-muted); overflow-wrap: anywhere; }
.sux-reference .sux-ref-breadcrumbs a { color: var(--ref-muted); }
.sux-reference .sux-ref-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,5vw,76px); align-items: start; padding-bottom: 48px; }
.sux-reference .sux-ref-gallery { min-width: 0; padding: 22px; border: 1px solid var(--ref-line); border-radius: 16px; background: #f6f8fb; }
.sux-ref-gallery-label { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; color: var(--ref-muted); font-size: 12px; }
.sux-ref-gallery-label > :first-child { color: var(--ref-ink); font-weight: 800; letter-spacing: .12em; font-size: 15px; }
.sux-ref-gallery-label > :last-child { text-align: right; }
.sux-ref-gallery-label a { color: inherit; }
.sux-reference div.product .sux-ref-gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; background: #fff; border-radius: 12px; overflow: hidden; }
.sux-reference .sux-ref-gallery .woocommerce-product-gallery__wrapper { margin: 0 !important; }
.sux-reference .sux-ref-gallery .woocommerce-product-gallery__image { width: 100% !important; float: none !important; margin: 0 !important; }
.sux-reference .sux-ref-gallery .woocommerce-product-gallery__image[hidden] { display: none !important; }
.sux-reference .sux-ref-gallery .woocommerce-product-gallery__image > a { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 24px; }
.sux-reference div.product .sux-ref-gallery .woocommerce-product-gallery__image img { width: 100% !important; height: 100% !important; max-height: 470px !important; object-fit: contain; border: 0; }
.sux-ref-thumbs { display: flex; gap: 10px; overflow-x: auto; margin-top: 16px; padding: 2px; }
.sux-ref-thumbs button { flex: 0 0 64px; height: 64px; background: #fff; padding: 6px; border: 1px solid var(--ref-line); border-radius: 8px; cursor: pointer; }
.sux-ref-thumbs button[aria-pressed=true] { border: 2px solid var(--ref-blue) !important; padding: 5px; }
.sux-ref-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.sux-ref-gallery-note { font-size: 12px; line-height: 1.5; color: var(--ref-muted); margin: 13px 0 0; }
.sux-reference div.product .sux-ref-top > .summary { display: flex; flex-direction: column; width: 100% !important; float: none !important; margin: 0 !important; min-width: 0; }
.sux-reference div.product .sux-ref-top > .summary > * { order: 8; }
.sux-reference div.product .sux-ref-top > .summary > .product_title { order: 1; font-size: clamp(26px,2.3vw,34px) !important; line-height: 1.23 !important; letter-spacing: -.025em; color: var(--ref-ink); margin: 0 0 14px; text-transform: none; overflow-wrap: anywhere; }
.sux-reference div.product .sux-ref-top > .summary > .sux-ref-sku { order: 2; margin: 0 0 10px; font-size: 13px; color: var(--ref-muted); }
.sux-reference div.product .sux-ref-top > .summary > .sux-avail { order: 3; align-self: flex-start; padding: 6px 11px; margin: 0 0 20px; font-size: 13px; border-radius: 6px; background: #edf6ef; }
.sux-reference div.product .sux-ref-top > .summary > .price { order: 4; margin: 0 0 20px; padding: 20px; background: #f3f6fa; border: 1px solid var(--ref-line); border-radius: 12px; color: var(--ref-ink); font-size: 32px; line-height: 1.25; font-weight: 750; }
.sux-ref-price-label { display: block; margin-bottom: 7px; color: var(--ref-muted); font-size: 13px; font-weight: 400; }
.sux-ref-price > .amount, .sux-ref-price ins, .sux-ref-price del { white-space: nowrap; }
.sux-reference .sux-ref-price > div { margin: 15px 0 0 !important; padding: 13px 0 0; border-top: 1px solid #dce5ee; font-size: 15px; line-height: 1.5; font-weight: 500; }
.sux-reference .sux-ref-price > div > span { color: #27653e !important; font-weight: 600 !important; }
.sux-reference .sux-ref-price > div > div { color: var(--ref-muted) !important; margin-top: 2px; font-size: 12px !important; }
.sux-reference div.product .sux-ref-top > .summary > form.cart { order: 5; display: flex; gap: 12px; margin: 0 0 24px !important; align-items: stretch; }
.sux-reference .summary form.cart .quantity { margin: 0 !important; flex: 0 0 76px; }
.sux-reference .summary form.cart .quantity input { width: 76px; height: 54px; border: 1px solid #c6d2df; border-radius: 8px; color: var(--ref-ink); }
.sux-reference .summary form.cart .single_add_to_cart_button { flex: 1; min-width: 0; min-height: 54px; padding: 14px 18px; background: var(--ref-blue) !important; border: 0; border-radius: 8px !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.4; letter-spacing: 0; text-transform: none !important; }
.sux-reference div.product .sux-ref-top > .summary > form.variations_form { display: block; }
.sux-reference .summary .variations { width: 100%; table-layout: fixed; margin-bottom: 15px; }
.sux-reference .summary .variations th { width: 26%; padding-right: 10px; }
.sux-reference .summary .variations td { min-width: 0; padding: 6px 0; }
.sux-reference .summary .variations select { width: 100%; max-width: 100%; min-height: 46px; font-size: 16px; }
.sux-reference .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; }
.sux-reference .sux-ref-quote { order: 5 !important; margin: 0 0 24px; min-height: 54px; padding: 14px 18px; border: 0; border-radius: 8px; background: var(--ref-blue); color: #fff; font-size: 16px; cursor: pointer; }
.sux-reference div.product .summary .sux-ref-quote { background: var(--ref-blue) !important; color: #fff !important; border-radius: 8px !important; text-transform: none !important; }
.sux-reference .sux-avail--wait, .sux-reference .sux-avail--back { background: #fff5df !important; color: #805810; }
.sux-reference .sux-ref-price .price-call-for-price { font-size: 25px; color: var(--ref-ink) !important; }
.sux-reference .woocommerce-Tabs-panel table { max-width: 100%; table-layout: fixed; }
.sux-reference .woocommerce-Tabs-panel td, .sux-reference .woocommerce-Tabs-panel th { overflow-wrap: anywhere; }
.sux-reference div.product .sux-ref-top > .summary > .sux-ref-benefits { order: 6; margin: 0 0 22px; }
.sux-ref-benefits h2 { font-size: 15px; line-height: 1.4; font-weight: 700; color: var(--ref-ink); margin: 0 0 11px; }
.sux-ref-benefits ul { list-style: none; margin: 0; padding: 0; }
.sux-ref-benefits li { position: relative; padding-left: 23px; margin-bottom: 8px; font-size: 14px; line-height: 1.5; color: #43586c; }
.sux-ref-benefits li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 700; color: #347448; }
.sux-reference div.product .sux-ref-top > .summary > .sux-ref-service { order: 7; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ref-line); border-bottom: 1px solid var(--ref-line); padding: 17px 0; gap: 20px; margin-bottom: 16px; }
.sux-ref-service a { display: flex; flex-direction: column; gap: 5px; color: var(--ref-ink); font-size: 13px; line-height: 1.5; }
.sux-ref-service a > span { font-size: 12px; color: var(--ref-muted); }
.sux-ref-excerpt { font-size: 14px; line-height: 1.7; color: #43586c; }
.sux-ref-excerpt summary { cursor: pointer; color: var(--ref-blue); min-height: 44px; padding: 8px 0; font-weight: 600; }
.sux-ref-excerpt > div { padding-top: 10px; }
.sux-reference .sux-ref-details { clear: both; border-top: 1px solid var(--ref-line); padding-top: 12px; }
.sux-reference div.product .woocommerce-tabs { margin: 0 0 50px; padding: 0; }
.sux-reference div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0 28px; max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 0 !important; margin: 0 0 30px !important; border: 0; border-bottom: 1px solid var(--ref-line) !important; }
.sux-reference div.product .woocommerce-tabs ul.tabs::before, .sux-reference div.product .woocommerce-tabs ul.tabs li::before, .sux-reference div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.sux-reference div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; display: block; background: transparent !important; border: 0 !important; border-radius: 0; margin: 0; padding: 0 !important; float: none; box-shadow: none; }
/* Reset the Greenly anchor box too; resetting li alone leaves its border, top offset and active fill. */
.sux-reference div.product .woocommerce-tabs ul.tabs li a { position: relative; top: 0; float: none; display: flex; align-items: center; height: 56px; min-height: 56px; padding: 12px 0; margin: 0; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent !important; background-image: none; box-shadow: none; color: var(--ref-muted); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; transition: none; }
.sux-reference div.product .woocommerce-tabs ul.tabs li.active a { background: transparent !important; color: var(--ref-blue); font-weight: 600; border-bottom-color: var(--ref-blue); }
.sux-reference div.product .woocommerce-tabs ul.tabs li:hover a { background: transparent !important; }
.sux-reference div.product .woocommerce-tabs ul.tabs li a:focus-visible { outline-offset: -4px; }
.sux-reference .woocommerce-Tabs-panel { max-width: 920px; padding: 0; border: 0; box-shadow: none; color: #43586c; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.sux-reference .woocommerce-Tabs-panel h2, .sux-reference .related > h2 { color: var(--ref-ink); font-size: 25px; line-height: 1.3; margin: 0 0 22px; }
.sux-reference .woocommerce-Tabs-panel h4 { color: var(--ref-ink); font-size: 18px; line-height: 1.5; margin: 28px 0 12px; }
.sux-reference .woocommerce-Tabs-panel li p { margin-bottom: 12px; }
.sux-reference .sux-ref-specs { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; border: 1px solid var(--ref-line); border-radius: 10px; overflow: hidden; font-size: 14px; line-height: 1.65; }
.sux-reference .sux-ref-specs th, .sux-reference .sux-ref-specs td { padding: 17px 20px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--ref-line); overflow-wrap: anywhere; }
.sux-reference .sux-ref-specs th { width: 44%; font-weight: 500; color: var(--ref-muted); background: #f6f8fb; }
.sux-reference .sux-ref-specs td { color: var(--ref-ink); }
.sux-reference .sux-ref-specs tr:last-child > * { border-bottom: 0; }
.sux-reference :is(button,a,input,summary):focus-visible { outline: 3px solid #618dbb !important; outline-offset: 3px; }
@media (max-width: 991px) {
  .sux-reference .sux-ref-top { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .sux-reference .sux-ref-gallery { max-width: 580px; width: 100%; margin: 0 auto; }
  .sux-reference .sux-ref-gallery .woocommerce-product-gallery__image > a { aspect-ratio: 1.2; }
}
@media (max-width: 767px) {
  .sux-reference .sux-reference-product, .sux-reference .sux-ref-breadcrumbs { margin-left: 16px; margin-right: 16px; }
  .sux-reference .sux-ref-breadcrumbs { padding: 14px 0; }
  .sux-reference .sux-ref-top { gap: 23px; padding-bottom: 28px; }
  .sux-reference .sux-ref-gallery { padding: 14px; border-radius: 12px; }
  .sux-ref-gallery-label { margin-bottom: 12px; font-size: 11px; }
  .sux-reference .sux-ref-gallery .woocommerce-product-gallery__image > a { aspect-ratio: 1.2; padding: 18px; }
  .sux-reference .sux-ref-gallery .woocommerce-product-gallery__image img { max-height: 270px !important; }
  .sux-ref-thumbs { margin-top: 12px; }
  .sux-ref-thumbs button { flex-basis: 52px; height: 52px; }
  .sux-ref-gallery-note { font-size: 11px; margin-top: 10px; }
  .sux-reference div.product .sux-ref-top > .summary > .product_title { font-size: 25px !important; line-height: 1.25 !important; }
  .sux-reference div.product .sux-ref-top > .summary > .price { padding: 17px; font-size: 30px; margin-bottom: 16px; }
  .sux-reference div.product .sux-ref-top > .summary > .sux-ref-service { gap: 14px; }
  .sux-reference div.product .woocommerce-tabs ul.tabs { gap: 0 20px; margin-bottom: 23px !important; }
  .sux-reference div.product .woocommerce-tabs ul.tabs li a { font-size: 14px; height: 52px; min-height: 52px; padding: 12px 0; }
  .sux-reference .sux-ref-specs th, .sux-reference .sux-ref-specs td { padding: 12px; font-size: 13px; }
  .sux-reference .woocommerce-Tabs-panel h2, .sux-reference .related > h2 { font-size: 22px; }
  .sux-reference .sux-buybar__price { font-size: 16px; }
  .sux-reference .sux-buybar__btn { padding: 0 13px; font-size: 14px; }
}

/* Match the theme panel selector so legacy Greenly spacing cannot nest a second frame. */
body.sux-reference div.product .woocommerce-tabs .woocommerce-Tabs-panel { padding: 0; border: 0; box-shadow: none; }
