
body {
    background-color: white;
    font-family: 'Graphik LCG', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

a {
    color: #FFD769;
    text-decoration: none;
}

h1, h2 {
    color: #441B1B;
    font-family: Izhitsa;
}

li::marker {
    color: #AD212A;
  }

.hidden-desktop {
    display: none !important;
}

.container {
    width: 1112px;
    margin: auto;
}

.container-with-menu {
    display: grid;
    grid-template-columns: 358px auto;
    gap: 16px;
}

#item-descr-hidden {
    display: none;
}
#item-descr-hidden.show {
    display: block;
}

.header {
    background-image: url("../assets/images/top_menu.jpg");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 346px;
    padding: 42px 0px;
    color: #FFD769;
    box-sizing: border-box;
}

.top-menu-panel-desktop {
    position: relative;
    display: block;
    font-size: 20px;
}

.slogan {
    font-size: 26px;
    font-family: izhitsa;
}

.menu-layout {
    padding-top: 16px;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
}

.desktop-top-right {
    display: grid;    
    padding-top: 37px;
    display: grid;
    grid-template-columns: auto 100px;
    align-items: center;
    font-weight: 500;
}

.cart-fav {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.cart-icon, .favs-icon {
    position: relative;
}

#cart-total, #favs-total {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 3px;
    border-radius: 50%;
    background-color: #AD212A;
    color: white;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    display: block;
    width: 20px;
    text-align: center;
    height: 18px;

}

.phone-block {
    grid-column: span 2;
    text-align: right;
}
.phone-block a {
    align-items: center;
    display: inline-flex;
    text-align: right;
    flex-direction: row;
    font-weight: 500;
}

