main {
    width: 100%;
    margin-top: 6em;
}

.has-items::after {
    content: '';
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    background-color: #25ac32;
    position: absolute;
    display: block;
    transform: translate(15px, -2px);
}

.main-updates {
    max-width: 114rem;
    margin: 100px auto 0 auto;
}

.content-container {
    max-width: 114rem;
    margin-left: auto;
    margin-right: auto;
}

.ask__container {
    margin-bottom: 3em;
}

/* Header */
.h__main-menu.container {
    max-width: 114rem;
    margin: 0 auto;
}

.h-menu li {
    margin: 2.5rem;
    align-items: center;
    background-color: inherit;
    display: flex;
    position: relative;
    list-style: none;
    padding: 0;
    display: inline-block;
}

.h-menu li.current_page_item {
    transform: translateY(-0.6rem);
    position: relative;
}

.h-menu li.current_page_item a:hover {
    text-decoration: none;
    pointer-events: none;
}

.h-menu li.current_page_item a {
    cursor: default;
}

.h-menu li.current_page_item::after {
    content: "";
    position: absolute;
    bottom: -1.6rem;
    left: 50%;
    width: 0.7rem;
    height: 0.7rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #f01d0c;
}

.h-menu a {
    text-decoration: none;
    font-weight: bold;
}

.h-menu a:hover {
    text-decoration: underline;
}   

.right-menu {
    display: flex;
}

.right-menu a {
    text-decoration: none;
}

.h__right-link--red {
    width: 40px;
}



.js-burger {
    width: 40px;
    height: 40px;
}

.close-burger {
    position: relative;
    width: 40px;
    height: 40px;
}

.close-burger:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #000;
    left: 0;
    top: 60px;
    transform: rotate(45deg);
}

.close-burger:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #000;
    left: 0;
    transform: rotate(-45deg);
    bottom: -22px;
}


.h {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 13;
    font-size: 1.2rem;
    line-height: normal;
    animation: header-show 1.5s ease
}

.h.no__absolute {
    position: relative;
}

@media (max-width: 1279px) {
    .h {
        background-color: #fff;
        box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .03)
    }
}

/* .h__logo-icon {
    margin: 0 auto
} */

.banner {
    position: relative;
    padding-top: 11.2rem;
    min-height: 100vh;
    text-align: center;

    border-bottom: 1px solid rgba(225, 225, 225, .82);
}

.h__logo img,
.f__logo img {
    width: 147px;
}

@media print,
(min-width: 1280px) {
    body .is-layout-flex .h__logo-icon {
        margin-right: 8.7rem
    }
}

.h__main-menu {
    display: flex;

    align-items: center;

    justify-content: space-between;
    padding-top: .8rem;
    padding-bottom: .8rem
}

@media print,
(min-width: 1280px) {
    .h__main-menu {
        padding-top: 2rem;
        padding-bottom: 0
    }
}

.h__menu {
    display: none
}

@media print,
(min-width: 1280px) {
    .h__menu {
        display: block
    }
}

.h__left {
    align-items: center
}

.h__left,
.h__right,
.h__right-item {
    display: flex
}

.h__right {
    list-style: none;
    margin: 0;
    padding-left: 0
}

.h__right-item {
    gap: 1em;
}

.h__right-link {
    display: block;
    font-size: 1.2rem;
    line-height: normal;
    font-weight: 700;
    font-style: normal;
    color: #000;
    text-decoration: none;
    padding-left: 0;
    border-radius: 1.3rem;

    user-select: none;
    cursor: pointer;
}

.h__right-link--yellow {
    display: none;
    background-color: #f9da61;
    padding: 1.2rem 2.6rem
}

.h__right-link--red:hover,
.h__right-link--yellow:hover,
.f__top-link:hover {
    color: #fff;
    transition: color .2s ease-in-out, background .2s ease-in-out;
    background-color: #e60a0a
}

@media print,
(min-width: 1280px) {
    .h__right-link--yellow {
        display: flex;
        align-items: center;
    }
}

.h__right-link--red {
    color: #fff;
    background-color: #e60a0a;
    padding: 1rem
}

.h__right-link--red:hover {
    color: #000;
    background-color: #f9da61
}

.h__right-link--red svg path,
.h__right-link--red svg circle {
    fill: white;
    transition: all 0.2s
}

.h__right-link--red:hover svg path,
.h__right-link--red:hover svg circle {
    fill: black
}

