/* Cart drawer body (replaces the empty-state markup when we take over) */
.mq-cart-drawer {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 20px 20px;
  gap: 16px;
  font-family: var(--font-body--family);
}
.mq-cart-drawer--empty {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.75);
}
.mq-cart-drawer--empty p {
  font-size: 14px;
  margin: 0 0 16px 0;
}
.mq-cart-drawer__continue {
  color: #ffffff;
  text-decoration: underline;
  font-size: 13px;
}
.mq-cart-drawer__lines {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mq-cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.mq-cart-line--busy { opacity: 0.55; pointer-events: none; }
.mq-cart-line__media {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  display: block;
}
.mq-cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mq-cart-line__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.mq-cart-line__title {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mq-cart-line__title:hover { text-decoration: underline; }
.mq-cart-line__subtitle {
  font-size: 12px;
  opacity: 0.7;
  margin: 0;
}
.mq-cart-line__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.mq-cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
}
.mq-cart-line__qty-btn {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mq-cart-line__qty-btn:hover { background: rgba(255, 255, 255, 0.08); }
.mq-cart-line__qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  padding: 0 4px;
}
.mq-cart-line__remove {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
}
.mq-cart-line__remove:hover { color: #F15A27; text-decoration: underline; }
.mq-cart-line__price {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.mq-cart-line__error {
  grid-column: 1 / -1;
  color: #F15A27;
  font-size: 12px;
  margin: 6px 0 0 0;
}

.mq-cart-drawer__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mq-cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}
.mq-cart-drawer__checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #F15A27;
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.mq-cart-drawer__checkout:hover { background: #d84f22; }
.mq-cart-drawer__note {
  font-size: 12px;
  opacity: 0.65;
  text-align: center;
  margin: 0;
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .mq-cart-drawer__checkout { transition: none; }
}
