@charset "utf-8";

.container {
    margin-top: 20px;
    background-color: white;
    border-radius: 4px;
    line-height: 22px;
}

div[gradient] {
    color: transparent;
    -webkit-background-clip: text;
    background-image: linear-gradient(to bottom, #455a64, darkgrey);
}

.property {
    padding: 15px;
    cursor: default;
    font-size: 16px;
}

.main-block .property,
.send-report,
.choose,
.btn-report { display: flex; }

.main-block .name-property,
.main-block .name-property-choose {
    margin-right: 5px;
}

.main-block .name-property-choose {
    display: flex;
    height: 20px;
    align-items: center;
}

.additional-block {
    margin-bottom: 20px;
}

.additional-block .name-property,
.main-block .name-property,
.main-block .name-property-choose {
    user-select: none;
    font-weight: bold;
}

.additional-block .name-property {
    position: relative;
    font-size: 16px;
}

.main-block .container {
    padding-bottom: 15px;
    position: relative;
}

.main-block .property a {
    color: var(--green-color);
    font-weight: bold;
}

.choose {
    width: 70%;
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    height: fit-content;
    row-gap: 10px;
    column-gap: 10px;
}

.btn-choose-size {
    background-color: var(--background-color);
    color: var(--dark-gray-color);
    padding: 0 12px;
    font-size: 14px;
    border-radius: 2px;
    font-weight: normal;
}

.btn-choose-size[choose] {
    background-color: var(--green-color);
    color: white;
}

.send-report,
.popup-report,
.pop-up-img,
.btn-report {
    justify-content: center;
    align-items: center;
}

.btn-report-container {
    position: absolute;
    right: 15px;
    bottom: 15px;
}

.btn-report {
    padding: 4px 20px;
    background-color: var(--dark-gray-color);
    cursor: pointer;
    color: white;
    border-radius: 2px;
}

.report-body {
    background-color: white;
    width: 300px;
    padding: 20px;
    border-radius: 4px;
}

.report-body .input {
    background: var(--background-color);
    padding: 10px;
    height: 230px;
    border-radius: 2px;
}

.report-body textarea {
    padding: 0;
    border: 0;
    outline: none;
    resize: none;
    background: var(--background-color);
    width: 100%;
    height: 100%;
    color: var(--dark-gray-color);
    font: 16px Rubik-Regular, monospace;
}

.send-report {
    background: var(--green-color);
    color: white;
    width: 100%;
    height: 36px;
    margin-top: 20px;
    border-radius: 2px;
    cursor: pointer;
}

.main-block .property {
    padding-bottom: 5px;
}

.popup-report {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    line-height: 0;
    background: #0000007d;
    display: none;
}

.report-body label {
    color: red;
    line-height: 1.2;
    display: none;
}

.report-body[sended]::after {
    content: 'Спасибо за обращение! Сообщение отправлено';
    line-height: 1;
    font-size: 26px;
}

.additional-block .name-property:after {
    content: '<';
    position: absolute;
    right: 0;
    transition: 0.3s;
    transform: rotate(-90deg);
    font-size: 20px;
}

.additional-block .property[open] .name-property:after {
    transform: rotate(90deg);
}

.additional-block .name-property:hover::after {
    color: var(--green-color);
}

.additional-block .property .value-property {
    overflow: hidden;
    max-height: 0;
    transition: 0.2s ease-out;
}

.additional-block .property[open] .value-property {
    transition: 0.3s ease-in;
}

.additional-block .property[open] .name-property {
    margin-bottom: 15px;
}

.additional-block .property .name-property {
    margin-bottom: 0;
    transition: 0.25s;
}

.price-block-with-bonuses {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 8px;
    min-width: 130px;
}

.price-with-bonuses {
    display: flex;
    justify-content: center;
    background-color: #FFEF98;
    flex-direction: column;
    padding: 6px 10px;
    align-items: center;
}

.basket-container .price-with-bonuses[bonus-none] {
    display: none;
}

.price-with-bonuses[promotion] {
    background-color: #F5A72A;
}

.price-with-bonuses[promotion]:before {
    content: "- " attr(promotion);
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 1;
    background-color: var(--green-color);
    color: white;
    padding: 2px 6px 2px 6px;
    font-size: 12px;
    border-radius: 2px;
    font-weight: 100;
}

.el-availability-pharmacy .price-with-bonuses {
    position: relative;
}

.price-with-bonuses[employee] {
    background-color: #CEE9EC;
}

.price-with-bonuses[markdown] {
    background-color: #D0490C;
    color: white;
}

.price-with-bonuses-main-block {
    line-height: 1;
}

.default-price-without-bonuses {
    display: flex;
    justify-content: center;
}

.default-prices-without-container {
    display: flex;
    font-size: 20px;
    align-items: baseline;
    justify-content: space-around;
    line-height: 1;
    gap: 4px;
}

.default-price-site {
    position: relative;
}

.default-price-site:after,
.default-price-pharmacy:after,
.price-with-bonuses:after {
    font-weight: 300;
    content: 'Цена на сайте';
    text-align: center;
    width: auto;
    transition: 0.5s;
    opacity: 0;
    position: absolute;
    font-size: 14px;
    background: var(--background-color);
    color: #95aaaf;
    line-height: 1;
    padding: 5px;
    border-radius: 2px;
    pointer-events: none;
}

.price-with-bonuses:after {
    content: 'При наличии бонусов';
    left: -20px;
    top: -10px;
}

.price-with-bonuses[promotion]:after {
    content: 'Цена по акции';
}

.price-with-bonuses[markdown]:after {
    display: none;
}

.default-price-site:after {
    content: 'Цена на сайте';
    left: -90px;
    top: -25px;
}

.default-price-pharmacy:after {
    content: 'Цена в аптеке';
    left: -100px;
    top: -30px;
}

.default-price-site:hover:after,
.default-price-pharmacy:hover:after,
.price-with-bonuses:hover:after {
    opacity: 1;
}

.default-price-site:hover:after {
    top: -28px;
}

.default-price-pharmacy:hover:after {
    top: -35px;
}

.price-with-bonuses:hover:after {
    top: -30px;
}

.default-price-pharmacy {
    font-size: 12px;
    font-weight: 100;
    color: #838587;
    position: relative;
    line-height: 10px;
}

.price-with-bonuses-description {
    font-size: 10px;
    font-weight: 300;
    display: flex;
    align-items: center;
}

.price-with-bonuses-description:after{
    content: "";
    background: url(/public/img/bonuses_description_icon.svg) no-repeat center;
    display: block;
    width: 10px;
    height: 10px;
    margin-left: 2px;
}

.price-with-bonuses[employee] .price-with-bonuses-description:after {
    background: none;
    width: 0;
    height: 0;
    margin: 0;
}

.price-with-bonuses[promotion] .price-with-bonuses-description:after,
.price-with-bonuses[markdown] .price-with-bonuses-description:after {
    display: none;
}

.default-price-pharmacy:before {
    content: '';
    border-top: 1px solid #93AAB5;
    width: 100%;
    display: block;
    top: 33%;
    position: absolute;
    left: -10%;
}

.price-block-with-bonuses-accural-block {
    font-size: 10px;
    display: flex;
    font-weight: 300;
    align-items: center;
    justify-content: center;
}

.price-block-with-bonuses-accural-block:after {
    content: "";
    background: url(/public/img/bonuses_description_icon_green.svg) no-repeat center;
    display: block;
    width: 10px;
    height: 10px;
    margin-left: 2px;
}

.el-availability-pharmacy .price-block-with-bonuses {
    /*min-width: 150px;*/
    margin-right: 20px;
    margin-bottom: unset;
}

.el-availability-pharmacy .price-with-bonuses {
    width: auto;
}

.el-availability-pharmacy .default-prices-without-container {
    width: max-content;
}

.el-availability-pharmacy .price-with-bonuses-description {
    width: max-content;
}

.basket-pharmacy-elements .default-price-without-bonuses {
    min-width: 118px;
    flex-wrap: wrap;
    gap: 10px;
}

.el-availability-pharmacy .price-with-bonuses-main-block {
    font-size: 19px;
}

.el-availability-pharmacy .price-block-with-bonuses-accural-block {
    display: none;
}

.el-share-btn {
    right: 185px;
    bottom: 20px;
    position: absolute;
    display: flex;
    width: 24px;
    height: 21px;
    background: url(/public/img/share_btn_android.svg) no-repeat center;
    cursor: pointer;
}

.el-share-btn-notification {
    display: none;
    font-size: 11px;
    padding: 4px 10px;
    background-color: var(--dark-gray-color);
    color: white;
    align-items: center;
    position: absolute;
    text-wrap-mode: nowrap;
    border-radius: 5px;
    top: -30px;
    left: -48px;
}

.el-share-btn-notification[show] {
    display: flex;
}

.el-share-btn:before {
    content: 'Поделиться';
    display: none;
}

.el-share-btn:after {
    content: '';
    display: none;
    top: -10px;
    right: 6px;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid var(--dark-gray-color);
}

.el-share-btn:hover:after {
    display: block;
}

.el-share-btn:hover:before {
    display: block;
    font-size: 11px;
    padding: 4px 10px;
    background-color: var(--dark-gray-color);
    color: white;
    align-items: center;
    position: absolute;
    text-wrap-mode: nowrap;
    border-radius: 5px;
    top: -30px;
    left: -32px;
}

.basket-container .el-share-btn {
    bottom: 5px;
}
