:root {
    --Main: #2275fc;
    --White: #fff;
    --Black: #111;
    --Heading: #111;
    --Body-Text: #575864;
    --22-c-55-e: #22C55E;
    --Style: #FF5200;
    --Palette-Green-500: #22C55E;
    --Palette-Blue-Gray-300: #CBD5E1;
    --Palette-Blue-Gray-200: #E2E8F0;
    --Palette-Blue-300: #93C5FD;
    --Palette-Blue-200: #BFDBFE;
    --Palette-Orange-400: #FB923C;
    --Palette-Red-400: #F87171;
    --Palette-Red-500: #EF4444;
    --Input: #ECF0F4;
    --Icon: #CBD5E1;
    --Note: #95989D;
    --Text-Holder: #858B93;
    --08091-b: #08091B;
    --Stroke: #ECF0F4;
    --bg-table: #f6f8fbcc;
    --bg-table-1: #F7FAFC;
    --backdrop: #F2F7FB;
    --hv-item: #EDF1F5;
}


.footer-middle {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

.text-right {
    text-align: right;
}

.pt-90 {
    padding-top: 90px !important;
}

.my-account__address-list {
    display: flex;
    gap: 1.625rem;
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: 48px;
}


#reset-category-filter {
    border-radius: 50px;
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 8px 12px;
    color: #333;
    font-size: 16px;
}

#reset-category-filter:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

#reset-category-filter i {
    margin-right: 5px;
}

/* Gaya dasar untuk kategori dan subkategori */

.list-inline {
    list-style: none;
    padding-left: 0;
}

.category-item {
    position: relative;
}

/* Subkategori yang dipilih akan berwarna biru */
.menu-link.selected {
    color: blue !important;
    font-weight: bold;
}

/* Gaya untuk daftar subkategori */
.subcategory-list {
    display: none;
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

/* Menampilkan subkategori yang terbuka */
.subcategory-list.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.menu-link:hover {
    color: #007bff;
    /* Warna saat hover */
}

.filled-heart {
    color: orange;
}

.product-variation-swatches {
    display: flex;
    gap: 5px;
    /* Jarak antar pilihan warna */
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-variation-swatch {
    width: 80px;
    /* Sesuaikan ukuran swatch */
    height: 80px;
    border-radius: 50%;
    /* Agar berbentuk lingkaran */
    overflow: hidden;
    border: 1px solid #ddd;
    /* Border ringan */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Animasi transisi */
}

.product-variation-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Pastikan gambar terisi dengan baik */
    border-radius: 50%;
}

/* Efek saat hover */
.product-variation-swatch:hover {
    transform: scale(1.2);
    /* Perbesar sedikit */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Tambahkan bayangan */
}

/* Menghapus efek abu-abu bawaan pada tombol yang tidak aktif */
.swatch-size {
    background-color: transparent !important;
    border-color: #ddd !important;
    color: #000 !important;
}

/* Memberikan warna yang jelas untuk tombol yang aktif */
.swatch-size.active {
    background-color: black !important;
    color: white !important;
    border-color: black !important;
}

.quantity-field {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    margin: 0 auto;
}

.quantity-field .value-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    width: 40px;
    height: 100%;
    background: #eee;
    cursor: pointer;
    user-select: none;
    /* Mencegah teks bisa diseleksi */
    font-size: 16px;
    font-weight: bold;
}

.quantity-field .value-button:hover {
    background: rgb(230, 230, 230);
}

.quantity-field .value-button:active {
    background: rgb(210, 210, 210);
}

.quantity-field .decrease-button {
    border-radius: 8px 0 0 8px;
}

.quantity-field .increase-button {
    border-radius: 0 8px 8px 0;
}

.quantity-field .number {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 40px;
    height: 100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 11pt;
    font-family: Calibri, sans-serif;
    background: white;
    user-select: none;
    /* Mencegah teks bisa diseleksi */
}

