/* Container */

.pc-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Breadcrumbs */
.pc-product-breadcrumbs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.pc-product-breadcrumbs__crumbs {
  flex: 1 0 0%;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
}

.pc-product-breadcrumbs__print {
  color: black;
  background: none;
  border: 0;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .pc-product-breadcrumbs {
    flex-direction: row;
  }
}

/* Tags */
.pc-product-tags__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.pc-product-tags__tag {
  border-radius: 0.75rem;
  padding: 1px 0.5rem;
  border: solid 1px currentColor;
  text-decoration: none;
}

.pc-product-tags__label {
  position: relative;
  top: 2px;
}

.pc-product-tags__tag:hover {
  text-decoration: inherit;
}

/* Tables */

.pc-spec-table {
  width: 100%;
  margin: 0;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

.pc-spec-table head {
  vertical-align: baseline;
}

.pc-spec-table thead tr th {
  padding-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
}

.pc-spec-table tr {
  border-bottom: solid 1px #ececec;
}

.pc-spec-table tbody tr:last-child {
  border-bottom: none;
}

.pc-spec-table tbody tr:last-child {
  border-bottom: none;
}

.pc-spec-table tr td {
  font-size: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pc-spec-table--two-column th,
.pc-spec-table--two-column td {
  width: 50%;
}

.pc-spec-table--three-column th:first-child,
.pc-spec-table--three-column td:first-child {
  width: 50%;
}

.pc-spec-table--three-column th,
.pc-spec-table--three-column td {
  width: 25%;
}

.pc-sku-table__container {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.pc-sku-table {
  width: 100%;
  max-width: 100%;
  table-layout: auto;
}

.pc-sku-table thead tr th {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #616C7C;
  text-transform: uppercase;
  text-align: left;
}

.pc-sku-table tbody tr td {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.pc-sku-table tbody tr:nth-child(4n+1) {
  background-color: #f7f7f7;
}

.pc-sku-table tbody tr:nth-child(4n+2) {
  background-color: white;
}

.pc-sku-table tbody tr:nth-child(4n+3) {
  background-color: #FFFAf4;
}

/* Product Family header image / title */

.pc-product-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.pc-product-header__media {
  flex: 0 0 auto;
  width: 300px;
  max-width: 100%;
}

.pc-product-header__detail {
  flex: 1 0 0%;
  width: 100%;
  max-width: 100%;
}

.pc-product-header__title {
  margin-bottom: 0;
  color: #000;
  font-size: 48px;
  font-weight: 700;
  text-transform: capitalize;
}

.pc-product-header__pre-title {
  margin-bottom: 1rem;
  color: #1E1E1E;
  font-size: 20px;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .pc-product-header {
    flex-direction: row;
  }
}

/* Product Family filter/skus */

.pc-product-family-skus {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pc-product-family-skus__filters {
  flex: 0 0 auto;
}

.pc-filters-cta {
  color: #2E2D35;
  font-weight: 700;
}

.pc-filters-clear {
  border-radius: 4px !important;
  width: 100%;
  margin-bottom: 12px;
  text-align: start;
  color: #fff;
  border: 0;
  background: #ff9e1b;
  background: linear-gradient(to right, #ff9e1b 0%, #fb637b 100%);
  padding: 4px 8px;
  cursor: pointer;
}

.pc-filters-clear:hover,
.pc-filters-clear:focus,
.pc-filters-clear:active {
  opacity: 0.8;
}

.pc-filters-clear span {
  margin-right: 8px;
}

.pc-filters-clear[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.pc-product-family-skus__filter {
  margin-bottom: 1rem;
}

.pc-product-family-skus__filter details > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  padding: 8px 8px 4px;
  border: 1px solid #ececec;
  background-color: #ececec;
}

.pc-product-family-skus__filter details > summary h4 {
  font-size: 18px;
  font-weight: normal;
}

.pc-product-family-skus__filter details > summary i {
  font-size: 12px;
}

.pc-product-family-skus__filter details > summary + div {
  padding: 8px 8px 4px;
  border-left: 1px solid #ececec;
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.pc-product-family-skus__filter details > summary + div label span {
  color: #000000;
  font-size: 16px;
}

.pc-product-family-skus__filter details > summary::-webkit-details-marker {
  display: none;
}

.pc-product-family-skus__filter details > summary > h4 {
  flex-grow: 1;
  margin: 0;
}

.pc-product-family-skus__filter details[open] > summary > i {
  transform: rotate(0deg);
}

.pc-product-family-skus__filter details > summary > i {
  transform: rotate(180deg);
  transition: transform 200ms ease-in-out;
}

.pc-product-family-skus__filter details input[type="checkbox"] {
  margin-right: 0.25rem;
}

.pc-product-family-skus__skus {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .pc-product-family-skus {
    flex-direction: row;
  }

  .pc-product-family-skus__filters {
    width: auto;
    max-width: 200px;
  }
}

/* Tab Overrides */

.js-tablist {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.js-tablist:after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e1e1;
}

.js-tablist:before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e1e1;
}

.js-tablist__item {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.js-tablist__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.5rem;
  border-left: solid 4px transparent;
  color: #000;
  transition: all 250ms ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

.js-tablist__link:hover,
.js-tablist__link[aria-selected="true"] {
  color: #ff9e1b;
  text-decoration: none;
}

.js-tablist__link[aria-selected="true"] {
  border-left: solid 4px #ff9e1b;
}

.js-tabcontent {
  padding: 2rem 0;
}

.js-tabcontent[aria-hidden="true"] {
  display: none;
}

@media (min-width: 1024px) {
  .js-tablist {
    flex-direction: row;
  }

  .js-tablist__link {
    padding: 1rem;
    border-left: 0;
    border-bottom: solid 4px transparent;
  }

  .js-tablist__link[aria-selected="true"] {
    border-left: 0;
    border-bottom: solid 4px #ff9e1b;
  }
}



/* Splide / product image slideshow */

#pc-slideshow {
  width: 100%;
  max-width: 320px;
  height: 300px;
  margin: 0 auto;
  margin-bottom: 32px;
}

#pc-slideshow[data-image-count="0"],
#pc-slideshow[data-image-count="1"] {
  margin-bottom: 0;
}

#pc-slideshow .splide__slide {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: zoom-in;
}

#pc-slideshow .splide__arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 35px;
  height: 45px;
  padding: 0;
  border: 0;
  border-radius: 0;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  color: black;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}

#pc-slideshow .splide__arrow:hover {
  color: white;
  background: #ff9e1b;
}

#pc-slideshow .splide__arrow svg {
  width: 10px;
  height: auto;
}

#pc-slideshow .splide__arrow--prev {
  left: 0;
}

