body.store {
    background: white;
}

/* MEDIA CONTENT */
@keyframes right {
    0% {
        transform: translateX(20px);
        opacity: 0;
    }

    10%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes left {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    10%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes top {
    0% {
        transform: translatey(-20px);
        opacity: 0;
    }

    10%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bottom {
    0% {
        transform: translatey(20px);
        opacity: 0;
    }

    10%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.media-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
    margin: 20px auto;
    background:
        linear-gradient(135deg, var(--main-color) 65%, var(--main-light-color) 50%);
    border-radius: 20px;
    box-shadow: 0 2px 10px var(--border-dark);
    padding: 30px;
    font-family: 'Exo 2';
    color: white;
    overflow: hidden;
}

.media-title {
    font-size: 26px;
    font-weight: 400;
    text-wrap: balance;
    animation: left 5s .5s ease both;
}

.media-col {
    align-self: center;
}

.media-col img {
    height: 150px;
    display: inline-flex;
    position: relative;
}

.media-btn {
    /* text-transform: none; */
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    animation: bottom 8s .8s ease both;
}

#mImg1 {
    top: 40px;
    right: -120px;
    animation: bottom 7s .3s ease both infinite;
}

#mImg2 {
    top: -30px;
    right: -50px;
    animation: top 7s .4s ease both infinite;
}

#mImg3 {
    top: 10px;
    animation: right 7s .5s ease both infinite;
}

@media (max-width:800px) {
    .media-content {
        width: calc(100% - 20px);
        padding: 10px;
    }

    .media-col img {
        height: 100px;
        display: inline-flex;
        position: relative;
    }

    #mImg1 {
        top: 20px;
        right: -140px;
        animation: slide-bottom 1s .3s ease both;
    }

    #mImg2 {
        top: -30px;
        right: -80px;
        animation: slide-top 1.5s .5s ease both;
    }

    #mImg3 {
        top: 10px;
        right: -30px;
        animation: slide-right 2s .7s ease both;
    }
}


/* Categories */

.store_category,
.catsTable {
    position: relative;
    padding: 0;
    background: var(--lite);
    box-shadow: none;
    font-family: 'Roboto';
}

.store_category>h3 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 20px;
}

@media (max-width:720px) {
    .catsTable {
        width: calc(100vw - 20px);
    }

    .store_category>h3 {
        width: 80vw
    }
}

.store_category .catsTd {
    height: 80px;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    margin: 5px auto;
    padding: 10px;
    display: flex;
    align-items: center;
    color: black;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
    background: white;
}

.store_category .catsTd:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 2px 10px var(--border-dark);
}

.store_category .catsTd .catName {
    color: inherit;
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    z-index: 1;
    position: relative;
    height: 100%;
    align-items: center;
    align-self: stretch;
    margin: auto auto;
}

.catsTd .catNameActive {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    z-index: 1;
    position: relative;
    height: 100%;
    align-items: center;
    align-self: stretch;
    margin: auto auto;
}

.catsTd:has(.catNameActive) {
    background: var(--accent-color) !important;
}

.catsTd:has(.catNameActive) .catNameActive {
    color: white !important
}

.store_category .catNumData {
    display: none;
}

.store_category .catDescr {
    order: -1;
    display: flex;
}

.store_category .catDescr img {
    width: 100%;
    height: 130px;
    object-fit: contain;
}

@media (max-width:720px) {
    .catsTable {
        display: flex;
        flex-wrap: wrap;
    }

    .store_category tr {
        display: inline-flex;
        width: calc(100% / 2 - 10px);
        margin: 0 5px;
    }

    .store_category td {
        flex-grow: 1;
        width: 100% !important;
        flex-basis: 100% !important;
    }
}

/* SMENU - NMENU Store */
.uMenuH,
.uMenuRoot {
    display: flex;
    flex-basis: 100%;
    list-style: none;
    flex-direction: column;
}

