@jjlmoya/utils-babies 1.2.0 → 1.3.0

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 (27) hide show
  1. package/package.json +1 -1
  2. package/src/tool/baby-feeding-calculator/bibliography.astro +8 -4
  3. package/src/tool/baby-feeding-calculator/component.astro +208 -177
  4. package/src/tool/baby-feeding-calculator/style.css +317 -229
  5. package/src/tool/baby-percentile-calculator/bibliography.astro +8 -4
  6. package/src/tool/baby-percentile-calculator/component.astro +98 -240
  7. package/src/tool/baby-percentile-calculator/i18n/en.ts +1 -0
  8. package/src/tool/baby-percentile-calculator/i18n/es.ts +1 -0
  9. package/src/tool/baby-percentile-calculator/i18n/fr.ts +1 -0
  10. package/src/tool/baby-percentile-calculator/index.ts +1 -0
  11. package/src/tool/baby-percentile-calculator/style.css +342 -268
  12. package/src/tool/baby-size-converter/bibliography.astro +8 -4
  13. package/src/tool/baby-size-converter/component.astro +221 -212
  14. package/src/tool/baby-size-converter/style.css +433 -263
  15. package/src/tool/fertile-days-estimator/bibliography.astro +8 -4
  16. package/src/tool/fertile-days-estimator/component.astro +202 -200
  17. package/src/tool/fertile-days-estimator/style.css +408 -270
  18. package/src/tool/pregnancy-calculator/bibliography.astro +8 -4
  19. package/src/tool/pregnancy-calculator/component.astro +50 -8
  20. package/src/tool/pregnancy-calculator/i18n/en.ts +8 -0
  21. package/src/tool/pregnancy-calculator/i18n/es.ts +8 -0
  22. package/src/tool/pregnancy-calculator/i18n/fr.ts +8 -0
  23. package/src/tool/pregnancy-calculator/index.ts +8 -0
  24. package/src/tool/pregnancy-calculator/style.css +351 -134
  25. package/src/tool/vaccination-calendar/bibliography.astro +8 -4
  26. package/src/tool/vaccination-calendar/component.astro +120 -124
  27. package/src/tool/vaccination-calendar/style.css +296 -209
