body {
    background-color: #f5f5f7;
}
.cert__title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 18px;
}

.cert__h1 {
    font-size: 40px;
    font-weight: bold;
    color: #20B1A9;
    margin-bottom: 32px;
    line-height: 1.1em;
}

.cert__types {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    max-width: 1120px;
    margin: 0px 0px 24px 0px;
}

.cert__type {
    background: #fff;
    border-radius: 34px;
    height: 268px;
    cursor: pointer;
    border: 2px solid #fff;
    padding: 23px 24px;
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 334px;
    border: 2px solid transparent;
}

.cert__type-active {
    border-color: #20B1A9;
}

.cert__typetext {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    line-height: 1.2em;
}

.cert__typetext span {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 12px;
    line-height: 1em;
}

.cert__designs {
    display: flex;
    margin-top: 32px;
    justify-content: center;
}

.cert__design {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex: 0;
    border: 2px solid #fff;
    cursor: pointer;
    padding: 2px;
    border: 2px solid transparent;
    flex: 0 0 132px;
    height: 87px;
    transition: all ease 0.2s;
    margin-right: 28px;
}

.cert__design:last-child {
    margin-right: 0px;
}

.cert__design-active {
    border-color: #20B1A9;
    background: #fff;
}

.cert__design >div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
}

.cert__design-1 >div {
    background-image: url(/themes/img/certificates/t1sm.png);
}

.cert__design-2 >div {
    background-image: url(/themes/img/certificates/t2sm.png);
}

.cert__design-3 >div {
    background-image: url(/themes/img/certificates/t3sm.png);
}

.cert__design-4 >div {
    background-image: url(/themes/img/certificates/t4sm.png);
}

.cert__noms {
    display: flex;
    padding-bottom: 26px;
    border-bottom: 1px solid #e5e5e5;
}

.cert__nom {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    padding: 0px 16px;
    flex: 0;
    font-size: 22px;
    border: 2px solid transparent;
    cursor: pointer;
    margin: 0px 14px;
}

.cert__nom:first-child {
    margin-left: 0px;
}

.cert__nom-active {
    border-color: #1FB0A8;
}

.cert__nomfull {
    flex: 1 0 auto;
    text-align: right;
}

.cert__buycontainer {
    display: flex;
    align-items: center;
}

.btn.btn-cert {
    width: 180px;
    line-height: 1.2em;
    border-radius: 50px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    margin: 0px;
    height: 50px;
    font-size: 18px;
}

.btn.cert__buy {
    float: left;
}

.btn.cert__buy::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 4px;
    background: url(/themes/img/cart-icon.svg) no-repeat center center;
}

.btn.btn-cert:not(.btn-active) {
    color: #80868e;
    background: #e5e5e5;
}

.btn.btn-cert:not(.btn-active)::before {
    display: none;
}

.cert__buyb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 40px 0px 24px 0px;
}

.cert__buyb a {
    font-weight: bold;
    font-size: 26px;
    color: #20B1A9;
    text-decoration: underline;
}

.cert__buyb a:hover {
    text-decoration: none;
}

.cert__buyb > div:last-child {
    text-align: right;
}

