/* Nav Style */
html, body {
    height: auto;
    background-color: transparent;
    /* overflow-x: hidden;
    overflow-y: auto; */
    scroll-behavior: auto !important;
}


::after,

::before {

  box-sizing: border-box;

}



@font-face {

  font-family: "Tajawal-Bold";

  src: url(../../ar/assets/css/Tajawal.ttf);

  font-weight: 500;

}



:root {

  --primary-color: #5a2b88;

  --secondary-color: #3d3b3a;

  --safe-bottom: env(safe-area-inset-bottom);

  --safe-top: env(safe-area-inset-top);

  --safe-left: env(safe-area-inset-left);

  --safe-right: env(safe-area-inset-right);

  --Ios-safe-space: 0;

  --nav-width: 80px;

}




body {

  margin: 0;

  font-family: "Tajawal-Bold", sans-serif !important;

  -webkit-text-size-adjust: 100%;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  font-size: 14px;

  font-style: normal;

  line-height: 1.625;

  letter-spacing: 0.4px;

  visibility: visible;

  min-height: 100%;

  height: auto;

}



.d-grid {

  display: grid !important;

}



a {

  color: #000;

  text-decoration: underline;

  -webkit-transition: all 0.3s ease 0s;

  transition: all 0.3s ease 0s;

  text-decoration: none;

  background-color: transparent;

  border: 0;

  cursor: pointer;

}

.nav-wrapper {
    position: fixed;
    inset: auto 0 0 0;
    top: auto;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 16;
    height: var(--nav-width);
    width: 100%;
    background-color: transparent !important;
}



.ec-nav-toolbar {
    pointer-events: auto;
    box-shadow: none !important;
    height: var(--nav-width) !important;
    padding: 0px 0px 0px 0px;
    background-color: transparent !important;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    overflow-y: hidden;
}


.ec-nav-toolbar .container {

  background-color: #fff;

  box-shadow: 0 0 5px rgb(61 61 61 / 20%);

  overflow: hidden;

}



/* Ios Style only */

/* @supports (-webkit-touch-callout: none) {

  .nav-wrapper.ismob {

    height: calc(100dvh - env(safe-area-inset-bottom)) !important;

  }

  .ismob .safe-bottom {

    position: fixed;

    bottom: 0;

    height: env(safe-area-inset-bottom);

    width: 100%;

    background-color: #fff;

    z-index: 17;

  }

  .ismob .ec-nav-toolbar .container {

    padding-bottom: env(safe-area-inset-bottom) !important;

  }

} */



.ec-nav-panel {

  direction: ltr;

}

html[dir="ltr"] .ec-nav-panel {

  direction: rtl;

}



.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a {

  color: #000 !important;
padding: 5px 0;
  font-weight: 600 !important;

}



@media (max-width: 645px) {

  .ec-header-btn {

    top: 0px !important;

  }

}



.ec-cart-noti {

  width: 16px;

  height: 16px;

  position: absolute;

  top: -10px !important;

  right: -6px;

  border-radius: 30px;

  line-height: 15px;

  font-size: 12px;

  background-color: var(--primary-color, #5a2b88);

  color: #fff;

  display: flex;

  padding-top: 4px;

  align-items: center;

  justify-content: center;

  z-index: 18;

}



.focus1 .ec-cart-noti {

  color: #fff;

}



.ec-nav-toolbar .ec-nav-panel .focus1 a .ec-cart-noti {

  top: 2px !important;

  right: 4px;

}



.ec-nav-toolbar .ec-nav-panel {

  width: 100%;

  height: 100%;

  display: -webkit-inline-box;

  display: -ms-inline-flexbox;

  display: inline-flex;

  -webkit-box-pack: justify;

  -ms-flex-pack: justify;

  justify-content: space-between;

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;

}

.header_svg_placeholder {
    width: 25px;
    height: 25px;
    display: block;
}

.header_svg_wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 25px;
    height: 25px;
    z-index: 15;
}


.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a {

  position: relative;

}



@media (max-width: 768px) {

  .ec-header-user .dropdown-menu {

    left: 60px !important;

    top: -12px !important;

  }



  .kk-menu {

    border-bottom: 1px solid #eeeeee;

  }



  .ffm {

    margin-top: -60px;

  }



  .nn {

    right: -4px !important;

  }



  input,

  textarea {

    caret-color: black;

    color: black !important;

    font-weight: bold;

  }

}



