-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshop.css
More file actions
124 lines (109 loc) · 2.43 KB
/
shop.css
File metadata and controls
124 lines (109 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
.shop-container {
padding: 3rem 2rem;
background: linear-gradient(145deg, #f9f9f9, #e0f7fa);
min-height: 80vh;
color: #222;
text-align: center;
}
.shop-title {
font-size: 2.5rem;
margin-bottom: 0.5rem;
color: #444;
text-shadow: 0 0 6px #00bcd4;
}
.shop-subtitle {
font-size: 1.2rem;
margin-bottom: 2rem;
color: #666;
}
.art-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1.5rem;
max-width: 1000px;
margin: 0 auto;
}
.art-card {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
border-radius: 1.5rem;
overflow: hidden;
padding: 1rem;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 8px 20px rgba(0, 188, 212, 0.1),
0 12px 30px rgba(0, 150, 136, 0.05);
transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.art-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 25px rgba(0, 188, 212, 0.2),
0 16px 35px rgba(0, 150, 136, 0.1);
}
.art-card img {
width: 100%;
height: 180px;
object-fit: cover;
border-radius: 1rem;
margin-bottom: 1rem;
box-shadow: 0 0 6px rgba(0, 188, 212, 0.2);
}
.art-info h3 {
margin: 0;
font-size: 1.2rem;
color: #00796b;
text-shadow: 0 0 4px #00bcd4;
}
.art-info .price {
margin: 0.3rem 0;
color: #555;
}
.cart-btn {
padding: 0.5rem 1rem;
margin-top: 0.5rem;
font-size: 1rem;
background: linear-gradient(135deg, #00bcd4, #26c6da, #4dd0e1);
border: none;
border-radius: 1.5rem;
color: #fff;
font-weight: bold;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.3s ease;
box-shadow: 0 0 8px rgba(0, 188, 212, 0.3);
}
.cart-btn:hover {
transform: scale(1.05);
box-shadow: 0 0 18px #00bcd4, 0 0 28px #26c6da, 0 0 35px #4dd0e1;
}
.quantity-selector {
display: flex;
align-items: center;
gap: 0.5rem;
margin: 0.5rem 0;
}
.quantity-selector button {
background: #00bcd4;
color: white;
border: none;
border-radius: 50%;
width: 30px;
height: 30px;
cursor: pointer;
font-weight: bold;
transition: background 0.2s;
}
.quantity-selector button:hover {
background: #0097a7;
}
.quantity-selector span {
font-weight: bold;
min-width: 20px;
text-align: center;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.art-card img {
height: 150px;
}
}