:root {
  --nightshop-bg-primary: #211453;
  --nightshop-white: #fff;
  --nightshop-natural: #f3f3f3;
  --nightshop-accent: #5236d0;
  --nightshop-black: #000;
  --nightshop-grey: #929292;
  --nightshop-border: rgba(198, 191, 223, .3);
  --nightshop-error: #e43737;
  --nightshop-disabled: #e5e5ea;
  --nightshop-disabled-text: #a0a0a0;
}

#cart #wrapper {
  background: var(--nightshop-white);
}

#cart #wrapper .container {
  width: 100%;
  max-width: 1440px;
  padding-right: 64px;
  padding-left: 64px;
}

#cart #wrapper .breadcrumb {
  display: none;
}

#cart #content-wrapper {
  padding-right: 0;
  padding-left: 0;
}

.nightshop-cart-page,
.nightshop-cart-page * {
  letter-spacing: 0;
}

.nightshop-cart-page {
  width: 100%;
  color: var(--nightshop-black);
  font-family: Inter, sans-serif;
}

.nightshop-cart-shell {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 0 64px;
}

.nightshop-cart-back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  padding: 8px 0;
  color: var(--nightshop-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.nightshop-cart-back:hover,
.nightshop-cart-back:focus {
  color: var(--nightshop-accent);
  text-decoration: none;
}

.nightshop-cart-back svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nightshop-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 512px);
  gap: 32px;
  align-items: start;
}

.nightshop-cart-panel,
.nightshop-summary-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--nightshop-border);
  padding: 24px;
  background: var(--nightshop-white);
}

