/* WCAG 2.0 / 2.4.7: visible focus for keyboard users */
.closet-tool a:focus,
.closet-tool button:focus,
.closet-tool [tabindex="0"]:focus {
  outline: 2px solid #27ae60;
  outline-offset: 2px;
}
.closet-tool a:focus:not(:focus-visible),
.closet-tool button:focus:not(:focus-visible),
.closet-tool [tabindex="0"]:focus:not(:focus-visible) {
  outline: none;
}
.closet-tool a:focus-visible,
.closet-tool button:focus-visible,
.closet-tool [tabindex="0"]:focus-visible {
  outline: 2px solid #27ae60;
  outline-offset: 2px;
}

.product-selection {
  scrollbar-color: #706e6a #fff;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.width-control::before {
  content: '';
  background-color: #27ae60;
  border-radius: 20px;
  width: 33%;
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  transform: translateX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.width-control[data-selected="1"]::before {
  transform: translateX(100%);
}

.width-control[data-selected="2"]::before {
  transform: translateX(calc(200% - 3px));
}

.width-control .section-width {
  cursor: pointer;
  z-index: 1;
  position: relative;
  color: #000;
  text-align: center;
  flex: 1;
  min-width: 0;
  transition: color 0.2s ease;
}

.width-control .section-width:hover {
  text-decoration: none;
}

.width-control .section-width.active {
  color: #fff;
}

.width-title {
  position: relative;
  margin: 20px 0;
}

.width-title span {
  background: #fff;
  padding: 10px;
  z-index: 20;
  position: relative;
  font-size: 14px;
}

.width-title:before {
  content: '';
  width: 100%;
  height: 1px;
  background: #27ae60;
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -1px;
}

/** Summary Table **/
#product-summary-table .products-table .price,
#product-summary-totals .products-table .price {
  font-size: 16px;
}

#product-summary-table .totals-block .price .decimal,
#product-summary-totals .totals-block .price .decimal {
  font-size: 15px;
  top: -3px;
}

@media only screen and (min-width: 1024px) {
  #product-summary-table .totals-block .price .decimal,
  #product-summary-totals .totals-block .price .decimal {
    font-size: 22px;
    top: -5px;
  }
}

#product-summary-table .totals-block .total-discount .price .decimal,
#product-summary-table .totals-block .total-old-price .price .decimal,
#product-summary-totals .totals-block .total-discount .price .decimal,
#product-summary-totals .totals-block .total-old-price .price .decimal {
  font-size: 15px;
  top: -3px;
}

@media only screen and (min-width: 1024px) {
  #product-summary-table .totals-block .total-discount .price .decimal,
  #product-summary-table .totals-block .total-old-price .price .decimal,
  #product-summary-totals .totals-block .total-discount .price .decimal,
  #product-summary-totals .totals-block .total-old-price .price .decimal {
    font-size: 15px;
    top: -5px;
  }
}

#product-summary-table .price .decimal,
#product-summary-totals .price .decimal {
  font-size: 14px;
  margin-left: 2px;
  position: relative;
  top: -3px;
  vertical-align: top;
}

#product-summary-table .price .decimal.zero,
#product-summary-totals .price .decimal.zero {
  display: none;
}

#product-summary-table .price .currency,
#product-summary-totals .price .currency {
  padding-left: 4px;
  text-transform: none;
}
