summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorDhruv Dawar <dhruvdawar@Apples-MacBook-Air.local>2026-06-13 11:00:10 +0530
committerDhruv Dawar <dhruvdawar@Apples-MacBook-Air.local>2026-06-13 11:00:10 +0530
commit2dd292e3d0f26002a8349c05a39e8f8472bb810f (patch)
tree6d42138ff18837f9bfa17ccf3e9efd8ba57b6617 /style.css
parent0c69e93d57ffaaee34a672311a4511299d9e9760 (diff)
payment migration: purged snipcart and initialized native browser PaymentRequest API
Diffstat (limited to 'style.css')
-rw-r--r--style.css92
1 files changed, 7 insertions, 85 deletions
diff --git a/style.css b/style.css
index 7a2e7e5..9a52644 100644
--- a/style.css
+++ b/style.css
@@ -1,7 +1,7 @@
/* --- 1. Custom Typography Import Engine (Ortland OTF mapping) --- */
@font-face {
font-family: 'Ortland';
- src: url('fonts/ortland.otf') format('opentype'); /* Configured specifically for your .otf binary asset */
+ src: url('fonts/ortland.otf') format('opentype'); /* Configured specifically for your local .otf asset binary */
font-weight: 900;
font-style: normal;
font-display: swap;
@@ -225,8 +225,8 @@ header button:hover { background-color: var(--neon-white); color: var(--bg-color
.price { font-family: var(--heavy-font); font-size: 2rem; color: var(--neon-white); margin: 15px 0 10px 0; display: block; }
-/* --- 3D Cart Action Trigger Triggers --- */
-.snipcart-add-item {
+/* --- Native 3D Buy Button Trigger --- */
+.buy-button {
width: 100%;
background: var(--stamp-border);
color: var(--neon-white);
@@ -238,11 +238,11 @@ header button:hover { background-color: var(--neon-white); color: var(--bg-color
text-transform: uppercase;
padding: 16px;
cursor: pointer;
- transition: transform 0.05s ease, border-bottom-width 0.05s ease;
+ transition: transform 0.05s ease, border-bottom-width 0.05s ease, background-color 0.1s ease;
user-select: none;
}
-.snipcart-add-item:hover { background: #ff5c8a; }
-.snipcart-add-item:active { transform: translateY(6px); border-bottom-width: 0px; }
+.buy-button:hover { background: #ff5c8a; }
+.buy-button:active { transform: translateY(6px); border-bottom-width: 0px; }
.no-results { grid-column: 1/-1; text-align: center; font-family: var(--heavy-font); color: #333; font-size: 2rem; text-transform: uppercase; padding: 80px 0; }
@@ -255,7 +255,7 @@ header button:hover { background-color: var(--neon-white); color: var(--bg-color
}
/* ==========================================================================
- 4. Mobile Breakpoint Media Queries (Unifies structural mobile mechanics)
+ 3. Mobile Breakpoint Media Queries (Unifies structural mobile mechanics)
========================================================================== */
@media (max-width: 820px) {
body { padding: 0 20px 20px 20px; }
@@ -301,81 +301,3 @@ header button:hover { background-color: var(--neon-white); color: var(--bg-color
#stamp-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
}
-/* ==========================================================================
- 5. Custom Snipcart Overrides (Matches Your Brutalist Theme)
- ========================================================================== */
-
-/* Change the main backdrop overlay behind the sliding cart panel */
-#snipcart .snipcart-modal {
- background-color: rgba(0, 0, 0, 0.85) !important;
- backdrop-filter: blur(4px);
-}
-
-/* Force the checkout sidebar to use your pitch black theme colors */
-#snipcart .snipcart-cart,
-#snipcart .snipcart-layout {
- background-color: #000000 !important;
- color: #ffffff !important;
- font-family: 'Space Grotesk', sans-serif !important;
-}
-
-/* Stylize checkout headings with your bold Ortland display style */
-#snipcart .snipcart__title,
-#snipcart .snipcart-cart-header__title {
- font-family: 'Ortland', 'Impact', sans-serif !important;
- text-transform: uppercase !important;
- color: #ffffff !important;
- letter-spacing: -0.5px !important;
-}
-
-/* Turn Snipcart item list frames into dark charcoal blocks */
-#snipcart .snipcart-item-line,
-#snipcart .snipcart-layout__sidebar {
- background-color: #111111 !important;
- border: 2px solid #222222 !important;
- border-radius: 16px !important;
- margin-bottom: 15px !important;
- padding: 15px !important;
-}
-
-/* Make checkout form input fields thick and 3D */
-#snipcart .snipcart-input__input {
- background-color: #1a1a1a !important;
- border: 2px solid #ffffff !important;
- color: #ffffff !important;
- border-radius: 12px !important;
- font-weight: 700 !important;
-}
-#snipcart .snipcart-input__input:focus {
- border-color: #ff3366 !important;
-}
-
-/* Turn standard buttons into chunky 3D electric pink buttons */
-#snipcart .snipcart-base-button {
- background-color: #ff3366 !important;
- color: #ffffff !important;
- font-family: 'Ortland', sans-serif !important;
- font-size: 1.1rem !important;
- text-transform: uppercase !important;
- border-radius: 16px !important;
- border-bottom: 5px solid #b30030 !important; /* Satisfying 3D button floor base */
- transition: transform 0.05s ease, border-bottom-width 0.05s ease !important;
-}
-
-#snipcart .snipcart-base-button:hover {
- background-color: #ff5c8a !important;
-}
-
-#snipcart .snipcart-base-button:active {
- transform: translateY(4px) !important;
- border-bottom-width: 0px !important;
-}
-
-/* Highlight total prices and active links in electric pink */
-#snipcart .snipcart-summary-fees__amount,
-#snipcart .snipcart-cart-summary__total-number,
-#snipcart .snipcart-item-line__price {
- color: #ff3366 !important;
- font-family: 'Space Grotesk', sans-serif !important;
- font-weight: 700 !important;
-}