@media print,
(min-width: 1280px) {
    .h__right-link--red {
        margin-left: 1.5rem
    }
}

.h__right-link--active {
    position: relative;
    color: #000;
    background-color: #f9da61
}

.h__right-link--active:after {
    content: '';
    position: absolute;
    top: 9px;
    right: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #f01d0c
}

.h__right-link--active:hover {
    color: #fff;
    background-color: #e60a0a
}

.h__right-icon {
    display: block;
    width: 1.9rem;
    height: 1.9rem
}

.h-menu {
    margin: 0;
    padding: 0;
}

.h-menu__item {
    display: inline-block
}

.mm {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;

    flex-direction: column;

    justify-content: flex-start;
    padding: 1.9rem 2.5rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #fff;
    transition: .2s ease-in-out;
    box-shadow: 0 2.3rem 3rem 2.1rem rgba(0, 0, 0, .07)
}

.mm__menu {
    font-size: 2.1rem;
    line-height: 5rem;
    font-weight: 500;
    list-style: none;
    margin: 100px 0 9rem 0;
    padding: 0
}

.mm__menu-item:not(:last-child) {
    margin-bottom: 3.5rem
}

.mm__menu a {
    position: relative;
    color: #000;
    text-decoration: none;
    padding: .5rem
}


.mm__menu li.current-menu-item {
    position: relative;
    padding-left: 2.2rem;
    color: #aeaeae
}

.mm__menu li.current-menu-item:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    bottom: -1.6rem;
    width: .7rem;
    height: .7rem;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: #f01d0c
}

.h__mobile-menu {
    position: relative
}

.h__mobile-menu.opened {
    display: block;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0
}

.h__mobile-menu.opened .mm {
    visibility: visible;
    opacity: 1
}

@media print,
(min-width: 1280px) {
    .h__burger {
        display: none
    }
}



@media screen and (max-width: 1280px) {
    .btn-mobile-hidden {
        display: none !important;
    }
}


/* FOOTER */

.f {
    position: relative;
}

@media print,
(max-width: 1280px) {
    .f__bottom {
        flex-direction: column;
    }
}

.f__container {
    max-width: 114rem;
    margin: 0 auto;
}

footer {
    background: #f6f6f6;
}

.f__menu-list a {
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

.f__menu-list a:hover {
    text-decoration: underline;
}

.f__menu-list li.current_page_item a:hover {
    text-decoration: none;
    pointer-events: none;
}

.f__menu-list li.current_page_item a {
    cursor: default;
}

.f__menu-list li.current_page_item {
    transform: translateY(-0.6rem);
    position: relative;
}

.f__menu-list li.current_page_item::after {
    content: "";
    position: absolute;
    bottom: -1.6rem;
    left: 50%;
    width: 0.7rem;
    height: 0.7rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #f01d0c;
}

.footer-top {
    width: 100%;
    max-width: 1140px;
    border-bottom: 1px solid rgba(225, 225, 225, 0.82);
}

.footer-center {
    width: 100%;
    max-width: 1140px !important;
    border-bottom: 1px solid rgba(225, 225, 225, 0.82);
}

.no-gap {
    gap: 0 !important;
}

.left-block .f__contact-link {
    padding-left: 20px;
    background: url("img/phone.svg") no-repeat left center;
    overflow: visible;
    margin-bottom: 5px;
}

.right-block .f__contact-link {
    padding-left: 25px;
    background: url("img/email.svg") no-repeat left center;
    overflow: visible;
    margin-bottom: 5px;
}

.f__sinfo-rules {
    margin: 40px auto;
}

.f__delivery-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.f__sinfo-rules a {
    font-size: 1.2rem;
    line-height: 1.16em;
    color: #000;
    opacity: 0.6;
    text-decoration: none;
    min-width: 190px;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    justify-content: flex-end;
}

.f__sinfo-rules a:hover {
    opacity: 1;
    text-decoration: underline;
}

.f__contact-link a {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    line-height: 1.63;
    font-weight: 400;
    color: #000;
    opacity: 0.6;
    text-decoration: none;
    transition: all .2s;
}

.f__contact-link a:hover {
    opacity: 1;
    text-decoration: underline;
}

.f__copyright p {
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.58em;
    font-weight: 400;
    color: #9c9c9c;
    text-align: center;
}

.f {
    position: relative;
}

.f__container,
.f__top {
    display: flex
}

.f__container {
    flex-direction: column
}

.f__top {
    align-items: center;
    justify-content: space-between;
    padding: .8rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    border-bottom: 1px solid rgba(225, 225, 225, .82);

    padding-top: 2em;
    padding-bottom: 2em;
}

.back-button {
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
}

.back-button a {
    display: flex;
    align-items: center;
    gap: 16px;

    border-style: none;
    border-width: 0px;

    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;

    color: #333;
    text-decoration: none;
}

.back-button a img {
    width: 16px;
}

.back-button__image {
    display: flex;
    justify-content: center;

    width: 40px;
    height: 40px;

    background-color: #fff;

    border: 1px solid #f2f2f2;
    border-radius: 50%;

    transition: all .3s ease;
}

@media (hover: hover) {
    .back-button a:hover .back-button__image {
        border-color: transparent;
        background-color: #e1e1e1;
    }
}

@media (hover: none) {
    .back-button a:active .back-button__image {
        border-color: transparent;
        background-color: #e1e1e1;
    }
}


@media print,
(min-width: 1280px) {
    .f__top {
        margin-left: 0;
        margin-right: 0
    }
}

.f__logo {
    z-index: 1
}

.f__logo svg {
    width: 12.7rem
}

@media print,
(min-width: 1280px) {
    .f__logo svg {
        width: 14.7rem
    }
}

.f__top-link {
    z-index: 1;
    font-size: 1.2rem;
    line-height: normal;
    font-weight: 700;
    text-decoration: none;
    border-radius: 1.3rem;
    padding: 1.2rem 2.6rem;
    color: #000;
    background-color: #f9da61;
    transition: color .2s ease-in-out, background .2s ease-in-out;

    user-select: none;
    cursor: pointer;

}

.f__middle {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 3rem;
    padding-bottom: 4rem
}

@media print,
(min-width: 1280px) {

    .f__menu {
        display: flex;
        justify-content: center
    }
}


.f__menu-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex
}

