header nav form.headerSearch {
    margin-left: 0;
}

header nav form.headerSearch input {
    width: 220px;
}

.header-scroll a.navbar-brand img {
    height: 60px !important;
}

.header-scroll nav {
    height: 80px !important;
}

.mobile-search {
    position: absolute;
    top: 20px;
    right: 200px;
}

.mobile-search img {
    width: 30px;
}

@media only screen and (max-width: 574px) {
    header nav ul.nav {
        margin-top: 65px !important;
    }

    header nav a.navbar-brand img {
        height: 50px !important;
    }

    .header-scroll a.navbar-brand img {
        height: 50px !important;
    }

    .header-scroll nav {
        height: 60px !important;
    }
}

ul.catalogNavInList li:nth-child(7) a::before,
ul.catalogNav li:nth-child(7) a::before {
    background-image: url(../web/vycap2_icon.svg);
}

ul.catalogNavInList li:nth-child(8) a::before,
ul.catalogNav li:nth-child(8) a::before {
    background-image: url(../web/pochutiny_icon.svg);
}

ul.catalogNavInList li {
    display: inline-block;
    width: 12.5%;
}

ul.catalogNavInList li a {
    padding: unset;
}

ul.catalogNavInList li:nth-child(odd) a {
    margin: 0 1px;
}

ul.catalogNav li {
    width: 25%;
}

@media only screen and (max-width: 767px) {
    ul.catalogNav li {
        width: 100%;
    }
}

ul.catalogNav li a {
    font-size: 16px;
}

ul.catalogNav li:nth-child(odd) a {
    margin: 0 1px;
}

header .userButtons.userButtonAccount {
    width: auto;
    min-width: 60px;
    padding: 0 22px 0 18px;
}

header .userButtons ul li a i {
    margin-bottom: 0;
}

header .userButtons.userButtonAccount ul li a i {
    font-size: 22px;
}

header .userButtons .userButtonLabel {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px;
    white-space: nowrap;
}

.mobile-account {
    position: absolute;
    top: 22px;
    right: 250px;
    display: flex;
    align-items: center;
    color: #3c3c3d;
    font-size: 13px;
    font-weight: 700;
}

.mobile-account i {
    font-size: 24px;
    margin-right: 6px;
}

.mobile-account:hover {
    color: #b82826;
}

@media only screen and (max-width: 574px) {
    .mobile-account {
        right: 150px;
    }

    .mobile-account span {
        display: none;
    }
}

footer .footerSocial {
    gap: 12px;
    margin-top: 10px;
}

footer .footerSocial a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-size: 18px;
    transition: .2s all;
}

footer .footerSocial a:hover {
    color: #3c3c3d;
    background-color: #d6b469;
    border-color: #d6b469;
}

footer .footerNewsletter {
    margin-top: 50px;
    padding-top: 40px;
    background-image: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2));
    background-size: calc(100% - 30px) 1px;
    background-position: top center;
    background-repeat: no-repeat;
}

footer .footerNewsletter p,
footer .footerNewsletter label {
    color: #fff;
    font-size: 13px;
}

footer .footerNewsletter label a {
    color: #d6b469;
}

footer .footerNewsletterInput {
    margin-bottom: 12px;
}

footer .footerNewsletterInput input {
    height: 50px;
    border-radius: 99px 0 0 99px;
    border: none;
    padding-left: 22px;
}

footer .footerNewsletterInput button {
    flex-shrink: 0;
    height: 50px;
    padding: 0 24px;
    border: none;
    border-radius: 0 99px 99px 0;
    background-color: #b82826;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: .2s background-color;
}

footer .footerNewsletterInput button:hover {
    background-color: #d6b469;
}

@media only screen and (max-width: 991px) {
    footer .footerNewsletter h3 {
        margin-top: 0;
    }
}

@media only screen and (max-width: 574px) {
    footer .footerNewsletterInput button {
        padding: 0 16px;
        font-size: 13px;
    }
}

.partSegments {
    margin-top: 40px;
    margin-bottom: 40px;
}

