.config-bar {
    width: 100%;
    background: #edede7;
    color: #0c4c4c;
    padding: 15px 12px 10px 12px;
    border-radius: 4px;
    font-family: 'Akrobat', sans-serif;
    margin: 2em 0;
    position: relative;
}

.config-bar__inner {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.config-bar__top {
    display: flex;
    align-items: flex-end;
}

.config-bar__logo {
    height: 32px;
    width: auto;
    margin-right: 8px;
}

.config-bar__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0.25em 0 0;
}

.config-bar__middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 4px 0;
}

.config-bar__input-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    margin-right: 16px;
}

.config-bar__input-container .config-bar__btn + .config-bar__btn {
    margin-left: 8px;
}

.config-bar__input {
    flex: 1;
    width: 360px;
    padding: 6px 10px;
    font-weight: normal;
    border: 1px solid #0c4c4c;
    border-radius: 2px;
    background: #ffffff;
    color: #050808;
    margin-right: 8px;
}

.config-bar__price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 0 1.5em;
    position: relative;
}

.config-bar__price-box {
    border: 1px solid #0c4c4c;
    background: var(--gray-1);
    padding: 8px 16px;
    border-radius: 4px;
    display: flex;
    align-items: baseline;
    margin: 4px 0;
    transition: background-color 0.8s ease, color 0.8s ease;
    color: #0c4c4c;
}

.config-bar__price-box.flash {
    background-color: var(--gray-1);
    color: var(--gray-1);
}

.config-bar__price-text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-16);
    text-align: center;
    position: absolute;
    bottom: 100%;
}

.config-bar__price-value {
    font-size: 24px;
    font-weight: 800;
    white-space: nowrap;
}

.config-bar__price-sub {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #0c4c4c;
    position: absolute;
    top: 100%;
}

.config-bar__btn-container {
    display: block;
    text-align: center;
    margin-right: 3.5em;
    position: relative;
}

.config-bar__btn-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.config-bar__btn-inner .my-request-cb {
    font-size: 32px;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.config-bar__btn-inner .my-request-cb .my-request-cb-count {
    top: 16px;
    left: 16px;
    background-color: #76ced9;
    color: #0c4c4c;
}

.config-bar__btn--order {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 24px;
    padding: 8px 32px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.config-bar__btn--order.order-green {
    background: #00b19d;
    color: var(--gray-1);
    border: 1px solid #0c4c4c;
}

.config-bar__btn--order.order-blue {
    background: #76ced9;
    color: #0c4c4c;
    border: 1px solid #0c4c4c;
}

.config-bar__btn--order-sub-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    color: #0c4c4c;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.config-bar__help_link {
    font-size: 18px;
    margin-left: 8px;
    color: #0c4c4c;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.config-bar__help_link:hover {
    color: #00b19d;
}

.config-bar__row--links {
    display: flex;
    gap: 12px;
}
.config-bar__link span.config-bar__text {
    font-size: 16px;
    color: #0c4c4c;
    text-decoration: none;
    font-weight: 600;
}
.config-bar__link:hover span.config-bar__text {
    color: #0c4c4c;
    text-decoration: none;
}
.config-bar__link.cloud-link {
    position: relative;
    display: flex;
}
.config-bar__link.cloud-link .icon-wrapper {
    position: relative;
}
.config-bar__link.cloud-link .icon-wrapper i {
    color: #0c4c4c;
    font-size: 20px;
}
.config-bar__link.cloud-link .icon-wrapper .config-bar__badge {
    position: absolute;
    bottom: 0;
    left: 8px;
}
.config-bar__link.cloud-link .config-bar__text {
    margin-left: 12px;
}
.config-bar__badge {
    display: inline-block;
    background-color: #76ced9;
    color: #0c4c4c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    padding: 2px 6px;
    margin-left: 4px;
    vertical-align: middle;
}

.config-bar__btn {
    padding: 8px 12px;
    font-weight: 600;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.config-bar__btn--primary {
    background: #76ced9;
    color: #0c4c4c;
    border: 1px solid #0c4c4c;
}
.config-bar__btn--dark {
    background: #0c4c4c;
    color: #ffffff;
    border: 1px solid #0c4c4c;
}
.config-bar__btn--green {
    background: #00b19d;
    color: #ffffff;
    border: 1px solid #0c4c4c;
}
.config-bar__btn--secondary {
    background: transparent;
    color: #76ced9;
    border: 1px solid #76ced9;
}

#my-cnf-count[data-count="0"] {
    display: none;
}

#header {
    transition: transform 0.3s ease-in-out;
}

