/*!
Theme Name: ThemeFood
Theme URI: https://themefood.id
Author: ThemeFood Team
Author URI: https://themefood.id
Description: Tema Toko Online WhatsApp #1 dengan Keranjang Belanja & Ongkir Berbasis Jarak. Pas untuk anda yang berjualan produk fast moving seperti kuliner, kafe, restoran, frozen food, sayuran, minimarket, dan lain sebagainya.
Version: 1.4.0
Text Domain: themefood
*/

@font-face {
    font-family: "Ubuntu";
    src: url("css/ubuntu/Ubuntu-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html,
body {
    margin: 0;
}

body {
    height: 100%;
    font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #efeff4;
    font-weight: 400;
    color: #1f1f21;
    -ms-overflow-style: none;
    -webkit-font-smoothing: antialiased;
}

body.page-template-page-canvas {
    background-color: #fff;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

main#primary {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

#primary {
    padding-top: 56px;
    padding-bottom: 15px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    height: 100%;
    width: 100%;
}

#primary h1 {
    font-family: 'Ubuntu', sans-serif;
}

#primary header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000;
    height: 56px;
    display: flex;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}

body.admin-bar #primary header {
    top: 32px;
}

#primary header .back-katalog {
    fill: #000;
    cursor: pointer;
    font-size: 22px;
    color: #1e88e5;
    display: inline-block;
    padding: 0 12px;
    height: 100%;
    margin: 0 0 0 4px;
    border: none;
    border-radius: 0;
    vertical-align: initial;
    line-height: 56px;
}

#primary header.white-text .back-katalog {
    fill: #fff;
}

#primary header h1 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 15px 0 0;
    padding: 0;
    color: #31313a;
    height: 56px;
    width: auto;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    line-height: 56px;
    white-space: nowrap;
}

#primary header.white-text h1 {
    color: #fff;
}

#primary article .entry-content h1.entry-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 15px;
    padding: 0;
    color: #31313a;
}

#primary article .entry-content {
    margin: 0 15px;
    position: relative;
}

#primary article .entry-produk {
    margin-bottom: 65px;
}

#primary article .entry-content img.item-thumbnail {
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 5px;
    width: 100%;
}

#primary article .entry-content .galeri-produk img.item-thumbnail {
    margin: 0;
    cursor: grab;
}

#primary article .entry-content .galeri-produk .glide__slides {
    margin: 15px 0 5px;
}

#primary article .entry-content .galeri-produk .glide__arrows button {
    position: absolute;
    top: calc(50% - 54px);
    padding: 0;
    background: transparent;
    border: none;
    font-size: 36px;
    line-height: 0;
    cursor: pointer;
    opacity: .5;
}

#primary article .entry-content .galeri-produk .glide__arrows button:hover {
    border: none;
    opacity: 1;
}

#primary article .entry-content .galeri-produk .glide__arrows button.glide__arrow--left {
    left: 5px;
}

#primary article .entry-content .galeri-produk .glide__arrows button.glide__arrow--right {
    right: 5px;
}

#primary .entry-content h1 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 3px;
    margin-top: 10px;
}

#primary article .entry-content p {
    font-size: 15px;
    margin: 0 0 5px;
    line-height: 1.5;
    white-space: normal;
    color: #1f1f21;
}

#primary article small.item-price {
    font-size: 15px;
    font-weight: 700;
    display: inline-block;
}

#primary article .item-price-was span {
    color: #666;
    text-decoration: line-through;
    margin-left: 5px;
    font-size: 15px;
}

#primary article .item-price-was:after {
    position: absolute;
    top: 30px;
    right: 15px;
    content: "Promo";
    background: linear-gradient(to right, #6db3f2 0%, #54a3ee 25%, #1e69de 100%);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

#primary article .view-product-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 3px rgb(0 0 0 / 10%);
    padding: 10px 15px;
}

#primary article .view-product-wrapper .view-product {
    display: block;
    text-align: center;
    color: #fff;
    min-height: 36px;
    line-height: 36px;
    width: 100%;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    background: #03AA0E;
    box-shadow: none;
    padding: 3px;
    border-bottom: 5px solid rgba(0, 0, 0, .2);
    text-shadow: 1px 1px #02880b, -1px -1px #028b0b;
    cursor: pointer;
}

body.archive #primary article,
body.blog #primary article {
    margin: 10px 10px 0;
    box-shadow: 0 5px 5px rgb(0 0 0 / 10%);
    border: 1px solid #eee;
    border-radius: 6px;
}

body.archive #primary article .entry-content,
body.blog #primary article .entry-content {
    margin: 10px;
}

body.archive #primary article .entry-content h1,
body.blog #primary article .entry-content h1 {
    margin: 5px 0;
}

body.archive #primary article .entry-content img.item-thumbnail,
body.blog #primary article .entry-content img.item-thumbnail {
    margin: 0;
    border-radius: 6px;
}

body.page-template-page-order {
    background-image: url(img/bg-pattern.jpg);
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
}

body.page-template-page-order .container {
    height: 100vh;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

body.page-template-page-order .row {
    width: auto;
}

body.page-template-page-order .loader-wrapper {
    background: #fff;
    -webkit-box-shadow: 0 0 30px rgb(0 0 0 / 20%);
    box-shadow: 0 0 30px rgb(0 0 0 / 20%);
    width: 250px;
    margin: 0 auto;
    padding: 25px 15px 20px;
    border-radius: 12px;
    color: #000;
    font-size: 14px;
    text-align: center;
}

body.page-template-page-order .click-here {
    text-align: center;
    display: block;
    margin-top: 10px;
    color: #666;
    font-size: 13px;
}

body.page-template-page-order .click-here a {
    color: #2979ff;
}

body.page-template-page-order .spinner {
    margin: 0 auto 15px;
    width: 90px;
    text-align: center;
}

body.page-template-page-order .spinner>div {
    width: 24px;
    height: 24px;
    background-color: #2979ff;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

body.page-template-page-order .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

body.page-template-page-order .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

@media only screen and (max-width: 480px) {
    body.page-template-page-order {
        background-size: contain;
    }
}

@media only screen and (min-width: 480px) {
    #primary article .view-product-wrapper {
        left: calc(50% - 240px);
        width: 480px;
    }
}

body.error404 .wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    align-items: center;
}

body.error404 #game {
    max-width: 480px;
    height: 100%;
    position: relative;
}

body.error404 #game canvas {
    width: 100% !important;
    height: calc(100% - 40px) !important
}

body.error404 #game .backBtn {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #03aa0e;
    text-align: center;
    height: 43px;
    display: flex;
    align-items: start;
    justify-content: center;
}

body.error404 #game .backBtn .btn {
    text-decoration: none;
    border: none;
    color: #fff;
    background: #000;
    padding: 8px 16px;
    font-size: 14px;
    font-family: Ubuntu, sans-serif;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body.error404 #game .backBtn .btn:focus {
    outline: none;
}

body.error404:not(.play) #game .backBtn .btn {
    position: fixed;
    top: 50%;
}

body.error404:not(.play) #game .backBtn .btn-play {
    top: calc(50% + 30px);
    color: #000;
    background: transparent;
}

body.error404.play .btn-play {
    display: none;
}