/* Ordering code configurator - two column layout (form + summary card).
   Loaded on product pages after theme.min.css. Markup: loop-templates/ordering-code.php
   Behaviour: assets/js/ordering-code.js (class/data hooks preserved). */

.content__wrapper.ordering-code {
    --oc-teal: #0a7f80;
    --oc-teal-dark: #0a4f55;
    --oc-teal-soft: #c9eee8;
    --oc-border: #cfd9d8;
    --oc-text: #1b2e36;
    --oc-muted: #7a8a90;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 506px !important;
    column-gap: 134px !important;
    row-gap: 0 !important;
    align-items: start !important;
    width: min(1450px, 92%);
    margin-inline: auto;
    padding-block: 2.5rem 3.5rem;
}

.ordering-code__title {
    grid-column: 1;
    grid-row: 1;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-align: left;
    margin: 0;
    line-height: 1.15;
    font-size: 32px;
    color: #014751;
    font-family: 'Montserrat', sans-serif;
}

.ordering-code__subtitle {
    grid-column: 1;
    grid-row: 2;
    margin: 0.6rem 0 0;
    max-width: 640px;
    color: var(--oc-text);
    font-size: 15px;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0;
    font-style: normal;
}

.evl-box {
    grid-column: 1;
    grid-row: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 1.4rem 0 0.4rem;
    font-size: 15px;
    color: var(--oc-text);

    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0;
}

.evl-box label {
    color: #000000;
}

.evl-box input[type='checkbox'] {
    width: 18px;
    height: 18px;
    accent-color: var(--oc-teal);
}

/* ---------- layout ---------- */
.ordering-code__config {
    display: contents !important;
    width: 100%;
}

.oc {
    display: contents !important;
    color: var(--oc-text);
}

.oc .ordering-code__dropdowns {
    grid-column: 1;
    grid-row: 4;
    margin: 1.5rem 0 0;
    width: 100%;
}

.oc .oc__hubspot-target .hs-form-booleancheckbox label span,
.oc .oc__hubspot-target .hs-form-booleancheckbox label p,
.oc .oc__hubspot-target .hs-form-booleancheckbox-display>span,
body.oc .hs-form-booleancheckbox label span,
body.oc .hs-form-booleancheckbox label p,
body.oc .hs-form-booleancheckbox-display>span {
    font-size: 11.01px !important;
}

.single-product .content__view:has(div[data-view="ordering-code"]) {
    padding-block: 0vmin !important;
}

/* two explicit columns of fields */
.oc .oc__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0;
}

.oc .oc__col {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
    max-width: 413px;
}

.oc .oc__col-fields {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oc .oc__field.ordering-code__config-term {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0 0 22px;
    border: 0;
    background: none;
    break-inside: avoid;
    font-size: 15px;
}

.oc .oc__field.ordering-code__config-term:hover .ordering-code__term .text {
    font-weight: inherit;
}

.oc .oc__field.ordering-code__config-term--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.oc .oc__field.ordering-code__config-term--disabled .oc__info {
    pointer-events: auto !important;
    cursor: help;
}

/* ---------- label + status ---------- */
.oc__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
}

.oc__status {
    position: relative;
    display: inline-flex;
    width: 16px;
    height: 16px;
}

.oc__info,
.oc__check {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    line-height: 1;
}

.oc__info {
    background: #D9D9D9;
    color: #000;
    font-weight: 700;
    cursor: help;
    pointer-events: auto;
    z-index: 2;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.oc__info:hover,
.oc__info:focus {
    background: #CCFF33 !important;
    color: #000 !important;
    z-index: 9999;
}

.oc__status:has(.oc__info:hover),
.oc__status:has(.oc__info:focus),
.oc .oc__field:has(.oc__info:hover),
.oc .oc__field:has(.oc__info:focus) {
    z-index: 9999;
    opacity: 1;
}

.oc__check {
    border: 1.5px solid var(--oc-teal);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.oc__check::after {
    content: '';
    width: 4px;
    height: 7px;
    border: solid var(--oc-teal);
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-1px) rotate(45deg);
}

.oc .oc__field:not(.ordering-code__config-term--disabled):has([data-selected='true']) .oc__check {
    opacity: 1;
    z-index: 3;
}

.oc .oc__field:not(.ordering-code__config-term--disabled):has([data-selected='true']) .oc__info {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

/* tooltip arrow pointer */
.oc__info::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border-width: 6px 5px 0 5px;
    border-style: solid;
    border-color: var(--oc-teal) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 10001;
}

/* tooltip bubble */
.oc__info::after {
    content: attr(data-tip);
    position: absolute;
    left: -14px;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 250px;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--oc-teal);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 10000;
}

