        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Poppins", sans-serif;
        }

        body {
            background: url('bg9.png');
            background-size: cover;
            background-attachment: fixed;
            overflow-x: hidden;
            padding-bottom: 80px;
        }


        /* NAVBAR (TIDAK DIUBAH) */
        nav {
            width: 100%;
            padding: 18px 50px;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 20;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(0,0,0,0.35);
            backdrop-filter: blur(12px);
            color: white;
            font-size: 20px;
            font-weight: 600;
        }

        .brand-box {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .brand-box img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 26px;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            transition: 0.2s;
        }

        nav ul li a:hover { opacity: 0.7; }


        /* BANNER PRODUK */
            .product-hero {
                margin-top: 90px;
                height: 200px;
                background: linear-gradient(90deg, #00b819ff, #019b16);
                display: flex;
                align-items: center;
                padding-left: 70px;
                color: white;
            }


        .product-hero h1 {
            font-size: 42px;
            font-weight: 700;
            text-shadow: 0 4px 20px rgba(0,0,0,0.4);
        }


        /* SIDEBAR FILTER */
        .filter-toggle {
            position: fixed;
            top: 30%;
            left: 0;
            background: #4c5cff;
            color: white;
            padding: 12px 18px;
            border-radius: 0 10px 10px 0;
            cursor: pointer;
            z-index: 40;
            box-shadow: 0 4px 18px rgba(0,0,0,0.25);
            font-size: 15px;
            font-weight: 600;
        }

        .filter-sidebar {
            position: fixed;
            top: 0;
            left: -300px;
            width: 300px;
            height: 100vh;

            background: rgba(255,255,255,0.22);
            backdrop-filter: blur(18px);
            border-right: 1px solid rgba(255,255,255,0.35);

            padding: 30px;
            transition: 0.35s ease;
            z-index: 39;

            box-shadow: 4px 0 30px rgba(0,0,0,0.35);
            animation: fadeInSidebar 0.5s ease;
        }

        @keyframes fadeInSidebar {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .filter-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .filter-box {
            margin-bottom: 26px;
            color: #333;
            font-weight: 600;
        }

        .filter-box select,
        .filter-box input {
            width: 100%;
            padding: 10px;
            border-radius: 12px;
            border: none;
            background: rgba(255,255,255,0.75);
            outline: none;
        }


        /* PRODUK GRID */
        .product-container {
            margin-left: 40px;
            padding: 40px 60px;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
            gap: 35px;
        }

        .product-card {
            background: rgba(255,255,255,0.65);
            backdrop-filter: blur(12px);
            border-radius: 18px;
            padding: 14px;
            box-shadow: 0 8px 35px rgba(0,0,0,0.2);
            transition: 0.25s;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.4);
        }

        .product-card:hover {
            transform: translateY(-6px) scale(1.03);
            box-shadow: 0 12px 35px rgba(0,0,0,0.35);
        }

        .product-card img {
            width: 100%;
            height: 190px;
            border-radius: 14px;
            object-fit: cover;
        }

        .product-card h3 {
            margin-top: 10px;
            font-size: 18px;
            font-weight: 600;
        }

        .product-card p {
            color: #444;
            font-size: 14px;
        }

        .product-price {
            margin-top: 6px;
            font-size: 18px;
            font-weight: 700;
            color: #4c5cff;
        }


        /* FOOTER (TIDAK DIUBAH) */
        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 35px;
            background: #111;
            color: white;
            text-align: center;
            z-index: 50;
        }

        /* BANNER PRODUK */
.product-hero {
    margin-top: 90px;
    height: 260px;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0,0,0,0.45)), url('bg9.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 70px;
    color: white;
}

.product-hero h1 {
    font-size: 42px;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}


/* GRID PRODUK */
.product-container {
    margin-left: 40px;
    padding: 40px 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 35px;
}

.product-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    transition: 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.45);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 15px 45px rgba(0,0,0,0.32);
}

