:root {
    --primary-color: #3f99fa;
    --hover-color: #555555;
    --bg-color: #f4f4f4;
    --text-color: #333;
    --subtitle-color: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-color);
    font-family: Arial, sans-serif;
    padding: 20px;
    color: var(--text-color);
}

.container {
    text-align: center;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 400px;
}

.profile {
    margin-bottom: 20px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

h1 {
    margin: 15px 0;
    font-size: 24px;
}

.bio {
    margin: 10px 0;
    color: var(--subtitle-color);
    font-size: 16px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Agar ikon keranjang berada di kanan */
    padding: 12px 15px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 16px;
    position: relative;
}

.icon {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

.button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}


.cart-icon {
    width: 55px; /* Ukuran ikon keranjang belanja */
    height: 55px;
    margin-left: auto; /* Jarak otomatis agar berada di ujung kanan */
     /* Untuk mengubah warna ikon menjadi putih, jika ikon asli berwarna hitam */
}
.button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.button strong {
    font-weight: bold;
}

.button .subtitle {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 22px;
    }

    .bio {
        font-size: 14px;
    }

    .button {
        font-size: 14px;
        padding: 10px 12px;
    }

    .icon {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 500px;
    }

    h1 {
        font-size: 28px;
    }

    .bio {
        font-size: 18px;
    }

    .button {
        font-size: 18px;
        padding: 15px 20px;
    }
}