:root {
  /* colors */
  --primary-color: #ffffff;
  --theme-color-1: #9850ff;
  --theme-color-2: #304279;
  --theme-color-3: #eaf4ff;
  --theme-color-4: #4488ae;
  --theme-color-5: #163b65;
  --theme-color-6: #ffde59;
  --theme-color-7: #f3af26;
  --theme-color-8: #ee508a;
  --theme-color-9: #00bf63;
  --theme-color-10: #e8e8e8;
  --theme-color-11: #a2d144;

  /* gradients */
  --bg-gradient-1: linear-gradient(
    90deg,
    var(--theme-color-1),
    var(--theme-color-2)
  );
  --bg-gradient-2: linear-gradient(
    180deg,
    var(--primary-color),
    var(--theme-color-3)
  );
  --bg-gradient-3: linear-gradient(
    90deg,
    var(--theme-color-4),
    var(--theme-color-5)
  );
  --bg-gradient-4: linear-gradient(
    90deg,
    var(--theme-color-5),
    var(--theme-color-4)
  );
  --bg-gradient-5: linear-gradient(
    90deg,
    var(--theme-color-2),
    var(--theme-color-1)
  );
  --bg-gradient-6: linear-gradient(
    180deg,
    var(--theme-color-3),
    var(--primary-color)
  );

  --bg-gradient-7: linear-gradient(
    90deg,
    var(--theme-color-9),
    var(--theme-color-5)
  );

  /* fonts */
  --primary-font: "Montserrat", sans-serif;

  /* Base font */
  --primary-font-size: clamp(0.9rem, 1vw + 0.5rem, 1.125rem);

  /* Headings */
  --h1-font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  --h2-font-size: clamp(1.75rem, 4vw + 0.5rem, 3rem);
  --h3-font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
  --h4-font-size: clamp(1.25rem, 2.5vw + 0.25rem, 2rem);
  --h5-font-size: clamp(1.1rem, 2vw, 1.5rem);
  --h6-font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--primary-font);
  font-weight: 400;
  font-style: normal;
  font-size: var(--primary-font-size);
  min-width: 320px;
}

main {
  position: relative;
  padding-bottom: 3rem;
}

/* highlights */
.highlight-1-tc8 {
  color: var(--theme-color-8) !important;
}

.highlight-1-tc1 {
  color: var(--theme-color-1) !important;
}

.highlight-1-tc9 {
  color: var(--theme-color-9) !important;
}
/* ============================================
   B2B BUTTONS — fill-sweep hover animation
   ============================================ */

.ch-btn {
  --_base: var(--theme-color-1);
  --_hover: var(--theme-color-5);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;

  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;

  background: var(--_base) !important;
  color: var(--_text-base);
  border: none !important;
  padding: 0.6rem 1.2rem;
  border-radius: 200px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;

  transition: color 0s ease 0.1s;
}

/* Prevent legacy hover rules overriding */
.ch-btn:hover,
.ch-btn:focus,
.ch-btn:target {
  background: var(--_base) !important;
  color: var(--_text-hover);
}

.ch-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: auto;
  width: 0%;
  z-index: -1;

  background: var(--_hover);
  transition: width 0.4s ease;
}

