@o2vend/theme-cli 1.0.37 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/lib/lib/dev-server.js +309 -40
  2. package/lib/lib/liquid-engine.js +3 -1
  3. package/lib/lib/mock-data.js +36 -124
  4. package/lib/lib/widget-service.js +12 -4
  5. package/package.json +1 -1
  6. package/test-theme/assets/async-sections.js +32 -24
  7. package/test-theme/assets/cart-drawer.js +20 -22
  8. package/test-theme/assets/cart-manager.js +1 -15
  9. package/test-theme/assets/checkout-price-handler.js +12 -11
  10. package/test-theme/assets/checkout.css +1415 -0
  11. package/test-theme/assets/checkout.js +3174 -0
  12. package/test-theme/assets/components.css +178 -29
  13. package/test-theme/assets/delivery-zone.js +1 -1
  14. package/test-theme/assets/product-detail.css +1050 -0
  15. package/test-theme/assets/product-detail.js +2940 -0
  16. package/test-theme/assets/theme.css +95 -120
  17. package/test-theme/assets/theme.js +781 -186
  18. package/test-theme/layout/theme.liquid +91 -17
  19. package/test-theme/sections/content.liquid +64 -57
  20. package/test-theme/sections/footer-fallback.liquid +57 -7
  21. package/test-theme/sections/footer.liquid +63 -12
  22. package/test-theme/sections/header-fallback.liquid +41 -41
  23. package/test-theme/sections/header.liquid +41 -51
  24. package/test-theme/sections/hero-fallback.liquid +1 -1
  25. package/test-theme/sections/hero.liquid +159 -136
  26. package/test-theme/snippets/account-sidebar.liquid +121 -29
  27. package/test-theme/snippets/add-to-cart-modal.liquid +258 -206
  28. package/test-theme/snippets/breadcrumbs.liquid +98 -11
  29. package/test-theme/snippets/cart-drawer.liquid +93 -0
  30. package/test-theme/snippets/delivery-zone-city-selector.liquid +101 -15
  31. package/test-theme/snippets/delivery-zone-modal.liquid +529 -84
  32. package/test-theme/snippets/delivery-zone-search.liquid +104 -18
  33. package/test-theme/snippets/login-modal.liquid +269 -82
  34. package/test-theme/snippets/mega-menu.liquid +130 -43
  35. package/test-theme/snippets/news-thumbnail.liquid +120 -28
  36. package/test-theme/snippets/pagination.liquid +1 -1
  37. package/test-theme/snippets/price.liquid +100 -9
  38. package/test-theme/snippets/product-card-related.liquid +22 -4
  39. package/test-theme/snippets/product-card-simple.liquid +521 -25
  40. package/test-theme/snippets/product-card.liquid +145 -232
  41. package/test-theme/snippets/rating.liquid +100 -9
  42. package/test-theme/snippets/skeleton-collection-grid.liquid +94 -8
  43. package/test-theme/snippets/skeleton-product-card.liquid +102 -16
  44. package/test-theme/snippets/skeleton-product-grid.liquid +87 -1
  45. package/test-theme/snippets/social-sharing.liquid +133 -32
  46. package/test-theme/templates/account/dashboard.liquid +30 -0
  47. package/test-theme/templates/account/loyalty-redemption.liquid +29 -28
  48. package/test-theme/templates/account/loyalty.liquid +45 -43
  49. package/test-theme/templates/account/order-detail.liquid +15 -8
  50. package/test-theme/templates/account/orders.liquid +189 -35
  51. package/test-theme/templates/account/profile.liquid +509 -114
  52. package/test-theme/templates/account/register.liquid +18 -8
  53. package/test-theme/templates/account/return-orders.liquid +31 -30
  54. package/test-theme/templates/account/store-credit.liquid +27 -26
  55. package/test-theme/templates/account/subscriptions.liquid +22 -5
  56. package/test-theme/templates/account/wishlist.liquid +88 -19
  57. package/test-theme/templates/address-book.liquid +166 -69
  58. package/test-theme/templates/categories.liquid +90 -30
  59. package/test-theme/templates/checkout.liquid +137 -3834
  60. package/test-theme/templates/error.liquid +23 -21
  61. package/test-theme/templates/index.liquid +29 -0
  62. package/test-theme/templates/login.liquid +33 -6
  63. package/test-theme/templates/order-confirmation.liquid +67 -9
  64. package/test-theme/templates/page.liquid +418 -206
  65. package/test-theme/templates/product-detail.liquid +124 -3878
  66. package/test-theme/templates/products.liquid +155 -30
  67. package/test-theme/templates/search.liquid +739 -225
  68. package/test-theme/widgets/brand-carousel.liquid +102 -82
  69. package/test-theme/widgets/brand.liquid +78 -50
  70. package/test-theme/widgets/carousel.liquid +253 -121
  71. package/test-theme/widgets/category-list-carousel.liquid +32 -8
  72. package/test-theme/widgets/category-list.liquid +21 -6
  73. package/test-theme/widgets/category.liquid +104 -37
  74. package/test-theme/widgets/discount-time.liquid +326 -119
  75. package/test-theme/widgets/footer-menu.liquid +115 -23
  76. package/test-theme/widgets/footer.liquid +118 -5
  77. package/test-theme/widgets/gallery.liquid +29 -5
  78. package/test-theme/widgets/header-menu.liquid +25 -13
  79. package/test-theme/widgets/header.liquid +64 -26
  80. package/test-theme/widgets/html.liquid +29 -6
  81. package/test-theme/widgets/news.liquid +6 -0
  82. package/test-theme/widgets/product-canvas.liquid +20 -12
  83. package/test-theme/widgets/product-carousel.liquid +118 -56
  84. package/test-theme/widgets/shared/product-grid.liquid +12 -0
  85. package/test-theme/widgets/single-product.liquid +688 -250
  86. package/test-theme/widgets/spacebar-carousel.liquid +39 -10
  87. package/test-theme/widgets/spacebar.liquid +77 -6
  88. package/test-theme/widgets/splash.liquid +40 -30
  89. package/test-theme/widgets/testimonial-carousel.liquid +111 -67