/* .ec-nav-toolbar .focus1 .ec-cart-noti {

  background: transparent !important;

  color: #fff;

} */



/* .focus1 .ec-cart-noti {

  top: 2px !important;

  right: -6px !important;

} */



.focus1 {

  height: 60px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-top: 0;

}



.btn-primary:active:focus,

button:focus:not(:focus-visible) {

  box-shadow: none !important;

}



div#ec_news_signup #ec-news-btn:hover {

  background-color: #3a4b5c !important;

}



.focus1 .header_svg {

  fill: #fff;

  z-index: 16;

  /* background: var(--primary-color); */

  /* border-radius: 50%; */

  /* padding: 8px; */

  /* width: 40px;

  height: 40px;

  top: 0;

  left: 50%;

  transform: translate(-50%, -50%); */

}



.focus1 .header_svg_wrapper {

  background-color: var(--primary-color, #5a2b88);

  border-radius: 50%;

  width: 40px;

  height: 40px;

  display: flex;

  justify-content: center;

  align-items: center;

  transform: translate(-50%, -10px);

}



.header_svg {

  position: absolute;

  width: 25px;

  height: 25px;

}

/* .focus1 .cls-1 {

  fill: var(--primary-color);

} */



body {

  -webkit-touch-callout: none;

  -webkit-user-select: none;

  user-select: none;

}



.dropdown-item:hover,

.dropdown-item:focus,

.dropdown-item:active,

.dropdown-item.active {

  color: var(--primary-color, #5a2b88) !important;

  background-color: transparent !important;

}



.dropdown-item:disabled {

  color: #6c757d !important;

  pointer-events: none;

  background-color: transparent;

}



.dropdown-item.disabled {

  color: var(--primary-color, #5a2b88) !important;

  pointer-events: none;

}




.ec-footer {
  color: #202020;
}

.ec-footer .footer-top {
  background: #f9f9f9;
  border-top: 1px solid #eeeeee;
  padding: 40px 0;
}

.footer-bottom {
  padding: 15px 0;
  background-color: #fff;
  border-top: 1px solid #eeeeee;
}

.ec-footer-logo {
  margin-bottom: 12px;
}

.ec-footer-logo img {
  width: 130px;
}

.ec-footer .footer-top .ec-footer-contact .ec-footer-widget .ec-footer-heading {
  display: none;
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid transparent;
}

.ec-footer .footer-top .ec-footer-contact ul {
  width: 245px;
}

.ec-footer
  .footer-top
  .ec-footer-contact
  .ec-footer-widget
  .ec-footer-links
  .ec-footer-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 29px auto;
  line-height: 1.3;
  border: 0;
  padding: 0;
  font-weight: 400;
  color: #202020;
  letter-spacing: 0.3px;
  font-size: 13px;
}

.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link span {
  color: #202020;
  font-weight: 700;
  padding-right: 6px;
  margin-right: 15px;
}

.ec-footer .footer-top .ec-footer-contact .call-img svg {
  width: 40px;
  height: 40px;
}

.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link span {
  color: #202020;
  font-weight: 700;
  padding-right: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.ec-footer .footer-top .ec-footer-contact .ec-footer-widget .call-desc span {
  font-size: 12px;
  max-width: 100%;
  letter-spacing: 0.2px;
  margin-bottom: 5px;
}

.ec-footer
  .footer-top
  .ec-footer-widget
  .ec-footer-links
  .ec-footer-link
  .call-desc
  a {
  font-size: 14px;
  color: #202020;
  letter-spacing: 0.3px;
  line-height: 22px;
  padding: 0;
  margin-bottom: 0;
  display: inline-block;
  position: relative;
  transition: all 300ms linear;
  word-break: break-all;
  font-weight: 500;
  text-transform: capitalize;
}

.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link a {
  font-size: 14px;
  line-height: 22px;
  padding: 0;
  color: #202020;
  margin-bottom: 0;
  display: inline-block;
  position: relative;
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
  word-break: break-all;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0;
}

.ec-footer .footer-top .ec-footer-contact .call-img svg {
  fill: var(--primary-color, #5a2b88);
  background: #ffffff;
}

.ec-footer .footer-top .ec-footer-widget .ec-footer-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 26px;
  color: #202020;
  letter-spacing: 0;
  position: relative;
  display: block;
  width: 100%;
  margin-top: 19px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eeeeee;
  font-family: "Tajawal-Bold", sans-serif !important;
}

.ec-footer
  .footer-top
  .ec-footer-widget
  .ec-footer-links
  .ec-footer-link:not(:last-child) {
  margin-bottom: 12px;
}

.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link {
  display: block;
  margin: 0;
  line-height: 1.3;
  border: 0;
  padding: 0;
  font-weight: 400;
  color: #202020;
  letter-spacing: 0.3px;
}

.ec-footer .footer-top .ec-footer-news .ec-share ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 15px;
}

.ec-footer .footer-top .ec-footer-news .ec-share ul li:not(:last-child) {
  margin-right: 30px;
}
html[dir="rtl"]
  .ec-footer
  .footer-top
  .ec-footer-news
  .ec-share
  ul
  li:not(:last-child) {
  margin-left: 30px;
}

.ec-footer .footer-top .ec-footer-news .ec-share ul .ec-share-link img {
  border-radius: 30px;
}

.ec-footer-social ul li a {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #202020;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 16px;
}

.ec-footer-social ul li.list-inline-item:not(:last-child) {
  margin-right: 15px;
}
html[dir="rtl"] .ec-footer-social ul li.list-inline-item:not(:last-child) {
  margin-left: 15px;
}

.ec-footer-social .footer-social-heading,
.ec-footer-social .footer-social-subheading,
.ec-footer-social .footer-social-name {
  display: none;
}

/* Mobile + tablet footer redesign */
@media (max-width: 991px) {
  .ec-footer,
  .ec-footer * {
    box-sizing: border-box;
  }

  .ec-footer {
    background:
      radial-gradient(680px 220px at 90% 0, rgba(90, 43, 136, 0.1), transparent 62%),
      linear-gradient(180deg, #f8f5fc 0%, #f3eef9 100%);
  }

  .ec-footer .footer-top {
    background: transparent;
    border-top: 0;
    padding: 22px 0 16px;
  }

  .ec-footer .footer-top .container {
    width: auto;
    max-width: calc(100% - 32px);
    margin: 0 16px;
    padding: 20px 14px 16px;
    border-radius: 22px;
    border: 1px solid rgba(90, 43, 136, 0.14);
    background: linear-gradient(145deg, #ffffff 0%, #f8f3fe 100%);
    box-shadow:
      0 14px 28px rgba(17, 24, 39, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
  }

  .ec-footer .footer-top .container > .row {
    margin-left: 0;
    margin-right: 0;
    row-gap: 14px;
  }

  .ec-footer .footer-top .col-sm-12 {
    padding-left: 6px;
    padding-right: 6px;
  }

  .ec-footer .footer-top .ec-footer-contact .ec-footer-widget,
  .ec-footer .footer-top .ec-footer-account .ec-footer-widget,
  .ec-footer .footer-top .ec-footer-service .ec-footer-widget {
    border-radius: 16px;
    border: 1px solid rgba(90, 43, 136, 0.1);
    background: rgba(255, 255, 255, 0.78);
    padding: 14px 12px;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
  }

  .ec-footer .footer-top .ec-footer-contact .ec-footer-widget {
    background: linear-gradient(155deg, #ffffff 0%, #f2e9fc 100%);
  }

  .ec-footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
  }

  .ec-footer-logo img {
    width: 154px;
    filter: drop-shadow(0 8px 16px rgba(90, 43, 136, 0.16));
  }

  .ec-footer .footer-top .ec-footer-contact ul {
    width: 100%;
  }

  .ec-footer .footer-top .ec-footer-contact .ec-footer-widget .ec-footer-links .ec-footer-link {
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(90, 43, 136, 0.12);
    background: #ffffff;
    gap: 10px;
  }

  .ec-footer .footer-top .ec-footer-contact .call-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(90, 43, 136, 0.12), rgba(90, 43, 136, 0.05));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
  }

  .ec-footer .footer-top .ec-footer-contact .call-img .foo_img {
    width: 22px;
    height: 22px;
  }

  .ec-footer .footer-top .ec-footer-contact .ec-footer-widget .call-desc span {
    margin: 0;
    font-size: 13px;
    color: #3c3350;
  }

  .ec-footer .footer-top .ec-footer-contact .ec-footer-widget .call-desc span + span {
    margin-top: 4px;
  }

  .ec-footer-social {
    margin-top: 12px;
    padding: 8px 0 2px;
    border-top: 1px dashed rgba(90, 43, 136, 0.2);
  }

  .ec-footer-social .footer-social-list,
  .ec-footer-social .ec-footer-links ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .ec-footer-social .footer-social-list li.list-inline-item,
  .ec-footer-social .ec-footer-links ul li.list-inline-item {
    margin: 0 !important;
  }

  .ec-footer-social .footer-social-link,
  .ec-footer-social .ec-footer-links ul li a {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(90, 43, 136, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f1e9fb 100%);
    box-shadow: 0 8px 14px rgba(90, 43, 136, 0.14);
    color: #3d2f52;
  }

  .ec-footer-social .footer-social-link i,
  .ec-footer-social .ec-footer-links ul li a i {
    font-size: 18px;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(90, 43, 136, 0.1);
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: 0;
    color: #2f2243;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link {
    padding: 10px 0;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link:not(:last-child) {
    border-bottom: 1px dashed rgba(90, 43, 136, 0.14);
    margin-bottom: 0;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link a {
    font-size: 15px;
    line-height: 1.5;
    color: #3a2d4f;
    font-weight: 600;
    word-break: normal;
  }

  .footer-bottom {
    background: transparent;
    border-top: 0;
    padding: 6px 0 24px;
  }

  .footer-bottom .container {
    margin: 0 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(90, 43, 136, 0.14);
  }

  .footer-bottom .row {
    row-gap: 8px;
  }

  .footer-copy {
    width: 100%;
  }

  .footer-copy .ec-copy {
    color: #5a4f70;
    font-size: 12px;
    text-align: center;
  }

  .footer-bottom-right {
    display: none;
  }

  @media (max-width: 768px) {
    .footer-bottom {
      padding-bottom: calc(var(--footer-nav-height) + 20px);
    }
  }
}

.ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link .call-desc a {
  white-space: nowrap;
}

/* Desktop-only footer redesign */
@media (min-width: 992px) {
  .ec-footer {
    background:
      radial-gradient(1200px 340px at 8% 0, rgba(90, 43, 136, 0.06), transparent 55%),
      #ffffff;
  }

  .ec-footer .footer-top {
    padding: 50px 0 28px;
    background: transparent;
    border-top: 0;
  }

  .ec-footer .footer-top .container {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(90, 43, 136, 0.16);
    background: linear-gradient(145deg, #ffffff 0%, #f7f2fd 100%);
    box-shadow:
      0 18px 38px rgba(17, 24, 39, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
    padding: 34px 0px;
  }

  .ec-footer .footer-top .container::before {
    content: "";
    position: absolute;
    inset: -35% auto auto -10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 43, 136, 0.11) 0%, rgba(90, 43, 136, 0) 72%);
    pointer-events: none;
  }

  .ec-footer .footer-top .container > .row {
    position: relative;
    z-index: 1;
    row-gap: 18px;
  }

  .ec-footer-logo img {
    width: 142px;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading {
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 17px;
    color: #2f2243;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link a {
    color: #392a4c;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link a:hover {
    color: var(--primary-color, #5a2b88);
    transform: translateX(-4px);
  }

  html[dir="ltr"] .ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link a:hover {
    transform: translateX(4px);
  }

  .ec-footer-social {
    margin-top: 24px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(90, 43, 136, 0.14);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(241, 233, 251, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .ec-footer-social .footer-social-heading {
    display: block !important;
    margin-bottom: 6px !important;
  }

  .ec-footer-social .footer-social-subheading {
    display: block;
    margin: 0 0 14px;
    color: #6a6080;
    font-size: 13px;
    font-weight: 500;
  }

  .ec-footer-social .footer-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .ec-footer-social .footer-social-list li.list-inline-item {
    margin: 0 !important;
  }

  .ec-footer-social .footer-social-link {
    min-width: 144px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(90, 43, 136, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f3ebfc 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    color: #322346;
    font-weight: 700;
    letter-spacing: 0.1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .ec-footer-social .footer-social-link i {
    color: var(--primary-color, #5a2b88);
    font-size: 17px;
  }

  .ec-footer-social .footer-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(90, 43, 136, 0.34);
    box-shadow: 0 10px 18px rgba(90, 43, 136, 0.18);
  }

  .ec-footer-social .footer-social-name {
    display: inline-block;
    color: inherit;
    font-size: 13px;
    line-height: 1;
  }

  .footer-bottom {
    background: transparent;
    border-top: 0;
    padding-top: 8px;
    padding-bottom: 20px;
  }

.footer-bottom .container {
    border-top: 1px solid rgba(90, 43, 136, 0.15);
    padding-top: 14px;
  }
}

/* Mobile footer fail-safe:
   keep footer section data visible even if accordion JS does not initialize. */
@media (max-width: 991px) {
  .ec-footer .footer-top .ec-footer-widget .ec-footer-links {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    padding-top: 0 !important;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-links .ec-footer-link {
    display: block !important;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading::before,
  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading::after {
    content: none !important;
    display: none !important;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading {
    background-image: none !important;
  }

  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading i,
  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading .ecicon,
  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading [class*="eci-"],
  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading svg,
  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading .arrow,
  .ec-footer .footer-top .ec-footer-widget .ec-footer-heading .toggle-icon {
    display: none !important;
  }
}

/* =========================================================
   MODERN FOOTER NAV (mobile bottom bar)
   ========================================================= */
:root {
  --footer-nav-height: 80px;
  --footer-nav-radius: 18px;
  --nav-width: calc(var(--footer-nav-height) + env(safe-area-inset-bottom));
}





.ec-nav-toolbar .container {
  width: min(860px, calc(100% - 4px));
  max-width: none;
  margin-inline: auto;
  padding: 0 4px 2px;
  border-radius: var(--footer-nav-radius);
  border: 1px solid rgba(90, 43, 136, 0.15);
  background: linear-gradient(155deg, #ffffff 0%, #f4eefb 100%);
  box-shadow:
    0 10px 24px rgba(17, 24, 39, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: visible;
}

.ec-nav-toolbar .ec-nav-panel {
  gap: 3px;
  padding: 0 2px 1px;
}

.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a:hover {
    transform: none;
    background: rgba(90, 43, 136, 0.08);
    color: var(--primary-color, #5a2b88) !important;
  }
}

.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a:active,
.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a:focus {
  transform: none !important;
}

.ec-nav-toolbar .ec-nav-panel .focus1 a {
  background: linear-gradient(135deg, rgba(90, 43, 136, 0.2), rgba(90, 43, 136, 0.08));
  color: var(--primary-color, #5a2b88) !important;
  box-shadow: 0 6px 14px rgba(90, 43, 136, 0.18);
}

.ec-nav-toolbar .ec-nav-panel .focus1 {
  height: auto;
}

.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons,
.ec-nav-toolbar .ec-nav-panel .focus1 {
  min-height: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-nav-toolbar .header_svg_wrapper {
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  background: rgba(90, 43, 136, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.header_svg {
    position: absolute;
    width: 25px;
    height: 25px;
}

.ec-nav-toolbar .focus1 .header_svg_wrapper {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--primary-color, #5a2b88), #7d54b6);
  box-shadow: 0 6px 12px rgba(90, 43, 136, 0.28);
}

.ec-nav-toolbar .focus1 .header_svg {
  fill: #fff;
  filter: brightness(0) invert(1);
}

.ec-nav-toolbar .global-nav__primary-link-text {
  font-size: 11px !important;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap !important;
  direction: inherit;
  display: block;
  text-align: center;
}


.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a .header_svg_wrapper .ec-cart-noti {
  top: -6px !important;
  right: -6px;
  left: auto;
  transform: none !important;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 9px;
  padding-top: 0;
  background-color: var(--primary-color, #5a2b88) !important;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(90, 43, 136, 0.28);
}

@media (max-width: 576px) {
  :root {
    --footer-nav-height: 80px;
    --footer-nav-radius: 16px;
    --nav-width: calc(var(--footer-nav-height) + env(safe-area-inset-bottom));
  }



  .ec-nav-toolbar .ec-nav-panel {
    gap: 2px;
    padding: 0 2px 1px;
  }
}

@media (max-width: 390px) {
  :root {
    --footer-nav-height: 80px;
  }
}

/* =========================================================
   FLUID NAV OVERRIDES (responsive without fixed px)
   ========================================================= */
:root {
  --footer-nav-height: 80px;
  --footer-nav-radius: clamp(1rem, 3.4vw, 1.15rem);
  --nav-width: calc(var(--footer-nav-height) + env(safe-area-inset-bottom));
}





.ec-nav-toolbar .container {
  width: min(96%, 54rem);
  padding: 0 1% 0.12rem;
  border-radius: var(--footer-nav-radius);
}


.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a .header_svg_wrapper .ec-cart-noti {
  top: -0.3rem !important;
  right: -0.3rem;
  min-width: clamp(0.86rem, 2.8vw, 1rem);
  height: clamp(0.86rem, 2.8vw, 1rem);
  line-height: clamp(0.86rem, 2.8vw, 1rem);
  font-size: clamp(0.5rem, 1.7vw, 0.56rem);
  border: 0.11rem solid #fff;
}

@media (max-width: 36em) {
  :root {
    --footer-nav-height:80px;
    --footer-nav-radius: clamp(0.92rem, 4.1vw, 1.06rem);
  }
}

@media (max-width: 24.375em) {
  :root {
    --footer-nav-height:80px;
  }
}

/* Full-width footer nav pinned flush to bottom */



.ec-nav-toolbar .container {
  width: 100% !important;
  max-width: 100% !important;
  height: 70px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.nav-wrapper .safe-bottom {
  display: none !important;
  height: 0 !important;
}

/* Final mobile nav stability + interactive open states */
@media (max-width: 61.9375em) {
  :root {
    --mobile-nav-core-height: clamp(80px, 11.8vw, 76px);
    --mobile-nav-safe-bottom: env(safe-area-inset-bottom);
    --mobile-nav-total-height: calc(var(--mobile-nav-core-height) + var(--mobile-nav-safe-bottom));
  }

  .nav-wrapper,
  .ec-nav-toolbar,
  .ec-nav-toolbar .container {
    height: var(--mobile-nav-total-height) !important;
  }
 

  .ec-nav-toolbar .container {
    padding: 0 max(4px, env(safe-area-inset-left)) max(2px, var(--mobile-nav-safe-bottom))
      max(4px, env(safe-area-inset-right)) !important;
    display: flex !important;
    align-items: flex-end !important;
  }

  .ec-nav-toolbar .ec-nav-panel {
    min-height: calc(var(--mobile-nav-core-height) - 4px);
    padding: 0 1px !important;
    gap: 0 !important;
  }

  html[dir="rtl"] .ec-nav-toolbar .global-nav__primary-link-text {
    direction: rtl;
  }

  html[dir="ltr"] .ec-nav-toolbar .global-nav__primary-link-text {
    direction: ltr;
  }

  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons.nav-open a,
  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a[href="#ec-side-cart"]:active,
  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a[href="#ec-mobile-menu"]:active {
    background: linear-gradient(135deg, rgba(90, 43, 136, 0.2), rgba(90, 43, 136, 0.08));
    color: var(--primary-color, #5a2b88) !important;
    box-shadow: 0 6px 14px rgba(90, 43, 136, 0.18);
  }

  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons.nav-open .header_svg_wrapper,
  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a[href="#ec-side-cart"]:active .header_svg_wrapper,
  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a[href="#ec-mobile-menu"]:active .header_svg_wrapper {
    background: linear-gradient(145deg, var(--primary-color, #5a2b88), #7d54b6) !important;
    box-shadow: 0 6px 12px rgba(90, 43, 136, 0.28);
  }

  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons.nav-open .header_svg,
  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a[href="#ec-side-cart"]:active .header_svg,
  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons a[href="#ec-mobile-menu"]:active .header_svg {
    fill: #fff !important;
    filter: brightness(0) invert(1);
  }

  .ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons.nav-open .ec-cart-noti {
    background-color: var(--primary-color, #5a2b88) !important;
    color: #fff !important;
  }
}

/* Active nav highlight only */
.ec-nav-toolbar .ec-nav-panel .focus1 a {
  background: linear-gradient(165deg, #eee5fb 0%, #e3d5f8 100%) !important;
  color: #5a2b88 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(90, 43, 136, 0.14) !important;
}

.ec-nav-toolbar .ec-nav-panel .focus1 .header_svg_wrapper {
  background: linear-gradient(145deg, #6942a3 0%, #56318b 100%) !important;
  box-shadow:
    0 6px 12px rgba(90, 43, 136, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.ec-nav-toolbar .ec-nav-panel .focus1 a .global-nav__primary-link-text {
  color: #5a2b88 !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Non-focused icon background: card shape */
.ec-nav-toolbar .ec-nav-panel .ec-nav-panel-icons:not(.focus1) .header_svg_wrapper {
  width: 40px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, #d7b8ff 0%, #ede5fa 100%);
  box-shadow:
    0 2px 7px rgba(90, 43, 136, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
