/* Align Speed Silks custom quote fields with WP Configurator Pro form styling. */

.wpc-quote-form .ss-quote-custom-fields .wpc-separator-text {
    margin-top: 10px;
}

.wpc-quote-form .ss-quote-custom-fields .wpc-small-title {
    display: block;
    margin-bottom: 20px;
}

.wpc-quote-form .ss-quote-custom-fields .wpc-field-radio {
    margin-bottom: 8px;
    display: block;
}

.wpc-quote-form .ss-quote-custom-fields .wpc-field-radio label {
    cursor: pointer;
}

.wpc-quote-form .ss-quote-custom-fields input[type="radio"] {
    width: auto !important;
    float: left;
    margin-left: 0;
    margin-top: 4px;
    margin-right: 5px;
    height: auto;
    padding: 0;
}

.wpc-quote-form .ss-quote-custom-fields .ss-conditional-field {
    margin-top: 0;
}

.ss-combo-jacket-redirect {
    display: none;
}

.ss-combo-jacket-continue--loading,
.ss-combo-jacket-continue.ss-combo-jacket-continue--loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: wait;
    opacity: 0.85;
    pointer-events: none;
    box-sizing: border-box;
}

.ss-combo-jacket-spinner {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: ss-combo-jacket-spin 0.65s linear infinite;
    vertical-align: middle;
}

@keyframes ss-combo-jacket-spin {
    to {
        transform: rotate(360deg);
    }
}

.ss-combo-helmet-summary {
    margin-bottom: 20px;
}

.wpc-quote-form .ss-quote-quantity-section .wpc-separator-text {
    margin-top: 0;
}

.wpc-quote-form .ss-quote-quantity-field {
    display: block;
}

.wpc-quote-form .ss-quote-quantity-field .wpc-separator-text {
    display: block;
    margin-bottom: 8px;
}

.wpc-quote-form .ss-quote-quantity-field select {
    width: 100%;
    max-width: 100%;
}

/* Keep pricing visible while scrolling the quote modal form. */
.wpc-popup-wrap.wpc-popup-active .wpc-popup.wpc-quote-form-summary-popup,
.wpc-popup.wpc-quote-form-summary-popup.wpc-popup-active,
.wpc-popup.wpc-quote-form-summary-popup.active {
    overflow: visible;
}

.wpc-popup.wpc-quote-form-summary-popup .wpc-summary-content-inner {
    height: auto;
    overflow: visible;
}

.wpc-popup.wpc-quote-form-summary-popup .wpc-summary-content-inner-child {
    align-items: flex-start;
    height: auto;
    max-height: none;
    min-height: calc(100vh - 240px);
}

.wpc-popup.wpc-quote-form-summary-popup .wpc-summary-lists-wrap {
    align-self: flex-start;
    flex-shrink: 0;
    z-index: 2;
}

.wpc-popup.wpc-quote-form-summary-popup .wpc-quote-form {
    flex: 1 1 600px;
    max-width: 600px;
    max-height: calc(100vh - 240px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ss-quote-international-shipping-note {
    display: block;
    margin: 10px 0 0;
    font-size: 0.95rem;
    font-weight: 400;
}

.ss-quote-international-shipping-note[hidden] {
    display: none !important;
}

@media screen and (max-width: 1024px) {
    .wpc-popup.wpc-quote-form-summary-popup .wpc-summary-content-inner-child {
        min-height: 0;
    }

    .wpc-popup.wpc-quote-form-summary-popup .wpc-quote-form {
        flex: 1 1 auto;
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
    }
}
