@sonic-equipment/ui 148.0.0 → 150.0.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 (72) hide show
  1. package/dist/address-info-display/address-info-display.js +1 -2
  2. package/dist/algolia/algolia-hit-type.d.ts +2 -0
  3. package/dist/algolia/use-algolia-insights.js +3 -3
  4. package/dist/cards/orderline-card/orderline-card.js +2 -2
  5. package/dist/cards/orderline-card/orderline-card.module.css.js +1 -1
  6. package/dist/cards/product-card/product-card.js +3 -2
  7. package/dist/cards/product-card/product-card.module.css.js +1 -1
  8. package/dist/cart-totals/cart-totals-summary.d.ts +4 -2
  9. package/dist/cart-totals/cart-totals-summary.js +3 -2
  10. package/dist/cart-totals/cart-totals.d.ts +7 -5
  11. package/dist/cart-totals/cart-totals.js +3 -2
  12. package/dist/delivery-time/delivery-time.js +2 -2
  13. package/dist/display/price/price.d.ts +18 -0
  14. package/dist/display/price/price.js +30 -0
  15. package/dist/display/price/price.module.css.js +3 -0
  16. package/dist/display/product-sku/product-sku.d.ts +2 -1
  17. package/dist/display/product-sku/product-sku.js +3 -2
  18. package/dist/exports.d.ts +4 -2
  19. package/dist/global-search/search-result-panel/sections/with-results.js +1 -0
  20. package/dist/index.js +8 -6
  21. package/dist/intl/intl-context.d.ts +10 -4
  22. package/dist/intl/intl-context.js +4 -0
  23. package/dist/intl/intl-provider.d.ts +4 -2
  24. package/dist/intl/intl-provider.js +18 -4
  25. package/dist/intl/missing-translation-provider.js +3 -2
  26. package/dist/intl/translation-id.d.ts +1 -1
  27. package/dist/intl/types.d.ts +2 -0
  28. package/dist/intl/types.js +6 -1
  29. package/dist/intl/use-country-code.d.ts +3 -0
  30. package/dist/intl/use-country-code.js +15 -0
  31. package/dist/intl/use-culture-code.d.ts +2 -1
  32. package/dist/intl/use-culture-code.js +5 -4
  33. package/dist/intl/use-currency-code.d.ts +4 -0
  34. package/dist/intl/use-currency-code.js +15 -0
  35. package/dist/intl/use-formatted-message.js +2 -3
  36. package/dist/intl/use-intl.d.ts +1 -0
  37. package/dist/intl/use-intl.js +9 -0
  38. package/dist/intl/use-language-code.js +2 -3
  39. package/dist/pages/checkout/cart-page/cart-page.js +6 -1
  40. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.js +6 -1
  41. package/dist/pages/checkout/payment-page/components/adyen-payment.d.ts +3 -2
  42. package/dist/pages/checkout/payment-page/components/payment.js +22 -22
  43. package/dist/pages/checkout/payment-page/payment-page-content.js +7 -2
  44. package/dist/pages/checkout/payment-page/utils/parse-amount.d.ts +2 -1
  45. package/dist/pages/checkout/shipping-page/shipping-page-content.js +6 -2
  46. package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.js +2 -2
  47. package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.module.css.js +1 -1
  48. package/dist/pages/product/product-listing-page/product-listing-product-overview/product-listing-product-overview.js +1 -0
  49. package/dist/pages/product/search-result-page/search-result-product-overview/search-result-product-overview.js +1 -0
  50. package/dist/shared/api/bff/model/bff.model.d.ts +3 -0
  51. package/dist/shared/api/storefront/hooks/cart/use-place-order.d.ts +1 -1
  52. package/dist/shared/api/storefront/services/cart-service.d.ts +1 -1
  53. package/dist/shared/api/storefront/services/cart-service.js +1 -1
  54. package/dist/shared/ga/use-data-layer.js +4 -4
  55. package/dist/shared/hooks/use-cookie.js +1 -1
  56. package/dist/shared/model/currency.d.ts +8 -1
  57. package/dist/shared/model/currency.js +28 -30
  58. package/dist/shared/model/hit.d.ts +2 -0
  59. package/dist/shared/model/hit.js +1 -0
  60. package/dist/shared/model/price.d.ts +5 -2
  61. package/dist/shared/utils/price.d.ts +19 -5
  62. package/dist/shared/utils/price.js +36 -7
  63. package/dist/shared/utils/string.d.ts +0 -1
  64. package/dist/shared/utils/string.js +1 -4
  65. package/dist/styles.css +467 -278
  66. package/package.json +1 -1
  67. package/dist/display/product-price/product-price.d.ts +0 -7
  68. package/dist/display/product-price/product-price.js +0 -19
  69. package/dist/display/product-price/product-price.module.css.js +0 -3
  70. package/dist/display/product-price/product-total-price.d.ts +0 -7
  71. package/dist/display/product-price/product-total-price.js +0 -16
  72. package/dist/display/product-price/product-total-price.module.css.js +0 -3
package/dist/styles.css CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  /* font sizes */
6
6
  --font-size-8: 0.5rem;
7
+ --font-size-10: 0.625rem;
7
8
  --font-size-11: 0.6875rem;
8
9
  --font-size-12: 0.75rem;
9
10
  --font-size-14: 0.875rem;
@@ -1810,7 +1811,6 @@
1810
1811
  color: var(--color-brand-black);
1811
1812
  font-weight: var(--font-weight-normal);
1812
1813
  text-wrap: pretty;
1813
- transition: all 0.2s ease-out;
1814
1814
  }
1815
1815
 
1816
1816
  .heading-module-pMC65:where(.heading-module-6spgX) {
@@ -2570,96 +2570,265 @@
2570
2570
  }
2571
2571
  }
2572
2572
 
