/* Carausel ====================== */
.carauser_container{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
}
.carausel_track_container {
    width: 100%;
    padding: 1px 15%;
    box-sizing: border-box;
}
.carausel_track {
    display: flex;
    gap: 10px;
    width: 100%;
}
a.carausel_item {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    transform: scale(0.95);
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
a.carausel_item.active {
    transform: scale(1);
}
.carausel_img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 1;
}
.carausel_btn button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}
.carauser_container:hover .carausel_btn button {
    opacity: 1;
    visibility: visible;
}
.carausel_btn .to_left { 
    left: calc(15% - 20px); 
    transform: translateY(-50%) scale(0.9); 
}
.carausel_btn .to_right { 
    right: calc(15% - 20px); 
    transform: translateY(-50%) scale(0.9);
}
.carauser_container:hover .carausel_btn button:hover {
    transform: translateY(-50%) scale(1.1);
    background: #f5f5f5;
}
.carausel_indicator {
    position: absolute;
    bottom: 0;
    right: 10px;
    display: flex;
    gap: 6px;
}
.carausel_indicator .dot {
    width: 8px;
    height: 8px;
    background: #dbdbdb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carausel_indicator .dot.active {
    background: #414141;
    width: 24px;
    border-radius: 4px;
}


/* Menu Categpry home page ============== */
.flex_icon_top{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.iconik_toko{
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.img_show_svg{
    width: 20px;
    height: 20px;
    border-radius: 10px;
    object-fit: cover;
}
.iconik_text{
    font-size: 12px;
    color: var(--main-text);
    font-weight: 600;
}
.menu_nav_container {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    padding: 0 10px;
    box-sizing: border-box;
}
.menu_nav_container::before,
.menu_nav_container::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.3) 50%, transparent);
}
.menu_nav_container::before {
    top: 0;
}
.menu_nav_container::after {
    bottom: 0;
}
.menu_nav_wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 2px 5px;
    scrollbar-width: none;
}
.menu_nav_wrapper::-webkit-scrollbar {
    display: none;
}
.menu_nav_item {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    text-decoration: none;
    color: var(--muted-text);
    padding: 8px 12px;
    border-radius: 8px;
}
.menu_nav_icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
}
.menu_nav_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.menu_nav_title {
    font-size: 12px;
    font-weight: 400;
}
.nav_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #111111;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease;
}
.nav_arrow.show {
    opacity: 1;
    visibility: visible;
}
.arrow_left {
    left: -15px;
}
.arrow_right {
    right: -15px;
}
.payday_aja{
    width: 100%;
    display: block;
    margin-top: 2rem;
    position: relative;
}
.payday_img{
    display: block;
    width: 100%;
    height: auto;
}
.payday_absolute{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 2rem;
}
.payday_item{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.payday_box{
    background-color: var(--main-bg);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    font-family: var(--heading-font);
}
.payday_text{
    color: var(--main-bg);
    font-size: 18px;
}

/* Member baru only ================== */
.silohon_voucer_section {
    margin-top: 2rem;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 16px 0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 280px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}

/* Efek Tiket Sobek */
.silohon_concave {
    position: absolute;
    border-radius: 100%;
    background-color: #fff;
    left: 140px; 
    width: 32px;
    height: 32px;
    z-index: 2;
}
.silohon_concave.silohon_for_top { top: -16px; }
.silohon_concave.silohon_for_bottom { bottom: -16px; }

.silohon_vc_header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.silohon_vc_title {
    font-weight: 700;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.silohon_voucer_selengkapnya {
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}
.silohon_vc_content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
}
.silohon_vc_left_deals {
    width: 158px;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    border-right: 2px dashed rgba(0, 0, 0, 0.1);
}
.silohon_vc_listing {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.silohon_vc_icon {
    object-fit: contain;
    width: 32px;
    height: 32px;
}
.silohon_vc_reward {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.silohon_vc_tnc {
    display: flex;
    gap: 4px;
    align-items: center;
}
.silohon_vc_coupon_code {
    font-size: 11px;
    font-weight: 700;
    color: var(--main-color);
    background: rgba(1, 113, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.silohon_blu_button {
    padding: 10px;
    border: none;
    background-color: var(--main-color);
    width: 100%;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s ease;
}
.silohon_blu_button:hover { background-color: var(--dark-main-color); }
.silohon_vc_right_products {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}
.silohon_slider_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.silohon_scroller_container {
    overflow-x: auto;
    scrollbar-width: none; 
    scroll-behavior: smooth;
    height: 100%;
}
.silohon_scroller_container::-webkit-scrollbar { display: none; }
.silohon_scroller_content {
    display: flex;
    gap: 12px;
    padding: 4px 0;
}
.silohon_product_item{
    flex-shrink: 0;
    width: 150px;
}
.silohon_product_card{
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.2s ease;
}
.silohon_product_card:hover{ transform: translateY(-2px); }
.silohon_ribbon{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.silohon_ribbon_content{
    background-color: #d33534;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px 4px 4px 0;
}
.silohon_product_image{
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    background: #f7f9fa;
    overflow: hidden;
}
.silohon_product_image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.silohon_product_info{
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.silohon_product_price_offer{
    color: #d33534;
    font-size: 14px;
}
.silohon_product_currency { font-size: 11px; margin-right: 1px; }
.silohon_product_price_original {
    font-size: 11px;
    color: var(--muted-text);
    text-decoration: line-through;
}
.silohon_slider_arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 100%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--silohon-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}
.silohon_slider_arrow:hover { background: #f4f4f4; }
.silohon_slider_arrow.silohon_arrow_left { left: 0; }
.silohon_slider_arrow.silohon_arrow_right { right: 20px; }


/* Flash Sale ============================ */
.flash_sale_container{
    width: 100%;
    margin-top: 2rem;
    border-radius: 8px;
    padding: 15px;
    background-color: #313487;
    position: relative;
}
.flash_heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.flash_heading_left{
    display: flex;
    align-items: center;
    gap: 10px;
}
.flash_title{
    height: 30px;
    width: auto;
}
.box_flash_timer{
    display: flex;
    align-items: center;
    gap: 5px;
}
.flash_time{
    background-color: var(--main-bg);
    width: 28px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 12px;
    color: var(--danger-color);
}
.flash_sparator{
    color: var(--main-bg);
}
.flash_selengkapnya{
    color: var(--main-bg);
    font-size: 14px;
}
.silohon_stock_container {
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}
.silohon_stock_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.silohon_stock_status {
    font-size: 11px;
    font-weight: 700;
    color: #4a5568;
}
.silohon_progress_bg {
    width: 100%;
    height: 6px;
    background-color: #edf2f7;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.silohon_progress_bar {
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}
.silohon_bar_danger {
    background: linear-gradient(90deg, #ff4d4d, #e53e3e);
}
.silohon_bar_warning {
    background: linear-gradient(90deg, #ffb300, #dd6b20);
}
.silohon_bar_safe {
    background: linear-gradient(90deg, #19A8DE, #0171FF);
}
.silohon_bar_empty {
    background-color: #cbd5e0;
}
.silohon_product_card.see_alp{
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--main-bg);
}

/* Top Liked ================================= */
.top_liked{
    width: 100%;
    margin-top: 2rem;
    background-color: #E8F4FF;
    border-radius: 8px;
    position: relative;
}
.sl_product_name{
    color: var(--main-color);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sl_product_location{
    margin-top: 5px;
    font-size: 12px;
    text-transform: capitalize;
    color: var(--muted-text);
}
.sl_product_location i{
    color: var(--main-color);
}
.sl_tab_products{
    width: 100%;
    margin-top: 4rem;
}
.tab_header{
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--main-bg);
}
.tab_btn{
    border: none;
    cursor: pointer;
    background-color: transparent;
    font-size: 14px;
    color: var(--muted-text);
    text-transform: capitalize;
    padding: 10px 0;
}
.tab_btn.active{
    color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
.tab_content_container{
    display: block;
    margin-top: 1rem;
}
.tab_content{
    display: none;
    visibility: hidden;
}
.tab_content.active{
    visibility: visible;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.tab_item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: var(--main-bg, #fff);
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    overflow: visible;
    margin-bottom: 20px;
}
.tab_item:hover img{
    transform: scale(1.02);
}
.tab_image {
    background-color: #F7F7F7;
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.tab_image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    transition: var(--transition-normal);
}
.discount_item {
    position: absolute;
    top: 8px;
    left: -5px;
    background-color: var(--danger-color, #ff4d4f);
    color: var(--main-bg, #fff);
    font-size: 10px;
    padding: 2px 6px;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
    z-index: 10;
}
.discount_item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    border-top: 4px solid #8a1313;
    border-left: 4px solid transparent;
}
.tab_produk_info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    justify-content: flex-start;
}
.tab_produk_name {
    color: var(--main-color, #333);
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    min-width: 0;
}
.tab_fix_price {
    font-weight: bold;
    font-size: 14px;
    color: #ff4d4f;
    display: block;
}
.tab_price_from {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-top: -2px;
}
.tab_other_info {
    display: flex;
    gap: 5px;
    font-size: 11px;
    color: #666;
    margin-top: auto;
    padding-top: 5px;
}
.tab_is_rating i{
    color: goldenrod;
}
.tab_location{
    font-size: 12px;
    color: var(--muted-text);
}
.tab_location i{
    color: var(--main-color);
}