@import url("./base/variables.css");
@import url("./components/top-header.css");
@import url("./components/page-menu.css");
@import url("./components/page-footer.css");
@import url("./components/dropdown-menu.css");

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

@font-face {
  font-family: 'LibreFranklin';
  src: url("../fonts/LibreFranklin-Regular.woff2") format("woff2"),
       url("../fonts/LibreFranklin-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'LibreFranklin';
  src: url("../fonts/LibreFranklin-Medium.woff2") format("woff2"),
       url("../fonts/LibreFranklin-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'LibreFranklin';
  src: url("../fonts/LibreFranklin-SemiBold.woff2") format("woff2"),
       url("../fonts/LibreFranklin-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'LibreFranklin';
  src: url("../fonts/LibreFranklin-Bold.woff2") format("woff2"),
       url("../fonts/LibreFranklin-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: 'LibreFranklin';
  src: url("../fonts/LibreFranklin-ExtraBold.woff2") format("woff2"),
       url("../fonts/LibreFranklin-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: VenusSB-BolExt;
  src: url("../fonts/VenusSB-BolExt.eot");
  src: url("../fonts/VenusSB-BolExt.woff") format("woff"),
    url("../fonts/VenusSB-BolExt.ttf") format("truetype"),
    url("../fonts/VenusSB-BolExt.svg") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

h1,
h2.second-title {
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
  line-height: 36px;
  font-weight: 600;
}

h6 {
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
}

@media (min-width: 768px) {
  h1,
  h2.second-title {
    font-size: 40px;
    line-height: 50px;
  }
}

/* Grid layout*/
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  color: var(--primary-text-color);
  font-weight: 400;
  line-height: var(--line-height-base);
}

.lgFavo {
  max-width: unset !important;
}
.page-container,
.container {
  width: 100%;
  max-width: 1266px;
  margin-left: auto;
  margin-right: auto;
}

.full-width {
  width: 100%;
  max-width: 100%;
}

.row {
  margin-left: -16px;
  margin-right: -16px;
}

.row > * {
  padding-left: 16px;
  padding-right: 16px;
}

.page-container,
.container {
  padding-left: 16px;
  padding-right: 16px;
}

/* General css, Header, Menu, Footer, Button ...*/
/* Link */
a:hover {
  text-underline-offset: 4px;
}

/* Buttons */
select:disabled,
select[disabled],
button:disabled,
button[disabled] {
  opacity: 0.5;
}

/* Form */
input[class*="form-control"] {
  height: 48px;
  border-radius: 4px;
  border: 1px solid #f7f8f4;
}

.form-control::placeholder {
  color: var(--gray-medium);
  font-size: 16px;
  font-weight: 400;
  font-family: LibreFranklin;
}

.btn-see-all {
  color: #1a1a1a;
  font-family: LibreFranklin;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.32px;
  border-radius: 4px;
  border: 2px solid #fd0;
  background: #fd0;
  margin-top: 30px;
  padding: 8px 16px;
}

.btn-see-all:hover {
  text-decoration: underline;
}

input[class*="form-control"]:focus {
  outline: none;
  box-shadow: none;
  border: 1px solid var(--black-color-20);
  border-radius: 4px 4px 0 0;
}

input[class*="form-control"]::placeholder {
  padding-left: 0 !important;
}

.mb-56 {
  margin-bottom: 56px !important;
}

.mb-32 {
  margin-bottom: 32px !important;
}

@media (max-width: 767px) {
  .mb-56 {
    margin-bottom: 40px !important;
  }

  input[class*="form-control"]:focus {
    border-radius: 4px;
  }
}

.rte-content {
  color: var(--primary-text-color);
  font-size: 1rem;
  line-height: 24px;
}

.rte-content ul {
  margin-bottom: 0px;
  padding-left: 25px;
}

.rte-content strong {
  font-weight: 700;
}

.rte-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--primary-color);
}

.rte-content.custom-rte-content a {
  color: #0859B7;
  text-decoration-color:#0859B7;
}

.rte-content a:hover {
  text-decoration: none;
}

.col-md-9 .rte-content a {
  color: var(--secondary-color);
  text-decoration-color: var(--secondary-color);
}

.col-md-9 .rte-content a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

@media (max-width: 767px) {
  .rte-content .mp-16 {
    padding: 0px 16px;
  }
}

/*-------------------------- Spinner -------------------------*/
.spinner-wrapper {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.spinner-wrapper__loader {
  border: 5px solid var(--black-color-20);
  border-radius: 50%;
  border-top: 5px solid var(--primary-color);
  width: 40px;
  height: 40px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.autocomplete-header {
  color: #1a1a1a;
  font-family: LibreFranklin;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

/*-------------------------- TypeAhead -------------------------*/
.autocomplete-items {
  position: absolute;
  border-bottom: none;
  border-top: none;
  top: 37px;
  left: 0;
  right: 0;
  z-index: 1300;
  width: 669px;
  background: #fff;
  padding: 20px;
  border-radius: 0 8px 8px 8px;
}

.autocomplete-items .break-line {
  display: block;
  border: 1px solid #e5e5e5;
  margin-top: 14px;
  margin-bottom: 8px;
}

.autocomplete-items a {
  display: block;
  cursor: pointer;
  background-color: var(--white-color);
  margin-top: 8px;
}

.autocomplete-items a,
.autocomplete-items span {
  text-decoration: none;
  color: var(--secondary-color);
  font-family: LibreFranklin;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.autocomplete-items a svg {
  margin-left: 0.5rem;
  width: 12px;
  height: 8px;
}

.search-highlight {
  font-weight: 700;
  background-color: var(--white-color);
  padding: 0px;
}

.search-page__typeahead {
  position: relative;
  display: block;
  justify-content: space-between;
  align-items: baseline;
}

.search-page__typeahead .clear-button {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: var(--primary-text-color);
  background-color: transparent;
  border: none !important;
  outline: none !important;
  padding: 0;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 44px; /* space for the arrow */
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
  outline: none;
}

.button.no-icon::after {
  content: none;
}

.button::after {
  content: "";
  width: 22px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-image 0.2s;
}

.button-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.button-primary:hover,
.button-primary:focus {
  color: var(--secondary-color);
  text-decoration: underline;
}

.button-primary::after {
  background-image: url("/images/arrow-left-icon.svg");
}

.button-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus {
  color: #fff;
  text-decoration: underline;
}

.button-secondary::after {
  background-image: url("/images/arrow-left-icon-white.svg");
}

.button-outline {
  background-color: #fff;
  color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  border-radius: 2px;
}

.button-outline:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.button-outline .left-spacer {
  content: "";
  width: 18px;
  height: 18px;
  transition: background-image 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M3.06397 7.12977C3.27127 6.6293 3.57512 6.17456 3.95817 5.79152C4.34121 5.40847 4.79595 5.10462 5.29642 4.89731C5.7969 4.69001 6.3333 4.58331 6.87501 4.58331C7.41671 4.58331 7.95311 4.69001 8.45359 4.89731C8.95406 5.10462 9.4088 5.40847 9.79184 5.79152L11 6.99968L12.2082 5.79152C12.9818 5.01792 14.031 4.58332 15.125 4.58332C16.219 4.58332 17.2682 5.01792 18.0418 5.79152C18.8154 6.56511 19.25 7.61432 19.25 8.70835C19.25 9.80237 18.8154 10.8516 18.0418 11.6252L11 18.667L3.95817 11.6252C3.57512 11.2421 3.27127 10.7874 3.06397 10.2869C2.85667 9.78646 2.74997 9.25006 2.74997 8.70835C2.74997 8.16664 2.85667 7.63024 3.06397 7.12977Z' fill='%23FFDD00' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.button-outline:hover .left-spacer {
  text-decoration: underline;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M2.50691 5.83346C2.67652 5.42399 2.92513 5.05193 3.23853 4.73853C3.55193 4.42513 3.92399 4.17652 4.33346 4.00691C4.74294 3.8373 5.18181 3.75 5.62503 3.75C6.06824 3.75 6.50712 3.8373 6.91659 4.00691C7.32607 4.17652 7.69813 4.42513 8.01153 4.73853L9.00003 5.72703L9.98853 4.73853C10.6215 4.10559 11.4799 3.75001 12.375 3.75001C13.2701 3.75001 14.1286 4.10559 14.7615 4.73853C15.3945 5.37147 15.75 6.22992 15.75 7.12503C15.75 8.02014 15.3945 8.87859 14.7615 9.51153L9.00003 15.273L3.23853 9.51153C2.92513 9.19813 2.67652 8.82607 2.50691 8.4166C2.3373 8.00712 2.25 7.56824 2.25 7.12503C2.25 6.68181 2.3373 6.24294 2.50691 5.83346Z' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.button-outline.added-to-list .left-spacer {
  text-decoration: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M2.50688 5.83343C2.67649 5.42396 2.9251 5.0519 3.2385 4.7385C3.5519 4.4251 3.92396 4.17649 4.33343 4.00688C4.74291 3.83727 5.18178 3.74997 5.625 3.74997C6.06821 3.74997 6.50709 3.83727 6.91656 4.00688C7.32604 4.17649 7.6981 4.4251 8.0115 4.7385L9 5.727L9.9885 4.7385C10.6214 4.10556 11.4799 3.74998 12.375 3.74998C13.2701 3.74998 14.1286 4.10556 14.7615 4.7385C15.3944 5.37144 15.75 6.22989 15.75 7.125C15.75 8.02011 15.3944 8.87856 14.7615 9.5115L9 15.273L3.2385 9.5115C2.9251 9.1981 2.67649 8.82604 2.50688 8.41656C2.33727 8.00709 2.24997 7.56821 2.24997 7.125C2.24997 6.68178 2.33727 6.24291 2.50688 5.83343Z' fill='%231A1A1A' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.button-outline.added-to-list {
  text-decoration: none;
  cursor: not-allowed;
}

.button-outline .left-spacer {
  margin-right: 25px;
}

.search-icon--active {
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 2px;
}

.grecaptcha-badge {
    z-index: 9;
    bottom: 60px !important;
}

@media (max-width: 767px) {
    .mobile-search {
    display: none;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .search-page__typeahead {
    /* max-width: 300px; */
  }

  .autocomplete-items {
    margin-left: -16px;
    top: 50px;
    border-radius: 0;
    width: 100vw;
  }

  img.image-block {
    width: 100%;
    object-fit: cover;
  }
}

@media (min-width: 992px) {
  .autocomplete-items {
    top: 47px;
  }

  .search-page__typeahead .clear-button {
    top: 12px;
    font-size: 16px;
    line-height: 24px;
  }
}
.ribbon-container {
  position: absolute;
  right: -6px;
  top: -6px;
}
.ribbon {
  min-width: 60px;
  min-height: 60px;
  background: black;
  color: white;
  clip-path: polygon(100% 0%, 100% 101%, 0% 0%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  transform: rotate(0deg);
  font-weight: bold;
  border-top-right-radius: 15px;
}

.ribbon-container::before,
.ribbon-container::after {
  position: absolute;
  z-index: 1;
  content: "";
  display: block;
  border: 3px solid #000;
}

.ribbon-container::before {
  top: 0;
  left: 0;
}
.ribbon-container::after {
  bottom: 0;
  right: 0;
}

.ribbon span {
  position: absolute;
  top: 10px;
  right: 0px;
  transform: rotate(49deg);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  max-width: 70px;
}

.ribbon.ribbon-new {
  width: 71px;
  height: 80px;
}

.ribbon.ribbon-new span {
  top: 14px;
  right: 5px;
}

/* Shared styles for popular, best-seller, new-improved */
.ribbon.ribbon-popular,
.ribbon.ribbon-best-seller {
  width: 91px;
  height: 103px;
}

.ribbon.ribbon-new-improved {
  width: 100px;
  height: 113px;
}

.ribbon.ribbon-most-popular {
  width: 101px;
  height: 118px;
}

/* Only popular has custom span positioning */
.ribbon.ribbon-popular span {
  top: 23px;
  transform: rotate(49deg);
}

.ribbon.ribbon-best-seller span {
  top: 7px;
  right: -6px;
  transform: rotate(50deg);
}

.ribbon.ribbon-new-improved span {
  transform: rotate(50deg);
  right: -5px;
}
