@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
}
html{
    scroll-behavior: smooth;
}
.banner_snack img{
    width: 100%;
    height: auto;
}
.snack1_device img{
    display: none;
}
.snack_toko{
    width: 100%
    min-height: 150px;
    display: flex;
    flex-direction: row;
    background-color: #fffbc4;
}
.SnackContainer{
    max-width: 1400px;
    display: flex;
    margin: 0 auto;
    padding: 20px;
}
.snackContainer a button{
    padding: 10px;
    color: #fff;
    background: linear-gradient(45deg, #ff0000, #960000);
    border: none;
    border-radius: 10px;
    font-size: var(--font-article);
}
.Snack_Headline{
    background-color: #fff;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Snack_Headline2{
    background-color: #fff;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Snack_Headline3{
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Snack_Headline p,
.Snack_Headline2 p, 
.Snack_Headline3 p {
    font-weight: 500;
    text-align: center;
    font-size: 30pt;
    line-height: 1.2;
    font-family: 'Poppins';
}
.Snack_2rb{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.Snack2rb_kanan{
    width: 50%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
}
.Snack2rb_kanan h2{
    text-align: left;
    color: #ff0000;
}
.Snack2rb_kanan p{
    font-size: var(--font-article);
}
.Snack2rb_kiri{
    width: 50%;
    min-height: 400px;
    background-color: #960000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Snack2rb_kiri img{
    width: 100%;
    padding: 4%;
}

.Snack_Besar{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.Snackbesar_kanan{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
}
.Snackbesar_kanan h2{
    text-align: left;
    color: #ff0000;
}
.Snackbesar_kanan p{
    font-size: var(--font-article);
}
.Snackbesar_kiri{
    width: 50%;
    min-height: 400px;
    background-color: #610000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Snackbesar_kiri img{
    width: 100%;
    padding: 4%;
}
.SnackDevice{
    display: none;
}
/* KATEGORI SNACK */
.Kategori_Snack{
    overflow: hidden;
    background-color: #bb0000;
    width: 100%;
}
.Kategori_Snack button{
    width: 33.33%;
    float: left;
    background-color: #bb0000;
    color: #fff;
    font-size: var(--font-article);
    border: none;
    padding: 60px 30px 60px 30px ;
}
.Kategori_Snack button:hover{
    background-color: #ffc400;
    cursor: pointer;
    color: #000;
}
.Kategori_Snack button.active{
    background-color: #ffc400;
    color: #000;
}
.tabcontent{
    display: none;
    padding: 15px;
    border: none;
}
.PilihKategori{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.PilihKategori{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.PilihKategori img{
    width: 100%;
    height: 250px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    border-radius: 10px;
    object-fit: contain;
    object-position: center;
    display: block;
    box-sizing: border-box;
}


/* KHUSUS HP */
@media screen and (max-width: 600px){

    .PilihKategori{
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .PilihKategori img{
        width: 100%;
        height: 120px;
        padding: 5px;
        object-fit: contain;
    }

}

/* PUBLIK FIGUR */
.Publik_Figur{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.Publik_Figur iframe{
    width: 60%;
    height: 550px;
}
.instagram-media{
    height: 400px;
    width: 60px;
}
.Snack_Article{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding: 15px;

    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.Con_Article button{
    width: 100%;
    padding: 10px;
    background-color: var(--nav-color);
    color: var(--text-color);
    border: none;
    border-radius: 10px;
    margin-top: auto;
}
.Con_Article h3, a{
    margin-top: 5px;
    text-decoration: none;
    color: #000;    
}
.Con_Article p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.Con_Article h3{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.Con_Article{
    width: calc(25% - 12px);
    min-height: 400px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 17px;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3)
}
.Con_Article img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
}
.CariToko{
    width: 100%;
    background-color: #fff;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.CariToko_Kiri{
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.CariToko_Kiri h2{
    font-size: 30pt;
}
.CariToko_Kiri p{
    font-size: var(--font-article);
}
.CariToko_Kiri button{
    padding: 10px;
    background-color: var(--nav-color);
    border: none;
    border-radius: 10px;
    font-size: var(--font-article);
    color: #fff;
}
.CariToko_Kanan {
    width: 50%;
    display: flex;
    justify-content: center; /* tengah kiri-kanan */
    align-items: flex-end;   /* nempel bawah */
}

.CariToko_Kanan img {
    width: auto;
    height: 90%;
    max-width: 100%;
    object-fit: contain;
}
.CariToko_KananAktif{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.CariToko_KananAktif img {
    width: auto;
    height: 90%;
    max-width: 100%;
    object-fit: contain;
}
.CariToko_KiriAktif{
    width: 40%;
    margin-left: 5%;
    margin-right: 5%;
    padding: 20px;
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

     /* SCROLL HORIZONTAL */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    box-sizing: border-box;
}
.toko-terdekat-card{
    display: flex;
    flex-direction: column;
    flex: 0 0 50%;
    min-height: 450px;
    padding: 17px;
    padding-bottom: 20px;
    background-color: var(--list-article);
    text-decoration: none;
}
.toko-terdekat-content{
    display: flex;
    flex: 1;
    flex-direction: column;
}
.toko-terdekat-content span{
    margin-top: 12px;
}
.toko-terdekat-content h3, p{
    margin-top: 7px;
}
.toko-terdekat-content p{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toko-terdekat-content a{
    width: 100%;
    height: auto;
    background-color: var(--nav-color);
    padding: 10px;
    display: block;
    margin-top: auto;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-weight: 500;
    border-radius: 10px;
}
.toko-iframe-wrapper iframe{
    width: 100%;
    min-height: 230px;
    border: 1px solid #575757;
}


@media screen and (max-width: 1340px) {
    .toko-terdekat-card{
    flex: 0 0 101%;
    min-height: 450px;
    padding: 10px;
}
}
@media screen and (max-width: 1200px) {
.CariToko{
    display: flex;
    flex-direction: column;
}
.CariToko_KiriAktif{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding: 20px;
    display: flex;
    
    gap: 15px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.CariToko_KananAktif{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
}
.toko-terdekat-card{
    display: flex;
    flex-direction: column;
    flex: 0 0 50%;
    min-height: 450px;
    padding: 17px;
    padding-bottom: 20px;
    background-color: var(--list-article);
    text-decoration: none;
}
.toko-iframe-wrapper iframe{
    width: 100%;
    min-height: 180px;
    border: 1px solid #575757;
}
}
@media screen and (max-width: 1080px){
    .Snack_Headline p,
    .Snack_Headline2 p, 
    .Snack_Headline3 p{
        font-size: 20pt;
    }
    .Publik_Figur iframe{
        width: 100%;
        height: 550px;
    }
    .CariToko_Kiri h2{
        font-size: 20pt;
    }
}
@media screen and (max-width: 600px) {
    .snack1 img{
        display: none
    }
    .snack1_device img{
        display: block;
    }
    .Publik_Figur{
        flex-direction: column;
        gap: 10px;
    }
    .PublikFigur_Kiri{
        width: 100%;
    }
    .PublikFigur_Kiri iframe{
        width: 100%;
        height: 270px;
    }
    .PublikFigur_Kanan{
        width: 100%;
    }
    .Publik_Figur iframe{
        width: 100%;
        height: 250px;
    }
    .Snack_Article{
        width: 100%;
        margin: 0px;
        gap: 15px;
    }
    .Con_Article{
        width: calc(50% - 12px);
        min-height: 350px;
        border-radius: 10px;
        
    }
    .Con_Article img{
        height: 170px;
    }
    .Con_Article:nth-child(n+5){
        display: none;
    }
    .CariToko{
        min-height: 400px;
        flex-direction: column;
        gap: 15px;
    }
    .CariToko_Kiri{
        width: 100%;
    }
    .CariToko_Kanan{
        width: 100%;
        display: flex;
        padding-left: 10px;
        padding-right: 10px;
    }
    .CariToko_Kanan img{
        width: 100%;
        height: auto;
        bottom: 0;
    }
    .CariToko_Kiri{
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .Snack_2rb p{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .Snack2rb_kiri, 
    .Snackbesar_kiri{
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .Snack_Besar p{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .SnackDevice{
        display: block;
    }
    .SnackDesktop{
        display: none;
    }
    
}
@media screen and (max-width: 540px) {
    .toko-terdekat-card{
        display: flex;
        flex-direction: column;
        flex: 0 0 102%;
        min-height: 450px;
        padding: 17px;
        padding-bottom: 20px;
        background-color: var(--list-article);
        text-decoration: none;
    }
}