.coa-header {
    background: url(/wp-content/themes/premiumjane/ts-img/coa/coa-banner-1920.jpg) center no-repeat;
    height: 231px;
}
.coa-header.show-search-results,
.coa-header.show-batch-results {
    background: url(/wp-content/themes/premiumjane/ts-img/coa/coa-green-1920.jpg) center no-repeat;
    height: 231px;
}

@media (max-width: 1024px) {
    .coa-header {
        background: url(/wp-content/themes/premiumjane/ts-img/coa/coa-banner-1024.jpg) center no-repeat;
    }
    .coa-header.show-search-results,
    .coa-header.show-batch-results {
        background: url(/wp-content/themes/premiumjane/ts-img/coa/coa-green-1024.jpg) center no-repeat;
    }
}

@media (max-width: 768px) {
    .coa-header {
        background: url(/wp-content/themes/premiumjane/ts-img/coa/coa-banner-768.jpg) center center / auto 100%  no-repeat;
    }
    .coa-header.show-search-results,
    .coa-header.show-batch-results {
        background: url(/wp-content/themes/premiumjane/ts-img/coa/coa-green-768.jpg) center no-repeat;
    }
}

@media (max-width: 375px) {
    .coa-header {
        background: url(/wp-content/themes/premiumjane/ts-img/coa/coa-banner-375.jpg) center center / auto 100%  no-repeat;
    }
    .coa-header.show-search-results,
    .coa-header.show-batch-results {
        background: url(/wp-content/themes/premiumjane/ts-img/coa/coa-green-375.jpg) center no-repeat;
    }
}

.coa__search__caption  {
    text-align: center;
    padding: 128px 0 28px 0;
}

.coa__search__description {
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    max-width: 740px;
    margin: 0 auto 47px auto;
}

.coa__search__form {
    max-width: 740px;
    margin: 0 auto 200px auto;
    height: 60px;
    display: flex;
}

.coa__search__form .coa__search__form__input {
    height: 100%;
    width: calc(100% - 205px);
    -webkit-appearance:none !important;
    border-radius: 0 !important;
    -webkit-border-radius:0 !important;
}

.coa__search__form button {
    height: 100%;
    width: 205px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    border: none;
}

.coa__search__results {
    display: none;
}

@media (max-width: 1380px) {
    .coa__search__form {
        max-width: 100%;
    }
    .coa__search__caption {
        padding: 69px 0 19px 0;
    }
    .coa__search__description {
        width: 465px;
        margin-bottom: 28px;
    }
    .coa__search__form {
        margin-bottom: 70px;
        width: 465px;
        height: 50px;
    }
    .coa__search__form .coa__search__form__input {
        width: calc(100% - 180px);
    }
    .coa__search__form button {
        width: 180px;
    }
}

@media (max-width: 767px) {
    .coa__search__caption {
        padding: 49px 0 19px 0;
    }
    .coa__search__description {
        max-width: 465px;
        width: 100%;
    }
    .coa__search__form {
        margin-bottom: 50px;
        max-width: 465px;
        width: 100%;
    }
    .coa__search__form .coa__search__form__input {
        width: calc(100% - 160px);
    }
    .coa__search__form button {
        width: 160px;
    }
}

/* coa__search__results */

.coa__search__results__header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 0;
}

.coa__search__results__header__caption {
    text-align: center;
    font-family: 'Lora';
    display: none;
    color: #21212B;
}

.coa__batch__results__header__caption {
    text-align: center;
    font-family: 'Lora';
    color: #21212B;
}

.show-search-results .coa__search__results__header__caption {
    display: block;
}

.coa__search__results__header__buttons {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: stretch;
}