.ch-btn:hover::before,
.ch-btn:focus::before,
.ch-btn:target::before {
  width: 100%;
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */

/* Yellow → Green */
.ch-btn-yellow-green {
  --_base: var(--theme-color-6);
  --_hover: var(--theme-color-9);
  --_text-base: var(--theme-color-2);
  --_text-hover: #ffffff;
}

/* Green → Yellow */
.ch-btn-green-yellow {
  --_base: var(--theme-color-9);
  --_hover: var(--theme-color-6);
  --_text-base: #ffffff;
  --_text-hover: var(--theme-color-2);
}

/* Navy → Pink */
.ch-btn-pink-navy {
  --_base: var(--theme-color-8);
  --_hover: var(--theme-color-5);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;
}

/* Navy → Green */
.ch-btn-navy-green {
  --_base: var(--theme-color-5);
  --_hover: var(--theme-color-9);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;
}

/* Pink → Yellow */
.ch-btn-pink-yellow {
  --_base: var(--theme-color-8);
  --_hover: var(--theme-color-6);
  --_text-base: #ffffff;
  --_text-hover: var(--theme-color-2);
}

/* Pink → Navy */
.ch-btn-navy-pink {
  --_base: var(--theme-color-8);
  --_hover: var(--theme-color-5);
  padding: 0.7rem 2.2rem;
  font-size: 0.9rem;
}

/* Gradient 3 → Gradient 4 */
.ch-btn-gradient-3-1 {
  --_base: var(--bg-gradient-3);
  --_hover: var(--bg-gradient-1);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;
}

/* Gradient 3 → Gradient 7 */
.ch-btn-gradient-3-7 {
  --_base: var(--bg-gradient-3);
  --_hover: var(--bg-gradient-7);
  --_text-base: #ffffff;
  --_text-hover: #ffffff;
}

.ch-btn-outline-white-navy {
  --_base: var(--primary-color);
  --_hover: var(--theme-color-2);
  --_text-base: var(--theme-color-2);
  --_text-hover: var(--primary-color);
}

.ch-btn-outline-white-green {
  --_base: var(--primary-color);
  --_hover: var(--theme-color-9);
  --_text-base: var(--theme-color-2);
  --_text-hover: var(--primary-color);
}

*/
/* header */
.ch-logo {
  width: 165px;
  height: auto;
}

@media (min-width: 992px) {
  .ch-logo {
    width: 220px;
  }
}

.search-inp-container {
  background: var(--theme-color-10);
  border: 1px solid rgb(101, 96, 96);
  border-radius: 100rem;
  padding: 0.2rem 0.4rem;
}

input.form-control::placeholder {
  color: white;
  font-size: 1.2rem;
}

.log-btn {
  background-color: var(--theme-color-1);
  border: none;
  color: white;
}

.cart-btn {
  background-color: var(--theme-color-5);
  border: none;
  color: white;
}

.dropdown-item .nl-name,
.nav-item .nav-link .nl-name,
.nav-item .hot-deals-link .deal-text .nl-name {
  position: relative;
  display: inline-block;
  color: var(--theme-color-5);
  padding-inline: 5px;
  padding-bottom: 3px;
  font-weight: 600;
  font-size: 1.1rem;
}

/* resting grey line, always visible */
.dropdown-item .nl-name::after,
.nav-item .nav-link .nl-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0px;
  background: var(--theme-color-10);
}

/* colored line, sweeps in from the right on top of the grey one */
.dropdown-item .nl-name::before,
.nav-item .nav-link .nl-name::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 3px;
  width: 0%;
  background: var(--theme-color-8);
  transition: width 0.35s ease;
}

.dropdown-item .nl-name:hover::before,
.nav-item .nav-link .nl-name:hover::before,
.nav-item.active .nav-link .nl-name::before {
  width: 100%;
}

.nav-item.active .nav-link .nl-name {
  border-bottom: 2px solid var(--theme-color-8);
}

.nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 0;
  padding-block: 0.2rem;
  text-transform: uppercase;
}

.hot-deals-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.arrow {
  display: flex;
  align-items: center;
}

.arrow.left {
  margin-right: -16px;
  z-index: 20;
}

.arrow.right {
  margin-left: -16px;
  z-index: 20;
}