#pc-slideshow .splide__arrow--prev svg {
  transform: rotate(180deg);
}

#pc-slideshow .splide__arrow--next {
  right: 0;
}

#pc-slideshow .splide__pagination {
  position: absolute;
  left: 50%;
  bottom: -20px;
  gap: 8px;
  padding: 0;
  transform: translateX(-50%);
}

#pc-slideshow .splide__pagination li {
  line-height: 12px;
}

#pc-slideshow button.splide__pagination__page {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 6px;
  border: 0;
  background: #3d3935;
  cursor: pointer;
}

#pc-slideshow .splide__pagination__page.is-active,
#pc-slideshow .splide__pagination__page:hover {
  background: #ff9e1b;
}

/* Micromodal for image zooming in slideshow */

#pc-slideshow-modal .modal__overlay {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  overflow: auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
}

#pc-slideshow-modal .modal__content img {
  max-width: 90vw;
  max-height: 90vh;
}

#pc-slideshow-modal {
  display: none;
}

#pc-slideshow-modal.is-open {
  display: block;
}

@-webkit-keyframes mmfadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mmfadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes mmfadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

#pc-slideshow-modal[aria-hidden="false"] .modal__overlay {
  -webkit-animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

#pc-slideshow-modal[aria-hidden="true"] .modal__overlay {
  -webkit-animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

#pc-slideshow-modal .modal__container,
#pc-slideshow-modal .modal__overlay {
  will-change: transform;
}