@media only screen and (max-width: 450px) {

    #body {
        padding-top: 0 !important;
    }

    .container_9 {
        width: 375px !important;
    }

    .container_9 .grid_9 {
        width: 375px !important;
    }

    #survey {
        width: 355px;
    }

    #toast-container.toast-bottom-center>div,
    #toast-container.toast-top-center>div {
        width: 355px;
        opacity: 1;
    }

    .notice {
        line-height: normal;
    }

    #header {
        padding: 10px !important;
        padding-top: 0 !important;
        height: 98px !important;
    }

    .mobile #sticky-header {
        padding: 10px;
        height: 88px;
        left: 0;
        right: 0;

        width: unset !important;
        min-width: unset !important;
        max-width: 100% !important;
    }

    #sticky-content {
        height: auto;
        width: 355px !important;
    }

    .mobile .hamburger_menu_wrapper {
        order: 0;
        display: block;
        width: 30px;
        height: 34px;
    }

    #hamburger-menu {
        display: inline-block !important;
        margin-top: 7px !important;
    }

    .mobile .header_logo {
        width: 170px !important;
        height: 25px !important;
        order: 1;
        position: unset !important;
    }

    .header_logo > .logo {
        width: 170px !important;
        height: 25px !important;
    }

    .mobile #search_block_top {
        order: 3;
        position: unset !important;
    }

    .mobile #sticky-padding {
        padding-top: 108px;
    }

    #search_block_top form#searchbox {
        position: static !important;
        width: 355px !important;
        height: 46px !important;
        margin-top: 8px !important;
    }

    #search_block_top form#searchbox input.search_query {
        padding: 11px 20px !important;
        padding-left: 20px;
        padding-left: 0px !important;
    }

    #search_block_top form#searchbox .button-red {
        margin: 3px !important;
    }

    #search_block_top form#searchbox #search-icon-label > img {
        margin-left: 8px !important;
        margin-right: 8px !important;
        width: 16px !important;
        height: 16px !important;
    }

    #header_user {
        display: none !important;
    }

    .mobile #shopping_cart {
        order: 2;

        padding: 0 !important;
        width: 61px !important;
        height: 34px !important;
        justify-content: space-evenly;
        margin: 0 !important;
    }

    .mobile #shopping_cart .cart-quantity {
        font-size: 14px !important;
        width: 24px !important;
        height: 24px !important;
        line-height: 25px !important;
        border-radius: 12px !important;
        margin: 0 !important;
        margin-right: 0px;
    }

    .mobile #shopping_cart > span:first-child {
        margin-left: 0 !important;
    }

    .mobile #shopping_cart > span:last-child {
        margin-right: 0 !important;
    }

    #shopping_cart .btn-icon {
        margin: 0!important;
    }

    .mobile #shopping_cart .btn-icon img {
        width: 23px !important;
    }

    #cart_block {
        display: none !important;
    }

    #header ul.sf-menu {
        display: none !important;
    }

    .ac_results {
        width: 355px !important;
        top: 98px !important;
        margin-left: -33px !important;
        margin-top: 1px;
    }

    #page {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #left_column {
        display: none;
        width: 100% !important;
        position: fixed !important;
        left: 0;
        padding: 0 !important;
        z-index: 102 !important;
        background-color: white !important;
        margin-top: 0 !important;
        box-shadow: 0 5px 4px -4px rgba(0, 0, 0, 0.16) !important;
        min-height: 0 !important;
        height: calc(100% - 108px); /* 100% - header height */
        overflow: auto;
        overscroll-behavior: contain;
    }

    #index #left_column {
        height: calc(100% - 154px); /* 100% - header height */
    }

    #categories_left_menu {
        width: 355px;
        margin: auto;
        position: relative;
        margin-bottom: 60px;
    }

    #category-menu-panel {
        width: 100%!important;
        top: 23px!important;
        padding: 0!important;
    }

    #center_column {
        width: 355px;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 30px;
    }

    #pb-left-column {
        margin: 0;
        width: 100%;
    }

    #pb-right-column {
        width: 100%;
    }
    
    .slider-products-wrap {
        width: 70%!important;
    }
    
    #body.is-mobile {
        overflow: hidden;
    }

    .cover-list-block.mobile {
        margin-top: unset;
        position: relative;
    }
    
    .cover-list-block.mobile .cover-list-wrapper .cover-list.books {
        position: relative;
        height: 40%;
    }
    
    .cover-list-block.mobile .cover-list-wrapper .cover-list {
        bottom: unset;
    }
    
    .cover-list-block.mobile .cover-list-wrapper {
        width: 150px;
        height: 200px;
        margin: 40px 0 0 0;
    }
    
    .cover-list-block.mobile .cover-list-wrapper .footer {
        bottom: unset;
    }
    
    .cover-list-block.mobile .cover-list-wrapper .header {
        margin-bottom: 15px;
    }
    
    .cover-list-block.mobile .cover-list-wrapper .header .title {
        font-size: 18px;
    }
    
    .cover-list-block.mobile .cover-list-wrapper .header .lore {
        font-size: 14px;
    }
    
    #cover-list-slide-wrapper,
    #footer-stores-slide-wrapper {
        display: flex;
        justify-content: space-around;
    }    
    
    .next-cover-list-cont,
    .next-bookstore-list-cont {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
    }

    .next-bookstore-list-cont {
        margin-bottom: 10px;
    }

    .next-cover-list-cont {
        margin-bottom: 0;
    }

    .list-page {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        border: 1px solid #D20C0F;
        background-color: #FFFFFF;
        margin: 0 15px 0 15px;
        cursor: pointer;
    }
    
    .list-page:first-of-type {
        margin-left: 0;
    }
    
    .list-page:last-of-type {
        margin-right: 0;
    }
    
    .list-page.active {
        background-color: #D20C0F;
    }
    
    #cover-list-show-more-wrapper,
    #footer-stores-show-more-wrapper {
        text-align: center;
    }    
    
    #cover-list-show-more-wrapper .show-more,
    #footer-stores-show-more-wrapper .show-more {
        margin-top: 30px;
        margin-bottom: 20px;
        display: inline-block;
        color: #1e5613;
        background-color: #d5fdbb;
        border: 1px solid #b6e2a3;
        border-radius: 7px;
        font-size: 16px;
        line-height: 43px;
        overflow: hidden;
        position: relative;
        width: 173px;
        padding-left: 45px;
    }
    
    #cover-list-show-more-wrapper .show-more::before,
    #footer-stores-show-more-wrapper .show-more::before {
        content: '';
        width: 45px;
        height: 43px;
        display: inline-block;
        background-color: #3dab0f;
        position: absolute;
        left: 0;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMS41MDYiIGhlaWdodD0iMTcuOTk0IiB2aWV3Qm94PSIwIDAgMTEuNTA2IDE3Ljk5NCI+ICA8ZyBpZD0ixaFpcGthX2RvbMWvIiBkYXRhLW5hbWU9IsWhaXBrYSBkb2zFryIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjkzLjcwOCAxNDg4LjA3NCkgcm90YXRlKDE4MCkiPiAgICA8cGF0aCBpZD0iaWZfYXJyb3ctZG93bi0wMV8xODY0MTEiIGQ9Ik00LjkyNCw2Ljg0NS4zMTcsMi4yMzdBMS4wODksMS4wODksMCwwLDEsLjMxNy43TC43LjMxN2ExLjA4OSwxLjA4OSwwLDAsMSwxLjUzNSwwTDUuNzUzLDMuODMzLDkuMjcuMzE3YTEuMDg5LDEuMDg5LDAsMCwxLDEuNTM1LDBMMTEuMTg5LjdhMS4wODksMS4wODksMCwwLDEsMCwxLjUzNkw2LjU4MSw2Ljg0NWExLjA3OCwxLjA3OCwwLDAsMS0uODI4LjMxMUExLjA4LDEuMDgsMCwwLDEsNC45MjQsNi44NDVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2OTMuNzA4IDE0NzcuMjM4KSByb3RhdGUoMTgwKSIgZmlsbD0iI0Q1RkRCQiIvPiAgICA8bGluZSBpZD0iTGluZV8xNyIgZGF0YS1uYW1lPSJMaW5lIDE3IiB5Mj0iMTEuODk2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2ODcuOTMxIDE0NzQuNzc4KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRDVGREJCIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS13aWR0aD0iMi44Ii8+ICA8L2c+PC9zdmc+);
        background-repeat: no-repeat;
        background-position: center;
    }   
    
}