.nightshop-cart-panel h1,
.nightshop-summary-panel h2,
.nightshop-instructions h2 {
  margin: 0;
  color: var(--nightshop-black);
  font-family: Archivo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.nightshop-cart-panel h1 span {
  font: inherit;
}

.nightshop-cart-overview,
.nightshop-cart-items {
  width: 100%;
}

.nightshop-cart-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nightshop-cart-item {
  margin: 0;
  padding: 0;
  border: 0;
}

.nightshop-cart-divider {
  width: 100%;
  height: 1px;
  padding: 0;
  background: var(--nightshop-border);
}

.nightshop-cart-line {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.nightshop-cart-line__image {
  display: flex;
  flex: 0 0 124px;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  overflow: hidden;
  background: var(--nightshop-natural);
  border-radius: 2px;
}

.nightshop-cart-line__image picture,
.nightshop-cart-line__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.nightshop-cart-line__image img {
  object-fit: cover;
}

.nightshop-cart-line__body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 124px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.nightshop-cart-line__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nightshop-cart-line__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.nightshop-cart-line__name {
  flex: 1 1 auto;
  float: none;
  width: auto;
  min-width: 0;
  color: var(--nightshop-black);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
}

.nightshop-cart-line__name:hover,
.nightshop-cart-line__name:focus {
  color: var(--nightshop-accent);
  text-decoration: none;
}

.nightshop-cart-line__price {
  flex: 0 0 auto;
  color: var(--nightshop-black);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.nightshop-cart-line__meta,
.nightshop-cart-line__discount,
.nightshop-cart-line__customizations {
  margin: 0;
  color: var(--nightshop-grey);
  font-size: 14px;
  line-height: 1.3;
}

.nightshop-dot {
  margin: 0 6px;
}

.nightshop-cart-line__discount .regular-price {
  margin-right: 8px;
  color: var(--nightshop-grey);
  text-decoration: line-through;
}

.nightshop-cart-line__discount .discount {
  color: var(--nightshop-error);
}

.nightshop-cart-line__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nightshop-qty {
  display: flex;
  min-width: 136px;
}

.nightshop-qty .bootstrap-touchspin {
  display: inline-flex;
  align-items: stretch;
  width: auto;
  min-width: 136px;
  height: 46px;
  background: var(--nightshop-natural);
}

.nightshop-qty .bootstrap-touchspin input,
.nightshop-qty input.js-cart-line-product-quantity {
  order: 2;
  width: 56px;
  min-width: 56px;
  height: 46px;
  padding: 0;
  border: 0;
  background: var(--nightshop-natural);
  color: var(--nightshop-accent);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  box-shadow: none;
  appearance: textfield;
}

.nightshop-qty input::-webkit-outer-spin-button,
.nightshop-qty input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.nightshop-qty .input-group-btn-vertical,
.nightshop-qty .bootstrap-touchspin .input-group-btn-vertical {
  display: contents;
}

.nightshop-qty .btn-touchspin,
.nightshop-qty .bootstrap-touchspin .btn-touchspin {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 46px;
  padding: 0;
  border: 0;
  background: var(--nightshop-natural);
  color: var(--nightshop-black);
  box-shadow: none;
}

.nightshop-qty .btn-touchspin::before {
  color: var(--nightshop-black);
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.nightshop-qty .js-decrease-product-quantity::before {
  content: "-";
}

.nightshop-qty .js-increase-product-quantity::before {
  content: "+";
}

.nightshop-qty .js-decrease-product-quantity {
  order: 1;
}

.nightshop-qty .js-increase-product-quantity {
  order: 3;
}

.nightshop-qty .btn-touchspin i,
.nightshop-qty .btn-touchspin .material-icons {
  display: none;
}

.nightshop-remove {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  color: var(--nightshop-error);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.nightshop-remove:hover,
.nightshop-remove:focus {
  color: var(--nightshop-error);
  opacity: .82;
  text-decoration: none;
}

.nightshop-remove svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nightshop-summary-rows,
.nightshop-summary-subrows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nightshop-summary-row,
.nightshop-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.nightshop-summary-row .label,
.nightshop-summary-row .value {
  float: none;
  width: auto;
}

.nightshop-summary-row .label {
  flex: 1 1 auto;
  color: var(--nightshop-grey);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
}

.nightshop-summary-row .value {
  display: flex;
  flex: 0 0 120px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 120px;
  color: var(--nightshop-black);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: right !important;
}

.nightshop-summary-row .value.discount {
  color: var(--nightshop-error);
}

.nightshop-summary-details {
  color: var(--nightshop-grey);
  font-size: 13px;
  line-height: 1.25;
  text-align: right;
}

.nightshop-summary-details:empty {
  display: none;
}

.nightshop-summary-divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--nightshop-border);
}

.nightshop-summary-total .total-label {
  flex: 1 1 auto;
  color: var(--nightshop-black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.nightshop-summary-total .total-value {
  flex: 0 0 auto;
  min-width: 120px;
  color: var(--nightshop-black);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
}

.nightshop-promo-row {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.nightshop-promo-input {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  height: 48px;
  margin: 0;
  padding: 12px 16px;
  gap: 8px;
  background: var(--nightshop-natural);
}

.nightshop-promo-input svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--nightshop-grey);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nightshop-promo-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nightshop-grey);
  font-size: 14px;
  line-height: 1.3;
}

.nightshop-apply {
  height: 48px;
  padding: 16px 32px;
  border: 0;
  background: var(--nightshop-disabled);
  color: var(--nightshop-disabled-text);
  cursor: default;
  font-family: Archivo, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nightshop-checkout-actions {
  width: 100%;
}

.nightshop-checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 16px 32px;
  border: 0;
  background: var(--nightshop-bg-primary);
  color: var(--nightshop-white);
  font-family: Archivo, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.nightshop-checkout-button:hover,
.nightshop-checkout-button:focus {
  color: var(--nightshop-white);
  opacity: .88;
  text-decoration: none;
}

.nightshop-checkout-button.disabled,
button.nightshop-checkout-button:disabled {
  background: var(--nightshop-disabled);
  color: var(--nightshop-disabled-text);
  cursor: not-allowed;
  opacity: 1;
}

.nightshop-instructions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nightshop-instructions label {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.nightshop-instructions span {
  align-self: flex-start;
  float: none;
  width: auto;
  color: var(--nightshop-black);
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}

.nightshop-instructions textarea {
  width: 100%;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--nightshop-border);
  outline: 0;
  background: var(--nightshop-white);
  color: var(--nightshop-grey);
  font-size: 14px;
  line-height: 1.3;
  resize: vertical;
}

.nightshop-instructions textarea:focus {
  border-color: var(--nightshop-accent);
}

.nightshop-cart-empty {
  display: block;
  color: var(--nightshop-grey);
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  #cart #wrapper .container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .nightshop-cart-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }
}

@media (max-width: 900px) {
  #cart #wrapper .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .nightshop-cart-shell {
    padding: 32px 0 48px;
  }

  .nightshop-cart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #cart #wrapper .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nightshop-cart-shell {
    padding: 24px 0 40px;
  }

  .nightshop-cart-panel,
  .nightshop-summary-panel {
    padding: 20px 16px;
  }

  .nightshop-cart-line {
    flex-direction: column;
  }

  .nightshop-cart-line__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex-basis: auto;
  }

  .nightshop-cart-line__body {
    width: 100%;
    min-height: 0;
  }

  .nightshop-cart-line__title-row,
  .nightshop-cart-line__actions,
  .nightshop-promo-row {
    align-items: stretch;
    flex-direction: column;
  }

  .nightshop-cart-line__price {
    text-align: left;
  }

  .nightshop-qty,
  .nightshop-qty .bootstrap-touchspin,
  .nightshop-apply {
    width: 100%;
  }

  .nightshop-qty .bootstrap-touchspin {
    justify-content: center;
  }
}