.chevron {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* hot deals animation */
/* LEFT */
/* .arrow.left .chevron:nth-child(1) {
  animation: leftArrow 0.8s infinite;
}

.arrow.left .chevron:nth-child(2) {
  animation: leftArrow 0.8s 0.15s infinite;
} */

/* RIGHT */

/* .arrow.right .chevron:nth-child(1) {
  animation: rightArrow 0.8s infinite;
}

.arrow.right .chevron:nth-child(2) {
  animation: rightArrow 0.8s 0.15s infinite;
} */

/* LEFT */
.arrow.left .chevron:nth-child(1) {
  animation: leftArrow 1.5s infinite;
}
.arrow.left .chevron:nth-child(2) {
  animation: leftArrow 1.5s 0.06s infinite;
}
/* RIGHT */
.arrow.right .chevron:nth-child(1) {
  animation: rightArrow 1.5s infinite;
}
.arrow.right .chevron:nth-child(2) {
  animation: rightArrow 1.5s 0.06s infinite;
}

/* @keyframes leftArrow {
  0% {
    transform: translateX(8px);
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(-8px);
    opacity: 0.2;
  }
} */

@keyframes leftArrow {
  0% {
    transform: translateX(10px);
    opacity: 0.2;
  }

  25% {
    opacity: 1;
  }

  50% {
    transform: translateX(-8px);
    opacity: 0;
  }

  75% {
    transform: translateX(-10px);
    opacity: 0;
  }

  /* Hold this state longer */
  100% {
    transform: translateX(-8px);
    opacity: 0;
  }
}

/* @keyframes rightArrow {
  0% {
    transform: translateX(-8px);
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(8px);
    opacity: 0.2;
  }
} */

@keyframes rightArrow {
  0% {
    transform: translateX(-10px);
    opacity: 0.2;
  }

  25% {
    opacity: 1;
  }

  50% {
    transform: translateX(8px);
    opacity: 0.2;
  }

  75% {
    transform: translateX(10px);
    opacity: 0;
  }

  /* Hold this state longer */
  100% {
    transform: translateX(8px);
    opacity: 0;
  }
}

.deal-text {
  display: inline-flex;
  align-items: center;
  background: var(--theme-color-6);
  padding: 0rem 1.2rem 0.2rem;
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 50%,
    calc(100% - 12px) 100%,
    12px 100%,
    0 50%
  );
}

.flame-img {
  width: 25px;
  height: 25px;
}

@media (min-width: 992px) and (max-width: 1350px) {
  .search-btn-container {
    display: none !important;
  }
}

.search-icon-btn {
  display: block;
}

.search-input::placeholder {
  color: #000 !important;
  opacity: 1;
}

@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: 250px;
  }
}

@media (min-width: 1350px) {
  .search-icon-btn {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1350px) {
  .search-icon-btn {
    display: block !important;
  }
}


/* ===== Footer ===== */
#site-footer {
  background: var(--theme-color-5);
  color: var(--primary-color);
}

#site-footer .footer-heading {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--h6-font-size);
  margin-bottom: 1.5rem;
}

#site-footer .footer-links {
  margin: 0;
  padding: 0;
}

#site-footer .footer-links li {
  margin-bottom: 0.9rem;
}

#site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: var(--primary-font-size);
  transition: color 0.2s ease;
}

#site-footer .footer-links a:hover {
  color: #e2496b;
}

#site-footer .footer-links a.active {
  color: var(--primary-color);
  border-bottom: 2px solid #e2496b;
  padding-bottom: 0.35rem;
}

/* Brand column */
#site-footer .footer-logo {
  height: 70px;
  width: auto;
}

#site-footer .footer-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Social icons */
#site-footer .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#site-footer .social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

#site-footer .social-youtube {
  background: #ff0000;
}
#site-footer .social-linkedin {
  background: #0a66c2;
}
#site-footer .social-facebook {
  background: #1877f2;
}
#site-footer .social-x {
  background: #000000;
}
#site-footer .social-pinterest {
  background: #e60023;
}

/* Bottom bar */
#site-footer .footer-bottom {
  background: #000000;
}

#site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
  #site-footer .col-6 {
    width: 100%;
  }
}