.f__menu-item {
    margin-bottom: 2rem
}

@media print,
(min-width: 1280px) {
    .f__menu-item:not(:last-child) {
        margin-right: 3.5rem
    }
}

@media print,
(min-width: 1280px) {
    .f__social {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 2rem;
    }
}

.f__phones a,
.f__mails-list a,
.f__menu-left a {
    text-decoration: none;
    color: #000;
    opacity: 0.6;
    transition: all 1s ease;
}

.f__menu-left a {
    font-weight: 600;
}

.f__phones,
.f__mails-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.f__phones a:hover,
.f__mails-list a:hover,
.f__menu-left a:hover {
    text-decoration: underline;
    color: #000;
    opacity: 1;
}

.f__menu-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.f__slist {
    display: flex;
    margin: 0;
    margin-bottom: 2rem;
    padding-left: 0;
    list-style: none
}

.f__slist-item:not(:last-child) {
    margin-right: 1rem
}

.f__slist-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    color: #000;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #e1e1e1;
    transition: background .2s ease-in-out, border-color .2s ease-in-out
}

@media (max-width: 1279px) {
    .f__slist-link {
        width: 4rem;
        height: 4rem
    }
}

.f__slist-link:hover {
    filter: invert(1);
}

.f__slist-licon {
    width: 2rem;
    height: 2rem
}

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

.payments__img img {
    width: 30px;
    margin: 0 10px;
}

@media (max-width: 1279px) {
    .f__slist-licon {
        width: 1rem;
        height: 1rem
    }
}


@media print,
(min-width: 1280px) {
    .f__sinfo {
        text-align: right
    }
}

.f__delivery {
    padding: 2.3rem 3rem;
    box-shadow: 0 1rem 2rem 0 rgba(0, 0, 0, .03);
    background-color: #fff;
    background-size: 23.3rem 13.7rem;
    background-position: 23.4rem 1.6rem;
    background-repeat: no-repeat;

    border-radius: 1em;
    display: flex;
    gap: 1em;
}

.f__delivery-right {
    margin-left: 20px;
    width: 233px;
    height: 137px;
    overflow: hidden;
}

.f__delivery-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.f__delivery-title {
    margin-top: 0;
    margin-bottom: 4rem;
    font-size: 1.8rem;
    line-height: 1.33em;
    font-weight: 500;
    color: #000
}

.f__delivery-link {
    text-decoration: none;
    font-size: 1.2rem;
    line-height: normal;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border-radius: 1.3rem;
    padding: 1.2rem 2.6rem;
    color: #000;
    background-color: #f9da61;
    transition: all .2s ease-in-out, background .2s ease-in-out;
}