.menu-bar {
    padding-top:40px;
    font-family: 'Graphik LCG';
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.top-menu-panel-mobile {
    position: relative;
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.desktop-menu-top-links {
    list-style: none;
}

.desktop-menu-top-links li {
    margin-bottom: 20px;
    padding: 0px;
}

.desktop-menu-top-links>li>a {
    padding: 16px 14px 16px 14px;
    border-radius: 10px;
    background-color: #AD212A;
    color: white;
    font-family: Graphik LCG;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    display: block;
    text-transform: uppercase;
}

.desktop-menu-top-links>li>div {
    padding: 16px 14px 16px 14px;
    border-radius: 10px;
    background-color: #AD212A;
    color: white;
    font-family: Graphik LCG;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    display: block;
    text-transform: uppercase;
}

.submenu {
    margin-top:16px;
    list-style: none;
}
.submenu li {
    padding-left: 16px;
}

.submenu li a {
    display: inline;
    color: #441B1B;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-align: left;
    text-transform: capitalize;
}

.desktop-menu-top-links>li.extramenu {
    padding-left: 16px;
}

.desktop-menu-top-links>li.extramenu > a {
    color: #AD212A;
    background: none;
    padding: 0;
    font-weight: 500;
}

.main-part {
    margin-top: 16px;
    background-image: url("../assets/images/bgpattern.png"), url("../assets/images/bgpattern.png");
    background-position: left top, right top;
    background-repeat: repeat-y;
}

.button-1 {
    color:#441B1B;
    border:1px solid #441B1B;
    padding:8px 3rem;
    border-radius: 8px;
    font-size: 20px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    text-transform: none;
}

.button-1:hover {
    color: white;
    background-color: #441B1B;
}

.custom-banner {
    background-color:#AD212A;
    border-radius: 12px;
    width: 500px;
    height:239px;
    display: grid;
    grid-template-columns: auto 42px;
    overflow: hidden;
    color: white;
    margin-bottom: 1rem;
}

.custom-banner-left {
    background-image: url(../assets/images/grapes-small.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
    padding: 48px 16px;
}

.custom-banner-left h3 {
    font-family: izhitsa;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 1rem;
}

.custom-banner-left div {
    margin-bottom: 1rem;
    font-size: 19px;
    max-width: 60%;
}

.custom-banner-left .button-1 {
    background-color: #FFD769;
    border-color: #FFD769;
    color: #AD212A;
}
.custom-banner-left .button-1:hover {
    background-color: #AD212A;
    color: #FFD769;
}

/* главная страница */
.front-banner {
    width: 100%;
    padding: 48px 0;
    min-height: 200px;
    background-image: url("../assets/images/front-banner.jpg");
    background-size: cover;
    position: relative;
}

.front-banner>img {
    position: absolute;
    bottom:0;
    right:0;
    height:80%;
}

.front-banner .container {
    margin: 48px auto;
    background-image: url(../assets/images/fron-cross.png);
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
}

.front-banner-inner {
    width: 694px;
    height: 653px;
    color: white;
    background-image: url(../assets/images/h1.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 252px 10px 10px;
    box-sizing: border-box;
}

.frontpage-h1 {
    font-family: Izhitsa;
    font-size: 36px;
    font-weight: 400;
    line-height: 40.51px;
    text-align: left;
    margin-bottom: 8px;
}

.frontpage-h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
}

.frontpage-h2 img {
    vertical-align: middle;
}

/* каталог */

.grid-catalog {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
}

.catalog-block {
    border: 3px solid #AD212A;
    padding: 4px 4px 32px;
    border-radius: 8px;
    color: #441B1B;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    position: relative;
}

.catalog-block a {
    color: #441B1B;
}

.catalog-block>.catalog-text1{
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    margin-top: 8px;
}

.catalog-block img {
    max-width: 100%;
    display: block;
	max-height: 100%;
    margin: auto;
}

.h2-wrapper>h1 {
    color: #441B1B;
    font-family: Izhitsa;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.h2-wrapper>h2 {
    color: #441B1B;
    font-family: Izhitsa;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.five-reasons {
    width:100%;
    padding: 2rem 0;
    background-color: #AD212A;
    color: white;
}
.five-reasons .h2-wrapper>h2 {
    color: white;
    text-transform: uppercase;
}

.five-reasons-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1rem;
}

.crumps-wrap {
    display: flex;
    gap: 4px;
    overflow: hidden;
}

.crumps-wrap .crumps-link {
    color: #441B1B;
    text-transform: lowercase;
    font-weight: 500;
}

.product-title {
    font-size: 14px;
    min-height: 4rem;
    font-weight: 500;
    margin-top: 4px;

}


.catalog-panel .catalog-text1 {
    display: flex;
    align-items: center;
}

.catalog-list-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.catalog-list-buttons img{
    height: 1rem;
}
.product-button a {
    display: block;
    padding:4px;
    border: 1px solid #441B1B;
    border-radius: 20px;
    color : #441B1B;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}
.product-button a:hover {
    background-color : #441B1B;
    color: white;
}

.pagination {
    padding: 2rem 0;
    text-align: left;
}

/*  товар */
.product-info {
    display: grid;
    grid-template-columns: 40% auto;
    gap: 2rem;
}

.product-info .main-image {
    width: 100%;
    border-radius: 8px;
    padding: 8px;
    border: 3px solid #AD212A;
    box-sizing: border-box;
}

.product-info img {
    max-width: 100%;
    height: auto;
}

.thumbs {
    margin-top:1rem;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 3px;
}

.thumbs a {
    display: block;
    height: 145px;
    border-radius: 8px;
    padding: 8px;
    border: 3px solid #AD212A;
}
.thumbs a img{
    height:100%;
}

.purchase-block {
    color: #441B1B;
    font-size:20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.price-fav {
    margin-top:8px;
    display: grid;
    align-content: center;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
}

.purchase-block .price {
    font-family: izhitsa;
    font-size: 40px;
}

.count-block {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.qnt-button {
    background-color: #AD212A;
    border-color: #AD212A;
    color: white;
    width: 26px;
    font-size:20px;
    text-align: center;
    border-radius: 17px;
    padding: 0px 0px 2px;
}
.qnt-button:hover {
    background-color: #441B1B;
    border-color: #441B1B;
}

.put-to-cart {
    display: block;
    box-sizing: border-box;
    padding: 4px 12px;
    width:100%;
    text-align: center;
    border: 1px solid #AD212A;
    background-color: #AD212A;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

.put-to-cart:hover{
    background-color: #441B1B;
    border-color: #441B1B;
}

.button-outline {
    display: block;
    box-sizing: border-box;
    padding: 4px 12px;
    width:100%;
    text-align: center;
    border: 1px solid #AD212A;
    background-color: white;
    border-radius: 8px;
    color: #441B1B;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

.button-outline:hover {
    background-color: #441B1B;
    color: white;
}

.field-label {
    display: block;
}

.count-block-input {
    display: block;
    text-align: center;
    border: 2px solid #AD212A;
    max-width: 64px;
    border-radius: 4px;
}
.buttons-block {
    display: flex;
    justify-content: space-between;
}

.other-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: space-between;
}

.other-row > a {
    width: 100%;
    border-radius: 8px;
    padding: 8px;
    border: 3px solid #AD212A;
    box-sizing: border-box;
    color: #441B1B;
    font-weight: 400;
}

.other-row > a img {
    max-width: 100%;
    height: auto;
}

.other-row > div img {
    max-width: 100%;
    height: auto;
}

.other-row > div {
    width: 100%;
    border-radius: 8px;
    padding: 8px;
    border: 3px solid #AD212A;
    box-sizing: border-box;
}

.other-colors {
    font-size: 40px;
    margin-bottom: 32px;
}

.linked-block {
    margin-top:1rem;
    margin-bottom:1rem;
}

footer {
    padding:1rem;
    background-image: url("../assets/images/top_menu.jpg");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    color: #FFD769;
}

footer .phone-block {
    text-align:left;
}

.article-wrap {
    overflow:hidden;
    padding-bottom: 1rem;
}

.article-wrap img {
    max-width:100%;
}


.art-image-gal {display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .art-image-gal img {
    width: auto;
    height: 100%;
  }
  .art-image-descr {
    padding: 1rem 0rem;
    font-size: 0.8rem;
    font-style: italic;
  }

/* Portrait tablets and medium desktops */

/*cart */
.cart-position {
    border: 1px solid #AD212A;
    padding: 8px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 124px auto;
    align-items: center;
    gap: 8px;
}

.cart-position img {
    max-width: 100%;
    height: auto;
}

.cart-position .price {
    font-family: Izhitsa;
}

.cart-position-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-position-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-price-div {
    text-transform: uppercase;
    margin-top: 1rem;
    text-align: right;
    font-family: Izhitsa;
    font-size:20px;
    color: #441B1B;
}

.order-form {
    margin-top:40px;
    color: #441B1B;
    font-size: 20px;
}

.radio-button-field {
    margin-bottom: 4px;
}

.radio-button-field input {
    accent-color: #441B1B;
}

.order-form .form-header {
    display: block;
    margin:2rem 0 24px;
    font-family: Izhitsa;
    font-size:40px;
    color: #441B1B;
}

.form-address {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-address input,textarea {
    box-sizing: border-box;
    width:100%;
    border: 1px solid #AD212A;
    border-radius:4px;
    padding:16px 24px;
    margin-bottom:16px;
    font-size: 20px;
}

@media (min-width: 981px) and (max-width: 1600px) {
    .main-part {
        background-size: calc((100% - 1180px) / 2);
      }
}


/* дополнения по выбору материалов */
.item-color-button{
    border-radius: 50%;
    padding: 4px;
}

.item-color-button span {
    display: block;
    width: 22px; 
    height: 22px;
    border-radius: 11px;
    background-color:#F7EECD;
}

.item-color-button.active {
    border: 1px solid #AD212A;
    padding: 3px;
}

.item-size-button {
    border: 2px solid #10197f;
    color:#10197f;
    padding: 6px;
    border-radius: 4px;
}

.item-size-button:hover {
    background-color: #e9f581;
    
}
.item-size-button.active {
    color:#441B1B;
    border-color: #441B1B;
    font-weight:bold;
    
}

.total-count-block {
    border-radius: 12px;
    padding: 4px;
    background-image: url("/assets/images/count_bar.png");
    background-size: cover;
    color: white;
    position: absolute;
    bottom: 4px;
    left: 8px;
    right: 8px;
}

/* Landscape phones and portrait tablets */
@media (max-width: 980px) {
    .top-menu-panel-mobile {
        position: relative;
        display: block;
    }

    .h2-wrapper>h1 {
        color: #441B1B;
        font-family: Izhitsa;
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 1rem;
        text-transform: uppercase;
        text-align: center;
    }
    .h2-wrapper>h2 {
        color: #441B1B;
        font-family: Izhitsa;
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 1rem;
        text-transform: uppercase;
        text-align: center;
    }

    .menu-bar {
        display: none;
    }

    .desktop-top-right {
        grid-template-columns: auto;
    }

    .desktop-top-right .cart-fav {
        display: none;
    }

    .menu-bottom a {
        font-size: 12px;
        font-weight: 500;
        line-height: 12px;
        text-align: center;
    }
    .menu-bottom a img{
        width: 22px;
    }

    #cart-total, #favs-total {
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 2px;
        border-radius: 50%;
        background-color: #AD212A;
        color: white;
        font-weight: 500;
        font-size: 12px;
        line-height: 15px;
        display: block;
        width: 15px;
        text-align: center;
        height: 15px;
    
    }

    .front-banner {
        padding: 0;
        margin-top: -12px;
    }

    .front-banner .hidden-desktop {
        display: none !important;
    }



    .left-menu {
        display: none;
    }

    .container-with-menu {
        display: block;
    }

    .header {
        min-height: 0px;
        padding: 12px 0px;
    }

    .top-menu-panel-desktop {
        position: relative;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .container {
        width: 100%;
        margin: auto;
    }
/*
    .menu-bottom {
        position: fixed;
        bottom: 0px;
        background-image: url("../assets/images/top_menu.jpg");
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        padding-top: 12px;
        padding-bottom: 16px;
        z-index: 9;
      }
*/
    .menu-bottom {
        position: fixed;
        bottom: 6px;
        background-image: url("../assets/images/top_menu.jpg");
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
        width: auto;
        display: flex;
        justify-content: space-evenly;
        padding-top: 12px;
        padding-bottom: 16px;
        z-index: 9;
        left: 6px;
        right: 7px;
        border-radius: 35px;
        opacity: 0.9;
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: -100vh;
        bottom: 100vh;
        left: 0;
        right: 0;
        background-color: rgba(255,255,255, 0.95);
        transition: all 0.3s ease-in-out;
        z-index: 10;
    }

    .mobile-menu-close {
        color: #AD212A;
        font-size: 32px;
        font-weight: 500;
        text-decoration: none;
        position: absolute;
        top: 18px;
        right: 18px;
    }

    .mobile-menu-inner {
        overflow-y: auto;
        overflow-x: hidden;
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 16px;
        top: 67px;
    }

    .mobile-menu-overlay.active {
        top:0;
        bottom: 0;
    }

    .moblie-menu-top-links {
        list-style: none;
    }

    .moblie-menu-top-links li {
        margin-bottom: 20px;
        padding: 0px;
    }

    .moblie-menu-top-links>li>a {
        padding: 16px 14px 16px 14px;
        border-radius: 10px;
        background-color: #AD212A;
        color: white;
        font-family: Graphik LCG;
        font-size: 16px;
        font-weight: 500;
        line-height: 16px;
        display: block;
        text-transform: uppercase;
    }

    .moblie-menu-top-links>li>div {
        padding: 16px 14px 16px 14px;
        border-radius: 10px;
        background-color: #AD212A;
        color: white;
        font-family: Graphik LCG;
        font-size: 16px;
        font-weight: 500;
        line-height: 16px;
        display: block;
        text-transform: uppercase;
    }

    .submenu {
        margin-top:16px;
        list-style: none;
    }
    .submenu li {
        padding-left: 16px;
    }

    .submenu li a {
        display: inline;
        color: #441B1B;
        font-size: 16px;
        font-weight: 500;
        line-height: 16px;
        text-align: left;
        text-transform: capitalize;
    }

    .moblie-menu-top-links>li.extramenu {
        padding-left: 16px;
    }

    .moblie-menu-top-links>li.extramenu > a {
        color: #AD212A;
        background: none;
        padding: 0;
        font-weight: 500;
    }

    .front-banner {
        max-width: 100%;
        height: auto;
        background-size: cover;
        position: relative;
        background-position: right;
        background-image: url(../assets/images/front-banner-mobile.jpg);

    }

    .front-banner>img {
        display: none;
    }

    .front-banner .container {
        background: none;
        margin: 12px 8px;
        box-sizing: border-box;
        width: auto !important;
    }
    
    .front-banner-inner {
        width: 100%;
        height: auto;
        color: white;
        background-image: url(../assets/images/h1.png);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        padding: 130px 16px 0px 16px;
        box-sizing: border-box;
        min-height: 336px;
    }
    
    .frontpage-h1 {
        font-family: Izhitsa;
        font-size: 20px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
        margin-bottom: 8px;
    }
    
    .frontpage-h2 {
        font-size: 16px;
        font-weight: 500;
        line-height: 16px;
        text-align: left;
    }
    
    .frontpage-h2 img {
        vertical-align: middle;
    }

    .front-cross img {
        z-index: 8;
        display: block;
        width: 255px;
        margin:auto;
        margin-top: -100px;
        max-width: 60%;
    }

    .main-part {
        margin-top: 8px;
        background: none;
    }

    .front-extracontent {
        padding: 1rem;
        box-sizing: border-box;
    }

    .front-extracontent li {
        list-style-position: inside;
    }

    .grid-catalog {
        padding: 0px 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 8px;
    }

    .catalog-block img {
        max-width: 100%;
        display: block;
        max-height: 100%;
        margin: auto;
      }



    .grid-catalog .catalog-block img {
        height:auto;
      }
    
    .grid-catalog .catalog-block .catalog-img-wrapper img {
        height:100%;
      }
    
    .rubl-icon {
        height: 1rem !important;
    }

    .five-reasons-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1rem;
    }

    footer {
        padding-bottom: 56px;
    }

    footer .menu-layout {
        grid-template-columns: 1fr;
        margin: -32px 16px 32px;
    }

    footer .messengers {
        text-align: center;
    }

    footer .slogan {
        text-align: center;
    }

    footer .phone-block {
        text-align: center;
    }

    footer .menu-bar {
        display: none;
    }

    footer .logo-container {
        text-align: center;
    }

    footer div:nth-child(3) {
        text-align: center;
    }

    .article-wrap {
        overflow:hidden;
        padding: 1rem;
    }


    
}

/* Landscape phones and smaller */
@media (max-width: 576px) {
    .item-color-button span {
        display: block;
        width: 32px;
        height: 32px;
        border-radius: 20px;
        background-color: #F7EECD;
      }

    .grid-catalog .catalog-block .catalog-img-wrapper img {
          height: auto;
    }
    
    .front-banner .hidden-desktop {
        display: block !important;
      }

      

    .hidden-desktop {
        /* TODO: исправить этот костыль! */
        display: block !important;

    }

    .top-menu-panel-mobile {
        position: relative;
        display: block;
    }

    .top-menu-panel-desktop {
        position: relative;
        display: none;
    }
}
/* Landscape phones and smaller */
/*@media (max-width: 480px) { */
@media (max-width: 768px) {
    .item-color-button span {
        display: block;
        width: 32px;
        height: 32px;
        border-radius: 20px;
        background-color: #F7EECD;
      }

    .grid-catalog {
        padding: 0px 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 8px;
    }

    .grid-catalog-grouped {
        grid-template-columns: 1fr;
        grid-gap: 1.5rem;
    }
    .grid-catalog-grouped .product-button{
        grid-template-columns: 1fr;
        grid-gap: 1.5rem;
    }

    .grid-catalog-grouped .product-title{
        font-size: 16px;
        text-transform: uppercase;
        font-weight: medium;
    }

    .grid-catalog-grouped .catalog-list-buttons{
        justify-content: space-evenly;
    }
    
    .grid-catalog-grouped .product-button a{
        max-width: 240px;
        margin:0.5rem auto;
        padding: 8px;
        font-size:1.2rem;
    }
    .grid-catalog-grouped .catalog-text1.extra-link{
        max-width: 240px;
        margin:0.5rem auto;
    }

    .main-page-header {
        padding:0;
    }
    .container {
        width: 100%;
        margin: auto;
    }
    .slogan {
        font-family: izhitsa;
        font-size: 20px;
        font-weight: 400;
        line-height: 20.25px;
        text-align: left;
    }
    .messengers img {
        height: 28px;
    }
    .menu-layout {
        margin: 0px 16px;
        display: grid;
        grid-template-columns: auto auto;
        gap: 10px;
        align-items: end;
    }
    .menu-bottom {
        position: fixed;
        background-image: url("../assets/images/top_menu.jpg");
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
        width: auto;
        display: flex;
        justify-content: space-evenly;
        padding-top: 12px;
        padding-bottom: 16px;
        z-index: 9;
    }

    .menu-bottom a {
        font-size: 12px;
        font-weight: 500;
        line-height: 12px;
        text-align: center;
    }
    .menu-bottom a img{
        width: 22px;
    }

    #cart-total, #favs-total {
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 2px;
        border-radius: 50%;
        background-color: #AD212A;
        color: white;
        font-weight: 500;
        font-size: 12px;
        line-height: 15px;
        display: block;
        width: 15px;
        text-align: center;
        height: 15px;
    
    }

    .front-banner {
        position: relative;
        padding: 12px 0 0;
        background-image: url(../assets/images/front-banner-mobile.jpg);
        background-position: top right;
        margin-top: 0px;
    }

    .front-banner .container {
        margin-top: -90px;
    }

    .moved-from-header {
        padding: 4px 1px 0px 16px;
        display: grid;
        grid-template-columns: 60% auto;
        gap: 10px
    }

    .moved-from-header .slogan {
        color: white;
        text-align: center;
        text-transform: uppercase;
        font-size: 13px;
    }

    .open-hours {
        color: white;
        background-color: rgba(75, 113, 175, 0.25);
        border-radius: 8px;
        padding:8px;
        font-size: 12px;
        width: fit-content;

    }

    .front-cross {
        padding-bottom: 15px;
        margin-top: -110px;
    }
    
    .front-banner .messengers {
        right:12px;
        bottom: 74px;
        position: absolute;
        display: grid !important;
        grid-template-rows: 1fr 1fr 1fr;
        gap:6px;
    }

    .front-banner .messengers img {
        width:42px;
        height: 42px;
    }

    #favs-total {
        right: 8px;
    }

    .pagination {
        padding: 2rem 1rem;
    }

    .button-1 {
        font-size: 14px;
    }

    .five-reasons-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 1rem;
    }

    .five-reasons-wrapper > div {
        text-align: center;
    }

    .custom-banner {
        border-radius: 12px;
        width: 90%;
        height: auto;
        display: grid;
        grid-template-columns: auto 28px;
        margin: 1rem auto;
    }

    .custom-banner-left {
        background-position: right 70%;
        background-repeat: no-repeat;
        background-size: 55%;
        box-sizing: border-box;
        padding: 24px 16px;
    }

    .custom-banner-left h3 {
        font-size: 14px;
    }

    .custom-banner-left div {
        font-size: 16px;
        max-width: 75%;
    }

    .product-info {
        box-sizing: border-box;
        padding: 8px;
        display: grid;
        grid-template-columns: auto;
        gap: 2rem;
    }

    .purchase-block {
        grid-template-columns: 1fr;
    }

    .linked-block {
        margin:8px;
    }

    .other-colors {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .other-row > a {
        font-size: 10px;
    }

    .cart-catalog-wrap {
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        width: 100%;
        padding: 8px;
    }

    .cart-position-data {
        display: block;
    }

    .cart-position-data .count-block-input {
        max-width: 36px;
    }

    .form-address {
        grid-template-columns: 1fr;
    }

    .thumbs a {
        height: 128px;
    }
}

@media (max-width: 370px) {
    .frontpage-h2 {
        font-size: 14px;
    }
    
    .frontpage-h1 {
        font-size: 18px;
        line-height: 18px;
    }

    .moblie-menu-top-links>li>a {
        padding: 14px 11px 14px 11px;
        border-radius: 10px;
        font-size: 13px;
        line-height: 14px;
    }
}


@media (max-width: 320px) {
    .item-color-button span {
        display: block;
        width: 32px;
        height: 32px;
        border-radius: 20px;
        background-color: #F7EECD;
      }

    .frontpage-h1 {
        font-size: 15px;
        line-height: 15px;
    }

    .frontpage-h2 {
        font-size: 13px;
    }

    .grid-catalog {
        padding: 0px 0.1rem;
        grid-gap: 5px;
    }

    .catalog-block>.catalog-text1 {
        font-size: 10px;
    }

    .count-block {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .price-fav {
        grid-template-columns: 1fr auto;
    }
    .crumps-wrap {
        display: grid;
        grid-template-columns: 1fr 14px 1fr 14px;
    }
    .purchase-block .price {
        font-size: 22px;
    }
}

