/* ==========================================================================
   Business enquiry  (/business-enquiry.php)
   --------------------------------------------------------------------------
   Reuses the form furniture from contact-page.css (.sd-main, .sd-field,
   .sd-submit, .sd-alert). Only the pieces unique to this page live here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   The product being enquired about
   -------------------------------------------------------------------------- */

.sd-enq__chosen {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    padding: 16px 18px;
    border: 1px solid var(--sd-line);
    border-left: 3px solid var(--sd-orange);
    border-radius: 0 12px 12px 0;
    background: var(--sd-tint);
}

.sd-enq__thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--sd-line);
}

.sd-enq__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sd-enq__chosen-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sd-enq__chosen-body em {
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-enq__chosen-body strong {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--sd-navy);
}

.sd-enq__chosen-body a {
    margin-top: 3px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sd-blue);
    text-decoration: none;
}

.sd-enq__chosen-body a:hover {
    color: var(--sd-orange);
}

/* --------------------------------------------------------------------------
   Product picker
   -------------------------------------------------------------------------- */

.sd-field select[multiple] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--sd-line);
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: var(--sd-navy);
}

.sd-field select[multiple]:focus {
    outline: none;
    border-color: var(--sd-blue);
    box-shadow: 0 0 0 3px rgba(18, 74, 154, .12);
}

.sd-field select[multiple] optgroup {
    padding: 6px 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-field select[multiple] option {
    padding: 7px 8px;
    border-radius: 7px;
    font-size: 14.5px;
    color: var(--sd-navy);
}

.sd-field select[multiple] option:checked {
    background: var(--sd-orange) linear-gradient(0deg, var(--sd-orange) 0%, var(--sd-orange) 100%);
    color: #fff;
}

/* The prefilled field is informational, so it reads as a value not an input. */
.sd-field input[readonly] {
    background: var(--sd-tint);
    color: var(--sd-navy);
    font-weight: 700;
    cursor: default;
}

.sd-field__hint a {
    color: var(--sd-blue);
    font-weight: 700;
    text-decoration: none;
}

.sd-field__hint a:hover {
    color: var(--sd-orange);
}

/* --------------------------------------------------------------------------
   Side panels
   -------------------------------------------------------------------------- */

.sd-enq__panel {
    padding: 26px 24px;
    border: 1px solid var(--sd-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(16, 38, 73, .06);
}

.sd-enq__panel + .sd-enq__panel {
    margin-top: 20px;
}

.sd-enq__panel h2 {
    margin: 0 0 16px;
    font-size: 19px;
    font-weight: 800;
    color: var(--sd-navy);
}

.sd-enq__panel p {
    margin: 0 0 16px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--sd-muted);
}

/* ---- numbered steps ---- */

.sd-enq__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: sd-step;
}

.sd-enq__steps li {
    position: relative;
    list-style: none;
    counter-increment: sd-step;
    padding: 0 0 18px 44px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sd-muted);
}

.sd-enq__steps li:last-child {
    padding-bottom: 0;
}

.sd-enq__steps li::before {
    content: counter(sd-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sd-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

/* A vertical rule joining the steps, stopping at the last one. */
.sd-enq__steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 34px;
    bottom: 8px;
    width: 2px;
    background: var(--sd-line);
}

.sd-enq__steps strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--sd-navy);
}

/* ---- contact panel ---- */

.sd-enq__panel--call a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 0;
    border-top: 1px solid var(--sd-line);
    font-size: 15px;
    font-weight: 700;
    color: var(--sd-navy);
    text-decoration: none;
    transition: color .2s ease;
}

.sd-enq__panel--call a i {
    width: 20px;
    color: var(--sd-orange);
    text-align: center;
}

.sd-enq__panel--call a:hover {
    color: var(--sd-orange-ink);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {
    .sd-enq__chosen {
        gap: 13px;
        padding: 14px;
    }

    .sd-enq__thumb {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .sd-enq__chosen-body strong {
        font-size: 16px;
    }

    .sd-enq__panel {
        padding: 22px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd-enq__panel--call a {
        transition: none !important;
    }
}
