/* Header */

header {
  box-shadow: 0 5px 15px #0000000f;
}

/* Menu */

.td-drawer-menu {
  top: calc(var(--toolbar-bottom-position) + 4rem) !important;
}

/* Hero */

.td-hero__buttons a {
  font-size: 1.375rem;
}

@media screen and (max-width: 767px) {
  .td-hero__image-wrapper {
    margin-inline: -1rem;
  }
}

/* Key traits */

.td-key-traits__icon {
  width: 40px;
  min-width: 40px;
}

/* Shop by brand */

.td-shop-by-brand__grid {
  grid-template-columns: 1fr auto 1fr;
}

.td-shop-by-brand .button {
  font-size: 1.375rem;
  /* width: max-content; */
  justify-self: end;
}

.td-shop-by-brand__tab--active {
  color: rgb(255 112 23 / var(--tw-text-opacity));
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Categories */
/* 
.td-categories__grid {
  grid-template-columns: 1fr 1fr;
} */

.td-categories .button {
  font-size: 1.375rem;
}

.td-categories__card-image {
  aspect-ratio: 1 / 0.85;
  object-fit: cover;
}

/* Collection page */

/* Design app bug override */
#product-category-nav .nav-item a.active {
  display: flex !important;
}
.td-categories {
  display: flex;
  flex-direction: column;
}
.td-categories__last {
  order: 100;
}

