@sonordev/site-kit 1.4.2 → 1.4.4

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.
@@ -1356,25 +1356,18 @@ var STYLE_BLOCK = `
1356
1356
  }
1357
1357
 
1358
1358
  .skc-detail {
1359
- --commerce-bg: transparent;
1360
- --commerce-surface: #f9fafb;
1361
- --commerce-surface-hover: #f3f4f6;
1362
- --commerce-border: #e5e7eb;
1363
- --commerce-text: #111827;
1364
- --commerce-text-secondary: #6b7280;
1365
- --commerce-text-muted: #9ca3af;
1366
- --commerce-accent: #2563eb;
1367
- --commerce-accent-hover: #1d4ed8;
1368
- --commerce-accent-text: #ffffff;
1369
- --commerce-success: #059669;
1370
- --commerce-warning: #d97706;
1371
- --commerce-danger: #dc2626;
1372
- --commerce-radius: 12px;
1373
- --commerce-radius-sm: 8px;
1374
-
1375
1359
  animation: skc-fadeIn 0.3s ease-out;
1376
1360
  }
1377
1361
 
1362
+ /*
1363
+ * Commerce CSS custom properties are NOT set here \u2014 they inherit from the host site's :root.
1364
+ * If the host site does not define them, the inline var() fallbacks in each usage provide defaults.
1365
+ * Example: color: var(--commerce-text, #111827) \u2014 uses #111827 if --commerce-text is not defined.
1366
+ *
1367
+ * Host sites should define these in their CSS:
1368
+ * :root { --commerce-accent: #d9b338; --commerce-surface: #0f0f17; ... }
1369
+ */
1370
+
1378
1371
  .skc-detail *, .skc-detail *::before, .skc-detail *::after {
1379
1372
  box-sizing: border-box;
1380
1373
  }
@@ -1384,6 +1377,9 @@ var STYLE_BLOCK = `
1384
1377
  grid-template-columns: 1fr 1fr;
1385
1378
  gap: 2.5rem;
1386
1379
  align-items: start;
1380
+ max-width: 1200px;
1381
+ margin: 0 auto;
1382
+ padding: 1.5rem;
1387
1383
  }
1388
1384
 