.uMenuRoot li {
    margin: 5px;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.uMenuRoot li:hover {
    background: white;
}

.uMenuRoot li a {
    color: black;
    font-size: 16px;
    font-weight: 500;
    display: block;
}

/* STORE Content */

@media (max-width:720px) {
    .store .search_wrapper {
        display: none;
    }
}

.store_body {
    justify-content: flex-start;
    padding: 30px;
}

@media (max-width:500px) {
    .store_body {
        background: none;
        padding: 4px;
    }
}

.store_breadcrumbs {
    flex-basis: 100%;
    font-family: 'Exo 2';
    width: 80%;
    margin: 10px auto
}

.breadcrumbs-item {
    color: inherit;
    font-size: 16px;
    display: inline-block;
}

.breadcrumbs-item a {
    color: inherit;
    font-size: 16px;
    text-decoration: none;
}

.breadcrumbs-item::after {
    content: '»';
    margin-left: 5px;
}

.breadcrumbs-item:last-of-type:after {
    display: none
}

/* Store Card */
.ontop_tag {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    padding: 10px;
    box-sizing: border-box;
    line-height: 100%;
    text-align: center;
    border-radius: 20px;
    font-size: 20px;
}

.store div#allEntries {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
}

@media (max-width:1024px) {
    .store div#allEntries {
        flex-basis: 100%;
        justify-content: center;
    }
}

.store div[id^="entryID"] {
    width: calc(100% / 4 - 20px);
    min-width: calc(100% / 4 - 20px);
    margin: 10px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.store div[id^="entryID"]:nth-child(4n+1) {
    margin-left: 0;
}

.store div[id^="entryID"]:nth-child(4n+4) {
    margin-right: 0;
}

.store_card {
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    align-self: stretch;
    display: flex;
    color: black;
    user-select: none;
}

.store div[id^="entryID"]:first-of-type {
    margin-left: 0;
}

.store div[id^="entryID"]:last-of-type {
    margin-right: 0;
}

.store_card:hover {
    box-shadow: 0 0 15px var(--border-dark);
}

@media (max-width:720px) {
    .store div[id^="entryID"] {
        width: calc(100% / 2 - 10px);
        margin: 7px;
    }

    .store div[id^="entryID"]:nth-child(2n+1) {
        margin-left: 0;
    }

    .store div[id^="entryID"]:nth-child(2n+2) {
        margin-right: 0;
    }
}


.store_card>img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.store_card_name {
    font-size: 16px;
    font-weight: 600;
    text-wrap: balance;
    margin-top: 10px;
}

.store_card_text {
    font-size: 14px;
    margin: 10px 0;
}

.store_price_wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: auto 0 0 0;
}

.store_card_price {
    font-weight: 700;
    font-size: 20px;
    margin: 10px 0;
    position: relative;
}

.store_card_noprice {
    font-weight: 500;
    font-size: 14px;
    margin: 10px 0;
}

.store_card_oldprice {
    font-size: 14px;
    align-self: center;
    margin: 0 10px;
    text-decoration: line-through;
    color: #999
}

.store_card_button {
    align-self: center;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 5px;
    background: var(--accent-color);
    margin: 0 0 0 auto;
    cursor: pointer;
}

@media (max-width:720px) {
    .store_card_button {
        margin: 10px auto
    }

    .store_card>img {
        height: 150px;
    }

    .store_card_text {
        display: none
    }

    .store_card_name {
        margin: 10px 0;
    }
}

.store_card_button:hover {
    background: var(--accent-color-lite)
}

.store_card_delivery {
    display: flex;
    padding: 5px;
    border-radius: 10px;
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0000000f;
    backdrop-filter: blur(15px);
}

.store_card_delivery img {
    width: 24px;
    display: table;
    margin: auto;
}

.store_card_noavailability {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    padding: 5px 20px;
    background: var(--border-dark);
    border-radius: 5px;
    margin: 5px 0;
}

.store_popular {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    background: var(--border);
    border-radius: 30px;
    margin: 20px 0;
    flex-basis: calc(100vw - 70px);
    overflow: hidden;
    position: relative;
    font-family: 'Exo 2';
}

.store_popular .store_card {
    width: 100%;
    margin: 0 5px;
    height: auto;
}

@media (max-width:720px) {
    .store_popular {
        flex-basis: auto;
        padding: 0;
        background: 0;
        border-radius: 0;
    }

    .store_popular .store_card_name {
        font-size: 14px;
        text-wrap: balance;
    }
}

.store_popular .store_price_wrapper {
    margin-top: auto
}

.store_popular .store_card_name {
    margin: 10px 0;
    color: black
}

.store_popular .store_card>img {
    height: 100px;
}