/* CATEGORIES */
@keyframes shimmer {
    0% {
      background-position: 100%;
    }
    100% {
      background-position: -100%;
    }
  }
  
  .td-product-card__load__skeleton-image {
    width: 100%;
    background: #e0e0e0;
    border-radius: 8px;
    animation: shimmer 1.5s infinite linear;
  }
  .td-product-card__load__skeleton-text {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
  }
  
  .td-product-card__load__skeleton-text.td-product-card__load__skeleton-text--short {
    width: 60%;
  }
  
  .td-product-card__load__skeleton-image,
  .td-product-card__load__skeleton-text {
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
  }
  .td-product-card__loaded:hover
    .td-product-card__loaded__product-content::after {
    left: 0;
    transition: all 0.3s ease;
  }
  .td-product-card__loaded__product-title {
    font-size: 22px;
  }
  .td-product-card__loaded__product-content::before {
    content: "";
    background-color: #d3d4d7;
    height: 1px;
    width: 100%;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    transition-delay: 0.1s;
  }
  .td-product-card__loaded__product-content::after {
    content: "";
    background-color: #ff7017;
    height: 1px;
    width: 100%;
    display: flex;
    position: absolute;
    left: -100%;
    top: 0;
    transition-delay: 0.1s;
  }
  .td-product-card__loaded__product-content {
    position: relative;
    padding: 22px 21px 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .td-product-card__loaded .product_thumbnail {
    box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.25);
  }
  .td-product-card__loaded .image-parent {
    padding: 50px;
  }
  .td-archive__pagination svg {
    width: 17px;
  }
  .td-archive__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .td-archive__pagination .prev,
  .td-archive__pagination .next {
    display: flex;
    align-items: center;
  }
  
  .td-archive__pagination .page-numbers {
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .td-archive__pagination svg {
    fill: #ff7017;
  }
  .td-archive__pagination .next:hover svg,
  .td-archive__pagination .prev:hover svg {
    fill: #222935;
    opacity: 0.8;
    transition: all 0.2s ease;
  }
  .td-archive__pagination .page-numbers:not(.current):hover {
    color: #ff7017;
    transition: color 0.2s ease;
  }
  @media (min-width: 1024px) {
    .td-archive__pagination {
      width: 75%;
      margin-left: auto;
    }
  }
  .td-categories__info-banner {
    padding: 60px 0;
  }
  .td-categories__info-banner__content strong {
    color: #ff7017;
    font-size: 24px;
    font-family: "rift", sans-serif;
    margin-bottom: 13px;
  }
  .td-categories__info-banner__content p {
    margin-bottom: 28px;
  }
  .td-categories__info-banner__content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  @media (max-width: 1023px) {
    .td-categories__wrapper {
      display: flex;
      flex-direction: column;
    }
    .td-archive__filters {
      width: 100vw;
      height: 100vh;
      background-color: white;
      position: fixed;
      z-index: 12;
      top: 96px;
      padding: 25px;
      left: 0;
      overflow: scroll;
      padding-bottom: 200px;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      border-top: 1px solid #d3d4d7;
    }
    [style="--toolbar-bottom-position: 0px;"] .td-archive__filters {
      top: 64px;
    }
    .td-archive__filters.td-archive__filters--active {
      transform: translateX(0);
    }
    .td-archive__filters__title {
      margin-bottom: 25px;
    }
    .td-archive__filters__menu-open {
      color: white;
      margin-bottom: 25px;
    }
    body.filters--active {
      overflow: hidden;
    }
  }
  @media (min-width: 1024px) {
    .td-categories__wrapper {
      gap: 70px;
    }
    .td-categories__info-banner__content {
      max-width: 768px;
    }
    .td-archive__filters {
      width: 25%;
      display: flex;
      flex-direction: column;
    }
  
    .td-archive .facetwp-template {
      width: 75%;
    }
    .td-archive__filters__menu-close {
      display: none;
    }
    .td-archive__filters__title > h2 {
      color: white;
      background-color: #ff7017;
      font-size: 20px;
      padding: 10px 30px;
      border-radius: 60px;
      margin-bottom: 28px;
    }
  }
  
  .td-archive__product-grid {
    gap: 40px 20px;
  }
  
  .td-archive__heading {
    max-width: 706px;
    margin: auto;
    margin-bottom: 45px;
  }
  .td-archive__heading h1 {
    font-size: 55px;
    line-height: 1.1;
  }
  
  .td-archive .woocommerce-breadcrumb {
    opacity: 0.5;
    font-size: 14px;
    margin-top: 40px;
  }
  .woocommerce-breadcrumb a:hover {
    color: #ff7017;
    transition: color 0.2s ease;
  }
  .currency-CAD .facetwp-facet-price_usd {
    display: none;
  }
  .currency-CAD [data-facet="price_usd"] {
    display: none;
  }
  
  .currency-USD .facetwp-facet-price_cad {
    display: none;
  }
  .currency-USD [data-facet="price_cad"] {
    display: none;
  }
  .td-archive__filters .facetwp-slider.noUi-target {
    background-color: transparent;
    border-radius: 0;
    border: 0;
  }
  .td-archive__filters .facetwp-slider .noUi-connects::after {
    content: "";
    background-color: #eee;
    display: flex;
    height: 2px;
    width: 100%;
    top: 5px;
    position: absolute;
  }
  .td-archive__filters .facetwp-slider .noUi-connect {
    background: #222935;
    opacity: 0.5;
    height: 2px;
    top: 5px;
    z-index: 12;
  }
  .td-archive__filters .facetwp-slider .noUi-handle {
    background-color: #ff7017;
    border-radius: 100%;
    height: 12px;
    width: 12px;
    top: 0;
  }
  .td-archive__filters .wp-block-columns {
    width: 100%;
  }
  .td-archive__filters .wp-block-column {
    width: 100%;
  }
  .td-archive__pagination .facetwp-pager {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
  }
  .td-archive__pagination .facetwp-page.active {
    color: white;
    background-color: #222935;
    border-radius: 100%;
    font-weight: normal;
  }
  
  .td-archive__pagination .facetwp-page {
    margin: 0;
    height: 20px;
    width: 20px;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    transition: color 0.2s ease;
  }
  .td-archive__pagination .facetwp-page:not(.active):hover {
    color: #ff7017;
    transition: color 0.2s ease;
  }
  .td-archive__pagination .facetwp-page.next,
  .td-archive__pagination .facetwp-page.prev {
    color: #ff7017;
  }
  .td-archive__pagination .facetwp-page.next:hover,
  .td-archive__pagination .facetwp-page.prev:hover {
    color: #222935;
  }
  
  .td-archive__filters .facetwp-checkbox {
    background: none;
    padding-left: 0;
  }
  .td-archive__filters .facetwp-checkbox::before {
    content: "";
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 3px;
    padding: 6.5px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 10px;
  }
  .td-archive__filters .facetwp-checkbox.checked {
    background: none;
    position: relative;
  }
  .td-archive__filters .facetwp-checkbox.checked::after {
    content: "";
    display: block;
    position: absolute;
    top: 7px;
    left: 6px;
    width: 4px;
    height: 12px;
    border: solid #ff7017;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .td-archive__filters .facet-label {
    font-family: "rift", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ff7017;
    margin-bottom: 16px;
  }
  
  .td-archive__filters .facetwp-slider-reset {
    margin-top: 10px;
  }
  .td-archive__filters .facetwp-toggle {
    color: #ff7017;
    font-weight: 600;
    margin-top: 10px;
  }
  
  .td-archive__filters .facetwp-slider-label {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0;
  }
  
  .td-archive__filters .facetwp-slider-label::before {
    content: attr(data-min);
    font-size: 14px;
  }
  
  .td-archive__filters .facetwp-slider-label::after {
    content: attr(data-max);
    font-size: 14px;
  }
  
  @media (min-width: 1024px) {
    .facetwp-display-value,
    .facetwp-counter {
      font-size: 15px;
    }
    .facetwp-counter {
      font-size: 12px;
    }
  }

/* NEW CONTACT FORM */
#hubspot-contact-form {
  --gf-local-border-color: #ff7017 !important;
}
body div#ui-datepicker-div[style] {
  z-index: 9 !important;
}
#hubspot-contact-form .gform_required_legend {
  display: none;
}

#hubspot-contact-form .gfield_label {
  font-size: 17px;
  line-height: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
