-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
177 lines (95 loc) · 9.1 KB
/
Copy pathstyle.css
File metadata and controls
177 lines (95 loc) · 9.1 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* Navigation Bar */
.navbar { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; gap: 30px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: bold; cursor: pointer; }
.logo i { font-size: 28px; }
.search-bar { flex: 1; display: flex; gap: 10px; }
.search-bar input { flex: 1; padding: 12px 15px; border: none; border-radius: 25px; background: rgba(255,255,255,0.95); font-size: 14px; }
.search-btn { padding: 12px 20px; background: #ff6b6b; border: none; border-radius: 25px; color: white; cursor: pointer; font-weight: bold; transition: 0.3s; }
.search-btn:hover { background: #ff5252; transform: scale(1.05); }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-link { color: white; text-decoration: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; transition: 0.3s; font-weight: 500; }
.nav-link:hover { background: rgba(255,255,255,0.2); }
.badge { background: #ff6b6b; padding: 2px 8px; border-radius: 12px; font-size: 12px; margin-left: 5px; }
/* Hero Banner */
.hero-banner { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 80px 20px; text-align: center; }
.hero-content h1 { font-size: 48px; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.hero-content p { font-size: 20px; margin-bottom: 25px; opacity: 0.95; }
.cta-btn { padding: 15px 40px; background: #ff6b6b; border: none; border-radius: 30px; color: white; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.cta-btn:hover { background: #ff5252; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
/* Sections */
.section { display: none; padding: 40px 0; }
.section.active { display: block; }
.section-title { font-size: 32px; margin: 40px 0 30px; text-align: center; color: #333; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 2px; }
/* Category Grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 30px 0; }
.category-card { background: white; padding: 30px; border-radius: 15px; text-align: center; cursor: pointer; transition: 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.category-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%); }
.category-card i { font-size: 40px; color: #667eea; margin-bottom: 10px; }
.category-card h3 { font-size: 16px; color: #333; }
/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 30px 0; }
.product-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.product-image { width: 100%; height: 200px; background: linear-gradient(135deg, #667eea30 0%, #764ba230 100%); display: flex; align-items: center; justify-content: center; font-size: 60px; }
.product-info { padding: 15px; }
.product-name { font-size: 14px; font-weight: bold; margin-bottom: 8px; color: #333; }
.product-category { font-size: 12px; color: #999; margin-bottom: 10px; }
.product-price { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.original-price { text-decoration: line-through; color: #999; font-size: 14px; }
.current-price { font-size: 18px; font-weight: bold; color: #667eea; }
.discount-badge { background: #ff6b6b; color: white; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: bold; }
.product-rating { color: #ffa500; font-size: 14px; margin-bottom: 10px; }
.add-to-cart { width: 100%; padding: 10px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.add-to-cart:hover { opacity: 0.9; transform: scale(1.02); }
/* Filter Controls */
.filter-controls { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; justify-content: center; }
.filter-btn { padding: 10px 20px; background: white; border: 2px solid #ddd; border-radius: 25px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.filter-btn.active { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-color: #667eea; }
.filter-btn:hover { border-color: #667eea; }
/* Deals Banner */
.deals-banner { background: linear-gradient(135deg, #ff6b6b 0%, #ff4444 100%); color: white; padding: 30px; border-radius: 15px; text-align: center; margin: 30px 0; box-shadow: 0 4px 15px rgba(255,107,107,0.3); }
.deals-banner h3 { font-size: 24px; margin-bottom: 10px; }
/* Cart Container */
.cart-container { display: grid; grid-template-columns: 1fr 350px; gap: 30px; margin: 30px 0; }
.cart-items { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 15px; padding: 15px; border-bottom: 1px solid #eee; align-items: center; }
.cart-item-image { width: 80px; height: 80px; background: #f5f5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.cart-item-details h4 { margin-bottom: 5px; color: #333; }
.cart-item-details p { color: #999; font-size: 12px; }
.cart-item-actions { display: flex; gap: 10px; align-items: center; }
.qty-btn { padding: 5px 10px; background: #f5f5f5; border: none; border-radius: 5px; cursor: pointer; }
.remove-btn { padding: 5px 10px; background: #ff6b6b; color: white; border: none; border-radius: 5px; cursor: pointer; }
.cart-summary { background: white; padding: 20px; border-radius: 12px; height: fit-content; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.cart-summary h3 { margin-bottom: 15px; color: #333; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: #666; }
.summary-row.total { font-size: 18px; font-weight: bold; color: #333; margin-top: 10px; }
.checkout-btn { width: 100%; padding: 12px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; margin-top: 15px; transition: 0.3s; }
.checkout-btn:hover { opacity: 0.9; }
/* Account Grid */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 30px 0; }
.account-card { background: white; padding: 30px; border-radius: 12px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: 0.3s; cursor: pointer; }
.account-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.account-card i { font-size: 40px; color: #667eea; margin-bottom: 15px; }
.account-card h3 { margin-bottom: 10px; color: #333; }
.account-card p { color: #999; font-size: 14px; }
/* Footer */
.footer { background: #2c3e50; color: white; padding: 40px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { margin-bottom: 15px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col a { color: #bbb; text-decoration: none; display: block; margin-bottom: 10px; transition: 0.3s; }
.footer-col a:hover { color: white; padding-left: 5px; }
.social-links { display: flex; gap: 15px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; transition: 0.3s; }
.social-links a:hover { background: #667eea; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #bbb; }
/* Empty Cart Message */
.empty-cart { text-align: center; padding: 40px; color: #999; }
.empty-cart i { font-size: 60px; margin-bottom: 15px; opacity: 0.5; }
/* Responsive */
@media (max-width: 768px) { .nav-container { flex-direction: column; gap: 15px; } .search-bar { order: 3; width: 100%; } .nav-links { width: 100%; justify-content: space-around; } .hero-content h1 { font-size: 32px; } .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .cart-container { grid-template-columns: 1fr; } }