.woo-variation-swatches .variable-items-wrapper:has(.ff-size-caption) {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--ff-space-s);
  margin-bottom: 0;
}

.woo-variation-swatches .summary .variable-items-wrapper .variable-item.button-variable-item:has(.ff-size-caption) {
  flex: 1 1 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 4px !important;
  line-height: 1.3;
}

.woo-variation-swatches :is(.summary, .sticky-product-bar) .variable-items-wrapper .variable-item.button-variable-item.ff-chip {
  border-color: var(--ff-chip-border) !important;
  border-radius: 0 !important;
  background: var(--ff-chip-fill) !important;
  box-shadow: var(--ff-chip-frame) !important;
}

.woo-variation-swatches :is(.summary, .sticky-product-bar) .variable-items-wrapper .variable-item.ff-chip:focus-visible {
  outline: var(--ff-focus-ring);
  outline-offset: 2px;
}

.woo-variation-swatches :is(.summary, .sticky-product-bar) .variable-items-wrapper .variable-item.ff-chip.disabled :is(.variable-item-contents, span) {
  opacity: 1;
}

.woo-variation-swatches :is(.summary, .sticky-product-bar) .variable-items-wrapper .variable-item.ff-chip.disabled .variable-item-contents::before {
  background-image: none;
}

.ff-chip.disabled .variable-item-span {
  text-decoration: line-through;
}

.ff-size-caption {
  display: block;
  font-size: 0.85em;
  color: var(--ff-text-muted);
  white-space: nowrap;
}

.woo-variation-swatches.wvs-show-label table.variations th .woo-selected-variation-item-name {
  display: none;
}

.summary .variations th.label label,
.sticky-product-bar .variations th.label label {
  text-transform: none;
}

.sticky-product-bar .variations th.label label {
  white-space: nowrap;
}

.et-product-detail.et-variation-style-table .summary table.variations tr td,
.et-product-detail .summary .product_meta {
  border: 0;
}

.sticky-product-bar .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item:has(.ff-size-caption) {
  height: auto;
  min-height: var(--ff-tap-target);
  margin: 0;
  padding: 0 var(--ff-space-xs);
  line-height: 1.2;
}

.sticky-product-bar .ff-size-caption {
  font-size: 0.75em;
}

.et-product-detail .product-information .summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: var(--ff-space-m);
}

.et-product-detail .product-information .summary .et-pro-summary-top {
  display: contents;
}

.et-product-detail .product-information .summary > *,
.et-product-detail .product-information .summary :is(.et-pro-summary-top, .et-pro-summary-content) > * {
  flex-basis: 100%;
}

.et-product-detail .product-information .summary :is(h1.product_title, .price) {
  flex-basis: auto;
}

.et-product-detail .product-information .summary h1.product_title {
  font-size: 26px;
  font-weight: 500;
}

.et-product-detail .product-information .summary .price,
.et-product-detail .product-information .summary .price .amount {
  line-height: 1.5;
  color: var(--ff-ink);
}

.et-product-detail .product-information .summary :is(.woocommerce-breadcrumb, .price-separator, .product_meta),
.et-product-detail .product-information .summary #woo-notices-wrapper:has(.woocommerce-message):not(:has(.woocommerce-error, .woocommerce-info)) {
  display: none;
}

.et-product-detail .product-information .summary .ff-product-intro {
  margin: 1rem 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ff-text-soft);
}

.et-product-detail .product-information .summary .stock.in-stock {
  display: block;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ff-success);
}

.woo-variation-swatches .summary .variable-items-wrapper .variable-item[data-wvstooltip]::before,
.woo-variation-swatches .summary .variable-items-wrapper .variable-item[data-wvstooltip]::after {
  display: none;
}

.woo-variation-swatches .summary .variable-items-wrapper .variable-item.ff-chip.selected {
  --ff-chip-fill: var(--ff-beige);
  --ff-chip-frame: none;
}

.woo-variation-swatches .summary .variable-items-wrapper .variable-item.button-variable-item.ff-chip {
  border-width: 2px !important;
}

.woo-variation-swatches .summary .variable-items-wrapper .variable-item.ff-chip .variable-item-span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 21px;
}

.woo-variation-swatches .summary .variable-items-wrapper .variable-item.ff-chip .ff-size-caption {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 18px;
  color: #5c5c5c;
}

