@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');
:root {
    /* ganti kode warna dibawah ini sesuai keinginan */
    --black: #111111;
    --semi-black: #505050;
    --bg-transparent-black: rgba(0, 0, 0, 0.5);
    --white: #ffffff;
    --orange: #DC143C; /* MERAH */
    --deep-orange: #BB1133; /* DEEP MERAH */
    --semi-orange: #F05C79; /* DEMI MERAH */
    --grey: #959595;
    --border-grey: #e2e2e2;
    --semi-grey: #f5f5f5;
    --red: #CC3333; /* MERAH DUA */
}

* {
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--semi-grey);
}

.width {
    width: 85%;
    margin: 0 auto;
}

a {
    text-decoration: none;
}

/* HEADER */
/* HEADER */

header {
    width: 100%;
    padding: 10px 0;
    /* PERUBAHAN: Awalnya transparan */
    background-color: transparent;
    -webkit-box-shadow: none; /* Shadow ilang dulu */
    -moz-box-shadow: none;
    box-shadow: none;
    position: fixed;
    z-index: 2;
    /* PERUBAHAN: Tambahin transisi biar halus */
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* PERUBAHAN: Ini class baru yang bakal ditambahin pas di-scroll */
header.header-scrolled {
    background-color: var(--orange);
    -webkit-box-shadow: 0px 2px 2px 0px var(--deep-orange);
    -moz-box-shadow: 0px 2px 2px 0px var(--deep-orange);
    box-shadow: 0px 2px 2px 0px var(--deep-orange);
}

.back_header {
    width: 100%;
    height: 70px;
}

.header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo_header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.box_search_header {
    flex: 1;
    position: relative;
    margin: 0 40px;
}

.search_header {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    /* PERUBAHAN: Background search bar jadi semi-transparan biar kelihatan di atas banner */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 30px; /* Bikin lebih rounded */
    -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1); /* Shadow lebih halus */
    -moz-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.search_header:focus-within {
    background-color: #fff; /* Jadi putih pas lagi fokus */
    box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.15);
}

.menu_header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.svg_logo_header {
    height: 50px;
}

.logo_header p {
    color: var(--white); /* Tetep putih, asumsi banner gelap */
    margin-left: 15px;
    font-size: 23px;
    font-weight: 500;
    /* PERUBAHAN: Tambahin text-shadow biar tetep jelas di atas banner apapun */
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.search_header input {
    font-family: 'Poppins', sans-serif;
    flex: 1;
    height: 40px;
    padding: 0 15px;
    border: 0;
    font-size: 13px;
    outline: none;
    background-color: transparent; /* Input-nya transparan */
}

.search_header button {
    width: 50px; /* Diperkecil */
    height: 40px;
    background-color: var(--orange);
    margin-left: 5px; /* Diperkecil marginnya */
    border: 0;
    border-radius: 25px; /* Rounded */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search_header button:hover {
    background-color: var(--deep-orange);
}

.search_header button i {
    color: var(--white);
    font-size: 18px;
}

.profile_menu_header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.profile_menu_header a {
    color: var(--white); /* Tetep putih */
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    /* PERUBAHAN: Tambahin text-shadow */
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.profile_menu_header p {
    color: var(--white);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    margin: 0 10px;
    /* PERUBAHAN: Tambahin text-shadow */
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.box_icon_menu_header {
    width: 30px;
    height: 30px;
    margin-right: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
}

/* PERUBAHAN: Tambahin efek hover */
.box_icon_menu_header:hover {
    transform: translateY(-3px);
}

.box_icon_menu_header p {
    padding: 1px 6.5px;
    background-color: var(--white);
    position: absolute;
    color: var(--orange);
    font-weight: 600;
    font-size: 11px;
    left: 5px;
    top: -5px;
    border-radius: 15px;
    border: 2px solid var(--orange);
}

.profile_menu_header i {
    font-size: 30px;
    color: var(--white);
}

.profile_menu_header h5 {
    font-size: 29px;
    color: var(--white);
    margin-top: -2px;
    font-weight: normal;
}

.box_img_menu_header {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--white);
    transition: transform 0.2s ease;
}

/* PERUBAHAN: Tambahin efek hover */
.box_img_menu_header:hover {
    transform: scale(1.1);
}

.box_img_menu_header img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.res_search_header {
    width: 100%;
    box-sizing: border-box;
    background-color: var(--white);
    position: absolute;
    margin-top: 10px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 4px 0px var(--border-grey);
    -moz-box-shadow: 0px 0px 4px 0px var(--border-grey);
    box-shadow: 0px 0px 4px 0px var(--border-grey);
    display: none;
    padding: 6px 0;
}

.loading_res_search_header {
    height: 30px;
    margin: 40px 0;
    display: none;
}

#isi_res_search_header {
    display: none;
}

/* SEARCH HEADER RESULTS */
.hasil_search_header {
    width: 100%;
    padding: 8px 20px;
    box-sizing: border-box;
    color: var(--black);
    font-size: 14px;
    transition: 0.2s;
}

.hasil_search_header:hover {
    background-color: var(--semi-grey);
}

.hasil_search_header_0 {
    color: var(--black);
    font-size: 14px;
    text-align: center;
    margin: 20px 0;
}

@media only screen and (max-width: 600px) {
    .hasil_search_header {
        font-size: 12px;
        padding: 8px 18px;
    }

    .hasil_search_header_0 {
        font-size: 12px;
    }
}

/* FOOTER */

footer {
    width: 100%;
    padding: 45px 0px 38px 0px;
    background-color: var(--white);
    margin-top: 30px;
}

.footer {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 45px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--semi-grey);
}

.footer_grid {
    width: 100%;
    box-sizing: border-box;
}

.footer_grid h1 {
    font-size: 15px;
    font-weight: 600;
    color: var(--semi-black);
    margin-bottom: 20px;
}

.footer_grid a {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--semi-black);
}