/* banner */
@media only screen and (max-width: 450px) {

    #banner-shipping,
    #banner-shipping-balikovna,
    #banner-shipping-dpd-point {
        min-height: 26px!important;
        display: flex;
        height: auto;
        align-items: center;
        padding: 5px 0;
        width: 100%;
        justify-content: center;
        align-content: center;

    }

    #banner-shipping {
        background-color: #ffda02;
    }

    #banner-shipping-balikovna {
        background-color: #29c8ff;
    }

    #banner-shipping-dpd-point {
        background-color: #dc0e34;
    }

    #banner-shipping-balikovna > div.default strong {
        font-size: 14px!important;
    }

    #banner-shipping-dpd-point > div.default strong {
        font-size: 18px!important;
    }

    #banner-shipping-dpd-point > div.default strong > span.small {
        font-size: 13px!important;
    }

    div.banner-container#banner-shipping-dpd-point > div.shipping-dpd-point {
        padding: 4px 0;
    }

    #banner-shipping > div.default,
    #banner-shipping-balikovna > div.default,
    #banner-shipping-dpd-point > div.default{
        text-align: center;
    }

    div.banner-container > div.default {
        padding: 0;
    }

    div.banner-container > div.default::before {
        display: none;
    }

    div.banner-container > div.default::after {
        display: none;
    }

    div.banner-container > a > img {
       width: 100%;
    }
    
    #product div.banner-container > div.default,
    #index div.banner-container > div.default,
    #category div.banner-container > div.default,
    #product-list div.banner-container > div.default {
        font-size: 16px;
        line-height: normal;
    }

    /* <ESH-3559> */

    #banner-shipping:has(> .shipping.balikovna) {
        padding: 0;
        background-color: transparent;
    }

    #banner-shipping > .shipping.balikovna {
        font-size: 16px!important;
        padding: 8px 0;
    }

    /* </ESH-3559> */
}