@@ -1,394 +1,564 @@
1
- .baby-size-converter {
2
- --bsc-bg: #fff;
3
- --bsc-bg-muted: #fbfbfc;
4
- --bsc-bg-alt: #f1f5f9;
5
- --bsc-bg-dark: #0f172a;
6
- --bsc-text: #0f172a;
7
- --bsc-text-muted: #1e293b;
8
- --bsc-text-dim: #64748b;
9
- --bsc-text-faint: #94a3b8;
10
- --bsc-text-lighter: #cbd5e1;
11
- --bsc-border: #e2e8f0;
12
- --bsc-border-inner: #f1f5f9;
13
- --bsc-primary: #6366f1;
14
- --bsc-primary-on: #fff;
15
- --bsc-primary-soft: #eef2ff;
16
- --bsc-primary-dark: #4f46e5;
17
- --bsc-success: #10b981;
18
- --bsc-error: #f43f5e;
19
- --bsc-fit-large: #10b981;
20
- --bsc-fit-small: #f43f5e;
1
+ /* PRINCIPAL CONTAINER */
2
+ .bsc-card {
3
+ max-width: 900px;
4
+ margin: 0 auto;
5
+ background: #fff;
6
+ border: 1px solid #e2e8f0;
7
+ border-radius: 24px;
8
+ overflow: hidden;
9
+ box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
10
+ }
21
11
 
22
- width: 100%;
12
+ .dark .bsc-card {
13
+ background: #0f172a;
14
+ border-color: #1e293b;
15
+ box-shadow: none;
23
16
  }
24
17
 
25
- .theme-dark .baby-size-converter {
26
- --bsc-bg: #0f172a;
27
- --bsc-bg-muted: rgba(30, 41, 59, 0.15);
28
- --bsc-bg-alt: #0f172a;
29
- --bsc-bg-dark: #0f172a;
30
- --bsc-text: #f1f5f9;
31
- --bsc-text-muted: #f1f5f9;
32
- --bsc-text-dim: #94a3b8;
33
- --bsc-text-faint: #94a3b8;
34
- --bsc-text-lighter: #cbd5e1;
35
- --bsc-border: #1e293b;
36
- --bsc-border-inner: #1e293b;
37
- --bsc-primary: #818cf8;
38
- --bsc-primary-on: #fff;
39
- --bsc-primary-soft: rgba(99, 102, 241, 0.1);
40
- --bsc-primary-dark: #818cf8;
41
- --bsc-success: #10b981;
42
- --bsc-error: #f43f5e;
43
- --bsc-fit-large: #10b981;
44
- --bsc-fit-small: #f43f5e;
45
- }
46
-
47
- .baby-size-converter-main {
18
+ /* GRID STRUCTURE */
19
+ .bsc-main {
48
20
  display: grid;
49
- grid-template-columns: 1fr 1fr;
50
- background: var(--bsc-bg);
51
- border: 1px solid var(--bsc-border);
52
- border-radius: 1rem;
53
- overflow: hidden;
21
+ grid-template-columns: 1.15fr 1fr;
54
22
  }
55
23
 
56
- @media (max-width: 720px) {
57
- .baby-size-converter-main {
58
- grid-template-columns: 1fr;
59
- }
24
+ .bsc-left {
25
+ padding: 2.5rem;
26
+ border-right: 1px solid #f1f5f9;
27
+ display: flex;
28
+ flex-direction: column;
29
+ gap: 2rem;
60
30
  }
61
31
 
62
- .baby-size-converter-left {
63
- padding: 1.5rem;
64
- border-right: 1px solid var(--bsc-border);
32
+ .bsc-right {
33
+ padding: 2.5rem;
34
+ background: #fbfbfc;
65
35
  display: flex;
66
36
  flex-direction: column;
67
- gap: 1.25rem;
37
+ position: relative;
68
38
  }
69
39
 
70
- @media (max-width: 720px) {
71
- .baby-size-converter-left {
72
- border-right: none;
73
- border-bottom: 1px solid var(--bsc-border);
74
- }
40
+ .dark .bsc-left {
41
+ border-right-color: #1e293b;
42
+ }
43
+
44
+ .dark .bsc-right {
45
+ background: rgba(30, 41, 59, 0.15);
46
+ }
47
+
48
+ /* COMMON ASSETS */
49
+ .bsc-section-marker {
50
+ display: flex;
51
+ align-items: center;
52
+ gap: 12px;
53
+ font-size: 0.65rem;
54
+ font-weight: 950;
55
+ text-transform: uppercase;
56
+ color: #6366f1;
57
+ letter-spacing: 0.15em;
58
+ margin-bottom: 0.5rem;
75
59
  }
76
60
 
77
- .baby-size-converter-right {
78
- padding: 1.5rem;
61
+ .bsc-section-marker::before {
62
+ content: "";
63
+ width: 16px;
64
+ height: 2px;
65
+ background: currentcolor;
66
+ border-radius: 2px;
67
+ }
68
+
69
+ /* BRAND AND UNITS */
70
+ .bsc-brand-picker {
79
71
  display: flex;
80
72
  flex-direction: column;
81
73
  gap: 1.25rem;
82
- background: var(--bsc-bg-muted);
83
74
  }
84
75
 
85
- .baby-size-converter-section-marker {
86
- font-size: 0.7rem;
87
- font-weight: 700;
88
- letter-spacing: 0.1em;
89
- text-transform: uppercase;
90
- color: var(--bsc-text-dim);
91
- padding-bottom: 0.5rem;
92
- border-bottom: 1px solid var(--bsc-border);
76
+ .bsc-select-box {
77
+ position: relative;
78
+ width: 100%;
79
+ }
80
+
81
+ .bsc-select-box select {
82
+ width: 100%;
83
+ appearance: none;
84
+ -webkit-appearance: none;
85
+ background: #fff;
86
+ border: 2px solid #f1f5f9;
87
+ padding: 1rem 3rem 1rem 1.25rem;
88
+ border-radius: 16px;
89
+ font-size: 1rem;
90
+ font-weight: 800;
91
+ color: #1e293b;
92
+ cursor: pointer;
93
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
94
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
95
+ }
96
+
97
+ .dark .bsc-select-box select {
98
+ background: #1e293b;
99
+ border-color: #334155;
100
+ color: #f1f5f9;
101
+ }
102
+
103
+ .bsc-select-box::after {
104
+ content: "";
105
+ position: absolute;
106
+ right: 1.25rem;
107
+ top: 50%;
108
+ transform: translateY(-50%);
109
+ width: 1.2rem;
110
+ height: 1.2rem;
111
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
112
+ background-repeat: no-repeat;
113
+ background-size: contain;
114
+ pointer-events: none;
93
115
  }
94
116
 
95
- .baby-size-converter-unit-nav {
117
+ .bsc-unit-nav {
96
118
  display: flex;
97
- gap: 0.25rem;
98
- background: var(--bsc-bg-alt);
99
- border-radius: 0.5rem;
100
- padding: 0.2rem;
119
+ background: #f1f5f9;
120
+ padding: 4px;
121
+ border-radius: 100px;
122
+ width: fit-content;
101
123
  }
102
124
 
103
- .baby-size-converter-unit-tab {
104
- flex: 1;
105
- padding: 0.35rem 0.5rem;
125
+ .dark .bsc-unit-nav {
126
+ background: #0f172a;
127
+ }
128
+
129
+ .bsc-unit-tab {
130
+ padding: 0.4rem 1.1rem;
131
+ border-radius: 100px;
106
132
  border: none;
107
- border-radius: 0.35rem;
108
133
  background: transparent;
109
- color: var(--bsc-text-dim);
110
- font-size: 0.75rem;
111
- font-weight: 600;
134
+ font-size: 0.65rem;
135
+ font-weight: 900;
136
+ color: #94a3b8;
112
137
  cursor: pointer;
113
- transition: background 0.15s, color 0.15s;
114
138
  }
115
139
 
116
- .baby-size-converter-unit-tab.active {
117
- background: var(--bsc-primary);
118
- color: var(--bsc-primary-on);
140
+ .bsc-unit-active {
141
+ background: #fff;
142
+ color: #6366f1;
143
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
119
144
  }
120
145
 
121
- .baby-size-converter-num-ctrl {
146
+ .dark .bsc-unit-active {
147
+ background: #1e293b;
148
+ color: #818cf8;
149
+ }
150
+
151
+ /* STEPPER CONTROLS */
152
+ .bsc-num-ctrl {
122
153
  display: flex;
123
154
  flex-direction: column;
124
- gap: 0.4rem;
155
+ gap: 0.75rem;
125
156
  }
126
157
 
127
- .baby-size-converter-num-label {
128
- font-size: 0.8rem;
129
- font-weight: 600;
130
- color: var(--bsc-text-muted);
158
+ .bsc-num-label {
159
+ font-size: 0.825rem;
160
+ font-weight: 850;
161
+ color: #64748b;
162
+ margin-bottom: 0;
131
163
  }
132
164
 
133
- .baby-size-converter-stepper-box {
165
+ .bsc-stepper-box {
134
166
  display: flex;
135
167
  align-items: center;
136
- gap: 0.5rem;
168
+ background: #f8fafc;
169
+ border: 1.5px solid #f1f5f9;
170
+ padding: 0.4rem;
171
+ border-radius: 18px;
172
+ gap: 1rem;
137
173
  }
138
174
 
139
- .baby-size-converter-btn-step {
140
- width: 2rem;
141
- height: 2rem;
142
- border: 1px solid var(--bsc-border);
143
- border-radius: 0.4rem;
144
- background: var(--bsc-bg);
145
- color: var(--bsc-text);
146
- font-size: 1.1rem;
175
+ .dark .bsc-stepper-box {
176
+ background: #0f172a;
177
+ border-color: #1e293b;
178
+ }
179
+
180
+ .bsc-btn-step {
181
+ width: 44px;
182
+ height: 44px;
183
+ border: none;
184
+ background: #fff;
185
+ border-radius: 12px;
186
+ color: #1e293b;
187
+ font-size: 1.5rem;
188
+ font-weight: 300;
147
189
  cursor: pointer;
190
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
148
191
  display: flex;
149
192
  align-items: center;
150
193
  justify-content: center;
151
- transition: background 0.15s, border-color 0.15s;
152
194
  }
153
195
 
154
- .baby-size-converter-btn-step:hover {
155
- background: var(--bsc-primary-soft);
156
- border-color: var(--bsc-primary);
157
- color: var(--bsc-primary);
196
+ .dark .bsc-btn-step {
197
+ background: #1e293b;
198
+ color: #fff;
199
+ border: 1px solid #334155;
158
200
  }
159
201
 
160
- .baby-size-converter-val-view {
202
+ .bsc-val-view {
161
203
  flex: 1;
204
+ text-align: center;
162
205
  display: flex;
163
- align-items: baseline;
164
- justify-content: center;
165
- gap: 0.3rem;
206
+ flex-direction: column;
166
207
  }
167
208
 
168
- .baby-size-converter-val-big {
169
- font-size: 1.5rem;
170
- font-weight: 700;
171
- color: var(--bsc-text);
209
+ .bsc-val-big {
210
+ font-size: 1.6rem;
211
+ font-weight: 950;
212
+ color: #0f172a;
213
+ line-height: 1;
172
214
  }
173
215
 
174
- .baby-size-converter-val-sub {
175
- font-size: 0.75rem;
176
- color: var(--bsc-text-dim);
216
+ .dark .bsc-val-big {
217
+ color: #f1f5f9;
177
218
  }
178
219
 
179
- .baby-size-converter-slider-line {
180
- width: 100%;
181
- accent-color: var(--bsc-primary);
182
- cursor: pointer;
220
+ .bsc-val-sub {
221
+ font-size: 0.6rem;
222
+ font-weight: 900;
223
+ color: #cbd5e1;
224
+ text-transform: uppercase;
225
+ margin-top: 2px;
183
226
  }
184
227
 
185
- .baby-size-converter-select-box {
228
+ .bsc-slider {
186
229
  width: 100%;
187
- padding: 0.5rem 0.75rem;
188
- border: 1px solid var(--bsc-border);
189
- border-radius: 0.5rem;
190
- background: var(--bsc-bg);
191
- color: var(--bsc-text);
192
- font-size: 0.85rem;
230
+ appearance: none;
231
+ -webkit-appearance: none;
232
+ height: 4px;
233
+ background: #f1f5f9;
234
+ border-radius: 100px;
235
+ margin-top: 4px;
236
+ }
237
+
238
+ .bsc-slider::-webkit-slider-thumb {
239
+ -webkit-appearance: none;
240
+ width: 18px;
241
+ height: 18px;
242
+ background: #6366f1;
243
+ border: 3px solid #fff;
244
+ border-radius: 50%;
193
245
  cursor: pointer;
194
246
  }
195
247
 
196
- .baby-size-converter-age-rack {
197
- display: flex;
198
- flex-wrap: wrap;
199
- gap: 0.35rem;
200
- }
201
-
202
- .baby-size-converter-age-tile {
203
- padding: 0.3rem 0.6rem;
204
- border: 1px solid var(--bsc-border);
205
- border-radius: 999px;
206
- background: var(--bsc-bg);
207
- color: var(--bsc-text-dim);
208
- font-size: 0.72rem;
209
- font-weight: 600;
210
- cursor: pointer;
211
- transition: background 0.15s, border-color 0.15s, color 0.15s;
248
+ /* AGE GRID */
249
+ .bsc-age-rack {
250
+ display: grid;
251
+ grid-template-columns: repeat(4, 1fr);
252
+ gap: 6px;
253
+ background: #f1f5f9;
254
+ padding: 6px;
255
+ border-radius: 16px;
212
256
  }
213
257
 
214
- .baby-size-converter-age-tile:hover {
215
- background: var(--bsc-primary-soft);
216
- border-color: var(--bsc-primary);
217
- color: var(--bsc-primary);
258
+ .dark .bsc-age-rack {
259
+ background: #0f172a;
218
260
  }
219
261
 
220
- .baby-size-converter-res-header {
221
- display: flex;
222
- align-items: center;
223
- gap: 0.75rem;
224
- flex-wrap: wrap;
262
+ .bsc-age-tile {
263
+ padding: 1rem 0.25rem;
264
+ border: none;
265
+ background: transparent;
266
+ border-radius: 12px;
267
+ font-size: 0.75rem;
268
+ font-weight: 950;
269
+ color: #94a3b8;
270
+ cursor: pointer;
271
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
225
272
  }
226
273
 
227
- .baby-size-converter-res-size-main {
228
- font-size: 2rem;
229
- font-weight: 800;
230
- color: var(--bsc-primary);
231
- line-height: 1;
274
+ .bsc-age-active {
275
+ background: #fff;
276
+ color: #4f46e5;
277
+ box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
278
+ transform: translateY(-1px);
232
279
  }
233
280
 
234
- .baby-size-converter-res-brand-hint {
235
- font-size: 0.9rem;
236
- color: var(--bsc-text-muted);
237
- font-weight: 600;
281
+ .dark .bsc-age-active {
282
+ background: #1e293b;
283
+ color: #818cf8;
238
284
  }
239
285
 
240
- .baby-size-converter-fit-label {
241
- font-size: 0.7rem;
242
- font-weight: 700;
243
- padding: 0.2rem 0.5rem;
244
- border-radius: 999px;
245
- background: var(--bsc-bg-alt);
246
- color: var(--bsc-text-dim);
286
+ /* MAIN RESULT */
287
+ .bsc-res-header {
288
+ text-align: center;
289
+ margin-bottom: 2.25rem;
290
+ display: flex;
291
+ flex-direction: column;
292
+ align-items: center;
247
293
  }
248
294
 
249
- .baby-size-converter-fit-large {
250
- background: rgba(16, 185, 129, 0.1);
251
- color: var(--bsc-fit-large);
295
+ .bsc-res-size-main {
296
+ display: block;
297
+ font-size: 4.5rem;
298
+ font-weight: 950;
299
+ color: #0f172a;
300
+ line-height: 1;
301
+ letter-spacing: -0.05em;
302
+ margin: 0.25rem 0 0.75rem;
252
303
  }
253
304
 
254
- .baby-size-converter-fit-small {
255
- background: rgba(244, 63, 94, 0.1);
256
- color: var(--bsc-fit-small);
305
+ .dark .bsc-res-size-main {
306
+ color: #f1f5f9;
257
307
  }
258
308
 
259
- .baby-size-converter-share-btn {
260
- margin-left: auto;
261
- width: 2rem;
262
- height: 2rem;
263
- border: 1px solid var(--bsc-border);
264
- border-radius: 0.4rem;
265
- background: var(--bsc-bg);
266
- color: var(--bsc-text-dim);
267
- font-size: 1rem;
309
+ .bsc-res-brand-hint {
310
+ font-size: 0.75rem;
311
+ font-weight: 950;
312
+ color: #cbd5e1;
313
+ text-transform: uppercase;
314
+ letter-spacing: 0.1em;
315
+ display: block;
316
+ }
317
+
318
+ .bsc-share-btn {
319
+ position: absolute;
320
+ right: 1.5rem;
321
+ top: 1.5rem;
322
+ background: transparent;
323
+ border: none;
324
+ padding: 0.6rem;
325
+ color: #cbd5e1;
268
326
  cursor: pointer;
327
+ transition: all 0.2s;
328
+ border-radius: 50%;
269
329
  display: flex;
270
330
  align-items: center;
271
331
  justify-content: center;
272
- transition: background 0.15s, border-color 0.15s;
332
+ z-index: 10;
333
+ }
334
+
335
+ .bsc-share-btn:hover {
336
+ color: #6366f1;
337
+ background: rgba(99, 102, 241, 0.05);
338
+ }
339
+
340
+ .bsc-fit-label {
341
+ display: inline-flex;
342
+ padding: 0.4rem 1.25rem;
343
+ background: #fff;
344
+ border: 1.5px solid #f1f5f9;
345
+ border-radius: 100px;
346
+ font-size: 0.75rem;
347
+ font-weight: 950;
348
+ color: #64748b;
349
+ }
350
+
351
+ .bsc-fit-large {
352
+ border-color: #10b981;
353
+ color: #059669;
354
+ }
355
+
356
+ .bsc-fit-small {
357
+ border-color: #f43f5e;
358
+ color: #dc2626;
273
359
  }
274
360
 
275
- .baby-size-converter-share-btn:hover {
276
- background: var(--bsc-primary-soft);
277
- border-color: var(--bsc-primary);
278
- color: var(--bsc-primary);
361
+ /* EQUIVALENTS GRID */
362
+ .bsc-equivalents-box {
363
+ border-radius: 16px;
364
+ width: 100%;
365
+ border: 1px solid transparent;
366
+ }
367
+
368
+ .bsc-eq-head-row {
369
+ display: grid;
370
+ grid-template-columns: 1fr auto;
371
+ padding: 0.5rem 0.5rem 0.85rem;
372
+ border-bottom: 2px solid #f8fafc;
279
373
  }
280
374
 
281
- .baby-size-converter-clothes-meta {
282
- background: var(--bsc-bg);
283
- border: 1px solid var(--bsc-border);
284
- border-radius: 0.75rem;
285
- padding: 1rem;
375
+ .dark .bsc-eq-head-row {
376
+ border-bottom-color: #1e293b;
286
377
  }
287
378
 
288
- .baby-size-converter-meta-title {
289
- font-size: 0.72rem;
290
- font-weight: 700;
379
+ .bsc-eq-col-name {
380
+ font-size: 0.6rem;
381
+ font-weight: 950;
382
+ color: #cbd5e1;
291
383
  text-transform: uppercase;
292
384
  letter-spacing: 0.05em;
293
- color: var(--bsc-text-dim);
294
- margin-bottom: 0.5rem;
295
385
  }
296
386
 
297
- .baby-size-converter-meta-vals {
387
+ .bsc-eq-data-list {
298
388
  display: flex;
299
- gap: 1.5rem;
389
+ flex-direction: column;
390
+ width: 100%;
300
391
  }
301
392
 
302
- .baby-size-converter-meta-cell {
393
+ .bsc-eq-data-row {
303
394
  display: flex;
304
- flex-direction: column;
305
- gap: 0.15rem;
395
+ justify-content: space-between;
396
+ align-items: center;
397
+ padding: 0.9rem 0.5rem;
398
+ border-bottom: 1px solid rgba(241, 245, 249, 0.4);
306
399
  }
307
400
 
308
- .baby-size-converter-equivalents-grid-box {
309
- background: var(--bsc-bg);
310
- border: 1px solid var(--bsc-border);
311
- border-radius: 0.75rem;
312
- overflow: hidden;
401
+ .dark .bsc-eq-data-row {
402
+ border-bottom-color: rgba(30, 41, 59, 0.5);
403
+ }
404
+
405
+ .bsc-eq-data-row:last-child {
406
+ border-bottom: none;
313
407
  }
314
408
 
315
- .baby-size-converter-eq-head-row {
409
+ .bsc-eq-brand-v {
316
410
  display: flex;
317
- justify-content: space-between;
318
- padding: 0.6rem 1rem;
319
- background: var(--bsc-bg-alt);
320
- font-size: 0.7rem;
321
- font-weight: 700;
411
+ flex-direction: column;
412
+ gap: 0;
413
+ }
414
+
415
+ .bsc-eq-brand-name {
416
+ font-size: 0.95rem;
417
+ font-weight: 900;
418
+ color: #1e293b;
419
+ }
420
+
421
+ .dark .bsc-eq-brand-name {
422
+ color: #f1f5f9;
423
+ }
424
+
425
+ .bsc-eq-fit-v {
426
+ font-size: 0.525rem;
427
+ font-weight: 900;
322
428
  text-transform: uppercase;
323
- letter-spacing: 0.05em;
324
- color: var(--bsc-text-dim);
429
+ color: #cbd5e1;
430
+ letter-spacing: 0.02em;
325
431
  }
326
432
 
327
- .baby-size-converter-eq-col-name {
328
- color: var(--bsc-text-dim);
433
+ .bsc-eq-fit-large {
434
+ color: #10b981;
329
435
  }
330
436
 
331
- .baby-size-converter-eq-data-row {
332
- display: flex;
333
- justify-content: space-between;
334
- align-items: center;
335
- padding: 0.5rem 1rem;
336
- border-top: 1px solid var(--bsc-border-inner);
337
- font-size: 0.82rem;
338
- color: var(--bsc-text);
339
- transition: background 0.1s;
437
+ .bsc-eq-fit-small {
438
+ color: #f43f5e;
340
439
  }
341
440
 
342
- .baby-size-converter-eq-data-row:hover {
343
- background: var(--bsc-bg-muted);
441
+ .bsc-eq-size-v {
442
+ font-size: 1.25rem;
443
+ font-weight: 950;
444
+ color: #4f46e5;
344
445
  }
345
446
 
346
- .baby-size-converter-eq-active {
347
- background: var(--bsc-primary-soft);
447
+ .dark .bsc-eq-size-v {
448
+ color: #818cf8;
348
449
  }
349
450
 
350
- .baby-size-converter-eq-active .baby-size-converter-eq-size-v {
351
- color: var(--bsc-primary);
352
- font-weight: 700;
451
+ /* GARMENT MEASURES */
452
+ .bsc-clothes-meta {
453
+ margin-top: auto;
454
+ padding-top: 2rem;
455
+ border-top: 1px dashed #e2e8f0;
353
456
  }
354
457
 
355
- .baby-size-converter-eq-brand-v {
356
- color: var(--bsc-text-muted);
458
+ .dark .bsc-clothes-meta {
459
+ border-top-color: #334155;
357
460
  }
358
461
 
359
- .baby-size-converter-eq-size-v {
360
- font-weight: 600;
462
+ .bsc-meta-title {
463
+ font-size: 0.6rem;
464
+ font-weight: 950;
465
+ color: #cbd5e1;
466
+ text-transform: uppercase;
467
+ text-align: center;
468
+ margin-bottom: 1rem;
469
+ display: block;
361
470
  }
362
471
 
363
- .baby-size-converter-brand-picker {
364
- display: flex;
365
- flex-direction: column;
366
- gap: 0.4rem;
472
+ .bsc-meta-vals {
473
+ display: grid;
474
+ grid-template-columns: 1fr 1fr;
475
+ gap: 1rem;
476
+ }
477
+
478
+ .bsc-meta-cell {
479
+ text-align: center;
480
+ }
481
+
482
+ .bsc-meta-cell label {
483
+ font-size: 0.55rem;
484
+ font-weight: 950;
485
+ color: #94a3b8;
486
+ display: block;
487
+ margin-bottom: 2px;
488
+ }
489
+
490
+ .bsc-meta-cell span {
491
+ font-size: 1.1rem;
492
+ font-weight: 950;
493
+ color: #1e293b;
494
+ }
495
+
496
+ .dark .bsc-meta-cell span {
497
+ color: #f1f5f9;
367
498
  }
368
499
 
369
- .baby-size-converter-pro-tip-footer {
500
+ /* FOOTER EXPERT TIP */
501
+ .bsc-pro-tip-footer {
502
+ background: #0f172a;
503
+ padding: 2.25rem 2.5rem;
504
+ color: #fff;
370
505
  display: flex;
371
- gap: 0.75rem;
506
+ gap: 1.5rem;
372
507
  align-items: flex-start;
373
- background: var(--bsc-primary-soft);
374
- border: 1px solid var(--bsc-border);
375
- border-radius: 0.75rem;
376
- padding: 0.75rem 1rem;
377
508
  }
378
509
 
379
- .baby-size-converter-footer-icon {
380
- font-size: 1rem;
381
- color: var(--bsc-primary);
510
+ .bsc-footer-icon {
511
+ font-size: 2.5rem;
382
512
  flex-shrink: 0;
383
- margin-top: 0.1rem;
513
+ line-height: 1;
514
+ color: #6366f1;
384
515
  }
385
516
 
386
- .baby-size-converter-footer-text {
387
- font-size: 0.78rem;
388
- color: var(--bsc-text-muted);
389
- line-height: 1.5;
517
+ .bsc-footer-text {
518
+ display: flex;
519
+ flex-direction: column;
520
+ gap: 0.4rem;
390
521
  }
391
522
 
392
- .baby-size-converter-hidden {
393
- display: none;
523
+ .bsc-footer-text h5 {
524
+ font-size: 1rem;
525
+ font-weight: 950;
526
+ color: #fff;
527
+ margin: 0;
528
+ }
529
+
530
+ .bsc-footer-text p {
531
+ font-size: 0.85rem;
532
+ color: #94a3b8;
533
+ line-height: 1.6;
534
+ margin: 0;
535
+ }
536
+
537
+ .bsc-footer-text strong {
538
+ color: #6366f1;
539
+ }
540
+
541
+ /* MOBILE RESPONSIVE */
542
+ @media (max-width: 850px) {
543
+ .bsc-main {
544
+ grid-template-columns: 1fr;
545
+ }
546
+
547
+ .bsc-left {
548
+ border-right: none;
549
+ border-bottom: 1px solid #f1f5f9;
550
+ padding: 1.75rem;
551
+ }
552
+
553
+ .bsc-right {
554
+ padding: 1.75rem;
555
+ }
556
+
557
+ .bsc-res-size-main {
558
+ font-size: 3.5rem;
559
+ }
560
+
561
+ .bsc-age-rack {
562
+ grid-template-columns: repeat(3, 1fr);
563
+ }
394
564
  }