/* Tag Harga Pink */
.price-tag {
    display: inline-flex;
    align-items: center;
    background-color: #fff0f2;
    border: 1px solid #ffccd3;
    border-radius: 4px;
    padding: 2px 6px;
    width: max-content;
    margin-top:4px;
}

.price-value {
    color: #ff3b57;
    font-size: 10px;
}


/* Container Utama Produk */
.product-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 320px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Bagian Gambar dan Badge */
.image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Membuat aspek rasio 1:1 (Kotak) */
    background-color: #f9f9f9;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge Promosi di bawah gambar */
.promo-badges {
    display: flex;
    width: 100%;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
}

.badge-xtra {
    background-color: #004b93;
    padding: 6px 8px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-ongkir {
    background-color: #26aa99;
    padding: 6px 8px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Bagian Detail Informasi Produk */
.product-details {
    padding: 12px;
}


.discount-percentage {
    font-size: 11px;
    font-weight: bold;
    color: #ff4d4f;
    background-color: #fff1f0;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Tag Diskon Tambahan */

/* Bagian Rating dan Penjualan */
.rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.star-icon {
    color: #ffc107;
}

.separator {
    color: #ccc;
    margin: 0 2px;
}

/* Bagian Verifikasi / Logo Toko di bawah */
.shop-badges {
    display: flex;
    gap: 6px;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 8px;
    margin-top: 4px;
}

.badge-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}

.badge-blue {
    background-color: #007bff;
}

.badge-gold {
    background-color: #ffc107;
}

.bg-color{
    background-color: #df432a;
}

.banner-slider{
    margin-bottom:0px;
    border:1px solid #000;
}

.product-box17{
    margin-top:-30px;
    margin-bottom:0px;
}

/* Area Konten Teks */
.product-info {
    padding: 16px;
}


.btn-marketplace-fresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Jarak antara ikon dan teks */
    width: 100%;
    max-width: 320px;
    padding: 12px 24px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #ffffff;
    background: linear-gradient(135deg, #00b840 0%, #009639 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    /* box-shadow: 0 4px 12px rgba(0, 184, 64, 0.2); */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top:24px;
}

/* Efek saat kursor diarahkan atau tombol ditekan */
.btn-marketplace-fresh:hover {
    background: linear-gradient(135deg, #00cd47 0%, #00a33e 100%);
    box-shadow: 0 6px 16px rgba(0, 184, 64, 0.3);
    transform: translateY(-1px);
}

.btn-marketplace-fresh:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0, 184, 64, 0.2);
}

.btn-marketplace-elegant-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    padding: 12px 24px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #ff5722 0%, #ff3d00 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 61, 0, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-marketplace-elegant-orange:hover {
    background: linear-gradient(135deg, #ff6e40 0%, #ff4e17 100%);
    box-shadow: 0 6px 16px rgba(255, 61, 0, 0.35);
    transform: translateY(-1px);
}

.btn-marketplace-elegant-orange:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(255, 61, 0, 0.2);
}


.btn-marketplace-clean-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Jarak antara ikon dan teks */
    width: 100%;
    max-width: 320px;
    padding: 11px 24px;
    /* Sedikit dikurangi karena ada border 2px agar tinggi sama dengan tombol utama */
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;

    /* Warna Dasar Terang & Bersih */
    color: #009639;
    /* Teks warna hijau segar */
    background-color: #ffffff;
    /* Latar belakang putih bersih */

    /* Border Hijau yang Tegas namun Elegan */
    border: 2px solid #009639;
    border-radius: 10px;
    cursor: pointer;

    /* Bayangan tipis halus agar tombol terlihat premium (bukan flat biasa) */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efek saat kursor diarahkan (Hover) - Memberikan kesan "Fresh" */
.btn-marketplace-clean-green:hover {
    background-color: #f2faf4;
    /* Sentuhan warna hijau super muda saat di-hover */
    border-color: #00b840;
    /* Border berubah menjadi hijau sedikit lebih terang */
    color: #00b840;
    /* Teks ikut berubah menjadi hijau terang */
    box-shadow: 0 4px 12px rgba(0, 184, 64, 0.1);
    transform: translateY(-0.5px);
}

/* Efek saat tombol ditekan (Click/Active) */
.btn-marketplace-clean-green:active {
    background-color: #e6f5ea;
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* CONTAINER SELLER */
.seller-section {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f2;
    border-bottom: 1px solid #f0f0f2;
    margin-top: 16px;
    gap: 12px;
}

/* Avatar Penjual dengan Indikator Online */
.seller-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.seller-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: #00b840;
    /* Hijau aktif */
    border: 2px solid #ffffff;
    border-radius: 50%;
}

/* Detail Teks Penjual */
.seller-details {
    flex-grow: 1;
}

.seller-badge-container {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.seller-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0;
}

/* Badge Toko Resmi (Official Store) */
.badge-os {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    background-color: #009639;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.seller-location {
    font-size: 12px;
    color: #8c8c8c;
    margin: 4px 0 0 0;
}

/* Tombol Chat (Menggunakan gaya tengah putih border hijau elegan) */
.btn-chat-seller {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #009639;
    background-color: #ffffff;
    border: 1px solid #009639;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-chat-seller:hover {
    background-color: #f2faf4;
    color: #00b840;
    border-color: #00b840;
}