.product-card img {
    width: 100%;
    height: 200px;
    border-radius: 14px;
    object-fit: cover;
}

/* Tag kecil kategori */
.product-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #00b819ff;
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.product-card h3 {
    margin-top: 12px;
    font-size: 19px;
    font-weight: 700;
}

.product-card p {
    color: #555;
    font-size: 14px;
    margin-top: 4px;
}

/* Card Harga */
.price-box {
    background: white;
    padding: 12px 16px;
    border-radius: 14px;
    margin-top: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    text-align: center;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: #00b819ff;
}

/* Tombol */
.product-btn {
    margin-top: 14px;
    width: 100%;
    background: #00b819ff;
    color: white;
    padding: 10px 0;
    font-size: 15px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: .25s;
    font-weight: 600;
}

.product-btn:hover {
    background: #017511ff;
    transform: translateY(-2px);
}

 /* ======================================================
               LOGIN SLIDER — CLEAN, RAPIH & PROFESIONAL
        ====================================================== */

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            backdrop-filter: blur(8px);
            background: rgba(0,0,0,0.4);
            opacity: 0;
            visibility: hidden;
            transition: 0.3s ease;
            z-index: 9;
        }

        .login-slider {
            position: fixed;
            top: 0;
            right: -420px;
            width: 420px;
            height: 100vh;

            background: rgba(255,255,255,0.18);
            backdrop-filter: blur(18px);
            border-left: 1px solid rgba(255,255,255,0.3);
            box-shadow: -6px 0 40px rgba(0,0,0,0.25);

            transition: 0.35s cubic-bezier(.25,.8,.25,1);

            z-index: 10;
            padding: 42px 38px; 
            display: flex;
            flex-direction: column;
        }

        .login-title {
            font-size: 34px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 32px;
            color: #fff;
        }

        .login-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 20px;
            margin-bottom: 10px;
            color: #fff;
        }

        .close-btn {
            background: transparent;
            border: none;
            color: #fff;
            font-size: 28px;
            cursor: pointer;
            transition: 0.2s;
        }

        .close-btn:hover {
            transform: scale(1.1);
        }

        /* FORM AREA */
        .login-body {
            display: flex;
            flex-direction: column;
            gap: 22px;
            margin-top: 10px;
        }

        .input-group {
            position: relative;
        }

        .input-field {
            width: 100%;
            padding: 15px 16px;
            border-radius: 14px;
            border: none;
            outline: none;
            background: rgba(255,255,255,0.58);
            font-size: 15px;
        }

        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 18px;
            cursor: pointer;
            opacity: 0.7;
        }

        .btn-login {
            padding: 15px;
            background: linear-gradient(90deg, #5A7DFF, #7067FF);
            border: none;
            border-radius: 14px;
            color: white;
            font-size: 17px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.25s;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(100,100,255,0.35);
        }

        .login-links {
            margin-top: 26px;
            text-align: center;
        }

        .login-links a {
            color: #fff;
            font-size: 14px;
            text-decoration: underline;
            opacity: 0.9;
            display: block;
            margin-top: 10px;
        }

        /* SWITCH FORM */
.form {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.container{
    max-width:1200px;
    margin:140px auto;
    padding:0 40px;
}

.back-btn{
    display:inline-block;
    margin-bottom:30px;
    color:#00b819ff;
    font-weight:600;
    text-decoration:none;
}

.detail-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.detail-box img{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(0,0,0,0.35);
}

.tag{
    display:inline-block;
    background:#00b819ff;
    color:white;
    padding:6px 16px;
    border-radius:14px;
    font-size:13px;
    font-weight:600;
    margin-bottom:10px;
}

.price{
    font-size:30px;
    font-weight:800;
    color:#00b819ff;
    margin:16px 0;
}

.rating{
    color:#f1c40f;
    font-size:15px;
    margin-top:6px;
}

.desc{
    margin-top:20px;
    line-height:1.7;
    color:#333;
}

.btn-cart{
    margin-top:30px;
    padding:14px 34px;
    background:#00b819ff;
    border:none;
    border-radius:16px;
    font-size:16px;
    font-weight:600;
    color:white;
    cursor:pointer;
}

/* TESTIMONI */
.review-section{
    margin-top:90px;
}

.review-section h2{
    margin-bottom:20px;
}

.review-card{
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(12px);
    padding:22px;
    border-radius:18px;
    margin-bottom:20px;
    box-shadow:0 8px 30px rgba(0,0,0,0.18);
}

.empty-review{
    opacity:0.6;
    margin-top:10px;
}

/* ================= DETAIL PRODUK PRO ================= */

.detail-wrapper{
    display:grid;
 grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);    gap:60px;
    background: #ffffff;
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border: 1px solid #eaeaea;
}


.detail-image img{
    width:100%;
    /* height:480px; */
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 12px 30px rgba(0,0,0,0.18);
}

.detail-image{
    width: 100%;
}

.detail-image img{
    width: 100%;
    height: auto;          /* ikut lebar card */
    max-height: 520px;     /* ⬅️ biar BESAR tapi tetap aman */
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}




.detail-tag{
    display:inline-block;
    background:#00b819ff;
    color:white;
    padding:6px 18px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.detail-title{
    font-size:36px;
    font-weight:800;
    margin:14px 0 8px;
    color:#111;
}

.detail-rating{
    font-size:15px;
    color:#f1c40f;
}

.detail-rating span{
    color:#555;
    margin-left:6px;
}

.detail-price{
    font-size:34px;
    font-weight:900;
    color:#00b819ff;
    margin:22px 0;
}

.detail-desc{
    line-height:1.8;
    color:#333;
    font-size:15px;
}

.detail-action{
    display:flex;
    gap:20px;
    margin-top:35px;
}


.btn-back{
    text-decoration:none;
    color:#555;
    font-weight:600;
    align-self:center;
}

/* ================= TESTIMONI PRO ================= */

.review-wrapper{
    margin-top:90px;
}

.review-wrapper h2{
    font-size:28px;
    margin-bottom:26px;
}

.review-grid{
    display:grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap:26px;
}

.review-card{
    background:#ffffff;
    padding:26px;
    border-radius:22px;
    box-shadow:0 10px 28px rgba(0,0,0,0.1);
    border:1px solid #eee;
}


.review-head{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-size:14px;
}

.empty-review{
    opacity:.65;
}

/* RESPONSIVE */
@media(max-width:900px){
    .detail-wrapper{
        grid-template-columns:1fr;
        padding:30px;
    }

    .detail-image img{
        height:360px;
    }
}

.review-box{
    margin-top:40px;
    padding-top:30px;
    border-top:1px solid #eee;
}

.review-box h3{
    font-size:20px;
    margin-bottom:16px;
}

.review-scroll{
    max-height:260px;
    overflow-y:auto;
    padding-right:10px;
}

/* scrollbar elegan */
.review-scroll::-webkit-scrollbar{
    width:6px;
}
.review-scroll::-webkit-scrollbar-thumb{
    background:#ccc;
    border-radius:10px;
}

.review-card{
    background:#fff;
    padding:18px;
    border-radius:18px;
    margin-bottom:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.review-head{
    display:flex;
    justify-content:space-between;
    margin-bottom:6px;
}

.empty-review{
    font-style:italic;
    color:#777;
}

.btn-back-floating{
    position: fixed;          /* ⬅️ penting */
    top: 90px;                /* tepat di bawah navbar */
    left: 30px;               /* kiri layar */
    background: rgba(54, 249, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    transition: 0.25s;
    z-index: 999;             /* di atas elemen lain */
}

.btn-back-floating:hover{
    transform: translateY(-2px);
    background: #fff;
}


.container{
    position: relative;
}