.coa__search__results__header__buttons__search {
    padding: 0;
    display: flex;
    width: 165px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.coa__search__results__list__item {
    background: #fff;
    margin-bottom: 40px;
    display: flex;
}

.coa__search__results__list__item__image {
    width: 330px;
    height: auto;
    border: 1px solid #D8D8D8;
}

.coa__search__results__list__item__image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.coa__search__results__list__item__data {
    width: calc(100% - 330px);
    border: 1px solid #D8D8D8;
    border-left: none;
    padding: 34px 0 0 32px;
}

.coa__search__results__list__item__data__title {
    font-size: 24px;
    line-height: 31px;
    font-family: 'Lora';
    color: #21212B;
    margin: 0 0 20px 0;
    -webkit-mask-size: cover;
}

.coa__search__results__list__item__data__text {
    font-size: 14px;
    line-height: 21px;
    margin: 0 0 19px 0;
}

.coa__search__results__list__item__data__links {
    overflow: hidden;
}

.coa__search__results__list__item__data__links a {
    font-size: 18px;
    line-height: 27px;
    display: inline-block;
    float: left;
    clear: both;
    margin: 0 0 17px 0;
}

.coa__search__results__list__item__data__links a:hover {
    color: #FCBF61;
}

.coa__search__results__list__item__data__links a:last-child {
    margin-bottom: 0;
}

.coa__search__results__header__caption {
    margin-top: -6px;
}

.coa-search-result-batch {
    display: flex;
}
@media (max-width: 480px) {
    .coa-search-result-batch {
        justify-content: space-between;
    }
}


.coa__search__results__list__item__data__links a.coa-downloab-pdf {
    width: 18px;
    height: 18px;
    background: url(/wp-content/themes/premiumjane/ts-img/coa/download.svg) center no-repeat;
    margin: 4px 0 0 20px;
}

.coa__search__results__list__item__data__links a.coa-downloab-pdf:hover {
    background: url(/wp-content/themes/premiumjane/ts-img/coa/download-orange.svg) center no-repeat;
}

@media (max-width: 1024px) {
    .coa__search__results__header__caption {
        margin-top: -28px;
    }
    .coa__search__results__header {
        padding: 30px 0;
    }
}

@media (max-width: 767px) {
    .coa__search__results__list__item {
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }
    .coa__search__results__list__item__image {
        width: 100%;
        height: fit-content;
        display: flex;
        padding: 10px 0;
        align-items: center;
    }
    .coa__search__results__list__item__data {
        width: 100%;
        padding: 20px;
        border: 1px solid #D8D8D8;
        border-top: none;
    }
    .coa__search__results__header__buttons {
        justify-content: center;
    }
}

/* coa__batch */

.coa__batch {

}

.batch-header {
    margin-top: -231px;
}

.coa__batch__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.coa__batch__header__buttons {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
}

.coa__batch__header__buttons-right {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.coa__batch__header__buttons__search,
.coa__batch__header__buttons__product,
.coa__batch__header__buttons__download{
    padding: 0;
    display: flex;
    width: 165px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.coa__batch__header__buttons__search {
    margin: 0 30px;
}

.coa__batch__header__buttons__download {
    margin-right: auto;
}

.coa__batch__header__caption {
    display: none;
}

.coa__batch__pdf {

}

.coa__search__results__list__template {
    display: none;
}

.coa__batch__results__header__caption {
    margin-top: -6px;
}

.coa__batch__pdf canvas {
    display: block;
    margin: 0 auto;
    max-width: 1224px;
    width: 100%;
}

@media (max-width: 1024px) {
    .coa__batch__results__header__caption {
        margin-top: -28px;
    }
    .coa__batch__header {
        padding: 30px 0;
    }
}

@media (max-width: 767px) {
    .coa__batch__header__buttons {
        justify-content: center;
    }
    .coa__batch__results__header__caption {
        -ms-word-break: break-all;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .coa__batch__header__buttons__download {
        order: 3;
    }
    .coa__batch__header__buttons-right {
        flex-wrap: wrap;
    }
    .coa__batch__header__buttons-right > a {
        margin: 0 0 10px;
    }
}

/* coa-head */

.coa-head {
    display: grid;
    grid-template-columns: minmax(10%, 578px) 50%;
    grid-column-gap: 83px;
    grid-row-gap: 0;
    background: #E0F2DD;
    justify-content: end;
    position: relative;
    max-height: 760px;
    height: 200vh;
    margin-bottom: 4px;
}

.coa-head-image {
    background: url('/wp-content/themes/premiumjane/ts-img/coa/coa-banner.webp') center no-repeat;
    background-size: cover;
    height: 100%;
}

.coa-head-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
    box-sizing: border-box;
    padding: 50px 0;
}

.breadcrumbs.container {
    position: absolute;
    left: 0;
    top: 16px;
    margin: 0;
}

.coa-head-content-title {
    font-size: 70px;
    line-height: 89px;
    margin: 0 0 25px 0;
    color: #21212B;
    font-weight: normal;
    font-family: 'Lora', serif;
    width: 100%;
}

.coa-head-content-text {
    font-size: 20px;
    line-height: 36px;
    width: 100%;
}

@media (max-width: 1380px) {
    .coa-head {
        grid-template-columns: 1fr 50%;
        grid-column-gap: 15px;
        max-height: initial;
        height: auto;
    }

    .coa-head-content {
        margin-left: 47px;
        padding: 66px 0 37px;
    }

    .coa-head-content-title {
        font-size: 40px;
        line-height: 51px;
        margin-bottom: 19px;
    }

    .coa-head-content-title br {
        display: none;
    }

    .coa-head-content-text {
        font-size: 20px;
        line-height: 30px;
    }

}

@media (max-width: 1024px) {
    .coa-head-content {
        margin-left: 39px;
    }
}

@media (max-width: 767px) {
    .coa-head {
        display: flex;
        flex-direction: column-reverse;
        grid-column-gap: 0;
        position: relative;
    }

    .coa-head-content {
        margin: 0 15px;
        position: static;
        padding: 40px 0 38px;
    }

    .breadcrumbs.container {
        left: 15px;
    }

    .coa-head-content-title {
        text-align: center;
    }

    .coa-head-content-title br {
        display: block;
    }

    .coa-head-content-text {
        text-align: center;
    }

    .coa-head-image {
        aspect-ratio: 96 / 76;
    }
}

/* coa__search */

.coa__search-wrapper {
    background: #D7EBF2;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coa__search__caption {
    padding: 0;
    margin-bottom: 28px;
}

.coa__search__form {
    margin-bottom: 0;
    width: 100%;
}

.coa__search__form__input::placeholder {
    color: #4F4F57;
}

@media (max-width: 1380px) {
    .coa__search-wrapper {
        min-height: 250px;
    }
}

@media (max-width: 767px) {
    .coa__search-wrapper {
        min-height: 210px;
    }
}

/* coa-how_to_find */

.coa-how_to_find {
    padding-top: 125px;
}

.coa-how_to_find-title {
    font-size: 48px;
    line-height: 72px;
    margin: 0 0 54px 0;
    color: #21212B;
    font-weight: normal;
    font-family: 'Lora', serif;
    text-align: center;
}

.coa-how_to_find-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 45px;
}

.coa-how_to_find-content-item {
    display: flex;
    flex-direction: column;
    padding: 30px;
    box-sizing: border-box;
}

.coa-how_to_find-content-item.orange {
    background: #FFEBB8;
}

.coa-how_to_find-content-item.lilac {
    background: #E4DCF3;
}

.coa-how_to_find-content-item.blue {
    background: #D7EBF2;
}

.coa-how_to_find-content-item-number {
    font-size: 70px;
    line-height: 89px;
    color: #fff;
    font-weight: normal;
    font-family: 'Lora', serif;
    margin-bottom: 9px;
}

.coa-how_to_find-content-item-title {
    font-size: 30px;
    line-height: 38px;
    color: #21212B;
    font-weight: normal;
    font-family: 'Lora', serif;
    margin-bottom: 18px;
}

.coa-how_to_find-content-item-text {
    font-size: 16px;
    line-height: 26px;
    color: #4F4F57;
}

.list-circles li {
    position: relative;
    margin: 0 0 11px 0;
    padding: 0 0 0 28px;
}

.list-circles li:after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #21212B;
    left: 0;
    top: 9px;
}

.lab-res {
    font-size: 20px;
    font-weight: normal;
    font-family: 'Lora', serif;
}

@media (max-width: 1380px) {
    .coa-how_to_find {
        padding-top: 70px;
    }

    .coa-how_to_find-title {
        font-size: 30px;
        line-height: 38px;
        margin: 0 0 30px 0;
    }

    .coa-how_to_find-content {
        column-gap: 10px;
    }

    .coa-how_to_find-content-item {
        padding: 39px 15px;
    }

    .coa-how_to_find-content-item-number {
        font-size: 50px;
        line-height: 64px;
        margin-bottom: 13px;
    }

    .coa-how_to_find-content-item-title {
        font-size: 24px;
        line-height: 36px;
        margin-bottom: 15px;
    }

    .coa-how_to_find-content-item-text {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    .coa-how_to_find {
        padding: 50px 0 0;
    }

    .coa-how_to_find-content {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .coa-how_to_find-content-item-title br {
        display: none;
    }
}

/**/

.fourbox.loyalty-block .fourbox-2 .fourbox-item-img {
    background: url('/wp-content/themes/premiumjane/ts-img/coa/coa-2.webp') center center no-repeat;
    background-size: cover;
}

.fourbox-2,
.fourbox-2 .wrap {
    background-color: #FCD8DB;
}

.fourbox-2 a {
    text-decoration: underline;
}

@media (min-width: 1024px) and (max-width: 1380px) {
    .twoblock .twoblock-item:last-child {
        padding: 0 0 0 30px;
    }
}

.coa-header {
    display: none !important;
}

/**/

.coa-show-popup {
    padding-left: 15px;
    cursor: pointer;
}

.coa-popup-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    display: none;
    padding: 100px 0;
}

.coa-popup-wrapper.show {
    display: flex;
}

.coa-popup-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #1D1C20;
    opacity: 0.5;
}

.coa-popup {
    display: grid;
    grid-template-rows: auto 1fr;
    width: 100%;
    height: 100%;
    max-width: 1320px;
    background: #fff;
    position: relative;
    box-sizing: border-box;
    padding: 66px 80px 0;
    row-gap: 23px;
}

.coa-popup-close {
    position: absolute;
    right: 5px;
    top: 7px;
    width: 40px;
    height: 40px;
    background: url('/wp-content/themes/premiumjane/ts-img/cart-close.svg') center no-repeat;
    background-size: auto;
    cursor: pointer;
}

.coa-popup-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    column-gap: 30px;
}