.btn-addtocart {
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #00a2ff;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-addtocart:hover {
    background-color: #00a5e6;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/*======================
    404 page
=======================*/

.page_404 {
    padding: 40px 0;
    background: #fff;
    font-family: "Arvo", serif;
    text-align: center;
    /* Pusatkan teks agar lebih rapi di mobile */
}

.page_404 img {
    width: 100%;
    max-width: 350px;
    /* Batasi ukuran gambar agar tidak terlalu besar di layar kecil */
}

.four_zero_four_bg {
    background-image: url('/assets/images/dribbble_1.gif');
    height: 400px;
    background-position: center;
    background-size: cover;
    /* Pastikan gambar menyesuaikan layar */
}

/* Ukuran font untuk layar besar */
.four_zero_four_bg h1 {
    font-size: 80px;
}

.four_zero_four_bg h3 {
    font-size: 80px;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .four_zero_four_bg {
        height: 250px;
        /* Kurangi tinggi agar tidak terlalu besar di layar kecil */
    }

    .four_zero_four_bg h1 {
        font-size: 50px;
        /* Kurangi ukuran font agar tidak terlalu besar */
    }

    .four_zero_four_bg h3 {
        font-size: 40px;
    }

    .contant_box_404 {
        margin-top: -30px;
        /* Sesuaikan margin untuk tampilan yang lebih rapi */
        padding: 10px;
    }

    .link_404 {
        font-size: 14px;
        /* Perkecil tombol agar pas di layar kecil */
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .four_zero_four_bg {
        height: 200px;
    }

    .four_zero_four_bg h1 {
        font-size: 40px;
    }

    .four_zero_four_bg h3 {
        font-size: 30px;
    }

    .link_404 {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.bank-icon {
    width: 50px;
    height: auto;
}

@media (max-width: 576px) {
    .bank-logo {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }

    .bank-info {
        text-align: left;
        width: 100%;
    }

    .bank-account-name {
        text-align: left;
        width: 100%;
        margin-top: 5px;
    }
}

.custom-file-label {
    background-color: #ff6f61;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.custom-file-label:hover {
    background-color: #e65c50;
}

/* Badge Notifikasi */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    display: none;
}


/* Dropdown Notifikasi */
.notification-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #ddd;
    display: none;
    z-index: 9999;
}

/* Header Notifikasi */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.notification-header .view-all {
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
}

/* List Notifikasi */
.notification-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s;
}

.notification-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Avatar */
.notification-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

/* Detail Notifikasi */
.notification-item div {
    flex: 1;
}

.notification-item .body-title-2 {
    font-weight: bold;
    font-size: 14px;
}

.notification-item .text-tiny2 {
    font-size: 12px;
    color: #555;
}

.notification-item small {
    font-size: 10px;
    color: #999;
}

/* Notifikasi belum dibaca (warna hijau) */
.unread {
    background-color: #e8f5e9 !important;
    /* Hijau terang */
    font-weight: bold;
    border-left: 5px solid green;
    /* Garis hijau di kiri */
}

/* Notifikasi sudah dibaca (warna abu-abu) */
.read {
    background-color: #f0f0f0 !important;
    /* Abu-abu terang */
    color: #777;
    /* Warna teks lebih redup */
}

.read small {
    color: #999;
    /* Warna timestamp lebih redup */
}

/* Styling umum */
.notification-item {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.notification-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Responsive untuk Mode Mobile */
@media screen and (max-width: 768px) {
    .notification-dropdown {
        width: 90%;
        left: 5%;
        right: 5%;
        top: 50px;
    }

    .notification-badge {
        font-size: 10px;
        width: 16px;
        height: 16px;
    }

    .notification-item img {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }

    .notification-item .body-title-2 {
        font-size: 13px;
    }

    .notification-item .text-tiny2 {
        font-size: 11px;
    }

    .notification-item small {
        font-size: 9px;
    }
}

/* Desktop */
.text-tiny {
    position: absolute;
    z-index: 5;
    top: -6px; /* Dekatkan ke atas ikon */
    right: 10px; /* Jarak agar tetap di sisi kanan ikon */
    transform: none; /* Pastikan tidak bergeser */

    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-weight: 500;
    font-size: 12px;
    line-height: 17px;
    border-radius: 50%;
    background: var(--Style);
    color: #fff;
}

/* Mobile (Lebih kecil & lebih dekat ke ikon) */
@media (max-width: 768px) {
    .text-tiny {
        top: -4px; /* Sedikit lebih dekat di mobile */
        right: 6px; /* Jarak lebih kecil agar tetap pas */
        width: 14px; /* Ukuran lebih kecil untuk mobile */
        height: 14px;
        font-size: 10px; /* Font lebih kecil */
        line-height: 14px;
    }
}

.text-tiny::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--Style);
    border-radius: 50%;
    z-index: -1;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
