Aleksmorshen commited on
Commit
31b2a63
·
verified ·
1 Parent(s): de55c85

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +142 -12
styles.css CHANGED
@@ -41,11 +41,16 @@ body {
41
  align-items: center;
42
  }
43
 
 
 
 
 
 
 
 
44
  .logo-img {
45
  height: 70px;
46
  width: auto;
47
- filter: drop-shadow(0 0 15px rgba(255, 98, 0, 0.5));
48
- -webkit-filter: drop-shadow(0 0 15px rgba(255, 98, 0, 0.5));
49
  transition: transform 0.3s ease;
50
  }
51
 
@@ -279,24 +284,137 @@ body {
279
  transform: scale(1.05);
280
  }
281
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
  .calculate-btn {
283
- display: block;
284
- margin: 40px auto 0;
285
- padding: 15px 40px;
286
- background: linear-gradient(135deg, #ff6200, #ff8c40);
287
  color: #fff;
288
  border: none;
289
- border-radius: 50px;
290
  font-weight: 600;
291
- font-size: 1.2rem;
292
  cursor: pointer;
293
- box-shadow: 0 5px 15px rgba(255, 98, 0, 0.3);
294
- transition: all 0.3s ease;
295
  }
296
 
297
  .calculate-btn:hover {
298
- transform: translateY(-3px);
299
- box-shadow: 0 8px 20px rgba(255, 98, 0, 0.5);
300
  }
301
 
302
  /* Contact */
@@ -410,4 +528,16 @@ body {
410
  padding: 12px 30px;
411
  font-size: 1rem;
412
  }
 
 
 
 
 
 
 
 
 
 
 
 
413
  }
 
41
  align-items: center;
42
  }
43
 
44
+ .logo-wrapper {
45
+ background: #fff;
46
+ border-radius: 15px;
47
+ padding: 5px 10px;
48
+ display: inline-block;
49
+ }
50
+
51
  .logo-img {
52
  height: 70px;
53
  width: auto;
 
 
54
  transition: transform 0.3s ease;
55
  }
56
 
 
284
  transform: scale(1.05);
285
  }
286
 
287
+ /* Cart Icon */
288
+ .cart-icon {
289
+ position: fixed;
290
+ bottom: 30px;
291
+ right: 30px;
292
+ background: #ff6200;
293
+ color: #fff;
294
+ width: 60px;
295
+ height: 60px;
296
+ border-radius: 50%;
297
+ display: flex;
298
+ align-items: center;
299
+ justify-content: center;
300
+ font-size: 1.5rem;
301
+ box-shadow: 0 5px 15px rgba(255, 98, 0, 0.3);
302
+ cursor: pointer;
303
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
304
+ z-index: 1000;
305
+ }
306
+
307
+ .cart-icon:hover {
308
+ transform: scale(1.1);
309
+ box-shadow: 0 8px 20px rgba(255, 98, 0, 0.5);
310
+ }
311
+
312
+ .cart-count {
313
+ position: absolute;
314
+ top: -5px;
315
+ right: -5px;
316
+ background: #e65c00;
317
+ color: #fff;
318
+ border-radius: 50%;
319
+ width: 25px;
320
+ height: 25px;
321
+ display: flex;
322
+ align-items: center;
323
+ justify-content: center;
324
+ font-size: 0.9rem;
325
+ font-weight: 600;
326
+ }
327
+
328
+ /* Cart Modal */
329
+ .cart-modal {
330
+ display: none;
331
+ position: fixed;
332
+ top: 0;
333
+ left: 0;
334
+ width: 100%;
335
+ height: 100%;
336
+ background: rgba(0, 0, 0, 0.8);
337
+ z-index: 2000;
338
+ align-items: center;
339
+ justify-content: center;
340
+ }
341
+
342
+ .cart-modal-content {
343
+ background: rgba(255, 255, 255, 0.05);
344
+ backdrop-filter: blur(20px);
345
+ border: 1px solid rgba(255, 98, 0, 0.2);
346
+ border-radius: 20px;
347
+ padding: 30px;
348
+ width: 90%;
349
+ max-width: 500px;
350
+ color: #fff;
351
+ position: relative;
352
+ }
353
+
354
+ .close-modal {
355
+ position: absolute;
356
+ top: 15px;
357
+ right: 15px;
358
+ font-size: 1.5rem;
359
+ cursor: pointer;
360
+ color: rgba(255, 255, 255, 0.7);
361
+ transition: color 0.3s ease;
362
+ }
363
+
364
+ .close-modal:hover {
365
+ color: #ff6200;
366
+ }
367
+
368
+ .cart-modal-content h2 {
369
+ font-size: 1.8rem;
370
+ margin-bottom: 20px;
371
+ color: #ff6200;
372
+ }
373
+
374
+ .cart-items {
375
+ list-style: none;
376
+ margin-bottom: 30px;
377
+ max-height: 200px;
378
+ overflow-y: auto;
379
+ }
380
+
381
+ .cart-items li {
382
+ font-size: 1.1rem;
383
+ padding: 10px 0;
384
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
385
+ }
386
+
387
+ .clear-cart-btn {
388
+ padding: 10px 20px;
389
+ background: #e65c00;
390
+ color: #fff;
391
+ border: none;
392
+ border-radius: 25px;
393
+ font-weight: 600;
394
+ cursor: pointer;
395
+ margin-right: 10px;
396
+ transition: background 0.3s ease, transform 0.3s ease;
397
+ }
398
+
399
+ .clear-cart-btn:hover {
400
+ background: #d45000;
401
+ transform: scale(1.05);
402
+ }
403
+
404
  .calculate-btn {
405
+ padding: 10px 20px;
406
+ background: #ff6200;
 
 
407
  color: #fff;
408
  border: none;
409
+ border-radius: 25px;
410
  font-weight: 600;
 
411
  cursor: pointer;
412
+ transition: background 0.3s ease, transform 0.3s ease;
 
413
  }
414
 
415
  .calculate-btn:hover {
416
+ background: #e65c00;
417
+ transform: scale(1.05);
418
  }
419
 
420
  /* Contact */
 
528
  padding: 12px 30px;
529
  font-size: 1rem;
530
  }
531
+
532
+ .cart-icon {
533
+ width: 50px;
534
+ height: 50px;
535
+ font-size: 1.2rem;
536
+ }
537
+
538
+ .cart-count {
539
+ width: 20px;
540
+ height: 20px;
541
+ font-size: 0.8rem;
542
+ }
543
  }