.shop-app {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    color: #333;
}

.shop-header {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.shop-header-icons i {
    font-size: 20px;
    margin-left: 15px;
    color: #333;
    cursor: pointer;
}

.shop-tabs {
    display: flex;
    background: white;
    padding: 10px 20px;
    gap: 15px;
    overflow-x: auto;
}

.shop-tab {
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #999;
    background: #f5f5f5;
    white-space: nowrap;
    transition: all 0.2s;
}

.shop-tab.active {
    background: #333;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.shop-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.shop-search {
    background: white;
    padding: 0 20px 10px;
    display: flex;
    gap: 10px;
    position: sticky;
    top: 60px;
    z-index: 10;
}

.shop-search input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: #f5f5f5;
    border-radius: 20px;
    outline: none;
    color: #333;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    padding-bottom: 100px; /* Add padding for bottom nav */
}

.shop-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #f8f8f8;
    transition: transform 0.2s;
}

.shop-item:active {
    transform: scale(0.98);
}

.shop-item-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
}

.shop-item-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-item-title {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-item-price {
    color: #333;
    font-weight: 800;
    font-size: 16px;
    margin-top: auto;
}

.shop-item-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 5px;
}

.shop-btn {
    padding: 6px 12px;
    border-radius: 15px;
    border: none;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
}

.shop-btn.cart {
    background: #f0f0f0;
    color: #333;
}

.shop-btn.buy {
    background: #333;
    color: white;
}

.shop-nav {
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: none;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.03);
    border-radius: 20px 20px 0 0;
}

.shop-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.shop-nav-item.active {
    color: #333;
    font-weight: bold;
}

.shop-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

/* Cart Page */
.cart-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    background-color: #f5f5f5;
    background-size: cover;
    border-radius: 12px;
}

.cart-item-info {
    flex: 1;
}

/* Chat/DM in Shop */
.shop-dm-list {
    background: white;
}

.shop-dm-item {
    padding: 15px;
    border-bottom: 1px solid #f8f8f8;
    display: flex;
    align-items: center;
    gap: 15px;
}
