From 178706ffd5ae3d8bc1206bb031bb22108ef64ab0 Mon Sep 17 00:00:00 2001 From: sayan som Date: Wed, 1 Jul 2026 13:17:09 +0530 Subject: [PATCH] fix: add scroll-to-top button to birthday, contact, favourites, and products pages --- public/birthday.html | 2 +- public/contact.html | 2 +- public/favourites.html | 2 +- public/products.html | 2 +- public/style.css | 40 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 44 insertions(+), 4 deletions(-) diff --git a/public/birthday.html b/public/birthday.html index 11859e88..012e7a53 100644 --- a/public/birthday.html +++ b/public/birthday.html @@ -573,7 +573,7 @@

✅ Review Your Order

- +
diff --git a/public/favourites.html b/public/favourites.html index 780a5e18..da182297 100644 --- a/public/favourites.html +++ b/public/favourites.html @@ -154,7 +154,7 @@

Get In Touch

- +
diff --git a/public/style.css b/public/style.css index 0caa631c..3ae63ba1 100644 --- a/public/style.css +++ b/public/style.css @@ -10978,11 +10978,51 @@ button, display:none; } +#scrollTopBtn { + display: none; + position: fixed; + bottom: 24px; + right: 24px; + z-index: 998; + width: 48px; + height: 48px; + align-items: center; + justify-content: center; + border: none; + border-radius: 50%; + background-color: var(--color-primary); + color: var(--white); + font-size: 1.25rem; + line-height: 1; + cursor: pointer; + box-shadow: var(--shadow-md); + transition: background-color 0.2s ease, transform 0.2s ease; +} + + + + #scrollTopBtn:hover { background-color: #8b5a3c; transform: scale(1.1); } +html.dark #scrollTopBtn { + background-color: var(--brown-dark, #f5e6ca); + color: var(--text-dark); +} + +@media (max-width: 768px) { + #scrollTopBtn { + width: 42px; + height: 42px; + bottom: 16px; + right: 16px; + } +} + + + /* ============================================================ DARK MODE FINAL PATCH — Brownie Bliss