/* --- Base and Variables --- */
:root {
    --primary-color: #FF9900; /* Amazon Orange */
    --secondary-color: #232F3E; /* Amazon Dark Blue */
    --background-color: #f0f2f5; /* Soft light gray background */
    --card-bg-color: #ffffff;
    --text-color: #333;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 550px; 
    padding: 0 15px;
}

/* --- Profile Header --- */
.profile-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: var(--card-bg-color);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-name {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin: 0 0 5px;
    font-weight: 700;
}

.profile-bio {
    font-size: 1em;
    color: #6a6a6a;
    margin: 0;
    padding: 0 10px;
}

/* --- Product List (The Cards) --- */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 220px; 
    object-fit: cover;
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-title {
    font-size: 1.15em;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 15px;
    line-height: 1.4;
}

/* --- Buy Button Styling --- */
.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--secondary-color); 
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    border: 2px solid var(--primary-color);
    width: 100%;
    max-width: 300px;
}

.buy-button:hover {
    background-color: #e08800; 
    transform: translateY(-1px);
}

.buy-button span {
    margin-right: 8px;
}

.buy-button .arrow {
    font-size: 1.2em;
    line-height: 1;
    transition: transform 0.2s;
}

.buy-button:hover .arrow {
    transform: translateX(5px);
}

/* --- Footer --- */
.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8em;
    color: #999;
}