/* CONTAINER KATEGORI & META PRODUK */
.category-section {
    padding: 16px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-row {
    display: flex;
    font-size: 13px;
    line-height: 1.5;
}

/* Kolom Kiri (Label statis dengan warna abu-abu tipis) */
.meta-label {
    width: 100px;
    color: #8c8c8c;
    flex-shrink: 0;
}

/* Kolom Kanan (Nilai dinamis) */
.meta-value {
    color: #2d2d2d;
    font-weight: 500;
}

/* Link Kategori/Breadcrumb */
.category-link {
    color: #009639;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.category-link:hover {
    text-decoration: underline;
    color: #00b840;
}

.breadcrumb-arrow {
    margin: 0 4px;
    color: #ccc;
    font-size: 11px;
}

/* Teks Sorotan Hijau Lembut */
.highlight-text {
    color: #009639;
    font-weight: 600;
}


.merchant-container {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
}

/* Box Seller Utama */
.seller-profile-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

/* Avatar/Logo Toko Bulat */
.seller-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0;
}

/* Detail Informasi Toko */
.seller-info-wrapper {
    display: inline-block;
    vertical-align: middle;
}

.seller-name-container {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.badge-power-merchant {
    color: #03a84e;
    /* Warna hijau badge */
    margin-right: 5px;
    font-size: 14px;
}

.seller-name {
    font-size: 15px;
    font-weight: 700;
    color: #212121;
    margin: 0;
    text-transform: uppercase;
}

/* Baris Rating & Terjual */
.seller-stats {
    font-size: 13px;
    color: #666;
}

.icon-star {
    color: #ffc107;
    /* Warna kuning bintang */
    margin-right: 4px;
}

.text-rating-bold {
    font-weight: 700;
    color: #212121;
}

.text-muted-counts {
    color: #878787;
}

.stat-separator {
    margin: 0 4px;
    color: #c2c2c2;
}

.text-sold-bold {
    font-weight: 700;
    color: #212121;
}

/* Kolom Aksi Kanan (Tombol) */
.seller-actions {
    text-align: right;
}

.btn-follow {
    background-color: #03a84e;
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 6px 0;
    width: 85px;
    font-size: 13px;
    margin-bottom: 6px;
}

.btn-follow:hover,
.btn-follow:focus {
    color: #ffffff;
    background-color: #028f41;
}

.btn-chat {
    background-color: #ffffff;
    color: #666;
    font-weight: 700;
    border: 1px solid #c2c2c2;
    border-radius: 8px;
    padding: 4px 0;
    width: 85px;
    font-size: 13px;
}

.btn-chat:hover,
.btn-chat:focus {
    color: #333;
    background-color: #f5f5f5;
    border-color: #adadad;
}

/* Style Produk */
.product-card {
    margin-bottom: 15px;
}

.product-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.product-badge {
    display: inline-block;
    border: 1px solid #0056b3;
    color: #0056b3;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.merchant-container {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
}

/* Box Seller Utama */
.seller-profile-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

/* Avatar/Logo Toko Bulat */
.seller-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0;
}

/* Detail Informasi Toko */
.seller-info-wrapper {
    display: inline-block;
    vertical-align: middle;
}

.seller-name-container {
    display: flex;
    align-items: center;
    margin-bottom: 1px;
}

.badge-power-merchant {
    color: #03a84e;
    /* Warna hijau badge */
    margin-right: 5px;
    font-size: 13px;
}

.seller-name {
    font-size: 15px;
    font-weight: 700;
    color: #212121;
    margin: 0;
    text-transform: uppercase;
}

/* Informasi Kota */
.seller-city {
    font-size: 12px;
    color: #757575;
    margin-bottom: 2px;
}

/* Baris Rating & Terjual */
.seller-stats {
    font-size: 12px;
    color: #666;
}

.icon-star {
    color: #ffc107;
    /* Warna kuning bintang */
    margin-right: 3px;
}

.text-rating-bold {
    font-weight: 700;
    color: #212121;
}

.text-muted-counts {
    color: #878787;
}

.stat-separator {
    margin: 0 4px;
    color: #c2c2c2;
}

.text-sold-bold {
    font-weight: 700;
    color: #212121;
}

/* Kolom Aksi Kanan (Tombol) */
.seller-actions {
    text-align: right;
}

.btn-follow {
    background-color: #03a84e;
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 6px 0;
    width: 85px;
    font-size: 13px;
    margin-bottom: 6px;
}

.btn-follow:hover,
.btn-follow:focus {
    color: #ffffff;
    background-color: #028f41;
}

.btn-chat {
    background-color: #ffffff;
    color: #666;
    font-weight: 700;
    border: 1px solid #c2c2c2;
    border-radius: 8px;
    padding: 4px 0;
    width: 85px;
    font-size: 13px;
}

.btn-chat:hover,
.btn-chat:focus {
    color: #333;
    background-color: #f5f5f5;
    border-color: #adadad;
}

/* Style Produk */
.product-card {
    margin-bottom: 15px;
}

.product-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.product-badge {
    display: inline-block;
    border: 1px solid #0056b3;
    color: #0056b3;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.product-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    text-transform: none;
}

/* Bagian Harga */
.price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.current-price {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #0056b3;
    /* Menyesuaikan warna biru harga */
}

.original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.voucher-tag {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: inline-block;
    font-size: 10px;
    color: #0056b3;
    border: 1px solid #0056b3;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: normal;
    margin-top: 4px;
}

.row .detail-info .title-detail {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 24px;
    font-size: 16px;
    font-weight:normal;
    margin-bottom: 8px;
}

.product-price {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 4px;
}

.voucher-tag-details {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: inline-block;
    font-size: 12px;
    color: #0056b3;
    border: 1px solid #0056b3;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: normal;
    margin-top: 4px;
}