.spencer-smart-box {
    border: 1px solid #d9e1ea;
    border-radius: 7px;
    background: #ffffff;
    padding: 13px 16px;
    margin: 0 0 14px;
}

.spencer-smart-box h1 {
    margin: 0 0 10px;
    color: #101820;
    font-size: 27px;
    line-height: 1.2;
}

.spencer-smart-lengths {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 7px;
}

.spencer-smart-size {
    display: inline-flex;
    min-width: 108px;
    min-height: 48px;
    padding: 6px 10px;
    border: 1px solid #005b9f;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #005b9f;
    background: #ffffff;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.spencer-smart-size span {
    font-size: 17px;
}

.spencer-smart-size small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
}

.spencer-smart-size.is-available:hover {
    color: #ffffff;
    background: #005b9f;
}

.spencer-smart-size.is-build {
    border-style: dashed;
    color: #003f7d;
    background: #f3f7fb;
}

.spencer-smart-size.is-build:hover {
    color: #ffffff;
    background: #003f7d;
    border-style: solid;
}

.spencer-smart-main-quote {
    display: inline-flex;
    min-height: 48px;
    padding: 7px 16px;
    border: 1px solid #005b9f;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: #005b9f;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.spencer-smart-main-quote:hover {
    color: #ffffff !important;
    background: #003f7d;
    border-color: #003f7d;
}

@media (max-width: 700px) {
    .spencer-smart-box {
        padding: 12px;
    }

    .spencer-smart-box h1 {
        font-size: 23px;
    }

    .spencer-smart-size {
        min-width: calc(33.333% - 7px);
    }

    .spencer-smart-main-quote {
        width: 100%;
    }
}