.cert__reasons {
    display: grid;
    gap: 20px;
    margin-bottom: 60px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.cert__reason {
    background: #fff;
    border-radius: 34px;
    min-height: 224px;
    height: auto;
    padding: 92px 16px 16px 16px;
    position: relative;
}

.cert__reason span {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 22px;
    line-height: 24px;
}

.cert__reason::before {
    width: 44px;
    height: 44px;
    display: block;
    position: absolute;
    top: 28px;
    left: calc(50% - 22px);
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.cert__reason-1::before {
    background-image: url(/themes/img/certificates/r1.png)
}

.cert__reason-2::before {
    background-image: url(/themes/img/certificates/r2.png)
}

.cert__reason-3::before {
    background-image: url(/themes/img/certificates/r3.png)
}

.cert__reason-4::before {
    background-image: url(/themes/img/certificates/r4.png)
}

.cert__us {
    display: grid;
    gap: 48px;
    margin-bottom: 60px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.cert__u {
    background: #EAEAEC;
    border-radius: 34px;
    height: 172px;
    padding: 86px 22px 22px 22px;
    font-size: 14px;
    color: #000000;
    position: relative;
}

.cert__u::before {
    width: 44px;
    height: 44px;
    display: block;
    position: absolute;
    top: 28px;
    left: calc(50% - 22px);
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.cert__u-1::before {
    background-image: url(/themes/img/certificates/u1.png)
}

.cert__u-2::before {
    background-image: url(/themes/img/certificates/u2.png)
}

.cert__u-3::before {
    background-image: url(/themes/img/certificates/u3.png)
}

.cert__u-4::before {
    background-image: url(/themes/img/certificates/u4.png)
}

.cert__u a {
    color: #1fb0a8 !important;
    font-weight: bold;
}

.cert__typeprice {
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all ease-in-out 0.3s;
}

.cert__typeprice-el {
    background-image: url(/themes/img/certificates/el.png);
}

.cert__typeprice-fiz {
    background-image: url(/themes/img/certificates/black.png);
}

.cert__typeuah {
    font-size: 80px;
    text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.4);
}

.cert__type .odometer-value {
    text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.4);
}

.cert__type:not(.cert__type-entered) .cert__od,
.cert__type-entered .cert__typeuah
{
    display: none;
}

.cert__type-active {
    border-color: #20B1A9;
}
.cert__hug {
    height: 178px;
    background: #fff;
    border-radius: 24px;
    margin-bottom: 60px;
    padding: 22px 0px;
    text-align: center;
    position: relative;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.cert__hug >div {
    position: relative;
    padding-left: 32px;
    text-align: left;

    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
}
.cert__hug::before {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    width: 144px;
    height: 134px;
    margin-right: 26px;
    content: "";
    background: url(/themes/img/certificates/hug.png) no-repeat center center;
    background-size: contain;
}
.cert__hugtext {
    font-size: 22px;
    line-height: 32px;
}
.cert__hugbr {
    clear: both;
}
.text-red {
    color: #FF5F00;
}
.cert__subtext {
    color: #80868e;
    font-size: 12px;
    line-height: 14px;
}
.cert__subtext ul {
    margin-left: -24px;
}
.cert__subtext li {
    margin: 0px 34px 12px 34px;
}

.input {
    border: 1px solid #E5E5E5;
    font-size: 14px;
    height: 42px;
    padding: 0px 14px;
    border-radius: 8px;
}

.input::placeholder {
    color: #B8BEC6;
}

.cert__hugform {
    max-width: 504px;
    line-height: 1.2em;
    font-size: 14px;
    color: #80868E;
}

.cert__hugform input {
    margin-bottom: 10px;
    width: 100%;
    height: 58px;
    padding: 0px 20px;
    border-radius: 12px;
    font-size: 18px;
}

.odometer .odometer-inside::after {
    content: "₴";
    margin-left: 0.2em;
    vertical-align: middle;
    text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.4);
}

@media only screen and (min-width: 481px) {
    .cert__subtext {
        -moz-columns: 2;
        -webkit-columns: 2;
        columns: 2;
        column-fill: balance;
    }
    .cert__sub .cert__title {
        text-align: center;
    }
    .btn.btn-cert-big {
        height: 58px;
        font-size: 22px;
        min-width: 322px;
    }
}
@media only screen and (max-width: 480px) {
    .wrapper-cert {
        max-width: 380px;
    }
    .cert__h1 {
        font-size: 26px;
        margin-bottom: 17px;
    }
    .cert__title {
        margin-bottom: 12px;
        font-size: 14px;
    }
    .cert__types {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 30px;
    }
    .cert__type {
        height: 158px;
        grid-template-columns: 1fr 200px;
        gap: 12px;
        border-radius: 16px;
        padding: 13px 11px;
    }
    .cert__typeprice {
        width: 200px;
        border-radius: 16px;
        font-size: 36px;
    }
    .cert__typetext  {
        font-size: 9px;
    }
    .cert__typetext span {
        font-size: 14px;
    }
    .cert__hug::before {
        display: none;
    }
    .cert__noms {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: normal;
        padding-bottom: 14px;
    }
    .cert__nom {
        font-size: 12px;
        height: 32px;
        padding: 0px 8px;
        margin: 0px;
    }
    .cert__nom-z {
        margin-left: 0px;
    }
    .cert__nomfull {
        text-align: left;
        padding-top: 36px;
    }
    .cert__nomfull >div {
        height: 36px;
    }
    .cert__nomfull >div >span {
        font-size: 14px;
        color: #000;
        top: -30px;
        text-align: left;
    }
    .cert__buyb a {
        font-size: 14px;
    }
    .cert__buyb {
        margin: 20px 0px 20px 0px;
    }
    .btn.cert__buy {
        width: auto;
        min-width: 150px;
    }
    .cert__reasons {
        gap: 20px 12px;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 30px;
    }
    .cert__reason {
        padding: 72px 20px 10px 20px;
        font-size: 10px;
        line-height: 1em;
        height: auto;
        min-height: 192px;
    }
    .cert__reason span {
        font-size: 16px;
        line-height: 17px;
    }
    .cert__reason::before {
        width: 32px;
        height: 32px;
        top: 24px;
        left: calc(50% - 16px);
    }
    .cert__us {
        gap: 20px 12px;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 30px;
    }
    .cert__u {
        height: 132px;
        font-size: 10px;
        line-height: 11px;
        padding: 66px 14px 10px 14px;
    }
    .cert__u::before {
        width: 32px;
        height: 32px;
        top: 21px;
        left: calc(50% - 16px);
    }
    .cert__hug {
        padding: 33px 18px;
        height: auto;
        margin-bottom: 30px;
        flex-direction: column;
    }
    .cert__hug >div {
        font-size: 10px;
        width: auto;
        line-height: 1.2em;
        padding: 0px;
        max-width: 280px;
        margin: 0px auto;
    }
    .cert__hugform {
        margin-bottom: 16px !important;
    }
    .cert__hug >div br {
        margin-bottom: 10px;
    }
    .cert__hug >div strong {
        display: block;
    }
    .cert__hugbr {
        clear: both;
        margin-bottom: 12px;
    }
    .cert__sub .cert__title {
        font-size: 18px;
    }
    .cert__buyb {
        display: flex;
        flex-direction: column-reverse;
    }
}

.cert__llinen {
    display: flex;
    justify-content: space-between;
    color: #80868e;
}
.cert__llinen-span {
    text-align: center;
    min-width: 120px;
    padding: 12px 0px 10px 0px;
    display: block;
    transition: all ease-in-out 0.2s;
    border-bottom: 2px solid #fff;
    cursor: pointer;
}
.cert__llinen-span-active {
    font-weight: bold;
    border-color: #20B1A9;
    color: #000;
}
.cert__lline {
    display: flex;
    align-items: center;
}
.cert__lline >div {
    background: #fff;
    border-radius: 12px;
    margin: 0px auto;
    width: auto;
    margin-bottom: 40px;
}

@media only screen and (min-width: 580px) and (max-width: 1520px) {
    .cert__nom {
        height: 40px;
        padding: 0px 12px;
        font-size: 18px;
        margin: 0px 8px;
    }
    .cert__nomfull >div {
        height: 40px;
    }
    .cert__nomfull input {
        font-size: 18px;
    }
    .cert__nomfull >div >span {
        font-size: 16px;
    }
}

.cert__double {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.w-100p {
    width: 100%;
}

.giftcart {
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 24px;
    background-color: #fff;
}

.giftcart-total {
    font-size: 16px;
}

.giftcart-total strong {
    font-size: 22px;
    font-weight: bold;
    float: right;
}

.giftcart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px;
    border: 1px solid rgba(229, 229, 229, 1);
    border-radius: 8px;
    position: relative;
    margin-bottom: 12px;
}

.giftcart-item:last-child {
    margin-bottom: 0px;
}

.giftcart-item__img {
    width: 124px;
    height: 79px;
    object-fit: cover;
    border-radius: 6px;
}

.giftcart-item__info {
    flex: 1;
}

.giftcart-item__title {
    font-size: 16px;
    margin-bottom: 4px;
}

.giftcart-item__price {
    font-size: 13px;
    color: #777;
}

.giftcart-item__qty {
    display: flex;
    align-items: center;
    border: 1px solid rgba(245, 245, 247, 0.96);
    border-radius: 4px;
    width: 84px;
    margin-left: 3px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: rgba(184, 190, 198, 1);
}

.qty-input {
    width: 30px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: bold;
}

.giftcart-item__remove {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 1px;
    right: 3px;
}

.giftcart-item__remove:hover {
    color: #e33;
}

/* temp */
.choice__info_input-block {
    display: flex;
}

.field-validation-valid {
    display: none;
}

.field-validation-error {
    display: block;
    color: #e33;
    font-size: 12px;
}

.input-validation-error {
    border-color: #e33 !important;
}

.cert__nom-error,
.cert__cart-error {
    color: #e33;
    font-size: 13px;
    margin-top: 8px;
}

.wrapper-cert {
    position: relative;
}

.cert__head {
    justify-content: center;
    display: flex;
    gap: 70px;
    margin-bottom: 28px;
}

.cert__headtype {
    flex-basis: 700px;
}

@media only screen and (min-width: 768px) {
    .cert__head-cart {
        position: relative;
        flex-basis: 450px;
    }

    .cert__head-cart > div {
        position: absolute;
    }

    .giftcart-list {
        max-height: 260px;
        overflow: auto;
        margin-bottom: 12px;

        padding-right: 10px;
        margin-right: -10px;
    }

    .giftcart-list::-webkit-scrollbar {
        width: 8px;
        background: transparent;
        border-radius: 50px;
        margin-left: 4px;
    }

    .giftcart-list::-webkit-scrollbar-button {
        width: 0px;
        height: 0px;
    }

    .giftcart-list::-webkit-scrollbar-thumb {
        width: 4px;
        background: #e5e5e5;
        border-radius: 50px;
    }
}

.cert__designc {
    background: #fff;
    border-radius: 24px;
    width: 320px;
    padding: 23px 18px;
    height: 268px;
}

.cert__designc .cert__title {
    font-size: 30px;
}

.cert__radiobox-inline {
    display: flex;
}

.cert__radiobox-inline > .radiobox {
    margin-right: 18px;
    padding: 0px 0 0 24px;
    cursor: pointer;
}

.apple-pay-button {
    margin-top: 20px;
}

.cert__qtychoise {
    padding-top: 34px;
    display: grid;
    grid-template-columns: 260px 260px 180px;
    gap: 98px;
}

.cert__qtychoise-t {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
    font-size: 18px;
}

.cert__qtychoise-t input {
    background-color: transparent;
    border: 0px;
    font-size: 22px;
    text-align: center;
    width: 101px;
}

.cert__nombtn {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 30px;
    line-height: 24px;
    color: rgba(32, 177, 169, 1)
}

.cert__qtychoise-t > div {

}

.cert__qtychoise-t input::placeholder {
    color: #cfd1d5;
}

.cert__qtychoise-t >div {
    height: 54px;
    display: flex;
    border-radius: 8px;
    background: #fff;
    padding: 0px 4px;
    font-size: 22px;
    display: inline-block;
    position: relative;
    border: 2px solid transparent;
    width: 172px;

    display: flex;
    align-items: center;
}

.cert__qtychoise-t >div >span {
    position: absolute;
    top: -33px;
    left: 0px;
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: #80868E;
}
.cert__qtychoise-t >div >div {
    display: flex;
    height: 100%;
    align-items: center;
}

.cert__qtychoise-t.cert__nom-active >div {
    border-color: #1FB0A8;
}

.giftcart-icon {
    display: block;
    width: 208px;
    height: 197px;
    background: url(./thx__buddy.png) no-repeat center center;
    background-size: contain;
}

@media only screen and (min-width: 768px) {
    .giftcart {
        position: sticky;
        top: 0px;
        right: 0px;
    }

    .workdrawer-giftcard-thx
    {
        width: 620px;
        right: -620px;
    }
}

@media only screen and (max-width: 768px) {

    .cert__qtychoise {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding-top: 12px;
    }
    .cert__qtychoise-t {
        flex-direction: column;
        align-items: flex-start;
        font-size: 12px;
        gap: 0px;
    }

    .btn.cert__buy {
        width: 150px;
        height: 42px;
        font-size: 14px;
    }

    .cert__buycontainer {
        align-items: end;
    }

    .cert__qtychoise-t >div {
        width: 123px;
        height: 36px;
        padding: 0px;
    }

    .cert__qtychoise-t input {
        font-size: 14px !important;
        width: 75px;
    }
    .cert__nombtn {
        width: 20px;
        height: 20px;
        font-size: 20px;
        line-height: 18px;
    }
    .cert__designs {
        margin-top: 18px;
    }
    .cert__head {
        margin-bottom: 18px;
    }

    .cert__design >div {
        width: 62px;
        height: 42px;
    }

    .cert__design {
        margin-right: 18px;
        flex: 0;
        height: 50px;
    }

    .cert__head-cart {
        margin-top: 24px;
    }
    .giftcart-list {
        margin-bottom: 18px;
    }
}