1389
1385
  @media (max-width: 768px) {
@@ -1405,8 +1401,8 @@ var STYLE_BLOCK = `
1405
1401
  .skc-gallery-main {
1406
1402
  position: relative;
1407
1403
  overflow: hidden;
1408
- border-radius: var(--commerce-radius);
1409
- background: var(--commerce-surface);
1404
+ border-radius: var(--commerce-radius, 12px);
1405
+ background: var(--commerce-surface, #f9fafb);
1410
1406
  cursor: crosshair;
1411
1407
  aspect-ratio: 1;
1412
1408
  }
@@ -1430,19 +1426,19 @@ var STYLE_BLOCK = `
1430
1426
  flex: 0 0 auto;
1431
1427
  width: 64px;
1432
1428
  height: 64px;
1433
- border-radius: var(--commerce-radius-sm);
1429
+ border-radius: var(--commerce-radius-sm, 8px);
1434
1430
  overflow: hidden;
1435
1431
  border: 2px solid transparent;
1436
1432
  padding: 0;
1437
1433
  cursor: pointer;
1438
- background: var(--commerce-surface);
1434
+ background: var(--commerce-surface, #f9fafb);
1439
1435
  transition: border-color 0.15s ease;
1440
1436
  }
1441
1437
  .skc-gallery-thumb:hover {
1442
- border-color: var(--commerce-text-muted);
1438
+ border-color: var(--commerce-text-muted, #9ca3af);
1443
1439
  }
1444
1440
  .skc-gallery-thumb.skc-active {
1445
- border-color: var(--commerce-accent);
1441
+ border-color: var(--commerce-accent, #2563eb);
1446
1442
  }
1447
1443
  .skc-gallery-thumb img {
1448
1444
  width: 100%;
@@ -1458,7 +1454,7 @@ var STYLE_BLOCK = `
1458
1454
  right: 0;
1459
1455
  z-index: 999;
1460
1456
  background: white;
1461
- border-top: 1px solid var(--commerce-border);
1457
+ border-top: 1px solid var(--commerce-border, #e5e7eb);
1462
1458
  padding: 0.75rem 1rem;
1463
1459
  display: flex;
1464
1460
  align-items: center;
@@ -1474,7 +1470,7 @@ var STYLE_BLOCK = `
1474
1470
  /* Tabs */
1475
1471
  .skc-tabs-list {
1476
1472
  display: flex;
1477
- border-bottom: 1px solid var(--commerce-border);
1473
+ border-bottom: 1px solid var(--commerce-border, #e5e7eb);
1478
1474
  gap: 0;
1479
1475
  overflow-x: auto;
1480
1476
  scrollbar-width: none;
@@ -1486,18 +1482,18 @@ var STYLE_BLOCK = `
1486
1482
  background: none;
1487
1483
  font-size: 0.875rem;
1488
1484
  font-weight: 500;
1489
- color: var(--commerce-text-secondary);
1485
+ color: var(--commerce-text-secondary, #6b7280);
1490
1486
  cursor: pointer;
1491
1487
  border-bottom: 2px solid transparent;
1492
1488
  white-space: nowrap;
1493
1489
  transition: color 0.15s ease, border-color 0.15s ease;
1494
1490
  }
1495
1491
  .skc-tab-btn:hover {
1496
- color: var(--commerce-text);
1492
+ color: var(--commerce-text, #111827);
1497
1493
  }
1498
1494
  .skc-tab-btn.skc-active {
1499
- color: var(--commerce-accent);
1500
- border-bottom-color: var(--commerce-accent);
1495
+ color: var(--commerce-accent, #2563eb);
1496
+ border-bottom-color: var(--commerce-accent, #2563eb);
1501
1497
  }
1502
1498
 
1503
1499
  /* Checkout overlay */
@@ -1520,7 +1516,7 @@ var STYLE_BLOCK = `
1520
1516
  max-height: 90vh;
1521
1517
  overflow-y: auto;
1522
1518
  background: white;
1523
- border-radius: calc(var(--commerce-radius) + 4px);
1519
+ border-radius: calc(var(--commerce-radius, 12px) + 4px);
1524
1520
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
1525
1521
  animation: skc-scaleIn 0.25s ease-out;
1526
1522
  }
@@ -1529,20 +1525,20 @@ var STYLE_BLOCK = `
1529
1525
  .skc-input {
1530
1526
  width: 100%;
1531
1527
  padding: 0.625rem 0.75rem;
1532
- border-radius: var(--commerce-radius-sm);
1533
- border: 1px solid var(--commerce-border);
1528
+ border-radius: var(--commerce-radius-sm, 8px);
1529
+ border: 1px solid var(--commerce-border, #e5e7eb);
1534
1530
  font-size: 0.9375rem;
1535
- color: var(--commerce-text);
1531
+ color: var(--commerce-text, #111827);
1536
1532
  background: white;
1537
1533
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
1538
1534
  outline: none;
1539
1535
  }
1540
1536
  .skc-input:focus {
1541
- border-color: var(--commerce-accent);
1537
+ border-color: var(--commerce-accent, #2563eb);
1542
1538
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
1543
1539
  }
1544
1540
  .skc-input::placeholder {
1545
- color: var(--commerce-text-muted);
1541
+ color: var(--commerce-text-muted, #9ca3af);
1546
1542
  }
1547
1543
 
1548
1544
  /* Primary button */
@@ -1553,17 +1549,17 @@ var STYLE_BLOCK = `
1553
1549
  gap: 0.5rem;
1554
1550
  width: 100%;
1555
1551
  padding: 0.875rem 1.5rem;
1556
- border-radius: var(--commerce-radius-sm);
1552
+ border-radius: var(--commerce-radius-sm, 8px);
1557
1553
  border: none;
1558
- background: var(--commerce-accent);
1559
- color: var(--commerce-accent-text);
1554
+ background: var(--commerce-accent, #2563eb);
1555
+ color: var(--commerce-accent-text, #ffffff);
1560
1556
  font-size: 1rem;
1561
1557
  font-weight: 600;
1562
1558
  cursor: pointer;
1563
1559
  transition: background-color 0.15s ease, transform 0.1s ease;
1564
1560
  }
1565
1561
  .skc-btn-primary:hover:not(:disabled) {
1566
- background: var(--commerce-accent-hover);
1562
+ background: var(--commerce-accent-hover, #1d4ed8);
1567
1563
  }
1568
1564
  .skc-btn-primary:active:not(:disabled) {
1569
1565
  transform: scale(0.98);
@@ -1581,10 +1577,10 @@ var STYLE_BLOCK = `
1581
1577
  gap: 0.5rem;
1582
1578
  width: 100%;
1583
1579
  padding: 0.875rem 1.5rem;
1584
- border-radius: var(--commerce-radius-sm);
1585
- border: 2px solid var(--commerce-accent);
1580
+ border-radius: var(--commerce-radius-sm, 8px);
1581
+ border: 2px solid var(--commerce-accent, #2563eb);
1586
1582
  background: transparent;
1587
- color: var(--commerce-accent);
1583
+ color: var(--commerce-accent, #2563eb);
1588
1584
  font-size: 1rem;
1589
1585
  font-weight: 600;
1590
1586
  cursor: pointer;
@@ -1615,24 +1611,24 @@ var STYLE_BLOCK = `
1615
1611
  width: 8px;
1616
1612
  height: 8px;
1617
1613
  border-radius: 50%;
1618
- background: var(--commerce-border);
1614
+ background: var(--commerce-border, #e5e7eb);
1619
1615
  transition: background 0.2s ease, transform 0.2s ease;
1620
1616
  }
1621
1617
  .skc-step-dot.skc-active {
1622
- background: var(--commerce-accent);
1618
+ background: var(--commerce-accent, #2563eb);
1623
1619
  transform: scale(1.3);
1624
1620
  }
1625
1621
  .skc-step-dot.skc-done {
1626
- background: var(--commerce-success);
1622
+ background: var(--commerce-success, #059669);
1627
1623
  }
1628
1624
  .skc-step-connector {
1629
1625
  width: 24px;
1630
1626
  height: 2px;
1631
- background: var(--commerce-border);
1627
+ background: var(--commerce-border, #e5e7eb);
1632
1628
  transition: background 0.2s ease;
1633
1629
  }
1634
1630
  .skc-step-connector.skc-done {
1635
- background: var(--commerce-success);
1631
+ background: var(--commerce-success, #059669);
1636
1632
  }
1637
1633
  `;
1638
1634
  function loadSquareSDK(env) {
@@ -1853,11 +1849,11 @@ function VariantSelector({ variants, selected, isClothing, showInventory, onSele
1853
1849
  style: {
1854
1850
  fontSize: "0.875rem",
1855
1851
  fontWeight: 600,
1856
- color: "var(--commerce-text)"
1852
+ color: "var(--commerce-text, #111827)"
1857
1853
  },
1858
1854
  children: [
1859
1855
  label,
1860
- selected && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontWeight: 400, color: "var(--commerce-text-secondary)", marginLeft: 6 }, children: [
1856
+ selected && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontWeight: 400, color: "var(--commerce-text-secondary, #6b7280)", marginLeft: 6 }, children: [
1861
1857
  "\u2014 ",
1862
1858
  selected.options?.Size || selected.name
1863
1859
  ] })
@@ -1879,10 +1875,10 @@ function VariantSelector({ variants, selected, isClothing, showInventory, onSele
1879
1875
  style: {
1880
1876
  position: "relative",
1881
1877
  padding: "0.5rem 1rem",
1882
- borderRadius: "var(--commerce-radius-sm)",
1883
- border: isSelected ? "2px solid var(--commerce-accent)" : "1px solid var(--commerce-border)",
1884
- backgroundColor: isSelected ? "rgba(37,99,235,0.05)" : "white",
1885
- color: variantOutOfStock ? "var(--commerce-text-muted)" : "var(--commerce-text)",
1878
+ borderRadius: "var(--commerce-radius-sm, 8px)",
1879
+ border: isSelected ? "2px solid var(--commerce-accent, #2563eb)" : "1px solid var(--commerce-border, #e5e7eb)",
1880
+ backgroundColor: isSelected ? "color-mix(in srgb, var(--commerce-accent, #2563eb) 8%, transparent)" : "var(--commerce-surface, #f9fafb)",
1881
+ color: variantOutOfStock ? "var(--commerce-text-muted, #9ca3af)" : "var(--commerce-text, #111827)",
1886
1882
  fontSize: "0.875rem",
1887
1883
  fontWeight: 500,
1888
1884
  cursor: variantOutOfStock ? "not-allowed" : "pointer",
@@ -1902,8 +1898,8 @@ function VariantSelector({ variants, selected, isClothing, showInventory, onSele
1902
1898
  width: 8,
1903
1899
  height: 8,
1904
1900
  borderRadius: "50%",
1905
- backgroundColor: isLow ? "var(--commerce-warning)" : "var(--commerce-success)",
1906
- border: "2px solid white"
1901
+ backgroundColor: isLow ? "var(--commerce-warning, #d97706)" : "var(--commerce-success, #059669)",
1902
+ border: "2px solid var(--commerce-surface, #f9fafb)"
1907
1903
  },
1908
1904
  title: isLow ? `Only ${variant.inventory_count} left` : "In stock"
1909
1905
  }
@@ -1924,7 +1920,7 @@ function QuantitySelector({ quantity, max, onChange }) {
1924
1920
  display: "block",
1925
1921
  fontSize: "0.875rem",
1926
1922
  fontWeight: 600,
1927
- color: "var(--commerce-text)",
1923
+ color: "var(--commerce-text, #111827)",
1928
1924
  marginBottom: "0.5rem"
1929
1925
  },
1930
1926
  children: "Quantity"
@@ -1936,8 +1932,8 @@ function QuantitySelector({ quantity, max, onChange }) {
1936
1932
  style: {
1937
1933
  display: "inline-flex",
1938
1934
  alignItems: "center",
1939
- border: "1px solid var(--commerce-border)",
1940
- borderRadius: "var(--commerce-radius-sm)",
1935
+ border: "1px solid var(--commerce-border, #e5e7eb)",
1936
+ borderRadius: "var(--commerce-radius-sm, 8px)",
1941
1937
  overflow: "hidden"
1942
1938
  },
1943
1939
  children: [
@@ -1951,14 +1947,14 @@ function QuantitySelector({ quantity, max, onChange }) {
1951
1947
  width: 40,
1952
1948
  height: 40,
1953
1949
  border: "none",
1954
- background: "var(--commerce-surface)",
1950
+ background: "var(--commerce-surface, #f9fafb)",
1955
1951
  fontSize: "1.125rem",
1956
1952
  cursor: quantity <= 1 ? "not-allowed" : "pointer",
1957
1953
  opacity: quantity <= 1 ? 0.4 : 1,
1958
1954
  display: "flex",
1959
1955
  alignItems: "center",
1960
1956
  justifyContent: "center",
1961
- color: "var(--commerce-text)"
1957
+ color: "var(--commerce-text, #111827)"
1962
1958
  },
1963
1959
  children: "-"
1964
1960
  }
@@ -1980,11 +1976,11 @@ function QuantitySelector({ quantity, max, onChange }) {
1980
1976
  height: 40,
1981
1977
  textAlign: "center",
1982
1978
  border: "none",
1983
- borderLeft: "1px solid var(--commerce-border)",
1984
- borderRight: "1px solid var(--commerce-border)",
1979
+ borderLeft: "1px solid var(--commerce-border, #e5e7eb)",
1980
+ borderRight: "1px solid var(--commerce-border, #e5e7eb)",
1985
1981
  fontSize: "0.9375rem",
1986
1982
  fontWeight: 500,
1987
- color: "var(--commerce-text)",
1983
+ color: "var(--commerce-text, #111827)",
1988
1984
  outline: "none",
1989
1985
  MozAppearance: "textfield",
1990
1986
  appearance: "textfield"
@@ -2001,14 +1997,14 @@ function QuantitySelector({ quantity, max, onChange }) {
2001
1997
  width: 40,
2002
1998
  height: 40,
2003
1999
  border: "none",
2004
- background: "var(--commerce-surface)",
2000
+ background: "var(--commerce-surface, #f9fafb)",
2005
2001
  fontSize: "1.125rem",
2006
2002
  cursor: quantity >= max ? "not-allowed" : "pointer",
2007
2003
  opacity: quantity >= max ? 0.4 : 1,
2008
2004
  display: "flex",
2009
2005
  alignItems: "center",
2010
2006
  justifyContent: "center",
2011
- color: "var(--commerce-text)"
2007
+ color: "var(--commerce-text, #111827)"
2012
2008
  },
2013
2009
  children: "+"
2014
2010
  }
@@ -2044,18 +2040,18 @@ function TrustBadges({ badges = DEFAULT_TRUST_BADGES }) {
2044
2040
  alignItems: "center",
2045
2041
  textAlign: "center",
2046
2042
  padding: "0.75rem 0.5rem",
2047
- borderRadius: "var(--commerce-radius-sm)",
2048
- background: "var(--commerce-surface)"
2043
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2044
+ background: "var(--commerce-surface, #f9fafb)"
2049
2045
  },
2050
2046
  children: [
2051
- /* @__PURE__ */ jsxRuntime.jsx("span", { style: { color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: Icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, {}) }),
2047
+ /* @__PURE__ */ jsxRuntime.jsx("span", { style: { color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: Icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, {}) }),
2052
2048
  /* @__PURE__ */ jsxRuntime.jsx(
2053
2049
  "span",
2054
2050
  {
2055
2051
  style: {
2056
2052
  fontSize: "0.75rem",
2057
2053
  fontWeight: 600,
2058
- color: "var(--commerce-text)",
2054
+ color: "var(--commerce-text, #111827)",
2059
2055
  lineHeight: 1.3
2060
2056
  },
2061
2057
  children: badge.label
@@ -2066,7 +2062,7 @@ function TrustBadges({ badges = DEFAULT_TRUST_BADGES }) {
2066
2062
  {
2067
2063
  style: {
2068
2064
  fontSize: "0.6875rem",
2069
- color: "var(--commerce-text-muted)",
2065
+ color: "var(--commerce-text-muted, #9ca3af)",
2070
2066
  lineHeight: 1.3
2071
2067
  },
2072
2068
  children: badge.sublabel
@@ -2128,7 +2124,7 @@ function ProductTabs({
2128
2124
  "li",
2129
2125
  {
2130
2126
  style: {
2131
- color: "var(--commerce-text-secondary)",
2127
+ color: "var(--commerce-text-secondary, #6b7280)",
2132
2128
  fontSize: "0.9375rem",
2133
2129
  lineHeight: 1.6
2134
2130
  },
@@ -2153,7 +2149,7 @@ function ProductTabs({
2153
2149
  {
2154
2150
  style: {
2155
2151
  fontSize: "0.875rem",
2156
- color: "var(--commerce-text-muted)",
2152
+ color: "var(--commerce-text-muted, #9ca3af)",
2157
2153
  fontWeight: 500
2158
2154
  },
2159
2155
  children: key
@@ -2165,7 +2161,7 @@ function ProductTabs({
2165
2161
  style: {
2166
2162
  margin: 0,
2167
2163
  fontSize: "0.875rem",
2168
- color: "var(--commerce-text)"
2164
+ color: "var(--commerce-text, #111827)"
2169
2165
  },
2170
2166
  children: value
2171
2167
  }
@@ -2179,7 +2175,7 @@ function ProductTabs({
2179
2175
  id: "skc-tabpanel-description",
2180
2176
  role: "tabpanel",
2181
2177
  style: {
2182
- color: "var(--commerce-text-secondary)",
2178
+ color: "var(--commerce-text-secondary, #6b7280)",
2183
2179
  lineHeight: 1.7,
2184
2180
  fontSize: "0.9375rem"
2185
2181
  },
@@ -2198,14 +2194,14 @@ function EventInfoBlock({ product, schedule }) {
2198
2194
  style: {
2199
2195
  marginTop: "1.25rem",
2200
2196
  padding: "1rem",
2201
- borderRadius: "var(--commerce-radius-sm)",
2202
- background: "var(--commerce-surface)",
2197
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2198
+ background: "var(--commerce-surface, #f9fafb)",
2203
2199
  display: "flex",
2204
2200
  flexDirection: "column",
2205
2201
  gap: "0.5rem"
2206
2202
  },
2207
2203
  children: [
2208
- schedule && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6, fontSize: "0.875rem", color: "var(--commerce-text-secondary)" }, children: [
2204
+ schedule && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6, fontSize: "0.875rem", color: "var(--commerce-text-secondary, #6b7280)" }, children: [
2209
2205
  /* @__PURE__ */ jsxRuntime.jsx(IconCalendar, {}),
2210
2206
  /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
2211
2207
  formatDate(schedule.starts_at),
@@ -2213,17 +2209,17 @@ function EventInfoBlock({ product, schedule }) {
2213
2209
  formatTime(schedule.starts_at)
2214
2210
  ] })
2215
2211
  ] }),
2216
- product.location && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6, fontSize: "0.875rem", color: "var(--commerce-text-secondary)" }, children: [
2212
+ product.location && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6, fontSize: "0.875rem", color: "var(--commerce-text-secondary, #6b7280)" }, children: [
2217
2213
  /* @__PURE__ */ jsxRuntime.jsx(IconMapPin, {}),
2218
2214
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: product.location })
2219
2215
  ] }),
2220
- product.is_virtual && product.virtual_meeting_url && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6, fontSize: "0.875rem", color: "var(--commerce-accent)" }, children: [
2216
+ product.is_virtual && product.virtual_meeting_url && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6, fontSize: "0.875rem", color: "var(--commerce-accent, #2563eb)" }, children: [
2221
2217
  /* @__PURE__ */ jsxRuntime.jsx(IconExternalLink, {}),
2222
2218
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Virtual Event" })
2223
2219
  ] }),
2224
- schedule?.capacity != null && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6, fontSize: "0.875rem", color: "var(--commerce-text-secondary)" }, children: [
2220
+ schedule?.capacity != null && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6, fontSize: "0.875rem", color: "var(--commerce-text-secondary, #6b7280)" }, children: [
2225
2221
  /* @__PURE__ */ jsxRuntime.jsx(IconUsers, {}),
2226
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: soldOut ? /* @__PURE__ */ jsxRuntime.jsx("span", { style: { color: "var(--commerce-danger)", fontWeight: 600 }, children: "Sold Out" }) : schedule.spots_remaining != null && schedule.spots_remaining <= 10 ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "skc-pulse", style: { color: "var(--commerce-warning)", fontWeight: 600 }, children: [
2222
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: soldOut ? /* @__PURE__ */ jsxRuntime.jsx("span", { style: { color: "var(--commerce-danger, #dc2626)", fontWeight: 600 }, children: "Sold Out" }) : schedule.spots_remaining != null && schedule.spots_remaining <= 10 ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "skc-pulse", style: { color: "var(--commerce-warning, #d97706)", fontWeight: 600 }, children: [
2227
2223
  "Only ",
2228
2224
  schedule.spots_remaining,
2229
2225
  " spot",
@@ -2257,9 +2253,9 @@ function CustomerInfoStep({ customer, onChange, onNext, onBack }) {
2257
2253
  onNext();
2258
2254
  };
2259
2255
  return /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, style: { display: "flex", flexDirection: "column", gap: "0.875rem" }, children: [
2260
- /* @__PURE__ */ jsxRuntime.jsx("h3", { style: { margin: 0, fontSize: "1.125rem", fontWeight: 600, color: "var(--commerce-text)" }, children: "Contact Information" }),
2256
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { style: { margin: 0, fontSize: "1.125rem", fontWeight: 600, color: "var(--commerce-text, #111827)" }, children: "Contact Information" }),
2261
2257
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2262
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "Full Name *" }),
2258
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "Full Name *" }),
2263
2259
  /* @__PURE__ */ jsxRuntime.jsx(
2264
2260
  "input",
2265
2261
  {
@@ -2274,7 +2270,7 @@ function CustomerInfoStep({ customer, onChange, onNext, onBack }) {
2274
2270
  )
2275
2271
  ] }),
2276
2272
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2277
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "Email Address *" }),
2273
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "Email Address *" }),
2278
2274
  /* @__PURE__ */ jsxRuntime.jsx(
2279
2275
  "input",
2280
2276
  {
@@ -2288,7 +2284,7 @@ function CustomerInfoStep({ customer, onChange, onNext, onBack }) {
2288
2284
  )
2289
2285
  ] }),
2290
2286
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2291
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "Phone Number" }),
2287
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "Phone Number" }),
2292
2288
  /* @__PURE__ */ jsxRuntime.jsx(
2293
2289
  "input",
2294
2290
  {
@@ -2308,10 +2304,10 @@ function CustomerInfoStep({ customer, onChange, onNext, onBack }) {
2308
2304
  onClick: onBack,
2309
2305
  style: {
2310
2306
  padding: "0.75rem 1.25rem",
2311
- borderRadius: "var(--commerce-radius-sm)",
2312
- border: "1px solid var(--commerce-border)",
2307
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2308
+ border: "1px solid var(--commerce-border, #e5e7eb)",
2313
2309
  background: "white",
2314
- color: "var(--commerce-text-secondary)",
2310
+ color: "var(--commerce-text-secondary, #6b7280)",
2315
2311
  fontSize: "0.875rem",
2316
2312
  fontWeight: 500,
2317
2313
  cursor: "pointer"
@@ -2332,9 +2328,9 @@ function ShippingAddressStep({ address, onChange, onNext, onBack, loading }) {
2332
2328
  onChange({ ...address, [field]: value });
2333
2329
  };
2334
2330
  return /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, style: { display: "flex", flexDirection: "column", gap: "0.875rem" }, children: [
2335
- /* @__PURE__ */ jsxRuntime.jsx("h3", { style: { margin: 0, fontSize: "1.125rem", fontWeight: 600, color: "var(--commerce-text)" }, children: "Shipping Address" }),
2331
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { style: { margin: 0, fontSize: "1.125rem", fontWeight: 600, color: "var(--commerce-text, #111827)" }, children: "Shipping Address" }),
2336
2332
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2337
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "Street Address *" }),
2333
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "Street Address *" }),
2338
2334
  /* @__PURE__ */ jsxRuntime.jsx(
2339
2335
  "input",
2340
2336
  {
@@ -2349,7 +2345,7 @@ function ShippingAddressStep({ address, onChange, onNext, onBack, loading }) {
2349
2345
  )
2350
2346
  ] }),
2351
2347
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2352
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "Apt / Suite" }),
2348
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "Apt / Suite" }),
2353
2349
  /* @__PURE__ */ jsxRuntime.jsx(
2354
2350
  "input",
2355
2351
  {
@@ -2363,7 +2359,7 @@ function ShippingAddressStep({ address, onChange, onNext, onBack, loading }) {
2363
2359
  ] }),
2364
2360
  /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "0.75rem" }, children: [
2365
2361
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2366
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "City *" }),
2362
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "City *" }),
2367
2363
  /* @__PURE__ */ jsxRuntime.jsx(
2368
2364
  "input",
2369
2365
  {
@@ -2377,7 +2373,7 @@ function ShippingAddressStep({ address, onChange, onNext, onBack, loading }) {
2377
2373
  )
2378
2374
  ] }),
2379
2375
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2380
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "State *" }),
2376
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "State *" }),
2381
2377
  /* @__PURE__ */ jsxRuntime.jsx(
2382
2378
  "input",
2383
2379
  {
@@ -2393,7 +2389,7 @@ function ShippingAddressStep({ address, onChange, onNext, onBack, loading }) {
2393
2389
  ] }),
2394
2390
  /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "0.75rem" }, children: [
2395
2391
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2396
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "ZIP Code *" }),
2392
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "ZIP Code *" }),
2397
2393
  /* @__PURE__ */ jsxRuntime.jsx(
2398
2394
  "input",
2399
2395
  {
@@ -2407,7 +2403,7 @@ function ShippingAddressStep({ address, onChange, onNext, onBack, loading }) {
2407
2403
  )
2408
2404
  ] }),
2409
2405
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2410
- /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary)", marginBottom: 4 }, children: "Country" }),
2406
+ /* @__PURE__ */ jsxRuntime.jsx("label", { style: { display: "block", fontSize: "0.8125rem", fontWeight: 500, color: "var(--commerce-text-secondary, #6b7280)", marginBottom: 4 }, children: "Country" }),
2411
2407
  /* @__PURE__ */ jsxRuntime.jsx(
2412
2408
  "input",
2413
2409
  {
@@ -2428,10 +2424,10 @@ function ShippingAddressStep({ address, onChange, onNext, onBack, loading }) {
2428
2424
  onClick: onBack,
2429
2425
  style: {
2430
2426
  padding: "0.75rem 1.25rem",
2431
- borderRadius: "var(--commerce-radius-sm)",
2432
- border: "1px solid var(--commerce-border)",
2427
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2428
+ border: "1px solid var(--commerce-border, #e5e7eb)",
2433
2429
  background: "white",
2434
- color: "var(--commerce-text-secondary)",
2430
+ color: "var(--commerce-text-secondary, #6b7280)",
2435
2431
  fontSize: "0.875rem",
2436
2432
  fontWeight: 500,
2437
2433
  cursor: "pointer"
@@ -2452,20 +2448,20 @@ function ShippingRatesStep({ rates, selected, onSelect, onNext, onBack, loading,
2452
2448
  style: {
2453
2449
  width: 32,
2454
2450
  height: 32,
2455
- border: "3px solid var(--commerce-border)",
2456
- borderTopColor: "var(--commerce-accent)",
2451
+ border: "3px solid var(--commerce-border, #e5e7eb)",
2452
+ borderTopColor: "var(--commerce-accent, #2563eb)",
2457
2453
  borderRadius: "50%",
2458
2454
  animation: "skc-spin 1s linear infinite",
2459
2455
  margin: "0 auto 1rem"
2460
2456
  }
2461
2457
  }
2462
2458
  ),
2463
- /* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "var(--commerce-text-secondary)", fontSize: "0.875rem", margin: 0 }, children: "Calculating shipping rates..." })
2459
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "var(--commerce-text-secondary, #6b7280)", fontSize: "0.875rem", margin: 0 }, children: "Calculating shipping rates..." })
2464
2460
  ] });
2465
2461
  }
2466
2462
  if (!rates.length) {
2467
2463
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { textAlign: "center", padding: "1.5rem 0" }, children: [
2468
- /* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "var(--commerce-text-secondary)", fontSize: "0.875rem", margin: "0 0 1rem" }, children: "No shipping rates available for this address. Please check your address and try again." }),
2464
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "var(--commerce-text-secondary, #6b7280)", fontSize: "0.875rem", margin: "0 0 1rem" }, children: "No shipping rates available for this address. Please check your address and try again." }),
2469
2465
  /* @__PURE__ */ jsxRuntime.jsx(
2470
2466
  "button",
2471
2467
  {
@@ -2473,10 +2469,10 @@ function ShippingRatesStep({ rates, selected, onSelect, onNext, onBack, loading,
2473
2469
  onClick: onBack,
2474
2470
  style: {
2475
2471
  padding: "0.75rem 1.5rem",
2476
- borderRadius: "var(--commerce-radius-sm)",
2477
- border: "1px solid var(--commerce-border)",
2472
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2473
+ border: "1px solid var(--commerce-border, #e5e7eb)",
2478
2474
  background: "white",
2479
- color: "var(--commerce-text-secondary)",
2475
+ color: "var(--commerce-text-secondary, #6b7280)",
2480
2476
  fontSize: "0.875rem",
2481
2477
  fontWeight: 500,
2482
2478
  cursor: "pointer"
@@ -2487,7 +2483,7 @@ function ShippingRatesStep({ rates, selected, onSelect, onNext, onBack, loading,
2487
2483
  ] });
2488
2484
  }
2489
2485
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "0.875rem" }, children: [
2490
- /* @__PURE__ */ jsxRuntime.jsx("h3", { style: { margin: 0, fontSize: "1.125rem", fontWeight: 600, color: "var(--commerce-text)" }, children: "Shipping Method" }),
2486
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { style: { margin: 0, fontSize: "1.125rem", fontWeight: 600, color: "var(--commerce-text, #111827)" }, children: "Shipping Method" }),
2491
2487
  /* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", flexDirection: "column", gap: "0.5rem" }, role: "radiogroup", "aria-label": "Shipping options", children: rates.map((rate, idx) => {
2492
2488
  const isSelected = selected?.objectId === rate.objectId || selected === null && idx === 0;
2493
2489
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -2501,8 +2497,8 @@ function ShippingRatesStep({ rates, selected, onSelect, onNext, onBack, loading,
2501
2497
  alignItems: "center",
2502
2498
  justifyContent: "space-between",
2503
2499
  padding: "0.875rem 1rem",
2504
- borderRadius: "var(--commerce-radius-sm)",
2505
- border: isSelected ? "2px solid var(--commerce-accent)" : "1px solid var(--commerce-border)",
2500
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2501
+ border: isSelected ? "2px solid var(--commerce-accent, #2563eb)" : "1px solid var(--commerce-border, #e5e7eb)",
2506
2502
  background: isSelected ? "rgba(37,99,235,0.03)" : "white",
2507
2503
  cursor: "pointer",
2508
2504
  textAlign: "left",
@@ -2510,14 +2506,14 @@ function ShippingRatesStep({ rates, selected, onSelect, onNext, onBack, loading,
2510
2506
  },
2511
2507
  children: [
2512
2508
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
2513
- /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { fontSize: "0.875rem", fontWeight: 600, color: "var(--commerce-text)" }, children: [
2509
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { fontSize: "0.875rem", fontWeight: 600, color: "var(--commerce-text, #111827)" }, children: [
2514
2510
  rate.carrier,
2515
2511
  " \u2014 ",
2516
2512
  rate.service
2517
2513
  ] }),
2518
- rate.estimatedDays != null && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontSize: "0.8125rem", color: "var(--commerce-text-muted)", marginTop: 2 }, children: rate.estimatedDays === 1 ? "1 business day" : `${rate.estimatedDays} business days` })
2514
+ rate.estimatedDays != null && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontSize: "0.8125rem", color: "var(--commerce-text-muted, #9ca3af)", marginTop: 2 }, children: rate.estimatedDays === 1 ? "1 business day" : `${rate.estimatedDays} business days` })
2519
2515
  ] }),
2520
- /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: "0.9375rem", fontWeight: 600, color: "var(--commerce-text)" }, children: formatPrice(parseFloat(rate.amount), rate.currency || currency) })
2516
+ /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: "0.9375rem", fontWeight: 600, color: "var(--commerce-text, #111827)" }, children: formatPrice(parseFloat(rate.amount), rate.currency || currency) })
2521
2517
  ]
2522
2518
  },
2523
2519
  rate.objectId || idx
@@ -2531,10 +2527,10 @@ function ShippingRatesStep({ rates, selected, onSelect, onNext, onBack, loading,
2531
2527
  onClick: onBack,
2532
2528
  style: {
2533
2529
  padding: "0.75rem 1.25rem",
2534
- borderRadius: "var(--commerce-radius-sm)",
2535
- border: "1px solid var(--commerce-border)",
2530
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2531
+ border: "1px solid var(--commerce-border, #e5e7eb)",
2536
2532
  background: "white",
2537
- color: "var(--commerce-text-secondary)",
2533
+ color: "var(--commerce-text-secondary, #6b7280)",
2538
2534
  fontSize: "0.875rem",
2539
2535
  fontWeight: 500,
2540
2536
  cursor: "pointer"
@@ -2757,21 +2753,21 @@ function PaymentStep({
2757
2753
  }
2758
2754
  };
2759
2755
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "1rem" }, children: [
2760
- /* @__PURE__ */ jsxRuntime.jsx("h3", { style: { margin: 0, fontSize: "1.125rem", fontWeight: 600, color: "var(--commerce-text)" }, children: "Payment" }),
2756
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { style: { margin: 0, fontSize: "1.125rem", fontWeight: 600, color: "var(--commerce-text, #111827)" }, children: "Payment" }),
2761
2757
  /* @__PURE__ */ jsxRuntime.jsxs(
2762
2758
  "div",
2763
2759
  {
2764
2760
  style: {
2765
2761
  padding: "1rem",
2766
- borderRadius: "var(--commerce-radius-sm)",
2767
- background: "var(--commerce-surface)",
2762
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2763
+ background: "var(--commerce-surface, #f9fafb)",
2768
2764
  display: "flex",
2769
2765
  flexDirection: "column",
2770
2766
  gap: "0.375rem",
2771
2767
  fontSize: "0.875rem"
2772
2768
  },
2773
2769
  children: [
2774
- /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", justifyContent: "space-between", color: "var(--commerce-text-secondary)" }, children: [
2770
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", justifyContent: "space-between", color: "var(--commerce-text-secondary, #6b7280)" }, children: [
2775
2771
  /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
2776
2772
  product.name,
2777
2773
  " ",
@@ -2781,7 +2777,7 @@ function PaymentStep({
2781
2777
  ] }),
2782
2778
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: formatPrice(subtotal, product.currency) })
2783
2779
  ] }),
2784
- shippingRate && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", justifyContent: "space-between", color: "var(--commerce-text-secondary)" }, children: [
2780
+ shippingRate && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", justifyContent: "space-between", color: "var(--commerce-text-secondary, #6b7280)" }, children: [
2785
2781
  /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
2786
2782
  "Shipping (",
2787
2783
  shippingRate.carrier,
@@ -2798,10 +2794,10 @@ function PaymentStep({
2798
2794
  display: "flex",
2799
2795
  justifyContent: "space-between",
2800
2796
  fontWeight: 700,
2801
- color: "var(--commerce-text)",
2797
+ color: "var(--commerce-text, #111827)",
2802
2798
  fontSize: "1rem",
2803
2799
  paddingTop: "0.5rem",
2804
- borderTop: "1px solid var(--commerce-border)",
2800
+ borderTop: "1px solid var(--commerce-border, #e5e7eb)",
2805
2801
  marginTop: "0.25rem"
2806
2802
  },
2807
2803
  children: [
@@ -2821,7 +2817,7 @@ function PaymentStep({
2821
2817
  display: "block",
2822
2818
  fontSize: "0.8125rem",
2823
2819
  fontWeight: 500,
2824
- color: "var(--commerce-text-secondary)",
2820
+ color: "var(--commerce-text-secondary, #6b7280)",
2825
2821
  marginBottom: 6
2826
2822
  },
2827
2823
  children: "Card Details"
@@ -2834,14 +2830,14 @@ function PaymentStep({
2834
2830
  ref: cardContainerRef,
2835
2831
  style: {
2836
2832
  minHeight: processor === "stripe" ? 80 : 44,
2837
- border: "1px solid var(--commerce-border)",
2838
- borderRadius: "var(--commerce-radius-sm)",
2833
+ border: "1px solid var(--commerce-border, #e5e7eb)",
2834
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2839
2835
  padding: processor === "stripe" ? "0.75rem" : "0.5rem 0.75rem",
2840
2836
  background: "white"
2841
2837
  }
2842
2838
  }
2843
2839
  ),
2844
- !cardReady && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontSize: "0.75rem", color: "var(--commerce-text-muted)", marginTop: 4, marginBottom: 0 }, children: "Loading secure payment form..." })
2840
+ !cardReady && !error && /* @__PURE__ */ jsxRuntime.jsx("p", { style: { fontSize: "0.75rem", color: "var(--commerce-text-muted, #9ca3af)", marginTop: 4, marginBottom: 0 }, children: "Loading secure payment form..." })
2845
2841
  ] }),
2846
2842
  error && /* @__PURE__ */ jsxRuntime.jsxs(
2847
2843
  "div",
@@ -2853,8 +2849,8 @@ function PaymentStep({
2853
2849
  padding: "0.75rem",
2854
2850
  background: "#fef2f2",
2855
2851
  border: "1px solid #fecaca",
2856
- borderRadius: "var(--commerce-radius-sm)",
2857
- color: "var(--commerce-danger)",
2852
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2853
+ color: "var(--commerce-danger, #dc2626)",
2858
2854
  fontSize: "0.875rem"
2859
2855
  },
2860
2856
  children: [
@@ -2872,10 +2868,10 @@ function PaymentStep({
2872
2868
  disabled: submitting,
2873
2869
  style: {
2874
2870
  padding: "0.75rem 1.25rem",
2875
- borderRadius: "var(--commerce-radius-sm)",
2876
- border: "1px solid var(--commerce-border)",
2871
+ borderRadius: "var(--commerce-radius-sm, 8px)",
2872
+ border: "1px solid var(--commerce-border, #e5e7eb)",
2877
2873
  background: "white",
2878
- color: "var(--commerce-text-secondary)",
2874
+ color: "var(--commerce-text-secondary, #6b7280)",
2879
2875
  fontSize: "0.875rem",
2880
2876
  fontWeight: 500,
2881
2877
  cursor: submitting ? "not-allowed" : "pointer",
@@ -2922,7 +2918,7 @@ function PaymentStep({
2922
2918
  style: {
2923
2919
  textAlign: "center",
2924
2920
  fontSize: "0.6875rem",
2925
- color: "var(--commerce-text-muted)",
2921
+ color: "var(--commerce-text-muted, #9ca3af)",
2926
2922
  margin: "0.25rem 0 0"
2927
2923
  },
2928
2924
  children: [
@@ -2963,7 +2959,7 @@ function SuccessStep({ result, product, onClose }) {
2963
2959
  height: "32",
2964
2960
  viewBox: "0 0 24 24",
2965
2961
  fill: "none",
2966
- stroke: "var(--commerce-success)",
2962
+ stroke: "var(--commerce-success, #059669)",
2967
2963
  strokeWidth: "2.5",
2968
2964
  strokeLinecap: "round",
2969
2965
  strokeLinejoin: "round",
@@ -2985,21 +2981,21 @@ function SuccessStep({ result, product, onClose }) {
2985
2981
  margin: "0 0 0.5rem",
2986
2982
  fontSize: "1.375rem",
2987
2983
  fontWeight: 700,
2988
- color: "var(--commerce-success)"
2984
+ color: "var(--commerce-success, #059669)"
2989
2985
  },
2990
2986
  children: "Order Confirmed!"
2991
2987
  }
2992
2988
  ),
2993
- /* @__PURE__ */ jsxRuntime.jsxs("p", { style: { color: "var(--commerce-text-secondary)", margin: "0 0 0.5rem", fontSize: "0.9375rem" }, children: [
2989
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { style: { color: "var(--commerce-text-secondary, #6b7280)", margin: "0 0 0.5rem", fontSize: "0.9375rem" }, children: [
2994
2990
  "Thank you for your purchase of ",
2995
2991
  product.name,
2996
2992
  "."
2997
2993
  ] }),
2998
- result.confirmation_number && /* @__PURE__ */ jsxRuntime.jsxs("p", { style: { color: "var(--commerce-text-muted)", margin: "0 0 1rem", fontSize: "0.8125rem" }, children: [
2994
+ result.confirmation_number && /* @__PURE__ */ jsxRuntime.jsxs("p", { style: { color: "var(--commerce-text-muted, #9ca3af)", margin: "0 0 1rem", fontSize: "0.8125rem" }, children: [
2999
2995
  "Confirmation: ",
3000
- /* @__PURE__ */ jsxRuntime.jsx("strong", { style: { color: "var(--commerce-text)" }, children: result.confirmation_number })
2996
+ /* @__PURE__ */ jsxRuntime.jsx("strong", { style: { color: "var(--commerce-text, #111827)" }, children: result.confirmation_number })
3001
2997
  ] }),
3002
- /* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "var(--commerce-text-muted)", margin: "0 0 1.5rem", fontSize: "0.875rem" }, children: "A confirmation email has been sent to your inbox." }),
2998
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "var(--commerce-text-muted, #9ca3af)", margin: "0 0 1.5rem", fontSize: "0.875rem" }, children: "A confirmation email has been sent to your inbox." }),
3003
2999
  /* @__PURE__ */ jsxRuntime.jsx("button", { className: "skc-btn-primary", onClick: onClose, style: { maxWidth: 240 }, children: "Done" })
3004
3000
  ]
3005
3001
  }
@@ -3166,8 +3162,8 @@ function ProductDetail({
3166
3162
  style: {
3167
3163
  width: 48,
3168
3164
  height: 48,
3169
- border: "3px solid var(--commerce-border)",
3170
- borderTopColor: "var(--commerce-accent)",
3165
+ border: "3px solid var(--commerce-border, #e5e7eb)",
3166
+ borderTopColor: "var(--commerce-accent, #2563eb)",
3171
3167
  borderRadius: "50%",
3172
3168
  animation: "skc-spin 1s linear infinite"
3173
3169
  }
@@ -3177,8 +3173,8 @@ function ProductDetail({
3177
3173
  }
3178
3174
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `skc-detail ${className}`, style: customStyle, children: [
3179
3175
  /* @__PURE__ */ jsxRuntime.jsx("style", { children: STYLE_BLOCK }),
3180
- /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { textAlign: "center", padding: "4rem 2rem", color: "var(--commerce-text-secondary)" }, children: [
3181
- /* @__PURE__ */ jsxRuntime.jsx("h2", { style: { margin: 0, fontSize: "1.5rem", color: "var(--commerce-text)" }, children: "Product Not Found" }),
3176
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { textAlign: "center", padding: "4rem 2rem", color: "var(--commerce-text-secondary, #6b7280)" }, children: [
3177
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { style: { margin: 0, fontSize: "1.5rem", color: "var(--commerce-text, #111827)" }, children: "Product Not Found" }),
3182
3178
  /* @__PURE__ */ jsxRuntime.jsx("p", { style: { marginTop: "0.5rem" }, children: "The product you are looking for does not exist or has been removed." })
3183
3179
  ] })
3184
3180
  ] });
@@ -3346,7 +3342,7 @@ function ProductDetail({
3346
3342
  style: {
3347
3343
  fontSize: "0.75rem",
3348
3344
  fontWeight: 600,
3349
- color: "var(--commerce-accent)",
3345
+ color: "var(--commerce-accent, #2563eb)",
3350
3346
  textTransform: "uppercase",
3351
3347
  letterSpacing: "0.05em",
3352
3348
  marginBottom: "0.375rem"
@@ -3361,7 +3357,7 @@ function ProductDetail({
3361
3357
  margin: 0,
3362
3358
  fontSize: "1.875rem",
3363
3359
  fontWeight: 700,
3364
- color: "var(--commerce-text)",
3360
+ color: "var(--commerce-text, #111827)",
3365
3361
  lineHeight: 1.2
3366
3362
  },
3367
3363
  children: product.name
@@ -3374,7 +3370,7 @@ function ProductDetail({
3374
3370
  marginTop: "0.625rem",
3375
3371
  marginBottom: 0,
3376
3372
  fontSize: "1rem",
3377
- color: "var(--commerce-text-secondary)",
3373
+ color: "var(--commerce-text-secondary, #6b7280)",
3378
3374
  lineHeight: 1.6
3379
3375
  },
3380
3376
  children: product.short_description
@@ -3397,7 +3393,7 @@ function ProductDetail({
3397
3393
  style: {
3398
3394
  fontSize: "1.75rem",
3399
3395
  fontWeight: 700,
3400
- color: hasDiscount ? "var(--commerce-danger)" : "var(--commerce-text)"
3396
+ color: hasDiscount ? "var(--commerce-danger, #dc2626)" : "var(--commerce-text, #111827)"
3401
3397
  },
3402
3398
  children: formatPrice(currentPrice, product.currency)
3403
3399
  }
@@ -3408,7 +3404,7 @@ function ProductDetail({
3408
3404
  {
3409
3405
  style: {
3410
3406
  fontSize: "1.125rem",
3411
- color: "var(--commerce-text-muted)",
3407
+ color: "var(--commerce-text-muted, #9ca3af)",
3412
3408
  textDecoration: "line-through"
3413
3409
  },
3414
3410
  children: formatPrice(compareAtPrice, product.currency)
@@ -3420,8 +3416,8 @@ function ProductDetail({
3420
3416
  style: {
3421
3417
  fontSize: "0.75rem",
3422
3418
  fontWeight: 700,
3423
- color: "var(--commerce-accent-text)",
3424
- background: "var(--commerce-danger)",
3419
+ color: "var(--commerce-accent-text, #ffffff)",
3420
+ background: "var(--commerce-danger, #dc2626)",
3425
3421
  padding: "2px 8px",
3426
3422
  borderRadius: 4
3427
3423
  },
@@ -3433,7 +3429,7 @@ function ProductDetail({
3433
3429
  }
3434
3430
  )
3435
3431
  ] }),
3436
- product.billing_period && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "0.875rem", color: "var(--commerce-text-muted)" }, children: [
3432
+ product.billing_period && /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { fontSize: "0.875rem", color: "var(--commerce-text-muted, #9ca3af)" }, children: [
3437
3433
  "/ ",
3438
3434
  product.billing_period
3439
3435
  ] })
@@ -3446,7 +3442,7 @@ function ProductDetail({
3446
3442
  style: {
3447
3443
  fontSize: "0.8125rem",
3448
3444
  fontWeight: 600,
3449
- color: "var(--commerce-danger)",
3445
+ color: "var(--commerce-danger, #dc2626)",
3450
3446
  display: "flex",
3451
3447
  alignItems: "center",
3452
3448
  gap: 4
@@ -3463,7 +3459,7 @@ function ProductDetail({
3463
3459
  style: {
3464
3460
  fontSize: "0.8125rem",
3465
3461
  fontWeight: 600,
3466
- color: "var(--commerce-warning)",
3462
+ color: "var(--commerce-warning, #d97706)",
3467
3463
  display: "flex",
3468
3464
  alignItems: "center",
3469
3465
  gap: 4
@@ -3481,7 +3477,7 @@ function ProductDetail({
3481
3477
  style: {
3482
3478
  fontSize: "0.8125rem",
3483
3479
  fontWeight: 500,
3484
- color: "var(--commerce-success)",
3480
+ color: "var(--commerce-success, #059669)",
3485
3481
  display: "flex",
3486
3482
  alignItems: "center",
3487
3483
  gap: 4
@@ -3503,11 +3499,38 @@ function ProductDetail({
3503
3499
  onSelect: handleVariantChange
3504
3500
  }
3505
3501
  ),
3502
+ product.size_chart?.fit_note && /* @__PURE__ */ jsxRuntime.jsxs(
3503
+ "div",
3504
+ {
3505
+ style: {
3506
+ marginTop: "0.75rem",
3507
+ padding: "0.625rem 0.875rem",
3508
+ borderRadius: "var(--commerce-radius-sm, 8px)",
3509
+ backgroundColor: "color-mix(in srgb, var(--commerce-warning, #d97706) 10%, transparent)",
3510
+ border: "1px solid color-mix(in srgb, var(--commerce-warning, #d97706) 25%, transparent)",
3511
+ display: "flex",
3512
+ alignItems: "flex-start",
3513
+ gap: "0.5rem",
3514
+ fontSize: "0.8125rem",
3515
+ color: "var(--commerce-warning, #d97706)",
3516
+ fontWeight: 500,
3517
+ lineHeight: 1.4
3518
+ },
3519
+ children: [
3520
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", style: { flexShrink: 0, marginTop: 1 }, children: [
3521
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z" }),
3522
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
3523
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
3524
+ ] }),
3525
+ product.size_chart.fit_note
3526
+ ]
3527
+ }
3528
+ ),
3506
3529
  showSizeChart && product.is_clothing && product.size_chart && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { marginTop: "0.625rem" }, children: /* @__PURE__ */ jsxRuntime.jsx(
3507
3530
  SizeChart,
3508
3531
  {
3509
3532
  chart: product.size_chart,
3510
- selectedSize: selectedVariant?.options?.["Size"]
3533
+ selectedSize: selectedVariant?.options?.Size || selectedVariant?.name
3511
3534
  }
3512
3535
  ) }),
3513
3536
  showQuantity && !isOutOfStock && !isEvent && !isService && /* @__PURE__ */ jsxRuntime.jsx(
@@ -3551,8 +3574,8 @@ function ProductDetail({
3551
3574
  padding: "0.75rem",
3552
3575
  background: "#fef2f2",
3553
3576
  border: "1px solid #fecaca",
3554
- borderRadius: "var(--commerce-radius-sm)",
3555
- color: "var(--commerce-danger)",
3577
+ borderRadius: "var(--commerce-radius-sm, 8px)",
3578
+ color: "var(--commerce-danger, #dc2626)",
3556
3579
  fontSize: "0.875rem",
3557
3580
  display: "flex",
3558
3581
  alignItems: "flex-start",
@@ -3580,8 +3603,8 @@ function ProductDetail({
3580
3603
  ] }),
3581
3604
  showStickyBar && checkoutState === "browsing" && !isOutOfStock && !needsVariantSelection && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "skc-sticky-bar", children: [
3582
3605
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
3583
- /* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontWeight: 600, fontSize: "0.875rem", color: "var(--commerce-text)", lineHeight: 1.2 }, children: product.name }),
3584
- product.price_is_public && currentPrice != null && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontWeight: 700, fontSize: "1rem", color: hasDiscount ? "var(--commerce-danger)" : "var(--commerce-text)" }, children: formatPrice(currentPrice, product.currency) })
3606
+ /* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontWeight: 600, fontSize: "0.875rem", color: "var(--commerce-text, #111827)", lineHeight: 1.2 }, children: product.name }),
3607
+ product.price_is_public && currentPrice != null && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { fontWeight: 700, fontSize: "1rem", color: hasDiscount ? "var(--commerce-danger, #dc2626)" : "var(--commerce-text, #111827)" }, children: formatPrice(currentPrice, product.currency) })
3585
3608
  ] }),
3586
3609
  /* @__PURE__ */ jsxRuntime.jsx(
3587
3610
  "button",
@@ -3624,13 +3647,13 @@ function ProductDetail({
3624
3647
  height: 32,
3625
3648
  borderRadius: "50%",
3626
3649
  border: "none",
3627
- background: "var(--commerce-surface)",
3650
+ background: "var(--commerce-surface, #f9fafb)",
3628
3651
  cursor: "pointer",
3629
3652
  display: "flex",
3630
3653
  alignItems: "center",
3631
3654
  justifyContent: "center",
3632
3655
  zIndex: 10,
3633
- color: "var(--commerce-text-secondary)"
3656
+ color: "var(--commerce-text-secondary, #6b7280)"
3634
3657
  },
3635
3658
  children: /* @__PURE__ */ jsxRuntime.jsx(IconX, {})
3636
3659
  }
@@ -3644,15 +3667,15 @@ function ProductDetail({
3644
3667
  style: {
3645
3668
  width: 48,
3646
3669
  height: 48,
3647
- border: "3px solid var(--commerce-border)",
3648
- borderTopColor: "var(--commerce-accent)",
3670
+ border: "3px solid var(--commerce-border, #e5e7eb)",
3671
+ borderTopColor: "var(--commerce-accent, #2563eb)",
3649
3672
  borderRadius: "50%",
3650
3673
  animation: "skc-spin 0.8s linear infinite",
3651
3674
  margin: "0 auto 1.5rem"
3652
3675
  }
3653
3676
  }
3654
3677
  ),
3655
- /* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "var(--commerce-text-secondary)", fontSize: "0.9375rem", margin: 0 }, children: "Processing your order..." })
3678
+ /* @__PURE__ */ jsxRuntime.jsx("p", { style: { color: "var(--commerce-text-secondary, #6b7280)", fontSize: "0.9375rem", margin: 0 }, children: "Processing your order..." })
3656
3679
  ] }),
3657
3680
  checkoutState === "success" && checkoutResult && /* @__PURE__ */ jsxRuntime.jsx(SuccessStep, { result: checkoutResult, product, onClose: handleCloseCheckout }),
3658
3681
  checkoutState === "customer-info" && /* @__PURE__ */ jsxRuntime.jsx(
@@ -3716,8 +3739,8 @@ function ProductDetail({
3716
3739
  padding: "0.75rem",
3717
3740
  background: "#fef2f2",
3718
3741
  border: "1px solid #fecaca",
3719
- borderRadius: "var(--commerce-radius-sm)",
3720
- color: "var(--commerce-danger)",
3742
+ borderRadius: "var(--commerce-radius-sm, 8px)",
3743
+ color: "var(--commerce-danger, #dc2626)",
3721
3744
  fontSize: "0.875rem",
3722
3745
  display: "flex",
3723
3746
  alignItems: "flex-start",
@@ -6599,5 +6622,5 @@ exports.isEventSoldOut = isEventSoldOut;
6599
6622
  exports.registerForEvent = registerForEvent;
6600
6623
  exports.useEventModal = useEventModal;
6601
6624
  exports.validateAddress = validateAddress;
6602
- //# sourceMappingURL=chunk-B46F5RXP.js.map
6603
- //# sourceMappingURL=chunk-B46F5RXP.js.map
6625
+ //# sourceMappingURL=chunk-BYXMT7IG.js.map
6626
+ //# sourceMappingURL=chunk-BYXMT7IG.js.map