body.shop-page {
    background-color: #fdf5e6; /* 使用溫暖的米色背景 */
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; /* 讓頭部在捲動時固定在頂部 */
    top: 0;
    z-index: 100;
}

.shop-header h1 {
    margin: 0;
    font-size: 1.5em;
    color: #8B4513; /* 咖啡色 */
}

.coin-display-shop {
    background-color: #a8e063;
    color: #4a4a4a;
    font-weight: 800;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 1em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.shop-container {
    padding: 20px;
}

.category-section h2 {
    color: #8B4513;
    border-bottom: 3px solid #f4a460; /* 橘色底線 */
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.item-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    padding: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: contain; /* 確保圖片完整顯示不變形 */
    margin-bottom: 10px;
}

.item-name {
    font-weight: 700;
    margin: 5px 0;
}

.item-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #e67e22; /* 胡蘿蔔色 */
    margin: 10px 0;
}

.buy-btn {
    background-color: #3498db; /* 清新的藍色 */
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.buy-btn:hover {
    background-color: #2980b9;
}