.footer_grid p {
    margin: 7px 0px;
}

.footer_grid i {
    font-size: 18px;
    margin-right: 8px;
}

.footer_grid img {
    width: 55px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.footer_sosmed {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 13px;
}

.isi_footer_sosmed {
    width: 100%;
    /* background-color: blue; */
    display: flex;
    font-display: row;
    align-items: center;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: var(--grey);
}

/* LIST PRODUK */

.list_produk {
    width: 100%;
    background-color: var(--white);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.list_produk:hover,
.list_produk:active {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* Membuat aspek rasio 1:1 */
}

.list_produk img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.list_produk:hover img,
.list_produk:active img {
    transform: scale(1.05);
}

.text_list_produk {
    width: 100%;
    padding: 13px 15px 15px 15px;
    box-sizing: border-box;
}

.box_judul_list_produk {
    width: 100%;
    height: 43px;
}

.box_judul_list_produk p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.list_produk:hover .box_judul_list_produk p,
.list_produk:active .box_judul_list_produk p {
    color: var(--orange);
}

.box_harga_list_produk {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    align-items: center;
}

.box_harga_list_produk h1 {
    font-size: 15px;
    color: var(--orange);
    font-weight: 600;
}

.box_harga_list_produk span {
    font-size: 13px;
}

.box_harga_list_produk p {
    font-size: 11.5px;
    color: var(--black);
    background-color: var(--semi-grey);
    padding: 2px 6px;
    border-radius: 10px;
}

/* BOTTOM NAVIGATION */

.back_bot_nav {
    width: 100%;
    height: 50px;
    margin-top: 15px;
    display: none;
}

.bot_nav_cover {
    display: none;
}

.bot_nav {
    width: 100%;
    padding: 8px 0;
    position: fixed;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 5px;
    box-sizing: border-box;
    background-color: var(--white);
    -webkit-box-shadow: 0px -1px 2px 0px var(--border-grey);
    -moz-box-shadow: 0px -1px 2px 0px var(--border-grey);
    box-shadow: 0px -1px 2px 0px var(--border-grey);
}

.isi_bot_nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.isi_bot_nav i {
    font-size: 22px;
    color: var(--grey);
}

.isi_bot_nav p {
    font-size: 10px;
    margin-top: 3px;
    font-weight: 500;
    color: var(--grey);
}

.isi_bot_nav h4 {
    font-size: 22px;
    color: var(--orange);
}

.isi_bot_nav h5 {
    font-size: 10px;
    margin-top: 3px;
    font-weight: 500;
    color: var(--orange);
}

.isi_bot_nav h3 {
    position: absolute;
    background-color: var(--orange);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 10px;
    margin-top: -5px;
    margin-left: 25px;
    border: 2px solid var(--white);
}

/* BELUM LOGIN */

.belum_login {
    width: 100%;
    background-color: var(--white);
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 140px 30px;
    box-sizing: border-box;
}

.belum_login img {
    height: 110px;
}

.belum_login h1 {
    font-size: 18px;
    color: var(--black);
    font-weight: 500;
    margin-top: 25px;
    text-align: center;
}

.login_belum_login {
    width: 200px;
    height: 48px;
    background-color: var(--orange);
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.login_belum_login p {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
}

/* ADMIN */

.admin {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
}

.header_responsive_admin {
    width: 100%;
    height: 55px;
    background-color: var(--white);
    position: fixed;
    display: none;
    border-bottom: 1px solid var(--semi-grey);
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.header_responsive_admin i {
    font-size: 20px;
    color: var(--black);
}

.header_responsive_admin p {
    font-size: 18px;
    color: var(--black);
    font-weight: 500;
    margin-left: 15px;
}

.menu_admin {
    width: 310px;
    height: 100%;
    background-color: var(--white);
    box-sizing: border-box;
    padding: 50px 40px;
    overflow: auto;
}

.content_admin {
    flex: 1;
    height: 100%;
    background-color: var(--semi-grey);
    box-sizing: border-box;
    padding: 50px;
    overflow: auto;
}

.menu_profile_admin {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu_profile_admin img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 45px;
}

.menu_profile_admin p {
    font-size: 16px;
    font-weight: 600;
    color: var(--orange);
    margin-left: 20px;
}

.menu_list {
    width: 100%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
}

.menu_list_isi {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu_list_isi_active {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.box_icon_menu_list_isi {
    width: 19px;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -3px;
}

.menu_list_isi i {
    font-size: 19px;
    color: var(--grey);
    opacity: 0.55;
}

.menu_list_isi p {
    margin-left: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.menu_list_isi_active i {
    font-size: 19px;
    color: var(--orange);
}

.menu_list_isi_active p {
    margin-left: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--orange);
}

.line_menu_list {
    width: 100%;
    height: 1px;
    background-color: var(--border-grey);
    /* margin-top: 30px; */
}

.title_content_admin {
    font-size: 23px;
    font-weight: 600;
    color: var(--black);
}

.isi_content_admin {
    width: 100%;
    margin-top: 35px;
}

/* COMPONENT */

.p_input {
    font-size: 14px;
    font-weight: 500;
    color: var(--grey);
    margin-bottom: 5px;
}

.input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-grey);
    padding: 10px 13px;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--black);
    outline: none;
    resize: none;
}

.select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-grey);
    padding: 10px 13px;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--black);
    outline: none;
}

.textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-grey);
    padding: 13px;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--black);
    outline: none;
    resize: none;
}

.button {
    width: 100%;
    height: 48px;
    background-color: var(--orange);
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button p {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.button img {
    width: 27px;
    height: 27px;
}

/* POPUP CONFIRM */

.back_popup_confirm {
    width: 100%;
    height: 100vh;
    background-color: var(--bg-transparent-black);
    position: fixed;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.popup_confirm {
    width: 320px;
    padding: 25px;
    box-sizing: border-box;
    background-color: var(--white);
    border-radius: 3px;
}

.head_popup_confirm {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.head_popup_confirm i {
    font-size: 30px;
    color: var(--orange);
}

.head_popup_confirm p {
    font-size: 15px;
    color: var(--black);
    margin-left: 15px;
    font-weight: 600;
}

.popup_confirm h5 {
    font-size: 14px;
    color: var(--semi-black);
    font-weight: 500;
    margin-top: 25px;
}

.box_button_popup_confirm {
    width: 100%;
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.button_cancel_popup_confirm {
    width: 100%;
    height: 38px;
    border-radius: 3px;
    background-color: var(--border-grey);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.button_cancel_popup_confirm p {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
}

.button_confirm_popup_confirm {
    width: 100%;
    height: 38px;
    border-radius: 3px;
    background-color: var(--orange);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.button_confirm_popup_confirm p {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.button_confirm_popup_confirm img {
    height: 20px;
    display: none;
}

#res {
    display: none;
}

/* RESPONSIVE */

@media only screen and (max-width: 900px) {
    .logo_header {
        display: none;
    }
    .box_search_header {
        margin: 0px 30px 0px 0px;
    }
    .box_menu_admin {
        width: 100%;
        height: 100vh;
        background-color: var(--bg-transparent-black);
        position: fixed;
        display: none;
    }
    .menu_admin {
        width: 280px;
        padding: 30px;
    }
    .content_admin {
        padding: 20px;
        margin-top: 55px;
    }
    .header_responsive_admin {
        display: flex;
    }
}

@media only screen and (max-width: 600px) {
    .width {
        width: 100%;
    }
    header {
        padding: 10px 0;
    }
    .back_header {
        height: 63px;
    }
    .menu_header {
        display: none;
    }
    .search_header {
        margin: 0 15px;
    }
    .res_search_header {
        margin: 5px 15px;
    }
    .search_header input {
        height: 32px;
        font-size: 11.5px;
        padding: 0 12px;
    }
    .search_header button {
        width: 55px;
        height: 32px;
    }
    .search_header button i {
        font-size: 16px;
    }
    footer {
        display: none;
    }
    .list_produk {
        border: 2px solid var(--semi-grey);
        box-sizing: border-box;
    }
    .list_produk img {
        height: 120px;
    }
    .text_list_produk {
        padding: 7px 10px 10px 10px;
    }
    .box_judul_list_produk {
        height: 37px;
    }
    .box_judul_list_produk p {
        font-size: 12px;
    }
    .box_harga_list_produk h1 {
        font-size: 12.5px;
        font-weight: 600;
    }
    .box_harga_list_produk span {
        font-size: 11px;
    }
    .box_harga_list_produk p {
        font-size: 9px;
        font-weight: 500;
    }
    .back_bot_nav {
        display: block;
    }
    .bot_nav_cover {
        display: block;
    }
    .belum_login {
        margin-top: 0;
    }
    .belum_login img {
        height: 90px;
    }
    .belum_login h1 {
        font-size: 16px;
    }
    .login_belum_login {
        width: 180px;
        height: 43px;
    }
    .login_belum_login p {
        font-size: 14px;
        font-weight: 500;
        color: var(--white);
    }
}

/* notifikasi popup dihapus */

/* ACCESSIBILITY */
a:focus-visible, button:focus-visible, select:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 2px;
}
.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
    background: var(--white);
    color: var(--black);
    padding: 8px 12px;
    border: 1px solid var(--border-grey);
    border-radius: 4px;
    z-index: 10000;
}

/* A/B Variant tweaks */
.variant-b .search_header button { background-color: var(--deep-orange); }
.variant-b .box_harga_list_produk h1 { color: var(--deep-orange); }

/* Mobile tap targets */
@media only screen and (max-width: 600px) {
    .box_icon_menu_header { width: 48px; height: 48px; }
    .search_header button { height: 40px; }
}

/* index.css */
/* BANNER IKLAN */

.banner_iklan {
    width: 100%;
    margin-top: 30px;
}

.owl-carousel {
    display: block;
}

.banner_big_iklan {
    position: relative;
}

.banner_loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    z-index: 2;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #fff;
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
}

.owl-dot.active {
    background: var(--orange);
}

.owl-dot:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
}

.banner_big_iklan {
    width: 100%;
}

.img_banner_big_iklan {
    width: 100%;
    height: 255px;
    object-fit: cover;
}

@media only screen and (max-width: 900px) {
    .img_banner_big_iklan { height: 210px; }
    .spinner { width: 40px; height: 40px; }
    .owl-dots { bottom: 10px; gap: 6px; }
    .owl-dot { width: 9px; height: 9px; }
}

@media only screen and (max-width: 600px) {
    .img_banner_big_iklan { height: 160px; }
    .spinner { width: 36px; height: 36px; }
    .owl-dots { bottom: 8px; gap: 5px; }
    .owl-dot { width: 8px; height: 8px; }
}

/* KATEGORI */

.kategori {
    width: 100%;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

.isi_kategori {
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--white);
    transition: 0.2s;
    border-radius: 35px;
}

.isi_kategori:hover {
    border: 2px solid var(--orange);
    border-radius: 3px;
}

.isi_kategori img {
    height: 70px;
}

.isi_kategori p {
    font-size: 14px;
    margin-top: 15px;
    color: var(--black);
    text-align: center;
    line-height: 20px;
}

/* FLASH SALE */

.flash_sale {
    width: 100%;
    margin-top: 30px;
}

.title_flash_sale {
    background-color: var(--white);
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.box_title_flash_sale {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.box_title_flash_sale i {
    font-size: 20px;
    font-weight: 600;
    color: var(--orange);
    margin-right: 5px;
    margin-top: -3px;
}

.box_title_flash_sale p {
    font-size: 25px;
    font-weight: 600;
    color: var(--orange);
}

.countdown_flash_sale {
    display: flex;
    flex-direction: row;
    margin-left: 20px;
    align-items: center;
}

.countdown_flash_sale div {
    width: 32px;
    height: 30px;
    background-color: var(--orange);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.countdown_flash_sale span {
    margin: 0 5px;
    font-weight: 600;
    color: var(--black);
    font-size: 16px;
}

.box_lihat_semua {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--orange);
    font-size: 16px;
    font-weight: 400;
}

.box_lihat_semua i {
    margin-top: 1px;
}

/* PERBAIKAN UTAMA: Parent container sekarang hanya wrapper */
.box_iklan_flash_sale {
    width: 100%;
    margin-top: 5px;
}

/* PERBAIKAN: Grid untuk Flash Sale (tanpa class .grid_terlaris) */
.box_iklan_flash_sale .skeleton-loader,
.box_iklan_flash_sale .products-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr; /* 5 kolom */
    grid-gap: 15px;
}

.iklan_flash_sale {
    width: 100%;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iklan_flash_sale:hover,
.iklan_flash_sale:active {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.box_persen_flashsale {
    background-color: var(--orange);
    position: absolute;
    text-align: center;
    margin-top: 10px;
    padding: 5px 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    right: 0;
    z-index: 1;
}

.iklan_flash_sale img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    float: left;
}

/* Override untuk wrapper gambar di flash sale agar tidak kena padding-top:100% */
.iklan_flash_sale .product-image-container {
    width: 100%;
    height: 180px;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.iklan_flash_sale .product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text_iklan_flash_sale {
    width: 100%;
    padding: 13px 15px 15px 15px;
    float: left;
    box-sizing: border-box;
}

.text_iklan_flash_sale h1 {
    font-size: 20px;
    font-weight: 500;
    color: var(--orange);
    text-align: center;
}

.text_iklan_flash_sale span {
    font-size: 15px;
}

.total_barang_flash_sale {
    width: 100%;
    height: 20px;
    margin-top: 15px;
    background-color: var(--semi-orange);
    border-radius: 20px;
    position: relative;
}

.persen_barang_flash_sale {
    height: 100%;
    background-color: var(--orange);
    border-radius: 20px;
    position: absolute;
}

.text_barang_flash_sale {
    width: 100%;
    height: 100%;
    position: absolute;
}

.text_barang_flash_sale p {
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
    text-align: center;
    line-height: 20px;
}

.box_fs_res {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* PRODUK TERLARIS */

.box_title_produk_terlaris {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.box_title_produk_terlaris p {
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
}

/* LIST PRODUK - PERBAIKAN UTAMA */

.list_produk {
    width: 100%;
    background-color: var(--white);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.list_produk:hover,
.list_produk:active {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* Membuat aspek rasio 1:1 */
}

.list_produk img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.list_produk:hover img,
.list_produk:active img {
    transform: scale(1.05);
}

.text_list_produk {
    width: 100%;
    padding: 13px 15px 15px 15px;
    box-sizing: border-box;
}

.box_judul_list_produk {
    width: 100%;
    height: 43px;
}

.box_judul_list_produk p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.list_produk:hover .box_judul_list_produk p,
.list_produk:active .box_judul_list_produk p {
    color: var(--orange);
}

.box_harga_list_produk {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    align-items: center;
}

.box_harga_list_produk h1 {
    font-size: 15px;
    color: var(--orange);
    font-weight: 600;
}

.box_harga_list_produk span {
    font-size: 13px;
}

.box_harga_list_produk p {
    font-size: 11.5px;
    color: var(--black);
    background-color: var(--semi-grey);
    padding: 2px 6px;
    border-radius: 10px;
}

/* SKELETON LOADING */

.skeleton-card {
    width: 100%;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.skeleton-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* PERBAIKAN: Untuk skeleton di grid terlaris, pakai aspek rasio 1:1 */
.grid_terlaris .skeleton-image {
    height: auto;
    padding-top: 100%;
}

.skeleton-text {
    height: 15px;
    margin: 15px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-title {
    height: 40px;
}

.skeleton-price {
    height: 20px;
    width: 70%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* RESPONSIVE */

@media only screen and (max-width: 900px) {
    .banner_big_iklan {
        width: 100%;
        height: auto;
    }
    .img_banner_big_iklan {
        height: 90px;
    }
    .banner_small_iklan {
        display: none;
    }
    .box_kategori {
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .box_kategori::-webkit-scrollbar {
        display: none;
    }
    .box_iklan_flash_sale_1 {
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .box_iklan_flash_sale_1::-webkit-scrollbar {
        display: none;
    }
    
    /* PERBAIKAN: Grid untuk tablet */
    .box_iklan_flash_sale .skeleton-loader,
    .box_iklan_flash_sale .products-container {
        grid-template-columns: 1fr 1fr 1fr 1fr; /* 4 kolom */
        grid-gap: 12px;
    }
}

@media only screen and (max-width: 600px) {
    .banner_iklan {
        margin-top: 15px;
    }
    .banner_big_iklan {
        padding: 0 15px;
        box-sizing: border-box;
    }
    .box_kategori {
        width: 100%;
    }
    .kategori {
        width: 850px;
        box-sizing: border-box;
        padding: 0 15px;
        grid-gap: 10px;
        margin-top: 15px;
    }
    .isi_kategori {
        padding: 10px 0;
    }
    .isi_kategori img {
        height: 50px;
    }
    .isi_kategori p {
        font-size: 11px;
        line-height: 16px;
    }
    .box_lihat_semua {
        display: none;
    }
    .flash_sale {
        margin-top: 15px;
        background-color: var(--white);
    }
    .title_flash_sale {
        padding: 15px;
    }
    .box_title_flash_sale {
        justify-content: space-between;
    }
    .countdown_flash_sale {
        float: right;
    }
    .box_title_flash_sale i {
        font-size: 15.5px;
    }
    .box_title_flash_sale p {
        font-size: 18px;
    }
    .countdown_flash_sale div {
        width: 27px;
        height: 24px;
        font-size: 12px;
    }
    .countdown_flash_sale span {
        font-size: 12px;
        margin: 0 4px;
    }
    .iklan_flash_sale img {
        height: 120px;
    }
    .iklan_flash_sale .product-image-container {
        height: 120px;
    }
    .iklan_flash_sale h1 {
        font-size: 15px;
    }
    .iklan_flash_sale span {
        font-size: 13px;
    }
    .total_barang_flash_sale {
        height: 18px;
    }
    .text_barang_flash_sale p {
        font-size: 10px;
    }
    .iklan_flash_sale {
        border: 2px solid var(--semi-grey)
    }
    .box_persen_flashsale p {
        font-size: 13px;
    }
    .title_flash_sale p {
        font-size: 17px;
        font-weight: 600;
    }
    /* Grid 2 kolom untuk mobile */
    .box_iklan_flash_sale .skeleton-loader,
    .box_iklan_flash_sale .products-container {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }
    
    /* PERBAIKAN: Grid untuk mobile, semua jadi 2 kolom */
    .box_iklan_flash_sale .skeleton-loader,
    .box_iklan_flash_sale .products-container {
        grid-template-columns: 1fr 1fr; /* 2 kolom */
        width: 100%;
    }
    
    .list_produk {
        border: 1px solid var(--semi-grey);
        margin-bottom: 10px;
    }
    
    .text_list_produk {
        padding: 10px;
    }
    
    .box_judul_list_produk {
        height: 40px;
    }
    
    .box_judul_list_produk p {
        font-size: 12px;
    }
    
    .box_harga_list_produk h1 {
        font-size: 13px;
    }
    
    .box_harga_list_produk span {
        font-size: 11px;
    }
    
    .box_harga_list_produk p {
        font-size: 9px;
    }
}
/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:active {
    transform: scale(1.1);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}

.whatsapp-float i {
    margin-top: 3px; /* Biar icon-nya pas di tengah */
}

/* Responsif biar nggak nabrak bottom nav di mobile */
@media only screen and (max-width: 600px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 70px; /* Diangkat biar nggak ketutupan menu bawah */
        right: 20px;
        font-size: 30px;
    }
}

@media only screen and (min-width: 1200px) {
    .box_iklan_flash_sale .skeleton-loader,
    .box_iklan_flash_sale .products-container {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; /* 6 kolom */
    }
}
