header{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0px 4px 18px 0px #0000001C;
  font: 400 1.3rem/1.4 'Matter', Poppins, sans-serif;
}
header.sticky {
  box-shadow: 0px 4px 40px 0px #2424241A;
}
header ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
header li::marker {
  content: '';
}
header.uploader-step__header {
  box-shadow: unset;
  z-index: -1;
  color: rgb(23, 25, 32);
}
header .header-block{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.9rem 0;
}
header:has(.header-mega-menu) .header-block {
  padding-bottom: 3.2rem;
}
header .logo a{
  display: block;
}
header .logo img{
  width: 18rem;
  max-width: 100%;
  height: auto;
}
header .header-right{
  position: relative;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#new-order-btn {
  white-space: nowrap;
}
.btn.ask-for-product {
  font-size: 1.3rem !important;
  background-color: #badede !important;
  border-radius: 3rem;
  color: #232323;
  margin: 0 4px;
  line-height: 1.4rem;
  white-space: nowrap;
}
header .menu{
  margin-left: 2.6rem;
}
header .menu:last-child{
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}
header .mobile-menu-header{
  display: none;
}
header .menu li{
  padding: 0;
  margin: 0;
}
header .menu li::after{
  content: none;
}
header .menu-list > ul{
  display: flex;
  align-items: center;
  margin: 0;
}
header .menu-list > ul > li{
  margin: 0 0.8rem;
  position: relative;
}
header .menu-list > ul > li:first-child{
  margin-left: 0;
}
header .menu-list > ul > li:last-child{
  margin-right: 0;
}
header .menu-list > ul > li > a{
  font-size: 1.4rem;
  line-height: 1.75rem;
  display: flex;
  align-items: center;
  color: #242424;
  position: relative;
  white-space: nowrap;
}
header .menu-list > ul > li:hover > a{
  opacity: #000;
  opacity: 0.9;
}
header .menu-list > ul > li.hasChild > a{
  padding-right: 2.2rem;
}
header .menu-list > ul > li.hasChild > a::after{
  position: absolute;
  content: "";
  right: 0;
  width: 1.8rem;
  height: 1.8rem;
  background: url(/Tedgifted/images/icon-menu-arrow.png);
  background-size: cover;
  background-position: center;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
header .menu-list > ul > li.hasChild:hover > a::after{
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
header .open-submenu{
  position: absolute;
  right: -0.2rem;
  top: 0;
  bottom: 0;
  width: 2rem;
  margin: auto;
  display: none;
  align-items: center;
  justify-content: center;
}
header .has-subChild .open-submenu{
  z-index: 1;
}
header .submenu{
  position: absolute;
  /* width: 100%; */
  top: calc(100% + 3.8rem);
  background: #fff;
  z-index: 1;
  padding: 2.4rem 0;
  border: 1px solid #E7E7E7;
  border-radius: 1.2rem;
  box-shadow: 0px 4px 40px 0px #2424241A;
  display: none;
}
header .hasChild:hover .submenu{
  display: block;
}
header .submenu::before{
  position: absolute;
  content: "";
  left: 0;
  top: -4.4rem;
  width: 100%;
  height: 4.6rem;
}
@media(min-width: 992px){
  header .hasChild.focus .submenu{
    display: block;
  }
  header .menu-list > ul > li.hasChild.focus > a::after{
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
}
header .small .submenu {
  min-width: 25rem;
  left: -3.2rem;
  padding: 2rem 0;
  top: calc(100% + 3.8rem);
}
header .large .submenu{
  min-width: 91rem;
  padding: 2.4rem 0 3.2rem;
  left: -3.2rem;
  min-height: 32.6rem;
}
header .submenu-inner{
  display: flex;
  flex-wrap: wrap;
}
header .submenu-list{
  width: 30rem;
  position: relative;
}
header .sub-submenu .submenu-list{
  width: 31.6rem;
}
header .sub-submenu .sub-submenu .submenu-list{
  width: 26.9rem;
}
header .sub-submenu .sub-submenu .submenu-list::after{
  content: none;
}
header .submenu-list::after{
  position: absolute;
  content: "";
  top: 0.8rem;
  right: 0;
  width: 1px;
  background: rgba(35,35,35,0.1);
  height: calc(100% - 0.8rem);
}
header .submenu-list li,
header .small .submenu li{
  position: initial;
  width: 100%;
  padding: 0 2.4rem 0.4rem;
}
header .small .submenu li{
  padding: 0 1.6rem 0.4rem;
}
.sub-submenu .sub-submenu .submenu-list li{
  padding-right: 0;
}
header .submenu-list li:last-child{
  padding-bottom: 0;
}
header .submenu-list li a,
header .small .submenu li a{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 0.8rem;
  border-radius: 0.4rem;
  max-width: 22rem;
}
header .small .submenu li a{
  padding: 0.8rem 1.6rem;
  max-width: initial;
  white-space: nowrap;
  font-size: 1.4rem;
  line-height: 1.75rem;
}
header .sub-submenu .sub-submenu .submenu-list li a{
  max-width: 100%;
  width: 100%;
}
header .submenu-list li.has-subChild > a{
  padding-right: 3.2rem;
}
header .submenu-list li:hover > a,
header .submenu-list li.active > a,
header .small .submenu li.active a,
header .small .submenu li:hover a{
  background: #F8F8F8;
}
header .submenu-list li.has-subChild > a::after{
  position: absolute;
  content: "";
  right: 0.8rem;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 1.6rem;
  height: 1.6rem;
  background: url(/Tedgifted/images/icon-menu-arrow.svg);
  background-position: center;
  background-size: cover;
}
header .submenu-list li a img{
  -ms-flex-nagative:0;
  flex-shrink: 0;
  margin-left: 0.8rem;
  border-radius: 0.32rem;
  height: 1.6rem;
  width: auto;
}
header .submenu-list-btn{
  margin-top: 3.4rem;
  padding: 0 2.4rem;
}
header .submenu-list-btn .btn{
  width: 100%;
  max-width: 22rem;
}
header .submenu-back{
  display: none;
}
header .sub-submenu {
  position: absolute;
  top: -1px;
  left: calc(100% - 5px);
  display: none;
  background: #fff;
  border: 1px solid #E7E7E7;
  border-radius: 0 1.2rem 1.2rem 1.2rem;
  box-shadow: 0 4px 40px 0 #2424241A;
  padding: 2rem 0;
  min-width: 25rem;
  max-height: 40rem;
  overflow-y: auto;
}
header .has-subChild:hover > .sub-submenu{
  display: flex;
}
header .small .submenu:has(.has-subChild:hover) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
@media(min-width: 992px){
  header .has-subChild.focus > .sub-submenu{
    display: flex;
  }
  header:has(.has-subChild.focus) .submenu-product{
    display: none;
  }
  header .small .submenu:has(.has-subChild.focus) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}
header .submenu-product{
  width: calc(100% - 30rem);
  padding: 0.8rem 3.2rem 0 4.8rem;
  display: flex;
  flex-direction: column;
}
header .submenu-product.hide{
  display: none;
}
header .submenu-product-head{
  font-size: 1.2rem;
  line-height: 1.2rem;
  color: #A2A2A2;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
header .submenu-product-head:last-child{
  margin-bottom: 0;
}
header .submenu-product-item{
  flex-grow: 1;
  display: flex;
  align-items: center;
}
header .submenu-product-img{
  -ms-flex-nagative:0;
  flex-shrink: 0;
  width: 24rem;
  height: 23.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
header .submenu-product-img img{
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.8rem;
}
header .submenu-product-info{
  padding-right: 2.4rem;
}
header .submenu-product-info .h5{
  margin-bottom: 1.6rem;
}
header .submenu-product-info .h5:last-child{
  margin-bottom: 0;
}
header .submenu-product-info p{
  font-size: 1.2rem;
  line-height: 125%;
  color: #5D5D5D;
}
header .submenu-product-btn{
  margin-top: 2.4rem;
  display: flex;
}
header .submenu-product-btn .btn{
  display: inline-flex;
  font-weight: 400;
  border-radius: 20rem;
  font-size: 12px;
}
header .header-item{
  border: 0;
  padding: 0;
  margin: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
header .header-user .header-item{
  width: auto;
  height: auto;
  flex-direction: column;
  text-align: center;
}
.login-redirect {
  flex-direction: row !important;
  gap: 0.6rem;
}
header .header-user span{
  display: block;
  font-size: 1.4rem;
  line-height: 1.6rem;
  letter-spacing: -0.012em;
  color: #000;
}
header .header-item img{
  max-width: 100%;
  max-height: 100%;
}
header .header-item:hover img{
  opacity: 0.8;
}
header .header-bookmark{
  margin-left: 1.3rem;
}
header .header-cart{
  margin-left: 0.7rem;
}
header .header-cart-text{
  position: absolute;
  right: -0.42rem;
  bottom: -0.42rem;
  height: 1.4rem;
  width: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.15rem solid #fff;
  background: #FF5837;
  border-radius: 50%;
  color: #fff;
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1;
}
header .header-translate{
  position: relative;
  margin-left: 1.6rem;
}
header a {
  text-decoration: none !important;
  color: #242424;
}
header #btnTranslate{
  border: 0;
  padding: 0;
  margin: 0;
  background: #fff0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding-right: 2.2rem;
  position: relative;
  display: flex;
}
header #btnTranslate img{
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}
header #btnTranslate:after{
  position: absolute;
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  right: 0;
  background: url(/Tedgifted/images/icon-translate-down.png);
  background-size: cover;
  background-position: center;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
header .header-translate.open #btnTranslate::after,
.header-translate.focus #btnTranslate::after{
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
header .translate-dropdown{
  position: absolute;
  right: -1.7rem;
  padding: 0.8rem 0.5rem;
  min-width: 14rem;
  top: calc(100% + 3.5rem);
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid #E7E7E7;
  box-shadow: 0px 4px 40px 0px #2424241A;
  overflow: hidden;
  -webkit-transform: scale(1, 0);
  -moz-transform: scale(1, 0);
  transform: scale(1, 0);
  z-index: 1;
  -webkit-transform-origin: left top;
  -moz-transform-origin: left top;
  transform-origin: left top;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
header .header-translate.focus .translate-dropdown,
header .header-translate.open .translate-dropdown {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  transform: scale(1);
}
header .translate-dropdown li{
  margin: 0 0 0.4rem;
  padding: 0;
}
header .translate-dropdown li::after{
  content: none;
}
header .translate-dropdown a{
  display: flex;
  align-items: center;
  padding: 0.8rem;
  font-size: 1.4rem;
  line-height: 1.8rem;
  border-radius: 0.4rem;
}
header .translate-dropdown li.selected a,
header .translate-dropdown li:hover a{
  background: #F8F8F8;
}
header .translate-dropdown a img{
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.8rem;
}
header .toggleMenu {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  width: 3.2rem;
  height: 3.2rem;
  margin-left: 1rem;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
header .toggleMenu span{
  width: 2.8rem;
  height: 0.2rem;
  background: #242424;
  border-radius: 20rem;
  display: block;
  margin: 0.3rem 0;
}
.menu-link-mobile {
  display: none;
}
.header-user {
  align-items: center;
}
header .submenu-product-btn.btn-group a.btn-yellow:hover {
  color: #242424 !important;
}
.header-search {
  margin: 0 2.4rem 0 3rem;
  flex-grow: 1;
  position: relative;
}
.header-search-input .from-control {
  width: 100%;
  height: 3.5rem;
  border-radius: 0.6rem;
  border: 1px solid #303030;
  font-size: 1.4rem;
  color: #242424;
  padding: 0 4rem 0 1.2rem;
  background-color: #fff;
  background: url(/Tedgifted/images/icon-search.png);
  background-repeat: no-repeat;
  background-position: center right 1.2rem;
}
#btn-mobile-search {
  display: none;
}
/* mega menu css start here */
header:has(.header-mega-menu) .col-sm-12 {
  position: initial;
}
body.show-mega::after,
body:has(.has-mega.focus)::after {
  position: fixed;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #57575778;
  z-index: 2;
}
.mega-list > ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 5rem;
}
.mega-list > ul > li {
  padding: 0;
  margin: 0;
  position: initial;
}
.mega-list > ul > li::after,
.mega-list > ul > li::before,
.mega-list > ul > li::marker {
  content: none;
}
.mega-menu-link-wrapper {
  position: relative;
}
.mega-menu-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.mega-menu-link-text {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: #000000;
  position: relative;
  padding-bottom: 0.8rem;
  display: block;
}
li.active .mega-menu-link-text,
li:hover .mega-menu-link-text {
  text-shadow: 0 0 #000000;
}
li.active .mega-menu-link-text::after,
li:hover .mega-menu-link-text::after {
  position: absolute;
  content: "";
  bottom: -0.2rem;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: #000000;
  z-index: 2;
}
.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1;
  display: none;
}
.has-mega:hover .mega-menu-dropdown,
.has-mega.focus .mega-menu-dropdown {
  display: block;
}
.mega-menu-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  border-top: 2px solid #D9D9D9;
  padding: 1.7rem 0;
}
.mega-menu-list {
  width: 23.1rem;
  flex-shrink: 0;
  direction: rtl;
}
.mega-menu-list,
.mega-content-wrapper {
  padding: 0 1rem;
  max-height: calc(100vh - 15rem);
  overflow: hidden;
  overflow-y: auto;
}
.mega-menu-list::-webkit-scrollbar,
.mega-content-wrapper::-webkit-scrollbar {
  width: 0.2rem;
}
.mega-menu-list::-webkit-scrollbar-track,
.mega-content-wrapper::-webkit-scrollbar-track {
  background: #E2E2E2;
}
.mega-menu-list::-webkit-scrollbar-thumb,
.mega-content-wrapper::-webkit-scrollbar-thumb {
  background: #7E7E7E;
}
.mega-menu-item {
  border: 0;
  margin: 0;
  background: #fff;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.6rem;
  gap: 1.6rem;
  font-size: 1.4rem;
  line-height: initial;
  color: #000000;
  border-radius: 0.4rem;
  margin-bottom: 0.1rem;
  direction: ltr;
  flex-direction: column;
}
.mega-menu-item:hover,
.mega-menu-item.active {
  background: #fff9c0;
  text-shadow: 0 0 black;
}
.mega-menu-item:hover::after,
.mega-menu-item.active::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: -0.8rem;
  margin: auto;
  height: 2rem;
  width: 2rem;
  background: #fff9c0;
  border-radius: 0.4rem;
  transform: rotate(45deg);
}
.mega-menu-item:last-child {
  margin-bottom: 0;
}
.mega-menu-item-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.mega-menu-item-img {
  height: 12rem;
  background: #fff;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  flex-shrink: 0;
}
.mega-menu-item-img img {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}
.mega-menu-item span {
  display: block;
  position: relative;
  z-index: 1;
}
.mega-content-wrapper {
  flex-grow: 1;
  width: calc(100% - 27.1rem);
}
.mega-content {
  display: none;
}
.mega-content.active {
  display: block;
}
.mega-back {
  display: none;
}
.mega-content-head {
  position: relative;
}
.mega-content-head {
  position: relative;
  margin: 1.6rem 0 3.7rem;
  max-width: max-content;
  font-size: 2.2rem;
  line-height: initial;
  color: #000000;
}
.mega-content-head:has(.mega-content-head-link):hover {
  text-decoration: underline !important;
}
.mega-content-head-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.mega-grid-block {
  display: flex;
  gap: 3.2rem;
  align-items: start;
}
.mega-grid {
  display: grid;
  flex-grow: 1;
  grid-template-columns: repeat(3,1fr);
  gap: 4.8rem 6rem;
}
.mega-grid:has(+ .mega-banner) {
  grid-template-columns: repeat(2,1fr);
}
.mega-banner {
  position: relative;
}
.mega-banner-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.mega-banner img {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
}
.mega-column-title {
  position: relative;
  font-size: 1.4rem;
  line-height: initial;
  color: #000000;
  font-weight: 500;
  margin-bottom: 1rem;
  max-width: max-content;
}
.mega-column-title:has(.mega-column-title-link):hover {
  text-decoration: underline !important;
}
.mega-column-title-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.mega-column-list li {
  padding: 0;
  margin-bottom: 1.2rem;
}
.mega-column-list li:last-child {
  margin-bottom: 0;
}
.mega-column-list li::after,
.mega-column-list li::marker {
  content: none;
}
.mega-column-list li a:hover {
  color: #000000 !important;
  text-shadow: 0 0 #000000;
  text-decoration: underline !important;
}
/* L3: <a> i <span> wyglądają identycznie; underline tylko na <a> hover */
.mega-column-list li a,
.mega-column-list li span {
  color: #000000;
  text-decoration: none;
  font-size: inherit;
  line-height: inherit;
}
/* L2: kursor pointer zawsze (item może otwierać panel lub być linkiem) */
.mega-menu-item {
  cursor: pointer;
}
/* L1: kursor pointer zawsze na pozycji w mega-liście */
.mega-menu-link-wrapper {
  cursor: pointer;
}
.header-mega-head,
.header-mega-mobile,
.mega-menu-list-head {
  display: none;
}

/* ─── Flat mega-menu (tryb dwupoziomowy, $_mmL3Enabled = false w header.php) ─── */

/* Wrapper flat — reset gapów, cała szerokość */
.mega-menu-wrapper--flat {
  gap: 0;
}
.mega-menu-flat {
  display: flex;
  gap: 2.4rem;
  flex: 1;
  align-items: start;
  min-width: 0;
}

/* Wrapper listy — flex child, bez własnego scrollowania */
.mega-menu-list-outer {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Lista w trybie flat — grid kolumnowy ze scrollem pionowym.
   column-count odpada, bo przy nim overflow-y działa w poziomie (nowe kolumny),
   a nie pionowo. CSS Grid skaluje się w dół i poprawnie scrolluje.
   Jeśli scroll nie działa lub elementy są przycinane — sprawdź w DevTools
   rzeczywistą wysokość .mega-menu-item i zaktualizuj wartość 6.7rem poniżej. */
.mega-menu-wrapper--flat .mega-menu-list {
  width: 100%;
  direction: ltr;
  display: grid;
  column-gap: 2.4rem;
  row-gap: 0;
  padding: 0 1rem;
  max-height: calc(100vh - 41rem);
  overflow: hidden;
  overflow-y: auto;
}
.mega-menu-list--cols-1 { grid-template-columns: 1fr; }
.mega-menu-list--cols-2 { grid-template-columns: repeat(2, 1fr); }
.mega-menu-list--cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-menu-list--cols-5 { grid-template-columns: repeat(6, 1fr); }
.mega-menu-wrapper--flat .mega-menu-list::-webkit-scrollbar { width: 0.2rem; }
.mega-menu-wrapper--flat .mega-menu-list::-webkit-scrollbar-track { background: #E2E2E2; }
.mega-menu-wrapper--flat .mega-menu-list::-webkit-scrollbar-thumb { background: #7E7E7E; }

/* Brak strzałki wskazującej panel L3 w trybie flat */
.mega-menu-wrapper--flat .mega-menu-item::after {
  content: none !important;
}

/* Sidebar (opcjonalny, per L1) — nie scrolluje się, wyrównany do góry */
.mega-menu-sidebar {
  flex-shrink: 0;
  width: 20rem;
  align-self: start;
}
.mega-menu-sidebar img {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  display: block;
}
/* mega menu css end here */
@media(min-width:1352px) and (max-width:1439.98px){
  header .sec-hero-slider .owl-nav {
    bottom: 7.2rem;
  }
  header .hero-text {
    padding: 9.6rem 0;
  }
}
@media(min-width:1200px) and (max-width:1351.98px){
  header:has(.header-mega-menu) .header-block {
    padding-bottom: 2.4rem;
  }
  header .header-top-text {
    min-height: 4rem;
    padding: 0.4rem 1.6rem;
    font-size: 1.5rem;
  }
  header .logo img {
    width: 16rem;
  }
  header .menu-list > ul > li {
    margin: 0 0.6rem;
  }
  header .menu-list > ul > li > a {
    font-size: 1.3rem;
  }
  header #new-order-btn,
  header .header-user span {
    font-size: 1.3rem !important;
  }
  .header-search {
    margin: 0 2rem;
  }
  header .translate-dropdown {
    right: -1.5rem;
  }
  .mega-grid {
    gap: 4rem;
  }
  .mega-menu-link-text,
  .mega-menu-item,
  .mega-column-title,
  .mega-column-list a,
  .mega-column-list span {
    font-size: 1.3rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  header:has(.header-mega-menu) .header-block {
    padding-bottom: 2.2rem;
  }
  header .header-top-text {
    min-height: 4rem;
    padding: 0.6rem 1.6rem;
    font-size: 1.4rem;
  }
  header .logo img {
    width: 12rem;
  }
  header .menu {
    margin-left: 2rem;
  }
  header .menu-list > ul > li {
    margin: 0 0.6rem;
  }
  header .menu-list > ul > li > a {
    font-size: 1.2rem;
  }
  header .menu-list > ul > li.hasChild > a {
    padding-right: 1.6rem;
  }
  header .menu-list > ul > li.hasChild > a::after {
    width: 1.4rem;
    height: 1.4rem;
    top: 0.3rem;
  }
  header .header-bookmark {
    margin-left: 1rem;
  }
  header .submenu {
    top: calc(100% + 3.4rem);
  }
  header .large .submenu {
    left: -13.2rem;
  }
  header .small .submenu {
    min-width: 24rem;
    top: calc(100% + 2.4rem);
  }
  header .translate-dropdown {
    top: calc(100% + 3rem);
    right: -1.5rem;
  }
  header .submenu::before {
    top: -4rem;
  }
  header .logo {
    max-width: 12rem;
    height: auto;
  }
  header .header-right .icon-left span {
    display: none;
  }
  .nav-item a.icon-left img {
    margin-right: 0;
  }
  html[lang="fr"] header .menu-list > ul > li.hasChild > a {
    padding-right: 1.8rem;
  }
  html[lang="fr"] header .menu-list > ul > li.hasChild > a::after {
    width: 1.6rem;
    height: 1.6rem;
  }
  html[lang="fr"] header .menu-list > ul > li > a,
  html[lang="fr"] header #new-order-btn,
  html[lang="fr"] header .logout-link > a{
    font-size: 1.3rem;
  }
  header #new-order-btn {
    font-size: 1.2rem;
  }
  header .logout-link > a,
  header .header-user span,
  header #new-order-btn {
    font-size: 1.2rem !important;
  }
  .header-search {
    margin: 0 1.2rem;
  }
  header .header-right {
    flex-wrap: nowrap;
  }
  .mega-menu-link-text {
    font-size: 1.2rem;
  }
  .mega-grid {
    gap: 2.4rem 3rem
  }
  .mega-column-title {
    font-size: 1.2rem;
  }
  .mega-grid-block {
    gap: 1.6rem;
  }
  .mega-column-list a,
  .mega-column-list span {
    font-size: 1.2rem;
    line-height: 1.6rem;
    display: block;
  }
}
@media(max-width:991.98px){
  body.open-menu{
    overflow: hidden;
  }
  header .header-top-text {
    min-height: 4rem;
    padding: 0.6rem 1.6rem;
    font-size: 1.4rem;
  }
  header .header-block {
    padding: 1.6rem 0;
    position: initial;
  }
  header:has(.header-mega-menu) .header-block {
    padding-bottom: 1.6rem;
  }
  .header-mega-menu {
    position: relative;
  }
  header .logo img {
    width: 12.7rem;
  }
  header .header-item {
    width: 2.4rem;
    height: 2.4rem;
  }
  header .header-bookmark {
    margin-left: 1.2rem;
  }
  header .header-user span {
    display: none;
  }
  header .header-cart {
    margin-left: 1.2rem;
  }
  header .header-cart-text {
    height: 1.6rem;
    width: 1.6rem;
    font-size: 0.9rem;
    line-height: 1.2;
  }
  header .header-item img {
    width: 2.2rem;
    height: auto;
    max-width: initial;
    max-height: initial;
  }
  header .toggleMenu{
    display: flex;
  }
  header .translate-dropdown {
    top: calc(100% + 1.6rem);
  }
  header .menu {
    border-right: 0;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    z-index: 3;
    background: #fff;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
  }
  body.open-menu header .menu{
    right: 0;
  }
  header .mobile-menu-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3.2rem 2.4rem;
  }
  header .mobile-menu-header::after{
    position: absolute;
    content: "";
    left: 2.4rem;
    bottom: 0;
    height: 0.1rem;
    width: calc(100% - 4.8rem);
    background: #D9D9D9;
  }
  header .mobile-menu-logo{
    display: block;
  }
  header .mobile-menu-logo img{
    width: 12.7rem;
    height: auto;
  }
  #closeMenu{
    cursor: pointer;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
  }
  header #closeMenu img{
    width: 3.2rem;
    height: 3.2rem;
  }
  header .menu-list {
    height: calc(100vh - 9.6rem);
    padding: 3.2rem 2.4rem 4.8rem;
    overflow: hidden;
    overflow-y: auto;
  }
  header .menu-list > ul {
    display: block;
  }
  header .menu-list > ul > li {
    margin: 0 0 3.2rem;
  }
  header .menu-list > ul > li > a {
    font-size: 1.6rem;
    line-height: 2rem;
  }
  header .menu-list > ul > li.hasChild > a{
    padding-right: 2.4rem;
  }
  header .menu-list > ul > li.hasChild > a::after{
    content: none;
  }
  header .menu-list > ul > li.large {
    position: relative;
  }
  header .open-submenu {
    display: flex;
    cursor: pointer;
  }
  header .submenu,
  header .sub-submenu{
    position: fixed;
    width: 100%;
    left: auto !important;
    right: -100% !important;
    min-width: 100% !important;
    top: 9.6rem !important;
    height: calc(100vh - 9.6rem);
    overflow: hidden;
    overflow-y: auto;
    background: #fff;
    padding: 3.2rem 2.4rem 6.4rem !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: initial !important;
    display: flex !important;
    flex-direction: column;
    z-index: 2;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
  }
  header .submenu.submenu-open,
  header .sub-submenu.subsubmenu-open{
    right: 0 !important;
  }
  header .submenu-product{
    display: none !important;
  }
  header .submenu-inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  header .submenu-list li,
  header .small .submenu li {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0 0 3.2rem;
  }
  header .sub-submenu .submenu-list li {
    padding-left: 0;
  }
  header .submenu-list {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    margin: 0 auto;
  }
  header .submenu-list::after{
    content: none !important;
  }
  .submenu-list ul {
    max-height: initial !important;
    overflow: initial !important;
  }
  header .submenu-list li a,
  header .small .submenu li a {
    padding: 0;
    border-radius: 0;
    max-width: 100%;
  }
  header .submenu-list li:hover > a,
  header .submenu-list li.active > a,
  header .small .submenu li.active a,
  header .small .submenu li:hover a {
    background: transparent;
  }
  header .submenu-list li.has-subChild > a::after{
    content: none;
  }
  header .submenu-list-btn {
    margin-top: 3.2rem;
    padding: 0;
  }
  header .submenu-list-btn .btn{
    max-width: 100%;
  }
  header .submenu-back {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto 3.2rem;
    cursor: pointer;
    width: 100%;
    color: #A2A2A2;
    font-size: 1.2rem;
    line-height: 1;
    text-transform: uppercase;
  }
  header .submenu-back img{
    margin-right: 0.8rem;
  }
  header .menu-list,
  header .mobile-menu-header{
    margin: 0 auto;
    max-width: 720px;
  }
  header .hasChild.small ul{
    margin: 0 auto;
    width: 100%;
  }
  header .submenu-back,
  header .hasChild.small ul,
  header .submenu-list{
    max-width: 67.2rem;
  }
  header .submenu::before{
    content: none;
  }
  header .open-submenu {
    width: 100% !important;
    justify-content: end !important;
  }
  /* mega menu css start here */
  .header-block .header-search-input {
    display: none;
  }
  .header-mega-mobile {
    display: flex;
    border-top: 1px solid #000;
    padding: 1.3rem 0;
    gap: 1.2rem;
  }
  .header-search {
    margin: 0;
  }
  #btn-open-mega-menu {
    border: 1px solid #242424;
    background: #242424;
    color: #fff;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.6rem;
    border-radius: 0.4rem;
    flex-shrink: 0;
  }
  .mega-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    background: #fff;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
  }
  body.show-product {
    overflow: hidden;
  }
  body.show-product .mega-menu {
    left: 0;
  }
  .header-mega-head {
    display: flex;
    border-bottom: 1px solid rgba(35,35,35,0.1);
    height: 6.4rem;
    align-items: center;
    padding: 0 1.5rem;
    justify-content: space-between;
    color: #000;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 auto;
    max-width: 69rem;
  }
  #close-mega-menu {
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mega-list > ul {
    display: block;
  }
  .mega-list > ul > li {
    margin: 0 auto 3.2rem;
    max-width: 69rem;
  }
  li.active .mega-menu-link-text::after,
  li:hover .mega-menu-link-text::after {
    content: none;
  }
  .mega-list {
    height: calc(100vh - 6.4rem);
    height: calc(100dvh - 6.4rem);
    overflow: hidden;
    overflow-y: auto;
    padding: 3.2rem 0;
  }
  .mega-menu-link-text {
    padding: 0 1.5rem;
    font-size: 1.6rem;
    line-height: 2.4rem;
    width: 100%;
  }
  .mega-menu-link-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .has-mega .mega-menu-link-wrapper::after,
  .has-mega-list::before {
    position: absolute;
    content: "";
    right: 1rem;
    width: 1.6rem;
    height: 1.6rem;
    background: url(/Tedgifted/images/icon-menu-arrow.svg);
    background-position: center;
    background-size: cover;
  }
  .mega-menu-dropdown,
  .mega-content-wrapper {
    visibility: hidden;
    position: fixed;
    top: 6.4rem;
    left: auto;
    width: 100%;
    right: -100%;
    height: calc(100vh - 6.4rem);
    height: calc(100dvh - 6.4rem);
    background: #fff;
    z-index: 3;
    display: block;
    overflow: hidden;
    overflow-y: auto;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
  }
  .has-mega.open .mega-menu-dropdown,
  .mega-menu-wrapper.open .mega-content-wrapper {
    visibility: visible;
    right: 0;
  }
  .mega-menu-wrapper {
    display: block;
    border-top: 0;
    padding: 3.2rem 0;
  }
  .mega-menu-list {
    width: 100%;
  }
  .mega-menu-list{
    padding: 0;
    max-height: initial;
    overflow: hidden;
    overflow-y: auto;
  }
  .mega-menu-item:hover::after,
  .mega-menu-item.active::after {
    content: none;
  }
  .mega-menu-item {
    background: transparent !important;
    margin-bottom: 3.2rem;
    padding: 0;
    font-size: 1.6rem;
    line-height: 2rem;
  }
  .mega-menu-item:hover,
  .mega-menu-item.active {
    text-shadow: none;
  }
  .mega-menu-item br {
    display: none;
  }
  .mega-menu-list-head,
  .mega-back {
    display: flex;
    align-items: center;
    color: #A2A2A2;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 3.2rem;
    gap: 0.8rem;
  }
  .mega-content-wrapper {
    padding: 0;
    max-height: initial;
    padding: 3.2rem 1.5rem;
  }
  .mega-menu-item-img {
    display: none;
  }
  .mega-content {
    margin: 0 auto;
    max-width: 69rem;
  }
  .mega-banner {
    display: none;
  }
  .mega-grid-block {
    display: block;
  }
  .mega-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 3.2rem 0;
  }
  .mega-content-head {
    margin: 1.6rem 0 3rem;
  }
  .mega-column-title {
    font-size: 1.6rem;
    line-height: 2rem;
    margin-bottom: 1.4rem;
  }
  .mega-column-list a,
  .mega-column-list span {
    font-size: 1.4rem;
    line-height: 2rem;
  }
  li.active .mega-menu-link-text,
  li:hover .mega-menu-link-text {
    text-shadow: none;
  }

  /* flat mega-menu — mobile overrides */
  .mega-menu-flat {
    display: block;
  }
  .mega-menu-list-outer {
    overflow: visible;
  }
  .mega-menu-sidebar {
    display: none;
  }
  .mega-menu-wrapper--flat .mega-menu-list {
    grid-template-columns: 1fr !important;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  /* mega menu css end here */
}
@media(max-width:767.98px){
  header .mobile-menu-header,
  header .menu-list {
    max-width: 540px;
  }
  header .submenu-back,
  header .submenu-list,
  header .hasChild.small ul{
    max-width: 49.2rem;
  }
  header .header-right {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  header .header-top-text {
    min-height: 4rem;
    padding: 0.5rem 1.6rem 0.5rem 0;
    display: inline-flex;
    font-size: 1.2rem;
    line-height: 125%;
    flex-wrap: wrap;
  }
  header #headerTopClose {
    width: 2.4rem;
    height: 2.4rem;
    right: 1rem;
  }
  .header-user {
    gap: 7px !important;
  }
  .nav-item{
    margin-right: 0 !important;
  }
  .nav-item span{
    font-size: 13px;
  }
  .nav-item a.icon-left img{
    margin-right: 7px;
  }
  .nav-item a.icon-left span{
    display: none;
  }
  header #new-order-btn {
    font-size: 1.6rem;
    padding: 14px 10px;
    display: none !important;
  }
  header .btn.ask-for-product {
    display: none !important;
  }
  .logout-link {
    display: none;
    font-size: 1.3rem;
  }
  header .header-translate {
    margin-left: 1rem;
  }
  header .menu-list > ul > li:last-child{
    margin-bottom: 0;
  }
  .menu-link-mobile {
    display: flex;
    margin-top: 0;
    flex-direction: column-reverse;
  }
  .menu-link-mobile .nav-item {
    margin: 3.2rem 0 0 !important;
  }
  .menu-link-mobile #new-order-btn {
    display: flex !important;
  }
  .menu-link-mobile .btn.ask-for-product {
    display: flex !important;
    width: 100%;
    margin-bottom: -2rem;
  }
  .menu-link-mobile .logout-link {
    font-size: 1.6rem;
    margin-top: 3.2rem;
    display: block;
  }
  .header-mega-head,
  .mega-list > ul > li,
  .mega-content {
    max-width: 51rem;
  }
  .nav-item a.icon-left img {
    margin-right: 0 !important;
  }
}