.segmentCard {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 140px;
    padding: 20px 72px 20px 24px;
    background-color: #ededed;
    color: #3c3c3d;
    transition: .3s box-shadow, .2s color;
}

.segmentCard:hover,
.segmentCard:focus {
    color: #3c3c3d;
    box-shadow: inset 0 -400px 0 #d6b469;
}

.segmentCard.active {
    box-shadow: inset 0 -4px 0 #b82826;
}

.segmentCard.active:hover,
.segmentCard.active:focus {
    box-shadow: inset 0 -4px 0 #b82826, inset 0 -400px 0 #d6b469;
}

.segmentIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    margin-right: 20px;
    border-radius: 50%;
    background-color: #bfbfbf;
    color: #b82826;
    font-size: 44px;
}

.segmentText strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 6px;
    transition: .2s color;
}

.segmentCard:hover .segmentText strong,
.segmentCard:focus .segmentText strong {
    color: #b82826;
}

.segmentText span {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #3c3c3d;
}

.segmentArrow {
    position: absolute;
    right: 28px;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    background: url("../web/arrow_icon.svg") center / contain no-repeat;
}

.segmentArrowDown {
    transform: rotate(90deg);
}

.segmentChosen {
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px 10px;
    background-color: #b82826;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

@media only screen and (min-width: 575px) and (max-width: 991px) {
    .segmentCard {
        padding: 20px 52px 20px 18px;
    }

    .segmentIcon {
        width: 64px;
        height: 64px;
        margin-right: 16px;
        font-size: 28px;
    }

    .segmentArrow {
        right: 18px;
    }
}

@media only screen and (max-width: 574px) {
    .segmentCard {
        min-height: 0;
        padding: 26px 52px 18px 16px;
    }

    .segmentIcon {
        width: 64px;
        height: 64px;
        margin-right: 14px;
        font-size: 26px;
    }

    .segmentText strong {
        font-size: 15px;
    }

    .segmentArrow {
        right: 16px;
    }

    .partSegments > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .offerBar,
    .preorderBanner {
        margin-left: -15px;
        margin-right: -15px;
    }
}

.offerBar {
    margin-top: 20px;
    background-color: #3c3c3d;
}

.offerBarToggle {
    gap: 14px;
    padding: 22px 28px 22px 24px;
    border: none;
    background: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.offerBarToggle span {
    flex: 1 1 auto;
    color: inherit;
}

.offerBarToggle:hover,
.offerBarToggle:focus {
    color: #d6b469;
    outline: none;
}

.offerBarToggle .fa-handshake-o {
    font-size: 24px;
    color: #d6b469;
}

.offerBarArrow {
    font-size: 24px;
    transition: .2s transform;
}

.offerBarToggle:not(.collapsed) .offerBarArrow {
    transform: rotate(180deg);
}

.offerForm {
    padding: 0 24px 24px;
}

.offerForm label,
.offerForm .nice_checkbox label {
    color: #fff;
    font-size: 13px;
}

.offerForm .nice_checkbox label a {
    color: #d6b469;
}

.offerForm .form-control {
    height: 46px;
    border-radius: 0;
}

.offerForm.was-validated .form-control:invalid {
    border-color: #e57373;
    box-shadow: 0 0 0 2px rgba(229, 115, 115, .4);
}

.offerForm .myButton {
    height: 50px;
    width: 180px;
}

.offerMessage {
    margin-top: 12px !important;
    font-weight: 700;
}

.offerMessage.success {
    color: #8bd3a3;
}

.offerMessage.error {
    color: #ff9e9e;
}

.preorderBanner {
    gap: 24px;
    margin-top: 20px;
    padding: 20px 28px 20px 24px;
    background-color: #d6b469;
    color: #3c3c3d;
    transition: .2s background-color;
}

.preorderBanner:hover {
    color: #3c3c3d;
    background-color: #ccaa5e;
}

.preorderImage {
    width: 150px;
    height: 100px;
    object-fit: cover;
}

.preorderText strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.preorderText span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #3c3c3d;
}

.preorderBanner .myButton {
    height: 54px;
    width: auto;
    padding: 0 28px;
}

.preorderBanner:hover .myButton {
    background-color: #3c3c3d;
}

@media only screen and (max-width: 767px) {
    .preorderBanner {
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px;
    }

    .preorderImage {
        width: 100%;
        height: 140px;
    }

    .preorderBanner .myButton {
        width: 100%;
    }
}

.b2bEntry {
    margin-top: 40px;
    margin-bottom: 30px;
}

.b2bSwitch {
    margin-top: 18px;
    font-size: 14px;
}

.b2bSwitch a {
    color: #b82826;
    text-decoration: underline;
}

.b2bFormHeading {
    margin: 50px 0 30px;
    scroll-margin-top: 140px;
    font-weight: 700;
    color: #3c3c3d;
}

.products-wrapper .product .product-link {
    color: inherit;
}

.product .pricesWrap {
    min-height: 70px;
}

.product .oldprice {
    display: block;
    color: #767676;
    font-size: 15px;
    text-decoration: line-through;
}

.productPrice .oldPrice {
    color: #767676;
    margin-bottom: 6px;
}

.catalog-cart-form {
    gap: 8px;
}

.catalog-cart-form .catalog-cart-count {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    text-align: center;
    border-radius: 99px;
}

.product .catalog-cart-form .myButton {
    width: auto;
    height: 50px;
    margin: 0;
    padding: 0 22px;
}

.product .catalog-cart-form.added .myButton {
    background-color: #2f7d4f;
}

.catalog-detail-link {
    display: inline-block;
    margin-top: 12px;
    color: #767676;
    font-size: 13px;
    text-decoration: underline;
}

.catalog-detail-link:hover {
    color: #b82826;
}

@media only screen and (max-width: 574px) {
    .products-wrapper > [class*="col-"] {
        padding: 0 6px !important;
    }

    .products-wrapper {
        padding: 0 6px !important;
    }

    .product {
        margin-bottom: 18px;
    }

    .product img {
        width: 100% !important;
        height: 140px !important;
        padding: 4px;
        margin-bottom: 10px !important;
    }

    .product p.productname {
        font-size: 14px;
        line-height: 18px;
        min-height: 54px;
        margin-bottom: 4px;
    }

    .product p.productshort {
        display: none;
    }

    .product span.nasacena {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .product .pricesWrap {
        min-height: 0;
    }

    .catalog-cart-form {
        flex-wrap: wrap;
    }

    .catalog-cart-form .catalog-cart-count {
        width: 100%;
        height: 40px;
    }

    .product .catalog-cart-form .myButton {
        width: 100%;
        height: 44px;
        padding: 0 10px;
        font-size: 13px;
    }
}

.cart-group-heading {
    margin: 25px 0 10px;
}

.myCart .cart-group-heading h3 {
    height: auto;
    padding: 0;
    background: none;
    font-size: 18px;
    font-weight: 700;
    color: #3c3c3d;
    margin: 0;
}

.myCart .cart-group-packaging h3 {
    color: #2f7d4f;
}

.cart-group-heading p {
    font-size: 13px;
    color: #767676;
    margin: 4px 0 0;
}

.cart-group-packaging {
    padding: 14px 18px;
    border-left: 4px solid #2f7d4f;
    background-color: #f1f8f3;
}

.cart-product.cart-product-packaging {
    background-color: #fafafa;
}

.cart-product.cart-product-return {
    background-color: #f1f8f3;
}

.cart-badge {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 9px;
    border-radius: 99px;
    background-color: #e4e4e4;
    color: #3c3c3d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: middle;
}

.cart-badge.cart-badge-return {
    background-color: #2f7d4f;
    color: #fff;
}

.myButton.btnReturnPackaging {
    background-color: #2f7d4f;
    box-shadow: 0 0 0 4px rgba(47, 125, 79, .18);
}

.myButton.btnReturnPackaging:hover {
    background-color: #24633e;
}

.returnKegsModal .modal-header {
    background-color: #2f7d4f;
    color: #fff;
}

.returnKegsModal .modal-header .close {
    color: #fff;
    opacity: 1;
}

.returnKegsModal .return-amount {
    color: #2f7d4f;
    font-weight: 700;
}

.returnKegsModal .myButton.btn-2 {
    background-color: #2f7d4f;
}

.cart-summary {
    width: 100%;
    margin-left: auto;
    font-size: 15px;
}

.cart-summary th {
    font-weight: 400;
    text-align: left;
    padding: 3px 12px 3px 0;
}

.cart-summary td {
    text-align: right;
    white-space: nowrap;
    padding: 3px 0;
}

.cart-summary .cart-summary-return th,
.cart-summary .cart-summary-return td {
    color: #2f7d4f;
    font-weight: 700;
}

.cart-summary .cart-summary-total th,
.cart-summary .cart-summary-total td {
    font-weight: 700;
    font-size: 18px;
    border-top: 1px solid #e4e4e4;
    padding-top: 8px;
}

.cart-summary .cart-summary-meta th,
.cart-summary .cart-summary-meta td {
    font-size: 13px;
    color: #767676;
}

.lastOrderBox {
    margin-bottom: 40px;
    padding: 24px;
    border: 2px solid #b82826;
}

.lastOrderHead {
    gap: 16px;
    margin-bottom: 16px;
}

.lastOrderMeta {
    color: #767676;
    font-size: 14px;
}

.lastOrderActions {
    gap: 10px;
}

.lastOrderActions .myButton,
.btnOutline {
    height: 50px;
    width: auto;
    padding: 0 22px;
    font-size: 14px;
}

.btnOutline {
    display: flex;
    align-items: center;
    border: 2px solid #b82826;
    border-radius: 99px;
    background-color: #fff;
    color: #b82826;
    font-weight: 700;
    cursor: pointer;
    transition: .2s all;
}

.btnOutline:hover {
    background-color: #b82826;
    color: #fff;
}

.lastOrderItems {
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: 12px;
    font-size: 14px;
}

.lastOrderItems li {
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.lastOrderNote {
    font-size: 13px;
    color: #767676;
}

.deliveryRequest {
    margin: 10px 0 20px;
    padding: 18px;
    background-color: #ededed;
}

.myCart .deliveryRequest h3 {
    height: auto;
    padding: 0;
    background: none;
    color: #3c3c3d;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.deliveryRequestNote {
    font-size: 13px;
    color: #767676;
    margin: 0;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.offerForm .nice_checkbox label:not(.error) a,
footer .footerNewsletter .nice_checkbox label:not(.error) a {
    color: #d6b469;
    border-bottom-color: #d6b469;
}

.preorderButton i {
    margin-left: 8px;
}

.newsletterMessage {
    margin-top: 8px !important;
    font-size: 13px;
    font-weight: 700;
}

.newsletterMessage.success {
    color: #2e7d32;
}

.newsletterMessage.error {
    color: #b82826;
}

footer .newsletterMessage.success {
    color: #8bd3a3;
}

footer .newsletterMessage.error {
    color: #ff9e9e;
}

#popup-window .modal-header {
    border-bottom-color: #d6b469;
}

#popup-window .modal-title {
    font-weight: 700;
}

#popup-window.modal-image .modal-dialog {
    width: fit-content;
    max-width: min(600px, calc(100% - 1rem));
}

#popup-window.modal-image .modal-content {
    background: transparent;
    border: 0;
}

#popup-window.modal-image .modal-header {
    top: 0;
    left: 0;
    z-index: 1;
    justify-content: flex-end;
    padding: 10px;
}

#popup-window.modal-image .close {
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .55);
    color: #fff;
    text-shadow: none;
    opacity: 1;
    transition: background-color .2s;
}

#popup-window.modal-image .close:hover {
    background-color: rgba(0, 0, 0, .8);
}