.et-product-detail .product-information .summary table.variations th.label label {
  margin: 0;
  padding: 0;
}

.single-product .related.products h2 {
  margin: 32px 0 18px;
  font-size: 22px;
}

.single-product .related.products ul.products:not(.slick-initialized) > li.product {
  margin-bottom: 0;
}

.single-product .related.products .slick-slide:not(.slick-active) {
  height: 0;
}

@media (max-width: 575px) {
  .single-product .related.products ul.products:not(.slick-initialized) > li.product {
    padding-right: 7.5px;
    padding-left: 7.5px;
  }
}

@media (max-width: 767px) {
  .single-product .related.products ul.products:not(.slick-initialized) > li.product:nth-child(n + 3) {
    display: none;
  }

  .single-product .related.products:has(ul.products:not(.slick-initialized) > li.product:nth-child(3)) {
    padding-bottom: 37px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .single-product .related.products ul.products:not(.slick-initialized) > li.product:nth-child(n + 4) {
    display: none;
  }

  .single-product .related.products:has(ul.products:not(.slick-initialized) > li.product:nth-child(4)) {
    padding-bottom: 37px;
  }
}

@media (min-width: 992px) {
  .single-product .related.products ul.products:not(.slick-initialized) > li.product:nth-child(n + 5) {
    display: none;
  }
}

@media (min-width: 768px) and (hover: hover) {
  .single-product .related.products ul.products.hover-animation-zoom-jump:not(.slick-initialized) > li.product {
    padding-top: 5px;
  }
}

.woo-variation-swatches .summary .variable-items-wrapper .variable-item.button-variable-item.ff-chip.disabled {
  border-color: #ddd !important;
  background: #eee !important;
  box-shadow: none !important;
  opacity: 1;
  cursor: not-allowed;
}

.woo-variation-swatches .summary .variable-items-wrapper .variable-item.ff-chip.disabled .variable-item-span {
  color: #686868;
}

.et-product-detail .product-information .summary .ff-sold-out-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ff-text-soft);
}

.ff-sold-out .summary .stock.out-of-stock {
  display: none;
}

.ff-sold-out .summary .single_add_to_cart_button {
  opacity: 1;
  cursor: pointer;
}

.ff-notify-icon,
.ff-has-buy-bar .ff-sticky .ff-cta .ff-notify-icon {
  display: inline-flex;
  margin-right: 8px;
  vertical-align: -3px;
}

.summary .single_add_to_cart_button .ff-notify-icon svg {
  width: 20px;
  height: 20px;
}

.et-product-detail .product-information .summary .ff-details__body :is(p, ul, ol, li, h2, h3, h4) {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.et-product-detail .product-information .summary .ff-details__body :is(p, ul, ol, h2, h3, h4) + :is(p, ul, ol, h2, h3, h4) {
  margin-top: 12px;
}

@media (max-width: 575px) {
  .single-product .et-product-detail .product-showcase {
    margin-bottom: 0;
  }

  .et-product-detail .product-information .summary.entry-summary {
    padding-top: 30px;
    padding-bottom: 0;
  }

  .et-product-detail .product-information .summary :is(h1.product_title, .price) {
    margin-bottom: 0;
  }

  .et-product-detail.et-variation-style-table .product-information .summary table.variations tr th {
    padding: 0;
  }

  .et-product-detail.et-variation-style-table .product-information .summary table.variations tr td {
    padding: 0 0 var(--ff-space-m);
  }

  .et-product-detail .product-information .summary table.variations :is(th, th label) {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ff-ink);
  }

  .et-product-detail .product-information .summary .single_variation {
    margin: 0;
  }

  .et-product-detail .product-information .summary table.variations {
    width: 100%;
    table-layout: fixed;
  }

  .woo-variation-swatches .summary .variable-items-wrapper:has(.ff-size-caption) {
    margin: -4px -20px;
    padding: 4px 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
  }

  .woo-variation-swatches .summary .variable-items-wrapper:has(.ff-size-caption)::-webkit-scrollbar {
    display: none;
  }

  .woo-variation-swatches .summary .variable-items-wrapper .variable-item.button-variable-item:has(.ff-size-caption) {
    flex: 1 0 auto;
    padding-inline: var(--ff-space-s);
    scroll-snap-align: start;
  }
}
