.site-shell-quickcart {
  position: relative;
}

.site-shell-quickcart__trigger {
  cursor: pointer;
  min-width: 52px;
}

.site-shell-quickcart__amount {
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.site-shell-quickcart__panel {
  background: #fff;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  color: inherit;
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  width: min(600px, calc(100vw - 2rem));
  z-index: 5000;
}

.site-shell-quickcart.is-open .site-shell-quickcart__panel {
  display: block;
}

.site-shell-quickcart__title,
.site-shell-quickcart__footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.site-shell-quickcart__title {
  border-bottom: 1px solid #ddd;
  background: #fbfbfb;
}

.site-shell-quickcart__title strong {
  color: inherit;
  font-size: 18px;
  font-weight: 400;
}

.site-shell-quickcart__title strong i {
  margin-right: 15px;
}

.site-shell-quickcart__empty {
  color: #5b6673;
  margin: 0;
  padding: 1.25rem 1rem;
}

.site-shell-quickcart__lines {
  list-style: none;
  margin: 0;
  max-height: min(52vh, 390px);
  overflow-y: auto;
  padding: 0 20px;
}

.site-shell-quickcart__line {
  align-items: center;
  border-bottom: 1px solid #edf0f3;
  display: grid;
  gap: 0;
  grid-template-columns: 60px minmax(0, 1fr) 65px 65px 40px;
  padding: 8px 0;
}

.site-shell-quickcart__image {
  align-items: center;
  background: transparent;
  display: flex;
  height: 60px;
  justify-content: center;
  width: 60px;
}

.site-shell-quickcart__image img {
  display: block;
  max-height: 50px;
  max-width: 50px;
  object-fit: contain;
}

.site-shell-quickcart__details {
  display: contents;
}

.site-shell-quickcart__details a {
  color: inherit;
  display: block;
  font-size: 14px;
  font-weight: 400;
  max-height: 3em;
  line-height: 1.5;
  overflow: hidden;
  text-align: left;
  white-space: normal;
}

.site-shell-quickcart__details span {
  color: inherit;
  font-size: 14px;
  text-align: center;
}

.site-shell-quickcart__prices {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}

.site-shell-quickcart__prices strong {
  color: inherit;
  font-size: 14px;
}

.site-shell-quickcart__prices small {
  color: #5b6673;
  font-size: 11px;
  margin: 0.12rem 0 0.3rem;
}

.site-shell-quickcart__line > button {
  color: #555;
  background: transparent;
  border: 0;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  flex-direction: row;
  font-size: 1rem;
  justify-content: center;
}

.site-shell-quickcart__footer {
  align-items: stretch;
  background: #fbfbfb;
  border-top: 1px solid #e7ebef;
  flex-direction: column;
  gap: 22px;
}

.site-shell-quickcart__totals {
  display: block;
  width: 100%;
}

.site-shell-quickcart__totals > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.site-shell-quickcart__subtotal-values {
  align-items: baseline;
  display: grid;
  grid-template-columns: auto auto;
  text-align: right;
}

.site-shell-quickcart__subtotal-values small {
  font-size: 11px;
  margin-left: 0.3rem;
}

.site-shell-quickcart__footer span {
  color: inherit;
  font-weight: 700;
}

.site-shell-quickcart__footer strong {
  color: inherit;
}

.site-shell-quickcart__buttons {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr 1fr;
}

.site-shell-quickcart__buttons .btn {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

header.cms-shared-header .site-shell-quickcart__buttons .btn i {
  color: inherit;
  font-size: 16px;
}

.site-shell-quickcart__line > button:hover {
  background: #eee;
}