.f__delivery-link:hover {
    background-color: #f01d0c;
}

.f__delivery-link svg {
    width: 1.2rem;
    height: 1rem
}

.f__contact {
    display: flex;
    flex-direction: column;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(225, 225, 225, .82)
}

@media print,
(min-width: 1280px) {
    .f__contact {
        border-bottom: none;
        padding-bottom: 0;
        align-items: flex-end;
    }
}

.f__contact-tlist {
    margin-bottom: 2rem
}

.f__contact-link {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    line-height: 1.63;
    font-weight: 400;
    color: #939393;
    text-decoration: none;
    transition: color .2s ease-in-out
}

.f__contact-link svg,
.f__contact-link:hover {
    color: #000
}

.f__copyright {
    padding-top: 1.8rem;
    padding-bottom: 3.5rem
}

/* Quantity buttons in /cart and product page */
.quantity {
    display: flex !important;
    align-items: center;
    padding: 0;
    margin: 0;
    align-content: flex-start;
    justify-content: flex-end;
    position: relative;
  }
  
  .quantity__controls {
    display: flex;
    flex-direction: row;
  }
  
  .quantity button.plus {
    background-image: url('/wp-content/themes/buecherspasswelt/img/plus.svg');
  }
  
  .quantity button.minus {
    background-image: url('/wp-content/themes/buecherspasswelt/img/minus.svg'); 
  }
  
  .quantity button {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    
    cursor: pointer;
    transition: background 0.2s ease-in-out;
  
    background-color: transparent;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    background-clip: border-box;
  }
  
  .quantity button:hover {
    background-color: #e1e1e1;
    color: #fff;
  }
  
  .quantity button:hover svg {
    filter: invert(1);
  }
  
  .quantity input {
    background: none;
  }

@media print,
(min-width: 1280px) {
    .f__copyright {
        order: 4
    }
}

@media (max-width: 1130px) {
    .f__menu-list li.current_page_item::after {
        display: none;
    }

    .f__middle,
    .f__top {
        justify-content: center;
    }

    .f__middle {
        flex-direction: column;
    }

    .f__top {
        flex-wrap: wrap;
    }

    .f__menu {
        width: 100%;
        margin: 20px 0;
        flex-wrap: wrap;
    }

    .f__menu-list {
        justify-content: center;
    }

    .f__menu-list li.current_page_item {
        position: static;
        transform: none;

    }

    .f__social {
        order: 1;
        max-width: 300px;
        margin: 0 auto;
    }

    .f__contact {
        order: 2;
        max-width: 300px;
        margin: 0 auto;
    }

    .f__delivery {
        order: 3;
        max-width: 500px;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .f__mails-list,
    .f__menu-left,
    .f__phones {
        align-items: center;
    }

    .f__slist {
        justify-content: center;
    }
}

@media (max-width: 667px) {
    .f__delivery-right {
        margin: 10px 0;
    }

    .f__delivery {
        justify-content: center;
    }

    .f__menu-list {
        flex-wrap: wrap;
    }

    .f__delivery-link {
        margin: 0 auto;
        display: block;
        width: fit-content;
    }

    .f__delivery-title {
        text-align: center;
    }
}

/* Cookies */

.custom-cookie {
    background-color: #f9da61 !important;
}

.custom-cookie {
    padding: 18px 25px !important;
    border-radius: 25px !important;
    width: fit-content;
    text-decoration: none;
}

.custom-cookie:hover {
    background-color: #e60a0a !important;

}

#cn-notice-buttons {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

/* Modal advetisment */
.advertisement-modal__container h1 {
    color: #da3737;
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    white-space: nowrap;
}


.advertisement-modal__container h1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: appear 0.5s forwards;
}


@keyframes appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 800px) {
    .advertisement-modal__button {
        width: fit-content;
        padding: 10px 20px;
        margin: 0 auto;
    }

    .advertisement-modal__container {
        position: relative;
    }

    .advertisement-modal__container .modal__close {
        position: absolute;
        right: 15px;
    }

    .advertisement-modal__container>.modal__header {
        justify-content: center;
    }

    .advertisement-modal__body {
        text-align: center;
    }

    .advertisement-modal__footer {
        max-height: 100%;
    }
}

@media (max-width: 800px) {
    main {
        padding-left: 1em;
        padding-right: 1em;
    }

}