body, html {
  scroll-behavior: smooth;
}

.store {
  margin-block-start:0!important;
  gap:0!important;
}
.compare_selector {
    padding: 0.5rem;
    border: 1px solid #DDD;
    border-radius: 4px;
}
#clear-comparison-filter {
  background: var(--wp--preset--color--primary);
  border: 0;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  color: white;
  font-weight: 600;
}
.comparison_item-header {
  position: relative;
}
.remove-product {
  position: absolute;
  top: 1rem;
  right: 50%;
  transform: translateX(50%);
  display: none;
}
.comparison_item-header:hover .remove-product {
  display: inline-block;
}
.store-menu {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.store-menu header {
  background: #1C3238;
  color: white;
  padding: 0 2rem;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.store-menu header a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.store-menu header a:hover {
  text-decoration: underline;
}
.store-menu_inner {
  padding: 1rem 2rem;
  height: 100%;
  box-sizing: border-box;
  border-right: 1px solid #DDDDDD;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.store-menu hr {
  border-top: 1px solid #DDDDDD;
  margin: 1rem 0;
}
.store-menu h3 {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--wp--preset--color--secondary);
}
.store-menu .button_link:not(.outline) {
  font-size: 12px;
  background: var(--wp--preset--color--primary);
}
.store-menu_links {
  list-style: none;
  padding: 0;
}
.store-menu_link {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  margin: 0.5em 0;
  padding: 0;
}
.store-menu_link a {
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline 1px rgba(0, 0, 0, 0);
  transition: text-decoration 200ms ease;
  color: inherit;
}
.store-menu_link a:hover {
  text-decoration: underline 1px rgba(0, 0, 0, 1);
}
.store-menu_sub ul {
  list-style: none;
  padding-left: 1rem;
}
.store-menu_sub .store-menu_link {
  font-weight: 400;
}

.store-display, .store-display_product {
  flex: 1!important;
  padding: 0 0 2rem 0;
}
.store-display {
  background: var(--wp--preset--color--tertiary);
}
.store-display .featured-posts-list-title {
  padding-left: 2.5rem;
}

.store-breadcrumb {
  background: var(--wp--preset--color--primary);
  color: white;
  padding: 0 2rem;
  align-items: center;
  display: flex;
  height: 58px;
  gap:0.5rem;
}
.crumb-link {
  color: white;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.5;
  text-decoration: none;
}
.crumb-link:hover {
  opacity: 1;
}
span.crumb-link {
  opacity: 1;
}
@media screen and (max-width:768px) {
  a.crumb-link:not(:last-of-type) {
    display: none;
  }
  a.crumb-link:last-of-type {
    opacity: 1;
  }
  span.crumb-link {
    display: none;
  }
}
.store-breadcrumb .crumb-link:nth-child(n+3):before {
  content: '>';
  margin-right: 0.5rem;
  display: inline-block;
}
.store-product-header {
  padding: 2rem 2rem 0rem 2rem;
  margin-block-start: 0!important;
}
.store-product_title {
  font-size: clamp(2.1rem, 3.5vw, 2.5rem);
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  gap:1rem;
  color: var(--wp--preset--color--primary);
  align-items: center;
}
@media screen and (max-width:768px) {
  .store-product_title {
    flex-direction: column;
  }
}

img.store-product-logo {
  display: block;
  height: 3rem;
  max-width: 40vw;
  object-fit: contain;
}
img.store-product-logo.landscape {
  height:2.9rem;
}
img.store-product-logo.square {
  height:6rem;
}
img.store-product-logo.portrait {
  height:7rem;
}
.store-product-menu-wrapper {
  margin-block-start:0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  padding: 0 2rem 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  background: var(--wp--preset--color--tertiary);
  padding-bottom: 0;
}
@media screen and (max-width:768px) {
  .store-product-menu-wrapper {
    padding-bottom: 0;
    margin-block-start: 0!important;
  }
  .store-product-menu-wrapper .button_link {
    position: fixed;
    bottom:2.5rem;
    right:1.5rem;
    z-index: 4;
  }
}
.store-product-menu {
  display: flex;
  white-space: nowrap;
  overflow: auto;
  gap:clamp(0.5rem, 3vw, 1.25rem);
}
@supports not (gap:clamp(0.5rem, 3vw, 1.25rem)) {
  .store-product-menu a {
    margin-right:1rem;
  }
}
.store-product-menu a {
  font-weight: 600;
  text-decoration: none;
  color: var(--wp--preset--color--grey);
  padding: 1rem 0;
  border-bottom: 5px solid transparent;
  font-size: clamp(12px, 3.4vw, 1rem);
  text-decoration: none !important;
}
.store-product-menu a:not(.selected):hover {
  border-color: #DDDDDD;
}
.store-product-menu a.selected {
  color: var(--wp--preset--color--foreground);
  border-color: var(--wp--preset--color--secondary);
}
.store-display_product .entry-content {
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 900px;
}

.store-product-specs {
  padding: 0 2rem;
  max-width: 900px;
}
.product-specs {
  border-collapse: collapse;
}
.product-specs th, .product-specs td {
  padding: 0.4rem 0rem;
  line-height: 1.4;
  vertical-align: top;
}
.product-specs th:first-child, .product-specs td:first-child {
  padding-right: 1.5rem;
}
.product-specs a {
 color:var(--wp--preset--color--orange);
}
@media screen and (min-width:768px) {
  .store-display_product .module-promo {
    margin-left: 2rem;
  }
  .product-specs th, .product-specs td {
    padding: 0.4rem 1.25rem;
  }
}
.product-specs thead {
  background: var(--wp--preset--color--tertiary);
  text-align: left;
  font-size: 13px;
}
.product-specs tbody {
  font-size: 12px;
}
.product-specs tr:first-child ~ tr {
  border-top: 1px solid #DDDDDD;
}
.product-specs td:first-child {
  color: var(--wp--preset--color--grey);
}
.product-specs td:last-child {
  font-weight: 600;
}
.store-product-related {
  padding: 0 2rem;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.store-product-related .store-items {
  padding: 0;
}
#product-overview h2 {
  font-size: 1.25rem;
  font-weight: 500;
}
#product-overview p, #product-overview li {
  font-size: 1rem;
  color:var(--wp--preset--color--grey);
}
.brand-banner {
  margin-block-start:0!important;
  display: flex;
  flex-direction: column;
}
.brand-banner_img-bg {
  width:100%;
  flex:1;
  object-fit: cover;
  display: block;
}
.brand-banner_content {
  width:100%;
  flex:1;
  box-sizing: border-box;
  padding: 2rem;
  background:white;
}
@media screen and (min-width:768px) {
  .brand-banner {
    flex-direction: row;
  }
  .brand-banner_img-bg, .brand-banner_content {
    width:50%;
  }

}
.brand-banner_title {
  font-size: 3.25rem;
  font-weight: 600;
}
.brand-banner_logo {
  height: 80px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.brand-banner_tagline {
  font-size: 1.5rem;
  font-weight: 500;
}
.store-entry-block {
  background: white;
  padding: 2rem;
}
.store-entry-block .entry-content {
  max-width: 900px;
}
.store-display_product .featured-posts {
  max-width: 900px;
  padding: 0 2rem;
}
.store-display_product .product-featured-image img {
  height: 400px;
  width:auto;
  margin: 0 2rem;
  border-radius: 1rem;
}


/* Image rotateor */
.entry-content.image-rotator {
  max-width:650px;
}
.image-rotator_stage .slide:not(.active){
  display: none;
}
.image-rotator_stage {
  border-radius: 1rem;
  overflow: hidden;
  background:var(--wp--preset--color--tertiary);
}
.image-rotator_stage .slide {
  animation: fadeIn 300ms ease;
}
.image-rotator_stage img {
  width: 100%;
  display: block;
}
.image-rotator_filmstrip {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap:1rem;
  margin-top:1rem;
  overflow: auto;
  scroll-snap-type: x;
}
.image-rotator_thumbnail {
  opacity: 0.5;
  cursor: pointer;
  transition:opacity 200ms ease;
  width: 80px;
  position: relative;
  flex: none;
  scroll-snap-align: start;
  scroll-snap-type: block;
}
.thumbnail-video-icon {
  position: absolute;
  top: calc(50% - 12px);
  left: calc(50% - 4px);
  border-top: 10px solid transparent;
  border-right: 0;
  border-bottom: 10px solid transparent;
  border-left: 15px solid white;
  z-index: 1;
}
.image-rotator_thumbnail:hover {
  opacity: 1;
}
.image-rotator_thumbnail.active {
  opacity: 1;
}
.image-rotator .slide img {
  object-fit: cover;
  object-position: 50% 50%;
}
.image-rotator_thumbnail img {
  border-radius: 1rem;
  width: 100%;
  height: 80px;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(0.7);
}


/* Product Comparison */
.comparison {
  margin-block-start: -1.5rem!important;
}
.comparison-wrapper {
  gap:2px;
  width: 100%;
  overflow: auto;
}
.comparison-item {
  width: 260px;
  background: white;
}
.comparison_item-image {
  width: 240px;
  height: 160px;
  object-fit: cover;
  display:block;
}
.comparison table {
  font-size: 12px;
  background: white;
  border-collapse: collapse;
}
.comparison_title {
  font-size: 1rem;
  font-weight: 600;
}
.comparison_item-header .image-wrapper {
  position: relative;
  margin-bottom:0.5em;
}
.comparison td {
  padding:4px 6px;
  border-bottom:1px solid #DDD;
  border-right: 1px solid #DDD;
  vertical-align: top;
  width: 240px;
}
.comparison td label {
  font-size: 12px;
  color: var(--wp--preset--color--grey);
  display: block;
  line-height: 1.5;
  text-transform: capitalize;
}
.comparison td span {
  font-weight: 600;
}
.comparison_selection-column {
  background: white;
  padding: 0.8rem 1rem;
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid #ddd;
}
.compare_selector.grid.product_category_selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  row-gap: 2rem;
  width: 650px;
  margin: 3rem auto;
}

