@bonlineza/luxity-lib 2.35.8 → 2.36.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.
- package/LuxityAppSideNav.js +1 -1
- package/LuxityDesktopHeader.js +131 -164
- package/LuxityFooter.js +4 -4
- package/LuxityMobileHeader.js +171 -259
- package/LuxitySideNav.js +106 -228
- package/build/bundle.css +1 -1
- package/build/bundle.js +253 -381
- package/package.json +3 -2
- package/TestComponent.js +0 -15
- package/build/CountryCodeSelect/index.js +0 -18
- package/build/ReactSelectWrapper/index.js +0 -34
- package/postcss.config.js +0 -6
package/LuxitySideNav.js
CHANGED
|
@@ -249,6 +249,7 @@
|
|
|
249
249
|
className: "side-nav__element"
|
|
250
250
|
}, "All Brands"), !!brandsList.length && brandsList.map(function (brand) {
|
|
251
251
|
return /*#__PURE__*/React__default.createElement(LinkComponent, {
|
|
252
|
+
key: brand.slug,
|
|
252
253
|
href: "".concat(productUrl, "/").concat(categorySlug === 'new' ? 'brands' : categorySlug, "/").concat(brand.slug),
|
|
253
254
|
onClick: handleLinkClick,
|
|
254
255
|
className: "side-nav__element"
|
|
@@ -260,33 +261,10 @@
|
|
|
260
261
|
var _categories$filter;
|
|
261
262
|
|
|
262
263
|
return (_categories$filter = categories === null || categories === void 0 ? void 0 : categories.filter(function (category) {
|
|
263
|
-
return category.name !== name;
|
|
264
|
+
return category.name.toLowerCase() !== name.toLowerCase();
|
|
264
265
|
})) !== null && _categories$filter !== void 0 ? _categories$filter : [];
|
|
265
266
|
};
|
|
266
267
|
|
|
267
|
-
var categories = {
|
|
268
|
-
shoes: {
|
|
269
|
-
name: 'Shoes',
|
|
270
|
-
slug: 'shoes'
|
|
271
|
-
},
|
|
272
|
-
bags: {
|
|
273
|
-
name: 'Bags',
|
|
274
|
-
slug: 'bags'
|
|
275
|
-
},
|
|
276
|
-
clothing: {
|
|
277
|
-
name: 'Clothing',
|
|
278
|
-
slug: 'apparel'
|
|
279
|
-
},
|
|
280
|
-
watches: {
|
|
281
|
-
name: 'Watches',
|
|
282
|
-
slug: 'watches'
|
|
283
|
-
},
|
|
284
|
-
accessories: {
|
|
285
|
-
name: 'Accessories',
|
|
286
|
-
slug: 'accessories'
|
|
287
|
-
}
|
|
288
|
-
};
|
|
289
|
-
|
|
290
268
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
291
269
|
/* position relative is required for the Body element to be positioned correctly */
|
|
292
270
|
|
|
@@ -505,13 +483,13 @@
|
|
|
505
483
|
categoryElements = _ref.categoryElements,
|
|
506
484
|
showSideNav = _ref.showSideNav,
|
|
507
485
|
onMenuClick = _ref.onMenuClick,
|
|
508
|
-
menuData = _ref.menuData,
|
|
509
486
|
currency = _ref.currency,
|
|
510
487
|
currencyOptions = _ref.currencyOptions,
|
|
511
488
|
onCurrencyChange = _ref.onCurrencyChange,
|
|
512
489
|
isCurrencySelectionDisabled = _ref.isCurrencySelectionDisabled,
|
|
513
490
|
tooltipContent = _ref.tooltipContent,
|
|
514
|
-
LinkComponent = _ref.LinkComponent
|
|
491
|
+
LinkComponent = _ref.LinkComponent,
|
|
492
|
+
categoryConfig = _ref.categoryConfig;
|
|
515
493
|
|
|
516
494
|
var _useState = React.useState(false),
|
|
517
495
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -528,16 +506,7 @@
|
|
|
528
506
|
loading = _useState6[0],
|
|
529
507
|
setLoading = _useState6[1];
|
|
530
508
|
|
|
531
|
-
var _useState7 = React.useState({
|
|
532
|
-
latestArrivals: [],
|
|
533
|
-
bags: [],
|
|
534
|
-
shoes: [],
|
|
535
|
-
apparel: [],
|
|
536
|
-
accessories: [],
|
|
537
|
-
watches: [],
|
|
538
|
-
accessoriesCategories: [],
|
|
539
|
-
apparelStyles: []
|
|
540
|
-
}),
|
|
509
|
+
var _useState7 = React.useState({}),
|
|
541
510
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
542
511
|
dropdownData = _useState8[0],
|
|
543
512
|
setDropdownData = _useState8[1];
|
|
@@ -584,25 +553,93 @@
|
|
|
584
553
|
|
|
585
554
|
React.useMemo(function () {
|
|
586
555
|
setLoading(true);
|
|
587
|
-
axios.get("".concat(menuData)).then(function (_ref2) {
|
|
556
|
+
axios.get("".concat(categoryConfig.menuData)).then(function (_ref2) {
|
|
588
557
|
var data = _ref2.data;
|
|
589
558
|
setLoading(false);
|
|
590
|
-
setDropdownData(
|
|
591
|
-
return _objectSpread2(_objectSpread2({}, prev), {}, {
|
|
592
|
-
latestArrivals: data.latest_arrivals,
|
|
593
|
-
bags: data.bags,
|
|
594
|
-
shoes: data.shoes,
|
|
595
|
-
apparel: data.apparel,
|
|
596
|
-
accessories: data.accessories,
|
|
597
|
-
watches: data.watches,
|
|
598
|
-
accessoriesCategories: data.accessories_categories,
|
|
599
|
-
apparelStyles: data.apparel_styles
|
|
600
|
-
});
|
|
601
|
-
});
|
|
559
|
+
setDropdownData(data);
|
|
602
560
|
}).catch(function () {
|
|
603
561
|
return setHasError(true);
|
|
604
562
|
});
|
|
605
|
-
}, [menuData]);
|
|
563
|
+
}, [categoryConfig.menuData]);
|
|
564
|
+
|
|
565
|
+
var renderMenuItems = function renderMenuItems() {
|
|
566
|
+
return categoryConfig.categories.map(function (category) {
|
|
567
|
+
var title = category.title,
|
|
568
|
+
categorySlug = category.categorySlug;
|
|
569
|
+
var slug = categorySlug;
|
|
570
|
+
|
|
571
|
+
if (categorySlug === 'brands') {
|
|
572
|
+
slug = 'new';
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
576
|
+
className: "side-nav__menu-item",
|
|
577
|
+
key: slug
|
|
578
|
+
}, /*#__PURE__*/React__default.createElement("button", {
|
|
579
|
+
type: "button",
|
|
580
|
+
className: "side-nav__menu-title-wrapper",
|
|
581
|
+
onClick: function onClick() {
|
|
582
|
+
return onSubMenuClick(slug);
|
|
583
|
+
}
|
|
584
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
585
|
+
className: "side-nav__menu-title"
|
|
586
|
+
}, title), /*#__PURE__*/React__default.createElement("img", {
|
|
587
|
+
src: accordionIcon,
|
|
588
|
+
alt: "accordion-icon",
|
|
589
|
+
className: "side-nav__accordion-icon"
|
|
590
|
+
})));
|
|
591
|
+
});
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
var renderDropdownLinks = function renderDropdownLinks() {
|
|
595
|
+
return categoryConfig.categories.map(function (category) {
|
|
596
|
+
var categorySlug = category.categorySlug,
|
|
597
|
+
categoryName = category.categoryName,
|
|
598
|
+
elementsKey = category.elementsKey,
|
|
599
|
+
subCategoryElementsKey = category.subCategoryElementsKey,
|
|
600
|
+
styleElementsKey = category.styleElementsKey;
|
|
601
|
+
var categoryElementsProcessed = categoryElements;
|
|
602
|
+
|
|
603
|
+
if (subCategoryElementsKey && dropdownData[subCategoryElementsKey]) {
|
|
604
|
+
// show subcategory elements
|
|
605
|
+
categoryElementsProcessed = removeCategoryByName(dropdownData[subCategoryElementsKey], categoryName);
|
|
606
|
+
} else if (styleElementsKey && dropdownData[styleElementsKey]) {
|
|
607
|
+
categoryElementsProcessed = addCategoryToElements(dropdownData[styleElementsKey], categorySlug);
|
|
608
|
+
} else {
|
|
609
|
+
categoryElementsProcessed = addCategoryToElements(categoryElementsProcessed, categorySlug);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
var subMenuTitle = 'Brands';
|
|
613
|
+
|
|
614
|
+
if (categorySlug !== 'brands') {
|
|
615
|
+
subMenuTitle = "".concat(categoryName, " Brands");
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
var subMenu = categorySlug;
|
|
619
|
+
|
|
620
|
+
if (subMenu === 'brands') {
|
|
621
|
+
subMenu = 'new';
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
return /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
625
|
+
key: categorySlug,
|
|
626
|
+
subMenuOpen: subMenuOpen && displayedSubMenu === subMenu,
|
|
627
|
+
onBackClick: onBackClick,
|
|
628
|
+
backIcon: backIcon,
|
|
629
|
+
subMenuCategoryTitle: "Department",
|
|
630
|
+
productUrl: productUrl,
|
|
631
|
+
categoryElements: categoryElementsProcessed,
|
|
632
|
+
subMenuBrandsTitle: subMenuTitle,
|
|
633
|
+
brandsList: dropdownData[elementsKey],
|
|
634
|
+
categorySlug: displayedSubMenu,
|
|
635
|
+
isLoading: loading,
|
|
636
|
+
hasError: hasError,
|
|
637
|
+
onCloseSideNav: onCloseSideNav,
|
|
638
|
+
LinkComponent: LinkComponent
|
|
639
|
+
});
|
|
640
|
+
});
|
|
641
|
+
};
|
|
642
|
+
|
|
606
643
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
607
644
|
className: "side-nav"
|
|
608
645
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -623,92 +660,9 @@
|
|
|
623
660
|
className: "side-nav__close-icon"
|
|
624
661
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
625
662
|
className: "side-nav__menu-items-wrapper"
|
|
626
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
627
|
-
className: "side-nav__menu-item"
|
|
628
|
-
|
|
629
|
-
type: "button",
|
|
630
|
-
className: "side-nav__menu-title-wrapper",
|
|
631
|
-
onClick: function onClick() {
|
|
632
|
-
return onSubMenuClick('new');
|
|
633
|
-
}
|
|
634
|
-
}, /*#__PURE__*/React__default.createElement("span", {
|
|
635
|
-
className: "side-nav__menu-title"
|
|
636
|
-
}, "New"), /*#__PURE__*/React__default.createElement("img", {
|
|
637
|
-
src: accordionIcon,
|
|
638
|
-
alt: "accordion-icon",
|
|
639
|
-
className: "side-nav__accordion-icon"
|
|
640
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
641
|
-
className: "side-nav__menu-item"
|
|
642
|
-
}, /*#__PURE__*/React__default.createElement("button", {
|
|
643
|
-
type: "button",
|
|
644
|
-
className: "side-nav__menu-title-wrapper",
|
|
645
|
-
onClick: function onClick() {
|
|
646
|
-
return onSubMenuClick('bags');
|
|
647
|
-
}
|
|
648
|
-
}, /*#__PURE__*/React__default.createElement("span", {
|
|
649
|
-
className: "side-nav__menu-title"
|
|
650
|
-
}, "Bags"), /*#__PURE__*/React__default.createElement("img", {
|
|
651
|
-
src: accordionIcon,
|
|
652
|
-
alt: "accordion-icon",
|
|
653
|
-
className: "side-nav__accordion-icon"
|
|
654
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
655
|
-
className: "side-nav__menu-item"
|
|
656
|
-
}, /*#__PURE__*/React__default.createElement("button", {
|
|
657
|
-
type: "button",
|
|
658
|
-
className: "side-nav__menu-title-wrapper",
|
|
659
|
-
onClick: function onClick() {
|
|
660
|
-
return onSubMenuClick('shoes');
|
|
661
|
-
}
|
|
662
|
-
}, /*#__PURE__*/React__default.createElement("span", {
|
|
663
|
-
className: "side-nav__menu-title"
|
|
664
|
-
}, "Shoes"), /*#__PURE__*/React__default.createElement("img", {
|
|
665
|
-
src: accordionIcon,
|
|
666
|
-
alt: "accordion-icon",
|
|
667
|
-
className: "side-nav__accordion-icon"
|
|
668
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
669
|
-
className: "side-nav__menu-item"
|
|
670
|
-
}, /*#__PURE__*/React__default.createElement("button", {
|
|
671
|
-
type: "button",
|
|
672
|
-
className: "side-nav__menu-title-wrapper",
|
|
673
|
-
onClick: function onClick() {
|
|
674
|
-
return onSubMenuClick('apparel');
|
|
675
|
-
}
|
|
676
|
-
}, /*#__PURE__*/React__default.createElement("span", {
|
|
677
|
-
className: "side-nav__menu-title"
|
|
678
|
-
}, "Clothing"), /*#__PURE__*/React__default.createElement("img", {
|
|
679
|
-
src: accordionIcon,
|
|
680
|
-
alt: "accordion-icon",
|
|
681
|
-
className: "side-nav__accordion-icon"
|
|
682
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
683
|
-
className: "side-nav__menu-item"
|
|
684
|
-
}, /*#__PURE__*/React__default.createElement("button", {
|
|
685
|
-
type: "button",
|
|
686
|
-
className: "side-nav__menu-title-wrapper",
|
|
687
|
-
onClick: function onClick() {
|
|
688
|
-
return onSubMenuClick('accessories');
|
|
689
|
-
}
|
|
690
|
-
}, /*#__PURE__*/React__default.createElement("span", {
|
|
691
|
-
className: "side-nav__menu-title"
|
|
692
|
-
}, "Accessories"), /*#__PURE__*/React__default.createElement("img", {
|
|
693
|
-
src: accordionIcon,
|
|
694
|
-
alt: "accordion-icon",
|
|
695
|
-
className: "side-nav__accordion-icon"
|
|
696
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
697
|
-
className: "side-nav__menu-item"
|
|
698
|
-
}, /*#__PURE__*/React__default.createElement("button", {
|
|
699
|
-
type: "button",
|
|
700
|
-
className: "side-nav__menu-title-wrapper",
|
|
701
|
-
onClick: function onClick() {
|
|
702
|
-
return onSubMenuClick('watches');
|
|
703
|
-
}
|
|
704
|
-
}, /*#__PURE__*/React__default.createElement("span", {
|
|
705
|
-
className: "side-nav__menu-title"
|
|
706
|
-
}, "Watches"), /*#__PURE__*/React__default.createElement("img", {
|
|
707
|
-
src: accordionIcon,
|
|
708
|
-
alt: "accordion-icon",
|
|
709
|
-
className: "side-nav__accordion-icon"
|
|
710
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
711
|
-
className: "side-nav__menu-item"
|
|
663
|
+
}, renderMenuItems(), !!stores.length && /*#__PURE__*/React__default.createElement("div", {
|
|
664
|
+
className: "side-nav__menu-item",
|
|
665
|
+
key: "stores"
|
|
712
666
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
713
667
|
type: "button",
|
|
714
668
|
className: "side-nav__menu-title-wrapper",
|
|
@@ -720,134 +674,58 @@
|
|
|
720
674
|
alt: "accordion-icon",
|
|
721
675
|
className: "side-nav__accordion-icon"
|
|
722
676
|
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
723
|
-
className: "side-nav__menu-item"
|
|
677
|
+
className: "side-nav__menu-item",
|
|
678
|
+
key: "sell-to-us"
|
|
724
679
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
725
680
|
type: "button",
|
|
726
681
|
className: "side-nav__block-button",
|
|
727
682
|
onClick: onSellToUsClick
|
|
728
683
|
}, "Sell To Us")), /*#__PURE__*/React__default.createElement("div", {
|
|
729
|
-
className: "side-nav__menu-item"
|
|
684
|
+
className: "side-nav__menu-item",
|
|
685
|
+
key: "our-story"
|
|
730
686
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
731
687
|
type: "button",
|
|
732
688
|
className: "side-nav__sub-link",
|
|
733
689
|
onClick: onOurStoryClick
|
|
734
|
-
}, "Our Story")), /*#__PURE__*/React__default.createElement("div", {
|
|
735
|
-
className: "side-nav__menu-item"
|
|
690
|
+
}, "Our Story")), typeof onBlogClick === 'function' && /*#__PURE__*/React__default.createElement("div", {
|
|
691
|
+
className: "side-nav__menu-item",
|
|
692
|
+
key: "blog"
|
|
736
693
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
737
694
|
type: "button",
|
|
738
695
|
className: "side-nav__sub-link",
|
|
739
696
|
onClick: onBlogClick
|
|
740
697
|
}, "Blog")), /*#__PURE__*/React__default.createElement("div", {
|
|
741
|
-
className: "side-nav__menu-item"
|
|
698
|
+
className: "side-nav__menu-item",
|
|
699
|
+
key: "contact-us"
|
|
742
700
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
743
701
|
type: "button",
|
|
744
702
|
className: "side-nav__sub-link",
|
|
745
703
|
onClick: onContactUsClick
|
|
746
704
|
}, "Contact Us")), /*#__PURE__*/React__default.createElement("div", {
|
|
747
|
-
className: "side-nav__menu-item"
|
|
705
|
+
className: "side-nav__menu-item",
|
|
706
|
+
key: "my-account"
|
|
748
707
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
749
708
|
type: "button",
|
|
750
709
|
className: "side-nav__sub-link",
|
|
751
710
|
onClick: onAccountClick
|
|
752
711
|
}, "My Account")), /*#__PURE__*/React__default.createElement("div", {
|
|
753
|
-
className: "side-nav__menu-item"
|
|
712
|
+
className: "side-nav__menu-item",
|
|
713
|
+
key: "my-cart"
|
|
754
714
|
}, /*#__PURE__*/React__default.createElement("button", {
|
|
755
715
|
type: "button",
|
|
756
716
|
className: "side-nav__sub-link",
|
|
757
717
|
onClick: onCartClick
|
|
758
718
|
}, "My Cart")), /*#__PURE__*/React__default.createElement(CurrencySelect, {
|
|
719
|
+
key: "currency",
|
|
759
720
|
currency: currency,
|
|
760
721
|
currencyOptions: currencyOptions,
|
|
761
722
|
onCurrencyChange: onCurrencyChange,
|
|
762
723
|
isCurrencySelectionDisabled: isCurrencySelectionDisabled,
|
|
763
724
|
tooltipContent: tooltipContent
|
|
764
|
-
}))), /*#__PURE__*/React__default.createElement(
|
|
765
|
-
subMenuOpen: subMenuOpen && displayedSubMenu === 'new',
|
|
766
|
-
onBackClick: onBackClick,
|
|
767
|
-
backIcon: backIcon,
|
|
768
|
-
subMenuCategoryTitle: "Department",
|
|
769
|
-
productUrl: productUrl,
|
|
770
|
-
categoryElements: categoryElements,
|
|
771
|
-
subMenuBrandsTitle: "Brands",
|
|
772
|
-
brandsList: dropdownData.latestArrivals,
|
|
773
|
-
categorySlug: displayedSubMenu,
|
|
774
|
-
isLoading: loading,
|
|
775
|
-
hasError: hasError,
|
|
776
|
-
onCloseSideNav: onCloseSideNav,
|
|
777
|
-
LinkComponent: LinkComponent
|
|
778
|
-
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
779
|
-
subMenuOpen: subMenuOpen && displayedSubMenu === 'bags',
|
|
780
|
-
onBackClick: onBackClick,
|
|
781
|
-
backIcon: backIcon,
|
|
782
|
-
subMenuCategoryTitle: "Department",
|
|
783
|
-
productUrl: productUrl,
|
|
784
|
-
categoryElements: addCategoryToElements(categoryElements, categories.bags.slug),
|
|
785
|
-
subMenuBrandsTitle: "Bag Brands",
|
|
786
|
-
brandsList: dropdownData.bags,
|
|
787
|
-
categorySlug: displayedSubMenu,
|
|
788
|
-
isLoading: loading,
|
|
789
|
-
hasError: hasError,
|
|
790
|
-
onCloseSideNav: onCloseSideNav,
|
|
791
|
-
LinkComponent: LinkComponent
|
|
792
|
-
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
793
|
-
subMenuOpen: subMenuOpen && displayedSubMenu === 'shoes',
|
|
794
|
-
onBackClick: onBackClick,
|
|
795
|
-
backIcon: backIcon,
|
|
796
|
-
subMenuCategoryTitle: "Department",
|
|
797
|
-
productUrl: productUrl,
|
|
798
|
-
categoryElements: addCategoryToElements(categoryElements, categories.shoes.slug),
|
|
799
|
-
subMenuBrandsTitle: "Shoe Brands",
|
|
800
|
-
brandsList: dropdownData.shoes,
|
|
801
|
-
categorySlug: displayedSubMenu,
|
|
802
|
-
isLoading: loading,
|
|
803
|
-
hasError: hasError,
|
|
804
|
-
onCloseSideNav: onCloseSideNav,
|
|
805
|
-
LinkComponent: LinkComponent
|
|
806
|
-
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
807
|
-
subMenuOpen: subMenuOpen && displayedSubMenu === 'apparel',
|
|
808
|
-
onBackClick: onBackClick,
|
|
809
|
-
backIcon: backIcon,
|
|
810
|
-
subMenuCategoryTitle: "Department",
|
|
811
|
-
productUrl: productUrl,
|
|
812
|
-
categoryElements: addCategoryToElements(dropdownData.apparelStyles, categories.clothing.slug),
|
|
813
|
-
subMenuBrandsTitle: "Clothing Brands",
|
|
814
|
-
brandsList: dropdownData.apparel,
|
|
815
|
-
categorySlug: displayedSubMenu,
|
|
816
|
-
isLoading: loading,
|
|
817
|
-
hasError: hasError,
|
|
818
|
-
onCloseSideNav: onCloseSideNav,
|
|
819
|
-
LinkComponent: LinkComponent
|
|
820
|
-
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
821
|
-
subMenuOpen: subMenuOpen && displayedSubMenu === 'accessories',
|
|
822
|
-
onBackClick: onBackClick,
|
|
823
|
-
backIcon: backIcon,
|
|
824
|
-
subMenuCategoryTitle: "Categories",
|
|
825
|
-
productUrl: productUrl,
|
|
826
|
-
categoryElements: removeCategoryByName(dropdownData.accessoriesCategories, 'ACCESSORIES'),
|
|
827
|
-
subMenuBrandsTitle: "Accessory Brands",
|
|
828
|
-
brandsList: dropdownData.accessories,
|
|
829
|
-
categorySlug: displayedSubMenu,
|
|
830
|
-
isLoading: loading,
|
|
831
|
-
hasError: hasError,
|
|
832
|
-
onCloseSideNav: onCloseSideNav,
|
|
833
|
-
LinkComponent: LinkComponent
|
|
834
|
-
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
835
|
-
subMenuOpen: subMenuOpen && displayedSubMenu === 'watches',
|
|
836
|
-
onBackClick: onBackClick,
|
|
837
|
-
backIcon: backIcon,
|
|
838
|
-
subMenuCategoryTitle: "Department",
|
|
839
|
-
productUrl: productUrl,
|
|
840
|
-
categoryElements: addCategoryToElements(categoryElements, categories.watches.slug),
|
|
841
|
-
subMenuBrandsTitle: "Watches Brands",
|
|
842
|
-
brandsList: dropdownData.watches,
|
|
843
|
-
categorySlug: displayedSubMenu,
|
|
844
|
-
isLoading: loading,
|
|
845
|
-
hasError: hasError,
|
|
846
|
-
onCloseSideNav: onCloseSideNav,
|
|
847
|
-
LinkComponent: LinkComponent
|
|
848
|
-
}), displayedSubMenu === 'stores' && /*#__PURE__*/React__default.createElement("div", {
|
|
725
|
+
}))), renderDropdownLinks(), displayedSubMenu === 'stores' && /*#__PURE__*/React__default.createElement("div", {
|
|
849
726
|
className: "side-nav__content"
|
|
850
727
|
}, /*#__PURE__*/React__default.createElement(StoresDropdown, {
|
|
728
|
+
key: "stores",
|
|
851
729
|
backIcon: backIcon,
|
|
852
730
|
onBackClick: onBackClick,
|
|
853
731
|
stores: stores,
|
package/build/bundle.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.navbar{box-shadow:2px 2px 10px #dfdede;display:flex;padding-bottom:10px;padding-top:20px;position:relative}.navbar__link-item--desktop{align-items:center;display:flex;height:35px;margin:auto 0;padding-top:5px}.navbar__mobile-wrapper{align-items:center;display:flex;flex-direction:column;padding-bottom:20px;padding-left:32px;padding-right:32px}.navbar__container{display:flex;margin:0 auto;max-width:1280px;padding-left:12px;padding-right:12px;width:100%}.navbar__body{flex-basis:60%}.navbar__wrapper{align-items:center;display:flex;justify-content:space-between;width:100%}.navbar__product-search-wrapper{align-items:center;display:flex;justify-content:center;padding:0 20%;width:100%}@media only screen and (max-width:879px){.navbar__product-search-wrapper{padding:0}}.navbar__input-close-icon{height:auto;margin-bottom:10px;margin-left:10px;width:20px}@media only screen and (max-width:879px){.navbar__input-close-icon{margin-bottom:0;margin-left:0;width:15px}}.navbar__menu-icon{width:30px}.navbar__product-search{align-items:center;display:flex;max-width:545px;width:100%}.navbar__logo-wrapper{margin-right:18px;width:200px}.navbar__logo{width:200px}@media only screen and (max-width:879px){.navbar__logo{margin-left:10px;margin-top:5px;width:125px}}.navbar__form-input{align-items:center;background:transparent;border:none;display:flex;font-size:13px;outline:none;padding:8px;width:100%}.navbar__product-search{border:1px solid #dfdede;margin-bottom:10px}@media only screen and (max-width:879px){.navbar__product-search{border:none;border-bottom:1px solid #dfdede;margin-bottom:0;margin-right:10px;margin-top:10px}}.navbar__section{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;width:100%}.navbar__link{display:inline-block;font-family:Martel Sans;font-size:14px;font-weight:700;margin-right:10px;overflow:hidden;text-transform:uppercase;transition:.3s ease-in-out}.navbar__link:after{background-color:#000;content:"";display:block;height:2px;transition:width .25s ease-out;width:0}.navbar__link:hover:after{width:100%}.navbar__link:hover .navbar__dropdown{animation:fadeInDropdown .3s ease-in-out;display:block}.navbar__dropdown{background-color:#fff;box-shadow:5px 5px 5px #dfdede;display:none;left:0;position:absolute;width:100%;z-index:999}@keyframes fadeInDropdown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.navbar__company-link{font-size:13px;font-weight:400;list-style:none;margin-left:18px;text-decoration:none}.navbar__company-block{align-items:center;background-color:#000;color:#fff;display:flex;font-weight:700;height:33px;justify-content:center;margin-right:0;padding:0 18px;text-transform:uppercase}.navbar__input-search-icon{height:auto;margin-left:1.125rem;margin-right:.375rem;width:15px}.navbar__nav-links{align-items:center;display:flex}.navbar__nav-links--wrap{flex-wrap:wrap}.navbar__icons{align-items:center;display:flex;height:40px;justify-content:flex-end;margin-bottom:10px}@media only screen and (max-width:879px){.navbar__icons{display:block;height:20px;margin-bottom:0}}.navbar__icon{cursor:pointer;height:auto;margin-right:18px;width:20px}@media only screen and (max-width:879px){.navbar__icon{margin-right:0}}.navbar__icon--app{cursor:pointer;height:auto;margin-left:12px;width:20px}@media only screen and (max-width:879px){.navbar__icon--app{margin-right:0}}.navbar__vip-icon{height:16px;position:absolute;right:-12px;top:-4px;width:16px}.navbar__cart-icon{position:relative}.navbar__cart-count{align-items:center;background-color:#000;border-radius:50%;bottom:50%;color:#fff;display:flex;font-size:13px;height:20px;justify-content:center;left:100%;position:absolute;width:20px}.side-nav{font-family:Martel Sans}.side-nav__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center}.side-nav__overlay{background-color:rgba(78,73,73,.51);height:100%;opacity:0;position:fixed;top:0;transition:opacity .5s ease-out 0s,visibility .5s ease-out 0s;width:100%;z-index:99999}.side-nav__overlay--visible{opacity:1;visibility:visible}.side-nav__overlay--hidden{opacity:1;visibility:hidden}.side-nav__content{background-color:#fff;bottom:0;overflow-y:scroll;padding:1.5rem;position:fixed;top:0;transition:left .5s ease-in-out;width:80%;z-index:99999}.side-nav__content--hidden{display:none}.side-nav__content--open{left:0}.side-nav__content--closed{left:-100%}.side-nav__menu-title-wrapper{align-items:center;background-color:transparent;border:none;display:flex;justify-content:space-between;outline:none;width:100%}.side-nav__icon-container{float:right;margin-bottom:10px}.side-nav__menu-title{font-size:14px;font-weight:700;line-height:20px;text-transform:uppercase}.side-nav__accordion-icon{height:auto;width:15px}.side-nav__menu-item{margin-bottom:25px}.side-nav__close-icon{height:20px;margin-left:auto;width:20px}.side-nav__back-button-wrapper{align-items:center;display:flex;margin-bottom:25px}.side-nav__back-icon{height:20px;width:20px}.side-nav__back-button,.side-nav__sub-menu-title{font-weight:700;text-transform:uppercase}.side-nav__sub-menu-title{font-size:14px;margin-bottom:10px}.side-nav__elements{display:flex;flex-direction:column}.side-nav__element{color:#555;cursor:pointer;line-height:20px;margin-bottom:10px}.side-nav__element,.side-nav__sub-link{font-size:14px;font-weight:400;text-transform:capitalize}.side-nav__block-button{background-color:#000;color:#fff;font-weight:700;padding:10px 0;width:100%}.side-nav{font-family:Martel Sans}.side-nav__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center}.side-nav__overlay{background-color:rgba(78,73,73,.51);height:100%;opacity:0;position:fixed;top:0;transition:opacity .5s ease-out 0s,visibility .5s ease-out 0s;width:100%;z-index:99999}.side-nav__overlay--visible{opacity:1;visibility:visible}.side-nav__overlay--hidden{opacity:1;visibility:hidden}.side-nav__content{background-color:#fff;bottom:0;overflow-y:scroll;padding:1.5rem;position:fixed;top:0;transition:left .5s ease-in-out;width:80%;z-index:99999}.side-nav__content--hidden{display:none}.side-nav__content--open{left:0}.side-nav__content--closed{left:-100%}.side-nav__menu-title-wrapper{align-items:center;background-color:transparent;border:none;display:flex;outline:none;width:100%}.side-nav__icon-container{float:right;margin-bottom:10px}.side-nav__menu-title{align-items:center;display:flex;font-size:14px;font-weight:700;justify-content:center;line-height:20px;text-transform:uppercase}.side-nav__menu-icon{display:flex;height:25px;margin-right:10px;width:25px}.side-nav__menu-divider{margin-bottom:40px}.side-nav__accordion-icon{height:auto;width:15px}.side-nav__menu-item{margin-bottom:25px}.side-nav__close-icon{height:20px;margin-left:auto;width:20px}.side-nav__back-button-wrapper{align-items:center;display:flex;margin-bottom:25px}.side-nav__back-icon{height:20px;width:20px}.side-nav__back-button,.side-nav__sub-menu-title{font-weight:700;text-transform:uppercase}.side-nav__sub-menu-title{font-size:14px;margin-bottom:10px}.side-nav__elements{display:flex;flex-direction:column}.side-nav__element{color:#555;cursor:pointer;line-height:20px;margin-bottom:10px}.side-nav__element,.side-nav__sub-link{font-size:14px;font-weight:400;text-transform:capitalize}.side-nav__block-button{background-color:#000;color:#fff;font-weight:700;padding:10px 0;width:100%}.footer__newsletter-section{align-items:center;background-color:#000;color:#fff;display:flex;justify-content:space-between;padding:2.265rem 0}@media only screen and (max-width:879px){.footer__newsletter-section{flex-direction:column}}.footer__newsletter-wrapper{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1280px;padding-left:32px;padding-right:32px;width:100%}@media only screen and (max-width:879px){.footer__newsletter-wrapper{flex-direction:column}.footer__link-container{flex-basis:50%}}.footer__newsletter-icon{height:30px;position:absolute;right:0;top:0;width:32px}.footer__newsletter-form{flex-basis:50%;max-width:250px;position:relative}@media only screen and (max-width:879px){.footer__newsletter-form{display:block;margin-top:20px;max-width:100%;width:100%}}.footer__newsletter-title{font-family:Martel Sans,sans-serif;font-size:14px;font-weight:700;letter-spacing:3px;margin-bottom:1.125rem;text-transform:uppercase}.footer__newsletter-text{font-size:14px}.footer__form-input{background-color:#000;border:none;border-bottom:1px solid #fff;color:#fff;height:30px;outline:none;width:100%}.footer__form-input::-moz-placeholder{color:#fff;font-weight:400}.footer__form-input::placeholder{color:#fff;font-weight:400}.footer__form-errors{color:#fff;margin-top:5px}.footer__main-section{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:50px;margin-top:80px}.footer__link-title{font-family:El Messiri;font-size:16px;font-weight:700;margin-bottom:20px;text-transform:uppercase}@media only screen and (max-width:879px){.footer__link-title{margin-bottom:10px}}.footer__link-child{margin-top:25px}.footer__links{display:flex;flex-direction:column}.footer__link{color:#939393;cursor:pointer;font-family:Martel Sans;font-size:14px;line-height:20px;margin-bottom:7px;text-align:left;text-decoration:none}.footer__link:hover{color:#000;text-decoration:underline}@media only screen and (max-width:879px){.footer__link{margin-bottom:10px}}.footer__link-wrapper{align-items:center;display:flex;gap:5px}.footer__link-icon{height:30px;margin-bottom:18px}.footer__text{color:#939393;font-family:Martel Sans;font-size:14px;line-height:20px;margin-bottom:15px;text-align:left;text-decoration:none}.footer__store-hours{margin-top:35px}.footer__copyrights-section{border-top:1px solid;display:flex;justify-content:space-between;padding-bottom:20px;padding-top:20px}.footer__logo{height:30px;width:135px}.footer__payment-icons{align-items:center;display:flex;gap:8px}.footer__wrapper{margin:0 auto;max-width:1280px;padding-left:32px;padding-right:32px;width:100%}@media only screen and (max-width:879px){.footer__wrapper{padding:32px 0 0 24px}}.footer__wrapper--desktop{display:block}@media only screen and (max-width:879px){.footer__wrapper--desktop{display:none}}.footer__wrapper--mobile{display:none}@media only screen and (max-width:879px){.footer__wrapper--mobile{display:block;padding-top:30px}}.footer__copyright{font-size:10px;line-height:22px}.footer__copyright--mobile{display:none}@media only screen and (max-width:879px){.footer__copyright--mobile{display:block;padding:30px 10px 30px 0;text-align:center}}.footer__section-row{display:flex;gap:50%}@media only screen and (max-width:879px){.footer__section-row{gap:unset}}.interests__add-button{display:flex;flex-direction:row;gap:10px;width:100%}@media only screen and (max-width:879px){.interests__add-button{flex-direction:column}}.interests__section-wrapper{display:flex;flex-direction:column;width:100%}.interests__select-option{display:flex;flex-direction:column;margin-bottom:15px}.interests__title{font-family:El Messiri;font-size:16px;margin-bottom:10px}@charset "UTF-8";.currency-select-container{align-items:center;display:flex;margin-right:18px;position:relative}.currency-select-container .currency-flag{margin-right:5px}.currency-select-container .currency-flag img{height:15px;-o-object-fit:cover;object-fit:cover;width:20px}.currency-select-container .currency-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:transparent;border:none;color:#000;cursor:pointer;font-family:inherit;font-size:14px;margin:0;outline:none;padding:5px 15px 5px 5px}.currency-select-container .currency-select::-ms-expand{display:none}.currency-select-container .currency-select:focus{box-shadow:none;outline:none}.currency-select-container .currency-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000}.currency-select-container:after{color:#000;content:"▼";font-size:10px;pointer-events:none;position:absolute;right:0;top:50%;transform:translateY(-50%)}@media only screen and (max-width:879px){.currency-select-container .currency-select{appearance:menulist;-webkit-appearance:menulist;-moz-appearance:menulist;padding-right:0}.currency-select-container:after{display:none}}.currency-select-container.disabled{cursor:not-allowed;opacity:.7}.currency-select-container.disabled .currency-select{pointer-events:none}.search-results{background:#fff;border:1px solid #dfdede;border-radius:2px;box-shadow:0 2px 8px rgba(0,0,0,.08);display:flex;position:absolute;width:770px;z-index:50}@media only screen and (max-width:1052px){.search-results{border:none;box-shadow:none;flex-direction:column;top:120px;width:100%}}.search-results__section:first-child{border-right:1px solid #dfdede;flex:1;min-width:240px}.search-results__section:last-child{display:flex;flex:2;flex-direction:column}.search-results__section-header{align-items:center;display:flex;justify-content:space-between}.search-results__header{color:#000;font-family:Martel Sans;font-size:14px;font-weight:600;margin-bottom:0;padding:16px 20px;text-transform:uppercase}.search-results__view-all-link{display:none}@media only screen and (max-width:879px){.search-results__view-all-link{color:#000;display:block;font-family:Martel Sans;font-size:14px;margin-right:20px}}.search-results__list{display:flex;flex-direction:column}.search-results__item{color:grey;font-family:Martel Sans;font-size:14px;padding:8px 20px;text-decoration:none}.search-results__product-list{display:flex;flex-direction:column;overflow-y:auto}.product-card{color:inherit;display:flex;padding:12px 20px;text-decoration:none;transition:background-color .15s ease}.product-card:hover{background-color:#f4f4f4}.product-card__image-container{border-radius:2px;flex-shrink:0;height:90px;margin-right:16px;overflow:hidden;width:90px}.product-card__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.product-card__details{display:flex;flex:1;flex-direction:column}.product-card__name{color:#000;font-family:Martel Sans;font-size:14px;line-height:1.4;margin-bottom:24px}.product-card__brand-name{font-weight:600}.product-card__info-row{align-items:flex-end;display:flex;justify-content:space-between}@media only screen and (max-width:879px){.product-card__info-row{align-items:flex-start;flex-direction:column}}.product-card__price-group{display:flex;flex-direction:column;gap:4px}.product-card__price{color:#000;font-family:Martel Sans;font-size:14px;font-weight:600;line-height:1}.product-card__retail-price{color:#939393;font-family:Martel Sans;font-size:14px;text-decoration:line-through}.product-card__condition{color:#000;font-family:Martel Sans;font-size:13px;margin-right:20px;text-align:right}.product-card__condition-label{color:#939393;margin-right:4px}.search-results__view-all-button{background-color:#f5f0ea!important;border:none;color:#000;cursor:pointer;font-family:Martel Sans;font-size:13px;font-weight:400;padding:16px;text-align:center}@media only screen and (max-width:879px){.search-results__view-all-button{display:none}}.stores-dropdown{align-items:flex-start;display:flex;font-family:Martel Sans;gap:20px;margin-left:auto;margin-right:auto;max-width:1280px;overflow-x:auto;padding:20px 15px}.stores-dropdown__image{height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.stores-dropdown__store-details{flex-basis:20%}.stores-dropdown__title{font-family:El Messiri}.stores-dropdown__main-title,.stores-dropdown__title{font-size:16px;font-weight:400;letter-spacing:3px;margin-top:20px}.stores-dropdown__main-title{font-weight:700;margin-bottom:10px}.stores-dropdown__open-days{font-size:12px;font-weight:700;line-height:20px}.stores-dropdown__open-hours{font-size:12px;font-weight:400;line-height:20px}.stores-dropdown__queries-title{font-family:El Messiri;font-size:16px;font-weight:400;letter-spacing:3px}.stores-dropdown__contact-details{font-size:16px;font-weight:700}.stores-dropdown__view-more{cursor:pointer;font-size:14px;font-weight:400;margin-top:10px;text-transform:capitalize}.dropdown{display:flex;justify-content:space-between;margin-left:auto;margin-right:auto;max-width:1280px;min-height:500px;overflow-x:auto;padding:20px 0}.dropdown__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center;min-height:300px}.dropdown__column{flex:1;padding-left:12px}.dropdown__column:nth-child(2){flex:2}.dropdown__title{font-family:El Messiri;font-size:16px;font-weight:700;letter-spacing:3px;line-height:1;margin-bottom:20px;text-transform:uppercase}.dropdown__elements{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));max-height:800px;overflow-y:auto}.dropdown__brand-elements{-moz-column-count:3;column-count:3;max-height:800px}.dropdown__brand-element{cursor:pointer;margin-bottom:10px}.dropdown__element{flex-basis:33.33%;font-family:Martel Sans;font-size:14px;font-weight:400;margin-bottom:10px;text-transform:capitalize}.cover-spinner{align-items:center;background-color:hsla(0,0%,100%,.7);display:flex;height:100%;justify-content:center;min-height:400px;position:relative;top:50%;width:100%;z-index:9999}.cover-spinner:after{animation:spin 1.5s linear infinite;border:4px dotted #000;border-radius:50%;border-top-color:transparent;content:"";display:block;height:40px;position:absolute;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
|
|
1
|
+
.interests__add-button{display:flex;flex-direction:row;gap:10px;width:100%}@media only screen and (max-width:879px){.interests__add-button{flex-direction:column}}.interests__section-wrapper{display:flex;flex-direction:column;width:100%}.interests__select-option{display:flex;flex-direction:column;margin-bottom:15px}.interests__title{font-family:El Messiri;font-size:16px;margin-bottom:10px}.navbar{box-shadow:2px 2px 10px #dfdede;display:flex;padding-bottom:10px;padding-top:20px;position:relative}.navbar__link-item--desktop{align-items:center;display:flex;height:35px;margin:auto 0;padding-top:5px}.navbar__mobile-wrapper{align-items:center;display:flex;flex-direction:column;padding-bottom:20px;padding-left:32px;padding-right:32px}.navbar__container{display:flex;margin:0 auto;max-width:1280px;padding-left:12px;padding-right:12px;width:100%}.navbar__body{flex-basis:60%}.navbar__wrapper{align-items:center;display:flex;justify-content:space-between;width:100%}.navbar__product-search-wrapper{align-items:center;display:flex;justify-content:center;padding:0 20%;width:100%}@media only screen and (max-width:879px){.navbar__product-search-wrapper{padding:0}}.navbar__input-close-icon{height:auto;margin-bottom:10px;margin-left:10px;width:20px}@media only screen and (max-width:879px){.navbar__input-close-icon{margin-bottom:0;margin-left:0;width:15px}}.navbar__menu-icon{width:30px}.navbar__product-search{align-items:center;display:flex;max-width:545px;width:100%}.navbar__logo-wrapper{margin-right:18px;width:200px}.navbar__logo{width:200px}@media only screen and (max-width:879px){.navbar__logo{margin-left:10px;margin-top:5px;width:125px}}.navbar__form-input{align-items:center;background:transparent;border:none;display:flex;font-size:13px;outline:none;padding:8px;width:100%}.navbar__product-search{border:1px solid #dfdede;margin-bottom:10px}@media only screen and (max-width:879px){.navbar__product-search{border:none;border-bottom:1px solid #dfdede;margin-bottom:0;margin-right:10px;margin-top:10px}}.navbar__section{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;width:100%}.navbar__link{display:inline-block;font-family:Martel Sans;font-size:14px;font-weight:700;margin-right:10px;overflow:hidden;text-transform:uppercase;transition:.3s ease-in-out}.navbar__link:after{background-color:#000;content:"";display:block;height:2px;transition:width .25s ease-out;width:0}.navbar__link:hover:after{width:100%}.navbar__link:hover .navbar__dropdown{animation:fadeInDropdown .3s ease-in-out;display:block}.navbar__dropdown{background-color:#fff;box-shadow:5px 5px 5px #dfdede;display:none;left:0;position:absolute;width:100%;z-index:999}@keyframes fadeInDropdown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.navbar__company-link{font-size:13px;font-weight:400;list-style:none;margin-left:18px;text-decoration:none}.navbar__company-block{align-items:center;background-color:#000;color:#fff;display:flex;font-weight:700;height:33px;justify-content:center;margin-right:0;padding:0 18px;text-transform:uppercase}.navbar__input-search-icon{height:auto;margin-left:1.125rem;margin-right:.375rem;width:15px}.navbar__nav-links{align-items:center;display:flex}.navbar__nav-links--wrap{flex-wrap:wrap}.navbar__icons{align-items:center;display:flex;height:40px;justify-content:flex-end;margin-bottom:10px}@media only screen and (max-width:879px){.navbar__icons{display:block;height:20px;margin-bottom:0}}.navbar__icon{cursor:pointer;height:auto;margin-right:18px;width:20px}@media only screen and (max-width:879px){.navbar__icon{margin-right:0}}.navbar__icon--app{cursor:pointer;height:auto;margin-left:12px;width:20px}@media only screen and (max-width:879px){.navbar__icon--app{margin-right:0}}.navbar__vip-icon{height:16px;position:absolute;right:-12px;top:-4px;width:16px}.navbar__cart-icon{position:relative}.navbar__cart-count{align-items:center;background-color:#000;border-radius:50%;bottom:50%;color:#fff;display:flex;font-size:13px;height:20px;justify-content:center;left:100%;position:absolute;width:20px}.side-nav{font-family:Martel Sans}.side-nav__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center}.side-nav__overlay{background-color:rgba(78,73,73,.51);height:100%;opacity:0;position:fixed;top:0;transition:opacity .5s ease-out 0s,visibility .5s ease-out 0s;width:100%;z-index:99999}.side-nav__overlay--visible{opacity:1;visibility:visible}.side-nav__overlay--hidden{opacity:1;visibility:hidden}.side-nav__content{background-color:#fff;bottom:0;overflow-y:scroll;padding:1.5rem;position:fixed;top:0;transition:left .5s ease-in-out;width:80%;z-index:99999}.side-nav__content--hidden{display:none}.side-nav__content--open{left:0}.side-nav__content--closed{left:-100%}.side-nav__menu-title-wrapper{align-items:center;background-color:transparent;border:none;display:flex;justify-content:space-between;outline:none;width:100%}.side-nav__icon-container{float:right;margin-bottom:10px}.side-nav__menu-title{font-size:14px;font-weight:700;line-height:20px;text-transform:uppercase}.side-nav__accordion-icon{height:auto;width:15px}.side-nav__menu-item{margin-bottom:25px}.side-nav__close-icon{height:20px;margin-left:auto;width:20px}.side-nav__back-button-wrapper{align-items:center;display:flex;margin-bottom:25px}.side-nav__back-icon{height:20px;width:20px}.side-nav__back-button,.side-nav__sub-menu-title{font-weight:700;text-transform:uppercase}.side-nav__sub-menu-title{font-size:14px;margin-bottom:10px}.side-nav__elements{display:flex;flex-direction:column}.side-nav__element{color:#555;cursor:pointer;line-height:20px;margin-bottom:10px}.side-nav__element,.side-nav__sub-link{font-size:14px;font-weight:400;text-transform:capitalize}.side-nav__block-button{background-color:#000;color:#fff;font-weight:700;padding:10px 0;width:100%}.footer__newsletter-section{align-items:center;background-color:#000;color:#fff;display:flex;justify-content:space-between;padding:2.265rem 0}@media only screen and (max-width:879px){.footer__newsletter-section{flex-direction:column}}.footer__newsletter-wrapper{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1280px;padding-left:32px;padding-right:32px;width:100%}@media only screen and (max-width:879px){.footer__newsletter-wrapper{flex-direction:column}.footer__link-container{flex-basis:50%}}.footer__newsletter-icon{height:30px;position:absolute;right:0;top:0;width:32px}.footer__newsletter-form{flex-basis:50%;max-width:250px;position:relative}@media only screen and (max-width:879px){.footer__newsletter-form{display:block;margin-top:20px;max-width:100%;width:100%}}.footer__newsletter-title{font-family:Martel Sans,sans-serif;font-size:14px;font-weight:700;letter-spacing:3px;margin-bottom:1.125rem;text-transform:uppercase}.footer__newsletter-text{font-size:14px}.footer__form-input{background-color:#000;border:none;border-bottom:1px solid #fff;color:#fff;height:30px;outline:none;width:100%}.footer__form-input::-moz-placeholder{color:#fff;font-weight:400}.footer__form-input::placeholder{color:#fff;font-weight:400}.footer__form-errors{color:#fff;margin-top:5px}.footer__main-section{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:50px;margin-top:80px}.footer__link-title{font-family:El Messiri;font-size:16px;font-weight:700;margin-bottom:20px;text-transform:uppercase}@media only screen and (max-width:879px){.footer__link-title{margin-bottom:10px}}.footer__link-child{margin-top:25px}.footer__links{display:flex;flex-direction:column}.footer__link{color:#939393;cursor:pointer;font-family:Martel Sans;font-size:14px;line-height:20px;margin-bottom:7px;text-align:left;text-decoration:none}.footer__link:hover{color:#000;text-decoration:underline}@media only screen and (max-width:879px){.footer__link{margin-bottom:10px}}.footer__link-wrapper{align-items:center;display:flex;gap:5px}.footer__link-icon{height:30px;margin-bottom:18px}.footer__text{color:#939393;font-family:Martel Sans;font-size:14px;line-height:20px;margin-bottom:15px;text-align:left;text-decoration:none}.footer__store-hours{margin-top:35px}.footer__copyrights-section{border-top:1px solid;display:flex;justify-content:space-between;padding-bottom:20px;padding-top:20px}.footer__logo{height:30px;width:135px}.footer__payment-icons{align-items:center;display:flex;gap:8px}.footer__wrapper{margin:0 auto;max-width:1280px;padding-left:32px;padding-right:32px;width:100%}@media only screen and (max-width:879px){.footer__wrapper{padding:32px 0 0 24px}}.footer__wrapper--desktop{display:block}@media only screen and (max-width:879px){.footer__wrapper--desktop{display:none}}.footer__wrapper--mobile{display:none}@media only screen and (max-width:879px){.footer__wrapper--mobile{display:block;padding-top:30px}}.footer__copyright{font-size:10px;line-height:22px}.footer__copyright--mobile{display:none}@media only screen and (max-width:879px){.footer__copyright--mobile{display:block;padding:30px 10px 30px 0;text-align:center}}.footer__section-row{display:flex;gap:50%}@media only screen and (max-width:879px){.footer__section-row{gap:unset}}@charset "UTF-8";.currency-select-container{align-items:center;display:flex;margin-right:18px;position:relative}.currency-select-container .currency-flag{margin-right:5px}.currency-select-container .currency-flag img{height:15px;-o-object-fit:cover;object-fit:cover;width:20px}.currency-select-container .currency-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:transparent;border:none;color:#000;cursor:pointer;font-family:inherit;font-size:14px;margin:0;outline:none;padding:5px 15px 5px 5px}.currency-select-container .currency-select::-ms-expand{display:none}.currency-select-container .currency-select:focus{box-shadow:none;outline:none}.currency-select-container .currency-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000}.currency-select-container:after{color:#000;content:"▼";font-size:10px;pointer-events:none;position:absolute;right:0;top:50%;transform:translateY(-50%)}@media only screen and (max-width:879px){.currency-select-container .currency-select{appearance:menulist;-webkit-appearance:menulist;-moz-appearance:menulist;padding-right:0}.currency-select-container:after{display:none}}.currency-select-container.disabled{cursor:not-allowed;opacity:.7}.currency-select-container.disabled .currency-select{pointer-events:none}.side-nav{font-family:Martel Sans}.side-nav__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center}.side-nav__overlay{background-color:rgba(78,73,73,.51);height:100%;opacity:0;position:fixed;top:0;transition:opacity .5s ease-out 0s,visibility .5s ease-out 0s;width:100%;z-index:99999}.side-nav__overlay--visible{opacity:1;visibility:visible}.side-nav__overlay--hidden{opacity:1;visibility:hidden}.side-nav__content{background-color:#fff;bottom:0;overflow-y:scroll;padding:1.5rem;position:fixed;top:0;transition:left .5s ease-in-out;width:80%;z-index:99999}.side-nav__content--hidden{display:none}.side-nav__content--open{left:0}.side-nav__content--closed{left:-100%}.side-nav__menu-title-wrapper{align-items:center;background-color:transparent;border:none;display:flex;outline:none;width:100%}.side-nav__icon-container{float:right;margin-bottom:10px}.side-nav__menu-title{align-items:center;display:flex;font-size:14px;font-weight:700;justify-content:center;line-height:20px;text-transform:uppercase}.side-nav__menu-icon{display:flex;height:25px;margin-right:10px;width:25px}.side-nav__menu-divider{margin-bottom:40px}.side-nav__accordion-icon{height:auto;width:15px}.side-nav__menu-item{margin-bottom:25px}.side-nav__close-icon{height:20px;margin-left:auto;width:20px}.side-nav__back-button-wrapper{align-items:center;display:flex;margin-bottom:25px}.side-nav__back-icon{height:20px;width:20px}.side-nav__back-button,.side-nav__sub-menu-title{font-weight:700;text-transform:uppercase}.side-nav__sub-menu-title{font-size:14px;margin-bottom:10px}.side-nav__elements{display:flex;flex-direction:column}.side-nav__element{color:#555;cursor:pointer;line-height:20px;margin-bottom:10px}.side-nav__element,.side-nav__sub-link{font-size:14px;font-weight:400;text-transform:capitalize}.side-nav__block-button{background-color:#000;color:#fff;font-weight:700;padding:10px 0;width:100%}.stores-dropdown{align-items:flex-start;display:flex;font-family:Martel Sans;gap:20px;margin-left:auto;margin-right:auto;max-width:1280px;overflow-x:auto;padding:20px 15px}.stores-dropdown__image{height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.stores-dropdown__store-details{flex-basis:20%}.stores-dropdown__title{font-family:El Messiri}.stores-dropdown__main-title,.stores-dropdown__title{font-size:16px;font-weight:400;letter-spacing:3px;margin-top:20px}.stores-dropdown__main-title{font-weight:700;margin-bottom:10px}.stores-dropdown__open-days{font-size:12px;font-weight:700;line-height:20px}.stores-dropdown__open-hours{font-size:12px;font-weight:400;line-height:20px}.stores-dropdown__queries-title{font-family:El Messiri;font-size:16px;font-weight:400;letter-spacing:3px}.stores-dropdown__contact-details{font-size:16px;font-weight:700}.stores-dropdown__view-more{cursor:pointer;font-size:14px;font-weight:400;margin-top:10px;text-transform:capitalize}.search-results{background:#fff;border:1px solid #dfdede;border-radius:2px;box-shadow:0 2px 8px rgba(0,0,0,.08);display:flex;position:absolute;width:770px;z-index:50}@media only screen and (max-width:1052px){.search-results{border:none;box-shadow:none;flex-direction:column;top:120px;width:100%}}.search-results__section:first-child{border-right:1px solid #dfdede;flex:1;min-width:240px}.search-results__section:last-child{display:flex;flex:2;flex-direction:column}.search-results__section-header{align-items:center;display:flex;justify-content:space-between}.search-results__header{color:#000;font-family:Martel Sans;font-size:14px;font-weight:600;margin-bottom:0;padding:16px 20px;text-transform:uppercase}.search-results__view-all-link{display:none}@media only screen and (max-width:879px){.search-results__view-all-link{color:#000;display:block;font-family:Martel Sans;font-size:14px;margin-right:20px}}.search-results__list{display:flex;flex-direction:column}.search-results__item{color:grey;font-family:Martel Sans;font-size:14px;padding:8px 20px;text-decoration:none}.search-results__product-list{display:flex;flex-direction:column;overflow-y:auto}.product-card{color:inherit;display:flex;padding:12px 20px;text-decoration:none;transition:background-color .15s ease}.product-card:hover{background-color:#f4f4f4}.product-card__image-container{border-radius:2px;flex-shrink:0;height:90px;margin-right:16px;overflow:hidden;width:90px}.product-card__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.product-card__details{display:flex;flex:1;flex-direction:column}.product-card__name{color:#000;font-family:Martel Sans;font-size:14px;line-height:1.4;margin-bottom:24px}.product-card__brand-name{font-weight:600}.product-card__info-row{align-items:flex-end;display:flex;justify-content:space-between}@media only screen and (max-width:879px){.product-card__info-row{align-items:flex-start;flex-direction:column}}.product-card__price-group{display:flex;flex-direction:column;gap:4px}.product-card__price{color:#000;font-family:Martel Sans;font-size:14px;font-weight:600;line-height:1}.product-card__retail-price{color:#939393;font-family:Martel Sans;font-size:14px;text-decoration:line-through}.product-card__condition{color:#000;font-family:Martel Sans;font-size:13px;margin-right:20px;text-align:right}.product-card__condition-label{color:#939393;margin-right:4px}.search-results__view-all-button{background-color:#f5f0ea!important;border:none;color:#000;cursor:pointer;font-family:Martel Sans;font-size:13px;font-weight:400;padding:16px;text-align:center}@media only screen and (max-width:879px){.search-results__view-all-button{display:none}}.dropdown{display:flex;justify-content:space-between;margin-left:auto;margin-right:auto;max-width:1280px;min-height:500px;overflow-x:auto;padding:20px 0}.dropdown__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center;min-height:300px}.dropdown__column{flex:1;padding-left:12px}.dropdown__column:nth-child(2){flex:2}.dropdown__title{font-family:El Messiri;font-size:16px;font-weight:700;letter-spacing:3px;line-height:1;margin-bottom:20px;text-transform:uppercase}.dropdown__elements{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));max-height:800px;overflow-y:auto}.dropdown__brand-elements{-moz-column-count:3;column-count:3;max-height:800px}.dropdown__brand-element{cursor:pointer;margin-bottom:10px}.dropdown__element{flex-basis:33.33%;font-family:Martel Sans;font-size:14px;font-weight:400;margin-bottom:10px;text-transform:capitalize}.cover-spinner{align-items:center;background-color:hsla(0,0%,100%,.7);display:flex;height:100%;justify-content:center;min-height:400px;position:relative;top:50%;width:100%;z-index:9999}.cover-spinner:after{animation:spin 1.5s linear infinite;border:4px dotted #000;border-radius:50%;border-top-color:transparent;content:"";display:block;height:40px;position:absolute;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
|