/* product type 7 */

.ribbon {
  position: absolute;
  left: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}
.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#9BC90D 0%, #79A70A 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; left: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #79A70A;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #79A70A;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #79A70A;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #79A70A;
}

.ribbon.badge-def span {
  background: #ED4B4B;
  background: linear-gradient(#ED4B4B 0%, #b72121 100%);
}

.ribbon.badge-def span::before {
  border-left: 3px solid #ED4B4B;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #ED4B4B;
}

.ribbon.badge-def span::after {
  border-left: 3px solid transparent;
  border-right: 3px solid #ED4B4B;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #ED4B4B;
}

.ribbon.badge-NEW span {
  background: #1E96FC;
  background: linear-gradient(#1E96FC 0%, #1977c6 100%);
}

.ribbon.badge-NEW span::before {
  border-left: 3px solid #1E96FC;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1E96FC;
}

.ribbon.badge-NEW span::after {
  border-left: 3px solid transparent;
  border-right: 3px solid #1E96FC;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1E96FC;
}

.electron-loop-product.type-9 {
    position: relative;
    border-radius: 5px;
    border: 0;
    background: var(--electron-light);
    height: 100%;
    min-height: 100%;
    align-items: stretch;
}

.type-9 .thumb-wrapper {
    padding: 0;
    padding-bottom: 0px;
    border-bottom: 0;
    overflow: inherit;
    background: #f7f7f7;
}

.type-9 .details-wrapper {
    padding: 15px 0;
    position: relative;
}

.type-9 .details-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.electron-loop-product.type-9 .product-price {
    gap: 5px;
}

.type-9 .product-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    top: 10px;
    right: -10px;
    flex-direction: column;
    background: var(--electron-light);
    padding: 10px 7px;
    border: 1px solid;
    border-color: var(--electron-border);
    border-radius: 3px;
    opacity: 0;
    -webkit-transition: all 100ms ease;
    -moz-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    transition: all 200ms ease;
}

.type-9 .product-actions svg {
    fill: var(--electron-text);
}

.type-9:hover .product-actions {
     opacity: 1;
     right: 10px;
}

.type-9 .electron-swatches-wrapper {
    margin-top: 0;
}

.type-9  .electron-variations {
    gap: 5px;
}

.type-9 .electron-variations-items {
    display: flex;
    justify-content: center;
    align-items: center;
}

.type-9 .variation-label {
    display: none;
}
.type-9.electron-loop-product .stock-rating {
    position: relative;
}
.type-9 .electron-add-to-cart-btn.btn-type-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--electron-blue-bg);
    min-width: 32px;
    min-height: 33px;
    line-height: initial;
    border-radius: 100%;
}

.type-9:hover .electron-add-to-cart-btn.btn-type-icon {
    background: var(--electron-primary);
}

.type-9:hover .electron-add-to-cart-btn.btn-type-icon svg {
  fill: var(--electron-light);
}
.type-9 .btn-type-icon .added svg {
    max-width: 14px;
    max-height: 14px;
}
.type-9 .electron-svg-icon {
    max-width: 18px;
    max-height: 18px;
    fill: var(--electron-primary);
}

.type-9 .electron-swatches-wrapper {
    margin-top: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    padding: 13px 0;
    border-bottom: 0;
    display: none;
}