.compare_selector.grid.product_category_selector div {
    background: white;
    padding: 2rem;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}
.compare_selector.grid.product_category_selector div:hover {
  background: var(--wp--preset--color--secondary);
  color: white;
}
.compare_add-product {
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #DDD;
}
.compare_add-product-button {
  margin-top: 5rem;
  height: 8rem;
  width: 8rem;
  border: 1px solid #DDD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  color: var(--wp--preset--color--primary);
  gap: 0.4rem;
  cursor: pointer;
}
.compare_add-product-button:hover {
  border-color:var(--wp--preset--color--yellow);
}
.compare_add-product-button span:first-child {
  font-size: 2rem;
  line-height: 1;
}
.compare_add-product-button span:last-child {
  line-height: 1;
  color: var(--wp--preset--color--primary);
}
.comparison-item_availability {
  position: absolute;
  left: 0;
  bottom: 0;
  background: black;
  color: white;
  padding: 0.5em;
}


.product-documents {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap:1.5rem;
  padding: 0;
  margin:1rem 0;
}
.product-document_thumbnail {
  width: 2rem;
  border:1px solid #DDD;
}
p.product-document_label {
  font-size: 0.875rem;
}
.product-document a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Mobile Store */
@media screen and (max-width:1080px) {
  .store .store-menu-column {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 9999;
    background: white;
    max-width: 320px;
    box-shadow: 0 0 46px rgb(0 0 0 / 30%);
    height: 100%;
    transform:translateX(-150vw);
    transition: transform 300ms ease-out, box-shadow 300ms ease-out;
  }
  .store .store-menu-column.open {
    box-shadow: 0 0 46px rgb(0 0 0 / 30%);
    transform:translateX(0vw);
  }
  .store-breadcrumb .store-menu-toggle {
    background: #4f8798;
    border: 0;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    color: white;
    font-size: 12px;
  }
}

.store-product_availability {
  background:#f7f78b;
  color: var(--wp--preset--color--black);
  display: inline-block;
  padding: 0.4em 0.8em;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 2rem;
}

.store-product_availability.availability-sold_out {
  margin-top: 0;
  padding: 1rem 2rem;
  border-bottom: 1px solid #DDD;
  background: var(--wp--preset--color--tertiary);
  font-weight: 600;
}
.store-product_availability.availability-discontinued {
    margin-top: 0;
    background: black;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
}
.store-product_availability.availability-discontinued:before {
    content: '⚠️';
    margin-right: 0.5rem;
}
.store-product_availability.availability-coming_soon {
  margin-top: 0;
  padding: 1rem 2rem;
  background: gainsboro;
  color: #444;
}