#hubspot-contact-form select {
  height: 45px;
  padding: 2px 5px 0px 10px;
  font-size: 16px;
  border: 1px solid #222935;
  border-radius: 0px;
}
#hubspot-contact-form select:focus {
  box-shadow: none !important;
  outline: #ff7017 auto 1px !important;
}
#hubspot-contact-form input[value="Next"],
#hubspot-contact-form input[type="submit"],
#hubspot-contact-form .gform_next_button {
  background-color: #ff7017;
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 0px;
  margin-top: 20px;
  transition: all 0.2s ease;
}
#hubspot-contact-form input[value="Next"]:hover,
#hubspot-contact-form input[type="submit"]:hover,
#hubspot-contact-form .gform_next_button:hover {
  opacity: 0.7;
  transition: all 0.2s ease;
}

#hubspot-contact-form input[value="Previous"] {
  background-color: #222935;
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 0px;
  margin-top: 20px;
  transition: all 0.2s ease;
}

#hubspot-contact-form input[value="Previous"]:hover {
  opacity: 0.7;
  transition: all 0.2s ease;
}
#hubspot-contact-form input[value="Previous"]:focus,
#hubspot-contact-form input[value="Next"]:focus {
  box-shadow: none !important;
  outline: 0 !important;
  border: 0;
}
#hubspot-contact-form .gform_fields {
  row-gap: 20px;
}
#hubspot-contact-form .gfield-choice-input[type="checkbox"]:focus {
  background-color: transparent !important;
  box-shadow: none !important;
  outline: #ff7017 auto 1px !important;
}

#hubspot-contact-form .ginput_container_text input:focus,
#hubspot-contact-form .ginput_container_text input:checked {
  box-shadow: none;
  outline: #ff7017 auto 1px !important;
}

#hubspot-contact-form
  .gform-theme--framework
  input[type="checkbox"]:where(
    :not(.gform-theme__disable):not(.gform-theme__disable *):not(
        .gform-theme__disable-framework
      ):not(.gform-theme__disable-framework *)
  ):before {
  color: #ff7017;
}

#hubspot-contact-form .gform_page_footer {
  justify-content: space-between;
}

#hubspot-contact-form #gf_page_steps_1 {
  justify-content: space-between;
  position: relative;
}
#hubspot-contact-form #gf_page_steps_1 .gf_step {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hubspot-contact-form #gf_page_steps_1::before {
  width: 99%;
  height: 2px;
  content: "";
  position: absolute;
  background-image: linear-gradient(
    to right,
    #ccc 33%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: bottom;
  background-size: 11px 1px;
  background-repeat: repeat-x;
  top: 21px;
  right: 0;
  z-index: 0;
}

#hubspot-contact-form
  #gf_page_steps_1
  .gf_step:not(.gf_step_pending)
  .gf_step_number {
  background-color: #ff7017;
  color: white;
  border: 0;
}
#hubspot-contact-form #gf_page_steps_1 .gf_step .gf_step_number {
  width: 2em;
  height: 2em;
  font-size: 20px;
  line-height: 22px;
  font-weight: 700;
  background: white;
}
#hubspot-contact-form
  .gform-theme--framework
  .gf_step_completed
  .gf_step_number:after {
  display: none !important;
}

#hubspot-contact-form input[type="text"]:focus,
#hubspot-contact-form textarea:focus {
  box-shadow: none !important;
  outline: #ff7017 auto 1px !important;
}

#hubspot-contact-form
  .gform-theme--framework
  .gfield--type-choice
  .gfield_checkbox {
  flex-direction: row;
  gap: 25px;
}

.contact-form-custom-html {
  display: flex;
  flex-direction: column;
}
.contact-form-custom-html h3 {
  font-weight: 700;
  font-size: 21px;
}
.contact-form-custom-html a,
.gform_confirmation_message a {
  background-color: #ff7017;
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 0px;
  margin-top: 20px;
  transition: all 0.2s ease;
  width: max-content;
  cursor: pointer;
}
.contact-form-custom-html a:hover,
.gform_confirmation_message a:hover {
  opacity: 0.7;
  transition: all 0.2s ease;
}

@media (max-width: 767px) {
  .td-contact-form__dialog {
    max-width: 90% !important;
    margin: auto;
  }
  #hubspot-contact-form
    .gform-theme--framework
    .gfield--type-choice
    .gfield_checkbox {
    flex-direction: column;
    gap: 10px;
  }
}

.gform_ajax_spinner {
  background-color: #ff7017;
}

#hubspot-contact-form #field_1_1,
#hubspot-contact-form #field_1_2 {
  grid-column: span 6;
}
#hubspot-contact-form #gf_step_1_5 {
  display: none;
}
#hubspot-contact-form {
  --gf-local-border-color: #ff7017;
}
#hubspot-contact-form .gform-theme--framework .gform-loader {
  border-block-end-color: #ff7017;
  border-block-start-color: #fff;
  border-inline-end-color: #fff;
  border-inline-start-color: #ff7017;
}