#header.pushed {
    transform: translateY(-100%);
}

#config-bar {
    position: relative;
    transition: top 0.3s ease;
    z-index: 90;
}

#config-bar:not(.fixed) {
    border: 1px solid #0c4c4c;
}

#config-bar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid #0c4c4c;
}

#config-dummy {
    display: none;
}

#config-bar.fixed + #config-dummy {
    display: block;
}


/*#config-bar.fixed + #config-dummy {*/
/*    width: 100%;*/
/*    height: 50px;*/
/*    background: #fff;*/
/*}*/

#config-bar.fixed .config-bar__input-container.show {
    left: 8px;
    right: 8px;
    width: calc(100% - 16px);
}

@media screen and (max-width: 1200px) {
    .product-view-container.container, .config-bar__inner.container {
        width: 100%;
        /*padding-right: 15px;*/
        /*padding-left: 15px;*/
        margin-right: auto;
        margin-left: auto;
        max-width: 100%;
    }
    .config-bar__btn-container {
        margin-right: 0;
    }
    .config-bar__price-container, .config-bar__btn-container {
        padding: 0 0.5em;
    }
    .config-bar__btn--order {
        padding-left: 16px;
        padding-right: 16px;
    }
    .config-bar__price-value, .config-bar__btn--order {
        white-space: nowrap;
    }
}

@media screen and (max-width: 1024px) {
    .config-bar__price-value, .config-bar__btn--order {
        font-size: 20px;
    }
    .config-bar__input-container {
        margin-right: 8px;
    }
}

@media screen and (max-width: 992px) {
    .config-bar__price-value, .config-bar__btn--order {
        font-size: 18px;
    }
    .config-bar__btn--order-sub-text {
        display: none;
    }
    .config-bar__input-container, .config-bar__input {
        width: 100%;
    }
    .config-bar__link.cloud-link .config-bar__text {
        display: none;
    }
    .config-bar__price-container, .config-bar__btn-container {
        padding: 0 0 0 0.5em;
    }
}

@media screen and (max-width: 768px) {
    .config-bar__price-value, .config-bar__btn--order {
        font-size: 16px;
    }
    .config-bar__price-box, .config-bar__btn--order  {
        padding: 6px 12px;
    }
    .config-bar__logo {
        height: 24px;
    }
    .config-bar__title {
        font-size: 16px;
        line-height: 1.33;
    }
    .config-bar__help_link {
        font-size: 14px;
    }
    .config-bar__btn--save span.config-bar__text {
        display: none;
    }
    .config-bar__price-text {
        font-size: 10px;
    }
    .config-bar__link span.config-bar__text {
        font-size: 14px;
    }
}

@media screen and (max-width: 620px) {
    .config-bar__middle {
        justify-content: flex-start;
    }
    .config-bar__price-text, .config-bar__price-sub {
        display: none;
    }
    .config-bar__price-value, .config-bar__btn--order, .config-bar__input {
        font-size: 14px;
    }
    .config-bar__price-box, .config-bar__btn--order, .config-bar__btn--save, .config-bar__input {
        padding: 4px 8px;
    }
    .config-bar__price-box {
        margin: 0;
    }
    .config-bar__price-container {
        padding: 0;
    }
    .config-bar__btn-inner .my-request-cb {
        font-size: 24px;
    }
    .config-bar__btn-inner .my-request-cb .my-request-cb-count {
        top: 12px;
        left: 12px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

@media screen and (min-width: 480px) {
    .config-bar__btn--save-mobile {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .config-bar__input-container:not(.show) {
        /*width: auto;*/
        display: none;
    }
    /*.config-bar__input {*/
    /*    display: none;*/
    /*}*/
    .config-bar__btn--save-mobile {
        display: block;
        padding: 4px 8px;
        font-size: 14px;
        margin-right: 8px;
    }
    .config-bar__input-container.show {
        display: flex;
        position: absolute;
        top: calc(100% + 8px);
        z-index: 9;
        background: #fff;
        padding: 0.5rem;
        left: 0;
        box-shadow: 0 2px 5px rgba(5, 8, 8, 0.28);
        border-radius: 4px;
    }
    .config-bar__link span.config-bar__text {
        font-size: 13px;
    }
}

@media screen and (max-width: 360px) {
    .config-bar__link span.config-bar__text {
        white-space: nowrap;
    }
}

@media screen and (max-width: 320px) {
    .config-bar__row--links {
        gap: 10px
    }
    .config-bar__link span.config-bar__text {
        white-space: nowrap;
    }
    .config-bar__link span.config-bar__text {
        font-size: 12px;
    }
}
