.rwwc-item-grid {
    display: grid;
    grid-template-columns: 50px 90px 2fr 1fr 1fr 1fr;
}
.rwwc-withdrawal-item-grid {
    display: grid;
    grid-template-columns: 50px 90px 2fr 1fr 1fr 1fr;
}
.rwwc-return-product-thumbnail,
.rwwc-withdrawal-product-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rwwc-item-grid .rwwc-return-body.rwwc-return-product-thumbnail img,
.rwwc-withdrawal-item-grid .rwwc-withdrawal-body.rwwc-withdrawal-product-thumbnail img {
    max-width: 65px;
    height: auto;
    border-radius: 2px;
    margin-bottom: 0;
}
.rwwc-item-grid > div,
.rwwc-withdrawal-item-grid > div {
    padding: 8px 4px;
}
.rwwc-item-wrapper,
.rwwc-withdrawal-item-wrapper {
    border-top: 1px solid rgba(128, 128, 128, 0.35);
    border-left: 1px solid rgba(128, 128, 128, 0.35);
    border-right: 1px solid rgba(128, 128, 128, 0.35);
    border-radius: 4px;
}

.rwwc-return-header,
.rwwc-withdrawal-header {
    font-weight: 500;
    background-color: rgba(128, 128, 128, 0.12);
    border-bottom: 1px solid rgba(128, 128, 128, 0.35);
    line-height: 1.2em;
}

.rwwc-return-body,
.rwwc-withdrawal-body {
    border-bottom: 1px solid rgba(128, 128, 128, 0.35);
}

.rwwc-return-navigator,
.rwwc-withdrawal-navigator {
    display: flow-root;
}

.rwwc-return-navigator .rwwc-return-step-three,
.rwwc-return-navigator .rwwc-return-confirm,
.rwwc-return-navigator .rwwc-return-nav-forward,
.rwwc-withdrawal-navigator .rwwc-withdrawal-confirm {
    float: right;
}

.rwwc-email-field,
.rwwc-order-field {
    margin-right: 10px;
}

.rwwc-summary-grid,
.rwwc-withdrawal-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.rwwc-summary-line,
.rwwc-withdrawal-summary-line {
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 5px;
}

.rwwc-exchange-items-notice,
.rwwc-withdrawal-exchange-items-notice {
    font-size: small;
    color: var(--rwwc-notice-color, #d63638);
}

.rwwc-item-grid .rwwc-return-body,
.rwwc-withdrawal-item-grid .rwwc-withdrawal-body {
    display: flex;
    align-items: center;
}

.rwwc-item-grid .rwwc-return-body.rwwc-return-product-checkbox,
.rwwc-withdrawal-item-grid .rwwc-withdrawal-body.rwwc-withdrawal-product-checkbox {
    justify-content: center;
}

.rwwc-item-qty {
    margin-left: 5px;
}

.rwwc-row-selected {
    background-color: rgba(79, 117, 180, 0.1);
}

.rwwc-order-content {
    margin-top: 20px;
}

.rwwc-order-info {
    background-color: rgba(128, 128, 128, 0.07);
    border: 1px solid rgba(128, 128, 128, 0.25);
    border-left: 3px solid var(--rwwc-step-active-color, #4f75b4);
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.rwwc-order-info__details {
    display: grid;
    grid-template-columns: max-content 1fr;
    row-gap: 5px;
    column-gap: 16px;
    margin: 0;
}

.rwwc-order-info__row {
    display: contents;
}

.rwwc-order-info__row dt {
    font-weight: 600;
    font-size: 0.8125em;
    color: rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    align-self: center;
}

.rwwc-order-info__row dd {
    margin: 0;
    font-size: 0.8125em;
    align-self: center;
}

/* Step indicator timeline */
.rwwc-step-indicator {
    display: none;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 16px 0 8px;
}

@media (min-width: 600px) {
   .rwwc-step-indicator {
        display: flex;
    }
}

.rwwc-step-indicator-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    min-width: 64px;
}

.rwwc-step-indicator-circle {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(128, 128, 128, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875em;
    color: rgba(128, 128, 128, 0.55);
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.rwwc-step-indicator-label {
    margin-top: 6px;
    font-size: 0.75em;
    text-align: center;
    color: rgba(128, 128, 128, 0.55);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.rwwc-step-indicator-connector {
    flex: 1;
    height: 2px;
    background-color: rgba(128, 128, 128, 0.35);
    margin-top: 17px; /* (36px circle height / 2) - (2px connector height / 2) */
    min-width: 16px;
    transition: background-color 0.2s ease;
}

/* Active step */
.rwwc-step-indicator-step.rwwc-step-indicator-active .rwwc-step-indicator-circle {
    border-color: var(--rwwc-step-active-color, #4f75b4);
    color: var(--rwwc-step-active-color, #4f75b4);
}

.rwwc-step-indicator-step.rwwc-step-indicator-active .rwwc-step-indicator-label {
    color: var(--rwwc-step-active-color, #4f75b4);
    font-weight: 600;
}

/* Completed step */
.rwwc-step-indicator-step.rwwc-step-indicator-completed .rwwc-step-indicator-circle {
    border-color: var(--rwwc-step-active-color, #4f75b4);
    background-color: var(--rwwc-step-active-color, #4f75b4);
    color: #fff;
}

.rwwc-step-indicator-step.rwwc-step-indicator-completed .rwwc-step-indicator-label {
    color: var(--rwwc-step-active-color, #4f75b4);
}

.rwwc-step-indicator-connector.rwwc-step-indicator-connector-completed {
    background-color: var(--rwwc-step-active-color, #4f75b4);
}

@media (min-width: 768px) {
    .form-row.search-field-wrap {
        width: 47.0588235294%;
    }

    .form-row.search-field-wrap.search-field-wrap-order {
        float: left;
        margin-right: 5.8823529412%;
        clear: both;
    }

    .form-row.search-field-wrap.search-field-wrap-email {
        float: right;
        margin-right: 0;
    }
}

.form-row.search-field-wrap label {
    display: block;
}

.form-row.search-field-wrap input {
    width: 100%;
}

.form-row.search-field-wrap input[type="submit"] {
    width: auto;
}
