.accordion-js .head {
    position: relative;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    padding: 20px;
    line-height: 1.2em;
    padding-right: 40px;
}

.accordion-js .accordion-toggler {
    cursor: pointer;
}

.accordion-js .head::after {
    content: "";
    width: 17px;
    height: 10px;
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -5px;
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='10' viewBox='0 0 17 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.6669 7.93896L16.7392 8.01123C17.0807 8.38558 17.0902 8.96522 16.745 9.35107C16.3768 9.76244 15.7445 9.79731 15.3329 9.4292L8.20305 3.05225L1.69817 9.3999C1.30287 9.78549 0.669769 9.77757 0.284103 9.38232C-0.101487 8.98703 -0.0935667 8.35393 0.301681 7.96826L8.14445 0.315918L16.6669 7.93896Z' fill='black'/%3E%3C/svg%3E%0A");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}

.accordion-js .content {
    display: none;
    padding: 20px;
}

.accordion-js.opened .content {
    display: block;
}

.accordion-js.opened .head::after {
    transform: rotate(0deg);
}

.instruction {
    background-color: #F9F9F9;
}

.instruction .content {
    font-weight: normal;
}

.instruction .title {
    color: #832432;
}

.instruction .title span {
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    background-color: white;
    border-radius: 1em;
    border: 1px solid #D7C18A;
    font-weight: bold;
    text-align: center;
}

.instruction .instruction-item:not(:first-child) {
    padding-top: 15px;
}

.instruction .instruction-item:not(:last-child) {
    border-bottom: 1px solid #D7C18A;
    padding-bottom: 15px;
}

.instruction b {
    font-weight: 600;
}

.main-content h2 {
    text-transform: uppercase;
    color: #832432;
}

.accordions-block {
    background-color: #F9F9F9;
    padding: 50px 0;
    margin-bottom: 30px;
}

.accordions-block .answer-item {
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.14);
    margin: 15px 0;
}

.accordions-block .answer-item .content > *:first-child {
    margin-top: 0;
}

.accordions-block .answer-item .content > *:last-child {
    margin-bottom: 0;
}

.accordions-block .answer-item ul {
    padding-left: 1em;
    list-style: inherit;
    margin: 1em 0;
    font-weight: 400;
}

.accordions-block .answer-item ol {
    padding-left: 1.3em;
    list-style: auto;
    margin: 1em 0;
    font-weight: 400;
}

.accordions-block .answer-item h3 {
    font-weight: bold;
    color: #832432;
    font-size: 1.3rem;
}

.accordions-block .answer-item ul li,
.accordions-block .answer-item ol li {
    margin: 1em 0;
}

.accordions-block .answer-item table {
    width: 100%;
}

.accordions-block .answer-item table th {
    background-color: #832432;
    padding: 5px;
    color: white;
    font-weight: bold;
    border: 1px solid white;
}

.accordions-block .answer-item table td {
    padding: 5px;
    color: #333;
    border: 1px solid #f5f5f5;
    font-weight: 400;
}

/* Form start */

.main-calc {
    background-color: white;
    box-shadow: 0px 14px 24px rgba(0, 0, 0, 0.15);
}

.main-calc .result {
    display: none;
    background-color: #B99E79;
    padding: 35px;
}

.main-calc .result-container {
    background-color: rgba(255,255,255,.35);
    display: flex;
    flex-direction: row;
    padding: 30px;
}

.main-calc .result h2 {
    text-transform: uppercase;
    color: white;
}

.main-calc .result .total {
    color: #C60C30;
    font-size: 2.3rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1em;
}

.main-calc .result .description {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: .3em;
}

.main-calc .result .total span {
    font-size: 4rem;
}

.main-calc .result .right {
    padding-left: 40px;
    border-left: 2px solid #C60C30;
}

.main-calc .result .right .title {
    font-weight: bold;
    font-size: 1.2rem;
}

.main-calc .form {
    padding: 35px;
}

.main-calc h2 {
    color: #832432;
    margin-top: 0;
    text-transform: uppercase;
}
.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.form-label {
    width: 110px;
    font-weight: 600;
    margin-right: 20px;
    font-size: 1.1rem;
}
.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}
.option-btn {
    padding: 10px 15px;
    border: 1px solid #C29D3E;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: Montserrat;
    text-align: left;
}
.option-btn:hover {
    border-color: #F3ECD9;
}
.option-btn.selected {
    border-color: #C29D3E;
    background-color: #F3ECD9;
}
.gender-icon {
    width: 36px;
    height: 36px;
    margin-top: -10px;
    margin-bottom: -10px;
    margin-left: -7px;
    margin-right: -5px;
}
.disease-icon {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}


.disease-options {
    width: 100%;
}

.disease-options button {
    width: 100%;
}

.disease-options button:not(:last-child) {
    margin-bottom: 10px;
}

@media (max-width: 767.98px) {
    .form-label {
        width: 100%;
        margin-bottom: 10px;
    }
    .form .heart {
        max-width: 200px;
        margin-top: -30px;
        margin-bottom: 20px;
    }
    .main-calc .form {
        padding: 15px;
    }
    .main-calc .result {
        padding: 20px;
    }
    .main-calc .result .right {
        padding-left: 0;
        border-left: none;
        margin-top: 10px;
        padding-top: 0;
        border-top: 2px solid #C60C30;
    }
    .main-calc .result .left {
        padding-left: 0;
    }
}
/* Form end */



@media (max-width: 991.98px) {
}
@media (max-width: 767.98px) {
    .accordion-js .head {
        font-size: 1.3em;
        padding: 10px;
        padding-right: 30px;
    }

    .accordion-js .content {
        padding: 10px;
    }

    .accordions-block .answer-item h3 {
        font-size: 1.1rem;
    }
}
@media (max-width: 575.98px) {
}