@@ -73,225 +73,437 @@
73
73
  {% hook 'page_after' %}
74
74
 
75
75
  <style>
76
- .page-content {
77
- padding: 40px 0;
78
- }
79
-
80
- .page-header {
81
- text-align: center;
82
- margin-bottom: 50px;
83
- padding: 40px 20px;
84
- background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
85
- border-radius: 12px;
86
- }
87
-
88
- .page-title {
89
- font-size: 3rem;
90
- margin-bottom: 20px;
91
- color: #333;
92
- font-weight: 700;
93
- }
94
-
95
- .page-subtitle {
96
- font-size: 1.2rem;
97
- color: #666;
98
- max-width: 600px;
99
- margin: 0 auto;
100
- }
101
-
102
- .page-body {
103
- display: grid;
104
- grid-template-columns: 2fr 1fr;
105
- gap: 60px;
106
- max-width: 1200px;
107
- margin: 0 auto;
108
- }
109
-
110
- .page-content-wrapper {
111
- background: white;
112
- border-radius: 12px;
113
- padding: 40px;
114
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
115
- }
116
-
117
- .page-text {
118
- line-height: 1.8;
119
- color: #333;
120
- }
121
-
122
- .page-text h1,
123
- .page-text h2,
124
- .page-text h3,
125
- .page-text h4,
126
- .page-text h5,
127
- .page-text h6 {
128
- color: #333;
129
- margin-top: 2rem;
130
- margin-bottom: 1rem;
131
- }
132
-
133
- .page-text h2 {
134
- font-size: 1.8rem;
135
- border-bottom: 2px solid #667eea;
136
- padding-bottom: 0.5rem;
137
- }
138
-
139
- .page-text p {
140
- margin-bottom: 1.5rem;
141
- color: #666;
142
- }
143
-
144
- .page-text ul,
145
- .page-text ol {
146
- margin-bottom: 1.5rem;
147
- padding-left: 2rem;
148
- }
149
-
150
- .page-text li {
151
- margin-bottom: 0.5rem;
152
- color: #666;
153
- }
154
-
155
- .page-text a {
156
- color: #667eea;
157
- text-decoration: underline;
158
- }
159
-
160
- .page-text a:hover {
161
- color: #5a6fd8;
162
- }
163
-
164
- .page-sidebar {
165
- display: flex;
166
- flex-direction: column;
167
- gap: 30px;
168
- }
169
-
170
- .sidebar-widget {
171
- background: white;
172
- border-radius: 12px;
173
- padding: 25px;
174
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
175
- }
176
-
177
- .sidebar-widget h3 {
178
- font-size: 1.3rem;
179
- margin-bottom: 20px;
180
- color: #333;
181
- font-weight: 600;
182
- border-bottom: 2px solid #f8f9fa;
183
- padding-bottom: 10px;
184
- }
185
-
186
- .sidebar-links {
187
- list-style: none;
188
- padding: 0;
189
- margin: 0;
190
- }
191
-
192
- .sidebar-links li {
193
- margin-bottom: 12px;
194
- }
195
-
196
- .sidebar-links a {
197
- color: #666;
198
- text-decoration: none;
199
- padding: 8px 0;
200
- display: block;
201
- border-radius: 6px;
202
- transition: all 0.3s ease;
203
- position: relative;
204
- padding-left: 20px;
205
- }
206
-
207
- .sidebar-links a::before {
208
- content: '→';
209
- position: absolute;
210
- left: 0;
211
- color: #667eea;
212
- font-weight: bold;
213
- transition: transform 0.3s ease;
214
- }
215
-
216
- .sidebar-links a:hover {
217
- color: #667eea;
218
- background: #f8f9ff;
219
- padding-left: 25px;
220
- }
221
-
222
- .sidebar-links a:hover::before {
223
- transform: translateX(3px);
224
- }
225
-
226
- .newsletter-form {
227
- display: flex;
228
- flex-direction: column;
229
- gap: 15px;
230
- }
231
-
232
- .newsletter-form input {
233
- padding: 12px 15px;
234
- border: 2px solid #e1e5e9;
235
- border-radius: 8px;
236
- font-size: 1rem;
237
- transition: border-color 0.3s ease;
238
- }
239
-
240
- .newsletter-form input:focus {
241
- outline: none;
242
- border-color: #667eea;
243
- box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
244
- }
245
-
246
- .newsletter-form button {
247
- padding: 12px 20px;
248
- font-size: 1rem;
249
- font-weight: 500;
250
- }
251
-
252
- /* Responsive Design */
253
- @media (max-width: 768px) {
76
+ /* CSS Variables from Theme Settings */
77
+ :root {
78
+ --color-primary: {{ settings.color_primary | default: '#000000' }};
79
+ --color-primary-hover: {{ settings.color_primary_dark | default: '#333333' }};
80
+ --color-primary-light: {{ settings.color_primary_light | default: '#666666' }};
81
+ --color-success: {{ settings.color_success | default: '#22c55e' }};
82
+ --color-danger: {{ settings.color_error | default: '#ef4444' }};
83
+ --color-text: {{ settings.color_text | default: '#000000' }};
84
+ --color-text-light: {{ settings.color_text_muted | default: '#666666' }};
85
+ --color-background: {{ settings.color_background | default: '#ffffff' }};
86
+ --color-card-bg: {{ settings.color_surface | default: '#f5f5f5' }};
87
+ --color-border: {{ settings.color_border | default: '#cccccc' }};
88
+ }
89
+
90
+ /* CRITICAL: Prevent horizontal scrolling at all levels */
91
+ * {
92
+ box-sizing: border-box;
93
+ }
94
+
95
+ html {
96
+ overflow-x: hidden;
97
+ width: 100%;
98
+ }
99
+
100
+ body {
101
+ overflow-x: hidden;
102
+ width: 100%;
103
+ max-width: 100vw;
104
+ }
105
+
106
+ /* Main Container - Strict width control */
107
+ .page-content {
108
+ width: 100%;
109
+ max-width: 1400px;
110
+ margin: 0 auto;
111
+ padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
112
+ overflow-x: hidden;
113
+ box-sizing: border-box;
114
+ }
115
+
116
+ /* Page Header */
117
+ .page-header {
118
+ text-align: center;
119
+ margin-bottom: clamp(2rem, 5vw, 4rem);
120
+ padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
121
+ background: linear-gradient(135deg,
122
+ color-mix(in srgb, var(--color-primary) 5%, var(--color-background)) 0%,
123
+ color-mix(in srgb, var(--color-primary) 10%, var(--color-background)) 100%);
124
+ border-radius: clamp(0.75rem, 1.5vw, 1.25rem);
125
+ border: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
126
+ overflow: hidden;
127
+ }
128
+
129
+ .page-title {
130
+ font-size: clamp(2rem, 5vw, 3.5rem);
131
+ margin: 0 0 clamp(0.75rem, 2vw, 1.25rem) 0;
132
+ color: var(--color-text);
133
+ font-weight: 700;
134
+ line-height: 1.2;
135
+ }
136
+
137
+ .page-subtitle {
138
+ font-size: clamp(1rem, 2.5vw, 1.25rem);
139
+ color: var(--color-text-light);
140
+ max-width: 46rem;
141
+ margin: 0 auto;
142
+ line-height: 1.6;
143
+ }
144
+
145
+ /* Page Body Grid - CRITICAL: Use minmax(0, ...) to prevent overflow */
254
146
  .page-body {
147
+ display: grid;
255
148
  grid-template-columns: 1fr;
256
- gap: 40px;
149
+ gap: clamp(2rem, 4vw, 3.5rem);
150
+ width: 100%;
151
+ max-width: 100%;
152
+ overflow-x: hidden;
153
+ box-sizing: border-box;
257
154
  }
258
-
155
+
156
+ @media (min-width: 1024px) {
157
+ .page-body {
158
+ grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
159
+ }
160
+ }
161
+
162
+ /* Content Wrapper - ABSOLUTE overflow prevention */
259
163
  .page-content-wrapper {
260
- padding: 30px 20px;
164
+ background: var(--color-background);
165
+ border-radius: clamp(0.75rem, 1.5vw, 1rem);
166
+ padding: clamp(1.5rem, 4vw, 2.5rem);
167
+ box-shadow: 0 1px 3px color-mix(in srgb, var(--color-text) 10%, transparent),
168
+ 0 1px 2px color-mix(in srgb, var(--color-text) 6%, transparent);
169
+ border: 1px solid color-mix(in srgb, var(--color-border) 30%, transparent);
170
+ min-width: 0;
171
+ max-width: 100%;
172
+ overflow: hidden;
173
+ box-sizing: border-box;
261
174
  }
262
-
263
- .page-title {
264
- font-size: 2.5rem;
175
+
176
+ /* Page Text Content - MAXIMUM IMAGE CONSTRAINT */
177
+ .page-text {
178
+ line-height: 1.8;
179
+ color: var(--color-text);
180
+ word-wrap: break-word;
181
+ overflow-wrap: break-word;
182
+ max-width: 100%;
183
+ overflow: hidden;
184
+ box-sizing: border-box;
265
185
  }
266
-
267
- .page-header {
268
- padding: 30px 20px;
186
+
187
+ /* CRITICAL: Absolute image constraint - multiple methods */
188
+ .page-text img {
189
+ /* Force width constraint */
190
+ max-width: 100% !important;
191
+ width: 100% !important;
192
+ height: auto !important;
193
+
194
+ /* Display and positioning */
195
+ display: block;
196
+ margin: 1.5rem auto;
197
+
198
+ /* Prevent overflow */
199
+ object-fit: contain;
200
+ object-position: center;
201
+
202
+ /* Visual styling */
203
+ border-radius: 0.5rem;
204
+
205
+ /* Force size recalculation */
206
+ box-sizing: border-box;
269
207
  }
270
-
271
- .sidebar-widget {
272
- padding: 20px;
208
+
209
+ /* Also constrain picture elements */
210
+ .page-text picture {
211
+ max-width: 100% !important;
212
+ width: 100% !important;
213
+ display: block;
214
+ overflow: hidden;
273
215
  }
274
- }
275
216
 
276
- @media (max-width: 480px) {
277
- .page-content {
278
- padding: 20px 0;
217
+ /* Constrain figure elements */
218
+ .page-text figure {
219
+ max-width: 100% !important;
220
+ width: 100% !important;
221
+ margin: 1.5rem auto;
222
+ overflow: hidden;
279
223
  }
280
-
281
- .page-content-wrapper {
282
- padding: 20px 15px;
224
+
225
+ /* Handle iframes, videos, and embeds */
226
+ .page-text iframe,
227
+ .page-text video,
228
+ .page-text embed,
229
+ .page-text object {
230
+ max-width: 100% !important;
231
+ width: 100% !important;
232
+ height: auto !important;
233
+ aspect-ratio: 16 / 9;
234
+ display: block;
283
235
  }
284
-
285
- .page-title {
286
- font-size: 2rem;
236
+
237
+ /* Prevent any child element from causing overflow */
238
+ .page-text * {
239
+ max-width: 100%;
240
+ overflow-wrap: break-word;
241
+ word-wrap: break-word;
242
+ box-sizing: border-box;
287
243
  }
288
-
289
- .page-header {
290
- padding: 20px 15px;
244
+
245
+ /* Tables - make them responsive */
246
+ .page-text table {
247
+ width: 100% !important;
248
+ max-width: 100%;
249
+ overflow-x: auto;
250
+ display: block;
291
251
  }
292
-
252
+
253
+ /* Pre and code blocks */
254
+ .page-text pre,
255
+ .page-text code {
256
+ max-width: 100%;
257
+ overflow-x: auto;
258
+ word-wrap: break-word;
259
+ white-space: pre-wrap;
260
+ }
261
+
262
+ /* Typography */
263
+ .page-text h1,
264
+ .page-text h2,
265
+ .page-text h3,
266
+ .page-text h4,
267
+ .page-text h5,
268
+ .page-text h6 {
269
+ color: var(--color-text);
270
+ margin-top: clamp(1.5rem, 3vw, 2.5rem);
271
+ margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
272
+ font-weight: 600;
273
+ line-height: 1.3;
274
+ word-wrap: break-word;
275
+ }
276
+
277
+ .page-text h2 {
278
+ font-size: clamp(1.5rem, 3vw, 2rem);
279
+ border-bottom: 2px solid color-mix(in srgb, var(--color-primary) 80%, transparent);
280
+ padding-bottom: 0.5rem;
281
+ }
282
+
283
+ .page-text h3 {
284
+ font-size: clamp(1.25rem, 2.5vw, 1.5rem);
285
+ }
286
+
287
+ .page-text p {
288
+ margin-bottom: 1.25rem;
289
+ color: var(--color-text-light);
290
+ word-wrap: break-word;
291
+ }
292
+
293
+ .page-text ul,
294
+ .page-text ol {
295
+ margin-bottom: 1.5rem;
296
+ padding-left: clamp(1.5rem, 3vw, 2rem);
297
+ }
298
+
299
+ .page-text li {
300
+ margin-bottom: 0.5rem;
301
+ color: var(--color-text-light);
302
+ word-wrap: break-word;
303
+ }
304
+
305
+ .page-text a {
306
+ color: var(--color-primary);
307
+ text-decoration: underline;
308
+ text-decoration-thickness: 1px;
309
+ text-underline-offset: 2px;
310
+ transition: color 0.2s ease;
311
+ word-break: break-word;
312
+ overflow-wrap: break-word;
313
+ }
314
+
315
+ .page-text a:hover {
316
+ color: var(--color-primary-hover);
317
+ }
318
+
319
+ /* Sidebar - Strict width control */
320
+ .page-sidebar {
321
+ display: flex;
322
+ flex-direction: column;
323
+ gap: clamp(1.5rem, 3vw, 2rem);
324
+ min-width: 0;
325
+ max-width: 100%;
326
+ overflow: hidden;
327
+ box-sizing: border-box;
328
+ }
329
+
293
330
  .sidebar-widget {
294
- padding: 15px;
331
+ background: var(--color-background);
332
+ border-radius: clamp(0.75rem, 1.5vw, 1rem);
333
+ padding: clamp(1.25rem, 3vw, 1.75rem);
334
+ box-shadow: 0 1px 3px color-mix(in srgb, var(--color-text) 10%, transparent),
335
+ 0 1px 2px color-mix(in srgb, var(--color-text) 6%, transparent);
336
+ border: 1px solid color-mix(in srgb, var(--color-border) 30%, transparent);
337
+ overflow: hidden;
338
+ box-sizing: border-box;
339
+ }
340
+
341
+ .sidebar-widget h3 {
342
+ font-size: clamp(1.1rem, 2vw, 1.35rem);
343
+ margin: 0 0 1.25rem 0;
344
+ color: var(--color-text);
345
+ font-weight: 600;
346
+ border-bottom: 2px solid color-mix(in srgb, var(--color-border) 50%, transparent);
347
+ padding-bottom: 0.75rem;
348
+ }
349
+
350
+ .sidebar-widget p {
351
+ font-size: clamp(0.9rem, 1.5vw, 1rem);
352
+ color: var(--color-text-light);
353
+ line-height: 1.6;
354
+ margin-bottom: 1rem;
355
+ }
356
+
357
+ /* Sidebar Links */
358
+ .sidebar-links {
359
+ list-style: none;
360
+ padding: 0;
361
+ margin: 0;
362
+ }
363
+
364
+ .sidebar-links li {
365
+ margin-bottom: 0.75rem;
366
+ }
367
+
368
+ .sidebar-links a {
369
+ color: black;
370
+ text-decoration: none;
371
+ padding: 0.6rem 0;
372
+ display: block;
373
+ border-radius: 0.5rem;
374
+ transition: all 0.25s ease;
375
+ position: relative;
376
+ padding-left: 1.5rem;
377
+
378
+ word-break: break-word;
379
+ overflow-wrap: break-word;
380
+ }
381
+
382
+ .sidebar-links a::before {
383
+ content: '→';
384
+ position: absolute;
385
+ left: 0;
386
+ color: var(--color-primary);
387
+ font-weight: bold;
388
+ transition: transform 0.25s ease;
389
+ }
390
+
391
+ .sidebar-links a:hover {
392
+ color: var(--color-primary);
393
+ background: color-mix(in srgb, var(--color-primary) 5%, transparent);
394
+ padding-left: 1.75rem;
395
+ }
396
+
397
+ .sidebar-links a:hover::before {
398
+ transform: translateX(0.25rem);
399
+ }
400
+
401
+ /* Newsletter Form */
402
+ .newsletter-form {
403
+ display: flex;
404
+ flex-direction: column;
405
+ gap: 0.875rem;
406
+ }
407
+
408
+ .newsletter-form input {
409
+ padding: 0.875rem 1rem;
410
+ border: 2px solid color-mix(in srgb, var(--color-border) 60%, transparent);
411
+ border-radius: 0.5rem;
412
+ font-size: clamp(0.9rem, 1.5vw, 1rem);
413
+ transition: all 0.25s ease;
414
+ background: var(--color-background);
415
+ color: var(--color-text);
416
+ width: 100%;
417
+ max-width: 100%;
418
+ box-sizing: border-box;
419
+ }
420
+
421
+ .newsletter-form input:focus {
422
+ outline: none;
423
+ border-color: var(--color-primary);
424
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 10%, transparent);
425
+ }
426
+
427
+ .newsletter-form input::placeholder {
428
+ color: color-mix(in srgb, var(--color-text-light) 70%, transparent);
429
+ }
430
+
431
+ .newsletter-form button {
432
+ padding: 0.875rem 1.5rem;
433
+ font-size: clamp(0.9rem, 1.5vw, 1rem);
434
+ font-weight: 500;
435
+ background: var(--color-primary);
436
+ color: var(--color-background);
437
+ border: none;
438
+ border-radius: 0.5rem;
439
+ cursor: pointer;
440
+ transition: all 0.25s ease;
441
+ width: 100%;
442
+ box-sizing: border-box;
443
+ }
444
+
445
+ .newsletter-form button:hover {
446
+ background: var(--color-primary-hover);
447
+ transform: translateY(-1px);
448
+ box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 25%, transparent);
449
+ }
450
+
451
+ /* Responsive Breakpoints */
452
+ @media (max-width: 1023px) {
453
+ .page-sidebar {
454
+ order: -1;
455
+ }
456
+ }
457
+
458
+ @media (max-width: 768px) {
459
+ .page-content {
460
+ padding: clamp(1.25rem, 3vw, 2rem) clamp(0.875rem, 2.5vw, 1.5rem);
461
+ }
462
+
463
+ .page-content-wrapper,
464
+ .sidebar-widget {
465
+ padding: clamp(1.25rem, 3vw, 1.75rem);
466
+ }
467
+ }
468
+
469
+ @media (max-width: 640px) {
470
+ .page-header {
471
+ border-radius: 0.75rem;
472
+ padding: 1.5rem 1.25rem;
473
+ }
474
+
475
+ .page-content-wrapper,
476
+ .sidebar-widget {
477
+ border-radius: 0.75rem;
478
+ padding: 1.25rem;
479
+ }
480
+ }
481
+
482
+ /* Extra small devices */
483
+ @media (max-width: 480px) {
484
+ .page-content {
485
+ padding: 1rem 0.75rem;
486
+ }
487
+
488
+ .page-text img {
489
+ margin: 1rem auto;
490
+ }
491
+ }
492
+
493
+ /* Print Styles */
494
+ @media print {
495
+ .page-sidebar,
496
+ .newsletter-form {
497
+ display: none;
498
+ }
499
+
500
+ .page-body {
501
+ grid-template-columns: 1fr;
502
+ }
503
+
504
+ .page-text img {
505
+ max-width: 100%;
506
+ page-break-inside: avoid;
507
+ }
295
508
  }
296
- }
297
509
  </style>