.coa-popup-title {
    font-size: 48px;
    font-family: 'Lora';
    font-weight: normal;
    color: #21212B;
    word-break: break-all;
}

.coa-popup-buttons {
    display: flex;
    justify-content: space-between;
    column-gap: 18px;
    padding-top: 6px;
}

.coa-popup-button {
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 165px;
    height: 50px;
    box-sizing: border-box;
    color: #21212B;
    text-decoration: none;
    cursor: pointer;
}

.coa-popup-button--download {
    background: #fff;
    border: 1px solid #21212B;
}

.coa-popup-button--view {
    background: #FFDF8D;
}

.coa-popup-pdf-wrapper {
    overflow-y: scroll;
    border: 1px solid #D8D8D8;
    border-bottom: none;
}

#coa-popup-pdf canvas {
    display: block;
    width: 100%;
}

/**/

.coa-search-result-batch-item {
    font-size: 18px;
    line-height: 27px;
    cursor: pointer;
    margin-bottom: 17px;
}

.coa-search-result-batch-item:hover {
    color: #fcbf61;
}

/**/
.coa__search__form__button {
    position: relative;
}

.coa__search__form__button.loading {
    cursor: auto;
}

.coa__search__form__button.loading:after {
    content: "";
    width: 20px;
    height: 20px;
    background: url('/wp-content/themes/premiumjane/ts-img/woo/refresh.svg') no-repeat;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    top: 50%;
    right: 15px;
    margin-top: -10px;
    position: absolute;
}