.oc__info:hover::before,
.oc__info:focus::before {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.oc__info:hover::after,
.oc__info:focus::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.oc__info:not([data-tip])::before,
.oc__info:not([data-tip])::after,
.oc__info[data-tip=""]::before,
.oc__info[data-tip=""]::after {
    display: none !important;
}

/* ---------- select-style control ---------- */
.oc .oc__control {
    justify-content: space-between;
    gap: 12px;
    height: 46px;
    padding: 0 18px;
    border: 1px solid #A6A6A6 !important;
    border-radius: 24px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

span.oc__label-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: #000;
}

.oc .oc__control .text {
    color: var(--oc-muted);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oc .oc__field--select:has([data-selected='true']) .oc__control .text {
    color: var(--oc-text);
}

.oc .oc__field[data-open='true'] .oc__control,
.oc .oc__field--select:has([data-selected='true']:not([data-default='1'])) .oc__control {
    border-color: var(--oc-teal);
}

.oc .oc__field[data-open='true'] .oc__control {
    box-shadow: 0 0 0 3px rgba(10, 127, 128, 0.12);
}

.oc .ordering-code__term .icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.oc .ordering-code__term .icon svg {
    width: 18px !important;
    height: 18px !important;
    transform: none !important;
    transition: transform 0.25s ease !important;
}

.oc .ordering-code__term .icon svg path {
    fill: #1b2e36 !important;
    stroke: none !important;
}

.oc .oc__field[data-open='true'] .ordering-code__term .icon svg {
    transform: rotate(180deg) !important;
}

.oc .oc__field--select {
    position: relative;
    z-index: 1;
}

.oc .oc__field--select[data-open='true'] {
    z-index: 60;
}

.oc .oc__field--select .ordering-code__values {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    z-index: 100 !important;
    display: none !important;
    max-height: 240px;
    overflow-y: auto;
    background: #ffffff !important;
    border: 1px solid var(--oc-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 32px rgba(11, 46, 54, 0.16) !important;
    list-style: none;
    padding: 6px 0;
    margin: 0;
}

.oc .oc__field--select[data-open='true'] .ordering-code__values {
    display: flex !important;
    flex-direction: column !important;
}

/* Open bottom-row dropdowns (e.g. Shaft-turn Counter) upward so they are never clipped by the banner below */
.oc .oc__field--select[data-attribute="pa_shaft-turn-counter"] .ordering-code__values,
.oc .oc__col--1>.oc__field--select:last-child .ordering-code__values {
    top: auto !important;
    bottom: calc(46px + 6px) !important;
    box-shadow: 0 -12px 32px rgba(11, 46, 54, 0.16) !important;
}

.oc .oc__field--select .ordering-code__value {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    color: var(--oc-text);
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.oc .oc__field--select .ordering-code__value:hover {
    background: var(--oc-teal-soft);
    color: var(--oc-teal);
}

.oc .oc__field--select .ordering-code__value[data-selected='true'] {
    background: var(--oc-teal-soft);
    color: var(--oc-teal);
    font-weight: 600;
}

.oc .oc__field--select .ordering-code__value--disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ---------- chips ---------- */
.oc .oc__chips.ordering-code__values {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    max-height: none;
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
    height: 24px;


    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
}

.oc .oc__chips .ordering-code__value {
    padding: 8px 16px;
    border: 1px solid var(--oc-border);
    border-radius: 50px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 32px;
}

.oc .oc__chips .ordering-code__value .text {
    font-size: 14px;
    color: var(--oc-text);
}

.oc .oc__chips .ordering-code__value:hover {
    border-color: var(--oc-teal);
    background: #f4fbfa;
}

.oc .oc__chips .ordering-code__value[data-selected='true'] {
    background: var(--oc-teal-soft);
    border-color: var(--oc-teal);
}

.oc .oc__chips .ordering-code__value[data-selected='true'] .text {
    color: var(--oc-teal-dark);
    font-weight: 500;
}

.oc .oc__chips .ordering-code__value[data-selected='true']::after {
    content: none;
}

.oc .oc__chips .ordering-code__value--disabled {
    opacity: 0.4;
    background: #f1f4f4;
}

.oc .oc__chips .ordering-code__comment {
    flex-basis: 100%;
    color: var(--oc-muted);
}

/* ---------- help link ---------- */
.oc .oc__help {
    margin-top: 6px;
    gap: 10px;
    font-size: 15px;
    color: var(--oc-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 19.2px;
    line-height: 28.8px;
    letter-spacing: 0;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;

}


.ordering-code__helper-text .icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}


.ordering-code__helper-text>span:first-child {
    white-space: nowrap;
    flex-shrink: 0;
}

.ordering-code__helper-text .icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}


.oc .oc__help .icon {
    width: 20px;
    height: 20px;
}

.oc .oc__help .icon svg path {
    fill: #FFF;
}

/* ---------- summary ---------- */
.oc__summary {
    grid-column: 2;
    grid-row: 1 / span 5;
    position: sticky;
    top: 110px;
    width: 506px;
    margin: 0;
}

.oc__summary-title {
    margin: 0 0 10px;


    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18.4px;
    line-height: 27.6px;
    letter-spacing: 0;
}

.oc .oc__card.ordering-code__result {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none !important;
    border: none;
    color: var(--oc-text);
}

.oc__card-top {
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.oc__card .ordering-code__image {
    flex: 0 0 96px;
    width: 101px;
    height: 101px;
    border: 1px solid #dfe7e7;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
    box-sizing: border-box;
}

.oc__card .ordering-code__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.oc__card .ordering-code__image--empty {
    background: #f8fafc;
}

.oc__card .ordering-code__code-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
}

.oc .oc__codebox {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 96px;
    min-height: 96px;
    padding: 12px 18px;
    gap: 2px;
    border: 1px solid #dfe7e7;
    border-radius: 10px;
    background: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #767676;
    text-align: center;
    word-break: break-all;
    box-sizing: border-box;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.oc .oc__codebox.oc__codebox--completed {
    background-color: #e9f7f6;
    border-color: #9fe2de;
    color: #0b2e36;
}

.oc .oc__codebox .ordering-code__part {
    --fz: 1em;
    gap: 2px;
}

.oc .oc__codebox .ordering-code__part .content:not(:empty) {
    margin-inline-start: 0;
}

.oc__progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.oc__progress-text {
    flex: 0 0 auto;
    font-size: 18.4px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    white-space: nowrap;
    letter-spacing: 0px;
    line-height: 36.11px;
}

.oc__progress-bar {
    flex: 1 1 auto;
    height: 11px;
    border-radius: 99px;
    background: #e6eded;
    overflow: hidden;
}

.oc__progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #0a7f80;
    transition: width 0.35s ease;
}

.oc__divider {
    border-bottom: 1px dotted #c8d4d4;
    margin: 18px 0 16px;
    background: repeating-linear-gradient(to right,
            #BDBDBD 0 2px,
            transparent 2px 4px);
}

/* ---------- Request Quote Card Section ---------- */
.oc .oc__hubspot-target {
    margin-top: 2px;
}

.oc__quote-heading {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0px;
    color: #000000;
    margin: 0 0 3px;
    text-transform: uppercase;
    line-height: 36.11px;
}

.oc__quote-subheading {
    font-size: 18.4px;
    color: #000000;
    margin: 0 0 16px;


    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18.4px;
    line-height: 27.6px;
    letter-spacing: 0;
}

.oc__quote-caption {
    font-size: 11px;
    color: #696969;
    text-align: center;
    margin: 10px 0 0;
    line-height: 1.3;
}

.oc__quote-thankyou {
    padding: 24px 16px;
    background: #eef8f6;
    border-radius: 14px;
    text-align: center;
}

.oc__quote-thankyou-title {
    font-size: 17px;
    color: var(--oc-teal-dark);
    margin: 0 0 6px;
    font-weight: 600;
}

.oc__quote-thankyou-desc {
    font-size: 13.5px;
    color: #3b5056;
    margin: 0;
    line-height: 1.4;
}

.oc__new-order-btn {
    display: block;
    width: 100%;
    margin: 16px 0 0;
    padding: 12px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--oc-teal-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.oc__new-order-btn:hover {
    opacity: 0.85;
}

/* HubSpot form styling inside the card (supports both direct DOM and HubSpot iframe) */
.oc .oc__hubspot-target .hs-form,
body.oc .hs-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.oc .oc__hubspot-target fieldset,
.oc .oc__hubspot-target fieldset.form-columns-1,
.oc .oc__hubspot-target fieldset.form-columns-2,
body.oc fieldset,
body.oc fieldset.form-columns-1,
body.oc fieldset.form-columns-2 {
    display: contents !important;
    max-width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Default: full-width (2 columns) for fields unless specified */
.oc .oc__hubspot-target .hs-form>.hs-form-field,
.oc .oc__hubspot-target fieldset>.hs-form-field,
.oc .oc__hubspot-target .hs-form>.legal-consent-container,
.oc .oc__hubspot-target .hs-form>.hs_submit,
.oc .oc__hubspot-target .hs-form>.hs_error_rollup,
body.oc .hs-form>.hs-form-field,
body.oc fieldset>.hs-form-field,
body.oc .hs-form>.legal-consent-container,
body.oc .hs-form>.hs_submit,
body.oc .hs-form>.hs_error_rollup {
    grid-column: 1 / -1 !important;
}

/* ==========================================================================
   HubSpot Form Field Ordering
   Full Name (1) -> Email (2) -> Company & Country (3) -> Ordering Code (4)
   -> Privacy Checkbox (5) -> Submit Button (6) -> Error Rollup (7)
   ========================================================================== */

/* 1. Full Name */
.oc .oc__hubspot-target .hs-form>fieldset:has(input[name="firstname"]),
.oc .oc__hubspot-target .hs-form>.hs_firstname,
.oc .oc__hubspot-target .hs-form-field.hs_firstname,
body.oc .hs-form>fieldset:has(input[name="firstname"]),
body.oc .hs-form>.hs_firstname,
body.oc .hs-form-field.hs_firstname {
    order: 1 !important;
}

/* 2. Work Email */
.oc .oc__hubspot-target .hs-form>fieldset:has(input[name="email"]),
.oc .oc__hubspot-target .hs-form>.hs_email,
.oc .oc__hubspot-target .hs-form-field.hs_email,
body.oc .hs-form>fieldset:has(input[name="email"]),
body.oc .hs-form>.hs_email,
body.oc .hs-form-field.hs_email {
    order: 2 !important;
}

/* 3. Company & Country */
.oc .oc__hubspot-target .hs-form>fieldset:has(input[name="company"]),
.oc .oc__hubspot-target .hs-form>fieldset:has(select[name*="country"]),
.oc .oc__hubspot-target .hs-form>.hs_company,
.oc .oc__hubspot-target .hs-form>.hs_country,
.oc .oc__hubspot-target .hs-form>.hs_country_v2,
.oc .oc__hubspot-target .hs-form-field.hs_company,
.oc .oc__hubspot-target .hs-form-field.hs_country,
.oc .oc__hubspot-target .hs-form-field.hs_country_v2,
body.oc .hs-form>fieldset:has(input[name="company"]),
body.oc .hs-form>fieldset:has(select[name*="country"]),
body.oc .hs-form>.hs_company,
body.oc .hs-form>.hs_country,
body.oc .hs-form>.hs_country_v2,
body.oc .hs-form-field.hs_company,
body.oc .hs-form-field.hs_country,
body.oc .hs-form-field.hs_country_v2 {
    order: 3 !important;
}

/* 4. Ordering Code (textbox sits directly above the privacy checkbox) */
.oc .oc__hubspot-target .hs-form>fieldset:has(input[name*="ordering_code"]),
.oc .oc__hubspot-target .hs-form>fieldset:has(.hs_ordering_code),
.oc .oc__hubspot-target .hs-form>.hs_ordering_code,
.oc .oc__hubspot-target .hs-form>.hs-form-field:has(input[name*="ordering_code"]),
.oc .oc__hubspot-target .hs-form-field:has(input[name*="ordering_code"]),
.oc .oc__hubspot-target .hs-form-field.hs_ordering_code,
.oc .oc__hubspot-target .hs_ordering_code,
body.oc .hs-form>fieldset:has(input[name*="ordering_code"]),
body.oc .hs-form>fieldset:has(.hs_ordering_code),
body.oc .hs-form>.hs_ordering_code,
body.oc .hs-form>.hs-form-field:has(input[name*="ordering_code"]),
body.oc .hs-form-field:has(input[name*="ordering_code"]),
body.oc .hs-form-field.hs_ordering_code,
body.oc .hs_ordering_code {
    order: 4 !important;
    grid-column: 1 / -1 !important;
}

/* 5. "What's blocking you?" Textarea (hidden in main Quote form; visible above Privacy Policy in Get Help popup) */
#oc-hubspot-quote-target .hs-form-field:has(textarea),
#oc-hubspot-quote-target .hs-form-field.hs-fieldtype-textarea,
#oc-hubspot-quote-target fieldset:has(textarea),
body.oc.oc-is-quote .hs-form-field:has(textarea),
body.oc.oc-is-quote .hs-form-field.hs-fieldtype-textarea,
body.oc.oc-is-quote fieldset:has(textarea) {
    display: none !important;
}

.oc .oc__hubspot-target .hs-form>fieldset:has(textarea),
.oc .oc__hubspot-target .hs-form>.hs-form-field:has(textarea),
.oc .oc__hubspot-target .hs-form-field:has(textarea),
.oc .oc__hubspot-target .hs-form-field.hs-fieldtype-textarea,
body.oc .hs-form>fieldset:has(textarea),
body.oc .hs-form>.hs-form-field:has(textarea),
body.oc .hs-form-field:has(textarea),
body.oc .hs-form-field.hs-fieldtype-textarea {
    order: 5 !important;
    grid-column: 1 / -1 !important;
}

/* 6. Privacy Policy Checkbox */
.oc .oc__hubspot-target .hs-form>fieldset:has(.legal-consent-container),
.oc .oc__hubspot-target .hs-form>fieldset:has(input[type="checkbox"]),
.oc .oc__hubspot-target .hs-form>.legal-consent-container,
.oc .oc__hubspot-target .hs-form>.hs-form-field:has(input[type="checkbox"]),
.oc .oc__hubspot-target .legal-consent-container,
.oc .oc__hubspot-target .hs-form-field:has(input[type="checkbox"]),
.oc .oc__hubspot-target .hs-form-field.hs-fieldtype-booleancheckbox,
.oc .oc__hubspot-target .hs-form-booleancheckbox,
body.oc .hs-form>fieldset:has(.legal-consent-container),
body.oc .hs-form>fieldset:has(input[type="checkbox"]),
body.oc .hs-form>.legal-consent-container,
body.oc .hs-form>.hs-form-field:has(input[type="checkbox"]),
body.oc .legal-consent-container,
body.oc .hs-form-field:has(input[type="checkbox"]),
body.oc .hs-form-field.hs-fieldtype-booleancheckbox,
body.oc .hs-form-booleancheckbox {
    order: 6 !important;
    grid-column: 1 / -1 !important;
}

/* 7. Submit Button */
.oc .oc__hubspot-target .hs-form>.hs_submit,
.oc .oc__hubspot-target .hs_submit,
body.oc .hs-form>.hs_submit,
body.oc .hs_submit {
    order: 7 !important;
    grid-column: 1 / -1 !important;
}

/* 8. Error Rollup */
.oc .oc__hubspot-target .hs-form>.hs_error_rollup,
.oc .oc__hubspot-target .hs_error_rollup,
body.oc .hs-form>.hs_error_rollup,
body.oc .hs_error_rollup {
    order: 8 !important;
    grid-column: 1 / -1 !important;
}

/* Desktop (>768px): Company & Country sit side-by-side (1 column each) on Row 3 */
@media (min-width: 769px) {

    .oc .oc__hubspot-target .hs-form-field.hs_company,
    .oc .oc__hubspot-target .hs-form-field.hs_country,
    .oc .oc__hubspot-target .hs-form-field.hs_country_v2,
    .oc .oc__hubspot-target .hs-form-field:has(input[name="company"]),
    .oc .oc__hubspot-target .hs-form-field:has(select[name*="country"]),
    .oc .oc__hubspot-target .hs-form-field:has(input[name*="country"]) {
        grid-column: span 1 !important;
    }
}

body.oc:not(.is-mobile) .hs-form-field.hs_company,
body.oc:not(.is-mobile) .hs-form-field.hs_country,
body.oc:not(.is-mobile) .hs-form-field.hs_country_v2,
body.oc:not(.is-mobile) .hs-form-field:has(input[name="company"]),
body.oc:not(.is-mobile) .hs-form-field:has(select[name*="country"]),
body.oc:not(.is-mobile) .hs-form-field:has(input[name*="country"]) {
    grid-column: span 1 !important;
}

/* Mobile (<=768px): All fields (Full Name, Work Email, Company, Choose country) stack full width */
@media (max-width: 768px) {
    .oc__quote-subheading {
        display: none !important;
    }

    .oc .oc__hubspot-target {
        margin-top: 8px !important;
    }

    .oc .oc__hubspot-target .hs-form {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .oc .oc__hubspot-target .hs-form-field.hs_company,
    .oc .oc__hubspot-target .hs-form-field.hs_country,
    .oc .oc__hubspot-target .hs-form-field.hs_country_v2 {
        grid-column: 1 / -1 !important;
    }
}

body.oc.is-mobile .hs-form {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

body.oc.is-mobile .hs-form-field.hs_company,
body.oc.is-mobile .hs-form-field.hs_country,
body.oc.is-mobile .hs-form-field.hs_country_v2 {
    grid-column: 1 / -1 !important;
}

/* If First Name + Last Name are separate fields in HubSpot, hide Last Name so Full Name spans full width */
.oc .oc__hubspot-target .hs-form:has(.hs_firstname) .hs-form-field.hs_lastname,
body.oc .hs-form:has(.hs_firstname) .hs-form-field.hs_lastname {
    display: none !important;
}

.oc .oc__hubspot-target .hs-form-field,
body.oc .hs-form-field {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    position: relative !important;
    min-width: 0 !important;
}

/* Floating label with red required star inside pill inputs/selects */
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox)>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox)>label {
    display: inline-flex !important;
    align-items: center !important;
    position: absolute !important;
    left: 18px !important;
    top: 22px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #7b888c !important;
    pointer-events: none !important;
    z-index: 2 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transition: opacity 0.15s ease, visibility 0.15s ease !important;
}

.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox)>label .hs-form-required,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox)>label .hs-form-required {
    color: #e53935 !important;
    margin-left: 2px !important;
    font-weight: 600 !important;
}

/* Floating label position inside textarea */
.oc .oc__hubspot-target .hs-form-field:has(textarea)>label,
.oc .oc__hubspot-target .hs-form-field.hs-fieldtype-textarea>label,
body.oc .hs-form-field:has(textarea)>label,
body.oc .hs-form-field.hs-fieldtype-textarea>label {
    top: 14px !important;
    transform: none !important;
}

/* Hide floating label when input/select/textarea is focused or has a value */
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox):focus-within>label,
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox).has-value>label,
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(input:focus)>label,
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(select:focus)>label,
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(textarea:focus)>label,
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(input:not(:placeholder-shown))>label,
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(textarea:not(:placeholder-shown))>label,
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(input:-webkit-autofill)>label,
.oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(textarea:-webkit-autofill)>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox):focus-within>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox).has-value>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(input:focus)>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(select:focus)>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(textarea:focus)>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(input:not(:placeholder-shown))>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(textarea:not(:placeholder-shown))>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(input:-webkit-autofill)>label,
body.oc .hs-form-field:not(.hs-fieldtype-booleancheckbox):has(textarea:-webkit-autofill)>label {
    opacity: 0 !important;
    visibility: hidden !important;
}