.store_popular_title {
    flex-basis: 100%;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

@media (max-width:500px) {
    .store_popular .store_card_name {
        text-align: center;
    }

    .store_popular .store_price_wrapper {
        margin: 0 auto;
    }

    .store_popular .store_card>img {
        height: 180px;
        object-fit: contain;
    }

}


/* Store Product page */
.product-wrapper {
    /* box-shadow: 0 0 10px var(--border-dark); */
    padding: 30px;
    font-family: 'Roboto';
}

.product-table {
    display: flex;
    flex-basis: 100%;
    flex-grow: 1;
}


[grow='on'] {
    flex-grow: 1;
}

.product-img {
    width: clamp(100%, 100vw, 90%);
    height: 400px;
    object-fit: contain;
}

@media (max-width:720px) {
    .product-img {
        object-fit: cover;
    }
}

.product-allImages {
    display: flex;
    margin: 20px 0;
}

.product-allImages img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-dark);
    padding: 5px;
    cursor: pointer;
}

.product-allImages img:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--border-dark);
}

.product-allImages img:focus-within {
    position: fixed;
    width: auto;
    height: 500px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    z-index: 10;
    box-shadow: 0 0 500px #00000030;
    animation: opacity .5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    object-fit: contain;
}

@media (max-width:500px) {
    .product-allImages img:focus-within {
        width: 100%;
        height: 350px;
        object-fit: cover;
        object-position: bottom;
    }
}

.product-main {
    display: block;
    text-align: left;
    margin: 0 40px;
    font-family: 'Roboto';
}

@media (max-width:800px) {
    .product-table {
        flex-wrap: wrap;
    }

    .product-main {
        margin: 0;
        flex-basis: 100%;
    }
}

.product-name {
    font-weight: 500;
    font-size: 22px;
    max-width: 40ch;
    text-wrap: balance;
}

.product-description-title {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
}

.product-description {
    font-size: 14px;
    margin-bottom: 10px;
    text-wrap: balance;
    max-width: 70ch;
    line-height: 18px;
}

.product-article {
    font-size: 14px;
    font-weight: 300;
    color: #aaa;
    margin: 5px 0;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0;
    display: block;
}

.product-availability {
    font-weight: 500;
    color: var(--main-color);
    font-size: 14px;
    background: var(--border-dark);
    border-radius: 5px;
    padding: 5px 20px;
}

.product-noavailability {
    font-weight: 500;
    color: #999;
    margin: 30px 0;
    padding: 5px 20px;
    font-size: 14px;
    background: var(--border-dark);
    border-radius: 5px;
}

.product-sale {
    display: table;
    margin: 20px 0;
    background: var(--accent-color);
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

.product-sale:hover {
    background: var(--accent-color-lite)
}

.store .comEnt {
    flex-basis: 100% !important;
    width: 100% !important
}

/* Store modal order */
.product-order {
    background: rgba(0, 0, 0, 0.7);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    display: none;
    justify-content: center;
    z-index: 9999;
}

.product-order.show {
    display: flex;
}

.order-wrapper {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    position: fixed;
    color: black;
    animation: opacity ease .2s;
    z-index: 10;
    font-family: 'Roboto';
    align-self: center;
    margin: 0 20px
}

.close-order-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: 400;
    cursor: pointer;
    opacity: 0.6;
}

.close-order-modal:hover {
    opacity: 1;
}

.modal-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.modal-content {
    display: block;
    margin: 20px 0;
    box-sizing: border-box;
    color: #555
}

.modal-content p {
    font-size: 14px;
    margin: 15px 0 0;
    font-weight: 600;
}

.modal-content textarea {
    border: none;
    font-size: 16px;
    font-weight: 400;
    resize: none;
    background: none;
    margin: 5px;
    display: block;
    font-family: 'Roboto';
    width: 100%;
    color: inherit;
    outline:none;
}

.modal-content textarea#inner-name {
    font-size: 20px;
    font-weight: 500;
    outline: none !important;
    user-select: none;
    pointer-events: none;
}

.modal-content input {
    padding: 10px;
    border: 1px solid var(--border-dark);
    border-radius: 5px;
    margin: 5px 0;
    font-size: 16px;
    display: block;
}

.modal-content img {
    width: 100px;
    object-fit: contain;
    margin-right: 20px;
}

.content-item {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-dark);
    padding: 10px 0;
}

.content-item>div {
    align-self: center;
}

.content-item>div:nth-of-type(2) {
    flex-grow: 1;
}

/* Get condition delivery */
.deliveryModal {
    font-weight: 500;
    cursor: pointer;
    color: black;
}