.coa__search__results__header__buttons {
    display: none;
    padding: 27px 0;
}

.coa__search__results__list.empty {
    font-size: 24px;
    line-height: 31px;
    text-align: center;
    margin-bottom: 70px;
}

#tsedit.tsedit--hide {
    display: none;
}

@media (max-width: 1380px){
    .coa-popup-wrapper {
        width: 100%;
        margin: 0 auto;
        padding: 50px 47px;
    }

    .coa-popup-title {
        font-size: 30px;
        line-height: 38px;
        padding-top: 7px;
    }
    .coa-popup-buttons {
        padding-top: 0;
    }
    .coa-popup {
        padding: 40px 20px 0;
    }
    .coa-popup-close {
        right: -6px;
        top: -5px;
    }
}

@media (max-width: 1023px){
    .coa-popup-wrapper {
        padding: 40px 39px;
    }
}

@media (max-width: 767px){
    .coa-popup-wrapper {
        padding: 0;
    }
    .coa-popup {
        padding: 28px 20px 0;
    }
    .coa-popup-top {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        column-gap: 0;
    }
    .coa-popup-title {
        padding-top: 0;
        margin-bottom: 29px;
        text-align: center;
    }
    .coa-popup-close {
        right: 0;
        top: 5px;
    }
}

html.coa-popup-open {
    overflow: hidden;
}

@media (max-width: 413px) {
    .coa-popup-buttons,
    .coa-popup-button {
        width: 100%;
    }
}