.gw-jmm-root {
  --gw-jmm-image-width: 112px;
  --gw-jmm-title-lines: 4;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-item {
  position: relative !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "image image image"
    "name name name"
    "quantity price remove";
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 0 12px !important;
  padding: 16px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(0, 0, 0, 0.10) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.04) !important;
  list-style: none !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-item::before,
.gw-jmm-root.gw-jmm-active .gw-jmm-item::after {
  display: none !important;
  content: none !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-flatten {
  display: contents !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-image,
.gw-jmm-root.gw-jmm-active .gw-jmm-name,
.gw-jmm-root.gw-jmm-active .gw-jmm-quantity,
.gw-jmm-root.gw-jmm-active .gw-jmm-price,
.gw-jmm-root.gw-jmm-active .gw-jmm-remove,
.gw-jmm-root.gw-jmm-active .gw-jmm-meta {
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-image {
  grid-area: image;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 4px 0 14px !important;
  text-align: center !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-image > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-image img {
  display: block !important;
  width: var(--gw-jmm-image-width) !important;
  height: var(--gw-jmm-image-width) !important;
  min-width: var(--gw-jmm-image-width) !important;
  max-width: var(--gw-jmm-image-width) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-name {
  grid-area: name;
  display: block !important;
  width: 100% !important;
  padding: 0 0 14px !important;
  color: #262626 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-title-link,
.gw-jmm-root.gw-jmm-active .gw-jmm-title-link:visited,
.gw-jmm-root.gw-jmm-active .gw-jmm-title-link:hover,
.gw-jmm-root.gw-jmm-active .gw-jmm-title-link:focus,
.gw-jmm-root.gw-jmm-active .gw-jmm-title-link:active {
  color: #262626 !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  line-height: inherit !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-title-link.gw-jmm-clamp {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: var(--gw-jmm-title-lines) !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-name small,
.gw-jmm-root.gw-jmm-active .gw-jmm-name .option,
.gw-jmm-root.gw-jmm-active .gw-jmm-name [class*="option"] {
  display: block !important;
  margin-top: 4px !important;
  color: #6f6f6f !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-quantity {
  grid-area: quantity;
  justify-self: start !important;
  width: auto !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.09) !important;
  color: #333 !important;
  font-size: 14px !important;
  line-height: 32px !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-price {
  grid-area: price;
  justify-self: end !important;
  width: 100% !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.09) !important;
  color: #222 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 32px !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-remove {
  grid-area: remove;
  position: static !important;
  z-index: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: end !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.09) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #484848 !important;
  font-size: 20px !important;
  line-height: 32px !important;
  text-align: center !important;
  cursor: pointer !important;
  transform: none !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-remove > button,
.gw-jmm-root.gw-jmm-active .gw-jmm-remove > a {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-meta {
  grid-column: 1 / -1;
  width: 100% !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.09) !important;
  color: #333 !important;
  font-size: 14px !important;
  line-height: 32px !important;
  white-space: normal !important;
}

.gw-jmm-root.gw-jmm-active .gw-jmm-item > :not(.gw-jmm-image):not(.gw-jmm-name):not(.gw-jmm-quantity):not(.gw-jmm-price):not(.gw-jmm-remove):not(.gw-jmm-meta):not(.gw-jmm-flatten) {
  grid-column: 1 / -1;
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 374px) {
  .gw-jmm-root.gw-jmm-active .gw-jmm-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 8px !important;
    padding: 14px !important;
  }

  .gw-jmm-root.gw-jmm-active .gw-jmm-name {
    font-size: 14px !important;
  }

  .gw-jmm-root.gw-jmm-active .gw-jmm-price {
    font-size: 15px !important;
  }
}