.oc .oc__hubspot-target .hs-form input[type="text"],
.oc .oc__hubspot-target .hs-form input[type="email"],
.oc .oc__hubspot-target .hs-form input[type="tel"],
.oc .oc__hubspot-target .hs-form select,
body.oc .hs-form input[type="text"],
body.oc .hs-form input[type="email"],
body.oc .hs-form input[type="tel"],
body.oc .hs-form select {
    width: 100% !important;
    height: 44px !important;
    border-radius: 99px !important;
    background-color: #ededed !important;
    border: 1px solid transparent !important;
    color: #1b2e36 !important;
    font-size: 13.5px !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.oc .oc__hubspot-target .hs-form textarea,
body.oc .hs-form textarea {
    width: 100% !important;
    min-height: 76px !important;
    max-height: 140px !important;
    border-radius: 22px !important;
    background-color: #ededed !important;
    border: 1px solid transparent !important;
    color: #1b2e36 !important;
    font-size: 13.5px !important;
    font-family: inherit !important;
    line-height: 1.45 !important;
    padding: 12px 18px !important;
    box-sizing: border-box !important;
    outline: none !important;
    resize: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.oc .oc__hubspot-target .hs-form textarea:focus,
body.oc .hs-form textarea:focus {
    border-color: var(--oc-teal, #0a7f80) !important;
    background-color: #ffffff !important;
}

/* Ordering code field styling in HubSpot form */
.oc .oc__hubspot-target .hs-form input[name="ordering_code"],
.oc .oc__hubspot-target .hs-form input[name*="ordering_code"],
body.oc .hs-form input[name="ordering_code"],
body.oc .hs-form input[name*="ordering_code"] {
    cursor: default !important;
    font-weight: 600 !important;
    color: #014751 !important;
    letter-spacing: 0.02em !important;
}

/* Hide native placeholder text when floating label is visible */
.oc .oc__hubspot-target .hs-form input::placeholder,
.oc .oc__hubspot-target .hs-form textarea::placeholder,
body.oc .hs-form input::placeholder,
body.oc .hs-form textarea::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* Mute empty select default option so floating label shows cleanly */
.oc .oc__hubspot-target .hs-form-field:not(.has-value) select,
body.oc .hs-form-field:not(.has-value) select {
    color: transparent !important;
}

.oc .oc__hubspot-target .hs-form-field select option,
body.oc .hs-form-field select option {
    color: #1b2e36 !important;
}

.oc .oc__hubspot-target .hs-form select,
body.oc .hs-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    padding-right: 42px !important;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.0783 16.2666L20.0424 7.90641C20.1757 7.76688 20.25 7.58137 20.25 7.38844C20.25 7.19551 20.1757 7.01 20.0424 6.87047L20.033 6.86344C19.9686 6.79542 19.8911 6.74125 19.805 6.70422C19.719 6.6672 19.6263 6.6481 19.5326 6.6481C19.439 6.6481 19.3463 6.6672 19.2603 6.70422C19.1742 6.74125 19.0966 6.79542 19.0323 6.86344L11.5323 14.7338L4.03694 6.86344C3.97255 6.79542 3.89497 6.74124 3.80893 6.70422C3.72289 6.6672 3.63022 6.6481 3.53655 6.6481C3.44289 6.6481 3.35021 6.6672 3.26417 6.70422C3.17814 6.74124 3.10055 6.79542 3.03616 6.86344L3.02679 6.87047C2.89354 7.01 2.8192 7.19551 2.8192 7.38844C2.8192 7.58137 2.89354 7.76688 3.02679 7.90641L10.9908 16.2666C11.0609 16.3403 11.1452 16.399 11.2387 16.4392C11.3322 16.4793 11.4329 16.5 11.5346 16.5C11.6363 16.5 11.737 16.4793 11.8305 16.4392C11.9239 16.399 12.0083 16.3403 12.0783 16.2666Z' fill='black'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 18px 18px !important;
}

/* Suppress duplicate theme pseudo-element arrow */
.oc .oc__hubspot-target .hs-form .field:has(select)::before,
.oc .oc__hubspot-target .hs-form .field:has(select)::after,
.oc .oc__hubspot-target .hs-form .hs-form-field::before,
.oc .oc__hubspot-target .hs-form .hs-form-field::after,
.oc .oc__hubspot-target .hs-form .input::before,
.oc .oc__hubspot-target .hs-form .input::after,
.oc .oc__hubspot-target *:has(select)::before,
.oc .oc__hubspot-target *:has(select)::after,
body.oc .hs-form *:has(select)::before,
body.oc .hs-form *:has(select)::after {
    content: none !important;
    display: none !important;
}

.oc .oc__hubspot-target .hs-fieldtype-intl-phone .input,
body.oc .hs-fieldtype-intl-phone .input {
    position: relative !important;
}

/* Legal Consent & Checkbox Styling */
.oc .oc__hubspot-target .legal-consent-container label::before,
.oc .oc__hubspot-target .legal-consent-container label::after,
.oc .oc__hubspot-target .hs-form-booleancheckbox label::before,
.oc .oc__hubspot-target .hs-form-booleancheckbox label::after,
body.oc .legal-consent-container label::before,
body.oc .legal-consent-container label::after,
body.oc .hs-form-booleancheckbox label::before,
body.oc .hs-form-booleancheckbox label::after {
    display: none !important;
    content: none !important;
}

.oc .oc__hubspot-target .legal-consent-container,
.oc .oc__hubspot-target .hs-form-booleancheckbox,
body.oc .legal-consent-container,
body.oc .hs-form-booleancheckbox {
    margin-top: 6px !important;
}

.oc .oc__hubspot-target .legal-consent-container label,
.oc .oc__hubspot-target .hs-form-booleancheckbox label,
.oc .oc__hubspot-target .hs-form-booleancheckbox-display,
body.oc .legal-consent-container label,
body.oc .hs-form-booleancheckbox label,
body.oc .hs-form-booleancheckbox-display {
    font-size: 12px !important;
    color: #4b5f66 !important;
    line-height: 1.35 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.oc .oc__hubspot-target .legal-consent-container label input[type="checkbox"],
.oc .oc__hubspot-target .hs-form-booleancheckbox label input[type="checkbox"],
.oc .oc__hubspot-target .hs-form input[type="checkbox"],
body.oc .legal-consent-container label input[type="checkbox"],
body.oc .hs-form-booleancheckbox label input[type="checkbox"],
body.oc .hs-form input[type="checkbox"] {
    display: inline-block !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    border: 1px solid #b5bec2 !important;
    border-radius: 3px !important;
    background-color: #ffffff !important;
    outline: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.oc .oc__hubspot-target .legal-consent-container label input[type="checkbox"]:hover,
.oc .oc__hubspot-target .hs-form-booleancheckbox label input[type="checkbox"]:hover,
.oc .oc__hubspot-target .hs-form input[type="checkbox"]:hover,
body.oc .legal-consent-container label input[type="checkbox"]:hover,
body.oc .hs-form-booleancheckbox label input[type="checkbox"]:hover,
body.oc .hs-form input[type="checkbox"]:hover {
    border-color: #0a7f80 !important;
}

.oc .oc__hubspot-target .legal-consent-container label input[type="checkbox"]:checked,
.oc .oc__hubspot-target .hs-form-booleancheckbox label input[type="checkbox"]:checked,
.oc .oc__hubspot-target .hs-form input[type="checkbox"]:checked,
body.oc .legal-consent-container label input[type="checkbox"]:checked,
body.oc .hs-form-booleancheckbox label input[type="checkbox"]:checked,
body.oc .hs-form input[type="checkbox"]:checked {
    background-color: #0a7f80 !important;
    border-color: #0a7f80 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6l2.5 2.5 4.5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 10px 10px !important;
}

.oc .oc__hubspot-target .legal-consent-container a,
.oc .oc__hubspot-target .hs-form-booleancheckbox a,
body.oc .legal-consent-container a,
body.oc .hs-form-booleancheckbox a {
    color: #0a7f80 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.oc .oc__hubspot-target .hs_submit,
body.oc .hs_submit {
    margin-top: 8px !important;
}

.oc .oc__hubspot-target .hs_submit input.hs-button,
.oc .oc__hubspot-target .hs_submit .hs-button,
body.oc .hs_submit input.hs-button,
body.oc .hs_submit .hs-button {
    width: 100% !important;
    height: 48px !important;
    border-radius: 99px !important;
    border: none !important;
    background-color: #064e52 !important;
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-align: center !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.oc .oc__hubspot-target .hs_submit input.hs-button:hover,
.oc .oc__hubspot-target .hs_submit .hs-button:hover,
body.oc .hs_submit input.hs-button:hover,
body.oc .hs_submit .hs-button:hover {
    background-color: #04383b !important;
    transform: translateY(-1px) !important;
}

.oc .oc__hubspot-target .hs_submit input.hs-button.hs-button--completed,
.oc .oc__hubspot-target .hs_submit .hs-button.hs-button--completed,
body.oc .hs_submit input.hs-button.hs-button--completed,
body.oc .hs_submit .hs-button.hs-button--completed {
    background-color: #008080 !important;
}

.oc .oc__hubspot-target .hs_submit input.hs-button.hs-button--completed:hover,
.oc .oc__hubspot-target .hs_submit .hs-button.hs-button--completed:hover,
body.oc .hs_submit input.hs-button.hs-button--completed:hover,
body.oc .hs_submit .hs-button.hs-button--completed:hover {
    background-color: #08696a !important;
    transform: translateY(-1px) !important;
}

.oc .oc__hubspot-target .hs_submit input.hs-button:disabled,
.oc .oc__hubspot-target .hs_submit .hs-button:disabled,
.oc .oc__hubspot-target .hs_submit input.hs-button.hs-button--disabled,
.oc .oc__hubspot-target .hs_submit .hs-button.hs-button--disabled,
body.oc .hs_submit input.hs-button:disabled,
body.oc .hs_submit .hs-button:disabled,
body.oc .hs_submit input.hs-button.hs-button--disabled,
body.oc .hs_submit .hs-button.hs-button--disabled {
    background-color: #9cb2b5 !important;
    color: #f1f5f5 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.oc .oc__hubspot-target .hs_submit input.hs-button:disabled:hover,
.oc .oc__hubspot-target .hs_submit .hs-button:disabled:hover,
body.oc .hs_submit input.hs-button:disabled:hover,
body.oc .hs_submit .hs-button:disabled:hover {
    background-color: #9cb2b5 !important;
    transform: none !important;
}

.oc .oc__hubspot-target .hs-error-msgs,
body.oc .hs-error-msgs {
    position: static !important;
    display: block !important;
    color: #d93838 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin: 4px 0 2px 14px !important;
    padding: 0 !important;
    list-style: none !important;
    animation: none !important;
    transform: none !important;
    clear: both !important;
}

.oc .oc__hubspot-target .hs-error-msgs li,
body.oc .hs-error-msgs li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.oc .oc__hubspot-target .hs-error-msgs label,
.oc .oc__hubspot-target .hs-error-msg,
body.oc .hs-error-msgs label,
body.oc .hs-error-msg {
    color: #d93838 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.oc .oc__hubspot-target .hs-richtext,
.oc .oc__hubspot-target .legal-consent-container,
body.oc .hs-richtext,
body.oc .legal-consent-container {
    display: none !important;
}

.oc .oc__hubspot-target .hs-form-booleancheckbox label span,
.oc .oc__hubspot-target .hs-form-booleancheckbox label p,
.oc .oc__hubspot-target .hs-form-booleancheckbox-display>span,
body.oc .hs-form-booleancheckbox label span,
body.oc .hs-form-booleancheckbox label p,
body.oc .hs-form-booleancheckbox-display>span {
    display: inline !important;
    font-size: 12px !important;
    color: #0a7f80 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.oc .oc__hubspot-target .hs-form-booleancheckbox .hs-form-required,
body.oc .hs-form-booleancheckbox .hs-form-required {
    color: #e53935 !important;
    margin-left: 2px !important;
    font-weight: 600 !important;
}

.oc .oc__card .ordering-code__btn,
.oc .oc__compact-btn {
    display: none !important;
}

/* Inside the HubSpot iframe the theme variables are not inherited */
body.oc {
    --oc-teal: #0a7f80;
    --oc-teal-dark: #0a4f55;
    --oc-border: #cfd9d8;
    --oc-text: #1b2e36;
    --oc-muted: #7a8a90;
}

/* Keep the HubSpot form (or its iframe) fully visible and in the document flow */
.oc .oc__quote-section {
    overflow: visible !important;
}

.oc .oc__hubspot-target,
.oc__help-screen .oc__hubspot-target {
    overflow: visible !important;
    opacity: 0 !important;
    visibility: hidden !important;
    min-height: 220px;
    transition: opacity 0.18s ease !important;
}

.oc .oc__hubspot-target.is-styled,
.oc__help-screen .oc__hubspot-target.is-styled {
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 0;
}

.oc .oc__hubspot-target iframe,
.oc__help-screen .oc__hubspot-target iframe {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* HubSpot default-style resets (form fields must follow our grid, not HubSpot floats/widths) */
.oc .oc__hubspot-target .hs-form-field,
body.oc .hs-form-field {
    float: none !important;
    width: auto !important;
    max-width: none !important;
}

.oc .oc__hubspot-target .hs-form-field>.input,
body.oc .hs-form-field>.input {
    margin: 0 !important;
    width: 100% !important;
}

.oc .oc__hubspot-target .hs-form .hs-input:not([type="checkbox"]):not([type="radio"]),
body.oc .hs-form .hs-input:not([type="checkbox"]):not([type="radio"]) {
    width: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
}

.oc .oc__hubspot-target .hs-form .hs-input:focus,
body.oc .hs-form .hs-input:focus {
    border-color: var(--oc-teal) !important;
    background-color: #f3f3f3 !important;
}

/* Privacy checkbox row: "I Have Read And Agree To The Privacy Policy. *" */
.oc .oc__hubspot-target .hs-form-booleancheckbox label,
body.oc .hs-form-booleancheckbox label {
    text-transform: capitalize !important;
}

.oc .oc__hubspot-target .hs-form-booleancheckbox .hs-form-required,
body.oc .hs-form-booleancheckbox .hs-form-required {
    order: 3;
}

/* "Request Quote" (completed) button uses the teal from the design */
.oc .oc__hubspot-target .hs_submit input.hs-button.hs-button--completed,
.oc .oc__hubspot-target .hs_submit .hs-button.hs-button--completed,
body.oc .hs_submit input.hs-button.hs-button--completed,
body.oc .hs_submit .hs-button.hs-button--completed {
    background-color: #029993 !important;
    /* background-color: #00998a !important; */
    font-weight: 700 !important;
}

.oc .oc__hubspot-target .hs_submit .actions,
body.oc .hs_submit .actions {
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile field height inside both the page DOM and the HubSpot iframe */
body.oc.is-mobile .hs-form input[type="text"],
body.oc.is-mobile .hs-form input[type="email"],
body.oc.is-mobile .hs-form input[type="tel"],
body.oc.is-mobile .hs-form select {
    height: 38px !important;
}

body.oc.is-mobile .hs-form-field:not(.hs-fieldtype-booleancheckbox)>label {
    top: 19px !important;
}

/* ---------- responsive ---------- */
@media (max-width: 992px) {
    .content__wrapper.ordering-code {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        padding-inline: 16px;
    }

    .ordering-code__config {
        display: block !important;
    }

    .oc {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        margin-top: 1.5rem;
    }

    .oc .ordering-code__dropdowns {
        width: 100%;
        margin-top: 0;
    }

    .oc__summary {
        position: relative;
        width: 100%;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .oc .oc__columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .oc .oc__help {
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 1px;
        margin-left: 10px;
    }

    .ordering-code__helper-text>span:first-child {
        white-space: unset;
        flex-shrink: unset;
    }

    .oc .oc__codebox {
        font-size: 18px;
        height: 60px;
        min-height: 60px;
        text-align: left;
        align-items: start;
    }

    .oc__summary-title {
        font-size: 14px;
        margin: 0 0 5px 10px;
    }

    .oc__summary {
        margin-top: 1rem;

    }

    .oc__progress-text {
        font-size: 14px;
    }

    .oc__quote-heading {
        font-size: 16px;

    }

    .oc__quote-subheading {
        font-size: 14.2px;
        margin: 0 0 0px;
    }

    .oc__card .ordering-code__image {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }

    .ordering-code__title {
        font-family: 'Montserrat', sans-serif;
        font-weight: 300;
        font-size: 24px;
        line-height: 36px;
        letter-spacing: 0;
        text-transform: uppercase;
        text-align: left !important;
        color: #014751;
    }

    .ordering-code__title {
        width: 300px;
        max-width: 100%;
    }

    .ordering-code__subtitle {
        color: #696969;
        margin: 0px 0px 0px 10px;
        text-align: left !important;
        font-size: 14px;
    }

    .single-product .ordering-code__title {
        text-align: center;
        padding-inline: 18.75px !important;
    }

    .oc .oc__field.ordering-code__config-term {
        padding: 0px 16px 0px 10px;
    }

    .evl-box {
        padding: 0px 10px 5px 18.75px;

    }

    .ordering-code__subtitle {
        padding: 16px 10px 5px 10px;

    }

    .oc .oc__help .icon {
        width: 28px;
        height: 28px;
        margin-right: 16px;
    }

    .oc__card-top {
        margin: 0px 10px 0px 10px;
    }

    .oc__progress {
        margin: 0px 10px 0px 10px;
    }

    .oc__quote-section {
        margin: 0px 10px 0px 10px;
    }

    .oc .oc__hubspot-target .hs-form input[type="text"],
    .oc .oc__hubspot-target .hs-form input[type="email"],
    .oc .oc__hubspot-target .hs-form input[type="tel"],
    .oc .oc__hubspot-target .hs-form select {
        height: 38px !important;
    }

    .oc .oc__hubspot-target .hs-form-field:not(.hs-fieldtype-booleancheckbox)>label {
        top: 19px !important;
    }

    .oc .oc__hubspot-target fieldset.form-columns-2 {
        grid-template-columns: none !important;
    }

    .oc .oc__hubspot-target .legal-consent-container,
    .oc .oc__hubspot-target .hs-form-booleancheckbox {
        margin-top: 0px !important;
    }

    .oc .legal-consent-container .hs-form-booleancheckbox-display>span {
        font-size: 11px !important;
    }

    /* ----------------------------------------------------------------------
       Mobile Floating Compact Modal State (Screenshot 2 - Popover style)
       ---------------------------------------------------------------------- */
    .oc .oc__field.ordering-code__config-term.has-floating-summary {
        position: relative !important;
        z-index: 45 !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        margin-bottom: 195px !important;
    }

    .oc .oc__field.ordering-code__config-term--disabled.has-floating-summary>.oc__label,
    .oc .oc__field.ordering-code__config-term--disabled.has-floating-summary>.oc__control,
    .oc .oc__field.ordering-code__config-term--disabled.has-floating-summary>.ordering-code__values {
        opacity: 0.45 !important;
        pointer-events: none !important;
    }

    .oc__summary.is-mobile-compact {
        position: absolute !important;
        top: calc(100% - -10px) !important;
        left: 0px !important;
        right: 0px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 14px 16px 16px !important;
        background: #F6F6F6 !important;
        border: 1px solid #dfe7e7 !important;
        border-radius: 22px !important;
        /* box-shadow: 0 10px 30px rgba(11, 46, 54, 0.16) !important; */
        box-shadow: 0px 0px 4px 0px #00000040 !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
        z-index: 50 !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transition: transform 0.25s ease, box-shadow 0.25s ease !important;
        -webkit-tap-highlight-color: transparent;
    }

    /* Hide floating popover temporarily while the anchor dropdown's menu is open */
    .oc .oc__field[data-open='true']>.oc__summary.is-mobile-compact {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .oc__summary.is-mobile-compact .oc__summary-title {
        position: absolute !important;
        top: 14px !important;
        left: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 16px !important;
        letter-spacing: 0px !important;
        font-weight: 400 !important;
        line-height: 22px !important;
        color: #000000 !important;
    }

    .oc__summary.is-mobile-compact .oc__card.ordering-code__result {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 10px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .oc__summary.is-mobile-compact .oc__progress {
        order: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 0 0 130px !important;
        min-height: 24px !important;
    }

    .oc__summary.is-mobile-compact .oc__progress-text {
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 22px !important;
        color: #000000 !important;
        margin: 0 !important;
    }

    .oc__summary.is-mobile-compact .oc__progress-word {
        display: none !important;
    }

    .oc__summary.is-mobile-compact .oc__progress-bar {
        flex: 1 1 auto !important;
        max-width: 120px !important;
        height: 11px !important;
        background: #d9dfdf !important;
        margin: 0 !important;
    }

    .oc__summary.is-mobile-compact .oc__card-top {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .oc__summary.is-mobile-compact .oc__card .ordering-code__image {
        flex: 0 0 41px !important;
        width: 41px !important;
        height: 41px !important;
        border-radius: 10px !important;
        margin: 0 !important;
        border-color: #BDBDBD;
        background: #F6F6F6;
    }

    .oc__summary.is-mobile-compact .oc__card .ordering-code__code-wrapper {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .oc__summary.is-mobile-compact .oc__codebox {
        height: 41px !important;
        min-height: 41px !important;
        padding: 6px 12px !important;
        margin: 0 !important;
        font-size: 16px !important;
        border-radius: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: #F6F6F6;
    }

    .oc__summary.is-mobile-compact .oc__compact-btn {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 46px !important;
        margin: 2px 0 0 0 !important;
        padding: 0 20px !important;
        border: none !important;
        border-radius: 999px !important;
        background-color: #00998a !important;
        color: #ffffff !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em !important;
        cursor: pointer !important;
        box-shadow: 0 4px 14px rgba(0, 153, 138, 0.35) !important;
        transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.15s ease !important;
    }

    .oc__summary.is-mobile-compact .oc__compact-btn:disabled,
    .oc__summary.is-mobile-compact .oc__compact-btn.oc__compact-btn--disabled {
        background-color: #9cb2b5 !important;
        color: #f1f5f5 !important;
        cursor: not-allowed !important;
        opacity: 0.6 !important;
        transform: none !important;
        box-shadow: none !important;
        pointer-events: none !important;
    }

    .oc__summary.is-mobile-compact .oc__divider,
    .oc__summary.is-mobile-compact .oc__quote-section,
    .oc__summary.is-mobile-compact .oc__nudge {
        display: none !important;
    }

    .oc .legal-consent-container .hs-form-booleancheckbox-display>span {
        margin-left: 0px !important;
    }

    .oc .oc__hubspot-target .hs_submit {
        margin-top: 0px;
    }

    .oc .oc__hubspot-target .legal-consent-container a,
    .oc .oc__hubspot-target .hs-form-booleancheckbox a {
        color: #014751 !important;
    }

    /* Keep open Ordering Code dropdown above Still Checking Fit section and sibling elements */
    .single-product main.product-content,
    .single-product .content {
        position: relative;
        z-index: 5;
    }

    .single-product .still-checking-fit {
        position: relative;
        z-index: 1;
    }

    .single-product .content:has(.oc__field--select[data-open="true"]),
    .single-product .content__views:has(.oc__field--select[data-open="true"]) {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    .single-product .content__view.content__view--active:has(.oc__field--select[data-open="true"]) {
        overflow: visible !important;
    }

    .oc .oc__field--select[data-open="true"],
    .oc .oc__field.ordering-code__config-term.has-floating-summary[data-open="true"] {
        z-index: 60 !important;
    }

    .oc .oc__field--select[data-open="true"]>.ordering-code__values {
        z-index: 70 !important;
    }
}

/* ==========================================================================
   Get Help Flow: Idle Detection Nudge & Fullscreen-look Help Screen
   ========================================================================== */

body.oc-help-open,
body.oc-nudge-open {
    overflow: hidden !important;
}

/* ---------- 1. Idle Detection Nudge Overlay ---------- */
.oc .oc__quote-section {
    position: relative !important;
    min-height: 320px;
}

/* Base styles for close, icon, title, text, cta (shared desktop + mobile) */
.oc__nudge-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #eef5f5 !important;
    color: #486268 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 5 !important;
}

.oc__nudge-close:hover {
    background: #064e52 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

.oc__nudge-close svg {
    width: 14px !important;
    height: 14px !important;
}

.oc__nudge-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #e4f5f5 0%, #bde7e7 100%) !important;
    color: #064e52 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    box-shadow: 0 4px 14px rgba(6, 78, 82, 0.12) !important;
}

.oc__nudge-icon svg {
    width: 26px !important;
    height: 26px !important;
}

.oc__nudge-title {
    margin: 0 0 8px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #064e52 !important;
    letter-spacing: -0.01em !important;
}

.oc__nudge-text {
    margin: 0 0 22px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #556c73 !important;
    max-width: 340px !important;
}

.oc__nudge-cta {
    width: 100% !important;
    max-width: 250px !important;
    height: 48px !important;
    padding: 0 24px !important;
    border: none !important;
    border-radius: 999px !important;
    background-color: #064e52 !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(6, 78, 82, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.oc__nudge-cta:hover {
    background-color: #0a7f80 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(10, 127, 128, 0.35) !important;
}

.oc__nudge-cta:active {
    transform: translateY(0) !important;
}

/* Desktop layout: compact card in column 2 below helper text */
@media (min-width: 769px) {
    .oc__nudge {
        position: relative !important;
        inset: auto !important;
        z-index: 20 !important;
        width: 100% !important;
        max-width: 413px !important;
        margin: 16px 0 10px !important;
        box-sizing: border-box !important;
        display: none !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 14px 18px 16px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1px solid #cce2e2 !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 28px rgba(6, 78, 82, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(6px) !important;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
    }

    .oc__nudge.is-visible {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .oc__nudge-backdrop {
        display: none !important;
    }

    .oc__nudge-box {
        position: static !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .oc__nudge-close {
        top: 10px !important;
        right: 10px !important;
        width: 28px !important;
        height: 28px !important;
    }

    .oc__nudge-close svg {
        width: 12px !important;
        height: 12px !important;
    }

    .oc__nudge-icon {
        width: 34px !important;
        height: 34px !important;
        margin-bottom: 6px !important;
    }

    .oc__nudge-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .oc__nudge-title {
        font-size: 17px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px !important;
    }

    .oc__nudge-text {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        margin: 0 0 10px !important;
        max-width: 320px !important;
    }

    .oc__nudge-cta {
        height: 36px !important;
        max-width: 170px !important;
        font-size: 14px !important;
        padding: 0 18px !important;
    }
}

/* ---------- 2. Get Help Screen Overlay ---------- */
.oc__help-screen {
    --oc-teal: #0a7f80;
    --oc-teal-dark: #0a4f55;
    --oc-teal-soft: #c9eee8;
    --oc-border: #cfd9d8;
    --oc-text: #1b2e36;
    --oc-muted: #7a8a90;
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.3s ease !important;
}

.oc__help-screen.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.oc__help-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(5, 23, 31, 0.7) !important;
    cursor: pointer !important;
    z-index: 1 !important;
}

.oc__help-panel {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 980px !important;
    max-height: 90vh !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px -10px rgba(4, 30, 36, 0.45),
        0 10px 25px -5px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transform: scale(0.96) translateY(18px) !important;
    opacity: 0 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.oc__help-screen.is-open .oc__help-panel {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
}

/* Screen Header */
.oc__help-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 32px 20px;
    border-bottom: 1px solid #e4eeee;
    background: #ffffff;
}

.oc__help-eyebrow {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0a7f80;
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
}

.oc__help-title {
    margin: 0 0 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #064e52;
    letter-spacing: -0.01em;
}

.oc__help-sub {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #5a6e75;
}

.oc__help-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #eef4f4;
    color: #435b62;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.oc__help-close:hover {
    background: #064e52;
    color: #ffffff;
    transform: scale(1.08);
}

.oc__help-close svg {
    width: 14px;
    height: 14px;
}

/* Screen Body */
.oc__help-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 26px 32px;
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(320px, 1fr);
    gap: 32px;
    background: #ffffff;
}

.oc__help-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #70868d;
    margin-bottom: 12px;
}

/* Screen Left Side: Current Configuration */
.oc__help-left {
    display: flex;
    flex-direction: column;
    background: #f4f8f8;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    align-self: start;
}

.oc__help-card {
    background: #ffffff;
    border: 1px solid #e6efef;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.oc__help-image {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    border: 1px solid #dce8e8;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    padding: 4px;
    box-sizing: border-box;
}

.oc__help-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.oc__help-image.is-empty {
    background: #f0f4f4;
}

.oc__help-code {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #064e52;
}

.oc__help-sep {
    color: #9cb1b5;
    font-weight: 600;
    margin: 0 1px;
}

.oc__help-seg {
    background: #eef6f6;
    border: 1px solid #b2dada;
    color: #064e52;
    border-radius: 5px;
    padding: 2px 7px;
    min-width: 22px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    letter-spacing: 0.02em;
}

.oc__help-seg.is-empty {
    background: #f0f4f4;
    border-color: #d0dede;
    color: transparent;
    min-width: 18px;
    min-height: 22px;
}

.oc__help-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0a7f80;
    margin-bottom: 14px;
}

.oc__help-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
}

.oc__help-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e6efef;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}

.oc__help-chip-k {
    color: #556c73;
    font-weight: 500;
}

.oc__help-chip-v {
    color: #064e52;
    font-weight: 700;
    background: #e1f4f2;
    padding: 2px 8px;
    border-radius: 6px;
    border: none;
}

.oc__help-chip.is-none {
    justify-content: center;
    color: #8da0a6;
    font-style: italic;
    background: #fbfcfc;
    border-style: dashed;
    padding: 16px;
}

/* Screen Right Side: HubSpot Form */
.oc__help-right {
    display: flex;
    flex-direction: column;
}

.oc__help-right .oc__hubspot-target {
    margin-top: 0;
}

/* Screen Footer */
.oc__help-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 32px 24px;
    border-top: none;
    background: #ffffff;
}

.oc__help-back {
    background: #e3f3f2;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #066366;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.oc__help-back:hover {
    background: #064e52;
    color: #ffffff;
}

.oc__help-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    color: #738990;
}

/* ---------- 3. Responsive Breakpoints ---------- */
@media (max-width: 860px) {
    .oc__summary {
        top: 0px
    }
}

@media (max-width: 768px) {
    .oc__help-screen {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        padding: 16px !important;
        margin: 0 !important;
        z-index: 999999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .oc__help-backdrop {
        display: block !important;
        background: rgba(5, 23, 31, 0.7) !important;
    }

    .oc__help-panel {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 560px !important;
        height: auto !important;
        max-height: 90dvh !important;
        min-height: 0 !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
        margin: auto !important;
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        transform: translateY(20px) !important;
        opacity: 0 !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease !important;
    }

    .oc__help-screen.is-open .oc__help-panel {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    /* Sticky Header */
    .oc__help-head {
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        padding: 16px 18px 14px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2ecec !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
    }

    .oc__help-headtext {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .oc__help-eyebrow {
        font-size: 10px !important;
        letter-spacing: 0.1em !important;
        margin-bottom: 2px !important;
    }

    .oc__help-title {
        font-size: 19px !important;
        line-height: 1.25 !important;
        margin: 0 0 4px !important;
    }

    .oc__help-sub {
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: #556c73 !important;
    }

    .oc__help-close {
        flex: 0 0 40px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        border-radius: 50% !important;
        background: #eef5f5 !important;
        color: #064e52 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        touch-action: manipulation !important;
    }

    .oc__help-close svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* Scrollable Body */
    .oc__help-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        padding: 16px 18px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .oc__help-left {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .oc__help-label {
        font-size: 11px !important;
        margin-bottom: 8px !important;
    }

    .oc__help-card {
        padding: 12px 14px !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 10px !important;
    }

    .oc__help-image {
        width: 56px !important;
        height: 56px !important;
        flex: 0 0 56px !important;
    }

    .oc__help-code {
        font-size: 13px !important;
        gap: 4px !important;
    }

    .oc__help-seg {
        padding: 2px 6px !important;
        font-size: 12px !important;
        min-width: 20px !important;
        min-height: 22px !important;
    }

    .oc__help-count {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }

    /* Compact horizontal wrapping chips on mobile */
    .oc__help-chips {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .oc__help-chip {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 4px 10px !important;
        font-size: 12px !important;
        border-radius: 999px !important;
        background: #f4f8f8 !important;
        border: 1px solid #d8e8e8 !important;
    }

    .oc__help-chip-k {
        font-size: 11px !important;
        color: #5a7076 !important;
    }

    .oc__help-chip-v {
        font-size: 11.5px !important;
        padding: 1px 7px !important;
        border-radius: 999px !important;
        background: #e4f3f3 !important;
    }

    .oc__help-chip.is-none {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 10px !important;
        border-radius: 8px !important;
    }

    /* Right side / HubSpot form full width */
    .oc__help-right {
        width: 100% !important;
    }

    .oc__help-right .oc__hubspot-target {
        width: 100% !important;
    }

    .oc__help-right .oc__hubspot-target .hs-form {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .oc__help-right .oc__hubspot-target .hs-form input[type="text"],
    .oc__help-right .oc__hubspot-target .hs-form input[type="email"],
    .oc__help-right .oc__hubspot-target .hs-form input[type="tel"],
    .oc__help-right .oc__hubspot-target .hs-form select {
        height: 42px !important;
        font-size: 14px !important;
        width: 100% !important;
    }

    .oc__help-right .oc__hubspot-target .hs_submit {
        margin-top: 4px !important;
    }

    .oc__help-right .oc__hubspot-target input[type="submit"],
    .oc__help-right .oc__hubspot-target button[type="submit"],
    .oc__help-right .oc__hubspot-target .hs-button {
        height: 46px !important;
        font-size: 16px !important;
        width: 100% !important;
    }

    /* Sticky Footer */
    .oc__help-foot {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 10 !important;
        padding: 10px 18px !important;
        background: #f7fafb !important;
        border-top: 1px solid #e2ecec !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-shrink: 0 !important;
    }

    .oc__help-back {
        font-size: 13px !important;
        padding: 6px 10px !important;
    }

    .oc__help-note {
        font-size: 11.5px !important;
    }

    /* First popup (Idle Nudge) on mobile: centered on screen with backdrop overlay */
    .oc__nudge {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        z-index: 999998 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
    }

    .oc__nudge.is-visible {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .oc__nudge-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        background: rgba(5, 23, 31, 0.65) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
        z-index: 1 !important;
        cursor: pointer !important;
    }

    .oc__nudge-box {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        max-width: 330px !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-radius: 20px !important;
        padding: 32px 22px 26px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 6px 16px rgba(6, 78, 82, 0.15) !important;
        border: 1px solid #cce2e2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        transform: scale(0.92) translateY(8px) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
        opacity: 0 !important;
    }

    .oc__nudge.is-visible .oc__nudge-box {
        transform: scale(1) translateY(0) !important;
        opacity: 1 !important;
    }

    .oc__nudge-close {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        background: #eef5f5 !important;
        color: #486268 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        border: none !important;
        touch-action: manipulation !important;
    }

    .oc__nudge-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #e4f5f5 0%, #bde7e7 100%) !important;
        color: #064e52 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 12px !important;
        box-shadow: 0 4px 14px rgba(6, 78, 82, 0.12) !important;
    }

    .oc__nudge-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    .oc__nudge-title {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #064e52 !important;
        margin: 0 0 6px !important;
        font-family: 'Montserrat', sans-serif !important;
    }

    .oc__nudge-text {
        font-size: 13.5px !important;
        line-height: 1.45 !important;
        color: #556c73 !important;
        margin: 0 0 20px !important;
        max-width: 280px !important;
        font-family: 'Montserrat', sans-serif !important;
    }

    .oc__nudge-cta {
        width: 100% !important;
        max-width: 260px !important;
        height: 46px !important;
        border-radius: 999px !important;
        background-color: #064e52 !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border: none !important;
        cursor: pointer !important;
        box-shadow: 0 6px 18px rgba(6, 78, 82, 0.25) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-family: 'Montserrat', sans-serif !important;
        touch-action: manipulation !important;
    }
}


/* Match Communication & BIT button container height with dropdowns (46px) */
.oc .oc__field--chips .oc__chips.ordering-code__values {
    min-height: 46px;
    align-items: center;
}

/* Optional: ensure labels across both columns have identical consistent height */
.oc .oc__label {
    min-height: 24px;
}

/* Lock configurator fields cleanly while an AJAX validation or reload is in flight */
.oc .oc__form.is-busy {
    pointer-events: none;
    cursor: progress;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

/* .oc .oc__hubspot-target .hs_ordering_code {
    display:none !important;
} */