2573
+ .info-icon-tooltip-module-oR4nD {
2574
+ --color-trigger: var(--color-brand-medium-gray);
2575
+ --color-trigger-hover: var(--color-brand-dark-gray);
2576
+ --color-trigger-active: var(--color-brand-dark-gray);
2577
+
2578
+ display: inline-flex;
2579
+ }
2580
+
2581
+ .info-icon-tooltip-module-oR4nD.info-icon-tooltip-module-5zfDr {
2582
+ --color-trigger: currentcolor;
2583
+ --color-trigger-hover: color-mix(in srgb, currentcolor, #000 20%);
2584
+ --color-trigger-active: color-mix(in srgb, currentcolor, #000 20%);
2585
+ }
2586
+
2587
+ .info-icon-tooltip-module-oR4nD .info-icon-tooltip-module-0lY-K {
2588
+ border-radius: 50%;
2589
+ color: var(--color-trigger);
2590
+ min-block-size: unset;
2591
+ min-inline-size: unset;
2592
+ }
2593
+
2594
+ .info-icon-tooltip-module-oR4nD .info-icon-tooltip-module-0lY-K:hover {
2595
+ color: var(--color-trigger-hover);
2596
+ }
2597
+
2598
+ .info-icon-tooltip-module-oR4nD .info-icon-tooltip-module-0lY-K:focus-visible {
2599
+ box-shadow: var(--shadow-focus-outline);
2600
+ }
2601
+
2602
+ .info-icon-tooltip-module-oR4nD .info-icon-tooltip-module-0lY-K[aria-expanded='true'] {
2603
+ color: var(--color-trigger-active);
2604
+ }
2605
+
2573
2606
  .delivery-time-module-fEWEl {
2574
2607
  display: flex;
2575
2608
  align-items: center;
2576
- margin-top: var(--space-8);
2577
- margin-bottom: 0;
2578
2609
  color: var(--color-status-available);
2579
2610
  gap: var(--space-4);
2580
2611
  grid-column: span 2;
2581
2612
  line-height: 1.5;
2582
2613
  }
2583
2614
 
2584
- .product-price-module-oIU1K {
2585
- --current-price-color: var(--color-brand-black);
2586
- --original-price-font-size: var(--font-size-18);
2587
- --current-price-font-style: normal;
2588
- --font-size-wholes: var(--price-font-size-wholes, var(--font-size-36));
2589
- --font-size-decimals: var(--price-font-size-decimals, var(--font-size-24));
2615
+ .delivery-time-module-fEWEl p {
2616
+ margin: 0;
2617
+ }
2590
2618
 
2591
- display: flex;
2592
- flex-direction: column;
2593
- line-height: 1;
2619
+ /* @property --price-larger {
2620
+ initial-value: false;
2621
+ syntax: '<boolean>';
2594
2622
  }
2595
2623
 
2596
- .product-price-module-oIU1K .product-price-module-til0s {
2597
- padding-left: var(--space-4);
2598
- color: var(--color-brand-dark-gray);
2599
- font-size: var(--original-price-font-size);
2600
- font-weight: var(--font-weight-bold);
2601
- text-decoration: line-through;
2624
+ @property --price-baseline {
2625
+ initial-value: false;
2626
+ syntax: '<boolean>';
2627
+ } */
2628
+
2629
+ /* Singular prices */
2630
+
2631
+ .price-module-Qyyas {
2632
+ display: inline-grid;
2633
+ color: var(--color, inherit);
2634
+ dominant-baseline: middle;
2635
+ font-family: var(--font-family, inherit);
2636
+ font-size: var(--font-size, 1em);
2637
+ font-style: var(--font-style, inherit);
2638
+ font-weight: var(--font-weight, inherit);
2639
+ grid-template-areas: 'symbol number';
2640
+ line-height: var(--line-height, inherit);
2641
+ vertical-align: baseline;
2642
+ white-space: nowrap;
2643
+ }
2644
+
2645
+ .price-module-Qyyas > * {
2646
+ display: inline-block;
2647
+ -webkit-text-decoration: var(--text-decoration);
2648
+ text-decoration: var(--text-decoration);
2602
2649
  }
2603
2650
 
2604
- .product-price-module-oIU1K .product-price-module-til0s.product-price-module-V1NCf {
2605
- opacity: 0;
2606
- }
2651
+ .price-module-Qyyas .price-module--Oil0 {
2652
+ font-size: var(--font-size-symbol);
2653
+ font-weight: var(--font-weight-symbol);
2654
+ grid-area: symbol;
2655
+ justify-self: flex-end;
2656
+ margin-block-start: var(--margin-block-symbol);
2657
+ margin-inline-end: var(--margin-inline-symbol);
2658
+ }
2607
2659
 
2608
- .product-price-module-oIU1K .product-price-module-FfVhl {
2609
- display: flex;
2610
- flex-wrap: wrap;
2611
- align-items: baseline;
2612
- margin-top: calc(var(--space-4) * -1);
2613
- gap: 0 var(--space-4);
2660
+ .price-module-Qyyas .price-module-QnS4t {
2661
+ display: inline-flex;
2662
+ grid-area: number;
2614
2663
  }
2615
2664
 
2616
- .product-price-module-oIU1K .product-price-module-pvy2w {
2617
- position: relative;
2618
- display: flex;
2619
- color: var(--current-price-color);
2620
- font-size: var(--font-size-wholes);
2621
- font-style: var(--current-price-font-style);
2622
- font-weight: var(--font-weight-black);
2665
+ .price-module-Qyyas .price-module-p8hAn {
2666
+ font-size: var(--font-size-fraction);
2667
+ margin-block-start: var(--margin-block-fraction);
2668
+ margin-inline-start: var(--margin-inline-fraction);
2623
2669
  }
2624
2670
 
2625
- .product-price-module-oIU1K .product-price-module-pvy2w .product-price-module-GCw07,
2626
- .product-price-module-oIU1K .product-price-module-pvy2w .product-price-module-N56iV {
2627
- font-size: inherit;
2628
- font-weight: inherit;
2671
+ .price-module-Qyyas.price-module-vUbWV {
2672
+ --color: var(--color-brand-black);
2673
+ --font-family: var(--font-family-sonic);
2674
+ --font-size: var(--base-font-size, var(--font-size-32));
2675
+ --font-size-fraction: calc(var(--font-size) * 0.667);
2676
+ --font-size-symbol: calc(var(--font-size) * 0.667);
2677
+ --font-weight: var(--font-weight-black);
2678
+ --font-weight-symbol: var(--font-weight-medium);
2679
+ --line-height: 1;
2680
+ --margin-block-fraction: 0.05em;
2681
+ --margin-block-symbol: 0.1em;
2682
+ --margin-inline-fraction: -0.35em;
2683
+ --margin-inline-symbol: 0.05em;
2684
+ }
2685
+
2686
+ .price-module-Qyyas.price-module-vUbWV .price-module-9HAVF {
2687
+ inline-size: 0;
2629
2688
  }
2630
2689
 
2631
- .product-price-module-oIU1K .product-price-module-pvy2w .product-price-module-eWOOF {
2632
- position: relative;
2633
- margin-top: 2px;
2634
- margin-left: -0.375rem;
2635
- font-size: var(--font-size-decimals);
2636
- font-weight: inherit;
2690
+ .price-module-Qyyas.price-module-vUbWV.price-module-bpZpP {
2691
+ --color: var(--color-brand-red);
2692
+ --font-style: italic;
2693
+ --margin-inline-fraction: -0.25em;
2637
2694
  }
2638
2695
 
2639
- .product-price-module-oIU1K .product-price-module-syhum,
2640
- .product-price-module-oIU1K .product-price-module-96DoG {
2641
- color: var(--color-brand-dark-gray);
2642
- font-size: var(--font-size-12);
2643
- font-weight: var(--font-weight-normal);
2644
- }
2696
+ .price-module-Qyyas.price-module-vUbWV.price-module-TEd4d {
2697
+ --font-size: calc(var(--base-font-size) * 0.5);
2698
+ --font-size-fraction: var(--font-size);
2699
+ --margin-block-fraction: unset;
2700
+ --margin-inline-fraction: unset;
2701
+ --margin-inline-symbol: 0.25em;
2702
+ }
2703
+
2704
+ .price-module-Qyyas.price-module-vUbWV .price-module--Oil0 {
2705
+ text-decoration: none;
2706
+ }
2645
2707
 
2646
- .product-price-module-oIU1K:has(.product-price-module-til0s:not(.product-price-module-V1NCf)) {
2647
- --current-price-color: var(--color-brand-red);
2648
- --current-price-font-style: italic;
2708
+ .price-module-Qyyas.price-module-fydQn {
2709
+ --color: var(--color-brand-dark-gray);
2710
+ --text-decoration: line-through;
2649
2711
  }
2650
2712
 
2651
- .product-total-price-module-w3CRH {
2652
- display: flex;
2653
- flex-wrap: wrap;
2654
- align-items: flex-end;
2655
- margin-top: calc(var(--space-4) * -1);
2656
- gap: 0 var(--space-4);
2713
+ /* Price composite component */
2714
+
2715
+ .price-module-tbuNk {
2716
+ /* https://kizu.dev/cyclic-toggles/#limitations */
2717
+
2718
+ /*
2719
+ For a larger variant, apply this custom property and value to a Price instance
2720
+ --price-toggle-size: var(--price-size-larger);
2721
+ */
2722
+ --price-toggle-size: var(--price-size-normal);
2723
+ --price-size-normal: var(--price-toggle-size,);
2724
+ --price-size-larger: var(--price-toggle-size,);
2725
+
2726
+ /*
2727
+ For a baseline shifted variant, apply this custom property and value to a Price instance
2728
+ --price-toggle-baseline: var(--price-baseline-shifted);
2729
+ */
2730
+ --price-toggle-baseline: var(--price-baseline-default);
2731
+ --price-baseline-default: var(--price-toggle-baseline,);
2732
+ --price-baseline-shifted: var(--price-toggle-baseline,);
2733
+
2734
+ display: inline-flex;
2735
+ gap: 0.2em;
2736
+ inline-size: -moz-max-content;
2737
+ inline-size: max-content;
2738
+ vertical-align: baseline;
2657
2739
  }
2658
2740
 
2659
- .product-total-price-module-w3CRH .product-total-price-module-MKCnH {
2660
- margin-bottom: 2px;
2741
+ .price-module-tbuNk .price-module-ZURYg {
2742
+ color: var(--color-ppu, inherit);
2743
+ font-size: var(--font-size-ppu, inherit);
2744
+ white-space: nowrap;
2745
+ }
2746
+
2747
+ .price-module-tbuNk .price-module-ZURYg::before {
2748
+ content: '(';
2749
+ }
2750
+
2751
+ .price-module-tbuNk .price-module-ZURYg::after {
2752
+ content: ')';
2753
+ }
2754
+
2755
+ .price-module-tbuNk .price-module-uVTD7 {
2756
+ color: var(--color-vat, inherit);
2757
+ font-size: var(--font-size-vat, inherit);
2758
+ white-space: nowrap;
2759
+ }
2760
+
2761
+ .price-module-tbuNk .price-module-uVTD7::before {
2762
+ content: '(';
2763
+ }
2764
+
2765
+ .price-module-tbuNk .price-module-uVTD7::after {
2766
+ content: ')';
2767
+ }
2768
+
2769
+ .price-module-tbuNk:where(.price-module-vUbWV) {
2770
+ --base-font-size: var(--price-size-normal, var(--font-size-32))
2771
+ var(--price-size-larger, var(--font-size-36));
2772
+ --font-size-old: calc(var(--base-font-size) * 0.5);
2773
+ --font-size-ppu: var(--font-size-10);
2774
+ --font-size-vat: var(--font-size-10);
2775
+ --color-ppu: var(--color-brand-dark-gray);
2776
+ --color-vat: var(--color-brand-dark-gray);
2777
+ --vertical-offset: var(
2778
+ --price-baseline-shifted,
2779
+ calc(var(--base-font-size) * -0.2 - 1px)
2780
+ );
2781
+
2782
+ display: inline-grid;
2783
+ gap: 0;
2784
+ grid-template-columns: minmax(0, min-content) 1fr;
2785
+ grid-template-rows: repeat(auto-fill, minmax(0, min-content));
2786
+ justify-items: flex-end;
2787
+ line-height: 1;
2788
+ margin-block-end: var(--vertical-offset);
2789
+ translate: 0 var(--vertical-offset);
2661
2790
  }
2662
2791
 
2792
+ .price-module-tbuNk:where(.price-module-vUbWV):has(.price-module-x77Vd) {
2793
+ --vertical-offset: var(
2794
+ --price-baseline-shifted,
2795
+ calc(var(--base-font-size) * -0.9375 - 1px)
2796
+ );
2797
+ }
2798
+
2799
+ .price-module-tbuNk:where(.price-module-vUbWV) .price-module-x77Vd {
2800
+ position: relative;
2801
+ grid-column: 1 / -1;
2802
+ grid-template-columns: subgrid;
2803
+ inset-inline-start: 0.2em;
2804
+ justify-self: flex-start;
2805
+ margin-block-end: -2px;
2806
+ }
2807
+
2808
+ .price-module-tbuNk:where(.price-module-vUbWV) .price-module-9XVqt {
2809
+ grid-column: 1 / -1;
2810
+ grid-template-columns: subgrid;
2811
+ justify-self: flex-start;
2812
+ }
2813
+
2814
+ .price-module-tbuNk:where(.price-module-vUbWV) .price-module-ZURYg {
2815
+ grid-column: 1 / -1;
2816
+ }
2817
+
2818
+ .price-module-tbuNk:where(.price-module-vUbWV) .price-module-ZURYg::before,
2819
+ .price-module-tbuNk:where(.price-module-vUbWV) .price-module-ZURYg::after {
2820
+ content: none;
2821
+ }
2822
+
2823
+ .price-module-tbuNk:where(.price-module-vUbWV) .price-module-uVTD7 {
2824
+ grid-column: 1 / -1;
2825
+ }
2826
+
2827
+ .price-module-tbuNk:where(.price-module-vUbWV) .price-module-uVTD7::before,
2828
+ .price-module-tbuNk:where(.price-module-vUbWV) .price-module-uVTD7::after {
2829
+ content: none;
2830
+ }
2831
+
2663
2832
  .product-sku-module-ITb8x {
2664
2833
  all: unset;
2665
2834
  color: var(--color-brand-dark-gray);
@@ -2670,12 +2839,26 @@
2670
2839
  all: unset;
2671
2840
  position: relative;
2672
2841
  display: grid;
2673
- width: 100%;
2674
2842
  padding: var(--space-16);
2675
2843
  background-color: var(--color-white);
2676
2844
  cursor: pointer;
2677
- gap: var(--space-16);
2678
- grid-template-columns: 1fr;
2845
+ gap: 0 var(--space-16);
2846
+ grid-template:
2847
+ 143px var(--space-12) repeat(3, minmax(0, min-content)) minmax(
2848
+ var(--space-8),
2849
+ 1fr
2850
+ )
2851
+ repeat(2, minmax(0, min-content)) / 1fr auto;
2852
+ grid-template-areas:
2853
+ 'image image'
2854
+ '. .'
2855
+ 'tags tags'
2856
+ 'title title'
2857
+ 'sku sku'
2858
+ '. .'
2859
+ 'amount price'
2860
+ 'info info';
2861
+ inline-size: 100%;
2679
2862
  transition: scale 0.2s ease;
2680
2863
  }
2681
2864
 
@@ -2686,239 +2869,272 @@
2686
2869
 
2687
2870
  .orderline-card-module-AMTMm.orderline-card-module-NU77X {
2688
2871
  cursor: default;
2689
- pointer-events: none;
2690
2872
  }
2691
2873
 
2692
- .orderline-card-module-AMTMm .orderline-card-module-TlhUg {
2693
- width: 143px;
2694
- height: 143px;
2695
- margin: auto;
2874
+ .orderline-card-module-AMTMm .orderline-card-module-0CunP {
2875
+ position: absolute;
2876
+ inset-block-start: 0;
2877
+ inset-inline-end: 0;
2696
2878
  }
2697
2879
 
2698
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 {
2699
- display: grid;
2700
- align-items: center;
2701
- -moz-column-gap: var(--space-16);
2702
- column-gap: var(--space-16);
2703
- grid-template-columns: 1fr auto;
2880
+ .orderline-card-module-AMTMm .orderline-card-module-C8xE6 {
2881
+ grid-area: title;
2882
+ margin-block-end: var(--space-8);
2704
2883
  }
2705
2884
 
2706
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-D-6JE {
2707
- grid-column: span 2;
2708
- }
2885
+ .orderline-card-module-AMTMm .orderline-card-module-gXavY {
2886
+ display: flex;
2887
+ flex-wrap: wrap;
2888
+ gap: var(--space-4);
2889
+ grid-area: tags;
2890
+ margin-block-end: var(--space-8);
2891
+ }
2709
2892
 
2710
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-D-6JE .orderline-card-module-uiHOY {
2711
- margin-bottom: 10px;
2712
- }
2893
+ .orderline-card-module-AMTMm .orderline-card-module-Zcir0 {
2894
+ grid-area: sku;
2895
+ margin-block: 0 var(--space-8);
2896
+ }
2713
2897
 
2714
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-D-6JE .orderline-card-module-C8xE6 {
2715
- margin-bottom: 8px;
2716
- }
2898
+ .orderline-card-module-AMTMm .orderline-card-module-TlhUg {
2899
+ aspect-ratio: 1;
2900
+ grid-area: image;
2901
+ justify-self: center;
2902
+ max-block-size: 100%;
2903
+ max-inline-size: 100%;
2904
+ }
2717
2905
 
2718
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-s-u3O {
2719
- margin-top: var(--space-8);
2720
- margin-bottom: 0;
2721
- }
2906
+ .orderline-card-module-AMTMm .orderline-card-module-ZjAaX {
2907
+ align-self: center;
2908
+ grid-area: amount;
2909
+ }
2722
2910
 
2723
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-ZjAaX {
2724
- margin-top: var(--space-16);
2725
- }
2911
+ .orderline-card-module-AMTMm .orderline-card-module-q3yjo {
2912
+ align-self: center;
2913
+ grid-area: price;
2914
+ }
2726
2915
 
2727
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-q3yjo {
2728
- --font-size-wholes: var(--font-size-32);
2729
- --font-size-decimals: var(--font-size-20);
2730
- --original-price-font-size: var(--font-size-16);
2731
- }
2916
+ .orderline-card-module-AMTMm .orderline-card-module-s-u3O {
2917
+ align-self: baseline;
2918
+ font-size: var(--font-size-14);
2919
+ grid-area: amount;
2920
+ }
2732
2921
 
2733
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-N-Oe- {
2734
- grid-column: span 2;
2922
+ .orderline-card-module-AMTMm:has(.orderline-card-module-s-u3O) .orderline-card-module-q3yjo {
2923
+ --price-toggle-baseline: var(--price-baseline-shifted);
2924
+
2925
+ align-self: baseline;
2735
2926
  }
2736
2927
 
2737
- .orderline-card-module-AMTMm .orderline-card-module-0CunP {
2738
- position: absolute;
2739
- top: 0;
2740
- right: 0;
2928
+ .orderline-card-module-AMTMm .orderline-card-module-N-Oe- {
2929
+ grid-area: info;
2930
+ margin-block-start: var(--space-8);
2931
+ }
2932
+
2933
+ @container (inline-size >= 576px) {.orderline-card-module-AMTMm {
2934
+ padding: 32px 64px 32px 0;
2935
+ grid-template:
2936
+ repeat(3, minmax(0, min-content)) minmax(8px, 1fr) repeat(
2937
+ 2,
2938
+ minmax(0, min-content)
2939
+ )
2940
+ / 143px 1fr auto;
2941
+ grid-template-areas:
2942
+ 'image tags tags'
2943
+ 'image title title'
2944
+ 'image sku sku'
2945
+ 'image . .'
2946
+ 'image amount price'
2947
+ 'image info info'
2948
+ }
2741
2949
  }
2742
2950
 
2743
- @container (width >= 576px) {.orderline-card-module-AMTMm {
2744
- padding: 40px 60px 32px 0;
2745
- gap: var(--space-40);
2746
- grid-template-columns: auto 1fr
2951
+ @container (inline-size >= 700px) {.orderline-card-module-AMTMm {
2952
+ grid-template-areas:
2953
+ 'image . tags .'
2954
+ 'image . title price'
2955
+ 'image . sku price'
2956
+ 'image . . price'
2957
+ 'image . amount price'
2958
+ 'image . info price';
2959
+ grid-template-columns:
2960
+ 143px var(--space-8)
2961
+ 1fr auto
2747
2962
  }
2748
2963
 
2749
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 {
2750
- align-content: center;
2751
- align-items: flex-start;
2964
+ .orderline-card-module-AMTMm .orderline-card-module-C8xE6 {
2965
+ align-self: baseline;
2752
2966
  }
2753
2967
 
2754
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-D-6JE {
2755
- grid-column: span 1;
2756
- }
2757
-
2758
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-s-u3O,
2759
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-ZjAaX {
2760
- order: 1;
2761
- }
2968
+ .orderline-card-module-AMTMm .orderline-card-module-q3yjo {
2969
+ --price-toggle-baseline: var(--price-baseline-shifted);
2762
2970
 
2763
- .orderline-card-module-AMTMm .orderline-card-module-L0kX1 .orderline-card-module-N-Oe- {
2764
- order: 1;
2765
- }
2971
+ align-self: baseline;
2972
+ }
2766
2973
  }
2767
2974
 
2768
2975
  .product-card-module-LepTy {
2769
2976
  container-type: inline-size;
2977
+ inline-size: 100%;
2770
2978
  }
2771
2979
 
2772
2980
  .product-card-module-pLaiB {
2773
2981
  --title-font-size: var(--font-size-16);
2774
2982
  --box-shadow: var(--box-shadow-medium);
2775
- --price-font-size-wholes: var(--font-size-32);
2776
- --price-font-size-decimals: var(--font-size-20);
2777
- --image-width: 122px;
2778
- --padding-inline: var(--space-12);
2779
- --padding-bottom: var(--space-12);
2780
2983
 
2781
2984
  position: relative;
2782
2985
  display: grid;
2783
- width: 100%;
2784
- height: 100%;
2785
- box-sizing: border-box;
2786
- padding-top: var(--space-12);
2986
+ padding: var(--space-12);
2787
2987
  background-color: var(--color-white);
2988
+ block-size: 100%;
2788
2989
  color: var(--color-black);
2789
2990
  cursor: pointer;
2790
- grid-template-rows: auto 1fr;
2791
- outline: none;
2991
+ gap: 0 var(--space-8);
2992
+ grid-template:
2993
+ 122px var(--space-8) repeat(3, minmax(0, min-content)) minmax(
2994
+ var(--space-8),
2995
+ 1fr
2996
+ )
2997
+ repeat(2, minmax(0, min-content))
2998
+ / 1fr;
2999
+ grid-template-areas:
3000
+ 'image'
3001
+ '.'
3002
+ 'tags'
3003
+ 'title'
3004
+ 'sku'
3005
+ '.'
3006
+ 'price'
3007
+ 'amount';
3008
+ inline-size: 100%;
2792
3009
  text-decoration: none;
2793
3010
  transition:
2794
3011
  scale ease 0.2s,
2795
3012
  box-shadow ease 0.2s;
2796
3013
  }
2797
3014
 
2798
- .product-card-module-pLaiB .product-card-module-tvEdz {
2799
- position: absolute;
2800
- top: var(--space-8);
2801
- right: var(--space-8);
2802
- }
2803
-
2804
- .product-card-module-pLaiB .product-card-module-e0kMu {
2805
- display: grid;
2806
- height: 100%;
3015
+ .product-card-module-pLaiB,
3016
+ .product-card-module-pLaiB * {
2807
3017
  box-sizing: border-box;
2808
- padding-bottom: var(--padding-bottom);
2809
- margin-top: auto;
2810
- gap: var(--space-16);
2811
- padding-inline: var(--padding-inline);
2812
3018
  }
2813
3019
 
2814
- .product-card-module-pLaiB .product-card-module-Q0VvF {
2815
- height: 112px;
3020
+ .product-card-module-pLaiB .product-card-module-tvEdz {
3021
+ position: absolute;
3022
+ inset-block-start: 0;
3023
+ inset-inline-end: 0;
2816
3024
  }
2817
3025
 
2818
- .product-card-module-pLaiB .product-card-module-Q0VvF .product-card-module-HkWBE {
2819
- display: flex;
2820
- min-height: var(--tag-height, var(--space-16));
2821
- margin-bottom: 18px;
2822
- gap: 3px;
2823
- }
3026
+ .product-card-module-pLaiB .product-card-module-CStNi {
3027
+ display: -webkit-box;
3028
+ overflow: hidden;
3029
+ -webkit-box-orient: vertical;
3030
+ font-size: var(--title-font-size);
3031
+ grid-area: title;
3032
+ -webkit-line-clamp: 4;
3033
+ line-height: 1;
3034
+ margin-block-end: var(--space-8);
3035
+ overflow-wrap: break-word;
3036
+ text-wrap: balance;
3037
+ }
2824
3038
 
2825
- .product-card-module-pLaiB .product-card-module-Q0VvF .product-card-module-CStNi {
2826
- display: -webkit-box;
2827
- overflow: hidden;
2828
- margin-top: 0;
2829
- margin-bottom: var(--space-8);
2830
- -webkit-box-orient: vertical;
2831
- font-size: var(--title-font-size);
2832
- font-weight: var(--font-weight-bold);
2833
- -webkit-line-clamp: 4;
2834
- line-height: 1;
2835
- overflow-wrap: break-word;
2836
- text-wrap: balance;
3039
+ .product-card-module-pLaiB .product-card-module-CStNi mark {
3040
+ background-color: rgb(109 170 200 / 40%);
3041
+ color: currentcolor;
2837
3042
  }
2838
3043
 
2839
- .product-card-module-pLaiB .product-card-module-Q0VvF .product-card-module-CStNi mark {
2840
- background-color: rgb(109 170 200 / 40%);
2841
- color: currentcolor;
2842
- font-weight: inherit;
2843
- }
2844
-
2845
- .product-card-module-pLaiB .product-card-module-kD2tU {
3044
+ .product-card-module-pLaiB .product-card-module-nL-hY {
2846
3045
  display: flex;
2847
- height: 102px;
2848
3046
  flex-wrap: wrap;
2849
- align-items: center;
2850
- justify-content: space-between;
2851
- margin-top: auto;
3047
+ gap: var(--space-4);
3048
+ grid-area: tags;
3049
+ margin-block-end: var(--space-8);
2852
3050
  }
2853
3051
 
2854
- .product-card-module-pLaiB .product-card-module-p-zoi {
2855
- width: var(--image-width);
2856
- aspect-ratio: 1 / 1;
2857
- margin-inline: auto;
2858
- transition: width ease 0.2s;
3052
+ .product-card-module-pLaiB .product-card-module-XzunM {
3053
+ grid-area: sku;
2859
3054
  }
2860
3055
 
2861
- .product-card-module-pLaiB .product-card-module-p-zoi img {
2862
- display: block;
2863
- max-width: 100%;
2864
- height: 100%;
2865
- }
3056
+ .product-card-module-pLaiB .product-card-module-65ZVi {
3057
+ aspect-ratio: 1;
3058
+ grid-area: image;
3059
+ justify-self: center;
3060
+ max-block-size: 100%;
3061
+ max-inline-size: 100%;
3062
+ }
2866
3063
 
2867
3064
  .product-card-module-pLaiB .product-card-module-irW0D {
2868
- width: 100%;
3065
+ overflow: hidden;
3066
+ grid-area: price;
3067
+ margin-block-end: var(--space-8);
3068
+ place-self: flex-end flex-end;
2869
3069
  }
2870
3070
 
2871
3071
  .product-card-module-pLaiB .product-card-module-SnCvX {
2872
- display: flex;
2873
- width: 125px;
2874
- justify-content: flex-end;
2875
- margin-top: auto;
2876
- margin-left: auto;
3072
+ grid-area: amount;
3073
+ place-self: flex-end flex-end;
2877
3074
  }
2878
3075
 
2879
3076
  @media (hover: hover) {
2880
3077
  .product-card-module-pLaiB:hover {
2881
3078
  box-shadow: var(--box-shadow);
2882
- color: var(--color-black);
2883
3079
  scale: 1.04;
2884
3080
  }
2885
- }
3081
+ }
2886
3082
 
2887
3083
  @container (min-width: 273px) {
2888
- .product-card-module-pLaiB {
3084
+
3085
+ .product-card-module-pLaiB {
2889
3086
  --box-shadow: var(--box-shadow-heavy);
2890
- --image-width: 204px;
2891
- --padding-bottom: var(--space-24);
2892
- }
2893
3087
 
2894
- .product-card-module-pLaiB .product-card-module-Q0VvF {
2895
- height: 142px;
2896
- }
3088
+ grid-template:
3089
+ 204px var(--space-8) repeat(3, minmax(0, min-content)) minmax(
3090
+ var(--space-16),
3091
+ 1fr
3092
+ )
3093
+ minmax(0, min-content)
3094
+ / 1fr auto;
3095
+ grid-template-areas:
3096
+ 'image image'
3097
+ '. .'
3098
+ 'tags tags'
3099
+ 'title title'
3100
+ 'sku sku'
3101
+ '. .'
3102
+ 'price amount'
3103
+ }
2897
3104
 
2898
- .product-card-module-pLaiB .product-card-module-SnCvX {
2899
- margin-top: 0;
2900
- margin-left: auto;
3105
+ .product-card-module-pLaiB .product-card-module-irW0D {
3106
+ margin-block: 0;
3107
+ place-self: flex-end flex-start;
2901
3108
  }
3109
+ }
2902
3110
 
2903
- .product-card-module-pLaiB .product-card-module-kD2tU {
2904
- height: auto;
2905
- flex-wrap: nowrap;
3111
+ @container (min-width: 360px) {
3112
+
3113
+ .product-card-module-pLaiB {
3114
+ --title-font-size: var(--font-size-20);
3115
+
3116
+ padding: var(--space-16);
3117
+ grid-template-rows:
3118
+ 288px var(--space-8) repeat(3, minmax(0, min-content)) minmax(
3119
+ var(--space-24),
3120
+ 1fr
3121
+ )
3122
+ minmax(0, min-content)
3123
+ }
3124
+
3125
+ .product-card-module-pLaiB .product-card-module-tvEdz {
3126
+ inset-block-start: var(--space-4);
3127
+ inset-inline-end: var(--space-4);
2906
3128
  }
2907
3129
 
2908
3130
  .product-card-module-pLaiB .product-card-module-irW0D {
2909
- width: initial;
3131
+ --price-toggle-size: var(--price-size-larger);
2910
3132
  }
2911
- }
2912
3133
 
2913
- @container (min-width: 360px) {
2914
- .product-card-module-pLaiB {
2915
- --image-width: 288px;
2916
- --title-font-size: var(--font-size-20);
2917
- --price-font-size-wholes: var(--font-size-36);
2918
- --price-font-size-decimals: var(--font-size-24);
2919
- --padding-inline: var(--space-16);
3134
+ .product-card-module-pLaiB .product-card-module-nL-hY {
3135
+ margin-block-end: var(--space-16);
3136
+ }
2920
3137
  }
2921
- }
2922
3138
 
2923
3139
  .product-overview-grid-module-bzys- {
2924
3140
  --amount-of-columns: 1;
@@ -2927,9 +3143,9 @@
2927
3143
 
2928
3144
  position: relative;
2929
3145
  display: grid;
2930
- width: 100%;
2931
3146
  gap: var(--row-gap) var(--column-gap);
2932
3147
  grid-template-columns: repeat(var(--amount-of-columns), 1fr);
3148
+ inline-size: 100%;
2933
3149
  }
2934
3150
 
2935
3151
  .product-overview-grid-module-bzys- .product-overview-grid-module-XikkF {
@@ -2949,8 +3165,8 @@
2949
3165
 
2950
3166
  .product-overview-grid-module-bzys- .product-overview-grid-module-XikkF .product-overview-grid-module-DWnnI {
2951
3167
  position: fixed;
2952
- top: 50vh;
2953
3168
  animation: product-overview-grid-module-r-wvY 1.2s linear forwards;
3169
+ inset-block-start: 50vh;
2954
3170
  }
2955
3171
 
2956
3172
  @keyframes product-overview-grid-module-r-wvY {
@@ -2983,15 +3199,12 @@
2983
3199
 
2984
3200
  .product-overview-grid-module-MlUVA {
2985
3201
  position: relative;
2986
- min-height: 380px;
3202
+ display: grid;
3203
+ min-block-size: 380px;
2987
3204
  }
2988
3205
 
2989
3206
  .product-overview-grid-module-MlUVA:not(:last-child)::before {
2990
3207
  position: absolute;
2991
- top: calc(100% + var(--row-gap) / 2);
2992
- left: 0;
2993
- width: 100%;
2994
- height: 1px;
2995
3208
  background-image: linear-gradient(
2996
3209
  to right,
2997
3210
  var(--color-white),
@@ -3000,7 +3213,11 @@
3000
3213
  #e0dfdf 90%,
3001
3214
  var(--color-white)
3002
3215
  );
3216
+ block-size: 1px;
3003
3217
  content: '';
3218
+ inline-size: 100%;
3219
+ inset-block-start: calc(100% + var(--row-gap) / 2);
3220
+ inset-inline-start: 0;
3004
3221
  }
3005
3222
 
3006
3223
  .product-overview-grid-module-MlUVA:has(> :hover) {
@@ -3009,7 +3226,7 @@
3009
3226
 
3010
3227
  @media (width >= 360px) {
3011
3228
  .product-overview-grid-module-MlUVA {
3012
- min-height: 448px;
3229
+ min-block-size: 448px;
3013
3230
  }
3014
3231
  }
3015
3232
 
@@ -3021,7 +3238,7 @@
3021
3238
  }
3022
3239
 
3023
3240
  .product-overview-grid-module-MlUVA {
3024
- min-height: 448px;
3241
+ min-block-size: 448px;
3025
3242
  }
3026
3243
 
3027
3244
  .product-overview-grid-module-MlUVA::before {
@@ -3030,10 +3247,6 @@
3030
3247
 
3031
3248
  .product-overview-grid-module-MlUVA::after {
3032
3249
  position: absolute;
3033
- top: 0;
3034
- left: calc(100% + var(--column-gap) / 2);
3035
- width: 1px;
3036
- height: 100%;
3037
3250
  background-image: linear-gradient(
3038
3251
  to bottom,
3039
3252
  var(--color-white),
@@ -3042,7 +3255,11 @@
3042
3255
  #e0dfdf 90%,
3043
3256
  var(--color-white)
3044
3257
  );
3258
+ block-size: 100%;
3045
3259
  content: '';
3260
+ inline-size: 1px;
3261
+ inset-block-start: 0;
3262
+ inset-inline-start: calc(100% + var(--column-gap) / 2);
3046
3263
  }
3047
3264
  .product-overview-grid-module-MlUVA:nth-child(2n)::after {
3048
3265
  display: none;
@@ -3375,7 +3592,7 @@
3375
3592
  .carousel-module-ealh- {
3376
3593
  position: relative;
3377
3594
  display: block;
3378
- width: 100%;
3595
+ inline-size: 100%;
3379
3596
  -webkit-user-select: none;
3380
3597
  -moz-user-select: none;
3381
3598
  user-select: none;
@@ -3405,39 +3622,40 @@
3405
3622
  .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::after {
3406
3623
  position: absolute;
3407
3624
  z-index: calc(var(--carousel-layer) - 1);
3408
- top: -20%;
3409
- width: calc((100vw - 100%) / 2);
3410
- height: 140%;
3411
3625
  background: var(--color-brand-white);
3626
+ block-size: 140%;
3412
3627
  content: '';
3628
+ inline-size: calc((100vw - 100%) / 2);
3629
+ inset-block-start: -20%;
3413
3630
  opacity: 1;
3414
3631
  transition: opacity 0.2s ease;
3415
3632
  }
3416
3633
 
3417
3634
  .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::before {
3418
- left: calc(-1 * ((100vw - 100%) / 2));
3419
3635
  background: linear-gradient(
3420
3636
  -90deg,
3421
3637
  rgb(255 255 255 / 20%) 0,
3422
3638
  rgb(255 255 255 / 95%) 80px,
3423
3639
  rgb(255 255 255 / 100%) 100px
3424
3640
  );
3641
+ inset-inline-start: calc(-1 * ((100vw - 100%) / 2));
3425
3642
  }
3426
3643
 
3427
3644
  .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::after {
3428
- right: calc(-1 * ((100vw - 100%) / 2));
3429
3645
  background: linear-gradient(
3430
3646
  90deg,
3431
3647
  rgb(255 255 255 / 20%) 0,
3432
3648
  rgb(255 255 255 / 95%) 80px,
3433
3649
  rgb(255 255 255 / 100%) 100px
3434
3650
  );
3651
+ inset-inline-end: calc(-1 * ((100vw - 100%) / 2));
3435
3652
  }
3436
3653
 
3437
3654
  .carousel-module-ealh- .carousel-module-bUMlb {
3438
- width: -moz-fit-content;
3439
- width: fit-content;
3440
- height: auto;
3655
+ display: grid;
3656
+ block-size: auto;
3657
+ inline-size: -moz-fit-content;
3658
+ inline-size: fit-content;
3441
3659
  }
3442
3660
 
3443
3661
  /* stylelint-disable-next-line no-descending-specificity */
@@ -3462,21 +3680,21 @@
3462
3680
  }
3463
3681
 
3464
3682
  .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-kcqEE.carousel-module-984Rr {
3465
- left: 0;
3683
+ inset-inline-start: 0;
3466
3684
  transform: translate(-50%, 0);
3467
3685
  }
3468
3686
 
3469
3687
  .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-kcqEE.carousel-module-T7bTr {
3470
- right: 0;
3688
+ inset-inline-end: 0;
3471
3689
  transform: translate(50%, 0);
3472
3690
  }
3473
3691
 
3474
3692
  .carousel-module-ealh- .carousel-module-k7Z4S.carousel-module-nL-O8 .carousel-module-kcqEE {
3475
- top: var(--space-24);
3693
+ inset-block-start: var(--space-24);
3476
3694
  }
3477
3695
 
3478
3696
  .carousel-module-ealh- .carousel-module-k7Z4S.carousel-module-5SGYn .carousel-module-kcqEE {
3479
- top: 50%;
3697
+ inset-block-start: 50%;
3480
3698
  }
3481
3699
 
3482
3700
  .carousel-module-ealh- .carousel-module-k7Z4S.carousel-module-5SGYn .carousel-module-kcqEE.carousel-module-984Rr {
@@ -3489,8 +3707,8 @@
3489
3707
 
3490
3708
  @media (width < 1024px) {
3491
3709
  .carousel-module-ealh-:has(.carousel-module-tPg7k) {
3492
- width: calc(100% + 20px);
3493
- margin-left: -10px;
3710
+ inline-size: calc(100% + 20px);
3711
+ margin-inline-start: -10px;
3494
3712
  }
3495
3713
 
3496
3714
  .carousel-module-ealh- .carousel-module-kcqEE {
@@ -3523,7 +3741,7 @@
3523
3741
 
3524
3742
  .card-carousel-module-DxKOG {
3525
3743
  --slide-width-normal: 300px;
3526
- --slide-width-narrow: 154px;
3744
+ --slide-width-narrow: 172px;
3527
3745
  --slide-width-auto: auto;
3528
3746
  --slide-width: var(--slide-width-narrow);
3529
3747
 
@@ -4321,39 +4539,6 @@ button.swiper-pagination-bullet {
4321
4539
  .password-reveal-toggle-module-uUQbW span {
4322
4540
  height: var(--space-24);
4323
4541
  }
4324
- .info-icon-tooltip-module-oR4nD {
4325
- --color-trigger: var(--color-brand-medium-gray);
4326
- --color-trigger-hover: var(--color-brand-dark-gray);
4327
- --color-trigger-active: var(--color-brand-dark-gray);
4328
-
4329
- display: inline-flex;
4330
- }
4331
-
4332
- .info-icon-tooltip-module-oR4nD.info-icon-tooltip-module-5zfDr {
4333
- --color-trigger: currentcolor;
4334
- --color-trigger-hover: color-mix(in srgb, currentcolor, #000 20%);
4335
- --color-trigger-active: color-mix(in srgb, currentcolor, #000 20%);
4336
- }
4337
-
4338
- .info-icon-tooltip-module-oR4nD .info-icon-tooltip-module-0lY-K {
4339
- border-radius: 50%;
4340
- color: var(--color-trigger);
4341
- min-block-size: unset;
4342
- min-inline-size: unset;
4343
- }
4344
-
4345
- .info-icon-tooltip-module-oR4nD .info-icon-tooltip-module-0lY-K:hover {
4346
- color: var(--color-trigger-hover);
4347
- }
4348
-
4349
- .info-icon-tooltip-module-oR4nD .info-icon-tooltip-module-0lY-K:focus-visible {
4350
- box-shadow: var(--shadow-focus-outline);
4351
- }
4352
-
4353
- .info-icon-tooltip-module-oR4nD[data-active] .info-icon-tooltip-module-0lY-K {
4354
- color: var(--color-trigger-active);
4355
- }
4356
-
4357
4542
  .textarea-module-C6Xr1 {
4358
4543
  position: relative;
4359
4544
  display: inline-block;
@@ -6256,6 +6441,10 @@ button.swiper-pagination-bullet {
6256
6441
  justify-content: space-between;
6257
6442
  }
6258
6443
 
6444
+ .product-details-panel-module-MXfPm .product-details-panel-module-wHZCr .product-details-panel-module-dI2JL {
6445
+ --price-toggle-size: var(--price-size-larger);
6446
+ }
6447
+
6259
6448
  .product-details-panel-module-MXfPm .product-details-panel-module-wHZCr .product-details-panel-module-QLafW {
6260
6449
  display: flex;
6261
6450
  align-items: center;