/* footer */
@media only screen and (max-width: 450px) {

    .footer-payment-cont {
        width: 100%;
    }

    #footer-payment-info {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #footer .footer-payment-cont {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-stores {
        width: 355px;
        align-content: space-between;
        align-items: normal;
        position: relative;
        padding-top: 0;
        margin-bottom: 0;
    }
    .footer-stores .footer-store {
        margin: 5px;
        width: 167px;
    }

    .footer-stores .footer-store img {
        height: 131px;
        object-fit: cover;
        object-position: center;
    }

    .footer-stores .footer-store h2 {
        min-height: 75px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-column:nth-child(1) {
        display: none;
    }

    #footer .footer-row {
        width: 355px;
        margin-top: 30px;
    }

    .footer-row > div {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
    }

    #footer .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-facebook {
        margin-right: 0 !important;
    }

    #hook-footer-bottom {
        width: 355px;
        margin: auto;
    }

    #footer .footer-payment-cont {
        margin: 0;
    }

    #map-cont {
        margin: auto;
    }
    
    #galleryContainer #mainImage {
        max-width: 90vw;
        max-height: 90vh;
    }
    
    #mainImageContainer {
        text-align: center;
    }
    
    #galleryContentContainer {
        flex-direction: column;
    }
    
    #galleryCloseBtn {
        right: 3.5px;
    }
    
    .gallerySideImg {
        max-width: 20%;
        margin: 2px;
        flex-shrink: 0;
    }
    
    #galleryList {
        width: auto;
        display:flex;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
}
