-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcart.html
More file actions
199 lines (154 loc) · 7.85 KB
/
Copy pathcart.html
File metadata and controls
199 lines (154 loc) · 7.85 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Your BIKFAM sticker shop shopping cart.">
<title>Cart — BIKFAM Stickers</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bangers&family=Permanent+Marker&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" href="images/favicon.png" type="image/png">
</head>
<body data-page="cart">
<!-- ======== HEADER ======== -->
<header class="site-header">
<div class="header-inner">
<a href="/" class="logo">
<span class="logo-red">BIK</span>FAM
</a>
<button class="menu-toggle" aria-label="Toggle menu">☰</button>
<nav class="nav-links">
<a href="/">Home</a>
<a href="/shop">Shop</a>
<a href="/build">Custom Pack</a>
<a href="/cart" class="active cart-link">
Cart
<span class="cart-count">0</span>
</a>
</nav>
</div>
</header>
<!-- ======== MAIN CONTENT ======== -->
<main class="main-content">
<div class="container">
<!-- PAGE HEADER -->
<div class="section-header">
<h1 class="section-title">Your Cart</h1>
<p class="subheading">Review your order before checkout</p>
</div>
<!-- Success / Cancel messages (shown after Stripe redirect) -->
<div class="cart-success" style="display:none; text-align:center; padding:var(--space-xl);">
<div style="font-size:4rem; margin-bottom:var(--space-md);">🎉</div>
<h2 style="margin-bottom:var(--space-sm);">Payment Successful!</h2>
<p class="subheading" style="margin-bottom:var(--space-lg);">
Thanks for your order. You'll get a confirmation email from Stripe.
</p>
<a href="/shop" class="btn btn-primary">Continue Shopping</a>
</div>
<div class="cart-cancelled" style="display:none; text-align:center; padding:var(--space-xl);">
<div style="font-size:4rem; margin-bottom:var(--space-md);">↩️</div>
<h2 style="margin-bottom:var(--space-sm);">Payment Cancelled</h2>
<p class="subheading" style="margin-bottom:var(--space-lg);">
No charges were made. Your items are still saved in your cart.
</p>
<a href="/cart" class="btn btn-primary">Review Cart</a>
</div>
<div class="cart-layout">
<!-- ======== CART ITEMS (LEFT) ======== -->
<div>
<!-- EMPTY CART STATE (shown when cart has no items) -->
<div class="cart-empty" style="display: none;">
<div class="empty-icon">🛒</div>
<h2 style="margin-bottom: var(--space-sm);">Your cart is empty</h2>
<p class="subheading" style="margin-bottom: var(--space-lg);">
Time to grab some stickers!
</p>
<a href="/shop" class="btn btn-primary">Shop Packs</a>
<a href="/build" class="btn btn-outline" style="margin-left: var(--space-sm);">Build a Pack</a>
</div>
<!-- CART WITH ITEMS (hidden by default, shown by JS if items exist) -->
<div class="cart-has-items" style="display: none;">
<!-- Cart items container - populated by main.js -->
<div class="cart-items">
<div class="cart-items-container">
</div>
</div>
<!-- Continue shopping link -->
<div style="margin-top: var(--space-md);">
<a href="/shop" class="btn btn-outline btn-sm">← Continue Shopping</a>
<button class="btn btn-sm" style="background: none; border: 1px solid #333; color: var(--color-text-muted); margin-left: var(--space-sm);" id="clear-cart-btn">
Clear Cart
</button>
</div>
</div>
</div>
<!-- ======== ORDER SUMMARY (RIGHT) ======== -->
<aside class="cart-summary" style="display: none;">
<h3>Order Summary</h3>
<!-- Subtotal row -->
<div class="summary-row summary-subtotal">
<span>Subtotal</span>
<span class="amount">$0.00</span>
</div>
<!-- Shipping placeholder -->
<div class="summary-row">
<span>Shipping</span>
<span class="text-muted">Calculated at checkout</span>
</div>
<!-- Total row -->
<div class="summary-row total">
<span>Total</span>
<span class="amount">$0.00</span>
</div>
<button class="btn btn-primary btn-lg"
style="width: 100%;"
id="checkout-btn"
disabled>
Proceed to Checkout
</button>
</aside>
</div>
</div>
</main>
<!-- ======== FOOTER ======== -->
<footer class="site-footer">
<div class="container">
<div class="footer-grid">
<div>
<div class="footer-brand">
<span class="brand-red">BIK</span>FAM
</div>
<p class="footer-description">
Official sticker shop for the CJBIK YouTube channel.
Ride wild, rep the fam.
</p>
</div>
<div>
<h4 class="footer-heading">Shop</h4>
<ul class="footer-links">
<li><a href="/shop">Pre-Made Packs</a></li>
<li><a href="/build">Custom 12-Pack</a></li>
<li><a href="/cart">Cart</a></li>
</ul>
</div>
<div>
<h4 class="footer-heading">Info</h4>
<ul class="footer-links">
<li><a href="/faq#shipping">Shipping Info</a></li>
<li><a href="mailto:Cjsbikpro@gmail.com">Contact</a></li>
<li><a href="/faq">FAQ</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© 2026 BIKFAM / CJBIK. All rights reserved.</p>
</div>
</div>
</footer>
<!-- ======== JAVASCRIPT ======== -->
<script src="js/main.js"></script>
</body>
</html>